Name | Lookup | Parameters | |
---|---|---|---|
lock_tokens | 2f00 | 3 | |
withdraw_tokens | 2f01 | 3 | |
change_fee | 2f02 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Locked | 2f00 | ["AccountIdOf","Balance","AssetIdOf"] | |
Withdrawn | 2f01 | ["AccountIdOf","Balance","AssetIdOf"] | |
FeeChanged | 2f02 | ["AccountIdOf","Balance"] |
Name | Type | |
---|---|---|
FeesAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
AuthorityAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
PalletStorageVersion | {"origin":"PlainType","plain_type":"ceres_token_locker:StorageVersion","PlainTypeValue":734} | |
FeeAmount | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
TokenLockerData | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["AccountId"],"value":"Vec<ceres_token_locker:TokenLockInfo>","keys_id":0,"value_id":735}} |
Name | Docs |
---|---|
InvalidNumberOfTokens | Number of tokens equals zero |
Unauthorized | Unauthorized access |
InvalidUnlockingTimestamp | Unlocking date cannot be in past |
NotEnoughFunds | Not enough funds |
NotUnlockedYet | Tokens not unlocked yet |
LockInfoDoesNotExist | Lock info does not exist |