Prodigy Dual Investment
Prodigy.Fi - English
Prodigy.Fi - English
  • About Prodigy.Fi
  • Dual Investment Overview
  • Benefits of Dual Investment
  • Buy Low and Sell High
    • Buy Low and Sell High Examples
  • Explore Dual Investment Vaults
    • The Different type of Dual Investment users
  • Vault Creation
    • Vault Parameters
    • Vault States
    • Vault Liquidity
  • APY and Reward Calculations
  • Trading Fees
  • Guides
    • User Guide
      • Connecting your wallet
    • Subscribe to a vault
      • Step-by-step guide: Subscribing to a vault
      • Viewing your vault subscriptions
      • Withdrawing from a subscribed vault
    • Create a vault
      • Step-by-step guide: Creating a vault
      • Viewing your vaults
      • Cancel remaining liquidity in a vault
      • Withdrawing from your vault
    • CLI Guide
  • References
    • Glossary
    • Error Messages
  • LEGAL
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • Smart Contract Terms: Investment Token and Linked Token
  • Investment Token
  • Linked Token
  • Swap execution
  • Swapped
  • Unswapped
  • Simplified Example: WETH-USDC Buy Low
  • Swapped
  • Unswapped

Vault Creation

PreviousThe Different type of Dual Investment usersNextVault Parameters

Last updated 5 months ago

Each vault on ProdigyFi is a unique smart contract. The smart contract transparently and securely automates the actions required to operate the vault throughout its lifecycle.

Any user (Vault Creators) can create a vault by setting the such as asset pair, direction, linked price, yield, expiry, and quantity.

The Vault Creator also provides the necessary liquidity to fund the vault. This action automatically generates a smart contract for the vault and lists it on the platform for discovery.

Smart Contract Terms: Investment Token and Linked Token

In our smart contract, we use the terms Investment Token and Linked Token to define the relationship between the paired tokens.

Investment Token

  • Deposited by Vault Subscribers into the vault.

  • Also deposited by Vault Creators to fund subscriber yields when a does not occur.

Linked Token

  • Deposited by Vault Creators into the vault.

Swap execution

A swap in a vault occurs only if the linked price is reached at the time of the vault’s expiry.

Swapped

  • At vault expiry, the Linked Price was reached.

  • Subscriber's Investment Token is swapped for the Linked Token.

  • Subscribers receives linked token at the linked price + their yield in the Linked Token.

  • Vault Creator receives their deposited investment token (yield is paid out in linked tokens) and the investment token from Subscribers.

Unswapped

  • At vault expiry, the Linked Price was not reached.

  • No token swap occurs.

  • Subscribers receives the investment token they deposited + yield in the Investment Token.

  • Vault Creator’s receives the Linked Token they deposited. The investment token that the vault creator deposited is paid out as yield to the vault subscribers.

Simplified Example: WETH-USDC Buy Low

Vault Creator will create a vault and provide both Linked Tokens (WETH) and rewards (USDC). Subscribers will deposit Investment Token (USDC) into the vault.

Swapped

If the Linked Price of the vault is reached, Subscribers’ deposits in the Investment Token (USDC) are swapped for the Vault Creator's Linked Token (WETH), which includes the reward in WETH.

Unswapped

If the Linked Price is not reached, Subscribers get their Investment Token (USDC) returned, and the Vault Creator pays the reward in USDC.

vault parameters
swap