SORA
subscan
Runtime Modules / CeresTokenLocker
Spec Version:
Call Functions
Name
Lookup
Parameters
lock_tokens2f003
withdraw_tokens2f013
change_fee2f021
Events
Name
Lookup
Attributes
Locked2f00["AccountIdOf","Balance","AssetIdOf"]
Withdrawn2f01["AccountIdOf","Balance","AssetIdOf"]
FeeChanged2f02["AccountIdOf","Balance"]
Storage Functions
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}}
Error Types
Name
Docs
InvalidNumberOfTokensNumber of tokens equals zero
UnauthorizedUnauthorized access
InvalidUnlockingTimestampUnlocking date cannot be in past
NotEnoughFundsNot enough funds
NotUnlockedYetTokens not unlocked yet
LockInfoDoesNotExistLock info does not exist