Name | Lookup | Parameters | |
---|---|---|---|
migrate | 0f00 | 1 | |
expand_migrator | 0f01 | 2 | |
contract_migrator | 0f02 | 2 | |
add_migrator | 0f03 | 2 | |
remove_migrator | 0f04 | 1 | |
give_bonuses | 0f05 | 2 | |
claim_bonus | 0f06 | - | |
claim_bonus_for_other | 0f07 | 1 | |
claim_swap_bonus | 0f08 | - | |
claim_swap_bonus_for_other | 0f09 | 1 | |
claim_vesting_bonus | 0f0a | - | |
claim_vesting_bonus_for_other | 0f0b | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Migration | 0f00 | ["<T as frame_system::Config>::AccountId","<T as frame_system::Config>::AccountId","BalanceOf"] | |
MigratorAdded | 0f01 | ["<T as frame_system::Config>::AccountId","u16"] | |
MigratorRemoved | 0f02 | ["<T as frame_system::Config>::AccountId"] | |
MigratorExpanded | 0f03 | ["<T as frame_system::Config>::AccountId","u16"] | |
MigratorContracted | 0f04 | ["<T as frame_system::Config>::AccountId","u16"] | |
SwapBonusAdded | 0f05 | ["<T as frame_system::Config>::AccountId","<T as frame_system::Config>::AccountId","BalanceOf","<T as frame_system::Config>::BlockNumber"] | |
SwapBonusClaimed | 0f06 | ["<T as frame_system::Config>::AccountId","BalanceOf"] | |
VestingBonusAdded | 0f07 | ["<T as frame_system::Config>::AccountId","<T as frame_system::Config>::AccountId","BalanceOf","<T as frame_system::Config>::BlockNumber"] | |
VestingBonusClaimed | 0f08 | ["<T as frame_system::Config>::AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
Migrators | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U16","keys_id":0,"value_id":96}} | |
Bonuses | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"dock_token_migration:Bonus","keys_id":0,"value_id":675}} |
Name | Docs |
---|---|
MigratorAlreadyPresent | |
UnknownMigrator | |
ExceededMigrations | |
CannotExpandMigrator | |
CannotContractMigrator | |
InsufficientBalance | |
BonusOverflowError | Overflow while doing bonus calculations |
NoBonus | The account has no bonus. |
NoSwapBonus | The account has no swap bonus. |
CannotClaimSwapBonusYet | Has a swap bonus but cannot claim yet. |
VestingNotStartedYet | Vesting has not started yet. |
NoVestingBonus | The account has no vesting bonus. |
CannotClaimVestingBonusYet | Has a vesting bonus but cannot claim yet. |
TooManyBonuses |