Newer
Older
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
VersionIncompatible,
#[codec(index = 26)]
HoldingWouldOverflow,
#[codec(index = 27)]
ExportError,
#[codec(index = 28)]
ReanchorFailed,
#[codec(index = 29)]
NoDeal,
#[codec(index = 30)]
FeesNotMet,
#[codec(index = 31)]
LockError,
#[codec(index = 32)]
NoPermission,
#[codec(index = 33)]
Unanchored,
#[codec(index = 34)]
NotDepositable,
#[codec(index = 35)]
UnhandledXcmVersion,
#[codec(index = 36)]
WeightLimitReached(::sp_weights::Weight),
#[codec(index = 37)]
Barrier,
#[codec(index = 38)]
WeightNotComputable,
#[codec(index = 39)]
ExceedsStackLimit,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Outcome {
#[codec(index = 0)]
Complete(::sp_weights::Weight),
#[codec(index = 1)]
Incomplete(::sp_weights::Weight, runtime_types::xcm::v3::traits::Error),
#[codec(index = 2)]
Error(runtime_types::xcm::v3::traits::Error),
}
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Instruction {
#[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::xcm::v3::multilocation::MultiLocation,
>,
},
#[codec(index = 4)]
TransferAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssets,
beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 5)]
TransferReserveAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssets,
dest: runtime_types::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::DoubleEncoded,
},
#[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::xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 14)]
DepositReserveAsset {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
dest: runtime_types::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::xcm::v3::multilocation::MultiLocation,
xcm: runtime_types::xcm::v3::Xcm,
},
#[codec(index = 17)]
InitiateTeleport {
assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter,
dest: runtime_types::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::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::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::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::xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 40)]
UnlockAsset {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
target: runtime_types::xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 41)]
NoteUnlockable {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
owner: runtime_types::xcm::v3::multilocation::MultiLocation,
},
#[codec(index = 42)]
RequestUnlock {
asset: runtime_types::xcm::v3::multiasset::MultiAsset,
locker: runtime_types::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::xcm::v3::multilocation::MultiLocation),
#[codec(index = 47)]
UnpaidExecution {
weight_limit: runtime_types::xcm::v3::WeightLimit,
check_origin: ::core::option::Option<
runtime_types::xcm::v3::multilocation::MultiLocation,
>,
},
}
#[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::xcm::v3::multilocation::MultiLocation,
#[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 enum VersionedMultiAssets {
#[codec(index = 1)]
V2(runtime_types::xcm::v2::multiasset::MultiAssets),
#[codec(index = 3)]
V3(runtime_types::xcm::v3::multiasset::MultiAssets),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum VersionedMultiLocation {
#[codec(index = 1)]
V2(runtime_types::xcm::v2::multilocation::MultiLocation),
#[codec(index = 3)]
V3(runtime_types::xcm::v3::multilocation::MultiLocation),
}
#[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),
}
}
}
}