config
Module0x19e6…967c
- Move path
- 0xbde4…f47d::config
- Functions
- 146 public, 0 entry
- Structs
- 3
config
Functions14
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- StakingConfigstore
deposit_fee u64 reward_fee u64 validator_reward_fee u64 service_fee u64 withdraw_time_limit u64 validator_count u64 - StakingConfigCreatedcopydrop
deposit_fee u64 reward_fee u64 validator_reward_fee u64 service_fee u64 withdraw_time_limit u64 validator_count u64 - StakingFeeConfigUpdatedcopydrop
name vector<u8> old u64 new u64
Constants9
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 10000000 | u64 | Value | set_deposit_feeset_reward_feeset_service_fee |
| 1 | 1 | u64 | Abort code | set_deposit_feeset_reward_feeset_validator_reward_feeset_service_feeand 2 more |
| 2 | 2 | u64 | Abort code | set_deposit_feeset_reward_feeset_service_fee |
| 3 | "DepositFeeUpdated" // interpreted as UTF8 string | vector<u8> | Value | set_deposit_fee |
| 4 | "RewardFeeUpdated" // interpreted as UTF8 string | vector<u8> | Value | set_reward_fee |
| 5 | "ValidatorRewardFeeUpdated" // interpreted as UTF8 string | vector<u8> | Value | set_validator_reward_fee |
| 6 | "ServiceFeeUpdated" // interpreted as UTF8 string | vector<u8> | Value | set_service_fee |
| 7 | "WithdrawTimeLimitUpdated" // interpreted as UTF8 string | vector<u8> | Value | set_withdraw_time_limit |
| 8 | "ValidatorCountUpdated" // interpreted as UTF8 string | vector<u8> | Value | set_validator_count |