Skip to content
codegen_runtime.rs 195 KiB
Newer Older
						location: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
					},
					#[codec(index = 7)]
					force_unsubscribe_version_notify {
						location: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
					},
					#[codec(index = 8)]
					limited_reserve_transfer_assets {
						dest: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
						beneficiary: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
						assets: ::std::boxed::Box<runtime_types::xcm::VersionedAssets>,
						fee_asset_item: ::core::primitive::u32,
						weight_limit: runtime_types::xcm::v3::WeightLimit,
					},
					#[codec(index = 9)]
					limited_teleport_assets {
						dest: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
						beneficiary: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
						assets: ::std::boxed::Box<runtime_types::xcm::VersionedAssets>,
						fee_asset_item: ::core::primitive::u32,
						weight_limit: runtime_types::xcm::v3::WeightLimit,
					},
					#[codec(index = 10)]
					force_suspension { suspended: ::core::primitive::bool },
					#[codec(index = 11)]
					transfer_assets {
						dest: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
						beneficiary: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
						assets: ::std::boxed::Box<runtime_types::xcm::VersionedAssets>,
						fee_asset_item: ::core::primitive::u32,
						weight_limit: runtime_types::xcm::v3::WeightLimit,
					},
					#[codec(index = 12)]
					claim_assets {
						assets: ::std::boxed::Box<runtime_types::xcm::VersionedAssets>,
						beneficiary: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,
					},
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Error {
					#[codec(index = 0)]
					Unreachable,
					#[codec(index = 1)]
					SendFailure,
					#[codec(index = 2)]
					Filtered,
					#[codec(index = 3)]
					UnweighableMessage,
					#[codec(index = 4)]
					DestinationNotInvertible,
					#[codec(index = 5)]
					Empty,
					#[codec(index = 6)]
					CannotReanchor,
					#[codec(index = 7)]
					TooManyAssets,
					#[codec(index = 8)]
					InvalidOrigin,
					#[codec(index = 9)]
					BadVersion,
					#[codec(index = 10)]
					BadLocation,
					#[codec(index = 11)]
					NoSubscription,
					#[codec(index = 12)]
					AlreadySubscribed,
					#[codec(index = 13)]
					CannotCheckOutTeleport,
					#[codec(index = 14)]
					LowBalance,
					#[codec(index = 15)]
					TooManyLocks,
					#[codec(index = 16)]
					AccountNotSovereign,
					#[codec(index = 17)]
					FeesNotMet,
					#[codec(index = 18)]
					LockNotFound,
					#[codec(index = 19)]
					InUse,
					#[codec(index = 20)]
					InvalidAssetNotConcrete,
					#[codec(index = 21)]
					InvalidAssetUnknownReserve,
					#[codec(index = 22)]
					InvalidAssetUnsupportedReserve,
					#[codec(index = 23)]
					TooManyReserves,
					#[codec(index = 24)]
					LocalExecutionIncomplete,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Event {
					#[codec(index = 0)]
					Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome },
						origin: runtime_types::staging_xcm::v4::location::Location,
						destination: runtime_types::staging_xcm::v4::location::Location,
						message: runtime_types::staging_xcm::v4::Xcm,
						message_id: [::core::primitive::u8; 32usize],
					},
					#[codec(index = 2)]
					UnexpectedResponse {
						origin: runtime_types::staging_xcm::v4::location::Location,
						query_id: ::core::primitive::u64,
					},
					#[codec(index = 3)]
					ResponseReady {
						query_id: ::core::primitive::u64,
						response: runtime_types::staging_xcm::v4::Response,
					},
					#[codec(index = 4)]
					Notified {
						query_id: ::core::primitive::u64,
						pallet_index: ::core::primitive::u8,
						call_index: ::core::primitive::u8,
					},
					#[codec(index = 5)]
					NotifyOverweight {
						query_id: ::core::primitive::u64,
						pallet_index: ::core::primitive::u8,
						call_index: ::core::primitive::u8,
						actual_weight: ::sp_weights::Weight,
						max_budgeted_weight: ::sp_weights::Weight,
					},
					#[codec(index = 6)]
					NotifyDispatchError {
						query_id: ::core::primitive::u64,
						pallet_index: ::core::primitive::u8,
						call_index: ::core::primitive::u8,
					},
					#[codec(index = 7)]
					NotifyDecodeFailed {
						query_id: ::core::primitive::u64,
						pallet_index: ::core::primitive::u8,
						call_index: ::core::primitive::u8,
					},
					#[codec(index = 8)]
					InvalidResponder {
						origin: runtime_types::staging_xcm::v4::location::Location,
						query_id: ::core::primitive::u64,
						expected_location: ::core::option::Option<
							runtime_types::staging_xcm::v4::location::Location,
						>,
					},
					#[codec(index = 9)]
					InvalidResponderVersion {
						origin: runtime_types::staging_xcm::v4::location::Location,
						query_id: ::core::primitive::u64,
					},
					#[codec(index = 10)]
					ResponseTaken { query_id: ::core::primitive::u64 },
					#[codec(index = 11)]
					AssetsTrapped {
						hash: ::subxt::utils::H256,
						origin: runtime_types::staging_xcm::v4::location::Location,
						assets: runtime_types::xcm::VersionedAssets,
					},
					#[codec(index = 12)]
					VersionChangeNotified {
						destination: runtime_types::staging_xcm::v4::location::Location,
						cost: runtime_types::staging_xcm::v4::asset::Assets,
						message_id: [::core::primitive::u8; 32usize],
					},
					#[codec(index = 13)]
					SupportedVersionChanged {
						location: runtime_types::staging_xcm::v4::location::Location,
						version: ::core::primitive::u32,
					},
					#[codec(index = 14)]
					NotifyTargetSendFail {
						location: runtime_types::staging_xcm::v4::location::Location,
						query_id: ::core::primitive::u64,
						error: runtime_types::xcm::v3::traits::Error,
					},
					#[codec(index = 15)]
					NotifyTargetMigrationFail {
						location: runtime_types::xcm::VersionedLocation,
						query_id: ::core::primitive::u64,
					},
					#[codec(index = 16)]
					InvalidQuerierVersion {
						origin: runtime_types::staging_xcm::v4::location::Location,
						query_id: ::core::primitive::u64,
					},
					#[codec(index = 17)]
					InvalidQuerier {
						origin: runtime_types::staging_xcm::v4::location::Location,
						query_id: ::core::primitive::u64,
						expected_querier: runtime_types::staging_xcm::v4::location::Location,
						maybe_actual_querier: ::core::option::Option<
							runtime_types::staging_xcm::v4::location::Location,
						>,
					},
					#[codec(index = 18)]
					VersionNotifyStarted {
						destination: runtime_types::staging_xcm::v4::location::Location,
						cost: runtime_types::staging_xcm::v4::asset::Assets,
						message_id: [::core::primitive::u8; 32usize],
					},
					#[codec(index = 19)]
					VersionNotifyRequested {
						destination: runtime_types::staging_xcm::v4::location::Location,
						cost: runtime_types::staging_xcm::v4::asset::Assets,
						message_id: [::core::primitive::u8; 32usize],
					},
					#[codec(index = 20)]
					VersionNotifyUnrequested {
						destination: runtime_types::staging_xcm::v4::location::Location,
						cost: runtime_types::staging_xcm::v4::asset::Assets,
						message_id: [::core::primitive::u8; 32usize],
					},
					#[codec(index = 21)]
					FeesPaid {
						paying: runtime_types::staging_xcm::v4::location::Location,
						fees: runtime_types::staging_xcm::v4::asset::Assets,
					},
					#[codec(index = 22)]
					AssetsClaimed {
						hash: ::subxt::utils::H256,
						origin: runtime_types::staging_xcm::v4::location::Location,
						assets: runtime_types::xcm::VersionedAssets,
					#[codec(index = 23)]
					VersionMigrationFinished { version: ::core::primitive::u32 },
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Origin {
					#[codec(index = 0)]
					Xcm(runtime_types::staging_xcm::v4::location::Location),
					Response(runtime_types::staging_xcm::v4::location::Location),
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum QueryStatus<_0> {
					#[codec(index = 0)]
					Pending {
						responder: runtime_types::xcm::VersionedLocation,
							::core::option::Option<runtime_types::xcm::VersionedLocation>,
						maybe_notify:
							::core::option::Option<(::core::primitive::u8, ::core::primitive::u8)>,
						timeout: _0,
					},
					#[codec(index = 1)]
					VersionNotifier {
						origin: runtime_types::xcm::VersionedLocation,
						is_active: ::core::primitive::bool,
					},
					#[codec(index = 2)]
					Ready { response: runtime_types::xcm::VersionedResponse, at: _0 },
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct RemoteLockedFungibleRecord<_0> {
					pub amount: ::core::primitive::u128,
					pub owner: runtime_types::xcm::VersionedLocation,
					pub locker: runtime_types::xcm::VersionedLocation,
					pub consumers: runtime_types::bounded_collections::bounded_vec::BoundedVec<(
						_0,
						::core::primitive::u128,
					)>,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum VersionMigrationStage {
					#[codec(index = 0)]
					MigrateSupportedVersion,
					#[codec(index = 1)]
					MigrateVersionNotifiers,
					#[codec(index = 2)]
					NotifyCurrentTargets(
						::core::option::Option<::std::vec::Vec<::core::primitive::u8>>,
					),
					#[codec(index = 3)]
					MigrateAndNotifyOldTargets,
				}
			}
		}
		pub mod polkadot_core_primitives {
			use super::runtime_types;
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct InboundDownwardMessage<_0> {
				pub sent_at: _0,
				pub msg: ::std::vec::Vec<::core::primitive::u8>,
			}
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct InboundHrmpMessage<_0> {
				pub sent_at: _0,
				pub data: ::std::vec::Vec<::core::primitive::u8>,
			}
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct OutboundHrmpMessage<_0> {
				pub recipient: _0,
				pub data: ::std::vec::Vec<::core::primitive::u8>,
			}
		}
		pub mod polkadot_parachain_primitives {
			use super::runtime_types;
			pub mod primitives {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>);
				#[derive(
					:: codec :: Decode,
					:: codec :: Encode,
					:: subxt :: ext :: codec :: CompactAs,
					Clone,
					Debug,
					PartialEq,
				)]
				pub struct Id(pub ::core::primitive::u32);
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct ValidationCode(pub ::std::vec::Vec<::core::primitive::u8>);
			}
		}
		pub mod polkadot_primitives {
			use super::runtime_types;
			pub mod v6 {
				use super::runtime_types;
				pub mod async_backing {
					use super::runtime_types;
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub struct AsyncBackingParams {
						pub max_candidate_depth: ::core::primitive::u32,
						pub allowed_ancestry_len: ::core::primitive::u32,
					}
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct AbridgedHostConfiguration {
					pub max_code_size: ::core::primitive::u32,
					pub max_head_data_size: ::core::primitive::u32,
					pub max_upward_queue_count: ::core::primitive::u32,
					pub max_upward_queue_size: ::core::primitive::u32,
					pub max_upward_message_size: ::core::primitive::u32,
					pub max_upward_message_num_per_candidate: ::core::primitive::u32,
					pub hrmp_max_message_num_per_candidate: ::core::primitive::u32,
					pub validation_upgrade_cooldown: ::core::primitive::u32,
					pub validation_upgrade_delay: ::core::primitive::u32,
					pub async_backing_params:
						runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct AbridgedHrmpChannel {
					pub max_capacity: ::core::primitive::u32,
					pub max_total_size: ::core::primitive::u32,
					pub max_message_size: ::core::primitive::u32,
					pub msg_count: ::core::primitive::u32,
					pub total_size: ::core::primitive::u32,
					pub mqc_head: ::core::option::Option<::subxt::utils::H256>,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct PersistedValidationData<_0, _1> {
					pub parent_head:
						runtime_types::polkadot_parachain_primitives::primitives::HeadData,
					pub relay_parent_number: _1,
					pub relay_parent_storage_root: _0,
					pub max_pov_size: ::core::primitive::u32,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum UpgradeGoAhead {
					#[codec(index = 0)]
					Abort,
					#[codec(index = 1)]
					GoAhead,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum UpgradeRestriction {
					#[codec(index = 0)]
					Present,
				}
			}
		}
		pub mod primitive_types {
			use super::runtime_types;
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct U256(pub [::core::primitive::u64; 4usize]);
		pub mod snowbridge_amcl {
			pub mod bls381 {
				pub mod big {
					use super::runtime_types;
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub struct Big {
						pub w: [::core::primitive::i32; 14usize],
					}
				}
				pub mod ecp {
					use super::runtime_types;
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub struct ECP {
						pub x: runtime_types::snowbridge_amcl::bls381::fp::FP,
						pub y: runtime_types::snowbridge_amcl::bls381::fp::FP,
						pub z: runtime_types::snowbridge_amcl::bls381::fp::FP,
					}
				}
				pub mod fp {
					use super::runtime_types;
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub struct FP {
						pub x: runtime_types::snowbridge_amcl::bls381::big::Big,
						pub xes: ::core::primitive::i32,
					}
		pub mod snowbridge_beacon_primitives {
			pub mod bls {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum BlsError {
					#[codec(index = 0)]
					InvalidSignature,
					#[codec(index = 1)]
					InvalidPublicKey,
					#[codec(index = 2)]
					InvalidAggregatePublicKeys,
					#[codec(index = 3)]
					SignatureVerificationFailed,
				}
			}
			pub mod types {
				use super::runtime_types;
				pub mod deneb {
					use super::runtime_types;
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub struct ExecutionPayloadHeader {
						pub parent_hash: ::subxt::utils::H256,
						pub fee_recipient: ::subxt::utils::H160,
						pub state_root: ::subxt::utils::H256,
						pub receipts_root: ::subxt::utils::H256,
						pub logs_bloom: ::std::vec::Vec<::core::primitive::u8>,
						pub prev_randao: ::subxt::utils::H256,
						pub block_number: ::core::primitive::u64,
						pub gas_limit: ::core::primitive::u64,
						pub gas_used: ::core::primitive::u64,
						pub timestamp: ::core::primitive::u64,
						pub extra_data: ::std::vec::Vec<::core::primitive::u8>,
						pub base_fee_per_gas: runtime_types::primitive_types::U256,
						pub block_hash: ::subxt::utils::H256,
						pub transactions_root: ::subxt::utils::H256,
						pub withdrawals_root: ::subxt::utils::H256,
						pub blob_gas_used: ::core::primitive::u64,
						pub excess_blob_gas: ::core::primitive::u64,
					}
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct BeaconHeader {
					pub slot: ::core::primitive::u64,
					pub proposer_index: ::core::primitive::u64,
					pub parent_root: ::subxt::utils::H256,
					pub state_root: ::subxt::utils::H256,
					pub body_root: ::subxt::utils::H256,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct CompactBeaconState {
					#[codec(compact)]
					pub slot: ::core::primitive::u64,
					pub block_roots_root: ::subxt::utils::H256,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct CompactExecutionHeader {
					pub parent_hash: ::subxt::utils::H256,
					#[codec(compact)]
					pub block_number: ::core::primitive::u64,
					pub state_root: ::subxt::utils::H256,
					pub receipts_root: ::subxt::utils::H256,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct ExecutionHeaderState {
					pub beacon_block_root: ::subxt::utils::H256,
					pub beacon_slot: ::core::primitive::u64,
					pub block_hash: ::subxt::utils::H256,
					pub block_number: ::core::primitive::u64,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct ExecutionPayloadHeader {
					pub parent_hash: ::subxt::utils::H256,
					pub fee_recipient: ::subxt::utils::H160,
					pub state_root: ::subxt::utils::H256,
					pub receipts_root: ::subxt::utils::H256,
					pub logs_bloom: ::std::vec::Vec<::core::primitive::u8>,
					pub prev_randao: ::subxt::utils::H256,
					pub block_number: ::core::primitive::u64,
					pub gas_limit: ::core::primitive::u64,
					pub gas_used: ::core::primitive::u64,
					pub timestamp: ::core::primitive::u64,
					pub extra_data: ::std::vec::Vec<::core::primitive::u8>,
					pub base_fee_per_gas: runtime_types::primitive_types::U256,
					pub block_hash: ::subxt::utils::H256,
					pub transactions_root: ::subxt::utils::H256,
					pub withdrawals_root: ::subxt::utils::H256,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Fork {
					pub version: [::core::primitive::u8; 4usize],
					pub epoch: ::core::primitive::u64,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct ForkVersions {
					pub genesis: runtime_types::snowbridge_beacon_primitives::types::Fork,
					pub altair: runtime_types::snowbridge_beacon_primitives::types::Fork,
					pub bellatrix: runtime_types::snowbridge_beacon_primitives::types::Fork,
					pub capella: runtime_types::snowbridge_beacon_primitives::types::Fork,
					pub deneb: runtime_types::snowbridge_beacon_primitives::types::Fork,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct PublicKey(pub [::core::primitive::u8; 48usize]);
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Signature(pub [::core::primitive::u8; 96usize]);
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct SyncAggregate {
					pub sync_committee_bits: [::core::primitive::u8; 64usize],
					pub sync_committee_signature:
						runtime_types::snowbridge_beacon_primitives::types::Signature,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct SyncCommittee {
					pub pubkeys:
						[runtime_types::snowbridge_beacon_primitives::types::PublicKey; 512usize],
					pub aggregate_pubkey:
						runtime_types::snowbridge_beacon_primitives::types::PublicKey,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct SyncCommitteePrepared {
					pub root: ::subxt::utils::H256,
					pub pubkeys: ::std::boxed::Box<
						[runtime_types::snowbridge_milagro_bls::keys::PublicKey; 512usize],
					>,
					pub aggregate_pubkey: runtime_types::snowbridge_milagro_bls::keys::PublicKey,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum VersionedExecutionPayloadHeader {
					# [codec (index = 0)] Capella (runtime_types :: snowbridge_beacon_primitives :: types :: ExecutionPayloadHeader ,) , # [codec (index = 1)] Deneb (runtime_types :: snowbridge_beacon_primitives :: types :: deneb :: ExecutionPayloadHeader ,) , }
			}
			pub mod updates {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct AncestryProof {
					pub header_branch: ::std::vec::Vec<::subxt::utils::H256>,
					pub finalized_block_root: ::subxt::utils::H256,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct CheckpointUpdate {
					pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader,
					pub current_sync_committee:
						runtime_types::snowbridge_beacon_primitives::types::SyncCommittee,
					pub current_sync_committee_branch: ::std::vec::Vec<::subxt::utils::H256>,
					pub validators_root: ::subxt::utils::H256,
					pub block_roots_root: ::subxt::utils::H256,
					pub block_roots_branch: ::std::vec::Vec<::subxt::utils::H256>,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct ExecutionHeaderUpdate { pub header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub ancestry_proof : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: AncestryProof > , pub execution_header : runtime_types :: snowbridge_beacon_primitives :: types :: VersionedExecutionPayloadHeader , pub execution_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , }
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct NextSyncCommitteeUpdate {
					pub next_sync_committee:
						runtime_types::snowbridge_beacon_primitives::types::SyncCommittee,
					pub next_sync_committee_branch: ::std::vec::Vec<::subxt::utils::H256>,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Update { pub attested_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub sync_aggregate : runtime_types :: snowbridge_beacon_primitives :: types :: SyncAggregate , pub signature_slot : :: core :: primitive :: u64 , pub next_sync_committee_update : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: NextSyncCommitteeUpdate > , pub finalized_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub finality_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , pub block_roots_root : :: subxt :: utils :: H256 , pub block_roots_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , }
		pub mod snowbridge_core {
			pub mod inbound {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Log {
					pub address: ::subxt::utils::H160,
					pub topics: ::std::vec::Vec<::subxt::utils::H256>,
					pub data: ::std::vec::Vec<::core::primitive::u8>,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Message {
					pub event_log: runtime_types::snowbridge_core::inbound::Log,
					pub proof: runtime_types::snowbridge_core::inbound::Proof,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Proof {
					pub block_hash: ::subxt::utils::H256,
					pub tx_index: ::core::primitive::u32,
					pub data: (
						::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>,
						::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>,
					),
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum VerificationError {
					#[codec(index = 0)]
					HeaderNotFound,
					#[codec(index = 1)]
					LogNotFound,
					#[codec(index = 2)]
					InvalidLog,
					#[codec(index = 3)]
					InvalidProof,
				}
			pub mod operating_mode {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum BasicOperatingMode {
					#[codec(index = 0)]
					Normal,
					#[codec(index = 1)]
					Halted,
				}
			pub mod outbound {
				pub mod v1 {
					use super::runtime_types;
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub enum AgentExecuteCommand {
						#[codec(index = 0)]
						TransferToken {
							token: ::subxt::utils::H160,
							recipient: ::subxt::utils::H160,
							amount: ::core::primitive::u128,
						},
					}
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub enum Command {
						#[codec(index = 0)]
						AgentExecute {
							agent_id: ::subxt::utils::H256,
							command:
								runtime_types::snowbridge_core::outbound::v1::AgentExecuteCommand,
						},
						#[codec(index = 1)]
						Upgrade {
							impl_address: ::subxt::utils::H160,
							impl_code_hash: ::subxt::utils::H256,
							initializer: ::core::option::Option<
								runtime_types::snowbridge_core::outbound::v1::Initializer,
							>,
						},
						#[codec(index = 2)]
						CreateAgent { agent_id: ::subxt::utils::H256 },
						#[codec(index = 3)]
						CreateChannel {
							channel_id: runtime_types::snowbridge_core::ChannelId,
							agent_id: ::subxt::utils::H256,
							mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
						},
						#[codec(index = 4)]
						UpdateChannel {
							channel_id: runtime_types::snowbridge_core::ChannelId,
							mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
						},
						#[codec(index = 5)]
						SetOperatingMode {
							mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
						},
						#[codec(index = 6)]
						TransferNativeFromAgent {
							agent_id: ::subxt::utils::H256,
							recipient: ::subxt::utils::H160,
							amount: ::core::primitive::u128,
						},
						#[codec(index = 7)]
						SetTokenTransferFees {
							create_asset_xcm: ::core::primitive::u128,
							transfer_asset_xcm: ::core::primitive::u128,
							register_token: runtime_types::primitive_types::U256,
						},
						#[codec(index = 8)]
						SetPricingParameters {
							exchange_rate: runtime_types::snowbridge_core::pricing::UD60x18,
							delivery_cost: ::core::primitive::u128,
							multiplier: runtime_types::snowbridge_core::pricing::UD60x18,
						},
					}
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub struct Initializer {
						pub params: ::std::vec::Vec<::core::primitive::u8>,
						pub maximum_required_gas: ::core::primitive::u64,
					}
					#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
					pub enum OperatingMode {
						#[codec(index = 0)]
						Normal,
						#[codec(index = 1)]
						RejectingOutboundMessages,
					}
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Fee<_0> {
					pub local: _0,
					pub remote: _0,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum SendError {
					#[codec(index = 0)]
					MessageTooLarge,
					#[codec(index = 1)]
					Halted,
					#[codec(index = 2)]
					InvalidChannel,
				}
			pub mod pricing {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct PricingParameters<_0> {
					pub exchange_rate: runtime_types::sp_arithmetic::fixed_point::FixedU128,
					pub rewards: runtime_types::snowbridge_core::pricing::Rewards<_0>,
					pub fee_per_gas: runtime_types::primitive_types::U256,
					pub multiplier: runtime_types::sp_arithmetic::fixed_point::FixedU128,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct Rewards<_0> {
					pub local: _0,
					pub remote: runtime_types::primitive_types::U256,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct UD60x18(pub runtime_types::primitive_types::U256);
			}
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct Channel {
				pub agent_id: ::subxt::utils::H256,
				pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id,
			}
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct ChannelId(pub [::core::primitive::u8; 32usize]);
		pub mod snowbridge_milagro_bls {
			pub mod keys {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct PublicKey {
					pub point: runtime_types::snowbridge_amcl::bls381::ecp::ECP,
				}
		}
		pub mod snowbridge_outbound_queue_merkle_tree {
			use super::runtime_types;
			#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
			pub struct MerkleProof {
				pub root: ::subxt::utils::H256,
				pub proof: ::std::vec::Vec<::subxt::utils::H256>,
				pub number_of_leaves: ::core::primitive::u64,
				pub leaf_index: ::core::primitive::u64,
				pub leaf: ::subxt::utils::H256,
		pub mod snowbridge_pallet_ethereum_client {
			pub mod pallet {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Call {
					# [codec (index = 0)] force_checkpoint { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: CheckpointUpdate > , } , # [codec (index = 1)] submit { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: Update > , } , # [codec (index = 2)] submit_execution_header { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: ExecutionHeaderUpdate > , } , # [codec (index = 3)] set_operating_mode { mode : runtime_types :: snowbridge_core :: operating_mode :: BasicOperatingMode , } , }
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Error {
					SkippedSyncCommitteePeriod,
					IrrelevantUpdate,
					NotBootstrapped,
					SyncCommitteeParticipantsNotSupermajority,
					InvalidHeaderMerkleProof,
					InvalidSyncCommitteeMerkleProof,
					InvalidExecutionHeaderProof,
					InvalidAncestryMerkleProof,
					InvalidBlockRootsRootMerkleProof,
					InvalidFinalizedHeaderGap,
					HeaderNotFinalized,
					#[codec(index = 11)]
					BlockBodyHashTreeRootFailed,
					#[codec(index = 12)]
					HeaderHashTreeRootFailed,
					#[codec(index = 13)]
					SyncCommitteeHashTreeRootFailed,
					#[codec(index = 14)]
					SigningRootHashTreeRootFailed,
					#[codec(index = 15)]
					ForkDataHashTreeRootFailed,
					#[codec(index = 16)]
					ExpectedFinalizedHeaderNotStored,
					#[codec(index = 17)]
					BLSPreparePublicKeysFailed,
					#[codec(index = 18)]
					BLSVerificationFailed(
						runtime_types::snowbridge_beacon_primitives::bls::BlsError,
					),
					#[codec(index = 19)]
					InvalidUpdateSlot,
					#[codec(index = 20)]
					InvalidSyncCommitteeUpdate,
					#[codec(index = 21)]
					ExecutionHeaderTooFarBehind,
					#[codec(index = 22)]
					ExecutionHeaderSkippedBlock,
					#[codec(index = 23)]
					Halted,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Event {
					#[codec(index = 0)]
					BeaconHeaderImported {
						block_hash: ::subxt::utils::H256,
						slot: ::core::primitive::u64,
					},
					#[codec(index = 1)]
					ExecutionHeaderImported {
						block_hash: ::subxt::utils::H256,
						block_number: ::core::primitive::u64,
					},
					#[codec(index = 2)]
					SyncCommitteeUpdated { period: ::core::primitive::u64 },
					#[codec(index = 3)]
					OperatingModeChanged {
						mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode,
					},
				}
			}
		}
		pub mod snowbridge_pallet_inbound_queue {
			use super::runtime_types;
			pub mod pallet {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Call {
					#[codec(index = 0)]
					submit { message: runtime_types::snowbridge_core::inbound::Message },
					#[codec(index = 1)]
					set_operating_mode {
						mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode,
					},
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Error {
					#[codec(index = 0)]
					InvalidGateway,
					#[codec(index = 1)]
					InvalidEnvelope,
					#[codec(index = 2)]
					InvalidNonce,
					#[codec(index = 3)]
					InvalidPayload,
					#[codec(index = 4)]
					InvalidChannel,
					#[codec(index = 5)]
					MaxNonceReached,
					#[codec(index = 6)]
					InvalidAccountConversion,
					#[codec(index = 7)]
					Halted,
					#[codec(index = 8)]
					Verification(runtime_types::snowbridge_core::inbound::VerificationError),
					#[codec(index = 9)]
					Send(runtime_types::snowbridge_pallet_inbound_queue::pallet::SendError),
					#[codec(index = 10)]
					ConvertMessage(
						runtime_types::snowbridge_router_primitives::inbound::ConvertMessageError,
					),
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Event {
					#[codec(index = 0)]
					MessageReceived {
						channel_id: runtime_types::snowbridge_core::ChannelId,
						nonce: ::core::primitive::u64,
						message_id: [::core::primitive::u8; 32usize],
						fee_burned: ::core::primitive::u128,
					},
					#[codec(index = 1)]
					OperatingModeChanged {
						mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode,
					},
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum SendError {
					#[codec(index = 0)]
					NotApplicable,
					#[codec(index = 1)]
					NotRoutable,
					#[codec(index = 2)]
					Transport,
					#[codec(index = 3)]
					DestinationUnsupported,
					#[codec(index = 4)]
					ExceedsMaxMessageSize,
					#[codec(index = 5)]
					MissingArgument,
					#[codec(index = 6)]
					Fees,
				}
			}
		}
		pub mod snowbridge_pallet_outbound_queue {
			use super::runtime_types;
			pub mod pallet {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Call {
					#[codec(index = 0)]
					set_operating_mode {
						mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode,
					},
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Error {
					#[codec(index = 0)]
					MessageTooLarge,
					#[codec(index = 1)]
					Halted,
					#[codec(index = 2)]
					InvalidChannel,
				}
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Event {
					#[codec(index = 0)]
					MessageQueued { id: ::subxt::utils::H256 },
					#[codec(index = 1)]
					MessageAccepted { id: ::subxt::utils::H256, nonce: ::core::primitive::u64 },
					#[codec(index = 2)]
					MessagesCommitted { root: ::subxt::utils::H256, count: ::core::primitive::u64 },
					#[codec(index = 3)]
					OperatingModeChanged {
						mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode,
					},
				}
			}
			pub mod types {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub struct CommittedMessage {
					pub channel_id: runtime_types::snowbridge_core::ChannelId,
					#[codec(compact)]
					pub nonce: ::core::primitive::u64,
					pub command: ::core::primitive::u8,
					pub params: ::std::vec::Vec<::core::primitive::u8>,
					#[codec(compact)]
					pub max_dispatch_gas: ::core::primitive::u64,
					#[codec(compact)]
					pub max_fee_per_gas: ::core::primitive::u128,
					#[codec(compact)]
					pub reward: ::core::primitive::u128,
					pub id: ::subxt::utils::H256,
				}
			}
		}
		pub mod snowbridge_pallet_system {
			use super::runtime_types;
			pub mod pallet {
				use super::runtime_types;
				#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
				pub enum Call {
					#[codec(index = 0)]
					upgrade {
						impl_address: ::subxt::utils::H160,
						impl_code_hash: ::subxt::utils::H256,
						initializer: ::core::option::Option<
							runtime_types::snowbridge_core::outbound::v1::Initializer,
						>,
					},
					#[codec(index = 1)]
					set_operating_mode {
						mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
					},
					#[codec(index = 2)]
					set_pricing_parameters {
						params: runtime_types::snowbridge_core::pricing::PricingParameters<
							::core::primitive::u128,
						>,
					},
					#[codec(index = 3)]
					create_agent,
					#[codec(index = 4)]
					create_channel {
						mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
					},
					#[codec(index = 5)]
					update_channel {
						mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
					},
					#[codec(index = 6)]
					force_update_channel {
						channel_id: runtime_types::snowbridge_core::ChannelId,
						mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode,
					},
					#[codec(index = 7)]
					transfer_native_from_agent {