Expand description
Types used for transactions with Dusk’s stake contract.
Structs§
- Archived
Stake - An archived
Stake - Archived
Staking Event - An archived
StakingEvent - Archived
Unstake - An archived
Unstake - Archived
Withdraw - An archived
Withdraw - Stake
- Stake a value on the stake contract.
- Stake
Data - The representation of a public key’s stake.
- Stake
Resolver - The resolver for an archived
Stake - Staking
Event - Events Event emitted after a stake contract operation is performed.
- Staking
Event Resolver - The resolver for an archived
StakingEvent - Unstake
- Unstake a value from the stake contract.
- Unstake
Resolver - The resolver for an archived
Unstake - Withdraw
- Withdraw the accumulated reward.
- Withdraw
Resolver - The resolver for an archived
Withdraw
Constants§
- EPOCH
- Epoch used for stake operations
Functions§
- next_
epoch - Calculate the block height at which the next epoch takes effect.
- stake_
signature_ message - Return the digest to be signed in the
stakefunction of the stake contract. - unstake_
signature_ message - Signature message used for [
Unstake]. - withdraw_
signature_ message - Signature message used for [
Withdraw].
Type Aliases§
- Block
Height - Block height type alias