Vault Creation

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 vault parameters 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 swap 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.

Last updated