UnstakePool
Last updated
Last updated
Var | Type |
---|---|
No description
Declaration:
Modifiers:
Modifier |
---|
Deposit REI to UnstakePool
, only can be called by stake manager, this will be called when user starts unstake.
Declaration:
Modifiers:
Args:
Withdraw REI and burn shares, only can be called by stake manager, this will be called when unstake timeout.
Declaration:
Modifiers:
Args:
Slash validator and transfer the slashed amount to address(0)
.
Declaration:
Modifiers:
Args:
Modifier |
---|
Arg | Type | Description |
---|---|---|
Modifier |
---|
Arg | Type | Description |
---|---|---|
Modifier |
---|
Arg | Type | Description |
---|---|---|
balanceOf
mapping(address => uint256)
totalSupplyOf
mapping(address => uint256)
Only
nonReentrant
onlyStakeManager
validator
address
Validator address.
nonReentrant
onlyStakeManager
validator
address
Validator address.
shares
uint256
Number of shares.
to
address payable
REI receiver address(this value is set when the user starts unstake).
nonReentrant
onlyStakeManager
validator
address
Validator address.
factor
uint8
Slash factor.