mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 10:47:55 +00:00
d2b7ee2575
git-subtree-dir: bridges git-subtree-split: 0625544309ff299307f7e110f252f04eac383102
193 lines
4.9 KiB
JSON
193 lines
4.9 KiB
JSON
{
|
|
"--1": "Millau Types",
|
|
"MillauAddress": "AccountId",
|
|
"MillauLookupSource": "AccountId",
|
|
"MillauBalance": "u64",
|
|
"MillauBlockHash": "H512",
|
|
"MillauBlockNumber": "u64",
|
|
"MillauHeader": {
|
|
"parent_Hash": "MillauBlockHash",
|
|
"number": "Compact<MillauBlockNumber>",
|
|
"state_root": "MillauBlockHash",
|
|
"extrinsics_root": "MillauBlockHash",
|
|
"digest": "MillauDigest"
|
|
},
|
|
"MillauDigest": {
|
|
"logs": "Vec<MillauDigestItem>"
|
|
},
|
|
"MillauDigestItem": {
|
|
"_enum": {
|
|
"Other": "Vec<u8>",
|
|
"AuthoritiesChange": "Vec<AuthorityId>",
|
|
"ChangesTrieRoot": "MillauBlockHash",
|
|
"SealV0": "SealV0",
|
|
"Consensus": "Consensus",
|
|
"Seal": "Seal",
|
|
"PreRuntime": "PreRuntime"
|
|
}
|
|
},
|
|
"--2": "Rialto Types",
|
|
"RialtoAddress": "MultiAddress",
|
|
"RialtoLookupSource": "MultiAddress",
|
|
"RialtoBalance": "u128",
|
|
"RialtoBlockHash": "H256",
|
|
"RialtoBlockNumber": "u32",
|
|
"RialtoHeader": {
|
|
"parent_Hash": "RialtoBlockHash",
|
|
"number": "Compact<RialtoBlockNumber>",
|
|
"state_root": "RialtoBlockHash",
|
|
"extrinsics_root": "RialtoBlockHash",
|
|
"digest": "RialtoDigest"
|
|
},
|
|
"RialtoDigest": {
|
|
"logs": "Vec<RialtoDigestItem>"
|
|
},
|
|
"RialtoDigestItem": {
|
|
"_enum": {
|
|
"Other": "Vec<u8>",
|
|
"AuthoritiesChange": "Vec<AuthorityId>",
|
|
"ChangesTrieRoot": "RialtoBlockHash",
|
|
"SealV0": "SealV0",
|
|
"Consensus": "Consensus",
|
|
"Seal": "Seal",
|
|
"PreRuntime": "PreRuntime"
|
|
}
|
|
},
|
|
"--3": "Common types",
|
|
"AccountSigner": "MultiSigner",
|
|
"SpecVersion": "u32",
|
|
"RelayerId": "AccountId",
|
|
"SourceAccountId": "AccountId",
|
|
"ImportedHeader": {
|
|
"header": "BridgedHeader",
|
|
"requires_justification": "bool",
|
|
"is_finalized": "bool",
|
|
"signal_hash": "Option<BridgedBlockHash>"
|
|
},
|
|
"AuthoritySet": {
|
|
"authorities": "AuthorityList",
|
|
"set_id": "SetId"
|
|
},
|
|
"Id": "[u8; 4]",
|
|
"ChainId": "Id",
|
|
"LaneId": "Id",
|
|
"MessageNonce": "u64",
|
|
"BridgeMessageId": "(Id, u64)",
|
|
"MessageKey": {
|
|
"lane_id": "LaneId",
|
|
"nonce:": "MessageNonce"
|
|
},
|
|
"InboundRelayer": "AccountId",
|
|
"InboundLaneData": {
|
|
"relayers": "Vec<UnrewardedRelayer>",
|
|
"last_confirmed_nonce": "MessageNonce"
|
|
},
|
|
"UnrewardedRelayer": {
|
|
"relayer": "RelayerId",
|
|
"messages": "DeliveredMessages"
|
|
},
|
|
"DeliveredMessages": {
|
|
"begin": "MessageNonce",
|
|
"end": "MessageNonce",
|
|
"dispatch_results": "BitVec"
|
|
},
|
|
"OutboundLaneData": {
|
|
"oldest_unpruned_nonce": "MessageNonce",
|
|
"latest_received_nonce": "MessageNonce",
|
|
"latest_generated_nonce": "MessageNonce"
|
|
},
|
|
"MessageData": {
|
|
"payload": "MessagePayload",
|
|
"fee": "Fee"
|
|
},
|
|
"MessagePayload": "Vec<u8>",
|
|
"BridgedOpaqueCall": "Vec<u8>",
|
|
"OutboundMessageFee": "Fee",
|
|
"OutboundPayload": {
|
|
"spec_version": "SpecVersion",
|
|
"weight": "Weight",
|
|
"origin": "CallOrigin",
|
|
"dispatch_fee_payment": "DispatchFeePayment",
|
|
"call": "BridgedOpaqueCall"
|
|
},
|
|
"CallOrigin": {
|
|
"_enum": {
|
|
"SourceRoot": "()",
|
|
"TargetAccount": "(SourceAccountId, MultiSigner, MultiSignature)",
|
|
"SourceAccount": "SourceAccountId"
|
|
}
|
|
},
|
|
"DispatchFeePayment": {
|
|
"_enum": {
|
|
"AtSourceChain": "()",
|
|
"AtTargetChain": "()"
|
|
}
|
|
},
|
|
"MultiSigner": {
|
|
"_enum": {
|
|
"Ed25519": "H256",
|
|
"Sr25519": "H256",
|
|
"Ecdsa": "[u8;33]"
|
|
}
|
|
},
|
|
"MessagesProofOf": {
|
|
"bridged_header_hash": "BridgedBlockHash",
|
|
"storage_proof": "Vec<StorageProofItem>",
|
|
"lane": "LaneId",
|
|
"nonces_start": "MessageNonce",
|
|
"nonces_end": "MessageNonce"
|
|
},
|
|
"StorageProofItem": "Vec<u8>",
|
|
"MessagesDeliveryProofOf": {
|
|
"bridged_header_hash": "BridgedBlockHash",
|
|
"storage_proof": "Vec<StorageProofItem>",
|
|
"lane": "LaneId"
|
|
},
|
|
"UnrewardedRelayersState": {
|
|
"unrewarded_relayer_entries": "MessageNonce",
|
|
"messages_in_oldest_entry": "MessageNonce",
|
|
"total_messages": "MessageNonce"
|
|
},
|
|
"AncestryProof": "()",
|
|
"MessageFeeData": {
|
|
"lane_id": "LaneId",
|
|
"payload": "OutboundPayload"
|
|
},
|
|
"Precommit": {
|
|
"target_hash": "BridgedBlockHash",
|
|
"target_number": "BridgedBlockNumber"
|
|
},
|
|
"AuthoritySignature": "[u8;64]",
|
|
"AuthorityId": "[u8;32]",
|
|
"SignedPrecommit": {
|
|
"precommit": "Precommit",
|
|
"signature": "AuthoritySignature",
|
|
"id": "AuthorityId"
|
|
},
|
|
"Commit": {
|
|
"target_hash": "BridgedBlockHash",
|
|
"target_number": "BridgedBlockNumber",
|
|
"precommits": "Vec<SignedPrecommit>"
|
|
},
|
|
"GrandpaJustification": {
|
|
"round": "u64",
|
|
"commit": "Commit",
|
|
"votes_ancestries": "Vec<BridgedHeader>"
|
|
},
|
|
"Address": "RialtoAddress",
|
|
"LookupSource": "RialtoLookupSource",
|
|
"Fee": "RialtoBalance",
|
|
"Balance": "RialtoBalance",
|
|
"BlockHash": "RialtoBlockHash",
|
|
"BlockNumber": "RialtoBlockNumber",
|
|
"BridgedBlockHash": "MillauBlockHash",
|
|
"BridgedBlockNumber": "MillauBlockNumber",
|
|
"BridgedHeader": "MillauHeader",
|
|
"Parameter": {
|
|
"_enum": {
|
|
"RialtoToMillauConversionRate": "u128"
|
|
}
|
|
},
|
|
"ValidationCodeHash": "H256"
|
|
}
|