DCI Mechanism

1. Vault Creation

  • Any user (Vault Creator) can create a vault and set their own vault parameters.

  • The Vault Creator provides the necessary liquidity to fund the vault.

  • Once the vault is funded, it gets listed on Prodigy.Fi’s platform for discovery.

2. Vault Subscription

  • Users can browse active vaults on the Prodigy.Fi marketplace and select one based on their preferred Direction, Asset pair, Linked Price, and Expiry Date.

  • To subscribe, users deposit either USDC (Buy Low) or the crypto asset (Sell High) into the vault.

  • Once subscribed, users lock in the fixed yield, regardless of whether the trade executes at expiry.

3. Earning Yields

  • Vault Subscribers earn a fixed yield that is set and paid by the Vault Creator.

  • Yields are distributed upon expiry, regardless of the vault’s outcome.

4. (Optional) Liquidity Adjustment

  • The Vault Creator may withdraw any unused liquidity from the vault at any time. Doing so delists the vault from the Earn page and prevents new subscriptions.

  • However, all existing vault subscriptions are honored and processed according to the vault's terms on the expiration date.

5. Expiration and Settlement

  • When the vault expires, the smart contract retrieves the final market price of the crypto asset from our pricing oracle.

  • Based on the Linked Price, the smart contract then determines whether a trade is executed or not.

  • The expiry time for all vaults is fixed at 16:00 (UTC+8).

*We currently use Pyth Network & Chainlink oracles.

6. Fund Distribution

  • Once the vaults have been settled, the smart contract distributes the settled funds to both the Vault Subscriber and the Vault Creator, making them available for withdrawal.

7. Withdrawal And Completion

  • Once all funds have been withdrawn, the vault is considered "settled" for all participants.

Last updated