7 releases
0.4.2 | Mar 6, 2024 |
---|---|
0.4.1 | Feb 15, 2024 |
0.2.0 | Nov 3, 2023 |
0.1.0 | Sep 27, 2023 |
0.1.0-rc.2 | Aug 29, 2023 |
#6 in #locked
21 downloads per month
Used in 2 crates
5.5MB
3K
SLoC
Apollo Astroport Vault
This contract is a vault contract that implements the cw-vault-standard. It is an autocompounding vault that takes in Astroport LP tokens as the base token. It claims any rewards from the Astroport generator as well as tokens that are sent directly to the contract (as long as they are present in the contracts config field reward_tokens
) and sells these for more of the tokens that comprise the base LP token. It then provides liquidity with these to get more LP tokens and stakes them in the Astroport generator.
This vault has an optional configurable lockup_duration
. If this duration is set to some value higher than zero, the deposited funds will be locked this amount of time from when the user redeems their vault tokens.
License
This vault is licensed under the MariaDB Business Source License 1.1. See the LICENSE file for details.
Dependencies
~18MB
~282K SLoC