slashing
Module0xa9ac…bf1e
- Move path
- 0xfdc8…ea77::slashing
- Functions
- 63 public, 0 entry
- Structs
- 2
- Friend modules
- None
slashing
- active_set12
- apportionment_queue6
- auth5
- blob27
- bls_aggregate16
- committee9
- display4
- encoding1
- epoch_parameters4
- event_blob15
- events22
- extended_field5
- init4
- messages29
- metadata4
- node_metadata10
- pending_values11
- pool_exchange_rate4
- redstuff7
- shared_blob6
- slashing6
- snapshot_blob16
- sort0
- staked_wal12
- staking43
- staking_inner52
- staking_pool42
- storage_accounting14
- storage_node21
- storage_pool43
- storage_resource12
- system44
- system_state_inner42
- upgrade9
- walrus_context4
Functions6
- public fun execute_slashing(&mut SlashingManager,&mut staking::Staking,&mut wal::ProtectedTreasury,ID)
Structs2
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
id UID slashing_candidates Table<ID, SlashingProposal> - SlashingProposaldropstore
epoch u32 node_id ID voting_weight u16 voters VecSet<ID>
Constants5
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | vote_for_slashing |
| 1 | 1 | u64 | Abort code | add_vote |
| 2 | 2 | u64 | Abort code | execute_slashing |
| 3 | 3 | u64 | Abort code | execute_slashing |
| 4 | 4 | u64 | Abort code | execute_slashing |