Newer
Older
Svyatoslav Nikolsky
committed
#[codec(index = 11)]
DeltaZero,
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
Endowed {
account: ::sp_core::crypto::AccountId32,
free_balance: ::core::primitive::u128,
},
#[codec(index = 1)]
DustLost {
account: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 2)]
Transfer {
from: ::sp_core::crypto::AccountId32,
to: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 3)]
BalanceSet {
who: ::sp_core::crypto::AccountId32,
free: ::core::primitive::u128,
},
#[codec(index = 4)]
Reserved {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 5)]
Unreserved {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 6)]
ReserveRepatriated {
from: ::sp_core::crypto::AccountId32,
to: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
destination_status:
runtime_types::frame_support::traits::tokens::misc::BalanceStatus,
},
#[codec(index = 7)]
Deposit { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 8)]
Withdraw {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 9)]
Slashed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 10)]
Minted { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 11)]
Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 12)]
Suspended {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 13)]
Restored {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 14)]
Upgraded { who: ::sp_core::crypto::AccountId32 },
#[codec(index = 15)]
Issued { amount: ::core::primitive::u128 },
#[codec(index = 16)]
Rescinded { amount: ::core::primitive::u128 },
#[codec(index = 17)]
Locked { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 18)]
Unlocked {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 19)]
Frozen { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 20)]
Thawed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
Svyatoslav Nikolsky
committed
#[codec(index = 21)]
TotalIssuanceForced {
old: ::core::primitive::u128,
new: ::core::primitive::u128,
},
}
}
pub mod types {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct AccountData<_0> {
pub free: _0,
pub reserved: _0,
pub frozen: _0,
pub flags: runtime_types::pallet_balances::types::ExtraFlags,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
Svyatoslav Nikolsky
committed
pub enum AdjustmentDirection {
#[codec(index = 0)]
Increase,
#[codec(index = 1)]
Decrease,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
pub struct BalanceLock<_0> {
pub id: [::core::primitive::u8; 8usize],
pub amount: _0,
pub reasons: runtime_types::pallet_balances::types::Reasons,
}
#[derive(
:: codec :: Decode,
:: codec :: Encode,
:: subxt :: ext :: codec :: CompactAs,
Clone,
Debug,
PartialEq,
)]
pub struct ExtraFlags(pub ::core::primitive::u128);
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct IdAmount<_0, _1> {
pub id: _0,
pub amount: _1,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Reasons {
#[codec(index = 0)]
Fee,
#[codec(index = 1)]
Misc,
#[codec(index = 2)]
All,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct ReserveData<_0, _1> {
pub id: _0,
pub amount: _1,
}
}
}
pub mod pallet_bridge_grandpa {
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_finality_proof {
finality_target: ::std::boxed::Box<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
justification: ::bp_header_chain::justification::GrandpaJustification<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
},
#[codec(index = 1)]
initialize {
init_data: ::bp_header_chain::InitializationData<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
},
#[codec(index = 2)]
set_owner { new_owner: ::core::option::Option<::sp_core::crypto::AccountId32> },
#[codec(index = 3)]
set_operating_mode {
operating_mode: runtime_types::bp_runtime::BasicOperatingMode,
},
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
submit_finality_proof_ex {
finality_target: ::std::boxed::Box<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
justification: ::bp_header_chain::justification::GrandpaJustification<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
current_set_id: ::core::primitive::u64,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
pub enum Call2 {
#[codec(index = 0)]
submit_finality_proof {
finality_target: ::std::boxed::Box<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
justification: ::bp_header_chain::justification::GrandpaJustification<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
},
#[codec(index = 1)]
initialize {
init_data: ::bp_header_chain::InitializationData<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
},
#[codec(index = 2)]
set_owner { new_owner: ::core::option::Option<::sp_core::crypto::AccountId32> },
#[codec(index = 3)]
set_operating_mode {
operating_mode: runtime_types::bp_runtime::BasicOperatingMode,
},
Svyatoslav Nikolsky
committed
#[codec(index = 4)]
submit_finality_proof_ex {
finality_target: ::std::boxed::Box<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
justification: ::bp_header_chain::justification::GrandpaJustification<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
current_set_id: ::core::primitive::u64,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
InvalidJustification,
#[codec(index = 1)]
InvalidAuthoritySet,
#[codec(index = 2)]
OldHeader,
BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError),
Svyatoslav Nikolsky
committed
#[codec(index = 8)]
InvalidAuthoritySetId,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error2 {
#[codec(index = 0)]
InvalidJustification,
#[codec(index = 1)]
InvalidAuthoritySet,
#[codec(index = 2)]
OldHeader,
#[codec(index = 3)]
UnsupportedScheduledChange,
#[codec(index = 4)]
NotInitialized,
#[codec(index = 5)]
AlreadyInitialized,
#[codec(index = 6)]
TooManyAuthoritiesInSet,
#[codec(index = 7)]
BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError),
Svyatoslav Nikolsky
committed
#[codec(index = 8)]
InvalidAuthoritySetId,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
UpdatedBestFinalizedHeader {
number: ::core::primitive::u32,
hash: ::subxt::utils::H256,
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
grandpa_info: runtime_types::bp_header_chain::HeaderFinalityInfo<
::bp_header_chain::justification::GrandpaJustification<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
runtime_types::bp_header_chain::AuthoritySet,
>,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event2 {
#[codec(index = 0)]
UpdatedBestFinalizedHeader {
number: ::core::primitive::u32,
hash: ::subxt::utils::H256,
grandpa_info: runtime_types::bp_header_chain::HeaderFinalityInfo<
::bp_header_chain::justification::GrandpaJustification<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
>,
runtime_types::bp_header_chain::AuthoritySet,
>,
},
}
}
pub mod storage_types {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct StoredAuthoritySet {
pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<(
runtime_types::sp_consensus_grandpa::app::Public,
::core::primitive::u64,
)>,
pub set_id: ::core::primitive::u64,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct StoredAuthoritySet2 {
pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<(
runtime_types::sp_consensus_grandpa::app::Public,
::core::primitive::u64,
)>,
pub set_id: ::core::primitive::u64,
}
}
}
pub mod pallet_bridge_messages {
use super::runtime_types;
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum ReceivalConfirmationError {
FailedToConfirmFutureMessages,
EmptyUnrewardedRelayerEntry,
NonConsecutiveUnrewardedRelayerEntries,
#[codec(index = 3)]
TryingToConfirmMoreMessagesThanExpected,
}
}
pub mod pallet {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Call {
# [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , }
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Call2 {
# [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , }
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
Svyatoslav Nikolsky
committed
# [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , }
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error2 {
Svyatoslav Nikolsky
committed
# [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , }
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
# [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: std :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , }
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event2 {
# [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: std :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , }
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
}
}
pub mod pallet_bridge_parachains {
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_parachain_heads {
at_relay_block: (::core::primitive::u32, ::subxt::utils::H256),
parachains: ::std::vec::Vec<(
::bp_polkadot_core::parachains::ParaId,
::subxt::utils::H256,
)>,
parachain_heads_proof: ::bp_polkadot_core::parachains::ParaHeadsProof,
},
#[codec(index = 1)]
set_owner { new_owner: ::core::option::Option<::sp_core::crypto::AccountId32> },
#[codec(index = 2)]
set_operating_mode {
operating_mode: runtime_types::bp_runtime::BasicOperatingMode,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
UnknownRelayChainBlock,
#[codec(index = 1)]
InvalidRelayChainBlockNumber,
#[codec(index = 2)]
HeaderChainStorageProof(runtime_types::bp_header_chain::HeaderChainError),
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
#[codec(index = 3)]
BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
UntrackedParachainRejected { parachain: ::bp_polkadot_core::parachains::ParaId },
#[codec(index = 1)]
MissingParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId },
#[codec(index = 2)]
IncorrectParachainHeadHash {
parachain: ::bp_polkadot_core::parachains::ParaId,
parachain_head_hash: ::subxt::utils::H256,
actual_parachain_head_hash: ::subxt::utils::H256,
},
#[codec(index = 3)]
RejectedObsoleteParachainHead {
parachain: ::bp_polkadot_core::parachains::ParaId,
parachain_head_hash: ::subxt::utils::H256,
},
#[codec(index = 4)]
RejectedLargeParachainHead {
parachain: ::bp_polkadot_core::parachains::ParaId,
parachain_head_hash: ::subxt::utils::H256,
parachain_head_size: ::core::primitive::u32,
},
#[codec(index = 5)]
UpdatedParachainHead {
parachain: ::bp_polkadot_core::parachains::ParaId,
parachain_head_hash: ::subxt::utils::H256,
},
}
}
}
pub mod pallet_bridge_relayers {
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)]
claim_rewards {
rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams,
},
#[codec(index = 1)]
register { valid_till: ::core::primitive::u32 },
#[codec(index = 2)]
deregister,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
NoRewardForRelayer,
#[codec(index = 1)]
FailedToPayReward,
#[codec(index = 2)]
InvalidRegistrationLease,
#[codec(index = 3)]
CannotReduceRegistrationLease,
#[codec(index = 4)]
FailedToReserve,
#[codec(index = 5)]
FailedToUnreserve,
#[codec(index = 6)]
NotRegistered,
#[codec(index = 7)]
RegistrationIsStillActive,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
RewardRegistered {
relayer: ::sp_core::crypto::AccountId32,
rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams,
reward: ::core::primitive::u128,
},
RewardPaid {
relayer: ::sp_core::crypto::AccountId32,
rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams,
reward: ::core::primitive::u128,
},
#[codec(index = 2)]
RegistrationUpdated {
relayer: ::sp_core::crypto::AccountId32,
registration: runtime_types::bp_relayers::registration::Registration<
::core::primitive::u32,
::core::primitive::u128,
>,
},
#[codec(index = 3)]
Deregistered { relayer: ::sp_core::crypto::AccountId32 },
#[codec(index = 4)]
SlashedAndDeregistered {
relayer: ::sp_core::crypto::AccountId32,
registration: runtime_types::bp_relayers::registration::Registration<
::core::primitive::u32,
::core::primitive::u128,
>,
},
}
}
}
pub mod pallet_collator_selection {
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_invulnerables { new: ::std::vec::Vec<::sp_core::crypto::AccountId32> },
#[codec(index = 1)]
set_desired_candidates { max: ::core::primitive::u32 },
#[codec(index = 2)]
set_candidacy_bond { bond: ::core::primitive::u128 },
#[codec(index = 3)]
register_as_candidate,
#[codec(index = 4)]
leave_intent,
#[codec(index = 5)]
add_invulnerable { who: ::sp_core::crypto::AccountId32 },
#[codec(index = 6)]
remove_invulnerable { who: ::sp_core::crypto::AccountId32 },
#[codec(index = 7)]
update_bond { new_deposit: ::core::primitive::u128 },
#[codec(index = 8)]
take_candidate_slot {
deposit: ::core::primitive::u128,
target: ::sp_core::crypto::AccountId32,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CandidateInfo<_0, _1> {
pub who: _0,
pub deposit: _1,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
TooManyCandidates,
#[codec(index = 1)]
TooFewEligibleCollators,
AlreadyCandidate,
TooManyInvulnerables,
AlreadyInvulnerable,
NotInvulnerable,
#[codec(index = 7)]
NoAssociatedValidatorId,
#[codec(index = 8)]
#[codec(index = 9)]
InsertToCandidateListFailed,
#[codec(index = 10)]
RemoveFromCandidateListFailed,
#[codec(index = 11)]
DepositTooLow,
#[codec(index = 12)]
UpdateCandidateListFailed,
#[codec(index = 13)]
InsufficientBond,
#[codec(index = 14)]
TargetIsNotCandidate,
#[codec(index = 15)]
IdenticalDeposit,
#[codec(index = 16)]
InvalidUnreserve,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
NewInvulnerables {
invulnerables: ::std::vec::Vec<::sp_core::crypto::AccountId32>,
},
#[codec(index = 1)]
InvulnerableAdded { account_id: ::sp_core::crypto::AccountId32 },
InvulnerableRemoved { account_id: ::sp_core::crypto::AccountId32 },
NewDesiredCandidates { desired_candidates: ::core::primitive::u32 },
NewCandidacyBond { bond_amount: ::core::primitive::u128 },
#[codec(index = 5)]
CandidateAdded {
account_id: ::sp_core::crypto::AccountId32,
deposit: ::core::primitive::u128,
},
#[codec(index = 6)]
CandidateBondUpdated {
account_id: ::sp_core::crypto::AccountId32,
deposit: ::core::primitive::u128,
},
#[codec(index = 7)]
CandidateRemoved { account_id: ::sp_core::crypto::AccountId32 },
#[codec(index = 8)]
CandidateReplaced {
old: ::sp_core::crypto::AccountId32,
new: ::sp_core::crypto::AccountId32,
deposit: ::core::primitive::u128,
},
#[codec(index = 9)]
InvalidInvulnerableSkipped { account_id: ::sp_core::crypto::AccountId32 },
}
}
}
pub mod pallet_message_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)]
reap_page {
message_origin:
Svyatoslav Nikolsky
committed
runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin,
page_index: ::core::primitive::u32,
},
#[codec(index = 1)]
execute_overweight {
message_origin:
Svyatoslav Nikolsky
committed
runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin,
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
page: ::core::primitive::u32,
index: ::core::primitive::u32,
weight_limit: ::sp_weights::Weight,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
NotReapable,
#[codec(index = 1)]
NoPage,
#[codec(index = 2)]
NoMessage,
#[codec(index = 3)]
AlreadyProcessed,
#[codec(index = 4)]
Queued,
#[codec(index = 5)]
InsufficientWeight,
#[codec(index = 6)]
TemporarilyUnprocessable,
#[codec(index = 7)]
QueuePaused,
Svyatoslav Nikolsky
committed
#[codec(index = 8)]
RecursiveDisallowed,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
ProcessingFailed {
Svyatoslav Nikolsky
committed
id: ::subxt::utils::H256,
origin:
runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin,
error: runtime_types::frame_support::traits::messages::ProcessMessageError,
},
#[codec(index = 1)]
Processed {
Svyatoslav Nikolsky
committed
id: ::subxt::utils::H256,
origin:
runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin,
weight_used: ::sp_weights::Weight,
success: ::core::primitive::bool,
},
#[codec(index = 2)]
OverweightEnqueued {
id: [::core::primitive::u8; 32usize],
Svyatoslav Nikolsky
committed
origin:
runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin,
page_index: ::core::primitive::u32,
message_index: ::core::primitive::u32,
},
#[codec(index = 3)]
PageReaped {
Svyatoslav Nikolsky
committed
origin:
runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin,
index: ::core::primitive::u32,
},
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct BookState<_0> {
pub begin: ::core::primitive::u32,
pub end: ::core::primitive::u32,
pub count: ::core::primitive::u32,
pub ready_neighbours:
::core::option::Option<runtime_types::pallet_message_queue::Neighbours<_0>>,
pub message_count: ::core::primitive::u64,
pub size: ::core::primitive::u64,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Neighbours<_0> {
pub prev: _0,
pub next: _0,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Page<_0> {
pub remaining: _0,
pub remaining_size: _0,
pub first_index: _0,
pub first: _0,
pub last: _0,
pub heap: runtime_types::bounded_collections::bounded_vec::BoundedVec<
::core::primitive::u8,
>,
}
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
}
pub mod pallet_multisig {
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)]
as_multi_threshold_1 {
other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>,
call: ::std::boxed::Box<
runtime_types::bridge_hub_rococo_runtime::RuntimeCall,
>,
},
#[codec(index = 1)]
as_multi {
threshold: ::core::primitive::u16,
other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>,
maybe_timepoint: ::core::option::Option<
runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>,
>,
call: ::std::boxed::Box<
runtime_types::bridge_hub_rococo_runtime::RuntimeCall,
>,
max_weight: ::sp_weights::Weight,
},
#[codec(index = 2)]
approve_as_multi {
threshold: ::core::primitive::u16,
other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>,
maybe_timepoint: ::core::option::Option<
runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>,
>,
call_hash: [::core::primitive::u8; 32usize],
max_weight: ::sp_weights::Weight,
},
#[codec(index = 3)]
cancel_as_multi {
threshold: ::core::primitive::u16,
other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>,
timepoint:
runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>,
call_hash: [::core::primitive::u8; 32usize],
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
MinimumThreshold,
#[codec(index = 1)]
AlreadyApproved,
#[codec(index = 2)]
NoApprovalsNeeded,
#[codec(index = 3)]
TooFewSignatories,
#[codec(index = 4)]
TooManySignatories,
#[codec(index = 5)]
SignatoriesOutOfOrder,
#[codec(index = 6)]
SenderInSignatories,
#[codec(index = 7)]
NotFound,
#[codec(index = 8)]
NotOwner,
#[codec(index = 9)]
NoTimepoint,
#[codec(index = 10)]
WrongTimepoint,
#[codec(index = 11)]
UnexpectedTimepoint,
#[codec(index = 12)]
MaxWeightTooLow,
#[codec(index = 13)]
AlreadyStored,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
NewMultisig {
approving: ::sp_core::crypto::AccountId32,
multisig: ::sp_core::crypto::AccountId32,
call_hash: [::core::primitive::u8; 32usize],
},
#[codec(index = 1)]
MultisigApproval {
approving: ::sp_core::crypto::AccountId32,
timepoint:
runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>,
multisig: ::sp_core::crypto::AccountId32,
call_hash: [::core::primitive::u8; 32usize],
},
#[codec(index = 2)]
MultisigExecuted {
approving: ::sp_core::crypto::AccountId32,
timepoint:
runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>,
multisig: ::sp_core::crypto::AccountId32,
call_hash: [::core::primitive::u8; 32usize],
result:
::core::result::Result<(), runtime_types::sp_runtime::DispatchError>,
},
#[codec(index = 3)]
MultisigCancelled {
cancelling: ::sp_core::crypto::AccountId32,
timepoint:
runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>,
multisig: ::sp_core::crypto::AccountId32,
call_hash: [::core::primitive::u8; 32usize],
},
}
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Multisig<_0, _1, _2> {
pub when: runtime_types::pallet_multisig::Timepoint<_0>,
pub deposit: _1,
pub depositor: _2,
pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Timepoint<_0> {
pub height: _0,
pub index: ::core::primitive::u32,
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
}
}
pub mod pallet_session {
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_keys {
keys: runtime_types::bridge_hub_rococo_runtime::SessionKeys,
proof: ::std::vec::Vec<::core::primitive::u8>,
},
#[codec(index = 1)]
purge_keys,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
InvalidProof,
#[codec(index = 1)]
NoAssociatedValidatorId,
#[codec(index = 2)]
DuplicatedKey,
#[codec(index = 3)]
NoKeys,
#[codec(index = 4)]
NoAccount,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
NewSession { session_index: ::core::primitive::u32 },
}
}
}
pub mod pallet_timestamp {
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 {
#[codec(compact)]
now: ::core::primitive::u64,
},
}
}
}
pub mod pallet_transaction_payment {
use super::runtime_types;
pub mod pallet {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
TransactionFeePaid {
who: ::sp_core::crypto::AccountId32,
actual_fee: ::core::primitive::u128,
tip: ::core::primitive::u128,
},
}
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128);
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Releases {
#[codec(index = 0)]
V1Ancient,
#[codec(index = 1)]
V2,
}
}
pub mod pallet_utility {
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)]
batch {
calls:
::std::vec::Vec<runtime_types::bridge_hub_rococo_runtime::RuntimeCall>,
},
#[codec(index = 1)]
as_derivative {
index: ::core::primitive::u16,
call: ::std::boxed::Box<
runtime_types::bridge_hub_rococo_runtime::RuntimeCall,
>,
},
#[codec(index = 2)]
batch_all {
calls:
::std::vec::Vec<runtime_types::bridge_hub_rococo_runtime::RuntimeCall>,
},
#[codec(index = 3)]
dispatch_as {
as_origin: ::std::boxed::Box<
runtime_types::bridge_hub_rococo_runtime::OriginCaller,
>,
call: ::std::boxed::Box<
runtime_types::bridge_hub_rococo_runtime::RuntimeCall,
>,
},
#[codec(index = 4)]
force_batch {
calls:
::std::vec::Vec<runtime_types::bridge_hub_rococo_runtime::RuntimeCall>,
},
#[codec(index = 5)]
with_weight {
call: ::std::boxed::Box<
runtime_types::bridge_hub_rococo_runtime::RuntimeCall,
>,
weight: ::sp_weights::Weight,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
TooManyCalls,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
BatchInterrupted {
index: ::core::primitive::u32,
error: runtime_types::sp_runtime::DispatchError,
},
#[codec(index = 1)]
BatchCompleted,
#[codec(index = 2)]
BatchCompletedWithErrors,
#[codec(index = 3)]
ItemCompleted,
#[codec(index = 4)]
ItemFailed { error: runtime_types::sp_runtime::DispatchError },
#[codec(index = 5)]
DispatchedAs {
result:
::core::result::Result<(), runtime_types::sp_runtime::DispatchError>,
},
}
}
}
pub mod pallet_xcm {
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)]
send {
Svyatoslav Nikolsky
committed
dest: ::std::boxed::Box<runtime_types::xcm::VersionedLocation>,