BaseAuraStrategy
BaseAuraStrategy
auraRewardPoolAddress
address auraRewardPoolAddress
Address of the Aura rewards pool
constructor
constructor(address _auraRewardPoolAddress) internal
_lpDepositAll
function _lpDepositAll() internal virtual
Deposit all Balancer Pool Tokens (BPT) in this strategy contract to the Aura rewards pool.
_lpWithdraw
function _lpWithdraw(uint256 numBPTTokens) internal virtual
Withdraw numBPTTokens
Balancer Pool Tokens (BPT) from
the Aura rewards pool to this strategy contract.
Parameters
Name | Type | Description |
---|---|---|
numBPTTokens | uint256 | Number of Balancer Pool Tokens (BPT) to withdraw |
_lpWithdrawAll
function _lpWithdrawAll() internal virtual
Withdraw all Balancer Pool Tokens (BPT) from the Aura rewards pool to this strategy contract.
collectRewardTokens
function collectRewardTokens() external virtual
Collects BAL and AURA tokens from the rewards pool.
_getBalancerPoolTokens
function _getBalancerPoolTokens() internal view returns (uint256 balancerPoolTokens)
Balancer Pool Tokens (BPT) in the Balancer pool and the Aura rewards pool.
_approveBase
function _approveBase() internal virtual