validator
Module0x0000…0003
- Move path
- 0x0000…0003::validator
- Functions
- 7738 public, 0 entry
- Structs
- 6
validator
Functions77
Structs6
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
pool_id ID stake_activation_epoch u64 staked_sui_principal_amount u64 fungible_staked_sui_amount u64 - RedeemingFungibleStakedSuiEventcopydrop
pool_id ID fungible_staked_sui_amount u64 sui_amount u64 - StakingRequestEventcopydrop
pool_id ID validator_address address staker_address address epoch u64 amount u64 - UnstakingRequestEventcopydrop
pool_id ID validator_address address staker_address address stake_activation_epoch u64 unstaking_epoch u64 principal_amount u64 reward_amount u64 - Validatorstore
metadata ValidatorMetadata voting_power u64 operation_cap_id ID gas_price u64 staking_pool staking_pool::StakingPool commission_rate u64 next_epoch_stake u64 next_epoch_gas_price u64 next_epoch_commission_rate u64 extra_fields Bag - ValidatorMetadatastore
sui_address address protocol_pubkey_bytes vector<u8> network_pubkey_bytes vector<u8> worker_pubkey_bytes vector<u8> proof_of_possession vector<u8> name String description String image_url Url project_url Url net_address String p2p_address String primary_address String worker_address String next_epoch_protocol_pubkey_bytes Option<vector<u8>> next_epoch_proof_of_possession Option<vector<u8>> next_epoch_network_pubkey_bytes Option<vector<u8>> next_epoch_worker_pubkey_bytes Option<vector<u8>> next_epoch_net_address Option<String> next_epoch_p2p_address Option<String> next_epoch_primary_address Option<String> next_epoch_worker_address Option<String> extra_fields Bag
Constants20
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Value | |
| 1 | 1 | u64 | Value | |
| 2 | 2 | u64 | Value | |
| 3 | 3 | u64 | Value | |
| 4 | 4 | u64 | Value | |
| 5 | 5 | u64 | Value | |
| 6 | 6 | u64 | Value | |
| 7 | 7 | u64 | Value | |
| 8 | 8 | u64 | Abort code | newrequest_set_commission_rateset_candidate_commission_rate |
| 9 | 9 | u64 | Abort code | newupdate_nameupdate_descriptionupdate_image_urland 9 more |
| 10 | 10 | u64 | Abort code | set_candidate_gas_priceset_candidate_commission_rateupdate_candidate_network_addressupdate_candidate_p2p_addressand 5 more |
| 11 | 11 | u64 | Abort code | request_add_stakerequest_add_stake_at_genesis |
| 12 | 12 | u64 | Abort code | request_add_stake_at_genesis |
| 13 | 100 | u64 | Abort code | new_unverified_validator_operation_cap_and_transfer |
| 14 | 101 | u64 | Abort code | request_set_gas_priceset_candidate_gas_price |
| 15 | 102 | u64 | Abort code | newrequest_set_gas_priceset_candidate_gas_price |
| 16 | 16 | u64 | Abort code | update_next_epoch_protocol_pubkeyupdate_candidate_protocol_pubkey |
| 17 | 2000 | u64 | Value | newrequest_set_commission_rateset_candidate_commission_rate |
| 18 | 256 | u64 | Value | newupdate_nameupdate_descriptionupdate_image_urland 9 more |
| 19 | 100000 | u64 | Value | newrequest_set_gas_priceset_candidate_gas_price |