#vault #contract #astroport #locked #helper #apollo #locked-astroport-vault

locked-astroport-vault-test-helpers

Test helpers for the locked-astroport-vault contract

6 releases

0.4.2 Mar 7, 2024
0.2.0 Nov 3, 2023
0.1.0 Sep 27, 2023
0.1.0-rc.2 Aug 29, 2023

#7 in #locked

43 downloads per month

BUSL-1.1 and GPL-3.0-only

3MB
2.5K 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

~39–56MB
~793K SLoC