Constants§
Functions§
- add_
stake - Stakes
amounttokens fromstakertostakedby withdrawing the tokens and adding them to thecrate::StakingToandcrate::StakedBymaps. - get_
staked_ by_ vector - get_
staking_ to_ vector - remove_
stake - Withdraws stake from an agent and gives it back to the staker.
- sum_
staked_ by - sum_
staking_ to - transfer_
stake - Transfers stake from an account to another (see
remove_stake,add_stake).