Verify a Market

A list of markets is maintained here: https://github.com/roycoprotocol/royco-sdk/tree/4bc60dc835c5b3ca620fb226464c31cb9ccfcfa1/sdk/constants/market-map

Requirements for Market Verification:

  1. Name/Description of the Market must match the onchain actions of the Market.

  2. User must be able to deposit (ie. $5)

  3. User must be able to withdraw or simulate withdraw (ie. $5)

  4. If a Vault Market, the underlying 4626 Vault must not have any bespoke functionality.

Automated Recipe IAM Testing:

In order, to ensure that your Recipe IAM's deposit and withdrawal recipes are working as expected, follow these steps to visualize and validate the flow of your recipes.

  1. Make sure you have Foundry installed locally: https://book.getfoundry.sh/getting-started/installation

  2. Clone the Royco repo locally: https://github.com/roycoprotocol/royco

  3. Make Royco your working directory: cd royco

  4. Navigate to test/verification/RecipeVerifier.t.sol in a code editor.

  5. Update the setUp function to match your market's market hash, network (RPC URL), and the network's RecipeMarketHub address

  6. Run: forge test --mc RecipeVerifier -vvv

  7. Analyze the logs to ensure that the recipes are working as expected.

To verify your market: Submit this form with your market information: here. Once submitted, reach out to: https://t.me/bharat_vish. Markets are typically verified within 24 hours.

Last updated