Name | Lookup | Parameters | |
---|---|---|---|
change_superior | 7000 | 1 | |
change_miner | 7001 | 1 | |
set_claim_limit | 7002 | 1 | |
mint_claim | 7003 | 3 | |
claim | 7004 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
InitPot | 7000 | ["AccountId","BalanceOf"] | |
SuperiorChanged | 7001 | ["AccountId"] | |
MinerChanged | 7002 | ["AccountId"] | |
SetLimitSuccess | 7003 | ["BalanceOf"] | |
MintSuccess | 7004 | ["EthereumTxHash","EthereumAddress","BalanceOf"] | |
Claimed | 7005 | ["AccountId","EthereumAddress","BalanceOf"] | |
BondEthSuccess | 7006 | ["AccountId","EthereumAddress"] |
Name | Type | |
---|---|---|
ClaimLimit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Claims | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"Tuple:[U8; 20]U128","keys_id":114,"value_id":412}} | |
Claimed | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"Bool","keys_id":114,"value_id":84}} | |
Superior | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
Miner | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 6372636c61696d73 | |
Prefix | Vec<U8> | 945061792043534d7320746f2074686520437275737420536861646f77206163636f756e743a |
Name | Docs |
---|---|
IllegalSuperior | Superior not exist, should set it first |
MinerNotExist | Miner is not exist, should set it first |
IllegalMiner | Miner should be the registered |
AlreadyBeMint | Ethereum tx already be mint |
AlreadyBeClaimed | Ethereum tx already be claimed |
InvalidEthereumSignature | Invalid Ethereum signature. |
SignerHasNoClaim | Ethereum address has no claims. |
SignatureNotMatch | Sign not match |
ExceedClaimLimit | Exceed claim limitation |