Name | Lookup | Parameters | |
|---|---|---|---|
| create_merkle_distributor | 5100 | 4 | |
| claim | 5101 | 5 | |
| charge | 5102 | 1 | |
| emergency_withdraw | 5103 | 3 |
Name | Type | |
|---|---|---|
| MerkleDistributorMetadata | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"merkle_distributor:MerkleMetadata","keys_id":4,"value_id":474}} | |
| NextMerkleDistributorId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ClaimedBitMap | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","U32"],"value":"U32","keys_id":90,"value_id":4}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 62662f6d6b6c6473 | |
| StringLimit | U32 | 32000000 |
Name | Docs |
|---|---|
| BadDescription | Invalid metadata given. |
| InvalidMerkleDistributorId | The id is not exist. |
| MerkleVerifyFailed | The proof is invalid |
| Claimed | The reward is already distributed. |
| Charged | The reward is already charged. |
| WithdrawAmountExceed | Withdraw amount exceed charge amount. |
| BadChargeAccount |