SORA
subscan
Runtime Modules / CeresTokenLocker
Spec Version:
Call Functions
Name
Lookup
Parameters
lock_tokens2f003
withdraw_tokens2f013
change_fee2f021
Events
Name
Lookup
Attributes
Locked2f00
Withdrawn2f01
FeeChanged2f02
Storage Functions
Name
Type
FeesAccount{"origin":"PlainType","plain_type":"AccountIdOf"}
AuthorityAccount{"origin":"PlainType","plain_type":"AccountIdOf"}
PalletStorageVersion{"origin":"PlainType","plain_type":"StorageVersion"}
FeeAmount{"origin":"PlainType","plain_type":"Balance"}
TokenLockerData{"origin":"MapType","map_type":{"key":"AccountIdOf","hasher":"Identity","value":"Vec<TokenLockInfo<Balance, Moment, AssetIdOf>>","isLinked":false}}
Error Types
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