staking
Module0xb39d…06f6
- Move path
- 0xaec9…5faa::staking
- Functions
- 53 public, 0 entry
- Structs
- 1
- Friend modules
- router
staking
Functions5
- public fun change_stake_config(&admin::AdminCap,&mut StakeConfig,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>)
- public fun stake(&mut csui::CSUITreasuryCoinfig,&mut StakeConfig,&mut treasury::Treasury,Coin<SUI>,&Clock): Coin<csui::CSUI>
- public fun unstake(&mut csui::CSUITreasuryCoinfig,&mut StakeConfig,&mut treasury::Treasury,Coin<csui::CSUI>,&Clock): Coin<SUI>
Structs1
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- StakeConfigstorekey
id UID version u64 tge_time u64 ratio_base_18 u64 max_stake_limit u64 total_staked u64
Constants3
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1746057600000 | u64 | Value | create_config |
| 1 | 25000000000000000 | u64 | Value | create_config |
| 2 | 31536000000 | u64 | Value | stakeunstake |