"...mirrors/parity-bridges-common.git" did not exist on "8208313088a2df2400d99ba6eab97738a4be6044"
Newer
Older
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
#[codec(index = 8)]
HrmpChannelAccepted {
#[codec(compact)]
recipient: ::core::primitive::u32,
},
#[codec(index = 9)]
HrmpChannelClosing {
#[codec(compact)]
initiator: ::core::primitive::u32,
#[codec(compact)]
sender: ::core::primitive::u32,
#[codec(compact)]
recipient: ::core::primitive::u32,
},
#[codec(index = 10)]
ClearOrigin,
#[codec(index = 11)]
DescendOrigin(runtime_types::xcm::v3::junctions::Junctions),
#[codec(index = 12)]
ReportError(runtime_types::xcm::v3::QueryResponseInfo),
#[codec(index = 13)]
DepositAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 14)]
DepositReserveAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 15)]
ExchangeAsset {
give: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
want: runtime_types::xcm::v3::multiasset::MultiAssets,
maximal: ::core::primitive::bool,
},
#[codec(index = 16)]
InitiateReserveWithdraw {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 17)]
InitiateTeleport {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 18)]
ReportHolding {
response_info: runtime_types::xcm::v3::QueryResponseInfo,
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
},
#[codec(index = 19)]
BuyExecution {
fees: runtime_types::xcm::v3::multiasset::MultiAsset,
weight_limit: runtime_types::xcm::v3::WeightLimit,
},
#[codec(index = 20)]
RefundSurplus,
#[codec(index = 21)]
SetErrorHandler(runtime_types::xcm::v3::Xcm),
#[codec(index = 22)]
SetAppendix(runtime_types::xcm::v3::Xcm),
#[codec(index = 23)]
ClearError,
#[codec(index = 24)]
ClaimAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssets,
ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 25)]
Trap(#[codec(compact)] ::core::primitive::u64),
#[codec(index = 26)]
SubscribeVersion {
#[codec(compact)]
query_id: ::core::primitive::u64,
max_response_weight: ::sp_weights::Weight,
},
#[codec(index = 27)]
UnsubscribeVersion,
#[codec(index = 28)]
BurnAsset(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 29)]
ExpectAsset(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 30)]
ExpectOrigin(
::core::option::Option<
runtime_types::staging_xcm::v3::multilocation::MultiLocation,
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
>,
),
#[codec(index = 31)]
ExpectError(
::core::option::Option<(
::core::primitive::u32,
runtime_types::xcm::v3::traits::Error,
)>,
),
#[codec(index = 32)]
ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode),
#[codec(index = 33)]
QueryPallet {
module_name: ::std::vec::Vec<::core::primitive::u8>,
response_info: runtime_types::xcm::v3::QueryResponseInfo,
},
#[codec(index = 34)]
ExpectPallet {
#[codec(compact)]
index: ::core::primitive::u32,
name: ::std::vec::Vec<::core::primitive::u8>,
module_name: ::std::vec::Vec<::core::primitive::u8>,
#[codec(compact)]
crate_major: ::core::primitive::u32,
#[codec(compact)]
min_crate_minor: ::core::primitive::u32,
},
#[codec(index = 35)]
ReportTransactStatus(runtime_types::xcm::v3::QueryResponseInfo),
#[codec(index = 36)]
ClearTransactStatus,
#[codec(index = 37)]
UniversalOrigin(runtime_types::xcm::v3::junction::Junction),
#[codec(index = 38)]
ExportMessage {
network: runtime_types::xcm::v3::junction::NetworkId,
destination: runtime_types::xcm::v3::junctions::Junctions,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 39)]
LockAsset {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 40)]
UnlockAsset {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
target: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 41)]
NoteUnlockable {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 42)]
RequestUnlock {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 43)]
SetFeesMode { jit_withdraw: ::core::primitive::bool },
#[codec(index = 44)]
SetTopic([::core::primitive::u8; 32usize]),
#[codec(index = 45)]
ClearTopic,
#[codec(index = 46)]
AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation),
#[codec(index = 47)]
UnpaidExecution {
weight_limit: runtime_types::xcm::v3::WeightLimit,
check_origin: ::core::option::Option<
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
runtime_types::staging_xcm::v3::multilocation::MultiLocation,
>,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Instruction2 {
#[codec(index = 0)]
WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 1)]
ReserveAssetDeposited(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 2)]
ReceiveTeleportedAsset(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 3)]
QueryResponse {
#[codec(compact)]
query_id: ::core::primitive::u64,
response: runtime_types::xcm::v3::Response,
max_weight: ::sp_weights::Weight,
querier: ::core::option::Option<
runtime_types::staging_xcm::v3::multilocation::MultiLocation,
>,
},
#[codec(index = 4)]
TransferAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssets,
beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 5)]
TransferReserveAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssets,
dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 6)]
Transact {
origin_kind: runtime_types::xcm::v2::OriginKind,
require_weight_at_most: ::sp_weights::Weight,
call: runtime_types::xcm::double_encoded::DoubleEncoded2,
},
#[codec(index = 7)]
HrmpNewChannelOpenRequest {
#[codec(compact)]
sender: ::core::primitive::u32,
#[codec(compact)]
max_message_size: ::core::primitive::u32,
#[codec(compact)]
max_capacity: ::core::primitive::u32,
},
#[codec(index = 8)]
HrmpChannelAccepted {
#[codec(compact)]
recipient: ::core::primitive::u32,
},
#[codec(index = 9)]
HrmpChannelClosing {
#[codec(compact)]
initiator: ::core::primitive::u32,
#[codec(compact)]
sender: ::core::primitive::u32,
#[codec(compact)]
recipient: ::core::primitive::u32,
},
#[codec(index = 10)]
ClearOrigin,
#[codec(index = 11)]
DescendOrigin(runtime_types::xcm::v3::junctions::Junctions),
#[codec(index = 12)]
ReportError(runtime_types::xcm::v3::QueryResponseInfo),
#[codec(index = 13)]
DepositAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 14)]
DepositReserveAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 15)]
ExchangeAsset {
give: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
want: runtime_types::xcm::v3::multiasset::MultiAssets,
maximal: ::core::primitive::bool,
},
#[codec(index = 16)]
InitiateReserveWithdraw {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 17)]
InitiateTeleport {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 18)]
ReportHolding {
response_info: runtime_types::xcm::v3::QueryResponseInfo,
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
},
#[codec(index = 19)]
BuyExecution {
fees: runtime_types::xcm::v3::multiasset::MultiAsset,
weight_limit: runtime_types::xcm::v3::WeightLimit,
},
#[codec(index = 20)]
RefundSurplus,
#[codec(index = 21)]
SetErrorHandler(runtime_types::xcm::v3::Xcm2),
#[codec(index = 22)]
SetAppendix(runtime_types::xcm::v3::Xcm2),
#[codec(index = 23)]
ClearError,
#[codec(index = 24)]
ClaimAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssets,
ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 25)]
Trap(#[codec(compact)] ::core::primitive::u64),
#[codec(index = 26)]
SubscribeVersion {
#[codec(compact)]
query_id: ::core::primitive::u64,
max_response_weight: ::sp_weights::Weight,
},
#[codec(index = 27)]
UnsubscribeVersion,
#[codec(index = 28)]
BurnAsset(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 29)]
ExpectAsset(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 30)]
ExpectOrigin(
::core::option::Option<
runtime_types::staging_xcm::v3::multilocation::MultiLocation,
>,
),
#[codec(index = 31)]
ExpectError(
::core::option::Option<(
::core::primitive::u32,
runtime_types::xcm::v3::traits::Error,
)>,
),
#[codec(index = 32)]
ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode),
#[codec(index = 33)]
QueryPallet {
module_name: ::std::vec::Vec<::core::primitive::u8>,
response_info: runtime_types::xcm::v3::QueryResponseInfo,
},
#[codec(index = 34)]
ExpectPallet {
#[codec(compact)]
index: ::core::primitive::u32,
name: ::std::vec::Vec<::core::primitive::u8>,
module_name: ::std::vec::Vec<::core::primitive::u8>,
#[codec(compact)]
crate_major: ::core::primitive::u32,
#[codec(compact)]
min_crate_minor: ::core::primitive::u32,
},
#[codec(index = 35)]
ReportTransactStatus(runtime_types::xcm::v3::QueryResponseInfo),
#[codec(index = 36)]
ClearTransactStatus,
#[codec(index = 37)]
UniversalOrigin(runtime_types::xcm::v3::junction::Junction),
#[codec(index = 38)]
ExportMessage {
network: runtime_types::xcm::v3::junction::NetworkId,
destination: runtime_types::xcm::v3::junctions::Junctions,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 39)]
LockAsset {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 40)]
UnlockAsset {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
target: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 41)]
NoteUnlockable {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 42)]
RequestUnlock {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 43)]
SetFeesMode { jit_withdraw: ::core::primitive::bool },
#[codec(index = 44)]
SetTopic([::core::primitive::u8; 32usize]),
#[codec(index = 45)]
ClearTopic,
#[codec(index = 46)]
AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation),
#[codec(index = 47)]
UnpaidExecution {
weight_limit: runtime_types::xcm::v3::WeightLimit,
check_origin: ::core::option::Option<
runtime_types::staging_xcm::v3::multilocation::MultiLocation,
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
>,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum MaybeErrorCode {
#[codec(index = 0)]
Success,
#[codec(index = 1)]
Error(
runtime_types::bounded_collections::bounded_vec::BoundedVec<
::core::primitive::u8,
>,
),
#[codec(index = 2)]
TruncatedError(
runtime_types::bounded_collections::bounded_vec::BoundedVec<
::core::primitive::u8,
>,
),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct PalletInfo {
#[codec(compact)]
pub index: ::core::primitive::u32,
pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec<
::core::primitive::u8,
>,
pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec<
::core::primitive::u8,
>,
#[codec(compact)]
pub major: ::core::primitive::u32,
#[codec(compact)]
pub minor: ::core::primitive::u32,
#[codec(compact)]
pub patch: ::core::primitive::u32,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct QueryResponseInfo {
pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation,
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
#[codec(compact)]
pub query_id: ::core::primitive::u64,
pub max_weight: ::sp_weights::Weight,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Response {
#[codec(index = 0)]
Null,
#[codec(index = 1)]
Assets(runtime_types::xcm::v3::multiasset::MultiAssets),
#[codec(index = 2)]
ExecutionResult(
::core::option::Option<(
::core::primitive::u32,
runtime_types::xcm::v3::traits::Error,
)>,
),
#[codec(index = 3)]
Version(::core::primitive::u32),
#[codec(index = 4)]
PalletsInfo(
runtime_types::bounded_collections::bounded_vec::BoundedVec<
runtime_types::xcm::v3::PalletInfo,
>,
),
#[codec(index = 5)]
DispatchResult(runtime_types::xcm::v3::MaybeErrorCode),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum WeightLimit {
#[codec(index = 0)]
Unlimited,
#[codec(index = 1)]
Limited(::sp_weights::Weight),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Xcm(pub ::std::vec::Vec<runtime_types::xcm::v3::Instruction>);
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Xcm2(pub ::std::vec::Vec<runtime_types::xcm::v3::Instruction2>);
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum VersionedAssetId {
#[codec(index = 3)]
V3(runtime_types::xcm::v3::multiasset::AssetId),
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
V4(runtime_types::staging_xcm::v4::asset::AssetId),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
Svyatoslav Nikolsky
committed
pub enum VersionedAssets {
#[codec(index = 1)]
V2(runtime_types::xcm::v2::multiasset::MultiAssets),
#[codec(index = 3)]
V3(runtime_types::xcm::v3::multiasset::MultiAssets),
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
V4(runtime_types::staging_xcm::v4::asset::Assets),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
Svyatoslav Nikolsky
committed
pub enum VersionedLocation {
#[codec(index = 1)]
V2(runtime_types::xcm::v2::multilocation::MultiLocation),
#[codec(index = 3)]
V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation),
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
V4(runtime_types::staging_xcm::v4::location::Location),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum VersionedResponse {
#[codec(index = 2)]
V2(runtime_types::xcm::v2::Response),
#[codec(index = 3)]
V3(runtime_types::xcm::v3::Response),
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
V4(runtime_types::staging_xcm::v4::Response),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum VersionedXcm {
#[codec(index = 2)]
V2(runtime_types::xcm::v2::Xcm),
#[codec(index = 3)]
V3(runtime_types::xcm::v3::Xcm),
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
V4(runtime_types::staging_xcm::v4::Xcm),
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum VersionedXcm2 {
#[codec(index = 2)]
V2(runtime_types::xcm::v2::Xcm2),
#[codec(index = 3)]
V3(runtime_types::xcm::v3::Xcm2),
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
V4(runtime_types::staging_xcm::v4::Xcm2),