well
Module0x3466…98bb
- Move path
- 0xce7f…4db2::well
- Functions
- 2017 public, 0 entry
- Structs
- 3
- Friend modules
- buck
well
Functions20
- public fun force_unstake<T0>(&Clock,&mut Well<T0>,&mut bkt::BktTreasury,StakedBKT<T0>): (Balance<bkt::BKT>, Balance<T0>)
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- StakedBKT<phantom T0>storekey
id UID stake_amount u64 start_s u128 stake_weight u64 lock_until u64 - WELLdrop
dummy_field bool - Well<phantom T0>storekey
id UID shared_pool Balance<T0> reserve Balance<T0> staked Balance<bkt::BKT> total_weight u64 current_s u128
Constants4
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | unstake |
| 1 | 1 | u64 | Abort code | force_unstake |
| 2 | 2 | u64 | Abort code | compute_weight |
| 3 | 3 | u64 | Abort code | compute_weight |