StakeManager
Last updated
Last updated
Contract used for manager staking
stake ape & bakc & coin
Parameters
Name | Type | Description |
---|---|---|
approve a operator for unStake
Parameters
remove the operator for msg.sender
UnStake the proxy
Parameters
Claim rewards for msg.sender
from stake proxy
Parameters
Claim rewards for staker from stake proxy
Parameters
Borrow ETH when the ape staked
Paremeters
Query claimable rewards amount for staker from stake proxy
Paremeters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
apeStaked
DataTypes.ApeStaked
the data struct for ape staking
bakcStaked
DataTypes.BakcOffer
the data struct for bakc staking
coinStaked
DataTypes.CoinOffer
the data struct for coin staking
operator
address
the address of operator
proxy
address
the address of stake proxy
proxy
address
the address of stake proxy
proxy
address
the address of stake proxy
staker
address
the address of staker to receive rewards
amount
uint256
the amount of ETH need to borrow
apeAsset
address
the address of ape used as collateral
apeTokenId
uint256
the token id of ape used as collateral
proxy
address
the address of stake proxy
staker
address
the sddress of staker to receive rewards
amount
uint256
the amount of claimable rewards