Name | Lookup | Parameters | |
---|---|---|---|
withdraw | 2c00 | 6 | |
set_withdrawal_fee | 2c01 | 2 | |
parachain_withdraw | 2c02 | 7 | |
update_asset_metadata | 2c03 | 2 | |
burn_native_tokens | 2c04 | 2 | |
evm_withdraw | 2c05 | 6 | |
claim_deposit | 2c06 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
AssetMetadataSet | 2c00 | ["AssetMetadata"] | |
DepositApproved | 2c01 | ["Network","AccountId","u128","u128","Bytes"] | |
DepositClaimed | 2c02 | ["AccountId","u128","u128","Bytes"] | |
DepositFailed | 2c03 | ["Network","Bytes"] | |
WithdrawalQueued | 2c04 | ["Network","AccountId","Bytes","u128","u128","Bytes"] | |
WithdrawalReady | 2c05 | ["Network"] | |
WithdrawalFailed | 2c06 | ["Network","Vec<NewWithdraw>"] | |
TheaKeyUpdated | 2c07 | ["Network","u32"] | |
WithdrawalFeeSet | 2c08 | ["u8","u128"] | |
NativeTokenBurned | 2c09 | ["AccountId","u128"] | |
WithdrawalSent | 2c0a | ["Network","Bytes","u64","u8"] |
Name | Type | |
---|---|---|
RandomnessNonce | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":11} | |
PendingWithdrawals | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U8"],"value":"Vec<thea_primitives:types:NewWithdraw>","keys_id":2,"value_id":112}} | |
WithdrawalFees | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U8"],"value":"U128","keys_id":2,"value_id":6}} | |
ReadyWithdrawals | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","U8"],"value":"Vec<thea_primitives:types:NewWithdraw>","keys_id":627,"value_id":112}} | |
ApprovedDeposits | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<thea_primitives:types:Deposit>","keys_id":0,"value_id":628}} | |
Metadata | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U128"],"value":"U8","keys_id":6,"value_id":111}} |
Name | Type | Value | |
---|---|---|---|
TheaPalletId | [U8; 8] | 74682f6163636e74 | |
WithdrawalSize | U32 | 0a000000 | |
ExistentialDeposit | U128 | 0098f73e5d0100000000000000000000 |
Name | Docs |
---|---|
InvalidDecimal | Invalid decimal configuration |
NoneValue | Error names should be descriptive. |
StorageOverflow | Errors should have helpful documentation associated with them. |
FailedToDecode | Failed To Decode |
BeneficiaryTooLong | Beneficiary Too Long |
WithdrawalNotAllowed | Withdrawal Not Allowed |
WithdrawalFeeConfigNotFound | Withdrawal Fee Config Not Found |
AssetNotRegistered | Asset Not Registered |
FeeAssetNotRegistered | Fee Asset Not Registered |
AmountCannotBeZero | Amount cannot be Zero |
FailedToHandleParachainDeposit | Failed To Handle Parachain Deposit |
TokenTypeNotHandled | Token Type Not Handled |
BoundedVectorOverflow | Bounded Vector Overflow |
BoundedVectorNotPresent | Bounded vector not present |
NoApprovedDeposit | No Approved Deposit |
WrongNetwork | Wrong network |
CannotSwapForFees | Not able to get price for fee swap |