Name | Lookup | Parameters | |
---|---|---|---|
create_lock | 1e00 | 2 | |
increase_amount | 1e01 | 1 | |
increase_unlock_height | 1e02 | 1 | |
withdraw | 1e03 | - | |
set_account_limit | 1e04 | 3 | |
set_account_block | 1e05 | 1 | |
update_user_stake | 1e06 | 1 |
Name | Type | |
---|---|---|
Reserved | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} | |
Locked | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"escrow:LockedBalance","keys_id":0,"value_id":454}} | |
Epoch | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
PointHistory | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U32"],"value":"escrow:Point","keys_id":4,"value_id":455}} | |
UserPointHistory | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["AccountId","U32"],"value":"escrow:Point","keys_id":456,"value_id":455}} | |
UserPointEpoch | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
SlopeChanges | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":6}} | |
Limits | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Tuple:U32U32","keys_id":0,"value_id":35}} | |
Blocks | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Bool","keys_id":0,"value_id":103}} |
Name | Type | Value | |
---|---|---|---|
Span | U32 | e0c40000 | |
MaxPeriod | U32 | 00d44900 |
Name | Docs |
---|---|
InputAmountZero | Input amount must be non-zero. |
LockFound | Lock already exists. |
LockNotFound | Lock does not exist. |
UnlockHeightNotInTheFuture | Unlock height is not in the future. |
UnlockHeightTooFarInTheFuture | Unlock height is greater than max period. |
LockAmountZero | Lock amount must be non-zero. |
UnlockHeightMustIncrease | Unlock height should be greater than lock. |
LockNotExpired | Previous lock has not expired. |
LockHasExpired | Previous lock has expired. |
LockAmountTooLow | Lock amount is too large. |
InsufficientFunds | Insufficient account balance. |
NotSupported | Not supported. |
IncorrectPercent | Incorrect Percent |