Name | Lookup | Parameters | |
|---|---|---|---|
| initialize | 5400 | 3 | |
| update_deposit | 5401 | 1 | |
| withdraw_funds | 5402 | 2 | |
| sign | 5403 | 6 | |
| sign_bidirectional | 5404 | 9 | |
| respond | 5405 | 2 | |
| respond_error | 5406 | 1 | |
| respond_bidirectional | 5407 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Initialized | 5400 | ["AccountId","BalanceOf","Bytes"] | |
| DepositUpdated | 5401 | ["BalanceOf","BalanceOf"] | |
| FundsWithdrawn | 5402 | ["BalanceOf","AccountId"] | |
| SignatureRequested | 5403 | ["AccountId","[u8; 32]","u32","BalanceOf","Bytes","Bytes","Bytes","Bytes","Bytes"] | |
| SignBidirectionalRequested | 5404 | ["AccountId","Bytes","Bytes","u32","BalanceOf","Bytes","Bytes","Bytes","Bytes","Bytes","Bytes"] | |
| SignatureResponded | 5405 | ["[u8; 32]","AccountId","Signature"] | |
| SignatureError | 5406 | ["[u8; 32]","AccountId","Bytes"] | |
| RespondBidirectionalEvent | 5407 | ["[u8; 32]","AccountId","Bytes","Signature"] |
Name | Type | |
|---|---|---|
| Admin | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| SignatureDeposit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| ChainId | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":256} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f7369676e74 | |
| MaxChainIdLength | U32 | 80000000 | |
| MaxDataLength | U32 | a0860100 | |
| MaxSignatureDeposit | U128 | 0080f420e6b500000000000000000000 |
Name | Docs |
|---|---|
| AlreadyInitialized | The pallet has already been initialized |
| NotInitialized | The pallet has not been initialized yet |
| Unauthorized | Unauthorized - caller is not admin |
| InsufficientFunds | Insufficient funds for withdrawal |
| InvalidTransaction | Invalid transaction data (empty) |
| InvalidInputLength | Arrays must have the same length |
| ChainIdTooLong | The chain ID is too long |
| DataTooLong | Transaction data exceeds maximum allowed length |
| InvalidAddress | Invalid address format - must be exactly 20 bytes |
| InvalidGasPrice | Priority fee cannot exceed max fee per gas (EIP-1559 requirement) |
| MaxDepositExceeded | Signature Deposit cannot exceed MaxSignatureDeposit |