AuraBalVault - 컴파운더
AuraBalVault 컴파운더는 ERC4626과 호환됩니다.
Last updated
AuraBalVault 컴파운더는 ERC4626과 호환됩니다.
Last updated
AuraBalVault에 auraBAL을 스테이킹하면 자동으로 보상이 복리로 지급됩니다. Valult는 보상으로 다음 세 가지 토큰을 획득합니다: BAL, bb-a-USD, AURA. BAL과 bb-a-USD는 시장에서 auraBal로 판매한 후 재투자됩니다. AURA는 청구할 수 있는 추가 보상 토큰으로 추가됩니다.
Forked from llama.airforce
Sets whether only whitelisted addresses can harvest
Parameters
Name | Type | Description |
---|---|---|
Adds or remove an address from the harvesters' whitelist
Parameters
Claim rewards and swaps them to auraBAL for restaking
Parameters
Claim rewards and swaps them to auraBAL for restaking
Forwards collected fees to Vault.
Parameters
Updates the withdrawal penalty
Parameters
Set the address of the strategy contract
Parameters
Count of extra rewards
Add extra reward contract
Parameters
Return Values
Clear extra rewards array
Query the amount currently staked
Return Values
Returns the amount of underlying a user can claim
Parameters
Return Values
Deposit user funds in the autocompounder and mints tokens representing user's share of the pool in exchange
Parameters
Return Values
Unstake underlying token in proportion to the amount of shares sent
Parameters
Return Values
Claim rewards and swaps them to auraBAL for restaking
The address of the underlying token used for the Vault for accounting, depositing, and withdrawing.
Total amount of the underlying asset that is “managed” by Vault.
The amount of shares that the Vault would exchange for the amount of assets provided, in an ideal scenario where all the conditions are met.
The amount of assets that the Vault would exchange for the amount of shares provided, in an ideal scenario where all the conditions are met.
Maximum amount of the underlying asset that can be deposited into the Vault for the receiver, through a deposit call.
Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given current on-chain conditions.
Maximum amount of shares that can be minted from the Vault for the receiver, through a mint call.
Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given current on-chain conditions.
Mints exactly shares Vault shares to receiver by depositing assets of underlying tokens.
Maximum amount of the underlying asset that can be withdrawn from the owner balance in the Vault, through a withdraw call.
Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, given current on-chain conditions.
Burns shares from owner and sends exactly assets of underlying tokens to receiver.
Maximum amount of Vault shares that can be redeemed from the owner balance in the Vault, through a redeem call.
Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, given current on-chain conditions.
Set approvals for the contracts used when swapping & staking
Add a reward token and its handler
Parameters
Update the handler of a reward token
Parameters
returns the number of reward tokens
Return Values
Query the amount currently staked
Return Values
Deposits underlying tokens in the staking contract
Withdraw a certain amount from the staking contract
Parameters
Claim rewards and swaps them to auraBAL for restaking
Parameters
Return Values
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_status
bool
Whether or not harvests are permissioned
_harvester
address
address of the authorized harvester
_authorized
bool
Whether to add or remove harvester
_minAmountOut
uint256
- min amount of auraBAL to receive for harvest
_dao
address
Address of DAO
_penalty
uint256
- the amount of the new penalty (in BIPS)
_strategy
address
- address of the strategy contract
_reward
address
VirtualBalanceRewardPool address
[0]
bool
bool success
total
uint256
- the total amount of tokens staked
user
address
- address whose claimable amount to query
amount
uint256
- claimable amount
_amount
uint256
- the amount of underlying to deposit
_receiver
address
_shares
uint256
- the amount of shares issued
_shares
uint256
- the number of shares sent
_receiver
address
_owner
address
withdrawn
uint256
- the amount of underlying returned to the user
_token
address
the reward token to add
_handler
address
address of the contract that will sell for BAL or ETH
_token
address
the reward token to add
_handler
address
address of the contract that will sell for BAL or ETH
[0]
uint256
the number of reward tokens
total
uint256
- the total amount of tokens staked
_amount
uint256
- the amount to withdraw
_minAmountOut
uint256
- min amount of LP tokens to receive w/o revert
harvested
uint256
- the amount harvested