| id | Title | Status | Author | Description | Discussions to | Created |
|---|---|---|---|---|---|---|
| TIP-70 | Thales and Overtime vaults | Draft | Danijel (@danijelthales) | Introduce Thales and Overtime Vaults | https://discord.gg/8bzFdpGTrp | 2022-07-18 |
Vaults will be a suite of automated trading strategies, where users can deposit funds that trade with Thales AMM or Sports AMM.
Structured products are very popular in DeFi space. Thales unique offering allows for many interesting automated strategies to be implemented. Furthermore, the concept can be reused by external contributors to create their own automated stategies and allow users to deposit into those (similar to dhedge).
With the addition of AMM discounts, Vaults can be leveraged to balance the AMM, while offering longterm profitable returns to users depositing into vaults (as math says that with discounts the vault should be winning given enough time and sample, assuming BlackScholes pricing is correct). Depositing in such vaults is almost an equivalent to providing liquidity into AMM.
This TIP is to establish the general concepts of vaults, whereas specific vaults will be added ad hoc. Due to complexity of managing vaults and its many parameters, I am asking to give pDAO freedom to add new vaults and adapt vault parameters ad hoc until the product matures and most popular vaults are established and don't require continuous and frequent tuning.
Base vault contract will be created that establishes the following framework for vault instances:
All protocol ran vaults will have keeper bots that check if a trade can be made and execute those, but the trading itself is permissionless and can be called by any address.
The product will initially have two vaults:
Variables values above are tentative and will be further refined.
Other vaults that are planned and will be supported in the future:
Other Overtime vaults:
More complex and dynamic vault strategies are being considered for future. Vaults allow the community to get very creative and there is potential to create a UI where anyone will be able to run their own vault and have users deposit into it.
priceLowerLimit - minimum price at which the vault can buy
priceUpperLimit - maximum price at which the vault can buy
skewImpactLimit - minimum skew impact/discount at which the vault can buy
allocationLimitsPerMarketPerRound - self explanatory
maxAllowedDeposit - maximum amount of sUSD that can be deposited into the vault
utilizationRate - how much of the funds entering a round can be used to trade
minDepositAmount - the minimum a user can deposit
maxAllowedUsers - maximum amount of users in the vault at any point in time
minTradeAmount - the minimum amount of positions the vault can trade in a single tx
https://github.com/thales-markets/contracts/tree/feat/trading-vaults https://github.com/thales-markets/contracts/tree/feat/overtime-vaults
Copyright and related rights waived via CC0.