ILegacyTokenStaking
Last updated
Last updated
Interface for Keep TokenStaking contract
Seize provided token amount from every member in the misbehaved operators array. The tattletale is rewarded with 5% of the total seized amount scaled by the reward adjustment parameter and the rest 95% is burned.
Name | Type | Description |
---|---|---|
Gets stake delegation info for the given operator.
Name | Type | Description |
---|---|---|
Gets the stake owner for the specified operator address.
Gets the beneficiary for the specified operator address.
Gets the authorizer for the specified operator address.
Gets the eligible stake balance of the specified address. An eligible stake is a stake that passed the initialization period and is not currently undelegating. Also, the operator had to approve the specified operator contract.
Operator with a minimum required amount of eligible stake can join the network and participate in new work selection.
Interface for NuCypher StakingEscrow contract
Slash the staker's stake and reward the investigator
Request merge between NuCypher staking contract and T staking contract. Returns amount of staked tokens
Get all tokens belonging to the staker
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
amountToSeize
uint256
Token amount to seize from every misbehaved operator.
rewardMultiplier
uint256
Reward adjustment in percentage. Min 1% and 100% max.
tattletale
address
Address to receive the 5% reward.
misbehavedOperators
address[]
Array of addresses to seize the tokens from.
operator
address
Operator address.
amount
uint256
The amount of tokens the given operator delegated.
createdAt
uint256
The time when the stake has been delegated.
undelegatedAt
uint256
The time when undelegation has been requested. If undelegation has not been requested, 0 is returned.
[0]
address
Stake owner address.
[0]
address payable
Beneficiary address.
[0]
address
Authorizer address.
operator
address
address of stake operator.
operatorContract
address
address of operator contract.
balance
uint256
an uint256 representing the eligible stake balance.
staker
address
Staker's address
penalty
uint256
Penalty
investigator
address
Investigator
reward
uint256
Reward for the investigator