ETokensBundleVault
Last updated
Last updated
ERC-4626 vault that invests in several eTokens with fixed allocations.
The roles and functions of the contract are as follows:
Role | Description | Methods Accessible |
---|---|---|
This contract does not use Access Manager as an access control solution. It has its own access control mechanism.
ADMIN_ROLE
Adds and removes underlying eTokens.
addEToken: Adds a new underlying eToken.
removeEToken: Removes an underlying eToken
CHANGE_PERCENTAGE_ROLE
Changes allocation percentages for eTokens.
changePercentages: Changes allocation percentages for eTokens.
REORDER_ROLE
Swaps the order of underlying eTokens.
reorderETokens: Swaps order of underlying eTokens.
REBALANCER_ROLE
Moves funds between underlying eTokens for rebalancing purposes.
rebalance: Moves funds between underlying eTokens.