How it Works
Definitions
- A Strategy is a sequence of actions to bring certain token to be deposited into protocols as defined by the Scheme.
- The Scheme includes deposit action, swap action, or split/diversify the deposit.
- Strategy Base Asset is an input token to the strategy, and all assets holded after executing the scheme will be only tokens, that are pegged to the Base Asset.
- Wallchain App’s Vault is a smart contract dedicated to one Strategy only.
- Curator of the strategy prepares the strategy and defines the scheme.
- Vault Manager is an entity that administers the assets, and performs emergency withdrawals. This will be managed by AVS as per strict rules.
Vault
Vault implements the EIP-4626 Tokenized Vault Standard. When depositing assets to the vault, user receives shares, which can be converted back into underlying asset. Vault takes one or a few different tokens as input, pegged to a base asset.
Smart batching of transactions ensures the execution of the strategy scheme for multiple users per once, reducing the gas cost for the depositor.
Strategy Scheme
Strategy Scheme is a sequence of actions to deposit and fulfill the allocation into all the needed protocols in specific proportions. It can consist of actions like deposit, provide liquidity to LP, swap, etc. The strategies are designed to farm as many first-class protocols as possible.
Rewards Accumulation
Depending on the protocol, either the user continues to receive points or the vault itself. Vault will track points based on the amount of shares everyone owns and store necessary information onchain. After points are converted into tokens, every depositor will be able to claim their portion.