diff --git a/pb/sf/gear/metadata/type/v1/output.pb.go b/pb/sf/gear/metadata/type/v1/output.pb.go index 14d5da6..b4671bc 100644 --- a/pb/sf/gear/metadata/type/v1/output.pb.go +++ b/pb/sf/gear/metadata/type/v1/output.pb.go @@ -7,10 +7,11 @@ package pbgear import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/proto/sf/gear/metadata/type/v1/output.proto b/proto/sf/gear/metadata/type/v1/output.proto index 84d259d..6bf0aa1 100644 --- a/proto/sf/gear/metadata/type/v1/output.proto +++ b/proto/sf/gear/metadata/type/v1/output.proto @@ -2,1946 +2,498 @@ syntax = "proto3"; package sf.gear.metadata.type.v1; option go_package = "github.com/streamingfast/firehose-gear/pb/sf/gear/metadata/type/v1;pbgear"; -message Vesting_TupleNull { +message Balances_ForceTransferCall { + Balances_Source source = 1; + Balances_Dest dest = 2; + Balances_CompactString value = 3; } -message Utility_AsOrigin { +message BagsList_RebagCall { + BagsList_Dislocated dislocated = 1; +} +message Utility_ForceBatchCall { + repeated Utility_VaraRuntimeRuntimeCall calls = 1; +} +message Preimage_RequestPreimageCall { + Preimage_PrimitiveTypesH256 hash = 1; +} +message Proxy_Spawner { oneof value { - Utility_System system = 1; - Utility_Origins origins = 2; - Utility_Void void = 3; + Proxy_Id id = 1; + Proxy_Index index = 2; + Proxy_Raw raw = 3; + Proxy_Address32 address32 = 4; + Proxy_Address20 address20 = 5; } } -message System_SystemKeysList { - bytes keys = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; +message NominationPools_BondExtraOtherCall { + NominationPools_Member member = 1; + NominationPools_Extra extra = 2; } -message ChildBounties_Address32 { - bytes value0 = 1; +message NominationPools_PalletNominationPoolsCommissionChangeRate { + NominationPools_SpArithmeticPerThingsPerbill max_increase = 1; + uint32 min_delay = 2; } -message NominationPools_Address32 { +message Balances_Address32 { bytes value0 = 1; } -message conviction_voting_PalletConvictionVotingVoteVote { - uint32 vote = 1; -} -message ConvictionVoting_To { +message Balances_Dest { oneof value { - ConvictionVoting_Id id = 1; - ConvictionVoting_Index index = 2; - ConvictionVoting_Raw raw = 3; - ConvictionVoting_Address32 address32 = 4; - ConvictionVoting_Address20 address20 = 5; + Balances_Id id = 1; + Balances_Index index = 2; + Balances_Raw raw = 3; + Balances_Address32 address32 = 4; + Balances_Address20 address20 = 5; } } -message FellowshipCollective_Index { - FellowshipCollective_CompactTupleNull value0 = 1; +message Referenda_PlaceDecisionDepositCall { + uint32 index = 1; } -message Identity_Raw30 { - bytes value0 = 1; +message ElectionProviderMultiPhase_TupleCompactUint32CompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + ElectionProviderMultiPhase_CompactUint32 value1 = 2; } -message Identity_Value0 { +message NominationPools_Bouncer { oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; + NominationPools_Id id = 1; + NominationPools_Index index = 2; + NominationPools_Raw raw = 3; + NominationPools_Address32 address32 = 4; + NominationPools_Address20 address20 = 5; } } -message ChildBounties_CloseChildBountyCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactUint32 child_bounty_id = 2; -} -message Balances_UpgradeAccountsCall { - repeated Balances_SpCoreCryptoAccountId32 who = 1; +message Babe_BabeTrieNodesList { + bytes trie_nodes = 1; } -message Vesting_VestCall { +message ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution { + ElectionProviderMultiPhase_VaraRuntimeNposSolution16 solution = 1; + ElectionProviderMultiPhase_SpNposElectionsElectionScore score = 2; + uint32 round = 3; } -message Vesting_Index { - Vesting_CompactTupleNull value0 = 1; +message AllowedSlots { + oneof value { + PrimarySlots primary_slots = 1; + PrimaryAndSecondaryPlainSlots primary_and_secondary_plain_slots = 2; + PrimaryAndSecondaryVRFSlots primary_and_secondary_vrf_slots = 3; + } } -message ImOnline_HeartbeatCall { - ImOnline_PalletImOnlineHeartbeat heartbeat = 1; - ImOnline_PalletImOnlineSr25519AppSr25519Signature signature = 2; +message ConvictionVoting_Split { + string aye = 1; + string nay = 2; } -message Identity_Raw22 { +message Identity_ShaThree256 { bytes value0 = 1; } -message ChildBounties_CompactUint32 { - uint32 value = 1; -} -message Staking_Stash { -} -message ConvictionVoting_VoteCall { - ConvictionVoting_CompactUint32 poll_index = 1; - ConvictionVoting_Vote vote = 2; -} -message Identity_Unknown { -} -message NominationPools_UnbondCall { - NominationPools_MemberAccount member_account = 1; - NominationPools_CompactString unbonding_points = 2; -} -message Identity_SetIdentityCall { - Identity_PalletIdentitySimpleIdentityInfo info = 1; -} -message Proxy_Index { - Proxy_CompactTupleNull value0 = 1; -} -message Proxy_IdentityJudgement { -} -message NominationPools_PermissionlessCompound { -} -message StakingRewards_TupleNull { -} -message Proxy_Any { -} -message Staking_ChillThreshold { +message NominationPools_MaxPools { oneof value { - Staking_Noop noop = 1; - Staking_Set set = 2; - Staking_Remove remove = 3; + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; } } -message Session_PurgeKeysCall { +message Vesting_Index { + Vesting_CompactTupleNull value0 = 1; } -message Utility_WithWeightCall { +message PrimaryAndSecondaryVRFSlots { +} +message Proxy_ProxyCall { + Proxy_Real real = 1; + optional Proxy_ForceProxyType force_proxy_type = 2; oneof call { - System_RemarkCall system_remark = 1; - System_SetHeapPagesCall system_set_heap_pages = 2; - System_SetCodeCall system_set_code = 3; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 4; - System_SetStorageCall system_set_storage = 5; - System_KillStorageCall system_kill_storage = 6; - System_KillPrefixCall system_kill_prefix = 7; - System_RemarkWithEventCall system_remark_with_event = 8; - Timestamp_SetCall timestamp_set = 9; - Babe_ReportEquivocationCall babe_report_equivocation = 10; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 11; - Babe_PlanConfigChangeCall babe_plan_config_change = 12; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 13; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 14; - Grandpa_NoteStalledCall grandpa_note_stalled = 15; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 16; - Balances_ForceTransferCall balances_force_transfer = 17; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 18; - Balances_TransferAllCall balances_transfer_all = 19; - Balances_ForceUnreserveCall balances_force_unreserve = 20; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 21; - Balances_ForceSetBalanceCall balances_force_set_balance = 22; - Vesting_VestCall vesting_vest = 23; - Vesting_VestOtherCall vesting_vest_other = 24; - Vesting_VestedTransferCall vesting_vested_transfer = 25; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 26; - Vesting_MergeSchedulesCall vesting_merge_schedules = 27; - BagsList_RebagCall bags_list_rebag = 28; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 29; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 30; - ImOnline_HeartbeatCall im_online_heartbeat = 31; - Staking_BondCall staking_bond = 32; - Staking_BondExtraCall staking_bond_extra = 33; - Staking_UnbondCall staking_unbond = 34; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 35; - Staking_ValidateCall staking_validate = 36; - Staking_NominateCall staking_nominate = 37; - Staking_ChillCall staking_chill = 38; - Staking_SetPayeeCall staking_set_payee = 39; - Staking_SetControllerCall staking_set_controller = 40; - Staking_SetValidatorCountCall staking_set_validator_count = 41; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 42; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 43; - Staking_ForceNoErasCall staking_force_no_eras = 44; - Staking_ForceNewEraCall staking_force_new_era = 45; - Staking_SetInvulnerablesCall staking_set_invulnerables = 46; - Staking_ForceUnstakeCall staking_force_unstake = 47; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 48; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 49; - Staking_PayoutStakersCall staking_payout_stakers = 50; - Staking_RebondCall staking_rebond = 51; - Staking_ReapStashCall staking_reap_stash = 52; - Staking_KickCall staking_kick = 53; - Staking_SetStakingConfigsCall staking_set_staking_configs = 54; - Staking_ChillOtherCall staking_chill_other = 55; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 56; - Staking_SetMinCommissionCall staking_set_min_commission = 57; - Session_SetKeysCall session_set_keys = 58; - Session_PurgeKeysCall session_purge_keys = 59; - Treasury_ProposeSpendCall treasury_propose_spend = 60; - Treasury_RejectProposalCall treasury_reject_proposal = 61; - Treasury_ApproveProposalCall treasury_approve_proposal = 62; - Treasury_SpendLocalCall treasury_spend_local = 63; - Treasury_RemoveApprovalCall treasury_remove_approval = 64; - Treasury_SpendCall treasury_spend = 65; - Treasury_PayoutCall treasury_payout = 66; - Treasury_CheckStatusCall treasury_check_status = 67; - Treasury_VoidSpendCall treasury_void_spend = 68; - Utility_BatchCall utility_batch = 69; - Utility_AsDerivativeCall utility_as_derivative = 70; - Utility_BatchAllCall utility_batch_all = 71; - Utility_DispatchAsCall utility_dispatch_as = 72; - Utility_ForceBatchCall utility_force_batch = 73; - Utility_WithWeightCall utility_with_weight = 74; - ConvictionVoting_VoteCall conviction_voting_vote = 75; - ConvictionVoting_DelegateCall conviction_voting_delegate = 76; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 77; - ConvictionVoting_UnlockCall conviction_voting_unlock = 78; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 79; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 80; - Referenda_SubmitCall referenda_submit = 81; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 82; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 83; - Referenda_CancelCall referenda_cancel = 84; - Referenda_KillCall referenda_kill = 85; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 86; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 87; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 88; - Referenda_SetMetadataCall referenda_set_metadata = 89; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 90; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 91; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 92; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 93; - FellowshipCollective_VoteCall fellowship_collective_vote = 94; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 95; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 96; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 97; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 98; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 99; - FellowshipReferenda_KillCall fellowship_referenda_kill = 100; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 101; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 102; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 103; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 104; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 105; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 106; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 107; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 108; - Scheduler_ScheduleCall scheduler_schedule = 109; - Scheduler_CancelCall scheduler_cancel = 110; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 111; - Scheduler_CancelNamedCall scheduler_cancel_named = 112; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 113; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 114; - Preimage_NotePreimageCall preimage_note_preimage = 115; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 116; - Preimage_RequestPreimageCall preimage_request_preimage = 117; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 118; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 119; - Identity_AddRegistrarCall identity_add_registrar = 120; - Identity_SetIdentityCall identity_set_identity = 121; - Identity_SetSubsCall identity_set_subs = 122; - Identity_ClearIdentityCall identity_clear_identity = 123; - Identity_RequestJudgementCall identity_request_judgement = 124; - Identity_CancelRequestCall identity_cancel_request = 125; - Identity_SetFeeCall identity_set_fee = 126; - Identity_SetAccountIdCall identity_set_account_id = 127; - Identity_SetFieldsCall identity_set_fields = 128; - Identity_ProvideJudgementCall identity_provide_judgement = 129; - Identity_KillIdentityCall identity_kill_identity = 130; - Identity_AddSubCall identity_add_sub = 131; - Identity_RenameSubCall identity_rename_sub = 132; - Identity_RemoveSubCall identity_remove_sub = 133; - Identity_QuitSubCall identity_quit_sub = 134; - Proxy_ProxyCall proxy_proxy = 135; - Proxy_AddProxyCall proxy_add_proxy = 136; - Proxy_RemoveProxyCall proxy_remove_proxy = 137; - Proxy_RemoveProxiesCall proxy_remove_proxies = 138; - Proxy_CreatePureCall proxy_create_pure = 139; - Proxy_KillPureCall proxy_kill_pure = 140; - Proxy_AnnounceCall proxy_announce = 141; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 142; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 143; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 144; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 145; - Multisig_AsMultiCall multisig_as_multi = 146; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 147; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 148; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 149; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 150; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 151; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 152; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 153; - Bounties_ProposeBountyCall bounties_propose_bounty = 154; - Bounties_ApproveBountyCall bounties_approve_bounty = 155; - Bounties_ProposeCuratorCall bounties_propose_curator = 156; - Bounties_UnassignCuratorCall bounties_unassign_curator = 157; - Bounties_AcceptCuratorCall bounties_accept_curator = 158; - Bounties_AwardBountyCall bounties_award_bounty = 159; - Bounties_ClaimBountyCall bounties_claim_bounty = 160; - Bounties_CloseBountyCall bounties_close_bounty = 161; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 162; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 163; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 164; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 165; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 166; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 167; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 168; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 169; - NominationPools_JoinCall nomination_pools_join = 170; - NominationPools_BondExtraCall nomination_pools_bond_extra = 171; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 172; - NominationPools_UnbondCall nomination_pools_unbond = 173; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 174; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 175; - NominationPools_CreateCall nomination_pools_create = 176; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 177; - NominationPools_NominateCall nomination_pools_nominate = 178; - NominationPools_SetStateCall nomination_pools_set_state = 179; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 180; - NominationPools_SetConfigsCall nomination_pools_set_configs = 181; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 182; - NominationPools_ChillCall nomination_pools_chill = 183; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 184; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 185; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 186; - NominationPools_SetCommissionCall nomination_pools_set_commission = 187; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 188; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 189; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 190; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 191; - Gear_UploadCodeCall gear_upload_code = 192; - Gear_UploadProgramCall gear_upload_program = 193; - Gear_CreateProgramCall gear_create_program = 194; - Gear_SendMessageCall gear_send_message = 195; - Gear_SendReplyCall gear_send_reply = 196; - Gear_ClaimValueCall gear_claim_value = 197; - Gear_RunCall gear_run = 198; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 199; - StakingRewards_RefillCall staking_rewards_refill = 200; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 201; - StakingRewards_WithdrawCall staking_rewards_withdraw = 202; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 203; - GearVoucher_IssueCall gear_voucher_issue = 204; - GearVoucher_CallCall gear_voucher_call = 205; - GearVoucher_RevokeCall gear_voucher_revoke = 206; - GearVoucher_UpdateCall gear_voucher_update = 207; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 208; - GearVoucher_DeclineCall gear_voucher_decline = 209; - } - Utility_SpWeightsWeightV2Weight weight = 210; -} -message Proxy_RemoveAnnouncementCall { - Proxy_Real real = 1; - Proxy_PrimitiveTypesH256 call_hash = 2; -} -message NominationPools_Rewards { -} -message NominationPools_SetMetadataCall { - uint32 pool_id = 1; - bytes metadata = 2; -} -message Identity_PalletIdentityTypesBitFlags { - uint64 fields = 1; -} -message NominationPools_PalletNominationPoolsCommissionChangeRate { - NominationPools_SpArithmeticPerThingsPerbill max_increase = 1; - uint32 min_delay = 2; -} -message Vesting_ForceVestedTransferCall { - Vesting_Source source = 1; - Vesting_Target target = 2; - Vesting_PalletVestingVestingInfoVestingInfo schedule = 3; -} -message Utility_SpWeightsWeightV2Weight { - Utility_CompactUint64 ref_time = 1; - Utility_CompactUint64 proof_size = 2; -} -message Referenda_PrimitiveTypesH256 { - bytes maybe_hash = 1; -} -message FellowshipCollective_CompactTupleNull { - FellowshipCollective_TupleNull value = 1; -} -message Preimage_EnsureUpdatedCall { - repeated Preimage_PrimitiveTypesH256 hashes = 1; -} -message ChildBounties_ClaimChildBountyCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactUint32 child_bounty_id = 2; -} -message ElectionProviderMultiPhase_SpNposElectionsSupport { - string total = 1; - repeated ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String voters = 2; -} -message NominationPools_State { - oneof value { - NominationPools_Open open = 1; - NominationPools_Blocked blocked = 2; - NominationPools_Destroying destroying = 3; - } -} -message Babe_Consensus { - bytes value0 = 1; - bytes value1 = 2; -} -message Vesting_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Utility_Origins { - Value0 value0 = 1; -} -message Identity_Raw18 { - bytes value0 = 1; -} -message Proxy_Address32 { - bytes value0 = 1; -} -message Proxy_Real { - oneof value { - Proxy_Id id = 1; - Proxy_Index index = 2; - Proxy_Raw raw = 3; - Proxy_Address32 address32 = 4; - Proxy_Address20 address20 = 5; - } -} -message NominationPools_SetStateCall { - uint32 pool_id = 1; - NominationPools_State state = 2; -} -message GearVoucher_BTreeSet { - repeated GearVoucher_GprimitivesActorId programs = 1; -} -message Session_PalletImOnlineSr25519AppSr25519Public { - Session_SpCoreSr25519Public im_online = 1; -} -message ConvictionVoting_CompactTupleNull { - ConvictionVoting_TupleNull value = 1; -} -message Preimage_UnrequestPreimageCall { - Preimage_PrimitiveTypesH256 hash = 1; -} -message Identity_Raw15 { - bytes value0 = 1; -} -message Identity_Raw28 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16 { - uint32 value = 1; -} -message Staking_None { -} -message Treasury_RemoveApprovalCall { - Treasury_CompactUint32 proposal_id = 1; -} -message Utility_System { - Value0 value0 = 1; -} -message Multisig_PalletMultisigTimepoint { - uint32 height = 1; - uint32 index = 2; -} -message PrimarySlots { -} -message Session_SpConsensusGrandpaAppPublic { - Session_SpCoreEd25519Public grandpa = 1; -} -message Proxy_CancelProxy { -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message ElectionProviderMultiPhase_SpCoreCryptoAccountId32 { - bytes value0 = 1; -} -message NominationPools_NewNominator { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } -} -message Staking_SetControllerCall { -} -message Treasury_CompactTupleNull { - Treasury_TupleNull value = 1; -} -message Utility_VaraRuntimeRuntimeCall { - oneof calls { - System_RemarkCall system_remark = 1; - System_SetHeapPagesCall system_set_heap_pages = 2; - System_SetCodeCall system_set_code = 3; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 4; - System_SetStorageCall system_set_storage = 5; - System_KillStorageCall system_kill_storage = 6; - System_KillPrefixCall system_kill_prefix = 7; - System_RemarkWithEventCall system_remark_with_event = 8; - Timestamp_SetCall timestamp_set = 9; - Babe_ReportEquivocationCall babe_report_equivocation = 10; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 11; - Babe_PlanConfigChangeCall babe_plan_config_change = 12; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 13; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 14; - Grandpa_NoteStalledCall grandpa_note_stalled = 15; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 16; - Balances_ForceTransferCall balances_force_transfer = 17; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 18; - Balances_TransferAllCall balances_transfer_all = 19; - Balances_ForceUnreserveCall balances_force_unreserve = 20; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 21; - Balances_ForceSetBalanceCall balances_force_set_balance = 22; - Vesting_VestCall vesting_vest = 23; - Vesting_VestOtherCall vesting_vest_other = 24; - Vesting_VestedTransferCall vesting_vested_transfer = 25; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 26; - Vesting_MergeSchedulesCall vesting_merge_schedules = 27; - BagsList_RebagCall bags_list_rebag = 28; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 29; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 30; - ImOnline_HeartbeatCall im_online_heartbeat = 31; - Staking_BondCall staking_bond = 32; - Staking_BondExtraCall staking_bond_extra = 33; - Staking_UnbondCall staking_unbond = 34; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 35; - Staking_ValidateCall staking_validate = 36; - Staking_NominateCall staking_nominate = 37; - Staking_ChillCall staking_chill = 38; - Staking_SetPayeeCall staking_set_payee = 39; - Staking_SetControllerCall staking_set_controller = 40; - Staking_SetValidatorCountCall staking_set_validator_count = 41; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 42; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 43; - Staking_ForceNoErasCall staking_force_no_eras = 44; - Staking_ForceNewEraCall staking_force_new_era = 45; - Staking_SetInvulnerablesCall staking_set_invulnerables = 46; - Staking_ForceUnstakeCall staking_force_unstake = 47; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 48; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 49; - Staking_PayoutStakersCall staking_payout_stakers = 50; - Staking_RebondCall staking_rebond = 51; - Staking_ReapStashCall staking_reap_stash = 52; - Staking_KickCall staking_kick = 53; - Staking_SetStakingConfigsCall staking_set_staking_configs = 54; - Staking_ChillOtherCall staking_chill_other = 55; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 56; - Staking_SetMinCommissionCall staking_set_min_commission = 57; - Session_SetKeysCall session_set_keys = 58; - Session_PurgeKeysCall session_purge_keys = 59; - Treasury_ProposeSpendCall treasury_propose_spend = 60; - Treasury_RejectProposalCall treasury_reject_proposal = 61; - Treasury_ApproveProposalCall treasury_approve_proposal = 62; - Treasury_SpendLocalCall treasury_spend_local = 63; - Treasury_RemoveApprovalCall treasury_remove_approval = 64; - Treasury_SpendCall treasury_spend = 65; - Treasury_PayoutCall treasury_payout = 66; - Treasury_CheckStatusCall treasury_check_status = 67; - Treasury_VoidSpendCall treasury_void_spend = 68; - Utility_BatchCall utility_batch = 69; - Utility_AsDerivativeCall utility_as_derivative = 70; - Utility_BatchAllCall utility_batch_all = 71; - Utility_DispatchAsCall utility_dispatch_as = 72; - Utility_ForceBatchCall utility_force_batch = 73; - Utility_WithWeightCall utility_with_weight = 74; - ConvictionVoting_VoteCall conviction_voting_vote = 75; - ConvictionVoting_DelegateCall conviction_voting_delegate = 76; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 77; - ConvictionVoting_UnlockCall conviction_voting_unlock = 78; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 79; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 80; - Referenda_SubmitCall referenda_submit = 81; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 82; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 83; - Referenda_CancelCall referenda_cancel = 84; - Referenda_KillCall referenda_kill = 85; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 86; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 87; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 88; - Referenda_SetMetadataCall referenda_set_metadata = 89; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 90; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 91; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 92; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 93; - FellowshipCollective_VoteCall fellowship_collective_vote = 94; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 95; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 96; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 97; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 98; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 99; - FellowshipReferenda_KillCall fellowship_referenda_kill = 100; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 101; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 102; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 103; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 104; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 105; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 106; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 107; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 108; - Scheduler_ScheduleCall scheduler_schedule = 109; - Scheduler_CancelCall scheduler_cancel = 110; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 111; - Scheduler_CancelNamedCall scheduler_cancel_named = 112; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 113; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 114; - Preimage_NotePreimageCall preimage_note_preimage = 115; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 116; - Preimage_RequestPreimageCall preimage_request_preimage = 117; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 118; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 119; - Identity_AddRegistrarCall identity_add_registrar = 120; - Identity_SetIdentityCall identity_set_identity = 121; - Identity_SetSubsCall identity_set_subs = 122; - Identity_ClearIdentityCall identity_clear_identity = 123; - Identity_RequestJudgementCall identity_request_judgement = 124; - Identity_CancelRequestCall identity_cancel_request = 125; - Identity_SetFeeCall identity_set_fee = 126; - Identity_SetAccountIdCall identity_set_account_id = 127; - Identity_SetFieldsCall identity_set_fields = 128; - Identity_ProvideJudgementCall identity_provide_judgement = 129; - Identity_KillIdentityCall identity_kill_identity = 130; - Identity_AddSubCall identity_add_sub = 131; - Identity_RenameSubCall identity_rename_sub = 132; - Identity_RemoveSubCall identity_remove_sub = 133; - Identity_QuitSubCall identity_quit_sub = 134; - Proxy_ProxyCall proxy_proxy = 135; - Proxy_AddProxyCall proxy_add_proxy = 136; - Proxy_RemoveProxyCall proxy_remove_proxy = 137; - Proxy_RemoveProxiesCall proxy_remove_proxies = 138; - Proxy_CreatePureCall proxy_create_pure = 139; - Proxy_KillPureCall proxy_kill_pure = 140; - Proxy_AnnounceCall proxy_announce = 141; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 142; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 143; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 144; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 145; - Multisig_AsMultiCall multisig_as_multi = 146; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 147; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 148; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 149; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 150; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 151; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 152; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 153; - Bounties_ProposeBountyCall bounties_propose_bounty = 154; - Bounties_ApproveBountyCall bounties_approve_bounty = 155; - Bounties_ProposeCuratorCall bounties_propose_curator = 156; - Bounties_UnassignCuratorCall bounties_unassign_curator = 157; - Bounties_AcceptCuratorCall bounties_accept_curator = 158; - Bounties_AwardBountyCall bounties_award_bounty = 159; - Bounties_ClaimBountyCall bounties_claim_bounty = 160; - Bounties_CloseBountyCall bounties_close_bounty = 161; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 162; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 163; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 164; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 165; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 166; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 167; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 168; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 169; - NominationPools_JoinCall nomination_pools_join = 170; - NominationPools_BondExtraCall nomination_pools_bond_extra = 171; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 172; - NominationPools_UnbondCall nomination_pools_unbond = 173; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 174; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 175; - NominationPools_CreateCall nomination_pools_create = 176; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 177; - NominationPools_NominateCall nomination_pools_nominate = 178; - NominationPools_SetStateCall nomination_pools_set_state = 179; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 180; - NominationPools_SetConfigsCall nomination_pools_set_configs = 181; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 182; - NominationPools_ChillCall nomination_pools_chill = 183; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 184; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 185; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 186; - NominationPools_SetCommissionCall nomination_pools_set_commission = 187; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 188; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 189; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 190; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 191; - Gear_UploadCodeCall gear_upload_code = 192; - Gear_UploadProgramCall gear_upload_program = 193; - Gear_CreateProgramCall gear_create_program = 194; - Gear_SendMessageCall gear_send_message = 195; - Gear_SendReplyCall gear_send_reply = 196; - Gear_ClaimValueCall gear_claim_value = 197; - Gear_RunCall gear_run = 198; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 199; - StakingRewards_RefillCall staking_rewards_refill = 200; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 201; - StakingRewards_WithdrawCall staking_rewards_withdraw = 202; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 203; - GearVoucher_IssueCall gear_voucher_issue = 204; - GearVoucher_CallCall gear_voucher_call = 205; - GearVoucher_RevokeCall gear_voucher_revoke = 206; - GearVoucher_UpdateCall gear_voucher_update = 207; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 208; - GearVoucher_DeclineCall gear_voucher_decline = 209; - } -} -message Identity_AddSubCall { - Identity_Sub sub = 1; - Identity_Data data = 2; -} -message Proxy_PrimitiveTypesH256 { - bytes call_hash = 1; -} -message Bounties_UnassignCuratorCall { - Bounties_CompactUint32 bounty_id = 1; -} -message Babe_PreRuntime { - bytes value0 = 1; - bytes value1 = 2; -} -message Identity_Raw24 { - bytes value0 = 1; -} -message Identity_LowQuality { -} -message ElectionProviderMultiPhase_CompactUint32 { - uint32 value = 1; -} -message ChildBounties_AwardChildBountyCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactUint32 child_bounty_id = 2; - ChildBounties_Beneficiary beneficiary = 3; -} -message Staking_Address32 { - bytes value0 = 1; -} -message Staking_SetPayeeCall { - Staking_Payee payee = 1; -} -message Staking_MinCommission { - oneof value { - Staking_Noop noop = 1; - Staking_Set set = 2; - Staking_Remove remove = 3; - } -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport { - ElectionProviderMultiPhase_SpCoreCryptoAccountId32 value0 = 1; - ElectionProviderMultiPhase_SpNposElectionsSupport value1 = 2; -} -message GearVoucher_PalletGearVoucherInternalVoucherId { - bytes voucher_id = 1; -} -message Babe_SpRuntimeGenericDigestDigestItem { - Babe_Logs logs = 1; -} -message Staking_SetInvulnerablesCall { - repeated Staking_SpCoreCryptoAccountId32 invulnerables = 1; -} -message Identity_Raw8 { - bytes value0 = 1; -} -message Identity_Data { - oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; - } -} -message NominationPools_ClaimPayoutCall { -} -message Balances_Raw { - bytes value0 = 1; -} -message Identity_RequestJudgementCall { - Identity_CompactUint32 reg_index = 1; - Identity_CompactString max_fee = 2; -} -message NominationPools_PermissionlessAll { -} -message Vesting_PalletVestingVestingInfoVestingInfo { - string locked = 1; - string per_block = 2; - uint32 starting_block = 3; -} -message Identity_Raw29 { - bytes value0 = 1; -} -message Proxy_KillPureCall { - Proxy_Spawner spawner = 1; - Proxy_ProxyType proxy_type = 2; - uint32 index = 3; - Proxy_CompactUint32 height = 4; - Proxy_CompactUint32 ext_index = 5; -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message Gear_SendReplyCall { - Gear_GprimitivesMessageId reply_to_id = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData { - Identity_Value0 value0 = 1; - Identity_Value1 value1 = 2; -} -message StakingRewards_WithdrawCall { - StakingRewards_To to = 1; - string value = 2; -} -message FinalityGrandpaPrevote { - PrimitiveTypesH256 target_hash = 1; - uint32 target_number = 2; -} -message Balances_ForceUnreserveCall { - Balances_Who who = 1; - string amount = 2; -} -message Vesting_Source { - oneof value { - Vesting_Id id = 1; - Vesting_Index index = 2; - Vesting_Raw raw = 3; - Vesting_Address32 address32 = 4; - Vesting_Address20 address20 = 5; - } -} -message BagsList_Dislocated { - oneof value { - BagsList_Id id = 1; - BagsList_Index index = 2; - BagsList_Raw raw = 3; - BagsList_Address32 address32 = 4; - BagsList_Address20 address20 = 5; - } -} -message BagsList_Lighter { - oneof value { - BagsList_Id id = 1; - BagsList_Index index = 2; - BagsList_Raw raw = 3; - BagsList_Address32 address32 = 4; - BagsList_Address20 address20 = 5; - } -} -message Staking_BondCall { - Staking_CompactString value = 1; - Staking_Payee payee = 2; -} -message Grandpa_ReportEquivocationCall { - Grandpa_SpConsensusGrandpaEquivocationProof equivocation_proof = 1; - Grandpa_SpSessionMembershipProof key_owner_proof = 2; -} -message Identity_Keccak256 { - bytes value0 = 1; -} -message Identity_SetFeeCall { - Identity_CompactUint32 index = 1; - Identity_CompactString fee = 2; -} -message Proxy_RemoveProxyCall { - Proxy_Delegate delegate = 1; - Proxy_ProxyType proxy_type = 2; - uint32 delay = 3; -} -message Bounties_Curator { - oneof value { - Bounties_Id id = 1; - Bounties_Index index = 2; - Bounties_Raw raw = 3; - Bounties_Address32 address32 = 4; - Bounties_Address20 address20 = 5; - } -} -message StakingRewards_AlignSupplyCall { - string target = 1; -} -message Balances_ForceTransferCall { - Balances_Source source = 1; - Balances_Dest dest = 2; - Balances_CompactString value = 3; -} -message Staking_NominateCall { - repeated Staking_SpRuntimeMultiaddressMultiAddress targets = 1; -} -message Staking_RebondCall { - Staking_CompactString value = 1; -} -message Session_SpCoreEd25519Public { - bytes grandpa = 1; -} -message Proxy_AnnounceCall { - Proxy_Real real = 1; - Proxy_PrimitiveTypesH256 call_hash = 2; -} -message NominationPools_CompactString { - string value = 1; -} -message Staking_CompactString { - string value = 1; -} -message Staking_ForceNewEraAlwaysCall { -} -message Referenda_Legacy { - PrimitiveTypesH256 hash = 1; -} -message FellowshipCollective_RemoveMemberCall { - FellowshipCollective_Who who = 1; - uint32 min_rank = 2; -} -message ChildBounties_Curator { - oneof value { - ChildBounties_Id id = 1; - ChildBounties_Index index = 2; - ChildBounties_Raw raw = 3; - ChildBounties_Address32 address32 = 4; - ChildBounties_Address20 address20 = 5; - } -} -message NominationPools_CompactTupleNull { - NominationPools_TupleNull value = 1; -} -message FellowshipReferenda_Void { - Value0 value0 = 1; -} -message FellowshipReferenda_RefundSubmissionDepositCall { - uint32 index = 1; -} -message Scheduler_TupleUint32Uint32 { - uint32 value0 = 1; - uint32 value1 = 2; -} -message Proxy_CompactUint32 { - uint32 value = 1; -} -message ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16 { - ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16 value = 1; -} -message Session_SpCoreSr25519Public { - bytes babe = 1; -} -message Identity_FeePaid { - string value0 = 1; -} -message Babe_ReportEquivocationCall { - Babe_SpConsensusSlotsEquivocationProof equivocation_proof = 1; - Babe_SpSessionMembershipProof key_owner_proof = 2; -} -message Staking_Targets { - oneof value { - Staking_Id id = 1; - Staking_Index index = 2; - Staking_Raw raw = 3; - Staking_Address32 address32 = 4; - Staking_Address20 address20 = 5; - } -} -message Preimage_UnnotePreimageCall { - Preimage_PrimitiveTypesH256 hash = 1; -} -message Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData { - Identity_SpCoreCryptoAccountId32 value0 = 1; - Identity_Value1 value1 = 2; -} -message NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 { - NominationPools_SpArithmeticPerThingsPerbill value0 = 1; - NominationPools_SpCoreCryptoAccountId32 value1 = 2; -} -message Gear_UploadProgramCall { - bytes code = 1; - bytes salt = 2; - bytes init_payload = 3; - uint64 gas_limit = 4; - string value = 5; - bool keep_alive = 6; -} -message BagsList_PutInFrontOfCall { - BagsList_Lighter lighter = 1; -} -message ConvictionVoting_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Identity_Raw7 { - bytes value0 = 1; -} -message Bounties_CompactTupleNull { - Bounties_TupleNull value = 1; -} -message BTreeSet { - repeated GprimitivesActorId value0 = 1; -} -message Staking_ValidateCall { - Staking_PalletStakingValidatorPrefs prefs = 1; -} -message Staking_IncreaseValidatorCountCall { - Staking_CompactUint32 additional = 1; -} -message Gear_GprimitivesMessageId { - bytes reply_to_id = 1; -} -message Gear_GprimitivesActorId { - bytes destination = 1; -} -message Grandpa_Equivocation { - oneof value { - Grandpa_Prevote prevote = 1; - Grandpa_Precommit precommit = 2; - } -} -message Balances_TransferKeepAliveCall { - Balances_Dest dest = 1; - Balances_CompactString value = 2; -} -message ConvictionVoting_UndelegateCall { - uint32 class = 1; -} -message Identity_Raw32 { - bytes value0 = 1; -} -message ChildBounties_AddChildBountyCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactString value = 2; - bytes description = 3; -} -message ChildBounties_Beneficiary { - oneof value { - ChildBounties_Id id = 1; - ChildBounties_Index index = 2; - ChildBounties_Raw raw = 3; - ChildBounties_Address32 address32 = 4; - ChildBounties_Address20 address20 = 5; - } -} -message Staking_Index { - Staking_CompactTupleNull value0 = 1; -} -message FellowshipReferenda_Proposal { - oneof value { - FellowshipReferenda_Legacy legacy = 1; - FellowshipReferenda_Inline inline = 2; - FellowshipReferenda_Lookup lookup = 3; - } -} -message GearVoucher_DeclineVoucher { -} -message NominationPools_Noop { -} -message NominationPools_NewRoot { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } -} -message Root { -} -message Referenda_Origins { - Value0 value0 = 1; -} -message FellowshipCollective_CleanupPollCall { - uint32 poll_index = 1; - uint32 max = 2; -} -message FellowshipReferenda_SetMetadataCall { - uint32 index = 1; - optional FellowshipReferenda_PrimitiveTypesH256 maybe_hash = 2; -} -message Identity_KnownGood { -} -message NominationPools_Bouncer { - oneof value { - NominationPools_Id id = 1; - NominationPools_Index index = 2; - NominationPools_Raw raw = 3; - NominationPools_Address32 address32 = 4; - NominationPools_Address20 address20 = 5; - } -} -message StakingRewards_RefillCall { - string value = 1; -} -message SpConsensusGrandpaAppSignature { - SpCoreEd25519Signature value1 = 1; -} -message FellowshipReferenda_After { - uint32 value0 = 1; -} -message Scheduler_ScheduleCall { - uint32 when = 1; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 2; - uint32 priority = 3; - oneof call { - System_RemarkCall system_remark = 4; - System_SetHeapPagesCall system_set_heap_pages = 5; - System_SetCodeCall system_set_code = 6; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 7; - System_SetStorageCall system_set_storage = 8; - System_KillStorageCall system_kill_storage = 9; - System_KillPrefixCall system_kill_prefix = 10; - System_RemarkWithEventCall system_remark_with_event = 11; - Timestamp_SetCall timestamp_set = 12; - Babe_ReportEquivocationCall babe_report_equivocation = 13; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 14; - Babe_PlanConfigChangeCall babe_plan_config_change = 15; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 16; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 17; - Grandpa_NoteStalledCall grandpa_note_stalled = 18; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 19; - Balances_ForceTransferCall balances_force_transfer = 20; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 21; - Balances_TransferAllCall balances_transfer_all = 22; - Balances_ForceUnreserveCall balances_force_unreserve = 23; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 24; - Balances_ForceSetBalanceCall balances_force_set_balance = 25; - Vesting_VestCall vesting_vest = 26; - Vesting_VestOtherCall vesting_vest_other = 27; - Vesting_VestedTransferCall vesting_vested_transfer = 28; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 29; - Vesting_MergeSchedulesCall vesting_merge_schedules = 30; - BagsList_RebagCall bags_list_rebag = 31; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 32; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 33; - ImOnline_HeartbeatCall im_online_heartbeat = 34; - Staking_BondCall staking_bond = 35; - Staking_BondExtraCall staking_bond_extra = 36; - Staking_UnbondCall staking_unbond = 37; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 38; - Staking_ValidateCall staking_validate = 39; - Staking_NominateCall staking_nominate = 40; - Staking_ChillCall staking_chill = 41; - Staking_SetPayeeCall staking_set_payee = 42; - Staking_SetControllerCall staking_set_controller = 43; - Staking_SetValidatorCountCall staking_set_validator_count = 44; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 45; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 46; - Staking_ForceNoErasCall staking_force_no_eras = 47; - Staking_ForceNewEraCall staking_force_new_era = 48; - Staking_SetInvulnerablesCall staking_set_invulnerables = 49; - Staking_ForceUnstakeCall staking_force_unstake = 50; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 51; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 52; - Staking_PayoutStakersCall staking_payout_stakers = 53; - Staking_RebondCall staking_rebond = 54; - Staking_ReapStashCall staking_reap_stash = 55; - Staking_KickCall staking_kick = 56; - Staking_SetStakingConfigsCall staking_set_staking_configs = 57; - Staking_ChillOtherCall staking_chill_other = 58; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 59; - Staking_SetMinCommissionCall staking_set_min_commission = 60; - Session_SetKeysCall session_set_keys = 61; - Session_PurgeKeysCall session_purge_keys = 62; - Treasury_ProposeSpendCall treasury_propose_spend = 63; - Treasury_RejectProposalCall treasury_reject_proposal = 64; - Treasury_ApproveProposalCall treasury_approve_proposal = 65; - Treasury_SpendLocalCall treasury_spend_local = 66; - Treasury_RemoveApprovalCall treasury_remove_approval = 67; - Treasury_SpendCall treasury_spend = 68; - Treasury_PayoutCall treasury_payout = 69; - Treasury_CheckStatusCall treasury_check_status = 70; - Treasury_VoidSpendCall treasury_void_spend = 71; - Utility_BatchCall utility_batch = 72; - Utility_AsDerivativeCall utility_as_derivative = 73; - Utility_BatchAllCall utility_batch_all = 74; - Utility_DispatchAsCall utility_dispatch_as = 75; - Utility_ForceBatchCall utility_force_batch = 76; - Utility_WithWeightCall utility_with_weight = 77; - ConvictionVoting_VoteCall conviction_voting_vote = 78; - ConvictionVoting_DelegateCall conviction_voting_delegate = 79; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 80; - ConvictionVoting_UnlockCall conviction_voting_unlock = 81; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 82; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 83; - Referenda_SubmitCall referenda_submit = 84; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 85; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 86; - Referenda_CancelCall referenda_cancel = 87; - Referenda_KillCall referenda_kill = 88; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 89; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 90; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 91; - Referenda_SetMetadataCall referenda_set_metadata = 92; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 93; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 94; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 95; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 96; - FellowshipCollective_VoteCall fellowship_collective_vote = 97; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 98; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 99; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 100; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 101; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 102; - FellowshipReferenda_KillCall fellowship_referenda_kill = 103; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 104; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 105; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 106; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 107; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 108; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 109; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 110; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 111; - Scheduler_ScheduleCall scheduler_schedule = 112; - Scheduler_CancelCall scheduler_cancel = 113; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 114; - Scheduler_CancelNamedCall scheduler_cancel_named = 115; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 116; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 117; - Preimage_NotePreimageCall preimage_note_preimage = 118; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 119; - Preimage_RequestPreimageCall preimage_request_preimage = 120; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 121; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 122; - Identity_AddRegistrarCall identity_add_registrar = 123; - Identity_SetIdentityCall identity_set_identity = 124; - Identity_SetSubsCall identity_set_subs = 125; - Identity_ClearIdentityCall identity_clear_identity = 126; - Identity_RequestJudgementCall identity_request_judgement = 127; - Identity_CancelRequestCall identity_cancel_request = 128; - Identity_SetFeeCall identity_set_fee = 129; - Identity_SetAccountIdCall identity_set_account_id = 130; - Identity_SetFieldsCall identity_set_fields = 131; - Identity_ProvideJudgementCall identity_provide_judgement = 132; - Identity_KillIdentityCall identity_kill_identity = 133; - Identity_AddSubCall identity_add_sub = 134; - Identity_RenameSubCall identity_rename_sub = 135; - Identity_RemoveSubCall identity_remove_sub = 136; - Identity_QuitSubCall identity_quit_sub = 137; - Proxy_ProxyCall proxy_proxy = 138; - Proxy_AddProxyCall proxy_add_proxy = 139; - Proxy_RemoveProxyCall proxy_remove_proxy = 140; - Proxy_RemoveProxiesCall proxy_remove_proxies = 141; - Proxy_CreatePureCall proxy_create_pure = 142; - Proxy_KillPureCall proxy_kill_pure = 143; - Proxy_AnnounceCall proxy_announce = 144; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 145; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 146; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 147; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 148; - Multisig_AsMultiCall multisig_as_multi = 149; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 150; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 151; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 152; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 153; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 154; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 155; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 156; - Bounties_ProposeBountyCall bounties_propose_bounty = 157; - Bounties_ApproveBountyCall bounties_approve_bounty = 158; - Bounties_ProposeCuratorCall bounties_propose_curator = 159; - Bounties_UnassignCuratorCall bounties_unassign_curator = 160; - Bounties_AcceptCuratorCall bounties_accept_curator = 161; - Bounties_AwardBountyCall bounties_award_bounty = 162; - Bounties_ClaimBountyCall bounties_claim_bounty = 163; - Bounties_CloseBountyCall bounties_close_bounty = 164; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 165; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 166; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 167; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 168; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 169; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 170; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 171; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 172; - NominationPools_JoinCall nomination_pools_join = 173; - NominationPools_BondExtraCall nomination_pools_bond_extra = 174; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 175; - NominationPools_UnbondCall nomination_pools_unbond = 176; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 177; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 178; - NominationPools_CreateCall nomination_pools_create = 179; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 180; - NominationPools_NominateCall nomination_pools_nominate = 181; - NominationPools_SetStateCall nomination_pools_set_state = 182; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 183; - NominationPools_SetConfigsCall nomination_pools_set_configs = 184; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 185; - NominationPools_ChillCall nomination_pools_chill = 186; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 187; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 188; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 189; - NominationPools_SetCommissionCall nomination_pools_set_commission = 190; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 191; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 192; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 193; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 194; - Gear_UploadCodeCall gear_upload_code = 195; - Gear_UploadProgramCall gear_upload_program = 196; - Gear_CreateProgramCall gear_create_program = 197; - Gear_SendMessageCall gear_send_message = 198; - Gear_SendReplyCall gear_send_reply = 199; - Gear_ClaimValueCall gear_claim_value = 200; - Gear_RunCall gear_run = 201; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 202; - StakingRewards_RefillCall staking_rewards_refill = 203; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 204; - StakingRewards_WithdrawCall staking_rewards_withdraw = 205; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 206; - GearVoucher_IssueCall gear_voucher_issue = 207; - GearVoucher_CallCall gear_voucher_call = 208; - GearVoucher_RevokeCall gear_voucher_revoke = 209; - GearVoucher_UpdateCall gear_voucher_update = 210; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 211; - GearVoucher_DeclineCall gear_voucher_decline = 212; - } -} -message Balances_TransferAllCall { - Balances_Dest dest = 1; - bool keep_alive = 2; -} -message Staking_Payee { - oneof value { - Staking_Staked staked = 1; - Staking_Stash stash = 2; - Staking_Controller controller = 3; - Staking_Account account = 4; - Staking_None none = 5; - } -} -message Session_VaraRuntimeSessionKeys { - Session_SpConsensusBabeAppPublic babe = 1; - Session_SpConsensusGrandpaAppPublic grandpa = 2; - Session_PalletImOnlineSr25519AppSr25519Public im_online = 3; - Session_SpAuthorityDiscoveryAppPublic authority_discovery = 4; -} -message GearVoucher_UploadCode { - bytes code = 1; -} -message Grandpa_SpSessionMembershipProof { - uint32 session = 1; - repeated Grandpa_GrandpaTrieNodesList trie_nodes = 2; - uint32 validator_count = 3; -} -message Treasury_Index { - Treasury_CompactTupleNull value0 = 1; -} -message ConvictionVoting_Conviction { - oneof value { - ConvictionVoting_None none = 1; - ConvictionVoting_Locked1X locked1x = 2; - ConvictionVoting_Locked2X locked2x = 3; - ConvictionVoting_Locked3X locked3x = 4; - ConvictionVoting_Locked4X locked4x = 5; - ConvictionVoting_Locked5X locked5x = 6; - ConvictionVoting_Locked6X locked6x = 7; - } -} -message Identity_Raw0 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message NominationPools_WithdrawUnbondedCall { - NominationPools_MemberAccount member_account = 1; - uint32 num_slashing_spans = 2; -} -message NominationPools_MinCreateBond { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } -} -message NominationPools_SetCommissionChangeRateCall { - uint32 pool_id = 1; - NominationPools_PalletNominationPoolsCommissionChangeRate change_rate = 2; -} -message System_SetCodeWithoutChecksCall { - bytes code = 1; -} -message System_RemarkWithEventCall { - bytes remark = 1; -} -message Balances_SpCoreCryptoAccountId32 { - Balances_SpCoreCryptoAccountId32 who = 1; -} -message FellowshipCollective_DemoteMemberCall { - FellowshipCollective_Who who = 1; -} -message ConvictionVoting_UnlockCall { - uint32 class = 1; - ConvictionVoting_Target target = 2; -} -message FellowshipReferenda_Lookup { - PrimitiveTypesH256 hash = 1; - uint32 len = 2; -} -message Whitelist_PrimitiveTypesH256 { - bytes call_hash = 1; -} -message Identity_Raw10 { - bytes value0 = 1; -} -message Bounties_ApproveBountyCall { - Bounties_CompactUint32 bounty_id = 1; -} -message StakingRewards_CompactTupleNull { - StakingRewards_TupleNull value = 1; -} -message AllowedSlots { - oneof value { - PrimarySlots primary_slots = 1; - PrimaryAndSecondaryPlainSlots primary_and_secondary_plain_slots = 2; - PrimaryAndSecondaryVRFSlots primary_and_secondary_vrf_slots = 3; - } -} -message Staking_ChillOtherCall { - Staking_SpCoreCryptoAccountId32 controller = 1; -} -message Signed { - SpCoreCryptoAccountId32 value0 = 1; -} -message FellowshipCollective_Who { - oneof value { - FellowshipCollective_Id id = 1; - FellowshipCollective_Index index = 2; - FellowshipCollective_Raw raw = 3; - FellowshipCollective_Address32 address32 = 4; - FellowshipCollective_Address20 address20 = 5; - } -} -message Proxy_Address20 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message PrimaryAndSecondaryPlainSlots { -} -message Staking_Address20 { - bytes value0 = 1; -} -message ConvictionVoting_RemoveOtherVoteCall { - ConvictionVoting_Target target = 1; - uint32 class = 2; - uint32 index = 3; -} -message FellowshipReferenda_ProposalOrigin { - oneof value { - FellowshipReferenda_System system = 1; - FellowshipReferenda_Origins origins = 2; - FellowshipReferenda_Void void = 3; - } -} -message FellowshipReferenda_EnactmentMoment { - oneof value { - FellowshipReferenda_At at = 1; - FellowshipReferenda_After after = 2; - } -} -message Multisig_SpCoreCryptoAccountId32 { - Multisig_SpCoreCryptoAccountId32 other_signatories = 1; -} -message Identity_Web { - oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; + System_RemarkCall system_remark = 3; + System_SetHeapPagesCall system_set_heap_pages = 4; + System_SetCodeCall system_set_code = 5; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 6; + System_SetStorageCall system_set_storage = 7; + System_KillStorageCall system_kill_storage = 8; + System_KillPrefixCall system_kill_prefix = 9; + System_RemarkWithEventCall system_remark_with_event = 10; + Timestamp_SetCall timestamp_set = 11; + Babe_ReportEquivocationCall babe_report_equivocation = 12; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 13; + Babe_PlanConfigChangeCall babe_plan_config_change = 14; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 15; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 16; + Grandpa_NoteStalledCall grandpa_note_stalled = 17; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 18; + Balances_ForceTransferCall balances_force_transfer = 19; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 20; + Balances_TransferAllCall balances_transfer_all = 21; + Balances_ForceUnreserveCall balances_force_unreserve = 22; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 23; + Balances_ForceSetBalanceCall balances_force_set_balance = 24; + Vesting_VestCall vesting_vest = 25; + Vesting_VestOtherCall vesting_vest_other = 26; + Vesting_VestedTransferCall vesting_vested_transfer = 27; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 28; + Vesting_MergeSchedulesCall vesting_merge_schedules = 29; + BagsList_RebagCall bags_list_rebag = 30; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 31; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 32; + ImOnline_HeartbeatCall im_online_heartbeat = 33; + Staking_BondCall staking_bond = 34; + Staking_BondExtraCall staking_bond_extra = 35; + Staking_UnbondCall staking_unbond = 36; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 37; + Staking_ValidateCall staking_validate = 38; + Staking_NominateCall staking_nominate = 39; + Staking_ChillCall staking_chill = 40; + Staking_SetPayeeCall staking_set_payee = 41; + Staking_SetControllerCall staking_set_controller = 42; + Staking_SetValidatorCountCall staking_set_validator_count = 43; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 44; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 45; + Staking_ForceNoErasCall staking_force_no_eras = 46; + Staking_ForceNewEraCall staking_force_new_era = 47; + Staking_SetInvulnerablesCall staking_set_invulnerables = 48; + Staking_ForceUnstakeCall staking_force_unstake = 49; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 50; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 51; + Staking_PayoutStakersCall staking_payout_stakers = 52; + Staking_RebondCall staking_rebond = 53; + Staking_ReapStashCall staking_reap_stash = 54; + Staking_KickCall staking_kick = 55; + Staking_SetStakingConfigsCall staking_set_staking_configs = 56; + Staking_ChillOtherCall staking_chill_other = 57; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 58; + Staking_SetMinCommissionCall staking_set_min_commission = 59; + Session_SetKeysCall session_set_keys = 60; + Session_PurgeKeysCall session_purge_keys = 61; + Treasury_ProposeSpendCall treasury_propose_spend = 62; + Treasury_RejectProposalCall treasury_reject_proposal = 63; + Treasury_ApproveProposalCall treasury_approve_proposal = 64; + Treasury_SpendLocalCall treasury_spend_local = 65; + Treasury_RemoveApprovalCall treasury_remove_approval = 66; + Treasury_SpendCall treasury_spend = 67; + Treasury_PayoutCall treasury_payout = 68; + Treasury_CheckStatusCall treasury_check_status = 69; + Treasury_VoidSpendCall treasury_void_spend = 70; + Utility_BatchCall utility_batch = 71; + Utility_AsDerivativeCall utility_as_derivative = 72; + Utility_BatchAllCall utility_batch_all = 73; + Utility_DispatchAsCall utility_dispatch_as = 74; + Utility_ForceBatchCall utility_force_batch = 75; + Utility_WithWeightCall utility_with_weight = 76; + ConvictionVoting_VoteCall conviction_voting_vote = 77; + ConvictionVoting_DelegateCall conviction_voting_delegate = 78; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 79; + ConvictionVoting_UnlockCall conviction_voting_unlock = 80; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 81; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 82; + Referenda_SubmitCall referenda_submit = 83; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 84; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 85; + Referenda_CancelCall referenda_cancel = 86; + Referenda_KillCall referenda_kill = 87; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 88; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 89; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 90; + Referenda_SetMetadataCall referenda_set_metadata = 91; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 92; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 93; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 94; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 95; + FellowshipCollective_VoteCall fellowship_collective_vote = 96; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 97; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 98; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 99; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 100; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 101; + FellowshipReferenda_KillCall fellowship_referenda_kill = 102; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 103; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 104; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 105; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 106; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 107; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 108; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 109; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 110; + Scheduler_ScheduleCall scheduler_schedule = 111; + Scheduler_CancelCall scheduler_cancel = 112; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 113; + Scheduler_CancelNamedCall scheduler_cancel_named = 114; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 115; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 116; + Preimage_NotePreimageCall preimage_note_preimage = 117; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 118; + Preimage_RequestPreimageCall preimage_request_preimage = 119; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 120; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 121; + Identity_AddRegistrarCall identity_add_registrar = 122; + Identity_SetIdentityCall identity_set_identity = 123; + Identity_SetSubsCall identity_set_subs = 124; + Identity_ClearIdentityCall identity_clear_identity = 125; + Identity_RequestJudgementCall identity_request_judgement = 126; + Identity_CancelRequestCall identity_cancel_request = 127; + Identity_SetFeeCall identity_set_fee = 128; + Identity_SetAccountIdCall identity_set_account_id = 129; + Identity_SetFieldsCall identity_set_fields = 130; + Identity_ProvideJudgementCall identity_provide_judgement = 131; + Identity_KillIdentityCall identity_kill_identity = 132; + Identity_AddSubCall identity_add_sub = 133; + Identity_RenameSubCall identity_rename_sub = 134; + Identity_RemoveSubCall identity_remove_sub = 135; + Identity_QuitSubCall identity_quit_sub = 136; + Proxy_ProxyCall proxy_proxy = 137; + Proxy_AddProxyCall proxy_add_proxy = 138; + Proxy_RemoveProxyCall proxy_remove_proxy = 139; + Proxy_RemoveProxiesCall proxy_remove_proxies = 140; + Proxy_CreatePureCall proxy_create_pure = 141; + Proxy_KillPureCall proxy_kill_pure = 142; + Proxy_AnnounceCall proxy_announce = 143; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 144; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 145; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 146; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 147; + Multisig_AsMultiCall multisig_as_multi = 148; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 149; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 150; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 151; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 152; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 153; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 154; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 155; + Bounties_ProposeBountyCall bounties_propose_bounty = 156; + Bounties_ApproveBountyCall bounties_approve_bounty = 157; + Bounties_ProposeCuratorCall bounties_propose_curator = 158; + Bounties_UnassignCuratorCall bounties_unassign_curator = 159; + Bounties_AcceptCuratorCall bounties_accept_curator = 160; + Bounties_AwardBountyCall bounties_award_bounty = 161; + Bounties_ClaimBountyCall bounties_claim_bounty = 162; + Bounties_CloseBountyCall bounties_close_bounty = 163; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 164; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 165; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 166; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 167; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 168; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 169; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 170; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 171; + NominationPools_JoinCall nomination_pools_join = 172; + NominationPools_BondExtraCall nomination_pools_bond_extra = 173; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 174; + NominationPools_UnbondCall nomination_pools_unbond = 175; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 176; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 177; + NominationPools_CreateCall nomination_pools_create = 178; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 179; + NominationPools_NominateCall nomination_pools_nominate = 180; + NominationPools_SetStateCall nomination_pools_set_state = 181; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 182; + NominationPools_SetConfigsCall nomination_pools_set_configs = 183; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 184; + NominationPools_ChillCall nomination_pools_chill = 185; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 186; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 187; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 188; + NominationPools_SetCommissionCall nomination_pools_set_commission = 189; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 190; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 191; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 192; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 193; + Gear_UploadCodeCall gear_upload_code = 194; + Gear_UploadProgramCall gear_upload_program = 195; + Gear_CreateProgramCall gear_create_program = 196; + Gear_SendMessageCall gear_send_message = 197; + Gear_SendReplyCall gear_send_reply = 198; + Gear_ClaimValueCall gear_claim_value = 199; + Gear_RunCall gear_run = 200; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 201; + StakingRewards_RefillCall staking_rewards_refill = 202; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 203; + StakingRewards_WithdrawCall staking_rewards_withdraw = 204; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 205; + GearVoucher_IssueCall gear_voucher_issue = 206; + GearVoucher_CallCall gear_voucher_call = 207; + GearVoucher_RevokeCall gear_voucher_revoke = 208; + GearVoucher_UpdateCall gear_voucher_update = 209; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 210; + GearVoucher_DeclineCall gear_voucher_decline = 211; } } -message Bounties_ClaimBountyCall { - Bounties_CompactUint32 bounty_id = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message Babe_SpRuntimeGenericHeaderHeader { - Babe_PrimitiveTypesH256 parent_hash = 1; - Babe_CompactUint32 number = 2; - Babe_PrimitiveTypesH256 state_root = 3; - Babe_PrimitiveTypesH256 extrinsics_root = 4; - Babe_SpRuntimeGenericDigestDigest digest = 5; +message Bounties_AwardBountyCall { + Bounties_CompactUint32 bounty_id = 1; + Bounties_Beneficiary beneficiary = 2; } -message ImOnline_PalletImOnlineHeartbeat { - uint32 block_number = 1; - uint32 session_index = 2; - uint32 authority_index = 3; - uint32 validators_len = 4; +message NominationPools_Raw { + bytes value0 = 1; } -message Staking_Staked { +message NominationPools_MaxMembersPerPool { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } } -message Staking_UnbondCall { - Staking_CompactString value = 1; +message StakingRewards_CompactTupleNull { + StakingRewards_TupleNull value = 1; } -message Referenda_Inline { - BoundedCollectionsBoundedVecBoundedVec value0 = 1; +message StakingRewards_AlignSupplyCall { + string target = 1; } -message SpArithmeticPerThingsPercent { - uint32 value0 = 1; +message PrimaryAndSecondaryPlainSlots { } -message Treasury_SpendLocalCall { - Treasury_CompactString amount = 1; - Treasury_Beneficiary beneficiary = 2; +message NominationPools_Nominator { + oneof value { + NominationPools_Id id = 1; + NominationPools_Index index = 2; + NominationPools_Raw raw = 3; + NominationPools_Address32 address32 = 4; + NominationPools_Address20 address20 = 5; + } } -message Proxy_AddProxyCall { - Proxy_Delegate delegate = 1; - Proxy_ProxyType proxy_type = 2; - uint32 delay = 3; +message Treasury_Index { + Treasury_CompactTupleNull value0 = 1; } -message ChildBounties_CompactString { - string value = 1; +message Session_SpCoreEd25519Public { + bytes grandpa = 1; } -message NominationPools_Remove { +message Identity_SpCoreCryptoAccountId32 { + bytes value0 = 1; } -message NominationPools_PermissionlessWithdraw { +message Gear_UploadCodeCall { + bytes code = 1; } -message Whitelist_DispatchWhitelistedCallCall { - Whitelist_PrimitiveTypesH256 call_hash = 1; - uint32 call_encoded_len = 2; - Whitelist_SpWeightsWeightV2Weight call_weight_witness = 3; +message Babe_PreRuntime { + bytes value0 = 1; + bytes value1 = 2; } -message Proxy_CompactTupleNull { - Proxy_TupleNull value = 1; +message Grandpa_GrandpaTrieNodesList { + bytes trie_nodes = 1; } -message Vesting_VestedTransferCall { - Vesting_Target target = 1; - Vesting_PalletVestingVestingInfoVestingInfo schedule = 2; +message Balances_UpgradeAccountsCall { + repeated Balances_SpCoreCryptoAccountId32 who = 1; } -message Staking_CompactSpArithmeticPerThingsPerbill { - Staking_SpArithmeticPerThingsPerbill value = 1; +message Staking_SetStakingConfigsCall { + Staking_MinNominatorBond min_nominator_bond = 1; + Staking_MinValidatorBond min_validator_bond = 2; + Staking_MaxNominatorCount max_nominator_count = 3; + Staking_MaxValidatorCount max_validator_count = 4; + Staking_ChillThreshold chill_threshold = 5; + Staking_MinCommission min_commission = 6; } -message Referenda_SetMetadataCall { - uint32 index = 1; - optional Referenda_PrimitiveTypesH256 maybe_hash = 2; +message ConvictionVoting_Locked1X { } -message Gear_ClaimValueCall { - Gear_GprimitivesMessageId message_id = 1; +message Identity_Raw14 { + bytes value0 = 1; } -message Gear_RunCall { - optional uint64 max_gas = 1; +message Grandpa_SpConsensusGrandpaEquivocationProof { + uint64 set_id = 1; + Grandpa_Equivocation equivocation = 2; } -message GearVoucher_None { +message FellowshipCollective_CompactTupleNull { + FellowshipCollective_TupleNull value = 1; } -message Babe_SpCoreSr25519Public { - bytes offender = 1; +message StakingRewards_TupleNull { } -message FellowshipCollective_Id { - SpCoreCryptoAccountId32 value0 = 1; +message SpConsensusGrandpaAppPublic { + SpCoreEd25519Public identity = 1; } -message Identity_Raw1 { - bytes value0 = 1; +message Referenda_Legacy { + PrimitiveTypesH256 hash = 1; } -message Identity_Sha256 { +message Staking_Address32 { bytes value0 = 1; } -message Identity_PrimitiveTypesH256 { - bytes identity = 1; -} -message Identity_ProvideJudgementCall { - Identity_CompactUint32 reg_index = 1; - Identity_Target target = 2; - Identity_Judgement judgement = 3; - Identity_PrimitiveTypesH256 identity = 4; +message Staking_CompactTupleNull { + Staking_TupleNull value = 1; } -message Whitelist_CompactUint64 { - uint64 value = 1; +message conviction_voting_PalletConvictionVotingVoteVote { + uint32 vote = 1; } -message ChildBounties_Address20 { - bytes value0 = 1; +message FellowshipReferenda_EnactmentMoment { + oneof value { + FellowshipReferenda_At at = 1; + FellowshipReferenda_After after = 2; + } } -message PrimitiveTypesH256 { - bytes target_hash = 1; +message Grandpa_Prevote { + FinalityGrandpaEquivocation value0 = 1; } -message FinalityGrandpaEquivocation { - uint64 round_number = 1; - SpConsensusGrandpaAppPublic identity = 2; - TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature first = 3; - TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature second = 4; +message StakingRewards_RefillCall { + string value = 1; } -message Staking_MaxValidatorCount { - oneof value { - Staking_Noop noop = 1; - Staking_Set set = 2; - Staking_Remove remove = 3; - } +message Staking_Controller { } -message Treasury_Id { - SpCoreCryptoAccountId32 value0 = 1; +message ConvictionVoting_TupleNull { } -message None { +message Identity_Raw12 { + bytes value0 = 1; } -message ConvictionVoting_Locked3X { +message Identity_RequestJudgementCall { + Identity_CompactUint32 reg_index = 1; + Identity_CompactString max_fee = 2; } -message NominationPools_SpCoreCryptoAccountId32 { - NominationPools_SpCoreCryptoAccountId32 validators = 1; +message Proxy_CompactUint32 { + uint32 value = 1; } -message Gear_SendMessageCall { - Gear_GprimitivesActorId destination = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; +message Bounties_Address32 { + bytes value0 = 1; } -message Balances_Dest { - oneof value { - Balances_Id id = 1; - Balances_Index index = 2; - Balances_Raw raw = 3; - Balances_Address32 address32 = 4; - Balances_Address20 address20 = 5; - } +message NominationPools_Index { + NominationPools_CompactTupleNull value0 = 1; } -message Staking_PalletStakingValidatorPrefs { - Staking_CompactSpArithmeticPerThingsPerbill commission = 1; - bool blocked = 2; +message Staking_CompactSpArithmeticPerThingsPerbill { + Staking_SpArithmeticPerThingsPerbill value = 1; } -message Identity_BlakeTwo256 { +message Identity_Raw10 { bytes value0 = 1; } -message ElectionProviderMultiPhase_SetEmergencyElectionResultCall { - repeated ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport supports = 1; +message Identity_LowQuality { } -message Bounties_TupleNull { +message FellowshipCollective_PromoteMemberCall { + FellowshipCollective_Who who = 1; } -message ChildBounties_AcceptCuratorCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactUint32 child_bounty_id = 2; +message Treasury_CheckStatusCall { + uint32 index = 1; } -message NominationPools_SetCommissionMaxCall { - uint32 pool_id = 1; - NominationPools_SpArithmeticPerThingsPerbill max_commission = 2; +message Identity_Raw16 { + bytes value0 = 1; } -message NominationPools_AdjustPoolDepositCall { - uint32 pool_id = 1; +message Identity_SetIdentityCall { + Identity_PalletIdentitySimpleIdentityInfo info = 1; } -message Babe_SpSessionMembershipProof { - uint32 session = 1; - repeated Babe_BabeTrieNodesList trie_nodes = 2; - uint32 validator_count = 3; +message Proxy_AnnounceCall { + Proxy_Real real = 1; + Proxy_PrimitiveTypesH256 call_hash = 2; } -message ImOnline_SpCoreSr25519Signature { - bytes signature = 1; +message NominationPools_Blocked { } -message Utility_ForceBatchCall { - repeated Utility_VaraRuntimeRuntimeCall calls = 1; +message NominationPools_MaxMembers { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } } -message ConvictionVoting_Vote { +message System_RemarkWithEventCall { + bytes remark = 1; +} +message FellowshipReferenda_ProposalOrigin { oneof value { - ConvictionVoting_Standard standard = 1; - ConvictionVoting_Split split = 2; - ConvictionVoting_SplitAbstain split_abstain = 3; + FellowshipReferenda_System system = 1; + FellowshipReferenda_Origins origins = 2; + FellowshipReferenda_Void void = 3; } } -message Scheduler_ScheduleNamedCall { - bytes id = 1; - uint32 when = 2; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 3; - uint32 priority = 4; - oneof call { - System_RemarkCall system_remark = 5; - System_SetHeapPagesCall system_set_heap_pages = 6; - System_SetCodeCall system_set_code = 7; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 8; - System_SetStorageCall system_set_storage = 9; - System_KillStorageCall system_kill_storage = 10; - System_KillPrefixCall system_kill_prefix = 11; - System_RemarkWithEventCall system_remark_with_event = 12; - Timestamp_SetCall timestamp_set = 13; - Babe_ReportEquivocationCall babe_report_equivocation = 14; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 15; - Babe_PlanConfigChangeCall babe_plan_config_change = 16; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 17; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 18; - Grandpa_NoteStalledCall grandpa_note_stalled = 19; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 20; - Balances_ForceTransferCall balances_force_transfer = 21; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 22; - Balances_TransferAllCall balances_transfer_all = 23; - Balances_ForceUnreserveCall balances_force_unreserve = 24; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 25; - Balances_ForceSetBalanceCall balances_force_set_balance = 26; - Vesting_VestCall vesting_vest = 27; - Vesting_VestOtherCall vesting_vest_other = 28; - Vesting_VestedTransferCall vesting_vested_transfer = 29; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 30; - Vesting_MergeSchedulesCall vesting_merge_schedules = 31; - BagsList_RebagCall bags_list_rebag = 32; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 33; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 34; - ImOnline_HeartbeatCall im_online_heartbeat = 35; - Staking_BondCall staking_bond = 36; - Staking_BondExtraCall staking_bond_extra = 37; - Staking_UnbondCall staking_unbond = 38; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 39; - Staking_ValidateCall staking_validate = 40; - Staking_NominateCall staking_nominate = 41; - Staking_ChillCall staking_chill = 42; - Staking_SetPayeeCall staking_set_payee = 43; - Staking_SetControllerCall staking_set_controller = 44; - Staking_SetValidatorCountCall staking_set_validator_count = 45; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 46; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 47; - Staking_ForceNoErasCall staking_force_no_eras = 48; - Staking_ForceNewEraCall staking_force_new_era = 49; - Staking_SetInvulnerablesCall staking_set_invulnerables = 50; - Staking_ForceUnstakeCall staking_force_unstake = 51; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 52; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 53; - Staking_PayoutStakersCall staking_payout_stakers = 54; - Staking_RebondCall staking_rebond = 55; - Staking_ReapStashCall staking_reap_stash = 56; - Staking_KickCall staking_kick = 57; - Staking_SetStakingConfigsCall staking_set_staking_configs = 58; - Staking_ChillOtherCall staking_chill_other = 59; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 60; - Staking_SetMinCommissionCall staking_set_min_commission = 61; - Session_SetKeysCall session_set_keys = 62; - Session_PurgeKeysCall session_purge_keys = 63; - Treasury_ProposeSpendCall treasury_propose_spend = 64; - Treasury_RejectProposalCall treasury_reject_proposal = 65; - Treasury_ApproveProposalCall treasury_approve_proposal = 66; - Treasury_SpendLocalCall treasury_spend_local = 67; - Treasury_RemoveApprovalCall treasury_remove_approval = 68; - Treasury_SpendCall treasury_spend = 69; - Treasury_PayoutCall treasury_payout = 70; - Treasury_CheckStatusCall treasury_check_status = 71; - Treasury_VoidSpendCall treasury_void_spend = 72; - Utility_BatchCall utility_batch = 73; - Utility_AsDerivativeCall utility_as_derivative = 74; - Utility_BatchAllCall utility_batch_all = 75; - Utility_DispatchAsCall utility_dispatch_as = 76; - Utility_ForceBatchCall utility_force_batch = 77; - Utility_WithWeightCall utility_with_weight = 78; - ConvictionVoting_VoteCall conviction_voting_vote = 79; - ConvictionVoting_DelegateCall conviction_voting_delegate = 80; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 81; - ConvictionVoting_UnlockCall conviction_voting_unlock = 82; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 83; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 84; - Referenda_SubmitCall referenda_submit = 85; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 86; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 87; - Referenda_CancelCall referenda_cancel = 88; - Referenda_KillCall referenda_kill = 89; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 90; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 91; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 92; - Referenda_SetMetadataCall referenda_set_metadata = 93; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 94; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 95; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 96; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 97; - FellowshipCollective_VoteCall fellowship_collective_vote = 98; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 99; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 100; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 101; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 102; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 103; - FellowshipReferenda_KillCall fellowship_referenda_kill = 104; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 105; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 106; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 107; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 108; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 109; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 110; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 111; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 112; - Scheduler_ScheduleCall scheduler_schedule = 113; - Scheduler_CancelCall scheduler_cancel = 114; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 115; - Scheduler_CancelNamedCall scheduler_cancel_named = 116; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 117; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 118; - Preimage_NotePreimageCall preimage_note_preimage = 119; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 120; - Preimage_RequestPreimageCall preimage_request_preimage = 121; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 122; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 123; - Identity_AddRegistrarCall identity_add_registrar = 124; - Identity_SetIdentityCall identity_set_identity = 125; - Identity_SetSubsCall identity_set_subs = 126; - Identity_ClearIdentityCall identity_clear_identity = 127; - Identity_RequestJudgementCall identity_request_judgement = 128; - Identity_CancelRequestCall identity_cancel_request = 129; - Identity_SetFeeCall identity_set_fee = 130; - Identity_SetAccountIdCall identity_set_account_id = 131; - Identity_SetFieldsCall identity_set_fields = 132; - Identity_ProvideJudgementCall identity_provide_judgement = 133; - Identity_KillIdentityCall identity_kill_identity = 134; - Identity_AddSubCall identity_add_sub = 135; - Identity_RenameSubCall identity_rename_sub = 136; - Identity_RemoveSubCall identity_remove_sub = 137; - Identity_QuitSubCall identity_quit_sub = 138; - Proxy_ProxyCall proxy_proxy = 139; - Proxy_AddProxyCall proxy_add_proxy = 140; - Proxy_RemoveProxyCall proxy_remove_proxy = 141; - Proxy_RemoveProxiesCall proxy_remove_proxies = 142; - Proxy_CreatePureCall proxy_create_pure = 143; - Proxy_KillPureCall proxy_kill_pure = 144; - Proxy_AnnounceCall proxy_announce = 145; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 146; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 147; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 148; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 149; - Multisig_AsMultiCall multisig_as_multi = 150; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 151; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 152; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 153; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 154; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 155; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 156; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 157; - Bounties_ProposeBountyCall bounties_propose_bounty = 158; - Bounties_ApproveBountyCall bounties_approve_bounty = 159; - Bounties_ProposeCuratorCall bounties_propose_curator = 160; - Bounties_UnassignCuratorCall bounties_unassign_curator = 161; - Bounties_AcceptCuratorCall bounties_accept_curator = 162; - Bounties_AwardBountyCall bounties_award_bounty = 163; - Bounties_ClaimBountyCall bounties_claim_bounty = 164; - Bounties_CloseBountyCall bounties_close_bounty = 165; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 166; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 167; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 168; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 169; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 170; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 171; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 172; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 173; - NominationPools_JoinCall nomination_pools_join = 174; - NominationPools_BondExtraCall nomination_pools_bond_extra = 175; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 176; - NominationPools_UnbondCall nomination_pools_unbond = 177; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 178; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 179; - NominationPools_CreateCall nomination_pools_create = 180; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 181; - NominationPools_NominateCall nomination_pools_nominate = 182; - NominationPools_SetStateCall nomination_pools_set_state = 183; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 184; - NominationPools_SetConfigsCall nomination_pools_set_configs = 185; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 186; - NominationPools_ChillCall nomination_pools_chill = 187; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 188; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 189; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 190; - NominationPools_SetCommissionCall nomination_pools_set_commission = 191; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 192; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 193; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 194; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 195; - Gear_UploadCodeCall gear_upload_code = 196; - Gear_UploadProgramCall gear_upload_program = 197; - Gear_CreateProgramCall gear_create_program = 198; - Gear_SendMessageCall gear_send_message = 199; - Gear_SendReplyCall gear_send_reply = 200; - Gear_ClaimValueCall gear_claim_value = 201; - Gear_RunCall gear_run = 202; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 203; - StakingRewards_RefillCall staking_rewards_refill = 204; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 205; - StakingRewards_WithdrawCall staking_rewards_withdraw = 206; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 207; - GearVoucher_IssueCall gear_voucher_issue = 208; - GearVoucher_CallCall gear_voucher_call = 209; - GearVoucher_RevokeCall gear_voucher_revoke = 210; - GearVoucher_UpdateCall gear_voucher_update = 211; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 212; - GearVoucher_DeclineCall gear_voucher_decline = 213; - } +message ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16 { + uint32 value = 1; } -message Proxy_ProxyType { +message Gear_ClaimValueCall { + Gear_GprimitivesMessageId message_id = 1; +} +message System_TupleSystemItemsListSystemItemsList { + bytes value0 = 1; + bytes value1 = 2; +} +message Identity_Raw26 { + bytes value0 = 1; +} +message Proxy_ForceProxyType { oneof value { Proxy_Any any = 1; Proxy_NonTransfer non_transfer = 2; @@ -1951,302 +503,326 @@ message Proxy_ProxyType { Proxy_CancelProxy cancel_proxy = 6; } } -message Treasury_VoidSpendCall { - uint32 index = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; +message NominationPools_GlobalMaxCommission { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } } -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; +message NominationPools_NewBouncer { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } } -message NominationPools_Destroying { +message Staking_ForceNewEraAlwaysCall { } -message GearVoucher_AppendPrograms { +message Staking_MaxValidatorCount { oneof value { - GearVoucher_None none = 1; - GearVoucher_Some some = 2; + Staking_Noop noop = 1; + Staking_Set set = 2; + Staking_Remove remove = 3; } } -message Timestamp_SetCall { - Timestamp_CompactUint64 now = 1; -} -message ConvictionVoting_Address32 { +message Identity_Raw9 { bytes value0 = 1; } -message Identity_Raw20 { +message Identity_Raw15 { bytes value0 = 1; } -message ElectionProviderMultiPhase_GovernanceFallbackCall { - optional uint32 maybe_max_voters = 1; - optional uint32 maybe_max_targets = 2; +message ElectionProviderMultiPhase_SubmitUnsignedCall { + ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution raw_solution = 1; + ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize witness = 2; } -message Bounties_Address32 { - bytes value0 = 1; +message NominationPools_SpCoreCryptoAccountId32 { + NominationPools_SpCoreCryptoAccountId32 validators = 1; } -message NominationPools_Address20 { - bytes value0 = 1; +message GearVoucher_None { } -message Balances_Id { - SpCoreCryptoAccountId32 value0 = 1; +message Staking_ForceUnstakeCall { + Staking_SpCoreCryptoAccountId32 stash = 1; + uint32 num_slashing_spans = 2; } -message Referenda_ProposalOrigin { +message Staking_Payee { oneof value { - Referenda_System system = 1; - Referenda_Origins origins = 2; - Referenda_Void void = 3; + Staking_Staked staked = 1; + Staking_Stash stash = 2; + Staking_Controller controller = 3; + Staking_Account account = 4; + Staking_None none = 5; } } -message NominationPools_Index { - NominationPools_CompactTupleNull value0 = 1; -} -message ConvictionVoting_Locked4X { -} -message FellowshipCollective_Address20 { - bytes value0 = 1; -} -message Identity_CompactString { - string value = 1; -} -message ChildBounties_ProposeCuratorCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactUint32 child_bounty_id = 2; - ChildBounties_Curator curator = 3; - ChildBounties_CompactString fee = 4; +message Session_VaraRuntimeSessionKeys { + Session_SpConsensusBabeAppPublic babe = 1; + Session_SpConsensusGrandpaAppPublic grandpa = 2; + Session_PalletImOnlineSr25519AppSr25519Public im_online = 3; + Session_SpAuthorityDiscoveryAppPublic authority_discovery = 4; } -message Identity_Legal { - oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; +message Scheduler_ScheduleAfterCall { + uint32 after = 1; + optional Scheduler_TupleUint32Uint32 maybe_periodic = 2; + uint32 priority = 3; + oneof call { + System_RemarkCall system_remark = 4; + System_SetHeapPagesCall system_set_heap_pages = 5; + System_SetCodeCall system_set_code = 6; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 7; + System_SetStorageCall system_set_storage = 8; + System_KillStorageCall system_kill_storage = 9; + System_KillPrefixCall system_kill_prefix = 10; + System_RemarkWithEventCall system_remark_with_event = 11; + Timestamp_SetCall timestamp_set = 12; + Babe_ReportEquivocationCall babe_report_equivocation = 13; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 14; + Babe_PlanConfigChangeCall babe_plan_config_change = 15; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 16; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 17; + Grandpa_NoteStalledCall grandpa_note_stalled = 18; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 19; + Balances_ForceTransferCall balances_force_transfer = 20; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 21; + Balances_TransferAllCall balances_transfer_all = 22; + Balances_ForceUnreserveCall balances_force_unreserve = 23; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 24; + Balances_ForceSetBalanceCall balances_force_set_balance = 25; + Vesting_VestCall vesting_vest = 26; + Vesting_VestOtherCall vesting_vest_other = 27; + Vesting_VestedTransferCall vesting_vested_transfer = 28; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 29; + Vesting_MergeSchedulesCall vesting_merge_schedules = 30; + BagsList_RebagCall bags_list_rebag = 31; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 32; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 33; + ImOnline_HeartbeatCall im_online_heartbeat = 34; + Staking_BondCall staking_bond = 35; + Staking_BondExtraCall staking_bond_extra = 36; + Staking_UnbondCall staking_unbond = 37; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 38; + Staking_ValidateCall staking_validate = 39; + Staking_NominateCall staking_nominate = 40; + Staking_ChillCall staking_chill = 41; + Staking_SetPayeeCall staking_set_payee = 42; + Staking_SetControllerCall staking_set_controller = 43; + Staking_SetValidatorCountCall staking_set_validator_count = 44; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 45; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 46; + Staking_ForceNoErasCall staking_force_no_eras = 47; + Staking_ForceNewEraCall staking_force_new_era = 48; + Staking_SetInvulnerablesCall staking_set_invulnerables = 49; + Staking_ForceUnstakeCall staking_force_unstake = 50; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 51; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 52; + Staking_PayoutStakersCall staking_payout_stakers = 53; + Staking_RebondCall staking_rebond = 54; + Staking_ReapStashCall staking_reap_stash = 55; + Staking_KickCall staking_kick = 56; + Staking_SetStakingConfigsCall staking_set_staking_configs = 57; + Staking_ChillOtherCall staking_chill_other = 58; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 59; + Staking_SetMinCommissionCall staking_set_min_commission = 60; + Session_SetKeysCall session_set_keys = 61; + Session_PurgeKeysCall session_purge_keys = 62; + Treasury_ProposeSpendCall treasury_propose_spend = 63; + Treasury_RejectProposalCall treasury_reject_proposal = 64; + Treasury_ApproveProposalCall treasury_approve_proposal = 65; + Treasury_SpendLocalCall treasury_spend_local = 66; + Treasury_RemoveApprovalCall treasury_remove_approval = 67; + Treasury_SpendCall treasury_spend = 68; + Treasury_PayoutCall treasury_payout = 69; + Treasury_CheckStatusCall treasury_check_status = 70; + Treasury_VoidSpendCall treasury_void_spend = 71; + Utility_BatchCall utility_batch = 72; + Utility_AsDerivativeCall utility_as_derivative = 73; + Utility_BatchAllCall utility_batch_all = 74; + Utility_DispatchAsCall utility_dispatch_as = 75; + Utility_ForceBatchCall utility_force_batch = 76; + Utility_WithWeightCall utility_with_weight = 77; + ConvictionVoting_VoteCall conviction_voting_vote = 78; + ConvictionVoting_DelegateCall conviction_voting_delegate = 79; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 80; + ConvictionVoting_UnlockCall conviction_voting_unlock = 81; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 82; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 83; + Referenda_SubmitCall referenda_submit = 84; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 85; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 86; + Referenda_CancelCall referenda_cancel = 87; + Referenda_KillCall referenda_kill = 88; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 89; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 90; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 91; + Referenda_SetMetadataCall referenda_set_metadata = 92; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 93; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 94; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 95; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 96; + FellowshipCollective_VoteCall fellowship_collective_vote = 97; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 98; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 99; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 100; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 101; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 102; + FellowshipReferenda_KillCall fellowship_referenda_kill = 103; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 104; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 105; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 106; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 107; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 108; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 109; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 110; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 111; + Scheduler_ScheduleCall scheduler_schedule = 112; + Scheduler_CancelCall scheduler_cancel = 113; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 114; + Scheduler_CancelNamedCall scheduler_cancel_named = 115; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 116; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 117; + Preimage_NotePreimageCall preimage_note_preimage = 118; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 119; + Preimage_RequestPreimageCall preimage_request_preimage = 120; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 121; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 122; + Identity_AddRegistrarCall identity_add_registrar = 123; + Identity_SetIdentityCall identity_set_identity = 124; + Identity_SetSubsCall identity_set_subs = 125; + Identity_ClearIdentityCall identity_clear_identity = 126; + Identity_RequestJudgementCall identity_request_judgement = 127; + Identity_CancelRequestCall identity_cancel_request = 128; + Identity_SetFeeCall identity_set_fee = 129; + Identity_SetAccountIdCall identity_set_account_id = 130; + Identity_SetFieldsCall identity_set_fields = 131; + Identity_ProvideJudgementCall identity_provide_judgement = 132; + Identity_KillIdentityCall identity_kill_identity = 133; + Identity_AddSubCall identity_add_sub = 134; + Identity_RenameSubCall identity_rename_sub = 135; + Identity_RemoveSubCall identity_remove_sub = 136; + Identity_QuitSubCall identity_quit_sub = 137; + Proxy_ProxyCall proxy_proxy = 138; + Proxy_AddProxyCall proxy_add_proxy = 139; + Proxy_RemoveProxyCall proxy_remove_proxy = 140; + Proxy_RemoveProxiesCall proxy_remove_proxies = 141; + Proxy_CreatePureCall proxy_create_pure = 142; + Proxy_KillPureCall proxy_kill_pure = 143; + Proxy_AnnounceCall proxy_announce = 144; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 145; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 146; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 147; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 148; + Multisig_AsMultiCall multisig_as_multi = 149; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 150; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 151; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 152; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 153; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 154; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 155; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 156; + Bounties_ProposeBountyCall bounties_propose_bounty = 157; + Bounties_ApproveBountyCall bounties_approve_bounty = 158; + Bounties_ProposeCuratorCall bounties_propose_curator = 159; + Bounties_UnassignCuratorCall bounties_unassign_curator = 160; + Bounties_AcceptCuratorCall bounties_accept_curator = 161; + Bounties_AwardBountyCall bounties_award_bounty = 162; + Bounties_ClaimBountyCall bounties_claim_bounty = 163; + Bounties_CloseBountyCall bounties_close_bounty = 164; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 165; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 166; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 167; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 168; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 169; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 170; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 171; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 172; + NominationPools_JoinCall nomination_pools_join = 173; + NominationPools_BondExtraCall nomination_pools_bond_extra = 174; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 175; + NominationPools_UnbondCall nomination_pools_unbond = 176; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 177; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 178; + NominationPools_CreateCall nomination_pools_create = 179; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 180; + NominationPools_NominateCall nomination_pools_nominate = 181; + NominationPools_SetStateCall nomination_pools_set_state = 182; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 183; + NominationPools_SetConfigsCall nomination_pools_set_configs = 184; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 185; + NominationPools_ChillCall nomination_pools_chill = 186; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 187; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 188; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 189; + NominationPools_SetCommissionCall nomination_pools_set_commission = 190; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 191; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 192; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 193; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 194; + Gear_UploadCodeCall gear_upload_code = 195; + Gear_UploadProgramCall gear_upload_program = 196; + Gear_CreateProgramCall gear_create_program = 197; + Gear_SendMessageCall gear_send_message = 198; + Gear_SendReplyCall gear_send_reply = 199; + Gear_ClaimValueCall gear_claim_value = 200; + Gear_RunCall gear_run = 201; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 202; + StakingRewards_RefillCall staking_rewards_refill = 203; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 204; + StakingRewards_WithdrawCall staking_rewards_withdraw = 205; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 206; + GearVoucher_IssueCall gear_voucher_issue = 207; + GearVoucher_CallCall gear_voucher_call = 208; + GearVoucher_RevokeCall gear_voucher_revoke = 209; + GearVoucher_UpdateCall gear_voucher_update = 210; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 211; + GearVoucher_DeclineCall gear_voucher_decline = 212; } } -message Bounties_CompactString { - string value = 1; -} -message System_KillStorageCall { - repeated System_SystemKeysList keys = 1; -} -message Vesting_Raw { - bytes value0 = 1; -} -message Staking_Raw { - bytes value0 = 1; -} -message Referenda_Lookup { - PrimitiveTypesH256 hash = 1; - uint32 len = 2; -} -message Referenda_After { - uint32 value0 = 1; -} -message Identity_Raw11 { - bytes value0 = 1; -} -message ChildBounties_Raw { - bytes value0 = 1; -} -message NominationPools_ClaimPayoutOtherCall { - NominationPools_SpCoreCryptoAccountId32 other = 1; -} -message Babe_SpRuntimeGenericDigestDigest { - repeated Babe_SpRuntimeGenericDigestDigestItem logs = 1; -} -message Grandpa_Prevote { - FinalityGrandpaEquivocation value0 = 1; -} -message BagsList_Address20 { - bytes value0 = 1; -} -message FellowshipCollective_Raw { +message Identity_Raw1 { bytes value0 = 1; } -message Proxy_CreatePureCall { - Proxy_ProxyType proxy_type = 1; - uint32 delay = 2; - uint32 index = 3; -} -message NominationPools_Open { -} -message Balances_ForceSetBalanceCall { - Balances_Who who = 1; - Balances_CompactString new_free = 2; -} -message Staking_Remove { -} -message Treasury_ProposeSpendCall { - Treasury_CompactString value = 1; - Treasury_Beneficiary beneficiary = 2; -} -message ConvictionVoting_Locked2X { -} -message Proxy_NonTransfer { -} -message System_SetStorageCall { - repeated System_TupleSystemItemsListSystemItemsList items = 1; -} -message Identity_Email { - oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; - } -} -message Identity_SetAccountIdCall { - Identity_CompactUint32 index = 1; - Identity_New new = 2; -} -message Bounties_ProposeCuratorCall { - Bounties_CompactUint32 bounty_id = 1; - Bounties_Curator curator = 2; - Bounties_CompactString fee = 3; +message Proxy_RemoveProxiesCall { } -message Staking_Account { - SpCoreCryptoAccountId32 value0 = 1; +message GearVoucher_CallCall { + GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 1; + GearVoucher_Call call = 2; } -message Referenda_Proposal { - oneof value { - Referenda_Legacy legacy = 1; - Referenda_Inline inline = 2; - Referenda_Lookup lookup = 3; - } +message GearVoucher_Some { + BTreeSet value0 = 1; } -message Referenda_KillCall { - uint32 index = 1; +message ImOnline_SpCoreSr25519Signature { + bytes signature = 1; } -message BagsList_Address32 { - bytes value0 = 1; +message Treasury_ApproveProposalCall { + Treasury_CompactUint32 proposal_id = 1; } -message Identity_Raw3 { +message BoundedCollectionsBoundedVecBoundedVec { bytes value0 = 1; } -message ElectionProviderMultiPhase_TupleCompactUint32CompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - ElectionProviderMultiPhase_CompactUint32 value1 = 2; +message Identity_CancelRequestCall { + uint32 reg_index = 1; } -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; +message Identity_PrimitiveTypesH256 { + bytes identity = 1; } -message ChildBounties_TupleNull { +message Identity_RemoveSubCall { + Identity_Sub sub = 1; } -message Staking_ChillCall { +message ChildBounties_ClaimChildBountyCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactUint32 child_bounty_id = 2; } -message Staking_Noop { +message Gear_GprimitivesMessageId { + bytes reply_to_id = 1; } -message Identity_Raw19 { - bytes value0 = 1; +message Babe_SpRuntimeGenericDigestDigestItem { + Babe_Logs logs = 1; } -message SpCoreCryptoAccountId32 { +message FellowshipCollective_Address20 { bytes value0 = 1; } -message Staking_Controller { -} -message Identity_Reasonable { -} -message Staking_CompactUint32 { - uint32 value = 1; -} -message Identity_Erroneous { -} -message Proxy_Governance { -} -message Grandpa_ReportEquivocationUnsignedCall { - Grandpa_SpConsensusGrandpaEquivocationProof equivocation_proof = 1; - Grandpa_SpSessionMembershipProof key_owner_proof = 2; -} -message Balances_Source { - oneof value { - Balances_Id id = 1; - Balances_Index index = 2; - Balances_Raw raw = 3; - Balances_Address32 address32 = 4; - Balances_Address20 address20 = 5; - } -} -message Staking_ForceUnstakeCall { - Staking_SpCoreCryptoAccountId32 stash = 1; - uint32 num_slashing_spans = 2; -} -message Staking_ForceApplyMinCommissionCall { - Staking_SpCoreCryptoAccountId32 validator_stash = 1; +message Whitelist_RemoveWhitelistedCallCall { + Whitelist_PrimitiveTypesH256 call_hash = 1; } -message Identity_Value1 { +message Identity_Riot { oneof value { Identity_None none = 1; Identity_Raw0 raw0 = 2; @@ -2288,103 +864,68 @@ message Identity_Value1 { Identity_ShaThree256 sha_three256 = 38; } } -message NominationPools_UpdateRolesCall { - uint32 pool_id = 1; - NominationPools_NewRoot new_root = 2; - NominationPools_NewNominator new_nominator = 3; - NominationPools_NewBouncer new_bouncer = 4; -} -message Value0 { - oneof value { - Root root = 1; - Signed signed = 2; - None none = 3; - } +message Treasury_RemoveApprovalCall { + Treasury_CompactUint32 proposal_id = 1; } -message Referenda_SubmitCall { - Referenda_ProposalOrigin proposal_origin = 1; - Referenda_Proposal proposal = 2; - Referenda_EnactmentMoment enactment_moment = 3; +message Staking_ForceNoErasCall { } -message Identity_Index { - Identity_CompactTupleNull value0 = 1; +message Treasury_RejectProposalCall { + Treasury_CompactUint32 proposal_id = 1; } -message Identity_Raw5 { +message Identity_Raw25 { bytes value0 = 1; } -message NominationPools_Set { - string value0 = 1; -} -message NominationPools_MinJoinBond { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } -} -message ConvictionVoting_Locked1X { -} -message Identity_CancelRequestCall { - uint32 reg_index = 1; -} -message Bounties_ProposeBountyCall { - Bounties_CompactString value = 1; - bytes description = 2; -} -message GearVoucher_SendMessage { - GprimitivesActorId destination = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message Utility_Void { - Value0 value0 = 1; -} -message Bounties_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message PrimaryAndSecondaryVRFSlots { -} -message Staking_BondExtraCall { - Staking_CompactString max_additional = 1; -} -message FellowshipReferenda_KillCall { - uint32 index = 1; -} -message Preimage_PrimitiveTypesH256 { - bytes hash = 1; -} -message GearVoucher_SpCoreCryptoAccountId32 { - bytes spender = 1; +message Proxy_IdentityJudgement { } message GprimitivesMessageId { bytes reply_to_id = 1; } -message Babe_PrimitiveTypesH256 { - bytes parent_hash = 1; -} -message Staking_ScaleValidatorCountCall { - Staking_SpArithmeticPerThingsPercent factor = 1; -} -message Identity_Address32 { - bytes value0 = 1; -} -message Identity_BoundedCollectionsBoundedVecBoundedVec { - repeated Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData additional = 1; +message Babe_V1 { + Babe_TupleUint64Uint64 c = 1; + AllowedSlots allowed_slots = 2; } -message Vesting_Target { +message Identity_Display { oneof value { - Vesting_Id id = 1; - Vesting_Index index = 2; - Vesting_Raw raw = 3; - Vesting_Address32 address32 = 4; - Vesting_Address20 address20 = 5; + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; } } -message SpArithmeticPerThingsPerbill { - uint32 value0 = 1; -} message GearVoucher_UpdateCall { GearVoucher_SpCoreCryptoAccountId32 spender = 1; GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 2; @@ -2394,45 +935,48 @@ message GearVoucher_UpdateCall { optional bool code_uploading = 6; optional uint32 prolong_duration = 7; } -message Staking_SetValidatorCountCall { - Staking_CompactUint32 new = 1; -} -message Treasury_CompactUint32 { - uint32 value = 1; +message PrimarySlots { } -message Treasury_PayoutCall { - uint32 index = 1; +message Vesting_MergeSchedulesCall { + uint32 schedule1_index = 1; + uint32 schedule2_index = 2; } -message NominationPools_TupleNull { +message Staking_SpArithmeticPerThingsPercent { + uint32 factor = 1; } -message Babe_V1 { - Babe_TupleUint64Uint64 c = 1; - AllowedSlots allowed_slots = 2; +message Utility_System { + Value0 value0 = 1; } -message FellowshipReferenda_Inline { - BoundedCollectionsBoundedVecBoundedVec value0 = 1; +message Identity_TupleNull { } -message Identity_SetFieldsCall { - Identity_CompactUint32 index = 1; - Identity_PalletIdentityTypesBitFlags fields = 2; +message Proxy_KillPureCall { + Proxy_Spawner spawner = 1; + Proxy_ProxyType proxy_type = 2; + uint32 index = 3; + Proxy_CompactUint32 height = 4; + Proxy_CompactUint32 ext_index = 5; } -message Staking_SpArithmeticPerThingsPercent { - uint32 factor = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message ConvictionVoting_Address20 { - bytes value0 = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message Referenda_PlaceDecisionDepositCall { - uint32 index = 1; +message Vesting_CompactTupleNull { + Vesting_TupleNull value = 1; } -message Referenda_RefundDecisionDepositCall { - uint32 index = 1; +message StakingRewards_Address32 { + bytes value0 = 1; } -message Preimage_RequestPreimageCall { - Preimage_PrimitiveTypesH256 hash = 1; +message NominationPools_SetClaimPermissionCall { + NominationPools_Permission permission = 1; } -message Multisig_AsMultiThreshold1Call { - repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 1; +message Utility_DispatchAsCall { + Utility_AsOrigin as_origin = 1; oneof call { System_RemarkCall system_remark = 2; System_SetHeapPagesCall system_set_heap_pages = 3; @@ -2645,199 +1189,482 @@ message Multisig_AsMultiThreshold1Call { GearVoucher_DeclineCall gear_voucher_decline = 210; } } -message Bounties_CloseBountyCall { - Bounties_CompactUint32 bounty_id = 1; -} -message Staking_SetStakingConfigsCall { - Staking_MinNominatorBond min_nominator_bond = 1; - Staking_MinValidatorBond min_validator_bond = 2; - Staking_MaxNominatorCount max_nominator_count = 3; - Staking_MaxValidatorCount max_validator_count = 4; - Staking_ChillThreshold chill_threshold = 5; - Staking_MinCommission min_commission = 6; -} -message ConvictionVoting_TupleNull { +message Referenda_RefundSubmissionDepositCall { + uint32 index = 1; +} +message ChildBounties_CompactString { + string value = 1; +} +message Vesting_TupleNull { +} +message ConvictionVoting_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message FellowshipReferenda_Proposal { + oneof value { + FellowshipReferenda_Legacy legacy = 1; + FellowshipReferenda_Inline inline = 2; + FellowshipReferenda_Lookup lookup = 3; + } +} +message Identity_None { +} +message Identity_Email { + oneof value { + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; + } +} +message Staking_SetValidatorCountCall { + Staking_CompactUint32 new = 1; +} +message Treasury_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message ConvictionVoting_Locked6X { +} +message Referenda_KillCall { + uint32 index = 1; +} +message Identity_Raw21 { + bytes value0 = 1; +} +message ChildBounties_Address32 { + bytes value0 = 1; +} +message NominationPools_Extra { + oneof value { + NominationPools_FreeBalance free_balance = 1; + NominationPools_Rewards rewards = 2; + } +} +message NominationPools_SetConfigsCall { + NominationPools_MinJoinBond min_join_bond = 1; + NominationPools_MinCreateBond min_create_bond = 2; + NominationPools_MaxPools max_pools = 3; + NominationPools_MaxMembers max_members = 4; + NominationPools_MaxMembersPerPool max_members_per_pool = 5; + NominationPools_GlobalMaxCommission global_max_commission = 6; +} +message Babe_CompactUint32 { + uint32 value = 1; +} +message Identity_Raw27 { + bytes value0 = 1; +} +message Grandpa_ReportEquivocationUnsignedCall { + Grandpa_SpConsensusGrandpaEquivocationProof equivocation_proof = 1; + Grandpa_SpSessionMembershipProof key_owner_proof = 2; +} +message Balances_Address20 { + bytes value0 = 1; +} +message Scheduler_ScheduleCall { + uint32 when = 1; + optional Scheduler_TupleUint32Uint32 maybe_periodic = 2; + uint32 priority = 3; + oneof call { + System_RemarkCall system_remark = 4; + System_SetHeapPagesCall system_set_heap_pages = 5; + System_SetCodeCall system_set_code = 6; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 7; + System_SetStorageCall system_set_storage = 8; + System_KillStorageCall system_kill_storage = 9; + System_KillPrefixCall system_kill_prefix = 10; + System_RemarkWithEventCall system_remark_with_event = 11; + Timestamp_SetCall timestamp_set = 12; + Babe_ReportEquivocationCall babe_report_equivocation = 13; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 14; + Babe_PlanConfigChangeCall babe_plan_config_change = 15; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 16; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 17; + Grandpa_NoteStalledCall grandpa_note_stalled = 18; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 19; + Balances_ForceTransferCall balances_force_transfer = 20; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 21; + Balances_TransferAllCall balances_transfer_all = 22; + Balances_ForceUnreserveCall balances_force_unreserve = 23; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 24; + Balances_ForceSetBalanceCall balances_force_set_balance = 25; + Vesting_VestCall vesting_vest = 26; + Vesting_VestOtherCall vesting_vest_other = 27; + Vesting_VestedTransferCall vesting_vested_transfer = 28; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 29; + Vesting_MergeSchedulesCall vesting_merge_schedules = 30; + BagsList_RebagCall bags_list_rebag = 31; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 32; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 33; + ImOnline_HeartbeatCall im_online_heartbeat = 34; + Staking_BondCall staking_bond = 35; + Staking_BondExtraCall staking_bond_extra = 36; + Staking_UnbondCall staking_unbond = 37; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 38; + Staking_ValidateCall staking_validate = 39; + Staking_NominateCall staking_nominate = 40; + Staking_ChillCall staking_chill = 41; + Staking_SetPayeeCall staking_set_payee = 42; + Staking_SetControllerCall staking_set_controller = 43; + Staking_SetValidatorCountCall staking_set_validator_count = 44; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 45; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 46; + Staking_ForceNoErasCall staking_force_no_eras = 47; + Staking_ForceNewEraCall staking_force_new_era = 48; + Staking_SetInvulnerablesCall staking_set_invulnerables = 49; + Staking_ForceUnstakeCall staking_force_unstake = 50; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 51; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 52; + Staking_PayoutStakersCall staking_payout_stakers = 53; + Staking_RebondCall staking_rebond = 54; + Staking_ReapStashCall staking_reap_stash = 55; + Staking_KickCall staking_kick = 56; + Staking_SetStakingConfigsCall staking_set_staking_configs = 57; + Staking_ChillOtherCall staking_chill_other = 58; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 59; + Staking_SetMinCommissionCall staking_set_min_commission = 60; + Session_SetKeysCall session_set_keys = 61; + Session_PurgeKeysCall session_purge_keys = 62; + Treasury_ProposeSpendCall treasury_propose_spend = 63; + Treasury_RejectProposalCall treasury_reject_proposal = 64; + Treasury_ApproveProposalCall treasury_approve_proposal = 65; + Treasury_SpendLocalCall treasury_spend_local = 66; + Treasury_RemoveApprovalCall treasury_remove_approval = 67; + Treasury_SpendCall treasury_spend = 68; + Treasury_PayoutCall treasury_payout = 69; + Treasury_CheckStatusCall treasury_check_status = 70; + Treasury_VoidSpendCall treasury_void_spend = 71; + Utility_BatchCall utility_batch = 72; + Utility_AsDerivativeCall utility_as_derivative = 73; + Utility_BatchAllCall utility_batch_all = 74; + Utility_DispatchAsCall utility_dispatch_as = 75; + Utility_ForceBatchCall utility_force_batch = 76; + Utility_WithWeightCall utility_with_weight = 77; + ConvictionVoting_VoteCall conviction_voting_vote = 78; + ConvictionVoting_DelegateCall conviction_voting_delegate = 79; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 80; + ConvictionVoting_UnlockCall conviction_voting_unlock = 81; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 82; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 83; + Referenda_SubmitCall referenda_submit = 84; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 85; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 86; + Referenda_CancelCall referenda_cancel = 87; + Referenda_KillCall referenda_kill = 88; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 89; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 90; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 91; + Referenda_SetMetadataCall referenda_set_metadata = 92; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 93; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 94; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 95; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 96; + FellowshipCollective_VoteCall fellowship_collective_vote = 97; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 98; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 99; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 100; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 101; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 102; + FellowshipReferenda_KillCall fellowship_referenda_kill = 103; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 104; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 105; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 106; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 107; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 108; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 109; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 110; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 111; + Scheduler_ScheduleCall scheduler_schedule = 112; + Scheduler_CancelCall scheduler_cancel = 113; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 114; + Scheduler_CancelNamedCall scheduler_cancel_named = 115; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 116; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 117; + Preimage_NotePreimageCall preimage_note_preimage = 118; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 119; + Preimage_RequestPreimageCall preimage_request_preimage = 120; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 121; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 122; + Identity_AddRegistrarCall identity_add_registrar = 123; + Identity_SetIdentityCall identity_set_identity = 124; + Identity_SetSubsCall identity_set_subs = 125; + Identity_ClearIdentityCall identity_clear_identity = 126; + Identity_RequestJudgementCall identity_request_judgement = 127; + Identity_CancelRequestCall identity_cancel_request = 128; + Identity_SetFeeCall identity_set_fee = 129; + Identity_SetAccountIdCall identity_set_account_id = 130; + Identity_SetFieldsCall identity_set_fields = 131; + Identity_ProvideJudgementCall identity_provide_judgement = 132; + Identity_KillIdentityCall identity_kill_identity = 133; + Identity_AddSubCall identity_add_sub = 134; + Identity_RenameSubCall identity_rename_sub = 135; + Identity_RemoveSubCall identity_remove_sub = 136; + Identity_QuitSubCall identity_quit_sub = 137; + Proxy_ProxyCall proxy_proxy = 138; + Proxy_AddProxyCall proxy_add_proxy = 139; + Proxy_RemoveProxyCall proxy_remove_proxy = 140; + Proxy_RemoveProxiesCall proxy_remove_proxies = 141; + Proxy_CreatePureCall proxy_create_pure = 142; + Proxy_KillPureCall proxy_kill_pure = 143; + Proxy_AnnounceCall proxy_announce = 144; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 145; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 146; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 147; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 148; + Multisig_AsMultiCall multisig_as_multi = 149; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 150; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 151; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 152; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 153; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 154; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 155; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 156; + Bounties_ProposeBountyCall bounties_propose_bounty = 157; + Bounties_ApproveBountyCall bounties_approve_bounty = 158; + Bounties_ProposeCuratorCall bounties_propose_curator = 159; + Bounties_UnassignCuratorCall bounties_unassign_curator = 160; + Bounties_AcceptCuratorCall bounties_accept_curator = 161; + Bounties_AwardBountyCall bounties_award_bounty = 162; + Bounties_ClaimBountyCall bounties_claim_bounty = 163; + Bounties_CloseBountyCall bounties_close_bounty = 164; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 165; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 166; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 167; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 168; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 169; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 170; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 171; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 172; + NominationPools_JoinCall nomination_pools_join = 173; + NominationPools_BondExtraCall nomination_pools_bond_extra = 174; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 175; + NominationPools_UnbondCall nomination_pools_unbond = 176; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 177; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 178; + NominationPools_CreateCall nomination_pools_create = 179; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 180; + NominationPools_NominateCall nomination_pools_nominate = 181; + NominationPools_SetStateCall nomination_pools_set_state = 182; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 183; + NominationPools_SetConfigsCall nomination_pools_set_configs = 184; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 185; + NominationPools_ChillCall nomination_pools_chill = 186; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 187; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 188; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 189; + NominationPools_SetCommissionCall nomination_pools_set_commission = 190; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 191; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 192; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 193; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 194; + Gear_UploadCodeCall gear_upload_code = 195; + Gear_UploadProgramCall gear_upload_program = 196; + Gear_CreateProgramCall gear_create_program = 197; + Gear_SendMessageCall gear_send_message = 198; + Gear_SendReplyCall gear_send_reply = 199; + Gear_ClaimValueCall gear_claim_value = 200; + Gear_RunCall gear_run = 201; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 202; + StakingRewards_RefillCall staking_rewards_refill = 203; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 204; + StakingRewards_WithdrawCall staking_rewards_withdraw = 205; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 206; + GearVoucher_IssueCall gear_voucher_issue = 207; + GearVoucher_CallCall gear_voucher_call = 208; + GearVoucher_RevokeCall gear_voucher_revoke = 209; + GearVoucher_UpdateCall gear_voucher_update = 210; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 211; + GearVoucher_DeclineCall gear_voucher_decline = 212; + } +} +message NominationPools_Destroying { } -message FellowshipReferenda_PrimitiveTypesH256 { - bytes maybe_hash = 1; +message GprimitivesActorId { + bytes destination = 1; } -message Identity_New { - oneof value { - Identity_Id id = 1; - Identity_Index index = 2; - Identity_Raw raw = 3; - Identity_Address32 address32 = 4; - Identity_Address20 address20 = 5; - } +message Babe_SpCoreSr25519Public { + bytes offender = 1; } -message Identity_Sub { - oneof value { - Identity_Id id = 1; - Identity_Index index = 2; - Identity_Raw raw = 3; - Identity_Address32 address32 = 4; - Identity_Address20 address20 = 5; - } +message FellowshipReferenda_After { + uint32 value0 = 1; } -message ChildBounties_Id { - SpCoreCryptoAccountId32 value0 = 1; +message Identity_Sha256 { + bytes value0 = 1; } -message GearVoucher_RevokeCall { - GearVoucher_SpCoreCryptoAccountId32 spender = 1; - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 2; +message Root { } -message Babe_SpConsensusBabeAppPublic { - Babe_SpCoreSr25519Public offender = 1; +message Identity_BoundedCollectionsBoundedVecBoundedVec { + repeated Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData additional = 1; } -message SpCoreEd25519Signature { - bytes value1 = 1; +message Balances_Who { + oneof value { + Balances_Id id = 1; + Balances_Index index = 2; + Balances_Raw raw = 3; + Balances_Address32 address32 = 4; + Balances_Address20 address20 = 5; + } } -message Identity_Raw9 { - bytes value0 = 1; +message Treasury_VoidSpendCall { + uint32 index = 1; } -message ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize { - ElectionProviderMultiPhase_CompactUint32 voters = 1; - ElectionProviderMultiPhase_CompactUint32 targets = 2; +message Referenda_Inline { + BoundedCollectionsBoundedVecBoundedVec value0 = 1; } -message Bounties_Index { - Bounties_CompactTupleNull value0 = 1; +message Identity_Reasonable { } -message NominationPools_NominateCall { - uint32 pool_id = 1; - repeated NominationPools_SpCoreCryptoAccountId32 validators = 2; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message Vesting_CompactTupleNull { - Vesting_TupleNull value = 1; +message Bounties_ApproveBountyCall { + Bounties_CompactUint32 bounty_id = 1; } -message FellowshipReferenda_RefundDecisionDepositCall { - uint32 index = 1; +message Bounties_Curator { + oneof value { + Bounties_Id id = 1; + Bounties_Index index = 2; + Bounties_Raw raw = 3; + Bounties_Address32 address32 = 4; + Bounties_Address20 address20 = 5; + } } -message Whitelist_SpWeightsWeightV2Weight { - Whitelist_CompactUint64 ref_time = 1; - Whitelist_CompactUint64 proof_size = 2; +message Grandpa_NoteStalledCall { + uint32 delay = 1; + uint32 best_finalized_block_number = 2; } -message Identity_Raw14 { +message StakingRewards_Raw { bytes value0 = 1; } -message Identity_ShaThree256 { - bytes value0 = 1; +message NominationPools_Open { } -message Identity_ClearIdentityCall { +message Identity_Raw28 { + bytes value0 = 1; } message Proxy_TupleNull { } -message Babe_SpConsensusSlotsEquivocationProof { - Babe_SpConsensusBabeAppPublic offender = 1; - Babe_SpConsensusSlotsSlot slot = 2; - Babe_SpRuntimeGenericHeaderHeader first_header = 3; - Babe_SpRuntimeGenericHeaderHeader second_header = 4; +message NominationPools_Noop { } -message Staking_SpArithmeticPerThingsPerbill { - uint32 value = 1; +message Utility_Void { + Value0 value0 = 1; } -message ElectionProviderMultiPhase_SpNposElectionsElectionScore { - string minimal_stake = 1; - string sum_stake = 2; - string sum_stake_squared = 3; +message Staking_Remove { } -message NominationPools_GlobalMaxCommission { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } +message Referenda_After { + uint32 value0 = 1; } -message GearVoucher_IssueCall { - GearVoucher_SpCoreCryptoAccountId32 spender = 1; - string balance = 2; - optional GearVoucher_BTreeSet programs = 3; - bool code_uploading = 4; - uint32 duration = 5; +message FellowshipCollective_CleanupPollCall { + uint32 poll_index = 1; + uint32 max = 2; } -message StakingRewards_To { - oneof value { - StakingRewards_Id id = 1; - StakingRewards_Index index = 2; - StakingRewards_Raw raw = 3; - StakingRewards_Address32 address32 = 4; - StakingRewards_Address20 address20 = 5; - } +message Identity_Address32 { + bytes value0 = 1; } -message Balances_Who { - oneof value { - Balances_Id id = 1; - Balances_Index index = 2; - Balances_Raw raw = 3; - Balances_Address32 address32 = 4; - Balances_Address20 address20 = 5; - } +message Staking_IncreaseValidatorCountCall { + Staking_CompactUint32 additional = 1; } -message FellowshipReferenda_OneFewerDecidingCall { - uint32 track = 1; +message Scheduler_CancelCall { + uint32 when = 1; + uint32 index = 2; } -message Identity_Raw6 { +message Identity_Raw31 { bytes value0 = 1; } -message Identity_Raw13 { - bytes value0 = 1; +message ElectionProviderMultiPhase_SpNposElectionsSupport { + string total = 1; + repeated ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String voters = 2; } -message Proxy_RejectAnnouncementCall { - Proxy_Delegate delegate = 1; - Proxy_PrimitiveTypesH256 call_hash = 2; +message NominationPools_PoolWithdrawUnbondedCall { + uint32 pool_id = 1; + uint32 num_slashing_spans = 2; } -message ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall { - optional ElectionProviderMultiPhase_SpNposElectionsElectionScore maybe_next_score = 1; +message Staking_ValidateCall { + Staking_PalletStakingValidatorPrefs prefs = 1; } -message Babe_RuntimeEnvironmentUpdated { +message Staking_None { } -message Balances_CompactTupleNull { - Balances_TupleNull value = 1; +message Staking_WithdrawUnbondedCall { + uint32 num_slashing_spans = 1; } -message Whitelist_RemoveWhitelistedCallCall { - Whitelist_PrimitiveTypesH256 call_hash = 1; +message ConvictionVoting_Address20 { + bytes value0 = 1; } -message Identity_Riot { +message Identity_PalletIdentitySimpleIdentityInfo { + Identity_BoundedCollectionsBoundedVecBoundedVec additional = 1; + Identity_Display display = 2; + Identity_Legal legal = 3; + Identity_Web web = 4; + Identity_Riot riot = 5; + Identity_Email email = 6; + bytes pgp_fingerprint = 7; + Identity_Image image = 8; + Identity_Twitter twitter = 9; +} +message Staking_Staked { +} +message BagsList_CompactTupleNull { + BagsList_TupleNull value = 1; +} +message BagsList_Heavier { oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; + BagsList_Id id = 1; + BagsList_Index index = 2; + BagsList_Raw raw = 3; + BagsList_Address32 address32 = 4; + BagsList_Address20 address20 = 5; + } +} +message Staking_MinValidatorBond { + oneof value { + Staking_Noop noop = 1; + Staking_Set set = 2; + Staking_Remove remove = 3; } } +message Referenda_Void { + Value0 value0 = 1; +} +message Referenda_NudgeReferendumCall { + uint32 index = 1; +} +message Proxy_PrimitiveTypesH256 { + bytes call_hash = 1; +} message Proxy_ProxyAnnouncedCall { Proxy_Delegate delegate = 1; Proxy_Real real = 2; @@ -3054,663 +1881,1744 @@ message Proxy_ProxyAnnouncedCall { GearVoucher_DeclineCall gear_voucher_decline = 212; } } -message GearVoucher_SendReply { - GprimitivesMessageId reply_to_id = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message Balances_TransferAllowDeathCall { - Balances_Dest dest = 1; - Balances_CompactString value = 2; -} -message BagsList_Index { - BagsList_CompactTupleNull value0 = 1; -} -message FellowshipReferenda_NudgeReferendumCall { - uint32 index = 1; -} -message Multisig_ApproveAsMultiCall { - uint32 threshold = 1; - repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 2; - optional Multisig_PalletMultisigTimepoint maybe_timepoint = 3; - bytes call_hash = 4; - Multisig_SpWeightsWeightV2Weight max_weight = 5; +message Vesting_Address20 { + bytes value0 = 1; +} +message BagsList_Address32 { + bytes value0 = 1; +} +message GearVoucher_UploadCode { + bytes code = 1; +} +message System_SetCodeCall { + bytes code = 1; +} +message ConvictionVoting_Index { + ConvictionVoting_CompactTupleNull value0 = 1; +} +message FellowshipReferenda_PlaceDecisionDepositCall { + uint32 index = 1; +} +message ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport { + ElectionProviderMultiPhase_SpCoreCryptoAccountId32 value0 = 1; + ElectionProviderMultiPhase_SpNposElectionsSupport value1 = 2; +} +message GearVoucher_RevokeCall { + GearVoucher_SpCoreCryptoAccountId32 spender = 1; + GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 2; +} +message Staking_ScaleValidatorCountCall { + Staking_SpArithmeticPerThingsPercent factor = 1; +} +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; +} +message NominationPools_SetCommissionMaxCall { + uint32 pool_id = 1; + NominationPools_SpArithmeticPerThingsPerbill max_commission = 2; +} +message NominationPools_AdjustPoolDepositCall { + uint32 pool_id = 1; +} +message GearVoucher_Call { + oneof value { + GearVoucher_SendMessage send_message = 1; + GearVoucher_SendReply send_reply = 2; + GearVoucher_UploadCode upload_code = 3; + GearVoucher_DeclineVoucher decline_voucher = 4; + } +} +message ConvictionVoting_Target { + oneof value { + ConvictionVoting_Id id = 1; + ConvictionVoting_Index index = 2; + ConvictionVoting_Raw raw = 3; + ConvictionVoting_Address32 address32 = 4; + ConvictionVoting_Address20 address20 = 5; + } +} +message Babe_SpConsensusBabeAppPublic { + Babe_SpCoreSr25519Public offender = 1; +} +message Babe_RuntimeEnvironmentUpdated { +} +message FellowshipReferenda_System { + Value0 value0 = 1; +} +message Proxy_Index { + Proxy_CompactTupleNull value0 = 1; +} +message NominationPools_WithdrawUnbondedCall { + NominationPools_MemberAccount member_account = 1; + uint32 num_slashing_spans = 2; +} +message NominationPools_State { + oneof value { + NominationPools_Open open = 1; + NominationPools_Blocked blocked = 2; + NominationPools_Destroying destroying = 3; + } +} +message Timestamp_CompactUint64 { + uint64 value = 1; +} +message FellowshipReferenda_OneFewerDecidingCall { + uint32 track = 1; +} +message NominationPools_ClaimPayoutCall { +} +message NominationPools_MinCreateBond { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } +} +message NominationPools_PermissionlessAll { +} +message Utility_CompactUint64 { + uint64 value = 1; +} +message ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16 { + ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16 value = 1; +} +message Bounties_CompactString { + string value = 1; +} +message FellowshipReferenda_At { + uint32 value0 = 1; +} +message FellowshipCollective_TupleNull { +} +message FellowshipReferenda_PrimitiveTypesH256 { + bytes maybe_hash = 1; +} +message Treasury_CompactTupleNull { + Treasury_TupleNull value = 1; +} +message Session_SpConsensusBabeAppPublic { + Session_SpCoreSr25519Public babe = 1; +} +message Utility_SpWeightsWeightV2Weight { + Utility_CompactUint64 ref_time = 1; + Utility_CompactUint64 proof_size = 2; +} +message Identity_Value0 { + oneof value { + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; + } +} +message Multisig_CancelAsMultiCall { + uint32 threshold = 1; + repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 2; + Multisig_PalletMultisigTimepoint timepoint = 3; + bytes call_hash = 4; +} +message Bounties_CompactTupleNull { + Bounties_TupleNull value = 1; +} +message Bounties_Raw { + bytes value0 = 1; +} +message Grandpa_ReportEquivocationCall { + Grandpa_SpConsensusGrandpaEquivocationProof equivocation_proof = 1; + Grandpa_SpSessionMembershipProof key_owner_proof = 2; +} +message Babe_PlanConfigChangeCall { + Babe_Config config = 1; +} +message Treasury_Address20 { + bytes value0 = 1; +} +message Identity_Account { + oneof value { + Identity_Id id = 1; + Identity_Index index = 2; + Identity_Raw raw = 3; + Identity_Address32 address32 = 4; + Identity_Address20 address20 = 5; + } +} +message ElectionProviderMultiPhase_SetEmergencyElectionResultCall { + repeated ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport supports = 1; +} +message ChildBounties_TupleNull { +} +message ChildBounties_AwardChildBountyCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactUint32 child_bounty_id = 2; + ChildBounties_Beneficiary beneficiary = 3; +} +message NominationPools_Address20 { + bytes value0 = 1; +} +message Babe_SpConsensusSlotsSlot { + uint64 slot = 1; +} +message Staking_MinNominatorBond { + oneof value { + Staking_Noop noop = 1; + Staking_Set set = 2; + Staking_Remove remove = 3; + } +} +message Staking_MaxNominatorCount { + oneof value { + Staking_Noop noop = 1; + Staking_Set set = 2; + Staking_Remove remove = 3; + } +} +message FellowshipReferenda_CancelCall { + uint32 index = 1; +} +message Identity_QuitSubCall { +} +message Staking_Targets { + oneof value { + Staking_Id id = 1; + Staking_Index index = 2; + Staking_Raw raw = 3; + Staking_Address32 address32 = 4; + Staking_Address20 address20 = 5; + } +} +message Bounties_Index { + Bounties_CompactTupleNull value0 = 1; +} +message NominationPools_BondExtraCall { + NominationPools_Extra extra = 1; +} +message Multisig_PalletMultisigTimepoint { + uint32 height = 1; + uint32 index = 2; +} +message Referenda_At { + uint32 value0 = 1; +} +message Identity_SetFeeCall { + Identity_CompactUint32 index = 1; + Identity_CompactString fee = 2; +} +message ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String { + ElectionProviderMultiPhase_SpCoreCryptoAccountId32 value0 = 1; + string value1 = 2; +} +message Grandpa_Precommit { + FinalityGrandpaEquivocation value0 = 1; +} +message Identity_SetAccountIdCall { + Identity_CompactUint32 index = 1; + Identity_New new = 2; +} +message NominationPools_Set { + string value0 = 1; +} +message Identity_Raw3 { + bytes value0 = 1; +} +message Identity_KnownGood { +} +message Proxy_CompactTupleNull { + Proxy_TupleNull value = 1; +} +message Proxy_RejectAnnouncementCall { + Proxy_Delegate delegate = 1; + Proxy_PrimitiveTypesH256 call_hash = 2; +} +message Multisig_ApproveAsMultiCall { + uint32 threshold = 1; + repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 2; + optional Multisig_PalletMultisigTimepoint maybe_timepoint = 3; + bytes call_hash = 4; + Multisig_SpWeightsWeightV2Weight max_weight = 5; +} +message Identity_Raw17 { + bytes value0 = 1; +} +message ConvictionVoting_RemoveOtherVoteCall { + ConvictionVoting_Target target = 1; + uint32 class = 2; + uint32 index = 3; +} +message FellowshipCollective_Address32 { + bytes value0 = 1; +} +message Identity_Raw7 { + bytes value0 = 1; +} +message ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize { + ElectionProviderMultiPhase_CompactUint32 voters = 1; + ElectionProviderMultiPhase_CompactUint32 targets = 2; +} +message NominationPools_ChillCall { + uint32 pool_id = 1; +} +message GearVoucher_DeclineCall { + GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 1; +} +message BagsList_Index { + BagsList_CompactTupleNull value0 = 1; +} +message Value0 { + oneof value { + Root root = 1; + Signed signed = 2; + None none = 3; + } +} +message FellowshipReferenda_Void { + Value0 value0 = 1; +} +message Identity_Raw20 { + bytes value0 = 1; +} +message Referenda_Origins { + Value0 value0 = 1; +} +message FellowshipReferenda_Origins { + Value0 value0 = 1; +} +message Scheduler_ScheduleNamedAfterCall { + bytes id = 1; + uint32 after = 2; + optional Scheduler_TupleUint32Uint32 maybe_periodic = 3; + uint32 priority = 4; + oneof call { + System_RemarkCall system_remark = 5; + System_SetHeapPagesCall system_set_heap_pages = 6; + System_SetCodeCall system_set_code = 7; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 8; + System_SetStorageCall system_set_storage = 9; + System_KillStorageCall system_kill_storage = 10; + System_KillPrefixCall system_kill_prefix = 11; + System_RemarkWithEventCall system_remark_with_event = 12; + Timestamp_SetCall timestamp_set = 13; + Babe_ReportEquivocationCall babe_report_equivocation = 14; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 15; + Babe_PlanConfigChangeCall babe_plan_config_change = 16; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 17; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 18; + Grandpa_NoteStalledCall grandpa_note_stalled = 19; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 20; + Balances_ForceTransferCall balances_force_transfer = 21; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 22; + Balances_TransferAllCall balances_transfer_all = 23; + Balances_ForceUnreserveCall balances_force_unreserve = 24; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 25; + Balances_ForceSetBalanceCall balances_force_set_balance = 26; + Vesting_VestCall vesting_vest = 27; + Vesting_VestOtherCall vesting_vest_other = 28; + Vesting_VestedTransferCall vesting_vested_transfer = 29; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 30; + Vesting_MergeSchedulesCall vesting_merge_schedules = 31; + BagsList_RebagCall bags_list_rebag = 32; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 33; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 34; + ImOnline_HeartbeatCall im_online_heartbeat = 35; + Staking_BondCall staking_bond = 36; + Staking_BondExtraCall staking_bond_extra = 37; + Staking_UnbondCall staking_unbond = 38; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 39; + Staking_ValidateCall staking_validate = 40; + Staking_NominateCall staking_nominate = 41; + Staking_ChillCall staking_chill = 42; + Staking_SetPayeeCall staking_set_payee = 43; + Staking_SetControllerCall staking_set_controller = 44; + Staking_SetValidatorCountCall staking_set_validator_count = 45; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 46; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 47; + Staking_ForceNoErasCall staking_force_no_eras = 48; + Staking_ForceNewEraCall staking_force_new_era = 49; + Staking_SetInvulnerablesCall staking_set_invulnerables = 50; + Staking_ForceUnstakeCall staking_force_unstake = 51; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 52; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 53; + Staking_PayoutStakersCall staking_payout_stakers = 54; + Staking_RebondCall staking_rebond = 55; + Staking_ReapStashCall staking_reap_stash = 56; + Staking_KickCall staking_kick = 57; + Staking_SetStakingConfigsCall staking_set_staking_configs = 58; + Staking_ChillOtherCall staking_chill_other = 59; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 60; + Staking_SetMinCommissionCall staking_set_min_commission = 61; + Session_SetKeysCall session_set_keys = 62; + Session_PurgeKeysCall session_purge_keys = 63; + Treasury_ProposeSpendCall treasury_propose_spend = 64; + Treasury_RejectProposalCall treasury_reject_proposal = 65; + Treasury_ApproveProposalCall treasury_approve_proposal = 66; + Treasury_SpendLocalCall treasury_spend_local = 67; + Treasury_RemoveApprovalCall treasury_remove_approval = 68; + Treasury_SpendCall treasury_spend = 69; + Treasury_PayoutCall treasury_payout = 70; + Treasury_CheckStatusCall treasury_check_status = 71; + Treasury_VoidSpendCall treasury_void_spend = 72; + Utility_BatchCall utility_batch = 73; + Utility_AsDerivativeCall utility_as_derivative = 74; + Utility_BatchAllCall utility_batch_all = 75; + Utility_DispatchAsCall utility_dispatch_as = 76; + Utility_ForceBatchCall utility_force_batch = 77; + Utility_WithWeightCall utility_with_weight = 78; + ConvictionVoting_VoteCall conviction_voting_vote = 79; + ConvictionVoting_DelegateCall conviction_voting_delegate = 80; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 81; + ConvictionVoting_UnlockCall conviction_voting_unlock = 82; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 83; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 84; + Referenda_SubmitCall referenda_submit = 85; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 86; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 87; + Referenda_CancelCall referenda_cancel = 88; + Referenda_KillCall referenda_kill = 89; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 90; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 91; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 92; + Referenda_SetMetadataCall referenda_set_metadata = 93; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 94; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 95; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 96; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 97; + FellowshipCollective_VoteCall fellowship_collective_vote = 98; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 99; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 100; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 101; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 102; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 103; + FellowshipReferenda_KillCall fellowship_referenda_kill = 104; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 105; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 106; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 107; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 108; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 109; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 110; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 111; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 112; + Scheduler_ScheduleCall scheduler_schedule = 113; + Scheduler_CancelCall scheduler_cancel = 114; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 115; + Scheduler_CancelNamedCall scheduler_cancel_named = 116; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 117; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 118; + Preimage_NotePreimageCall preimage_note_preimage = 119; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 120; + Preimage_RequestPreimageCall preimage_request_preimage = 121; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 122; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 123; + Identity_AddRegistrarCall identity_add_registrar = 124; + Identity_SetIdentityCall identity_set_identity = 125; + Identity_SetSubsCall identity_set_subs = 126; + Identity_ClearIdentityCall identity_clear_identity = 127; + Identity_RequestJudgementCall identity_request_judgement = 128; + Identity_CancelRequestCall identity_cancel_request = 129; + Identity_SetFeeCall identity_set_fee = 130; + Identity_SetAccountIdCall identity_set_account_id = 131; + Identity_SetFieldsCall identity_set_fields = 132; + Identity_ProvideJudgementCall identity_provide_judgement = 133; + Identity_KillIdentityCall identity_kill_identity = 134; + Identity_AddSubCall identity_add_sub = 135; + Identity_RenameSubCall identity_rename_sub = 136; + Identity_RemoveSubCall identity_remove_sub = 137; + Identity_QuitSubCall identity_quit_sub = 138; + Proxy_ProxyCall proxy_proxy = 139; + Proxy_AddProxyCall proxy_add_proxy = 140; + Proxy_RemoveProxyCall proxy_remove_proxy = 141; + Proxy_RemoveProxiesCall proxy_remove_proxies = 142; + Proxy_CreatePureCall proxy_create_pure = 143; + Proxy_KillPureCall proxy_kill_pure = 144; + Proxy_AnnounceCall proxy_announce = 145; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 146; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 147; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 148; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 149; + Multisig_AsMultiCall multisig_as_multi = 150; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 151; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 152; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 153; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 154; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 155; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 156; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 157; + Bounties_ProposeBountyCall bounties_propose_bounty = 158; + Bounties_ApproveBountyCall bounties_approve_bounty = 159; + Bounties_ProposeCuratorCall bounties_propose_curator = 160; + Bounties_UnassignCuratorCall bounties_unassign_curator = 161; + Bounties_AcceptCuratorCall bounties_accept_curator = 162; + Bounties_AwardBountyCall bounties_award_bounty = 163; + Bounties_ClaimBountyCall bounties_claim_bounty = 164; + Bounties_CloseBountyCall bounties_close_bounty = 165; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 166; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 167; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 168; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 169; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 170; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 171; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 172; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 173; + NominationPools_JoinCall nomination_pools_join = 174; + NominationPools_BondExtraCall nomination_pools_bond_extra = 175; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 176; + NominationPools_UnbondCall nomination_pools_unbond = 177; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 178; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 179; + NominationPools_CreateCall nomination_pools_create = 180; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 181; + NominationPools_NominateCall nomination_pools_nominate = 182; + NominationPools_SetStateCall nomination_pools_set_state = 183; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 184; + NominationPools_SetConfigsCall nomination_pools_set_configs = 185; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 186; + NominationPools_ChillCall nomination_pools_chill = 187; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 188; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 189; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 190; + NominationPools_SetCommissionCall nomination_pools_set_commission = 191; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 192; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 193; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 194; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 195; + Gear_UploadCodeCall gear_upload_code = 196; + Gear_UploadProgramCall gear_upload_program = 197; + Gear_CreateProgramCall gear_create_program = 198; + Gear_SendMessageCall gear_send_message = 199; + Gear_SendReplyCall gear_send_reply = 200; + Gear_ClaimValueCall gear_claim_value = 201; + Gear_RunCall gear_run = 202; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 203; + StakingRewards_RefillCall staking_rewards_refill = 204; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 205; + StakingRewards_WithdrawCall staking_rewards_withdraw = 206; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 207; + GearVoucher_IssueCall gear_voucher_issue = 208; + GearVoucher_CallCall gear_voucher_call = 209; + GearVoucher_RevokeCall gear_voucher_revoke = 210; + GearVoucher_UpdateCall gear_voucher_update = 211; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 212; + GearVoucher_DeclineCall gear_voucher_decline = 213; + } +} +message NominationPools_MinJoinBond { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } +} +message NominationPools_PermissionlessCompound { +} +message Staking_NominateCall { + repeated Staking_SpRuntimeMultiaddressMultiAddress targets = 1; +} +message Whitelist_DispatchWhitelistedCallWithPreimageCall { + oneof call { + System_RemarkCall system_remark = 1; + System_SetHeapPagesCall system_set_heap_pages = 2; + System_SetCodeCall system_set_code = 3; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 4; + System_SetStorageCall system_set_storage = 5; + System_KillStorageCall system_kill_storage = 6; + System_KillPrefixCall system_kill_prefix = 7; + System_RemarkWithEventCall system_remark_with_event = 8; + Timestamp_SetCall timestamp_set = 9; + Babe_ReportEquivocationCall babe_report_equivocation = 10; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 11; + Babe_PlanConfigChangeCall babe_plan_config_change = 12; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 13; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 14; + Grandpa_NoteStalledCall grandpa_note_stalled = 15; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 16; + Balances_ForceTransferCall balances_force_transfer = 17; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 18; + Balances_TransferAllCall balances_transfer_all = 19; + Balances_ForceUnreserveCall balances_force_unreserve = 20; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 21; + Balances_ForceSetBalanceCall balances_force_set_balance = 22; + Vesting_VestCall vesting_vest = 23; + Vesting_VestOtherCall vesting_vest_other = 24; + Vesting_VestedTransferCall vesting_vested_transfer = 25; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 26; + Vesting_MergeSchedulesCall vesting_merge_schedules = 27; + BagsList_RebagCall bags_list_rebag = 28; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 29; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 30; + ImOnline_HeartbeatCall im_online_heartbeat = 31; + Staking_BondCall staking_bond = 32; + Staking_BondExtraCall staking_bond_extra = 33; + Staking_UnbondCall staking_unbond = 34; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 35; + Staking_ValidateCall staking_validate = 36; + Staking_NominateCall staking_nominate = 37; + Staking_ChillCall staking_chill = 38; + Staking_SetPayeeCall staking_set_payee = 39; + Staking_SetControllerCall staking_set_controller = 40; + Staking_SetValidatorCountCall staking_set_validator_count = 41; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 42; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 43; + Staking_ForceNoErasCall staking_force_no_eras = 44; + Staking_ForceNewEraCall staking_force_new_era = 45; + Staking_SetInvulnerablesCall staking_set_invulnerables = 46; + Staking_ForceUnstakeCall staking_force_unstake = 47; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 48; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 49; + Staking_PayoutStakersCall staking_payout_stakers = 50; + Staking_RebondCall staking_rebond = 51; + Staking_ReapStashCall staking_reap_stash = 52; + Staking_KickCall staking_kick = 53; + Staking_SetStakingConfigsCall staking_set_staking_configs = 54; + Staking_ChillOtherCall staking_chill_other = 55; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 56; + Staking_SetMinCommissionCall staking_set_min_commission = 57; + Session_SetKeysCall session_set_keys = 58; + Session_PurgeKeysCall session_purge_keys = 59; + Treasury_ProposeSpendCall treasury_propose_spend = 60; + Treasury_RejectProposalCall treasury_reject_proposal = 61; + Treasury_ApproveProposalCall treasury_approve_proposal = 62; + Treasury_SpendLocalCall treasury_spend_local = 63; + Treasury_RemoveApprovalCall treasury_remove_approval = 64; + Treasury_SpendCall treasury_spend = 65; + Treasury_PayoutCall treasury_payout = 66; + Treasury_CheckStatusCall treasury_check_status = 67; + Treasury_VoidSpendCall treasury_void_spend = 68; + Utility_BatchCall utility_batch = 69; + Utility_AsDerivativeCall utility_as_derivative = 70; + Utility_BatchAllCall utility_batch_all = 71; + Utility_DispatchAsCall utility_dispatch_as = 72; + Utility_ForceBatchCall utility_force_batch = 73; + Utility_WithWeightCall utility_with_weight = 74; + ConvictionVoting_VoteCall conviction_voting_vote = 75; + ConvictionVoting_DelegateCall conviction_voting_delegate = 76; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 77; + ConvictionVoting_UnlockCall conviction_voting_unlock = 78; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 79; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 80; + Referenda_SubmitCall referenda_submit = 81; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 82; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 83; + Referenda_CancelCall referenda_cancel = 84; + Referenda_KillCall referenda_kill = 85; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 86; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 87; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 88; + Referenda_SetMetadataCall referenda_set_metadata = 89; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 90; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 91; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 92; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 93; + FellowshipCollective_VoteCall fellowship_collective_vote = 94; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 95; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 96; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 97; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 98; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 99; + FellowshipReferenda_KillCall fellowship_referenda_kill = 100; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 101; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 102; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 103; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 104; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 105; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 106; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 107; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 108; + Scheduler_ScheduleCall scheduler_schedule = 109; + Scheduler_CancelCall scheduler_cancel = 110; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 111; + Scheduler_CancelNamedCall scheduler_cancel_named = 112; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 113; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 114; + Preimage_NotePreimageCall preimage_note_preimage = 115; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 116; + Preimage_RequestPreimageCall preimage_request_preimage = 117; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 118; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 119; + Identity_AddRegistrarCall identity_add_registrar = 120; + Identity_SetIdentityCall identity_set_identity = 121; + Identity_SetSubsCall identity_set_subs = 122; + Identity_ClearIdentityCall identity_clear_identity = 123; + Identity_RequestJudgementCall identity_request_judgement = 124; + Identity_CancelRequestCall identity_cancel_request = 125; + Identity_SetFeeCall identity_set_fee = 126; + Identity_SetAccountIdCall identity_set_account_id = 127; + Identity_SetFieldsCall identity_set_fields = 128; + Identity_ProvideJudgementCall identity_provide_judgement = 129; + Identity_KillIdentityCall identity_kill_identity = 130; + Identity_AddSubCall identity_add_sub = 131; + Identity_RenameSubCall identity_rename_sub = 132; + Identity_RemoveSubCall identity_remove_sub = 133; + Identity_QuitSubCall identity_quit_sub = 134; + Proxy_ProxyCall proxy_proxy = 135; + Proxy_AddProxyCall proxy_add_proxy = 136; + Proxy_RemoveProxyCall proxy_remove_proxy = 137; + Proxy_RemoveProxiesCall proxy_remove_proxies = 138; + Proxy_CreatePureCall proxy_create_pure = 139; + Proxy_KillPureCall proxy_kill_pure = 140; + Proxy_AnnounceCall proxy_announce = 141; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 142; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 143; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 144; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 145; + Multisig_AsMultiCall multisig_as_multi = 146; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 147; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 148; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 149; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 150; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 151; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 152; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 153; + Bounties_ProposeBountyCall bounties_propose_bounty = 154; + Bounties_ApproveBountyCall bounties_approve_bounty = 155; + Bounties_ProposeCuratorCall bounties_propose_curator = 156; + Bounties_UnassignCuratorCall bounties_unassign_curator = 157; + Bounties_AcceptCuratorCall bounties_accept_curator = 158; + Bounties_AwardBountyCall bounties_award_bounty = 159; + Bounties_ClaimBountyCall bounties_claim_bounty = 160; + Bounties_CloseBountyCall bounties_close_bounty = 161; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 162; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 163; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 164; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 165; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 166; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 167; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 168; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 169; + NominationPools_JoinCall nomination_pools_join = 170; + NominationPools_BondExtraCall nomination_pools_bond_extra = 171; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 172; + NominationPools_UnbondCall nomination_pools_unbond = 173; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 174; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 175; + NominationPools_CreateCall nomination_pools_create = 176; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 177; + NominationPools_NominateCall nomination_pools_nominate = 178; + NominationPools_SetStateCall nomination_pools_set_state = 179; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 180; + NominationPools_SetConfigsCall nomination_pools_set_configs = 181; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 182; + NominationPools_ChillCall nomination_pools_chill = 183; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 184; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 185; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 186; + NominationPools_SetCommissionCall nomination_pools_set_commission = 187; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 188; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 189; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 190; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 191; + Gear_UploadCodeCall gear_upload_code = 192; + Gear_UploadProgramCall gear_upload_program = 193; + Gear_CreateProgramCall gear_create_program = 194; + Gear_SendMessageCall gear_send_message = 195; + Gear_SendReplyCall gear_send_reply = 196; + Gear_ClaimValueCall gear_claim_value = 197; + Gear_RunCall gear_run = 198; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 199; + StakingRewards_RefillCall staking_rewards_refill = 200; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 201; + StakingRewards_WithdrawCall staking_rewards_withdraw = 202; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 203; + GearVoucher_IssueCall gear_voucher_issue = 204; + GearVoucher_CallCall gear_voucher_call = 205; + GearVoucher_RevokeCall gear_voucher_revoke = 206; + GearVoucher_UpdateCall gear_voucher_update = 207; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 208; + GearVoucher_DeclineCall gear_voucher_decline = 209; + } +} +message GearVoucher_SendMessage { + GprimitivesActorId destination = 1; + bytes payload = 2; + uint64 gas_limit = 3; + string value = 4; + bool keep_alive = 5; +} +message BagsList_Address20 { + bytes value0 = 1; +} +message BagsList_Lighter { + oneof value { + BagsList_Id id = 1; + BagsList_Index index = 2; + BagsList_Raw raw = 3; + BagsList_Address32 address32 = 4; + BagsList_Address20 address20 = 5; + } +} +message Treasury_ProposeSpendCall { + Treasury_CompactString value = 1; + Treasury_Beneficiary beneficiary = 2; +} +message Treasury_CompactUint32 { + uint32 value = 1; +} +message Referenda_System { + Value0 value0 = 1; +} +message ElectionProviderMultiPhase_CompactUint32 { + uint32 value = 1; +} +message Vesting_VestedTransferCall { + Vesting_Target target = 1; + Vesting_PalletVestingVestingInfoVestingInfo schedule = 2; +} +message NominationPools_CompactString { + string value = 1; +} +message NominationPools_JoinCall { + NominationPools_CompactString amount = 1; + uint32 pool_id = 2; +} +message NominationPools_SetStateCall { + uint32 pool_id = 1; + NominationPools_State state = 2; +} +message Bounties_ClaimBountyCall { + Bounties_CompactUint32 bounty_id = 1; +} +message FinalityGrandpaEquivocation { + uint64 round_number = 1; + SpConsensusGrandpaAppPublic identity = 2; + TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature first = 3; + TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature second = 4; +} +message Utility_Origins { + Value0 value0 = 1; +} +message Utility_AsOrigin { + oneof value { + Utility_System system = 1; + Utility_Origins origins = 2; + Utility_Void void = 3; + } +} +message System_RemarkCall { + bytes remark = 1; +} +message FellowshipReferenda_Lookup { + PrimitiveTypesH256 hash = 1; + uint32 len = 2; +} +message ChildBounties_Beneficiary { + oneof value { + ChildBounties_Id id = 1; + ChildBounties_Index index = 2; + ChildBounties_Raw raw = 3; + ChildBounties_Address32 address32 = 4; + ChildBounties_Address20 address20 = 5; + } +} +message Staking_SetControllerCall { +} +message Identity_Judgement { + oneof value { + Identity_Unknown unknown = 1; + Identity_FeePaid fee_paid = 2; + Identity_Reasonable reasonable = 3; + Identity_KnownGood known_good = 4; + Identity_OutOfDate out_of_date = 5; + Identity_LowQuality low_quality = 6; + Identity_Erroneous erroneous = 7; + } +} +message Scheduler_ScheduleNamedCall { + bytes id = 1; + uint32 when = 2; + optional Scheduler_TupleUint32Uint32 maybe_periodic = 3; + uint32 priority = 4; + oneof call { + System_RemarkCall system_remark = 5; + System_SetHeapPagesCall system_set_heap_pages = 6; + System_SetCodeCall system_set_code = 7; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 8; + System_SetStorageCall system_set_storage = 9; + System_KillStorageCall system_kill_storage = 10; + System_KillPrefixCall system_kill_prefix = 11; + System_RemarkWithEventCall system_remark_with_event = 12; + Timestamp_SetCall timestamp_set = 13; + Babe_ReportEquivocationCall babe_report_equivocation = 14; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 15; + Babe_PlanConfigChangeCall babe_plan_config_change = 16; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 17; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 18; + Grandpa_NoteStalledCall grandpa_note_stalled = 19; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 20; + Balances_ForceTransferCall balances_force_transfer = 21; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 22; + Balances_TransferAllCall balances_transfer_all = 23; + Balances_ForceUnreserveCall balances_force_unreserve = 24; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 25; + Balances_ForceSetBalanceCall balances_force_set_balance = 26; + Vesting_VestCall vesting_vest = 27; + Vesting_VestOtherCall vesting_vest_other = 28; + Vesting_VestedTransferCall vesting_vested_transfer = 29; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 30; + Vesting_MergeSchedulesCall vesting_merge_schedules = 31; + BagsList_RebagCall bags_list_rebag = 32; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 33; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 34; + ImOnline_HeartbeatCall im_online_heartbeat = 35; + Staking_BondCall staking_bond = 36; + Staking_BondExtraCall staking_bond_extra = 37; + Staking_UnbondCall staking_unbond = 38; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 39; + Staking_ValidateCall staking_validate = 40; + Staking_NominateCall staking_nominate = 41; + Staking_ChillCall staking_chill = 42; + Staking_SetPayeeCall staking_set_payee = 43; + Staking_SetControllerCall staking_set_controller = 44; + Staking_SetValidatorCountCall staking_set_validator_count = 45; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 46; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 47; + Staking_ForceNoErasCall staking_force_no_eras = 48; + Staking_ForceNewEraCall staking_force_new_era = 49; + Staking_SetInvulnerablesCall staking_set_invulnerables = 50; + Staking_ForceUnstakeCall staking_force_unstake = 51; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 52; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 53; + Staking_PayoutStakersCall staking_payout_stakers = 54; + Staking_RebondCall staking_rebond = 55; + Staking_ReapStashCall staking_reap_stash = 56; + Staking_KickCall staking_kick = 57; + Staking_SetStakingConfigsCall staking_set_staking_configs = 58; + Staking_ChillOtherCall staking_chill_other = 59; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 60; + Staking_SetMinCommissionCall staking_set_min_commission = 61; + Session_SetKeysCall session_set_keys = 62; + Session_PurgeKeysCall session_purge_keys = 63; + Treasury_ProposeSpendCall treasury_propose_spend = 64; + Treasury_RejectProposalCall treasury_reject_proposal = 65; + Treasury_ApproveProposalCall treasury_approve_proposal = 66; + Treasury_SpendLocalCall treasury_spend_local = 67; + Treasury_RemoveApprovalCall treasury_remove_approval = 68; + Treasury_SpendCall treasury_spend = 69; + Treasury_PayoutCall treasury_payout = 70; + Treasury_CheckStatusCall treasury_check_status = 71; + Treasury_VoidSpendCall treasury_void_spend = 72; + Utility_BatchCall utility_batch = 73; + Utility_AsDerivativeCall utility_as_derivative = 74; + Utility_BatchAllCall utility_batch_all = 75; + Utility_DispatchAsCall utility_dispatch_as = 76; + Utility_ForceBatchCall utility_force_batch = 77; + Utility_WithWeightCall utility_with_weight = 78; + ConvictionVoting_VoteCall conviction_voting_vote = 79; + ConvictionVoting_DelegateCall conviction_voting_delegate = 80; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 81; + ConvictionVoting_UnlockCall conviction_voting_unlock = 82; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 83; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 84; + Referenda_SubmitCall referenda_submit = 85; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 86; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 87; + Referenda_CancelCall referenda_cancel = 88; + Referenda_KillCall referenda_kill = 89; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 90; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 91; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 92; + Referenda_SetMetadataCall referenda_set_metadata = 93; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 94; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 95; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 96; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 97; + FellowshipCollective_VoteCall fellowship_collective_vote = 98; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 99; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 100; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 101; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 102; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 103; + FellowshipReferenda_KillCall fellowship_referenda_kill = 104; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 105; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 106; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 107; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 108; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 109; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 110; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 111; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 112; + Scheduler_ScheduleCall scheduler_schedule = 113; + Scheduler_CancelCall scheduler_cancel = 114; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 115; + Scheduler_CancelNamedCall scheduler_cancel_named = 116; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 117; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 118; + Preimage_NotePreimageCall preimage_note_preimage = 119; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 120; + Preimage_RequestPreimageCall preimage_request_preimage = 121; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 122; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 123; + Identity_AddRegistrarCall identity_add_registrar = 124; + Identity_SetIdentityCall identity_set_identity = 125; + Identity_SetSubsCall identity_set_subs = 126; + Identity_ClearIdentityCall identity_clear_identity = 127; + Identity_RequestJudgementCall identity_request_judgement = 128; + Identity_CancelRequestCall identity_cancel_request = 129; + Identity_SetFeeCall identity_set_fee = 130; + Identity_SetAccountIdCall identity_set_account_id = 131; + Identity_SetFieldsCall identity_set_fields = 132; + Identity_ProvideJudgementCall identity_provide_judgement = 133; + Identity_KillIdentityCall identity_kill_identity = 134; + Identity_AddSubCall identity_add_sub = 135; + Identity_RenameSubCall identity_rename_sub = 136; + Identity_RemoveSubCall identity_remove_sub = 137; + Identity_QuitSubCall identity_quit_sub = 138; + Proxy_ProxyCall proxy_proxy = 139; + Proxy_AddProxyCall proxy_add_proxy = 140; + Proxy_RemoveProxyCall proxy_remove_proxy = 141; + Proxy_RemoveProxiesCall proxy_remove_proxies = 142; + Proxy_CreatePureCall proxy_create_pure = 143; + Proxy_KillPureCall proxy_kill_pure = 144; + Proxy_AnnounceCall proxy_announce = 145; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 146; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 147; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 148; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 149; + Multisig_AsMultiCall multisig_as_multi = 150; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 151; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 152; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 153; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 154; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 155; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 156; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 157; + Bounties_ProposeBountyCall bounties_propose_bounty = 158; + Bounties_ApproveBountyCall bounties_approve_bounty = 159; + Bounties_ProposeCuratorCall bounties_propose_curator = 160; + Bounties_UnassignCuratorCall bounties_unassign_curator = 161; + Bounties_AcceptCuratorCall bounties_accept_curator = 162; + Bounties_AwardBountyCall bounties_award_bounty = 163; + Bounties_ClaimBountyCall bounties_claim_bounty = 164; + Bounties_CloseBountyCall bounties_close_bounty = 165; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 166; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 167; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 168; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 169; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 170; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 171; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 172; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 173; + NominationPools_JoinCall nomination_pools_join = 174; + NominationPools_BondExtraCall nomination_pools_bond_extra = 175; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 176; + NominationPools_UnbondCall nomination_pools_unbond = 177; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 178; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 179; + NominationPools_CreateCall nomination_pools_create = 180; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 181; + NominationPools_NominateCall nomination_pools_nominate = 182; + NominationPools_SetStateCall nomination_pools_set_state = 183; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 184; + NominationPools_SetConfigsCall nomination_pools_set_configs = 185; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 186; + NominationPools_ChillCall nomination_pools_chill = 187; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 188; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 189; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 190; + NominationPools_SetCommissionCall nomination_pools_set_commission = 191; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 192; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 193; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 194; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 195; + Gear_UploadCodeCall gear_upload_code = 196; + Gear_UploadProgramCall gear_upload_program = 197; + Gear_CreateProgramCall gear_create_program = 198; + Gear_SendMessageCall gear_send_message = 199; + Gear_SendReplyCall gear_send_reply = 200; + Gear_ClaimValueCall gear_claim_value = 201; + Gear_RunCall gear_run = 202; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 203; + StakingRewards_RefillCall staking_rewards_refill = 204; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 205; + StakingRewards_WithdrawCall staking_rewards_withdraw = 206; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 207; + GearVoucher_IssueCall gear_voucher_issue = 208; + GearVoucher_CallCall gear_voucher_call = 209; + GearVoucher_RevokeCall gear_voucher_revoke = 210; + GearVoucher_UpdateCall gear_voucher_update = 211; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 212; + GearVoucher_DeclineCall gear_voucher_decline = 213; + } +} +message Staking_MinCommission { + oneof value { + Staking_Noop noop = 1; + Staking_Set set = 2; + Staking_Remove remove = 3; + } } -message StakingRewards_Raw { +message FellowshipCollective_Raw { bytes value0 = 1; } -message GearVoucher_CallCall { - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 1; - GearVoucher_Call call = 2; -} -message Vesting_MergeSchedulesCall { - uint32 schedule1_index = 1; - uint32 schedule2_index = 2; -} -message Staking_Set { - string value0 = 1; -} -message ElectionProviderMultiPhase_SubmitCall { - ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution raw_solution = 1; +message Identity_Index { + Identity_CompactTupleNull value0 = 1; } -message Identity_Raw17 { +message Identity_Raw2 { bytes value0 = 1; } -message ElectionProviderMultiPhase_VaraRuntimeNposSolution16 { - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactUint32 votes1 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32 votes2 = 2; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32 votes3 = 3; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32 votes4 = 4; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32 votes5 = 5; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32 votes6 = 6; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32 votes7 = 7; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32 votes8 = 8; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32 votes9 = 9; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 votes10 = 10; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32 votes11 = 11; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32 votes12 = 12; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32 votes13 = 13; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32 votes14 = 14; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32 votes15 = 15; - repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32 votes16 = 16; -} -message Gear_UploadCodeCall { - bytes code = 1; -} -message Babe_BabeTrieNodesList { - bytes trie_nodes = 1; -} -message Balances_CompactString { - string value = 1; -} -message Treasury_Raw { +message Identity_Raw30 { bytes value0 = 1; } -message Referenda_Void { - Value0 value0 = 1; -} -message FellowshipReferenda_CancelCall { - uint32 index = 1; -} -message Staking_SetMinCommissionCall { - Staking_SpArithmeticPerThingsPerbill new = 1; -} -message Treasury_RejectProposalCall { - Treasury_CompactUint32 proposal_id = 1; -} -message ConvictionVoting_Locked6X { -} -message Scheduler_CancelCall { - uint32 when = 1; - uint32 index = 2; -} -message Scheduler_CancelNamedCall { - bytes id = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message NominationPools_Permission { +message ChildBounties_Curator { oneof value { - NominationPools_Permissioned permissioned = 1; - NominationPools_PermissionlessCompound permissionless_compound = 2; - NominationPools_PermissionlessWithdraw permissionless_withdraw = 3; - NominationPools_PermissionlessAll permissionless_all = 4; + ChildBounties_Id id = 1; + ChildBounties_Index index = 2; + ChildBounties_Raw raw = 3; + ChildBounties_Address32 address32 = 4; + ChildBounties_Address20 address20 = 5; } } -message Babe_Seal { - bytes value0 = 1; - bytes value1 = 2; -} -message BagsList_PutInFrontOfOtherCall { - BagsList_Heavier heavier = 1; - BagsList_Lighter lighter = 2; -} -message Multisig_CompactUint64 { - uint64 value = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16 value1 = 2; -} -message ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String { - ElectionProviderMultiPhase_SpCoreCryptoAccountId32 value0 = 1; - string value1 = 2; +message Balances_TransferKeepAliveCall { + Balances_Dest dest = 1; + Balances_CompactString value = 2; } -message NominationPools_MaxMembersPerPool { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } +message Gear_SetExecuteInherentCall { + bool value = 1; } -message Vesting_VestOtherCall { - Vesting_Target target = 1; +message StakingRewards_Index { + StakingRewards_CompactTupleNull value0 = 1; } -message Balances_Address32 { - bytes value0 = 1; +message ChildBounties_CloseChildBountyCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactUint32 child_bounty_id = 2; } -message Treasury_CompactString { - string value = 1; +message Identity_PalletIdentityTypesBitFlags { + uint64 fields = 1; } -message Identity_Account { +message Identity_Data { oneof value { - Identity_Id id = 1; - Identity_Index index = 2; - Identity_Raw raw = 3; - Identity_Address32 address32 = 4; - Identity_Address20 address20 = 5; + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; } } -message ChildBounties_CompactTupleNull { - ChildBounties_TupleNull value = 1; +message NominationPools_NominateCall { + uint32 pool_id = 1; + repeated NominationPools_SpCoreCryptoAccountId32 validators = 2; } -message NominationPools_MaxPools { - oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } +message Gear_GprimitivesCodeId { + bytes code_id = 1; } -message Bounties_CompactUint32 { - uint32 value = 1; +message Identity_Address20 { + bytes value0 = 1; } -message NominationPools_Root { +message Vesting_Source { oneof value { - NominationPools_Id id = 1; - NominationPools_Index index = 2; - NominationPools_Raw raw = 3; - NominationPools_Address32 address32 = 4; - NominationPools_Address20 address20 = 5; + Vesting_Id id = 1; + Vesting_Index index = 2; + Vesting_Raw raw = 3; + Vesting_Address32 address32 = 4; + Vesting_Address20 address20 = 5; } } -message Babe_Config { - oneof value { - Babe_V1 v1 = 1; +message Utility_VaraRuntimeRuntimeCall { + oneof calls { + System_RemarkCall system_remark = 1; + System_SetHeapPagesCall system_set_heap_pages = 2; + System_SetCodeCall system_set_code = 3; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 4; + System_SetStorageCall system_set_storage = 5; + System_KillStorageCall system_kill_storage = 6; + System_KillPrefixCall system_kill_prefix = 7; + System_RemarkWithEventCall system_remark_with_event = 8; + Timestamp_SetCall timestamp_set = 9; + Babe_ReportEquivocationCall babe_report_equivocation = 10; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 11; + Babe_PlanConfigChangeCall babe_plan_config_change = 12; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 13; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 14; + Grandpa_NoteStalledCall grandpa_note_stalled = 15; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 16; + Balances_ForceTransferCall balances_force_transfer = 17; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 18; + Balances_TransferAllCall balances_transfer_all = 19; + Balances_ForceUnreserveCall balances_force_unreserve = 20; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 21; + Balances_ForceSetBalanceCall balances_force_set_balance = 22; + Vesting_VestCall vesting_vest = 23; + Vesting_VestOtherCall vesting_vest_other = 24; + Vesting_VestedTransferCall vesting_vested_transfer = 25; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 26; + Vesting_MergeSchedulesCall vesting_merge_schedules = 27; + BagsList_RebagCall bags_list_rebag = 28; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 29; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 30; + ImOnline_HeartbeatCall im_online_heartbeat = 31; + Staking_BondCall staking_bond = 32; + Staking_BondExtraCall staking_bond_extra = 33; + Staking_UnbondCall staking_unbond = 34; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 35; + Staking_ValidateCall staking_validate = 36; + Staking_NominateCall staking_nominate = 37; + Staking_ChillCall staking_chill = 38; + Staking_SetPayeeCall staking_set_payee = 39; + Staking_SetControllerCall staking_set_controller = 40; + Staking_SetValidatorCountCall staking_set_validator_count = 41; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 42; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 43; + Staking_ForceNoErasCall staking_force_no_eras = 44; + Staking_ForceNewEraCall staking_force_new_era = 45; + Staking_SetInvulnerablesCall staking_set_invulnerables = 46; + Staking_ForceUnstakeCall staking_force_unstake = 47; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 48; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 49; + Staking_PayoutStakersCall staking_payout_stakers = 50; + Staking_RebondCall staking_rebond = 51; + Staking_ReapStashCall staking_reap_stash = 52; + Staking_KickCall staking_kick = 53; + Staking_SetStakingConfigsCall staking_set_staking_configs = 54; + Staking_ChillOtherCall staking_chill_other = 55; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 56; + Staking_SetMinCommissionCall staking_set_min_commission = 57; + Session_SetKeysCall session_set_keys = 58; + Session_PurgeKeysCall session_purge_keys = 59; + Treasury_ProposeSpendCall treasury_propose_spend = 60; + Treasury_RejectProposalCall treasury_reject_proposal = 61; + Treasury_ApproveProposalCall treasury_approve_proposal = 62; + Treasury_SpendLocalCall treasury_spend_local = 63; + Treasury_RemoveApprovalCall treasury_remove_approval = 64; + Treasury_SpendCall treasury_spend = 65; + Treasury_PayoutCall treasury_payout = 66; + Treasury_CheckStatusCall treasury_check_status = 67; + Treasury_VoidSpendCall treasury_void_spend = 68; + Utility_BatchCall utility_batch = 69; + Utility_AsDerivativeCall utility_as_derivative = 70; + Utility_BatchAllCall utility_batch_all = 71; + Utility_DispatchAsCall utility_dispatch_as = 72; + Utility_ForceBatchCall utility_force_batch = 73; + Utility_WithWeightCall utility_with_weight = 74; + ConvictionVoting_VoteCall conviction_voting_vote = 75; + ConvictionVoting_DelegateCall conviction_voting_delegate = 76; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 77; + ConvictionVoting_UnlockCall conviction_voting_unlock = 78; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 79; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 80; + Referenda_SubmitCall referenda_submit = 81; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 82; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 83; + Referenda_CancelCall referenda_cancel = 84; + Referenda_KillCall referenda_kill = 85; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 86; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 87; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 88; + Referenda_SetMetadataCall referenda_set_metadata = 89; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 90; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 91; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 92; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 93; + FellowshipCollective_VoteCall fellowship_collective_vote = 94; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 95; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 96; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 97; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 98; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 99; + FellowshipReferenda_KillCall fellowship_referenda_kill = 100; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 101; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 102; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 103; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 104; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 105; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 106; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 107; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 108; + Scheduler_ScheduleCall scheduler_schedule = 109; + Scheduler_CancelCall scheduler_cancel = 110; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 111; + Scheduler_CancelNamedCall scheduler_cancel_named = 112; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 113; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 114; + Preimage_NotePreimageCall preimage_note_preimage = 115; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 116; + Preimage_RequestPreimageCall preimage_request_preimage = 117; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 118; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 119; + Identity_AddRegistrarCall identity_add_registrar = 120; + Identity_SetIdentityCall identity_set_identity = 121; + Identity_SetSubsCall identity_set_subs = 122; + Identity_ClearIdentityCall identity_clear_identity = 123; + Identity_RequestJudgementCall identity_request_judgement = 124; + Identity_CancelRequestCall identity_cancel_request = 125; + Identity_SetFeeCall identity_set_fee = 126; + Identity_SetAccountIdCall identity_set_account_id = 127; + Identity_SetFieldsCall identity_set_fields = 128; + Identity_ProvideJudgementCall identity_provide_judgement = 129; + Identity_KillIdentityCall identity_kill_identity = 130; + Identity_AddSubCall identity_add_sub = 131; + Identity_RenameSubCall identity_rename_sub = 132; + Identity_RemoveSubCall identity_remove_sub = 133; + Identity_QuitSubCall identity_quit_sub = 134; + Proxy_ProxyCall proxy_proxy = 135; + Proxy_AddProxyCall proxy_add_proxy = 136; + Proxy_RemoveProxyCall proxy_remove_proxy = 137; + Proxy_RemoveProxiesCall proxy_remove_proxies = 138; + Proxy_CreatePureCall proxy_create_pure = 139; + Proxy_KillPureCall proxy_kill_pure = 140; + Proxy_AnnounceCall proxy_announce = 141; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 142; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 143; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 144; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 145; + Multisig_AsMultiCall multisig_as_multi = 146; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 147; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 148; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 149; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 150; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 151; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 152; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 153; + Bounties_ProposeBountyCall bounties_propose_bounty = 154; + Bounties_ApproveBountyCall bounties_approve_bounty = 155; + Bounties_ProposeCuratorCall bounties_propose_curator = 156; + Bounties_UnassignCuratorCall bounties_unassign_curator = 157; + Bounties_AcceptCuratorCall bounties_accept_curator = 158; + Bounties_AwardBountyCall bounties_award_bounty = 159; + Bounties_ClaimBountyCall bounties_claim_bounty = 160; + Bounties_CloseBountyCall bounties_close_bounty = 161; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 162; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 163; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 164; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 165; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 166; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 167; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 168; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 169; + NominationPools_JoinCall nomination_pools_join = 170; + NominationPools_BondExtraCall nomination_pools_bond_extra = 171; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 172; + NominationPools_UnbondCall nomination_pools_unbond = 173; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 174; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 175; + NominationPools_CreateCall nomination_pools_create = 176; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 177; + NominationPools_NominateCall nomination_pools_nominate = 178; + NominationPools_SetStateCall nomination_pools_set_state = 179; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 180; + NominationPools_SetConfigsCall nomination_pools_set_configs = 181; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 182; + NominationPools_ChillCall nomination_pools_chill = 183; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 184; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 185; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 186; + NominationPools_SetCommissionCall nomination_pools_set_commission = 187; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 188; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 189; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 190; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 191; + Gear_UploadCodeCall gear_upload_code = 192; + Gear_UploadProgramCall gear_upload_program = 193; + Gear_CreateProgramCall gear_create_program = 194; + Gear_SendMessageCall gear_send_message = 195; + Gear_SendReplyCall gear_send_reply = 196; + Gear_ClaimValueCall gear_claim_value = 197; + Gear_RunCall gear_run = 198; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 199; + StakingRewards_RefillCall staking_rewards_refill = 200; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 201; + StakingRewards_WithdrawCall staking_rewards_withdraw = 202; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 203; + GearVoucher_IssueCall gear_voucher_issue = 204; + GearVoucher_CallCall gear_voucher_call = 205; + GearVoucher_RevokeCall gear_voucher_revoke = 206; + GearVoucher_UpdateCall gear_voucher_update = 207; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 208; + GearVoucher_DeclineCall gear_voucher_decline = 209; } } -message ImOnline_PalletImOnlineSr25519AppSr25519Signature { - ImOnline_SpCoreSr25519Signature signature = 1; -} message ConvictionVoting_RemoveVoteCall { optional uint32 class = 1; uint32 index = 2; } -message Identity_Raw25 { - bytes value0 = 1; -} -message Identity_SpCoreCryptoAccountId32 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message NominationPools_Blocked { -} -message NominationPools_MaxMembers { +message Proxy_ProxyType { oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; - } -} -message StakingRewards_Address32 { - bytes value0 = 1; -} -message Utility_DispatchAsCall { - Utility_AsOrigin as_origin = 1; - oneof call { - System_RemarkCall system_remark = 2; - System_SetHeapPagesCall system_set_heap_pages = 3; - System_SetCodeCall system_set_code = 4; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 5; - System_SetStorageCall system_set_storage = 6; - System_KillStorageCall system_kill_storage = 7; - System_KillPrefixCall system_kill_prefix = 8; - System_RemarkWithEventCall system_remark_with_event = 9; - Timestamp_SetCall timestamp_set = 10; - Babe_ReportEquivocationCall babe_report_equivocation = 11; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 12; - Babe_PlanConfigChangeCall babe_plan_config_change = 13; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 14; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 15; - Grandpa_NoteStalledCall grandpa_note_stalled = 16; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 17; - Balances_ForceTransferCall balances_force_transfer = 18; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 19; - Balances_TransferAllCall balances_transfer_all = 20; - Balances_ForceUnreserveCall balances_force_unreserve = 21; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 22; - Balances_ForceSetBalanceCall balances_force_set_balance = 23; - Vesting_VestCall vesting_vest = 24; - Vesting_VestOtherCall vesting_vest_other = 25; - Vesting_VestedTransferCall vesting_vested_transfer = 26; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 27; - Vesting_MergeSchedulesCall vesting_merge_schedules = 28; - BagsList_RebagCall bags_list_rebag = 29; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 30; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 31; - ImOnline_HeartbeatCall im_online_heartbeat = 32; - Staking_BondCall staking_bond = 33; - Staking_BondExtraCall staking_bond_extra = 34; - Staking_UnbondCall staking_unbond = 35; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 36; - Staking_ValidateCall staking_validate = 37; - Staking_NominateCall staking_nominate = 38; - Staking_ChillCall staking_chill = 39; - Staking_SetPayeeCall staking_set_payee = 40; - Staking_SetControllerCall staking_set_controller = 41; - Staking_SetValidatorCountCall staking_set_validator_count = 42; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 43; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 44; - Staking_ForceNoErasCall staking_force_no_eras = 45; - Staking_ForceNewEraCall staking_force_new_era = 46; - Staking_SetInvulnerablesCall staking_set_invulnerables = 47; - Staking_ForceUnstakeCall staking_force_unstake = 48; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 49; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 50; - Staking_PayoutStakersCall staking_payout_stakers = 51; - Staking_RebondCall staking_rebond = 52; - Staking_ReapStashCall staking_reap_stash = 53; - Staking_KickCall staking_kick = 54; - Staking_SetStakingConfigsCall staking_set_staking_configs = 55; - Staking_ChillOtherCall staking_chill_other = 56; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 57; - Staking_SetMinCommissionCall staking_set_min_commission = 58; - Session_SetKeysCall session_set_keys = 59; - Session_PurgeKeysCall session_purge_keys = 60; - Treasury_ProposeSpendCall treasury_propose_spend = 61; - Treasury_RejectProposalCall treasury_reject_proposal = 62; - Treasury_ApproveProposalCall treasury_approve_proposal = 63; - Treasury_SpendLocalCall treasury_spend_local = 64; - Treasury_RemoveApprovalCall treasury_remove_approval = 65; - Treasury_SpendCall treasury_spend = 66; - Treasury_PayoutCall treasury_payout = 67; - Treasury_CheckStatusCall treasury_check_status = 68; - Treasury_VoidSpendCall treasury_void_spend = 69; - Utility_BatchCall utility_batch = 70; - Utility_AsDerivativeCall utility_as_derivative = 71; - Utility_BatchAllCall utility_batch_all = 72; - Utility_DispatchAsCall utility_dispatch_as = 73; - Utility_ForceBatchCall utility_force_batch = 74; - Utility_WithWeightCall utility_with_weight = 75; - ConvictionVoting_VoteCall conviction_voting_vote = 76; - ConvictionVoting_DelegateCall conviction_voting_delegate = 77; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 78; - ConvictionVoting_UnlockCall conviction_voting_unlock = 79; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 80; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 81; - Referenda_SubmitCall referenda_submit = 82; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 83; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 84; - Referenda_CancelCall referenda_cancel = 85; - Referenda_KillCall referenda_kill = 86; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 87; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 88; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 89; - Referenda_SetMetadataCall referenda_set_metadata = 90; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 91; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 92; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 93; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 94; - FellowshipCollective_VoteCall fellowship_collective_vote = 95; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 96; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 97; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 98; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 99; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 100; - FellowshipReferenda_KillCall fellowship_referenda_kill = 101; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 102; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 103; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 104; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 105; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 106; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 107; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 108; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 109; - Scheduler_ScheduleCall scheduler_schedule = 110; - Scheduler_CancelCall scheduler_cancel = 111; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 112; - Scheduler_CancelNamedCall scheduler_cancel_named = 113; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 114; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 115; - Preimage_NotePreimageCall preimage_note_preimage = 116; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 117; - Preimage_RequestPreimageCall preimage_request_preimage = 118; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 119; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 120; - Identity_AddRegistrarCall identity_add_registrar = 121; - Identity_SetIdentityCall identity_set_identity = 122; - Identity_SetSubsCall identity_set_subs = 123; - Identity_ClearIdentityCall identity_clear_identity = 124; - Identity_RequestJudgementCall identity_request_judgement = 125; - Identity_CancelRequestCall identity_cancel_request = 126; - Identity_SetFeeCall identity_set_fee = 127; - Identity_SetAccountIdCall identity_set_account_id = 128; - Identity_SetFieldsCall identity_set_fields = 129; - Identity_ProvideJudgementCall identity_provide_judgement = 130; - Identity_KillIdentityCall identity_kill_identity = 131; - Identity_AddSubCall identity_add_sub = 132; - Identity_RenameSubCall identity_rename_sub = 133; - Identity_RemoveSubCall identity_remove_sub = 134; - Identity_QuitSubCall identity_quit_sub = 135; - Proxy_ProxyCall proxy_proxy = 136; - Proxy_AddProxyCall proxy_add_proxy = 137; - Proxy_RemoveProxyCall proxy_remove_proxy = 138; - Proxy_RemoveProxiesCall proxy_remove_proxies = 139; - Proxy_CreatePureCall proxy_create_pure = 140; - Proxy_KillPureCall proxy_kill_pure = 141; - Proxy_AnnounceCall proxy_announce = 142; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 143; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 144; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 145; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 146; - Multisig_AsMultiCall multisig_as_multi = 147; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 148; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 149; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 150; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 151; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 152; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 153; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 154; - Bounties_ProposeBountyCall bounties_propose_bounty = 155; - Bounties_ApproveBountyCall bounties_approve_bounty = 156; - Bounties_ProposeCuratorCall bounties_propose_curator = 157; - Bounties_UnassignCuratorCall bounties_unassign_curator = 158; - Bounties_AcceptCuratorCall bounties_accept_curator = 159; - Bounties_AwardBountyCall bounties_award_bounty = 160; - Bounties_ClaimBountyCall bounties_claim_bounty = 161; - Bounties_CloseBountyCall bounties_close_bounty = 162; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 163; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 164; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 165; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 166; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 167; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 168; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 169; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 170; - NominationPools_JoinCall nomination_pools_join = 171; - NominationPools_BondExtraCall nomination_pools_bond_extra = 172; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 173; - NominationPools_UnbondCall nomination_pools_unbond = 174; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 175; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 176; - NominationPools_CreateCall nomination_pools_create = 177; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 178; - NominationPools_NominateCall nomination_pools_nominate = 179; - NominationPools_SetStateCall nomination_pools_set_state = 180; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 181; - NominationPools_SetConfigsCall nomination_pools_set_configs = 182; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 183; - NominationPools_ChillCall nomination_pools_chill = 184; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 185; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 186; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 187; - NominationPools_SetCommissionCall nomination_pools_set_commission = 188; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 189; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 190; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 191; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 192; - Gear_UploadCodeCall gear_upload_code = 193; - Gear_UploadProgramCall gear_upload_program = 194; - Gear_CreateProgramCall gear_create_program = 195; - Gear_SendMessageCall gear_send_message = 196; - Gear_SendReplyCall gear_send_reply = 197; - Gear_ClaimValueCall gear_claim_value = 198; - Gear_RunCall gear_run = 199; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 200; - StakingRewards_RefillCall staking_rewards_refill = 201; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 202; - StakingRewards_WithdrawCall staking_rewards_withdraw = 203; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 204; - GearVoucher_IssueCall gear_voucher_issue = 205; - GearVoucher_CallCall gear_voucher_call = 206; - GearVoucher_RevokeCall gear_voucher_revoke = 207; - GearVoucher_UpdateCall gear_voucher_update = 208; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 209; - GearVoucher_DeclineCall gear_voucher_decline = 210; + Proxy_Any any = 1; + Proxy_NonTransfer non_transfer = 2; + Proxy_Governance governance = 3; + Proxy_Staking staking = 4; + Proxy_IdentityJudgement identity_judgement = 5; + Proxy_CancelProxy cancel_proxy = 6; + } +} +message TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature { + FinalityGrandpaPrevote value0 = 1; + SpConsensusGrandpaAppSignature value1 = 2; +} +message ConvictionVoting_Vote { + oneof value { + ConvictionVoting_Standard standard = 1; + ConvictionVoting_Split split = 2; + ConvictionVoting_SplitAbstain split_abstain = 3; + } +} +message Identity_Raw0 { + bytes value0 = 1; +} +message Identity_ProvideJudgementCall { + Identity_CompactUint32 reg_index = 1; + Identity_Target target = 2; + Identity_Judgement judgement = 3; + Identity_PrimitiveTypesH256 identity = 4; +} +message NominationPools_TupleNull { +} +message GearVoucher_DeclineVoucher { +} +message SpCoreEd25519Public { + bytes identity = 1; +} +message Identity_BlakeTwo256 { + bytes value0 = 1; +} +message GearVoucher_SpCoreCryptoAccountId32 { + bytes spender = 1; +} +message Staking_SpCoreCryptoAccountId32 { + Staking_SpCoreCryptoAccountId32 invulnerables = 1; +} +message Staking_KickCall { + repeated Staking_SpRuntimeMultiaddressMultiAddress who = 1; +} +message Identity_SetFieldsCall { + Identity_CompactUint32 index = 1; + Identity_PalletIdentityTypesBitFlags fields = 2; +} +message Multisig_AsMultiCall { + uint32 threshold = 1; + repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 2; + optional Multisig_PalletMultisigTimepoint maybe_timepoint = 3; + oneof call { + System_RemarkCall system_remark = 4; + System_SetHeapPagesCall system_set_heap_pages = 5; + System_SetCodeCall system_set_code = 6; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 7; + System_SetStorageCall system_set_storage = 8; + System_KillStorageCall system_kill_storage = 9; + System_KillPrefixCall system_kill_prefix = 10; + System_RemarkWithEventCall system_remark_with_event = 11; + Timestamp_SetCall timestamp_set = 12; + Babe_ReportEquivocationCall babe_report_equivocation = 13; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 14; + Babe_PlanConfigChangeCall babe_plan_config_change = 15; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 16; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 17; + Grandpa_NoteStalledCall grandpa_note_stalled = 18; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 19; + Balances_ForceTransferCall balances_force_transfer = 20; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 21; + Balances_TransferAllCall balances_transfer_all = 22; + Balances_ForceUnreserveCall balances_force_unreserve = 23; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 24; + Balances_ForceSetBalanceCall balances_force_set_balance = 25; + Vesting_VestCall vesting_vest = 26; + Vesting_VestOtherCall vesting_vest_other = 27; + Vesting_VestedTransferCall vesting_vested_transfer = 28; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 29; + Vesting_MergeSchedulesCall vesting_merge_schedules = 30; + BagsList_RebagCall bags_list_rebag = 31; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 32; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 33; + ImOnline_HeartbeatCall im_online_heartbeat = 34; + Staking_BondCall staking_bond = 35; + Staking_BondExtraCall staking_bond_extra = 36; + Staking_UnbondCall staking_unbond = 37; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 38; + Staking_ValidateCall staking_validate = 39; + Staking_NominateCall staking_nominate = 40; + Staking_ChillCall staking_chill = 41; + Staking_SetPayeeCall staking_set_payee = 42; + Staking_SetControllerCall staking_set_controller = 43; + Staking_SetValidatorCountCall staking_set_validator_count = 44; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 45; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 46; + Staking_ForceNoErasCall staking_force_no_eras = 47; + Staking_ForceNewEraCall staking_force_new_era = 48; + Staking_SetInvulnerablesCall staking_set_invulnerables = 49; + Staking_ForceUnstakeCall staking_force_unstake = 50; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 51; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 52; + Staking_PayoutStakersCall staking_payout_stakers = 53; + Staking_RebondCall staking_rebond = 54; + Staking_ReapStashCall staking_reap_stash = 55; + Staking_KickCall staking_kick = 56; + Staking_SetStakingConfigsCall staking_set_staking_configs = 57; + Staking_ChillOtherCall staking_chill_other = 58; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 59; + Staking_SetMinCommissionCall staking_set_min_commission = 60; + Session_SetKeysCall session_set_keys = 61; + Session_PurgeKeysCall session_purge_keys = 62; + Treasury_ProposeSpendCall treasury_propose_spend = 63; + Treasury_RejectProposalCall treasury_reject_proposal = 64; + Treasury_ApproveProposalCall treasury_approve_proposal = 65; + Treasury_SpendLocalCall treasury_spend_local = 66; + Treasury_RemoveApprovalCall treasury_remove_approval = 67; + Treasury_SpendCall treasury_spend = 68; + Treasury_PayoutCall treasury_payout = 69; + Treasury_CheckStatusCall treasury_check_status = 70; + Treasury_VoidSpendCall treasury_void_spend = 71; + Utility_BatchCall utility_batch = 72; + Utility_AsDerivativeCall utility_as_derivative = 73; + Utility_BatchAllCall utility_batch_all = 74; + Utility_DispatchAsCall utility_dispatch_as = 75; + Utility_ForceBatchCall utility_force_batch = 76; + Utility_WithWeightCall utility_with_weight = 77; + ConvictionVoting_VoteCall conviction_voting_vote = 78; + ConvictionVoting_DelegateCall conviction_voting_delegate = 79; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 80; + ConvictionVoting_UnlockCall conviction_voting_unlock = 81; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 82; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 83; + Referenda_SubmitCall referenda_submit = 84; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 85; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 86; + Referenda_CancelCall referenda_cancel = 87; + Referenda_KillCall referenda_kill = 88; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 89; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 90; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 91; + Referenda_SetMetadataCall referenda_set_metadata = 92; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 93; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 94; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 95; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 96; + FellowshipCollective_VoteCall fellowship_collective_vote = 97; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 98; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 99; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 100; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 101; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 102; + FellowshipReferenda_KillCall fellowship_referenda_kill = 103; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 104; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 105; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 106; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 107; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 108; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 109; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 110; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 111; + Scheduler_ScheduleCall scheduler_schedule = 112; + Scheduler_CancelCall scheduler_cancel = 113; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 114; + Scheduler_CancelNamedCall scheduler_cancel_named = 115; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 116; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 117; + Preimage_NotePreimageCall preimage_note_preimage = 118; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 119; + Preimage_RequestPreimageCall preimage_request_preimage = 120; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 121; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 122; + Identity_AddRegistrarCall identity_add_registrar = 123; + Identity_SetIdentityCall identity_set_identity = 124; + Identity_SetSubsCall identity_set_subs = 125; + Identity_ClearIdentityCall identity_clear_identity = 126; + Identity_RequestJudgementCall identity_request_judgement = 127; + Identity_CancelRequestCall identity_cancel_request = 128; + Identity_SetFeeCall identity_set_fee = 129; + Identity_SetAccountIdCall identity_set_account_id = 130; + Identity_SetFieldsCall identity_set_fields = 131; + Identity_ProvideJudgementCall identity_provide_judgement = 132; + Identity_KillIdentityCall identity_kill_identity = 133; + Identity_AddSubCall identity_add_sub = 134; + Identity_RenameSubCall identity_rename_sub = 135; + Identity_RemoveSubCall identity_remove_sub = 136; + Identity_QuitSubCall identity_quit_sub = 137; + Proxy_ProxyCall proxy_proxy = 138; + Proxy_AddProxyCall proxy_add_proxy = 139; + Proxy_RemoveProxyCall proxy_remove_proxy = 140; + Proxy_RemoveProxiesCall proxy_remove_proxies = 141; + Proxy_CreatePureCall proxy_create_pure = 142; + Proxy_KillPureCall proxy_kill_pure = 143; + Proxy_AnnounceCall proxy_announce = 144; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 145; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 146; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 147; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 148; + Multisig_AsMultiCall multisig_as_multi = 149; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 150; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 151; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 152; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 153; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 154; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 155; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 156; + Bounties_ProposeBountyCall bounties_propose_bounty = 157; + Bounties_ApproveBountyCall bounties_approve_bounty = 158; + Bounties_ProposeCuratorCall bounties_propose_curator = 159; + Bounties_UnassignCuratorCall bounties_unassign_curator = 160; + Bounties_AcceptCuratorCall bounties_accept_curator = 161; + Bounties_AwardBountyCall bounties_award_bounty = 162; + Bounties_ClaimBountyCall bounties_claim_bounty = 163; + Bounties_CloseBountyCall bounties_close_bounty = 164; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 165; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 166; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 167; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 168; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 169; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 170; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 171; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 172; + NominationPools_JoinCall nomination_pools_join = 173; + NominationPools_BondExtraCall nomination_pools_bond_extra = 174; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 175; + NominationPools_UnbondCall nomination_pools_unbond = 176; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 177; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 178; + NominationPools_CreateCall nomination_pools_create = 179; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 180; + NominationPools_NominateCall nomination_pools_nominate = 181; + NominationPools_SetStateCall nomination_pools_set_state = 182; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 183; + NominationPools_SetConfigsCall nomination_pools_set_configs = 184; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 185; + NominationPools_ChillCall nomination_pools_chill = 186; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 187; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 188; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 189; + NominationPools_SetCommissionCall nomination_pools_set_commission = 190; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 191; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 192; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 193; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 194; + Gear_UploadCodeCall gear_upload_code = 195; + Gear_UploadProgramCall gear_upload_program = 196; + Gear_CreateProgramCall gear_create_program = 197; + Gear_SendMessageCall gear_send_message = 198; + Gear_SendReplyCall gear_send_reply = 199; + Gear_ClaimValueCall gear_claim_value = 200; + Gear_RunCall gear_run = 201; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 202; + StakingRewards_RefillCall staking_rewards_refill = 203; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 204; + StakingRewards_WithdrawCall staking_rewards_withdraw = 205; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 206; + GearVoucher_IssueCall gear_voucher_issue = 207; + GearVoucher_CallCall gear_voucher_call = 208; + GearVoucher_RevokeCall gear_voucher_revoke = 209; + GearVoucher_UpdateCall gear_voucher_update = 210; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 211; + GearVoucher_DeclineCall gear_voucher_decline = 212; } + Multisig_SpWeightsWeightV2Weight max_weight = 213; } -message Identity_None { +message StakingRewards_ForceRefillCall { + StakingRewards_From from = 1; + string value = 2; } -message Identity_Raw31 { - bytes value0 = 1; +message GearVoucher_SendReply { + GprimitivesMessageId reply_to_id = 1; + bytes payload = 2; + uint64 gas_limit = 3; + string value = 4; + bool keep_alive = 5; } -message NominationPools_SetClaimPermissionCall { - NominationPools_Permission permission = 1; +message BTreeSet { + repeated GprimitivesActorId value0 = 1; } -message Staking_WithdrawUnbondedCall { - uint32 num_slashing_spans = 1; +message GearVoucher_AppendPrograms { + oneof value { + GearVoucher_None none = 1; + GearVoucher_Some some = 2; + } } -message Staking_CancelDeferredSlashCall { - uint32 era = 1; - repeated uint32 slash_indices = 2; +message Timestamp_SetCall { + Timestamp_CompactUint64 now = 1; } -message Referenda_CancelCall { - uint32 index = 1; +message Staking_PalletStakingValidatorPrefs { + Staking_CompactSpArithmeticPerThingsPerbill commission = 1; + bool blocked = 2; } -message Scheduler_ScheduleNamedAfterCall { - bytes id = 1; - uint32 after = 2; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 3; - uint32 priority = 4; - oneof call { - System_RemarkCall system_remark = 5; - System_SetHeapPagesCall system_set_heap_pages = 6; - System_SetCodeCall system_set_code = 7; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 8; - System_SetStorageCall system_set_storage = 9; - System_KillStorageCall system_kill_storage = 10; - System_KillPrefixCall system_kill_prefix = 11; - System_RemarkWithEventCall system_remark_with_event = 12; - Timestamp_SetCall timestamp_set = 13; - Babe_ReportEquivocationCall babe_report_equivocation = 14; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 15; - Babe_PlanConfigChangeCall babe_plan_config_change = 16; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 17; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 18; - Grandpa_NoteStalledCall grandpa_note_stalled = 19; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 20; - Balances_ForceTransferCall balances_force_transfer = 21; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 22; - Balances_TransferAllCall balances_transfer_all = 23; - Balances_ForceUnreserveCall balances_force_unreserve = 24; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 25; - Balances_ForceSetBalanceCall balances_force_set_balance = 26; - Vesting_VestCall vesting_vest = 27; - Vesting_VestOtherCall vesting_vest_other = 28; - Vesting_VestedTransferCall vesting_vested_transfer = 29; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 30; - Vesting_MergeSchedulesCall vesting_merge_schedules = 31; - BagsList_RebagCall bags_list_rebag = 32; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 33; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 34; - ImOnline_HeartbeatCall im_online_heartbeat = 35; - Staking_BondCall staking_bond = 36; - Staking_BondExtraCall staking_bond_extra = 37; - Staking_UnbondCall staking_unbond = 38; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 39; - Staking_ValidateCall staking_validate = 40; - Staking_NominateCall staking_nominate = 41; - Staking_ChillCall staking_chill = 42; - Staking_SetPayeeCall staking_set_payee = 43; - Staking_SetControllerCall staking_set_controller = 44; - Staking_SetValidatorCountCall staking_set_validator_count = 45; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 46; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 47; - Staking_ForceNoErasCall staking_force_no_eras = 48; - Staking_ForceNewEraCall staking_force_new_era = 49; - Staking_SetInvulnerablesCall staking_set_invulnerables = 50; - Staking_ForceUnstakeCall staking_force_unstake = 51; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 52; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 53; - Staking_PayoutStakersCall staking_payout_stakers = 54; - Staking_RebondCall staking_rebond = 55; - Staking_ReapStashCall staking_reap_stash = 56; - Staking_KickCall staking_kick = 57; - Staking_SetStakingConfigsCall staking_set_staking_configs = 58; - Staking_ChillOtherCall staking_chill_other = 59; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 60; - Staking_SetMinCommissionCall staking_set_min_commission = 61; - Session_SetKeysCall session_set_keys = 62; - Session_PurgeKeysCall session_purge_keys = 63; - Treasury_ProposeSpendCall treasury_propose_spend = 64; - Treasury_RejectProposalCall treasury_reject_proposal = 65; - Treasury_ApproveProposalCall treasury_approve_proposal = 66; - Treasury_SpendLocalCall treasury_spend_local = 67; - Treasury_RemoveApprovalCall treasury_remove_approval = 68; - Treasury_SpendCall treasury_spend = 69; - Treasury_PayoutCall treasury_payout = 70; - Treasury_CheckStatusCall treasury_check_status = 71; - Treasury_VoidSpendCall treasury_void_spend = 72; - Utility_BatchCall utility_batch = 73; - Utility_AsDerivativeCall utility_as_derivative = 74; - Utility_BatchAllCall utility_batch_all = 75; - Utility_DispatchAsCall utility_dispatch_as = 76; - Utility_ForceBatchCall utility_force_batch = 77; - Utility_WithWeightCall utility_with_weight = 78; - ConvictionVoting_VoteCall conviction_voting_vote = 79; - ConvictionVoting_DelegateCall conviction_voting_delegate = 80; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 81; - ConvictionVoting_UnlockCall conviction_voting_unlock = 82; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 83; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 84; - Referenda_SubmitCall referenda_submit = 85; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 86; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 87; - Referenda_CancelCall referenda_cancel = 88; - Referenda_KillCall referenda_kill = 89; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 90; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 91; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 92; - Referenda_SetMetadataCall referenda_set_metadata = 93; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 94; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 95; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 96; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 97; - FellowshipCollective_VoteCall fellowship_collective_vote = 98; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 99; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 100; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 101; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 102; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 103; - FellowshipReferenda_KillCall fellowship_referenda_kill = 104; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 105; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 106; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 107; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 108; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 109; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 110; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 111; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 112; - Scheduler_ScheduleCall scheduler_schedule = 113; - Scheduler_CancelCall scheduler_cancel = 114; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 115; - Scheduler_CancelNamedCall scheduler_cancel_named = 116; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 117; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 118; - Preimage_NotePreimageCall preimage_note_preimage = 119; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 120; - Preimage_RequestPreimageCall preimage_request_preimage = 121; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 122; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 123; - Identity_AddRegistrarCall identity_add_registrar = 124; - Identity_SetIdentityCall identity_set_identity = 125; - Identity_SetSubsCall identity_set_subs = 126; - Identity_ClearIdentityCall identity_clear_identity = 127; - Identity_RequestJudgementCall identity_request_judgement = 128; - Identity_CancelRequestCall identity_cancel_request = 129; - Identity_SetFeeCall identity_set_fee = 130; - Identity_SetAccountIdCall identity_set_account_id = 131; - Identity_SetFieldsCall identity_set_fields = 132; - Identity_ProvideJudgementCall identity_provide_judgement = 133; - Identity_KillIdentityCall identity_kill_identity = 134; - Identity_AddSubCall identity_add_sub = 135; - Identity_RenameSubCall identity_rename_sub = 136; - Identity_RemoveSubCall identity_remove_sub = 137; - Identity_QuitSubCall identity_quit_sub = 138; - Proxy_ProxyCall proxy_proxy = 139; - Proxy_AddProxyCall proxy_add_proxy = 140; - Proxy_RemoveProxyCall proxy_remove_proxy = 141; - Proxy_RemoveProxiesCall proxy_remove_proxies = 142; - Proxy_CreatePureCall proxy_create_pure = 143; - Proxy_KillPureCall proxy_kill_pure = 144; - Proxy_AnnounceCall proxy_announce = 145; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 146; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 147; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 148; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 149; - Multisig_AsMultiCall multisig_as_multi = 150; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 151; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 152; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 153; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 154; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 155; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 156; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 157; - Bounties_ProposeBountyCall bounties_propose_bounty = 158; - Bounties_ApproveBountyCall bounties_approve_bounty = 159; - Bounties_ProposeCuratorCall bounties_propose_curator = 160; - Bounties_UnassignCuratorCall bounties_unassign_curator = 161; - Bounties_AcceptCuratorCall bounties_accept_curator = 162; - Bounties_AwardBountyCall bounties_award_bounty = 163; - Bounties_ClaimBountyCall bounties_claim_bounty = 164; - Bounties_CloseBountyCall bounties_close_bounty = 165; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 166; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 167; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 168; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 169; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 170; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 171; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 172; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 173; - NominationPools_JoinCall nomination_pools_join = 174; - NominationPools_BondExtraCall nomination_pools_bond_extra = 175; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 176; - NominationPools_UnbondCall nomination_pools_unbond = 177; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 178; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 179; - NominationPools_CreateCall nomination_pools_create = 180; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 181; - NominationPools_NominateCall nomination_pools_nominate = 182; - NominationPools_SetStateCall nomination_pools_set_state = 183; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 184; - NominationPools_SetConfigsCall nomination_pools_set_configs = 185; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 186; - NominationPools_ChillCall nomination_pools_chill = 187; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 188; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 189; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 190; - NominationPools_SetCommissionCall nomination_pools_set_commission = 191; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 192; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 193; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 194; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 195; - Gear_UploadCodeCall gear_upload_code = 196; - Gear_UploadProgramCall gear_upload_program = 197; - Gear_CreateProgramCall gear_create_program = 198; - Gear_SendMessageCall gear_send_message = 199; - Gear_SendReplyCall gear_send_reply = 200; - Gear_ClaimValueCall gear_claim_value = 201; - Gear_RunCall gear_run = 202; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 203; - StakingRewards_RefillCall staking_rewards_refill = 204; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 205; - StakingRewards_WithdrawCall staking_rewards_withdraw = 206; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 207; - GearVoucher_IssueCall gear_voucher_issue = 208; - GearVoucher_CallCall gear_voucher_call = 209; - GearVoucher_RevokeCall gear_voucher_revoke = 210; - GearVoucher_UpdateCall gear_voucher_update = 211; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 212; - GearVoucher_DeclineCall gear_voucher_decline = 213; +message ConvictionVoting_Standard { + conviction_voting_PalletConvictionVotingVoteVote vote = 1; + string balance = 2; +} +message Referenda_CancelCall { + uint32 index = 1; +} +message Identity_Raw18 { + bytes value0 = 1; +} +message Proxy_Real { + oneof value { + Proxy_Id id = 1; + Proxy_Index index = 2; + Proxy_Raw raw = 3; + Proxy_Address32 address32 = 4; + Proxy_Address20 address20 = 5; } } -message Identity_Id { - SpCoreCryptoAccountId32 value0 = 1; +message Proxy_CancelProxy { } -message Proxy_Spawner { +message Proxy_Delegate { oneof value { Proxy_Id id = 1; Proxy_Index index = 2; @@ -3719,774 +3627,840 @@ message Proxy_Spawner { Proxy_Address20 address20 = 5; } } -message Treasury_Address20 { - bytes value0 = 1; +message System_KillStorageCall { + repeated System_SystemKeysList keys = 1; } -message ConvictionVoting_Target { +message NominationPools_Remove { +} +message NominationPools_UpdateRolesCall { + uint32 pool_id = 1; + NominationPools_NewRoot new_root = 2; + NominationPools_NewNominator new_nominator = 3; + NominationPools_NewBouncer new_bouncer = 4; +} +message NominationPools_PermissionlessWithdraw { +} +message NominationPools_SetCommissionChangeRateCall { + uint32 pool_id = 1; + NominationPools_PalletNominationPoolsCommissionChangeRate change_rate = 2; +} +message Gear_SendReplyCall { + Gear_GprimitivesMessageId reply_to_id = 1; + bytes payload = 2; + uint64 gas_limit = 3; + string value = 4; + bool keep_alive = 5; +} +message NominationPools_Root { oneof value { - ConvictionVoting_Id id = 1; - ConvictionVoting_Index index = 2; - ConvictionVoting_Raw raw = 3; - ConvictionVoting_Address32 address32 = 4; - ConvictionVoting_Address20 address20 = 5; + NominationPools_Id id = 1; + NominationPools_Index index = 2; + NominationPools_Raw raw = 3; + NominationPools_Address32 address32 = 4; + NominationPools_Address20 address20 = 5; + } +} +message Staking_ChillCall { +} +message Staking_RebondCall { + Staking_CompactString value = 1; +} +message Proxy_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message ChildBounties_CompactTupleNull { + ChildBounties_TupleNull value = 1; +} +message Babe_TupleUint64Uint64 { + uint64 value0 = 1; + uint64 value1 = 2; +} +message Multisig_AsMultiThreshold1Call { + repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 1; + oneof call { + System_RemarkCall system_remark = 2; + System_SetHeapPagesCall system_set_heap_pages = 3; + System_SetCodeCall system_set_code = 4; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 5; + System_SetStorageCall system_set_storage = 6; + System_KillStorageCall system_kill_storage = 7; + System_KillPrefixCall system_kill_prefix = 8; + System_RemarkWithEventCall system_remark_with_event = 9; + Timestamp_SetCall timestamp_set = 10; + Babe_ReportEquivocationCall babe_report_equivocation = 11; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 12; + Babe_PlanConfigChangeCall babe_plan_config_change = 13; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 14; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 15; + Grandpa_NoteStalledCall grandpa_note_stalled = 16; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 17; + Balances_ForceTransferCall balances_force_transfer = 18; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 19; + Balances_TransferAllCall balances_transfer_all = 20; + Balances_ForceUnreserveCall balances_force_unreserve = 21; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 22; + Balances_ForceSetBalanceCall balances_force_set_balance = 23; + Vesting_VestCall vesting_vest = 24; + Vesting_VestOtherCall vesting_vest_other = 25; + Vesting_VestedTransferCall vesting_vested_transfer = 26; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 27; + Vesting_MergeSchedulesCall vesting_merge_schedules = 28; + BagsList_RebagCall bags_list_rebag = 29; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 30; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 31; + ImOnline_HeartbeatCall im_online_heartbeat = 32; + Staking_BondCall staking_bond = 33; + Staking_BondExtraCall staking_bond_extra = 34; + Staking_UnbondCall staking_unbond = 35; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 36; + Staking_ValidateCall staking_validate = 37; + Staking_NominateCall staking_nominate = 38; + Staking_ChillCall staking_chill = 39; + Staking_SetPayeeCall staking_set_payee = 40; + Staking_SetControllerCall staking_set_controller = 41; + Staking_SetValidatorCountCall staking_set_validator_count = 42; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 43; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 44; + Staking_ForceNoErasCall staking_force_no_eras = 45; + Staking_ForceNewEraCall staking_force_new_era = 46; + Staking_SetInvulnerablesCall staking_set_invulnerables = 47; + Staking_ForceUnstakeCall staking_force_unstake = 48; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 49; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 50; + Staking_PayoutStakersCall staking_payout_stakers = 51; + Staking_RebondCall staking_rebond = 52; + Staking_ReapStashCall staking_reap_stash = 53; + Staking_KickCall staking_kick = 54; + Staking_SetStakingConfigsCall staking_set_staking_configs = 55; + Staking_ChillOtherCall staking_chill_other = 56; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 57; + Staking_SetMinCommissionCall staking_set_min_commission = 58; + Session_SetKeysCall session_set_keys = 59; + Session_PurgeKeysCall session_purge_keys = 60; + Treasury_ProposeSpendCall treasury_propose_spend = 61; + Treasury_RejectProposalCall treasury_reject_proposal = 62; + Treasury_ApproveProposalCall treasury_approve_proposal = 63; + Treasury_SpendLocalCall treasury_spend_local = 64; + Treasury_RemoveApprovalCall treasury_remove_approval = 65; + Treasury_SpendCall treasury_spend = 66; + Treasury_PayoutCall treasury_payout = 67; + Treasury_CheckStatusCall treasury_check_status = 68; + Treasury_VoidSpendCall treasury_void_spend = 69; + Utility_BatchCall utility_batch = 70; + Utility_AsDerivativeCall utility_as_derivative = 71; + Utility_BatchAllCall utility_batch_all = 72; + Utility_DispatchAsCall utility_dispatch_as = 73; + Utility_ForceBatchCall utility_force_batch = 74; + Utility_WithWeightCall utility_with_weight = 75; + ConvictionVoting_VoteCall conviction_voting_vote = 76; + ConvictionVoting_DelegateCall conviction_voting_delegate = 77; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 78; + ConvictionVoting_UnlockCall conviction_voting_unlock = 79; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 80; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 81; + Referenda_SubmitCall referenda_submit = 82; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 83; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 84; + Referenda_CancelCall referenda_cancel = 85; + Referenda_KillCall referenda_kill = 86; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 87; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 88; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 89; + Referenda_SetMetadataCall referenda_set_metadata = 90; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 91; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 92; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 93; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 94; + FellowshipCollective_VoteCall fellowship_collective_vote = 95; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 96; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 97; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 98; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 99; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 100; + FellowshipReferenda_KillCall fellowship_referenda_kill = 101; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 102; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 103; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 104; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 105; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 106; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 107; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 108; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 109; + Scheduler_ScheduleCall scheduler_schedule = 110; + Scheduler_CancelCall scheduler_cancel = 111; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 112; + Scheduler_CancelNamedCall scheduler_cancel_named = 113; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 114; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 115; + Preimage_NotePreimageCall preimage_note_preimage = 116; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 117; + Preimage_RequestPreimageCall preimage_request_preimage = 118; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 119; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 120; + Identity_AddRegistrarCall identity_add_registrar = 121; + Identity_SetIdentityCall identity_set_identity = 122; + Identity_SetSubsCall identity_set_subs = 123; + Identity_ClearIdentityCall identity_clear_identity = 124; + Identity_RequestJudgementCall identity_request_judgement = 125; + Identity_CancelRequestCall identity_cancel_request = 126; + Identity_SetFeeCall identity_set_fee = 127; + Identity_SetAccountIdCall identity_set_account_id = 128; + Identity_SetFieldsCall identity_set_fields = 129; + Identity_ProvideJudgementCall identity_provide_judgement = 130; + Identity_KillIdentityCall identity_kill_identity = 131; + Identity_AddSubCall identity_add_sub = 132; + Identity_RenameSubCall identity_rename_sub = 133; + Identity_RemoveSubCall identity_remove_sub = 134; + Identity_QuitSubCall identity_quit_sub = 135; + Proxy_ProxyCall proxy_proxy = 136; + Proxy_AddProxyCall proxy_add_proxy = 137; + Proxy_RemoveProxyCall proxy_remove_proxy = 138; + Proxy_RemoveProxiesCall proxy_remove_proxies = 139; + Proxy_CreatePureCall proxy_create_pure = 140; + Proxy_KillPureCall proxy_kill_pure = 141; + Proxy_AnnounceCall proxy_announce = 142; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 143; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 144; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 145; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 146; + Multisig_AsMultiCall multisig_as_multi = 147; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 148; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 149; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 150; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 151; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 152; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 153; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 154; + Bounties_ProposeBountyCall bounties_propose_bounty = 155; + Bounties_ApproveBountyCall bounties_approve_bounty = 156; + Bounties_ProposeCuratorCall bounties_propose_curator = 157; + Bounties_UnassignCuratorCall bounties_unassign_curator = 158; + Bounties_AcceptCuratorCall bounties_accept_curator = 159; + Bounties_AwardBountyCall bounties_award_bounty = 160; + Bounties_ClaimBountyCall bounties_claim_bounty = 161; + Bounties_CloseBountyCall bounties_close_bounty = 162; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 163; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 164; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 165; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 166; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 167; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 168; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 169; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 170; + NominationPools_JoinCall nomination_pools_join = 171; + NominationPools_BondExtraCall nomination_pools_bond_extra = 172; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 173; + NominationPools_UnbondCall nomination_pools_unbond = 174; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 175; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 176; + NominationPools_CreateCall nomination_pools_create = 177; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 178; + NominationPools_NominateCall nomination_pools_nominate = 179; + NominationPools_SetStateCall nomination_pools_set_state = 180; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 181; + NominationPools_SetConfigsCall nomination_pools_set_configs = 182; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 183; + NominationPools_ChillCall nomination_pools_chill = 184; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 185; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 186; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 187; + NominationPools_SetCommissionCall nomination_pools_set_commission = 188; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 189; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 190; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 191; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 192; + Gear_UploadCodeCall gear_upload_code = 193; + Gear_UploadProgramCall gear_upload_program = 194; + Gear_CreateProgramCall gear_create_program = 195; + Gear_SendMessageCall gear_send_message = 196; + Gear_SendReplyCall gear_send_reply = 197; + Gear_ClaimValueCall gear_claim_value = 198; + Gear_RunCall gear_run = 199; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 200; + StakingRewards_RefillCall staking_rewards_refill = 201; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 202; + StakingRewards_WithdrawCall staking_rewards_withdraw = 203; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 204; + GearVoucher_IssueCall gear_voucher_issue = 205; + GearVoucher_CallCall gear_voucher_call = 206; + GearVoucher_RevokeCall gear_voucher_revoke = 207; + GearVoucher_UpdateCall gear_voucher_update = 208; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 209; + GearVoucher_DeclineCall gear_voucher_decline = 210; } } -message FellowshipCollective_Address32 { +message Vesting_Address32 { bytes value0 = 1; } -message Identity_Address20 { - bytes value0 = 1; +message SpArithmeticPerThingsPerbill { + uint32 value0 = 1; } -message NominationPools_Member { +message Identity_Target { oneof value { - NominationPools_Id id = 1; - NominationPools_Index index = 2; - NominationPools_Raw raw = 3; - NominationPools_Address32 address32 = 4; - NominationPools_Address20 address20 = 5; + Identity_Id id = 1; + Identity_Index index = 2; + Identity_Raw raw = 3; + Identity_Address32 address32 = 4; + Identity_Address20 address20 = 5; } } -message Balances_TupleNull { -} -message FellowshipCollective_AddMemberCall { - FellowshipCollective_Who who = 1; -} -message Identity_TupleNull { -} -message Identity_SetSubsCall { - repeated Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData subs = 1; -} -message GprimitivesActorId { - bytes destination = 1; -} -message Babe_TupleUint64Uint64 { - uint64 value0 = 1; - uint64 value1 = 2; -} -message Preimage_NotePreimageCall { - bytes bytes = 1; -} -message Identity_RemoveSubCall { - Identity_Sub sub = 1; -} -message Gear_GprimitivesCodeId { - bytes code_id = 1; -} -message System_KillPrefixCall { - bytes prefix = 1; - uint32 subkeys = 2; -} -message Babe_ReportEquivocationUnsignedCall { - Babe_SpConsensusSlotsEquivocationProof equivocation_proof = 1; - Babe_SpSessionMembershipProof key_owner_proof = 2; -} -message ChildBounties_Index { - ChildBounties_CompactTupleNull value0 = 1; -} -message NominationPools_ClaimCommissionCall { - uint32 pool_id = 1; -} -message System_SetCodeCall { - bytes code = 1; -} -message Timestamp_CompactUint64 { - uint64 value = 1; -} -message SpConsensusGrandpaAppPublic { - SpCoreEd25519Public identity = 1; -} -message FellowshipCollective_PromoteMemberCall { - FellowshipCollective_Who who = 1; -} -message Proxy_RemoveProxiesCall { +message Identity_FeePaid { + string value0 = 1; } -message NominationPools_JoinCall { - NominationPools_CompactString amount = 1; - uint32 pool_id = 2; +message NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 { + NominationPools_SpArithmeticPerThingsPerbill value0 = 1; + NominationPools_SpCoreCryptoAccountId32 value1 = 2; } -message Utility_BatchCall { - repeated Utility_VaraRuntimeRuntimeCall calls = 1; +message BagsList_PutInFrontOfCall { + BagsList_Lighter lighter = 1; } -message Proxy_Raw { +message Bounties_Address20 { bytes value0 = 1; } -message NominationPools_CreateCall { - NominationPools_CompactString amount = 1; - NominationPools_Root root = 2; - NominationPools_Nominator nominator = 3; - NominationPools_Bouncer bouncer = 4; -} -message FellowshipReferenda_SubmitCall { - FellowshipReferenda_ProposalOrigin proposal_origin = 1; - FellowshipReferenda_Proposal proposal = 2; - FellowshipReferenda_EnactmentMoment enactment_moment = 3; -} -message Identity_OutOfDate { -} -message Proxy_Delegate { - oneof value { - Proxy_Id id = 1; - Proxy_Index index = 2; - Proxy_Raw raw = 3; - Proxy_Address32 address32 = 4; - Proxy_Address20 address20 = 5; - } -} -message Bounties_AcceptCuratorCall { - Bounties_CompactUint32 bounty_id = 1; -} -message GearVoucher_GprimitivesActorId { - GearVoucher_GprimitivesActorId programs = 1; -} -message Grandpa_GrandpaTrieNodesList { - bytes trie_nodes = 1; -} -message Staking_CompactTupleNull { - Staking_TupleNull value = 1; -} -message Staking_SpRuntimeMultiaddressMultiAddress { - Staking_Targets targets = 1; -} -message Proxy_Staking { -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message NominationPools_MemberAccount { - oneof value { - NominationPools_Id id = 1; - NominationPools_Index index = 2; - NominationPools_Raw raw = 3; - NominationPools_Address32 address32 = 4; - NominationPools_Address20 address20 = 5; - } -} -message Grandpa_NoteStalledCall { - uint32 delay = 1; - uint32 best_finalized_block_number = 2; +message FellowshipReferenda_SetMetadataCall { + uint32 index = 1; + optional FellowshipReferenda_PrimitiveTypesH256 maybe_hash = 2; } -message Staking_KickCall { - repeated Staking_SpRuntimeMultiaddressMultiAddress who = 1; +message Identity_Raw11 { + bytes value0 = 1; } -message Identity_Raw12 { +message Identity_Raw29 { bytes value0 = 1; } -message Proxy_ForceProxyType { +message Bounties_Beneficiary { oneof value { - Proxy_Any any = 1; - Proxy_NonTransfer non_transfer = 2; - Proxy_Governance governance = 3; - Proxy_Staking staking = 4; - Proxy_IdentityJudgement identity_judgement = 5; - Proxy_CancelProxy cancel_proxy = 6; + Bounties_Id id = 1; + Bounties_Index index = 2; + Bounties_Raw raw = 3; + Bounties_Address32 address32 = 4; + Bounties_Address20 address20 = 5; } } -message ConvictionVoting_DelegateCall { - uint32 class = 1; - ConvictionVoting_To to = 2; - ConvictionVoting_Conviction conviction = 3; - string balance = 4; -} -message ElectionProviderMultiPhase_SubmitUnsignedCall { - ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution raw_solution = 1; - ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize witness = 2; -} -message NominationPools_PoolWithdrawUnbondedCall { +message NominationPools_SetCommissionCall { uint32 pool_id = 1; - uint32 num_slashing_spans = 2; -} -message Staking_PayoutStakersCall { - Staking_SpCoreCryptoAccountId32 validator_stash = 1; - uint32 era = 2; -} -message BoundedCollectionsBoundedVecBoundedVec { - bytes value0 = 1; + optional NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 new_commission = 2; } -message ChildBounties_UnassignCuratorCall { - ChildBounties_CompactUint32 parent_bounty_id = 1; - ChildBounties_CompactUint32 child_bounty_id = 2; +message Balances_ForceSetBalanceCall { + Balances_Who who = 1; + Balances_CompactString new_free = 2; } -message NominationPools_Extra { - oneof value { - NominationPools_FreeBalance free_balance = 1; - NominationPools_Rewards rewards = 2; - } +message ElectionProviderMultiPhase_GovernanceFallbackCall { + optional uint32 maybe_max_voters = 1; + optional uint32 maybe_max_targets = 2; } -message StakingRewards_Index { - StakingRewards_CompactTupleNull value0 = 1; +message Whitelist_DispatchWhitelistedCallCall { + Whitelist_PrimitiveTypesH256 call_hash = 1; + uint32 call_encoded_len = 2; + Whitelist_SpWeightsWeightV2Weight call_weight_witness = 3; } -message Staking_ForceNewEraCall { +message Identity_Raw5 { + bytes value0 = 1; } -message Utility_CompactUint64 { - uint64 value = 1; +message Proxy_CreatePureCall { + Proxy_ProxyType proxy_type = 1; + uint32 delay = 2; + uint32 index = 3; } -message FellowshipCollective_VoteCall { - uint32 poll = 1; - bool aye = 2; +message Treasury_CompactString { + string value = 1; } -message Identity_PalletIdentitySimpleIdentityInfo { - Identity_BoundedCollectionsBoundedVecBoundedVec additional = 1; - Identity_Display display = 2; - Identity_Legal legal = 3; - Identity_Web web = 4; - Identity_Riot riot = 5; - Identity_Email email = 6; - bytes pgp_fingerprint = 7; - Identity_Image image = 8; - Identity_Twitter twitter = 9; +message Staking_SetPayeeCall { + Staking_Payee payee = 1; } -message Multisig_AsMultiCall { - uint32 threshold = 1; - repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 2; - optional Multisig_PalletMultisigTimepoint maybe_timepoint = 3; - oneof call { - System_RemarkCall system_remark = 4; - System_SetHeapPagesCall system_set_heap_pages = 5; - System_SetCodeCall system_set_code = 6; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 7; - System_SetStorageCall system_set_storage = 8; - System_KillStorageCall system_kill_storage = 9; - System_KillPrefixCall system_kill_prefix = 10; - System_RemarkWithEventCall system_remark_with_event = 11; - Timestamp_SetCall timestamp_set = 12; - Babe_ReportEquivocationCall babe_report_equivocation = 13; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 14; - Babe_PlanConfigChangeCall babe_plan_config_change = 15; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 16; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 17; - Grandpa_NoteStalledCall grandpa_note_stalled = 18; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 19; - Balances_ForceTransferCall balances_force_transfer = 20; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 21; - Balances_TransferAllCall balances_transfer_all = 22; - Balances_ForceUnreserveCall balances_force_unreserve = 23; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 24; - Balances_ForceSetBalanceCall balances_force_set_balance = 25; - Vesting_VestCall vesting_vest = 26; - Vesting_VestOtherCall vesting_vest_other = 27; - Vesting_VestedTransferCall vesting_vested_transfer = 28; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 29; - Vesting_MergeSchedulesCall vesting_merge_schedules = 30; - BagsList_RebagCall bags_list_rebag = 31; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 32; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 33; - ImOnline_HeartbeatCall im_online_heartbeat = 34; - Staking_BondCall staking_bond = 35; - Staking_BondExtraCall staking_bond_extra = 36; - Staking_UnbondCall staking_unbond = 37; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 38; - Staking_ValidateCall staking_validate = 39; - Staking_NominateCall staking_nominate = 40; - Staking_ChillCall staking_chill = 41; - Staking_SetPayeeCall staking_set_payee = 42; - Staking_SetControllerCall staking_set_controller = 43; - Staking_SetValidatorCountCall staking_set_validator_count = 44; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 45; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 46; - Staking_ForceNoErasCall staking_force_no_eras = 47; - Staking_ForceNewEraCall staking_force_new_era = 48; - Staking_SetInvulnerablesCall staking_set_invulnerables = 49; - Staking_ForceUnstakeCall staking_force_unstake = 50; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 51; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 52; - Staking_PayoutStakersCall staking_payout_stakers = 53; - Staking_RebondCall staking_rebond = 54; - Staking_ReapStashCall staking_reap_stash = 55; - Staking_KickCall staking_kick = 56; - Staking_SetStakingConfigsCall staking_set_staking_configs = 57; - Staking_ChillOtherCall staking_chill_other = 58; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 59; - Staking_SetMinCommissionCall staking_set_min_commission = 60; - Session_SetKeysCall session_set_keys = 61; - Session_PurgeKeysCall session_purge_keys = 62; - Treasury_ProposeSpendCall treasury_propose_spend = 63; - Treasury_RejectProposalCall treasury_reject_proposal = 64; - Treasury_ApproveProposalCall treasury_approve_proposal = 65; - Treasury_SpendLocalCall treasury_spend_local = 66; - Treasury_RemoveApprovalCall treasury_remove_approval = 67; - Treasury_SpendCall treasury_spend = 68; - Treasury_PayoutCall treasury_payout = 69; - Treasury_CheckStatusCall treasury_check_status = 70; - Treasury_VoidSpendCall treasury_void_spend = 71; - Utility_BatchCall utility_batch = 72; - Utility_AsDerivativeCall utility_as_derivative = 73; - Utility_BatchAllCall utility_batch_all = 74; - Utility_DispatchAsCall utility_dispatch_as = 75; - Utility_ForceBatchCall utility_force_batch = 76; - Utility_WithWeightCall utility_with_weight = 77; - ConvictionVoting_VoteCall conviction_voting_vote = 78; - ConvictionVoting_DelegateCall conviction_voting_delegate = 79; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 80; - ConvictionVoting_UnlockCall conviction_voting_unlock = 81; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 82; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 83; - Referenda_SubmitCall referenda_submit = 84; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 85; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 86; - Referenda_CancelCall referenda_cancel = 87; - Referenda_KillCall referenda_kill = 88; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 89; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 90; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 91; - Referenda_SetMetadataCall referenda_set_metadata = 92; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 93; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 94; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 95; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 96; - FellowshipCollective_VoteCall fellowship_collective_vote = 97; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 98; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 99; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 100; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 101; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 102; - FellowshipReferenda_KillCall fellowship_referenda_kill = 103; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 104; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 105; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 106; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 107; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 108; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 109; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 110; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 111; - Scheduler_ScheduleCall scheduler_schedule = 112; - Scheduler_CancelCall scheduler_cancel = 113; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 114; - Scheduler_CancelNamedCall scheduler_cancel_named = 115; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 116; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 117; - Preimage_NotePreimageCall preimage_note_preimage = 118; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 119; - Preimage_RequestPreimageCall preimage_request_preimage = 120; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 121; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 122; - Identity_AddRegistrarCall identity_add_registrar = 123; - Identity_SetIdentityCall identity_set_identity = 124; - Identity_SetSubsCall identity_set_subs = 125; - Identity_ClearIdentityCall identity_clear_identity = 126; - Identity_RequestJudgementCall identity_request_judgement = 127; - Identity_CancelRequestCall identity_cancel_request = 128; - Identity_SetFeeCall identity_set_fee = 129; - Identity_SetAccountIdCall identity_set_account_id = 130; - Identity_SetFieldsCall identity_set_fields = 131; - Identity_ProvideJudgementCall identity_provide_judgement = 132; - Identity_KillIdentityCall identity_kill_identity = 133; - Identity_AddSubCall identity_add_sub = 134; - Identity_RenameSubCall identity_rename_sub = 135; - Identity_RemoveSubCall identity_remove_sub = 136; - Identity_QuitSubCall identity_quit_sub = 137; - Proxy_ProxyCall proxy_proxy = 138; - Proxy_AddProxyCall proxy_add_proxy = 139; - Proxy_RemoveProxyCall proxy_remove_proxy = 140; - Proxy_RemoveProxiesCall proxy_remove_proxies = 141; - Proxy_CreatePureCall proxy_create_pure = 142; - Proxy_KillPureCall proxy_kill_pure = 143; - Proxy_AnnounceCall proxy_announce = 144; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 145; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 146; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 147; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 148; - Multisig_AsMultiCall multisig_as_multi = 149; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 150; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 151; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 152; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 153; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 154; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 155; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 156; - Bounties_ProposeBountyCall bounties_propose_bounty = 157; - Bounties_ApproveBountyCall bounties_approve_bounty = 158; - Bounties_ProposeCuratorCall bounties_propose_curator = 159; - Bounties_UnassignCuratorCall bounties_unassign_curator = 160; - Bounties_AcceptCuratorCall bounties_accept_curator = 161; - Bounties_AwardBountyCall bounties_award_bounty = 162; - Bounties_ClaimBountyCall bounties_claim_bounty = 163; - Bounties_CloseBountyCall bounties_close_bounty = 164; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 165; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 166; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 167; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 168; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 169; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 170; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 171; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 172; - NominationPools_JoinCall nomination_pools_join = 173; - NominationPools_BondExtraCall nomination_pools_bond_extra = 174; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 175; - NominationPools_UnbondCall nomination_pools_unbond = 176; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 177; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 178; - NominationPools_CreateCall nomination_pools_create = 179; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 180; - NominationPools_NominateCall nomination_pools_nominate = 181; - NominationPools_SetStateCall nomination_pools_set_state = 182; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 183; - NominationPools_SetConfigsCall nomination_pools_set_configs = 184; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 185; - NominationPools_ChillCall nomination_pools_chill = 186; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 187; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 188; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 189; - NominationPools_SetCommissionCall nomination_pools_set_commission = 190; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 191; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 192; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 193; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 194; - Gear_UploadCodeCall gear_upload_code = 195; - Gear_UploadProgramCall gear_upload_program = 196; - Gear_CreateProgramCall gear_create_program = 197; - Gear_SendMessageCall gear_send_message = 198; - Gear_SendReplyCall gear_send_reply = 199; - Gear_ClaimValueCall gear_claim_value = 200; - Gear_RunCall gear_run = 201; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 202; - StakingRewards_RefillCall staking_rewards_refill = 203; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 204; - StakingRewards_WithdrawCall staking_rewards_withdraw = 205; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 206; - GearVoucher_IssueCall gear_voucher_issue = 207; - GearVoucher_CallCall gear_voucher_call = 208; - GearVoucher_RevokeCall gear_voucher_revoke = 209; - GearVoucher_UpdateCall gear_voucher_update = 210; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 211; - GearVoucher_DeclineCall gear_voucher_decline = 212; +message Whitelist_PrimitiveTypesH256 { + bytes call_hash = 1; +} +message Identity_Raw { + bytes value0 = 1; +} +message Identity_Legal { + oneof value { + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; } - Multisig_SpWeightsWeightV2Weight max_weight = 213; } -message NominationPools_Permissioned { +message Bounties_ProposeBountyCall { + Bounties_CompactString value = 1; + bytes description = 2; } -message NominationPools_Id { +message System_SetCodeWithoutChecksCall { + bytes code = 1; +} +message Staking_CompactUint32 { + uint32 value = 1; +} +message Whitelist_SpWeightsWeightV2Weight { + Whitelist_CompactUint64 ref_time = 1; + Whitelist_CompactUint64 proof_size = 2; +} +message Identity_Id { SpCoreCryptoAccountId32 value0 = 1; } -message BagsList_TupleNull { +message Proxy_NonTransfer { } -message BagsList_Heavier { +message NominationPools_Permission { oneof value { - BagsList_Id id = 1; - BagsList_Index index = 2; - BagsList_Raw raw = 3; - BagsList_Address32 address32 = 4; - BagsList_Address20 address20 = 5; + NominationPools_Permissioned permissioned = 1; + NominationPools_PermissionlessCompound permissionless_compound = 2; + NominationPools_PermissionlessWithdraw permissionless_withdraw = 3; + NominationPools_PermissionlessAll permissionless_all = 4; } } -message Referenda_EnactmentMoment { +message Babe_SpConsensusSlotsEquivocationProof { + Babe_SpConsensusBabeAppPublic offender = 1; + Babe_SpConsensusSlotsSlot slot = 2; + Babe_SpRuntimeGenericHeaderHeader first_header = 3; + Babe_SpRuntimeGenericHeaderHeader second_header = 4; +} +message Identity_OutOfDate { +} +message Proxy_AddProxyCall { + Proxy_Delegate delegate = 1; + Proxy_ProxyType proxy_type = 2; + uint32 delay = 3; +} +message Bounties_TupleNull { +} +message Bounties_CloseBountyCall { + Bounties_CompactUint32 bounty_id = 1; +} +message Staking_ForceApplyMinCommissionCall { + Staking_SpCoreCryptoAccountId32 validator_stash = 1; +} +message Vesting_VestOtherCall { + Vesting_Target target = 1; +} +message Staking_Index { + Staking_CompactTupleNull value0 = 1; +} +message Whitelist_CompactUint64 { + uint64 value = 1; +} +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; +} +message Balances_TransferAllowDeathCall { + Balances_Dest dest = 1; + Balances_CompactString value = 2; +} +message Referenda_ProposalOrigin { oneof value { - Referenda_At at = 1; - Referenda_After after = 2; + Referenda_System system = 1; + Referenda_Origins origins = 2; + Referenda_Void void = 3; } } -message Identity_Raw4 { +message Preimage_NotePreimageCall { + bytes bytes = 1; +} +message StakingRewards_WithdrawCall { + StakingRewards_To to = 1; + string value = 2; +} +message Referenda_SubmitCall { + Referenda_ProposalOrigin proposal_origin = 1; + Referenda_Proposal proposal = 2; + Referenda_EnactmentMoment enactment_moment = 3; +} +message Grandpa_SpSessionMembershipProof { + uint32 session = 1; + repeated Grandpa_GrandpaTrieNodesList trie_nodes = 2; + uint32 validator_count = 3; +} +message Vesting_Raw { bytes value0 = 1; } -message Identity_KillIdentityCall { - Identity_Target target = 1; +message Treasury_TupleNull { } -message Bounties_Raw { +message Treasury_Raw { bytes value0 = 1; } -message StakingRewards_Id { - SpCoreCryptoAccountId32 value0 = 1; +message Treasury_SpCoreCryptoAccountId32 { + bytes beneficiary = 1; } -message System_SetHeapPagesCall { - uint64 pages = 1; +message Preimage_UnnotePreimageCall { + Preimage_PrimitiveTypesH256 hash = 1; } -message System_TupleSystemItemsListSystemItemsList { - bytes value0 = 1; - bytes value1 = 2; +message NominationPools_CreateCall { + NominationPools_CompactString amount = 1; + NominationPools_Root root = 2; + NominationPools_Nominator nominator = 3; + NominationPools_Bouncer bouncer = 4; } -message SpCoreEd25519Public { - bytes identity = 1; +message Babe_ReportEquivocationUnsignedCall { + Babe_SpConsensusSlotsEquivocationProof equivocation_proof = 1; + Babe_SpSessionMembershipProof key_owner_proof = 2; +} +message StakingRewards_To { + oneof value { + StakingRewards_Id id = 1; + StakingRewards_Index index = 2; + StakingRewards_Raw raw = 3; + StakingRewards_Address32 address32 = 4; + StakingRewards_Address20 address20 = 5; + } +} +message ConvictionVoting_Locked3X { +} +message Whitelist_WhitelistCallCall { + Whitelist_PrimitiveTypesH256 call_hash = 1; +} +message ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; +} +message ChildBounties_AddChildBountyCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactString value = 2; + bytes description = 3; +} +message ConvictionVoting_CompactUint32 { + uint32 value = 1; +} +message FellowshipReferenda_RefundDecisionDepositCall { + uint32 index = 1; +} +message NominationPools_UnbondCall { + NominationPools_MemberAccount member_account = 1; + NominationPools_CompactString unbonding_points = 2; +} +message Gear_UploadProgramCall { + bytes code = 1; + bytes salt = 2; + bytes init_payload = 3; + uint64 gas_limit = 4; + string value = 5; + bool keep_alive = 6; } message Utility_BatchAllCall { repeated Utility_VaraRuntimeRuntimeCall calls = 1; } -message Identity_AddRegistrarCall { - Identity_Account account = 1; +message Utility_BatchCall { + repeated Utility_VaraRuntimeRuntimeCall calls = 1; } -message NominationPools_ChillCall { - uint32 pool_id = 1; +message NominationPools_SpArithmeticPerThingsPerbill { + uint32 value0 = 1; } -message Balances_Address20 { +message Staking_Raw { bytes value0 = 1; } -message Identity_QuitSubCall { -} -message Bounties_AwardBountyCall { - Bounties_CompactUint32 bounty_id = 1; - Bounties_Beneficiary beneficiary = 2; +message FellowshipCollective_Who { + oneof value { + FellowshipCollective_Id id = 1; + FellowshipCollective_Index index = 2; + FellowshipCollective_Raw raw = 3; + FellowshipCollective_Address32 address32 = 4; + FellowshipCollective_Address20 address20 = 5; + } } -message NominationPools_Raw { +message Identity_Raw4 { bytes value0 = 1; } -message Staking_Id { - SpCoreCryptoAccountId32 value0 = 1; +message NominationPools_CreateWithPoolIdCall { + NominationPools_CompactString amount = 1; + NominationPools_Root root = 2; + NominationPools_Nominator nominator = 3; + NominationPools_Bouncer bouncer = 4; + uint32 pool_id = 5; } -message Treasury_SpCoreCryptoAccountId32 { - bytes beneficiary = 1; +message ImOnline_PalletImOnlineHeartbeat { + uint32 block_number = 1; + uint32 session_index = 2; + uint32 authority_index = 3; + uint32 validators_len = 4; +} +message PrimitiveTypesH256 { + bytes target_hash = 1; } message Identity_CompactTupleNull { Identity_TupleNull value = 1; } -message Identity_Judgement { - oneof value { - Identity_Unknown unknown = 1; - Identity_FeePaid fee_paid = 2; - Identity_Reasonable reasonable = 3; - Identity_KnownGood known_good = 4; - Identity_OutOfDate out_of_date = 5; - Identity_LowQuality low_quality = 6; - Identity_Erroneous erroneous = 7; - } +message NominationPools_SetMetadataCall { + uint32 pool_id = 1; + bytes metadata = 2; } -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; +message GearVoucher_PalletGearVoucherInternalVoucherId { + bytes voucher_id = 1; } -message Proxy_Id { +message System_SystemKeysList { + bytes keys = 1; +} +message NominationPools_Id { SpCoreCryptoAccountId32 value0 = 1; } -message NominationPools_Nominator { - oneof value { - NominationPools_Id id = 1; - NominationPools_Index index = 2; - NominationPools_Raw raw = 3; - NominationPools_Address32 address32 = 4; - NominationPools_Address20 address20 = 5; - } +message NominationPools_ClaimPayoutOtherCall { + NominationPools_SpCoreCryptoAccountId32 other = 1; } -message NominationPools_SpArithmeticPerThingsPerbill { - uint32 value0 = 1; +message Balances_Id { + SpCoreCryptoAccountId32 value0 = 1; } -message BagsList_RebagCall { - BagsList_Dislocated dislocated = 1; +message ConvictionVoting_Locked5X { +} +message FellowshipCollective_AddMemberCall { + FellowshipCollective_Who who = 1; } -message Staking_ForceNoErasCall { +message NominationPools_FreeBalance { + string value0 = 1; } -message Treasury_Address32 { - bytes value0 = 1; +message Vesting_Target { + oneof value { + Vesting_Id id = 1; + Vesting_Index index = 2; + Vesting_Raw raw = 3; + Vesting_Address32 address32 = 4; + Vesting_Address20 address20 = 5; + } } -message ConvictionVoting_CompactUint32 { - uint32 value = 1; +message Referenda_Lookup { + PrimitiveTypesH256 hash = 1; + uint32 len = 2; } -message Scheduler_ScheduleAfterCall { - uint32 after = 1; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 2; - uint32 priority = 3; - oneof call { - System_RemarkCall system_remark = 4; - System_SetHeapPagesCall system_set_heap_pages = 5; - System_SetCodeCall system_set_code = 6; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 7; - System_SetStorageCall system_set_storage = 8; - System_KillStorageCall system_kill_storage = 9; - System_KillPrefixCall system_kill_prefix = 10; - System_RemarkWithEventCall system_remark_with_event = 11; - Timestamp_SetCall timestamp_set = 12; - Babe_ReportEquivocationCall babe_report_equivocation = 13; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 14; - Babe_PlanConfigChangeCall babe_plan_config_change = 15; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 16; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 17; - Grandpa_NoteStalledCall grandpa_note_stalled = 18; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 19; - Balances_ForceTransferCall balances_force_transfer = 20; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 21; - Balances_TransferAllCall balances_transfer_all = 22; - Balances_ForceUnreserveCall balances_force_unreserve = 23; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 24; - Balances_ForceSetBalanceCall balances_force_set_balance = 25; - Vesting_VestCall vesting_vest = 26; - Vesting_VestOtherCall vesting_vest_other = 27; - Vesting_VestedTransferCall vesting_vested_transfer = 28; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 29; - Vesting_MergeSchedulesCall vesting_merge_schedules = 30; - BagsList_RebagCall bags_list_rebag = 31; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 32; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 33; - ImOnline_HeartbeatCall im_online_heartbeat = 34; - Staking_BondCall staking_bond = 35; - Staking_BondExtraCall staking_bond_extra = 36; - Staking_UnbondCall staking_unbond = 37; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 38; - Staking_ValidateCall staking_validate = 39; - Staking_NominateCall staking_nominate = 40; - Staking_ChillCall staking_chill = 41; - Staking_SetPayeeCall staking_set_payee = 42; - Staking_SetControllerCall staking_set_controller = 43; - Staking_SetValidatorCountCall staking_set_validator_count = 44; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 45; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 46; - Staking_ForceNoErasCall staking_force_no_eras = 47; - Staking_ForceNewEraCall staking_force_new_era = 48; - Staking_SetInvulnerablesCall staking_set_invulnerables = 49; - Staking_ForceUnstakeCall staking_force_unstake = 50; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 51; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 52; - Staking_PayoutStakersCall staking_payout_stakers = 53; - Staking_RebondCall staking_rebond = 54; - Staking_ReapStashCall staking_reap_stash = 55; - Staking_KickCall staking_kick = 56; - Staking_SetStakingConfigsCall staking_set_staking_configs = 57; - Staking_ChillOtherCall staking_chill_other = 58; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 59; - Staking_SetMinCommissionCall staking_set_min_commission = 60; - Session_SetKeysCall session_set_keys = 61; - Session_PurgeKeysCall session_purge_keys = 62; - Treasury_ProposeSpendCall treasury_propose_spend = 63; - Treasury_RejectProposalCall treasury_reject_proposal = 64; - Treasury_ApproveProposalCall treasury_approve_proposal = 65; - Treasury_SpendLocalCall treasury_spend_local = 66; - Treasury_RemoveApprovalCall treasury_remove_approval = 67; - Treasury_SpendCall treasury_spend = 68; - Treasury_PayoutCall treasury_payout = 69; - Treasury_CheckStatusCall treasury_check_status = 70; - Treasury_VoidSpendCall treasury_void_spend = 71; - Utility_BatchCall utility_batch = 72; - Utility_AsDerivativeCall utility_as_derivative = 73; - Utility_BatchAllCall utility_batch_all = 74; - Utility_DispatchAsCall utility_dispatch_as = 75; - Utility_ForceBatchCall utility_force_batch = 76; - Utility_WithWeightCall utility_with_weight = 77; - ConvictionVoting_VoteCall conviction_voting_vote = 78; - ConvictionVoting_DelegateCall conviction_voting_delegate = 79; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 80; - ConvictionVoting_UnlockCall conviction_voting_unlock = 81; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 82; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 83; - Referenda_SubmitCall referenda_submit = 84; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 85; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 86; - Referenda_CancelCall referenda_cancel = 87; - Referenda_KillCall referenda_kill = 88; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 89; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 90; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 91; - Referenda_SetMetadataCall referenda_set_metadata = 92; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 93; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 94; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 95; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 96; - FellowshipCollective_VoteCall fellowship_collective_vote = 97; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 98; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 99; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 100; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 101; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 102; - FellowshipReferenda_KillCall fellowship_referenda_kill = 103; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 104; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 105; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 106; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 107; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 108; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 109; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 110; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 111; - Scheduler_ScheduleCall scheduler_schedule = 112; - Scheduler_CancelCall scheduler_cancel = 113; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 114; - Scheduler_CancelNamedCall scheduler_cancel_named = 115; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 116; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 117; - Preimage_NotePreimageCall preimage_note_preimage = 118; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 119; - Preimage_RequestPreimageCall preimage_request_preimage = 120; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 121; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 122; - Identity_AddRegistrarCall identity_add_registrar = 123; - Identity_SetIdentityCall identity_set_identity = 124; - Identity_SetSubsCall identity_set_subs = 125; - Identity_ClearIdentityCall identity_clear_identity = 126; - Identity_RequestJudgementCall identity_request_judgement = 127; - Identity_CancelRequestCall identity_cancel_request = 128; - Identity_SetFeeCall identity_set_fee = 129; - Identity_SetAccountIdCall identity_set_account_id = 130; - Identity_SetFieldsCall identity_set_fields = 131; - Identity_ProvideJudgementCall identity_provide_judgement = 132; - Identity_KillIdentityCall identity_kill_identity = 133; - Identity_AddSubCall identity_add_sub = 134; - Identity_RenameSubCall identity_rename_sub = 135; - Identity_RemoveSubCall identity_remove_sub = 136; - Identity_QuitSubCall identity_quit_sub = 137; - Proxy_ProxyCall proxy_proxy = 138; - Proxy_AddProxyCall proxy_add_proxy = 139; - Proxy_RemoveProxyCall proxy_remove_proxy = 140; - Proxy_RemoveProxiesCall proxy_remove_proxies = 141; - Proxy_CreatePureCall proxy_create_pure = 142; - Proxy_KillPureCall proxy_kill_pure = 143; - Proxy_AnnounceCall proxy_announce = 144; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 145; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 146; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 147; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 148; - Multisig_AsMultiCall multisig_as_multi = 149; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 150; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 151; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 152; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 153; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 154; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 155; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 156; - Bounties_ProposeBountyCall bounties_propose_bounty = 157; - Bounties_ApproveBountyCall bounties_approve_bounty = 158; - Bounties_ProposeCuratorCall bounties_propose_curator = 159; - Bounties_UnassignCuratorCall bounties_unassign_curator = 160; - Bounties_AcceptCuratorCall bounties_accept_curator = 161; - Bounties_AwardBountyCall bounties_award_bounty = 162; - Bounties_ClaimBountyCall bounties_claim_bounty = 163; - Bounties_CloseBountyCall bounties_close_bounty = 164; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 165; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 166; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 167; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 168; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 169; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 170; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 171; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 172; - NominationPools_JoinCall nomination_pools_join = 173; - NominationPools_BondExtraCall nomination_pools_bond_extra = 174; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 175; - NominationPools_UnbondCall nomination_pools_unbond = 176; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 177; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 178; - NominationPools_CreateCall nomination_pools_create = 179; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 180; - NominationPools_NominateCall nomination_pools_nominate = 181; - NominationPools_SetStateCall nomination_pools_set_state = 182; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 183; - NominationPools_SetConfigsCall nomination_pools_set_configs = 184; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 185; - NominationPools_ChillCall nomination_pools_chill = 186; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 187; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 188; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 189; - NominationPools_SetCommissionCall nomination_pools_set_commission = 190; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 191; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 192; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 193; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 194; - Gear_UploadCodeCall gear_upload_code = 195; - Gear_UploadProgramCall gear_upload_program = 196; - Gear_CreateProgramCall gear_create_program = 197; - Gear_SendMessageCall gear_send_message = 198; - Gear_SendReplyCall gear_send_reply = 199; - Gear_ClaimValueCall gear_claim_value = 200; - Gear_RunCall gear_run = 201; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 202; - StakingRewards_RefillCall staking_rewards_refill = 203; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 204; - StakingRewards_WithdrawCall staking_rewards_withdraw = 205; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 206; - GearVoucher_IssueCall gear_voucher_issue = 207; - GearVoucher_CallCall gear_voucher_call = 208; - GearVoucher_RevokeCall gear_voucher_revoke = 209; - GearVoucher_UpdateCall gear_voucher_update = 210; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 211; - GearVoucher_DeclineCall gear_voucher_decline = 212; +message Referenda_OneFewerDecidingCall { + uint32 track = 1; +} +message Identity_Web { + oneof value { + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; } } -message Identity_Twitter { +message Babe_SpSessionMembershipProof { + uint32 session = 1; + repeated Babe_BabeTrieNodesList trie_nodes = 2; + uint32 validator_count = 3; +} +message Multisig_SpWeightsWeightV2Weight { + Multisig_CompactUint64 ref_time = 1; + Multisig_CompactUint64 proof_size = 2; +} +message NominationPools_Member { + oneof value { + NominationPools_Id id = 1; + NominationPools_Index index = 2; + NominationPools_Raw raw = 3; + NominationPools_Address32 address32 = 4; + NominationPools_Address20 address20 = 5; + } +} +message Referenda_SetMetadataCall { + uint32 index = 1; + optional Referenda_PrimitiveTypesH256 maybe_hash = 2; +} +message Staking_ChillOtherCall { + Staking_SpCoreCryptoAccountId32 controller = 1; +} +message Session_SpCoreSr25519Public { + bytes babe = 1; +} +message ConvictionVoting_Raw { + bytes value0 = 1; +} +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; +} +message Staking_ReapStashCall { + Staking_SpCoreCryptoAccountId32 stash = 1; + uint32 num_slashing_spans = 2; +} +message Staking_Noop { +} +message ConvictionVoting_Locked4X { +} +message Identity_AddSubCall { + Identity_Sub sub = 1; + Identity_Data data = 2; +} +message Proxy_Address20 { + bytes value0 = 1; +} +message ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16 value1 = 2; +} +message Bounties_UnassignCuratorCall { + Bounties_CompactUint32 bounty_id = 1; +} +message NominationPools_CompactTupleNull { + NominationPools_TupleNull value = 1; +} +message Babe_Consensus { + bytes value0 = 1; + bytes value1 = 2; +} +message NominationPools_ClaimCommissionCall { + uint32 pool_id = 1; +} +message Staking_TupleNull { +} +message ConvictionVoting_DelegateCall { + uint32 class = 1; + ConvictionVoting_To to = 2; + ConvictionVoting_Conviction conviction = 3; + string balance = 4; +} +message ConvictionVoting_UnlockCall { + uint32 class = 1; + ConvictionVoting_Target target = 2; +} +message ChildBounties_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message GearVoucher_BTreeSet { + repeated GearVoucher_GprimitivesActorId programs = 1; +} +message Balances_Raw { + bytes value0 = 1; +} +message Staking_SetMinCommissionCall { + Staking_SpArithmeticPerThingsPerbill new = 1; +} +message Proxy_Raw { + bytes value0 = 1; +} +message Staking_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message Staking_BondExtraCall { + Staking_CompactString max_additional = 1; +} +message ConvictionVoting_Address32 { + bytes value0 = 1; +} +message FellowshipCollective_RemoveMemberCall { + FellowshipCollective_Who who = 1; + uint32 min_rank = 2; +} +message FellowshipReferenda_Legacy { + PrimitiveTypesH256 hash = 1; +} +message Grandpa_Equivocation { + oneof value { + Grandpa_Prevote prevote = 1; + Grandpa_Precommit precommit = 2; + } +} +message Session_SpConsensusGrandpaAppPublic { + Session_SpCoreEd25519Public grandpa = 1; +} +message Identity_Raw32 { + bytes value0 = 1; +} +message ChildBounties_Raw { + bytes value0 = 1; +} +message BagsList_PutInFrontOfOtherCall { + BagsList_Heavier heavier = 1; + BagsList_Lighter lighter = 2; +} +message Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData { + Identity_SpCoreCryptoAccountId32 value0 = 1; + Identity_Value1 value1 = 2; +} +message Identity_SetSubsCall { + repeated Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData subs = 1; +} +message Identity_Erroneous { +} +message ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall { + optional ElectionProviderMultiPhase_SpNposElectionsElectionScore maybe_next_score = 1; +} +message NominationPools_NewNominator { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } +} +message Identity_Raw22 { + bytes value0 = 1; +} +message Staking_Stash { +} +message Staking_PayoutStakersCall { + Staking_SpCoreCryptoAccountId32 validator_stash = 1; + uint32 era = 2; +} +message Session_PalletImOnlineSr25519AppSr25519Public { + Session_SpCoreSr25519Public im_online = 1; +} +message Identity_Value1 { oneof value { Identity_None none = 1; Identity_Raw0 raw0 = 2; @@ -4528,299 +4502,203 @@ message Identity_Twitter { Identity_ShaThree256 sha_three256 = 38; } } -message Babe_PlanConfigChangeCall { - Babe_Config config = 1; -} -message TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature { - FinalityGrandpaPrevote value0 = 1; - SpConsensusGrandpaAppSignature value1 = 2; -} -message Staking_MinNominatorBond { +message Identity_Sub { oneof value { - Staking_Noop noop = 1; - Staking_Set set = 2; - Staking_Remove remove = 3; + Identity_Id id = 1; + Identity_Index index = 2; + Identity_Raw raw = 3; + Identity_Address32 address32 = 4; + Identity_Address20 address20 = 5; } } -message FellowshipCollective_TupleNull { +message NominationPools_Permissioned { +} +message Balances_ForceUnreserveCall { + Balances_Who who = 1; + string amount = 2; +} +message SpCoreEd25519Signature { + bytes value1 = 1; +} +message Vesting_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message Staking_Address20 { + bytes value0 = 1; +} +message Identity_Raw24 { + bytes value0 = 1; +} +message Identity_CompactUint32 { + uint32 value = 1; } message Identity_RenameSubCall { Identity_Sub sub = 1; Identity_Data data = 2; } -message Vesting_Address32 { - bytes value0 = 1; +message Multisig_CompactUint64 { + uint64 value = 1; } -message Identity_Raw26 { +message Babe_Other { bytes value0 = 1; } -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32 { +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32 { ElectionProviderMultiPhase_CompactUint32 value0 = 1; repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message NominationPools_NewBouncer { +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; +} +message Babe_SpRuntimeGenericHeaderHeader { + Babe_PrimitiveTypesH256 parent_hash = 1; + Babe_CompactUint32 number = 2; + Babe_PrimitiveTypesH256 state_root = 3; + Babe_PrimitiveTypesH256 extrinsics_root = 4; + Babe_SpRuntimeGenericDigestDigest digest = 5; +} +message Staking_ChillThreshold { oneof value { - NominationPools_Noop noop = 1; - NominationPools_Set set = 2; - NominationPools_Remove remove = 3; + Staking_Noop noop = 1; + Staking_Set set = 2; + Staking_Remove remove = 3; } } -message Babe_Other { - bytes value0 = 1; +message Bounties_CompactUint32 { + uint32 value = 1; +} +message ChildBounties_ProposeCuratorCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactUint32 child_bounty_id = 2; + ChildBounties_Curator curator = 3; + ChildBounties_CompactString fee = 4; +} +message Babe_SpRuntimeGenericDigestDigest { + repeated Babe_SpRuntimeGenericDigestDigestItem logs = 1; } -message Babe_Logs { +message Balances_CompactTupleNull { + Balances_TupleNull value = 1; +} +message Identity_New { oneof value { - Babe_PreRuntime pre_runtime = 1; - Babe_Consensus consensus = 2; - Babe_Seal seal = 3; - Babe_Other other = 4; - Babe_RuntimeEnvironmentUpdated runtime_environment_updated = 5; + Identity_Id id = 1; + Identity_Index index = 2; + Identity_Raw raw = 3; + Identity_Address32 address32 = 4; + Identity_Address20 address20 = 5; } } -message Grandpa_Precommit { - FinalityGrandpaEquivocation value0 = 1; +message GearVoucher_IssueCall { + GearVoucher_SpCoreCryptoAccountId32 spender = 1; + string balance = 2; + optional GearVoucher_BTreeSet programs = 3; + bool code_uploading = 4; + uint32 duration = 5; } -message ConvictionVoting_Index { - ConvictionVoting_CompactTupleNull value0 = 1; +message Balances_TupleNull { } -message Whitelist_DispatchWhitelistedCallWithPreimageCall { - oneof call { - System_RemarkCall system_remark = 1; - System_SetHeapPagesCall system_set_heap_pages = 2; - System_SetCodeCall system_set_code = 3; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 4; - System_SetStorageCall system_set_storage = 5; - System_KillStorageCall system_kill_storage = 6; - System_KillPrefixCall system_kill_prefix = 7; - System_RemarkWithEventCall system_remark_with_event = 8; - Timestamp_SetCall timestamp_set = 9; - Babe_ReportEquivocationCall babe_report_equivocation = 10; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 11; - Babe_PlanConfigChangeCall babe_plan_config_change = 12; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 13; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 14; - Grandpa_NoteStalledCall grandpa_note_stalled = 15; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 16; - Balances_ForceTransferCall balances_force_transfer = 17; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 18; - Balances_TransferAllCall balances_transfer_all = 19; - Balances_ForceUnreserveCall balances_force_unreserve = 20; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 21; - Balances_ForceSetBalanceCall balances_force_set_balance = 22; - Vesting_VestCall vesting_vest = 23; - Vesting_VestOtherCall vesting_vest_other = 24; - Vesting_VestedTransferCall vesting_vested_transfer = 25; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 26; - Vesting_MergeSchedulesCall vesting_merge_schedules = 27; - BagsList_RebagCall bags_list_rebag = 28; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 29; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 30; - ImOnline_HeartbeatCall im_online_heartbeat = 31; - Staking_BondCall staking_bond = 32; - Staking_BondExtraCall staking_bond_extra = 33; - Staking_UnbondCall staking_unbond = 34; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 35; - Staking_ValidateCall staking_validate = 36; - Staking_NominateCall staking_nominate = 37; - Staking_ChillCall staking_chill = 38; - Staking_SetPayeeCall staking_set_payee = 39; - Staking_SetControllerCall staking_set_controller = 40; - Staking_SetValidatorCountCall staking_set_validator_count = 41; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 42; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 43; - Staking_ForceNoErasCall staking_force_no_eras = 44; - Staking_ForceNewEraCall staking_force_new_era = 45; - Staking_SetInvulnerablesCall staking_set_invulnerables = 46; - Staking_ForceUnstakeCall staking_force_unstake = 47; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 48; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 49; - Staking_PayoutStakersCall staking_payout_stakers = 50; - Staking_RebondCall staking_rebond = 51; - Staking_ReapStashCall staking_reap_stash = 52; - Staking_KickCall staking_kick = 53; - Staking_SetStakingConfigsCall staking_set_staking_configs = 54; - Staking_ChillOtherCall staking_chill_other = 55; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 56; - Staking_SetMinCommissionCall staking_set_min_commission = 57; - Session_SetKeysCall session_set_keys = 58; - Session_PurgeKeysCall session_purge_keys = 59; - Treasury_ProposeSpendCall treasury_propose_spend = 60; - Treasury_RejectProposalCall treasury_reject_proposal = 61; - Treasury_ApproveProposalCall treasury_approve_proposal = 62; - Treasury_SpendLocalCall treasury_spend_local = 63; - Treasury_RemoveApprovalCall treasury_remove_approval = 64; - Treasury_SpendCall treasury_spend = 65; - Treasury_PayoutCall treasury_payout = 66; - Treasury_CheckStatusCall treasury_check_status = 67; - Treasury_VoidSpendCall treasury_void_spend = 68; - Utility_BatchCall utility_batch = 69; - Utility_AsDerivativeCall utility_as_derivative = 70; - Utility_BatchAllCall utility_batch_all = 71; - Utility_DispatchAsCall utility_dispatch_as = 72; - Utility_ForceBatchCall utility_force_batch = 73; - Utility_WithWeightCall utility_with_weight = 74; - ConvictionVoting_VoteCall conviction_voting_vote = 75; - ConvictionVoting_DelegateCall conviction_voting_delegate = 76; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 77; - ConvictionVoting_UnlockCall conviction_voting_unlock = 78; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 79; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 80; - Referenda_SubmitCall referenda_submit = 81; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 82; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 83; - Referenda_CancelCall referenda_cancel = 84; - Referenda_KillCall referenda_kill = 85; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 86; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 87; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 88; - Referenda_SetMetadataCall referenda_set_metadata = 89; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 90; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 91; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 92; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 93; - FellowshipCollective_VoteCall fellowship_collective_vote = 94; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 95; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 96; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 97; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 98; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 99; - FellowshipReferenda_KillCall fellowship_referenda_kill = 100; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 101; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 102; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 103; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 104; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 105; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 106; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 107; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 108; - Scheduler_ScheduleCall scheduler_schedule = 109; - Scheduler_CancelCall scheduler_cancel = 110; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 111; - Scheduler_CancelNamedCall scheduler_cancel_named = 112; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 113; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 114; - Preimage_NotePreimageCall preimage_note_preimage = 115; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 116; - Preimage_RequestPreimageCall preimage_request_preimage = 117; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 118; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 119; - Identity_AddRegistrarCall identity_add_registrar = 120; - Identity_SetIdentityCall identity_set_identity = 121; - Identity_SetSubsCall identity_set_subs = 122; - Identity_ClearIdentityCall identity_clear_identity = 123; - Identity_RequestJudgementCall identity_request_judgement = 124; - Identity_CancelRequestCall identity_cancel_request = 125; - Identity_SetFeeCall identity_set_fee = 126; - Identity_SetAccountIdCall identity_set_account_id = 127; - Identity_SetFieldsCall identity_set_fields = 128; - Identity_ProvideJudgementCall identity_provide_judgement = 129; - Identity_KillIdentityCall identity_kill_identity = 130; - Identity_AddSubCall identity_add_sub = 131; - Identity_RenameSubCall identity_rename_sub = 132; - Identity_RemoveSubCall identity_remove_sub = 133; - Identity_QuitSubCall identity_quit_sub = 134; - Proxy_ProxyCall proxy_proxy = 135; - Proxy_AddProxyCall proxy_add_proxy = 136; - Proxy_RemoveProxyCall proxy_remove_proxy = 137; - Proxy_RemoveProxiesCall proxy_remove_proxies = 138; - Proxy_CreatePureCall proxy_create_pure = 139; - Proxy_KillPureCall proxy_kill_pure = 140; - Proxy_AnnounceCall proxy_announce = 141; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 142; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 143; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 144; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 145; - Multisig_AsMultiCall multisig_as_multi = 146; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 147; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 148; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 149; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 150; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 151; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 152; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 153; - Bounties_ProposeBountyCall bounties_propose_bounty = 154; - Bounties_ApproveBountyCall bounties_approve_bounty = 155; - Bounties_ProposeCuratorCall bounties_propose_curator = 156; - Bounties_UnassignCuratorCall bounties_unassign_curator = 157; - Bounties_AcceptCuratorCall bounties_accept_curator = 158; - Bounties_AwardBountyCall bounties_award_bounty = 159; - Bounties_ClaimBountyCall bounties_claim_bounty = 160; - Bounties_CloseBountyCall bounties_close_bounty = 161; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 162; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 163; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 164; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 165; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 166; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 167; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 168; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 169; - NominationPools_JoinCall nomination_pools_join = 170; - NominationPools_BondExtraCall nomination_pools_bond_extra = 171; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 172; - NominationPools_UnbondCall nomination_pools_unbond = 173; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 174; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 175; - NominationPools_CreateCall nomination_pools_create = 176; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 177; - NominationPools_NominateCall nomination_pools_nominate = 178; - NominationPools_SetStateCall nomination_pools_set_state = 179; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 180; - NominationPools_SetConfigsCall nomination_pools_set_configs = 181; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 182; - NominationPools_ChillCall nomination_pools_chill = 183; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 184; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 185; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 186; - NominationPools_SetCommissionCall nomination_pools_set_commission = 187; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 188; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 189; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 190; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 191; - Gear_UploadCodeCall gear_upload_code = 192; - Gear_UploadProgramCall gear_upload_program = 193; - Gear_CreateProgramCall gear_create_program = 194; - Gear_SendMessageCall gear_send_message = 195; - Gear_SendReplyCall gear_send_reply = 196; - Gear_ClaimValueCall gear_claim_value = 197; - Gear_RunCall gear_run = 198; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 199; - StakingRewards_RefillCall staking_rewards_refill = 200; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 201; - StakingRewards_WithdrawCall staking_rewards_withdraw = 202; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 203; - GearVoucher_IssueCall gear_voucher_issue = 204; - GearVoucher_CallCall gear_voucher_call = 205; - GearVoucher_RevokeCall gear_voucher_revoke = 206; - GearVoucher_UpdateCall gear_voucher_update = 207; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 208; - GearVoucher_DeclineCall gear_voucher_decline = 209; +message ConvictionVoting_SplitAbstain { + string aye = 1; + string nay = 2; + string abstain = 3; +} +message ConvictionVoting_Conviction { + oneof value { + ConvictionVoting_None none = 1; + ConvictionVoting_Locked1X locked1x = 2; + ConvictionVoting_Locked2X locked2x = 3; + ConvictionVoting_Locked3X locked3x = 4; + ConvictionVoting_Locked4X locked4x = 5; + ConvictionVoting_Locked5X locked5x = 6; + ConvictionVoting_Locked6X locked6x = 7; } } -message NominationPools_SetConfigsCall { - NominationPools_MinJoinBond min_join_bond = 1; - NominationPools_MinCreateBond min_create_bond = 2; - NominationPools_MaxPools max_pools = 3; - NominationPools_MaxMembers max_members = 4; - NominationPools_MaxMembersPerPool max_members_per_pool = 5; - NominationPools_GlobalMaxCommission global_max_commission = 6; +message Identity_Raw23 { + bytes value0 = 1; } -message Bounties_ExtendBountyExpiryCall { - Bounties_CompactUint32 bounty_id = 1; - bytes remark = 2; +message Proxy_Governance { } -message NominationPools_BondExtraCall { - NominationPools_Extra extra = 1; +message ElectionProviderMultiPhase_VaraRuntimeNposSolution16 { + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactUint32 votes1 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32 votes2 = 2; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32 votes3 = 3; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32 votes4 = 4; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32 votes5 = 5; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32 votes6 = 6; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32 votes7 = 7; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32 votes8 = 8; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32 votes9 = 9; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 votes10 = 10; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32 votes11 = 11; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32 votes12 = 12; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32 votes13 = 13; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32 votes14 = 14; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32 votes15 = 15; + repeated ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32 votes16 = 16; } -message Vesting_Address20 { +message GearVoucher_CallDeprecatedCall { + GearVoucher_Call call = 1; +} +message Treasury_Address32 { bytes value0 = 1; } -message Staking_SpCoreCryptoAccountId32 { - Staking_SpCoreCryptoAccountId32 invulnerables = 1; +message Vesting_PalletVestingVestingInfoVestingInfo { + string locked = 1; + string per_block = 2; + uint32 starting_block = 3; } -message ConvictionVoting_Locked5X { +message BagsList_Dislocated { + oneof value { + BagsList_Id id = 1; + BagsList_Index index = 2; + BagsList_Raw raw = 3; + BagsList_Address32 address32 = 4; + BagsList_Address20 address20 = 5; + } } -message Identity_Image { +message ConvictionVoting_To { + oneof value { + ConvictionVoting_Id id = 1; + ConvictionVoting_Index index = 2; + ConvictionVoting_Raw raw = 3; + ConvictionVoting_Address32 address32 = 4; + ConvictionVoting_Address20 address20 = 5; + } +} +message ElectionProviderMultiPhase_SubmitCall { + ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution raw_solution = 1; +} +message Balances_CompactString { + string value = 1; +} +message SpCoreCryptoAccountId32 { + bytes value0 = 1; +} +message Staking_Set { + string value0 = 1; +} +message FellowshipReferenda_RefundSubmissionDepositCall { + uint32 index = 1; +} +message Identity_AddRegistrarCall { + Identity_Account account = 1; +} +message ChildBounties_Index { + ChildBounties_CompactTupleNull value0 = 1; +} +message Gear_RunCall { + optional uint64 max_gas = 1; +} +message StakingRewards_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message FinalityGrandpaPrevote { + PrimitiveTypesH256 target_hash = 1; + uint32 target_number = 2; +} +message Identity_Twitter { oneof value { Identity_None none = 1; Identity_Raw0 raw0 = 2; @@ -4862,732 +4740,854 @@ message Identity_Image { Identity_ShaThree256 sha_three256 = 38; } } -message Multisig_SpWeightsWeightV2Weight { - Multisig_CompactUint64 ref_time = 1; - Multisig_CompactUint64 proof_size = 2; +message Identity_Unknown { } -message Bounties_Beneficiary { - oneof value { - Bounties_Id id = 1; - Bounties_Index index = 2; - Bounties_Raw raw = 3; - Bounties_Address32 address32 = 4; - Bounties_Address20 address20 = 5; - } +message Proxy_Staking { } -message NominationPools_SetCommissionCall { - uint32 pool_id = 1; - optional NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 new_commission = 2; +message System_KillPrefixCall { + bytes prefix = 1; + uint32 subkeys = 2; } -message Staking_TupleNull { +message Referenda_PrimitiveTypesH256 { + bytes maybe_hash = 1; +} +message Identity_Raw13 { + bytes value0 = 1; +} +message Bounties_Id { + SpCoreCryptoAccountId32 value0 = 1; +} +message Gear_SendMessageCall { + Gear_GprimitivesActorId destination = 1; + bytes payload = 2; + uint64 gas_limit = 3; + string value = 4; + bool keep_alive = 5; +} +message ConvictionVoting_VoteCall { + ConvictionVoting_CompactUint32 poll_index = 1; + ConvictionVoting_Vote vote = 2; +} +message Vesting_ForceVestedTransferCall { + Vesting_Source source = 1; + Vesting_Target target = 2; + Vesting_PalletVestingVestingInfoVestingInfo schedule = 3; } message Session_SetKeysCall { Session_VaraRuntimeSessionKeys keys = 1; bytes proof = 2; } -message Utility_AsDerivativeCall { - uint32 index = 1; +message None { +} +message Preimage_PrimitiveTypesH256 { + bytes hash = 1; +} +message ChildBounties_CompactUint32 { + uint32 value = 1; +} +message Babe_Logs { + oneof value { + Babe_PreRuntime pre_runtime = 1; + Babe_Consensus consensus = 2; + Babe_Seal seal = 3; + Babe_Other other = 4; + Babe_RuntimeEnvironmentUpdated runtime_environment_updated = 5; + } +} +message BagsList_TupleNull { +} +message Treasury_PayoutCall { + uint32 index = 1; +} +message Preimage_EnsureUpdatedCall { + repeated Preimage_PrimitiveTypesH256 hashes = 1; +} +message Identity_Raw8 { + bytes value0 = 1; +} +message Identity_Raw19 { + bytes value0 = 1; +} +message Identity_Image { + oneof value { + Identity_None none = 1; + Identity_Raw0 raw0 = 2; + Identity_Raw1 raw1 = 3; + Identity_Raw2 raw2 = 4; + Identity_Raw3 raw3 = 5; + Identity_Raw4 raw4 = 6; + Identity_Raw5 raw5 = 7; + Identity_Raw6 raw6 = 8; + Identity_Raw7 raw7 = 9; + Identity_Raw8 raw8 = 10; + Identity_Raw9 raw9 = 11; + Identity_Raw10 raw10 = 12; + Identity_Raw11 raw11 = 13; + Identity_Raw12 raw12 = 14; + Identity_Raw13 raw13 = 15; + Identity_Raw14 raw14 = 16; + Identity_Raw15 raw15 = 17; + Identity_Raw16 raw16 = 18; + Identity_Raw17 raw17 = 19; + Identity_Raw18 raw18 = 20; + Identity_Raw19 raw19 = 21; + Identity_Raw20 raw20 = 22; + Identity_Raw21 raw21 = 23; + Identity_Raw22 raw22 = 24; + Identity_Raw23 raw23 = 25; + Identity_Raw24 raw24 = 26; + Identity_Raw25 raw25 = 27; + Identity_Raw26 raw26 = 28; + Identity_Raw27 raw27 = 29; + Identity_Raw28 raw28 = 30; + Identity_Raw29 raw29 = 31; + Identity_Raw30 raw30 = 32; + Identity_Raw31 raw31 = 33; + Identity_Raw32 raw32 = 34; + Identity_BlakeTwo256 blake_two256 = 35; + Identity_Sha256 sha256 = 36; + Identity_Keccak256 keccak256 = 37; + Identity_ShaThree256 sha_three256 = 38; + } +} +message Proxy_RemoveProxyCall { + Proxy_Delegate delegate = 1; + Proxy_ProxyType proxy_type = 2; + uint32 delay = 3; +} +message Balances_Index { + Balances_CompactTupleNull value0 = 1; +} +message ElectionProviderMultiPhase_SpCoreCryptoAccountId32 { + bytes value0 = 1; +} +message Identity_ClearIdentityCall { +} +message Staking_ForceNewEraCall { +} +message Signed { + SpCoreCryptoAccountId32 value0 = 1; +} +message ConvictionVoting_CompactTupleNull { + ConvictionVoting_TupleNull value = 1; +} +message System_SetHeapPagesCall { + uint64 pages = 1; +} +message ElectionProviderMultiPhase_SpNposElectionsElectionScore { + string minimal_stake = 1; + string sum_stake = 2; + string sum_stake_squared = 3; +} +message NominationPools_Rewards { +} +message StakingRewards_From { + oneof value { + StakingRewards_Id id = 1; + StakingRewards_Index index = 2; + StakingRewards_Raw raw = 3; + StakingRewards_Address32 address32 = 4; + StakingRewards_Address20 address20 = 5; + } +} +message FellowshipCollective_VoteCall { + uint32 poll = 1; + bool aye = 2; +} +message Staking_CompactString { + string value = 1; +} +message Utility_WithWeightCall { oneof call { - System_RemarkCall system_remark = 2; - System_SetHeapPagesCall system_set_heap_pages = 3; - System_SetCodeCall system_set_code = 4; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 5; - System_SetStorageCall system_set_storage = 6; - System_KillStorageCall system_kill_storage = 7; - System_KillPrefixCall system_kill_prefix = 8; - System_RemarkWithEventCall system_remark_with_event = 9; - Timestamp_SetCall timestamp_set = 10; - Babe_ReportEquivocationCall babe_report_equivocation = 11; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 12; - Babe_PlanConfigChangeCall babe_plan_config_change = 13; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 14; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 15; - Grandpa_NoteStalledCall grandpa_note_stalled = 16; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 17; - Balances_ForceTransferCall balances_force_transfer = 18; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 19; - Balances_TransferAllCall balances_transfer_all = 20; - Balances_ForceUnreserveCall balances_force_unreserve = 21; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 22; - Balances_ForceSetBalanceCall balances_force_set_balance = 23; - Vesting_VestCall vesting_vest = 24; - Vesting_VestOtherCall vesting_vest_other = 25; - Vesting_VestedTransferCall vesting_vested_transfer = 26; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 27; - Vesting_MergeSchedulesCall vesting_merge_schedules = 28; - BagsList_RebagCall bags_list_rebag = 29; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 30; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 31; - ImOnline_HeartbeatCall im_online_heartbeat = 32; - Staking_BondCall staking_bond = 33; - Staking_BondExtraCall staking_bond_extra = 34; - Staking_UnbondCall staking_unbond = 35; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 36; - Staking_ValidateCall staking_validate = 37; - Staking_NominateCall staking_nominate = 38; - Staking_ChillCall staking_chill = 39; - Staking_SetPayeeCall staking_set_payee = 40; - Staking_SetControllerCall staking_set_controller = 41; - Staking_SetValidatorCountCall staking_set_validator_count = 42; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 43; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 44; - Staking_ForceNoErasCall staking_force_no_eras = 45; - Staking_ForceNewEraCall staking_force_new_era = 46; - Staking_SetInvulnerablesCall staking_set_invulnerables = 47; - Staking_ForceUnstakeCall staking_force_unstake = 48; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 49; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 50; - Staking_PayoutStakersCall staking_payout_stakers = 51; - Staking_RebondCall staking_rebond = 52; - Staking_ReapStashCall staking_reap_stash = 53; - Staking_KickCall staking_kick = 54; - Staking_SetStakingConfigsCall staking_set_staking_configs = 55; - Staking_ChillOtherCall staking_chill_other = 56; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 57; - Staking_SetMinCommissionCall staking_set_min_commission = 58; - Session_SetKeysCall session_set_keys = 59; - Session_PurgeKeysCall session_purge_keys = 60; - Treasury_ProposeSpendCall treasury_propose_spend = 61; - Treasury_RejectProposalCall treasury_reject_proposal = 62; - Treasury_ApproveProposalCall treasury_approve_proposal = 63; - Treasury_SpendLocalCall treasury_spend_local = 64; - Treasury_RemoveApprovalCall treasury_remove_approval = 65; - Treasury_SpendCall treasury_spend = 66; - Treasury_PayoutCall treasury_payout = 67; - Treasury_CheckStatusCall treasury_check_status = 68; - Treasury_VoidSpendCall treasury_void_spend = 69; - Utility_BatchCall utility_batch = 70; - Utility_AsDerivativeCall utility_as_derivative = 71; - Utility_BatchAllCall utility_batch_all = 72; - Utility_DispatchAsCall utility_dispatch_as = 73; - Utility_ForceBatchCall utility_force_batch = 74; - Utility_WithWeightCall utility_with_weight = 75; - ConvictionVoting_VoteCall conviction_voting_vote = 76; - ConvictionVoting_DelegateCall conviction_voting_delegate = 77; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 78; - ConvictionVoting_UnlockCall conviction_voting_unlock = 79; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 80; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 81; - Referenda_SubmitCall referenda_submit = 82; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 83; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 84; - Referenda_CancelCall referenda_cancel = 85; - Referenda_KillCall referenda_kill = 86; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 87; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 88; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 89; - Referenda_SetMetadataCall referenda_set_metadata = 90; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 91; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 92; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 93; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 94; - FellowshipCollective_VoteCall fellowship_collective_vote = 95; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 96; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 97; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 98; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 99; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 100; - FellowshipReferenda_KillCall fellowship_referenda_kill = 101; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 102; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 103; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 104; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 105; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 106; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 107; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 108; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 109; - Scheduler_ScheduleCall scheduler_schedule = 110; - Scheduler_CancelCall scheduler_cancel = 111; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 112; - Scheduler_CancelNamedCall scheduler_cancel_named = 113; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 114; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 115; - Preimage_NotePreimageCall preimage_note_preimage = 116; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 117; - Preimage_RequestPreimageCall preimage_request_preimage = 118; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 119; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 120; - Identity_AddRegistrarCall identity_add_registrar = 121; - Identity_SetIdentityCall identity_set_identity = 122; - Identity_SetSubsCall identity_set_subs = 123; - Identity_ClearIdentityCall identity_clear_identity = 124; - Identity_RequestJudgementCall identity_request_judgement = 125; - Identity_CancelRequestCall identity_cancel_request = 126; - Identity_SetFeeCall identity_set_fee = 127; - Identity_SetAccountIdCall identity_set_account_id = 128; - Identity_SetFieldsCall identity_set_fields = 129; - Identity_ProvideJudgementCall identity_provide_judgement = 130; - Identity_KillIdentityCall identity_kill_identity = 131; - Identity_AddSubCall identity_add_sub = 132; - Identity_RenameSubCall identity_rename_sub = 133; - Identity_RemoveSubCall identity_remove_sub = 134; - Identity_QuitSubCall identity_quit_sub = 135; - Proxy_ProxyCall proxy_proxy = 136; - Proxy_AddProxyCall proxy_add_proxy = 137; - Proxy_RemoveProxyCall proxy_remove_proxy = 138; - Proxy_RemoveProxiesCall proxy_remove_proxies = 139; - Proxy_CreatePureCall proxy_create_pure = 140; - Proxy_KillPureCall proxy_kill_pure = 141; - Proxy_AnnounceCall proxy_announce = 142; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 143; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 144; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 145; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 146; - Multisig_AsMultiCall multisig_as_multi = 147; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 148; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 149; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 150; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 151; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 152; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 153; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 154; - Bounties_ProposeBountyCall bounties_propose_bounty = 155; - Bounties_ApproveBountyCall bounties_approve_bounty = 156; - Bounties_ProposeCuratorCall bounties_propose_curator = 157; - Bounties_UnassignCuratorCall bounties_unassign_curator = 158; - Bounties_AcceptCuratorCall bounties_accept_curator = 159; - Bounties_AwardBountyCall bounties_award_bounty = 160; - Bounties_ClaimBountyCall bounties_claim_bounty = 161; - Bounties_CloseBountyCall bounties_close_bounty = 162; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 163; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 164; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 165; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 166; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 167; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 168; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 169; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 170; - NominationPools_JoinCall nomination_pools_join = 171; - NominationPools_BondExtraCall nomination_pools_bond_extra = 172; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 173; - NominationPools_UnbondCall nomination_pools_unbond = 174; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 175; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 176; - NominationPools_CreateCall nomination_pools_create = 177; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 178; - NominationPools_NominateCall nomination_pools_nominate = 179; - NominationPools_SetStateCall nomination_pools_set_state = 180; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 181; - NominationPools_SetConfigsCall nomination_pools_set_configs = 182; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 183; - NominationPools_ChillCall nomination_pools_chill = 184; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 185; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 186; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 187; - NominationPools_SetCommissionCall nomination_pools_set_commission = 188; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 189; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 190; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 191; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 192; - Gear_UploadCodeCall gear_upload_code = 193; - Gear_UploadProgramCall gear_upload_program = 194; - Gear_CreateProgramCall gear_create_program = 195; - Gear_SendMessageCall gear_send_message = 196; - Gear_SendReplyCall gear_send_reply = 197; - Gear_ClaimValueCall gear_claim_value = 198; - Gear_RunCall gear_run = 199; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 200; - StakingRewards_RefillCall staking_rewards_refill = 201; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 202; - StakingRewards_WithdrawCall staking_rewards_withdraw = 203; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 204; - GearVoucher_IssueCall gear_voucher_issue = 205; - GearVoucher_CallCall gear_voucher_call = 206; - GearVoucher_RevokeCall gear_voucher_revoke = 207; - GearVoucher_UpdateCall gear_voucher_update = 208; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 209; - GearVoucher_DeclineCall gear_voucher_decline = 210; + System_RemarkCall system_remark = 1; + System_SetHeapPagesCall system_set_heap_pages = 2; + System_SetCodeCall system_set_code = 3; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 4; + System_SetStorageCall system_set_storage = 5; + System_KillStorageCall system_kill_storage = 6; + System_KillPrefixCall system_kill_prefix = 7; + System_RemarkWithEventCall system_remark_with_event = 8; + Timestamp_SetCall timestamp_set = 9; + Babe_ReportEquivocationCall babe_report_equivocation = 10; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 11; + Babe_PlanConfigChangeCall babe_plan_config_change = 12; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 13; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 14; + Grandpa_NoteStalledCall grandpa_note_stalled = 15; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 16; + Balances_ForceTransferCall balances_force_transfer = 17; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 18; + Balances_TransferAllCall balances_transfer_all = 19; + Balances_ForceUnreserveCall balances_force_unreserve = 20; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 21; + Balances_ForceSetBalanceCall balances_force_set_balance = 22; + Vesting_VestCall vesting_vest = 23; + Vesting_VestOtherCall vesting_vest_other = 24; + Vesting_VestedTransferCall vesting_vested_transfer = 25; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 26; + Vesting_MergeSchedulesCall vesting_merge_schedules = 27; + BagsList_RebagCall bags_list_rebag = 28; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 29; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 30; + ImOnline_HeartbeatCall im_online_heartbeat = 31; + Staking_BondCall staking_bond = 32; + Staking_BondExtraCall staking_bond_extra = 33; + Staking_UnbondCall staking_unbond = 34; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 35; + Staking_ValidateCall staking_validate = 36; + Staking_NominateCall staking_nominate = 37; + Staking_ChillCall staking_chill = 38; + Staking_SetPayeeCall staking_set_payee = 39; + Staking_SetControllerCall staking_set_controller = 40; + Staking_SetValidatorCountCall staking_set_validator_count = 41; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 42; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 43; + Staking_ForceNoErasCall staking_force_no_eras = 44; + Staking_ForceNewEraCall staking_force_new_era = 45; + Staking_SetInvulnerablesCall staking_set_invulnerables = 46; + Staking_ForceUnstakeCall staking_force_unstake = 47; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 48; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 49; + Staking_PayoutStakersCall staking_payout_stakers = 50; + Staking_RebondCall staking_rebond = 51; + Staking_ReapStashCall staking_reap_stash = 52; + Staking_KickCall staking_kick = 53; + Staking_SetStakingConfigsCall staking_set_staking_configs = 54; + Staking_ChillOtherCall staking_chill_other = 55; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 56; + Staking_SetMinCommissionCall staking_set_min_commission = 57; + Session_SetKeysCall session_set_keys = 58; + Session_PurgeKeysCall session_purge_keys = 59; + Treasury_ProposeSpendCall treasury_propose_spend = 60; + Treasury_RejectProposalCall treasury_reject_proposal = 61; + Treasury_ApproveProposalCall treasury_approve_proposal = 62; + Treasury_SpendLocalCall treasury_spend_local = 63; + Treasury_RemoveApprovalCall treasury_remove_approval = 64; + Treasury_SpendCall treasury_spend = 65; + Treasury_PayoutCall treasury_payout = 66; + Treasury_CheckStatusCall treasury_check_status = 67; + Treasury_VoidSpendCall treasury_void_spend = 68; + Utility_BatchCall utility_batch = 69; + Utility_AsDerivativeCall utility_as_derivative = 70; + Utility_BatchAllCall utility_batch_all = 71; + Utility_DispatchAsCall utility_dispatch_as = 72; + Utility_ForceBatchCall utility_force_batch = 73; + Utility_WithWeightCall utility_with_weight = 74; + ConvictionVoting_VoteCall conviction_voting_vote = 75; + ConvictionVoting_DelegateCall conviction_voting_delegate = 76; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 77; + ConvictionVoting_UnlockCall conviction_voting_unlock = 78; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 79; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 80; + Referenda_SubmitCall referenda_submit = 81; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 82; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 83; + Referenda_CancelCall referenda_cancel = 84; + Referenda_KillCall referenda_kill = 85; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 86; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 87; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 88; + Referenda_SetMetadataCall referenda_set_metadata = 89; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 90; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 91; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 92; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 93; + FellowshipCollective_VoteCall fellowship_collective_vote = 94; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 95; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 96; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 97; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 98; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 99; + FellowshipReferenda_KillCall fellowship_referenda_kill = 100; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 101; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 102; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 103; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 104; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 105; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 106; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 107; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 108; + Scheduler_ScheduleCall scheduler_schedule = 109; + Scheduler_CancelCall scheduler_cancel = 110; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 111; + Scheduler_CancelNamedCall scheduler_cancel_named = 112; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 113; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 114; + Preimage_NotePreimageCall preimage_note_preimage = 115; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 116; + Preimage_RequestPreimageCall preimage_request_preimage = 117; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 118; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 119; + Identity_AddRegistrarCall identity_add_registrar = 120; + Identity_SetIdentityCall identity_set_identity = 121; + Identity_SetSubsCall identity_set_subs = 122; + Identity_ClearIdentityCall identity_clear_identity = 123; + Identity_RequestJudgementCall identity_request_judgement = 124; + Identity_CancelRequestCall identity_cancel_request = 125; + Identity_SetFeeCall identity_set_fee = 126; + Identity_SetAccountIdCall identity_set_account_id = 127; + Identity_SetFieldsCall identity_set_fields = 128; + Identity_ProvideJudgementCall identity_provide_judgement = 129; + Identity_KillIdentityCall identity_kill_identity = 130; + Identity_AddSubCall identity_add_sub = 131; + Identity_RenameSubCall identity_rename_sub = 132; + Identity_RemoveSubCall identity_remove_sub = 133; + Identity_QuitSubCall identity_quit_sub = 134; + Proxy_ProxyCall proxy_proxy = 135; + Proxy_AddProxyCall proxy_add_proxy = 136; + Proxy_RemoveProxyCall proxy_remove_proxy = 137; + Proxy_RemoveProxiesCall proxy_remove_proxies = 138; + Proxy_CreatePureCall proxy_create_pure = 139; + Proxy_KillPureCall proxy_kill_pure = 140; + Proxy_AnnounceCall proxy_announce = 141; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 142; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 143; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 144; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 145; + Multisig_AsMultiCall multisig_as_multi = 146; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 147; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 148; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 149; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 150; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 151; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 152; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 153; + Bounties_ProposeBountyCall bounties_propose_bounty = 154; + Bounties_ApproveBountyCall bounties_approve_bounty = 155; + Bounties_ProposeCuratorCall bounties_propose_curator = 156; + Bounties_UnassignCuratorCall bounties_unassign_curator = 157; + Bounties_AcceptCuratorCall bounties_accept_curator = 158; + Bounties_AwardBountyCall bounties_award_bounty = 159; + Bounties_ClaimBountyCall bounties_claim_bounty = 160; + Bounties_CloseBountyCall bounties_close_bounty = 161; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 162; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 163; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 164; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 165; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 166; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 167; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 168; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 169; + NominationPools_JoinCall nomination_pools_join = 170; + NominationPools_BondExtraCall nomination_pools_bond_extra = 171; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 172; + NominationPools_UnbondCall nomination_pools_unbond = 173; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 174; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 175; + NominationPools_CreateCall nomination_pools_create = 176; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 177; + NominationPools_NominateCall nomination_pools_nominate = 178; + NominationPools_SetStateCall nomination_pools_set_state = 179; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 180; + NominationPools_SetConfigsCall nomination_pools_set_configs = 181; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 182; + NominationPools_ChillCall nomination_pools_chill = 183; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 184; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 185; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 186; + NominationPools_SetCommissionCall nomination_pools_set_commission = 187; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 188; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 189; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 190; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 191; + Gear_UploadCodeCall gear_upload_code = 192; + Gear_UploadProgramCall gear_upload_program = 193; + Gear_CreateProgramCall gear_create_program = 194; + Gear_SendMessageCall gear_send_message = 195; + Gear_SendReplyCall gear_send_reply = 196; + Gear_ClaimValueCall gear_claim_value = 197; + Gear_RunCall gear_run = 198; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 199; + StakingRewards_RefillCall staking_rewards_refill = 200; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 201; + StakingRewards_WithdrawCall staking_rewards_withdraw = 202; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 203; + GearVoucher_IssueCall gear_voucher_issue = 204; + GearVoucher_CallCall gear_voucher_call = 205; + GearVoucher_RevokeCall gear_voucher_revoke = 206; + GearVoucher_UpdateCall gear_voucher_update = 207; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 208; + GearVoucher_DeclineCall gear_voucher_decline = 209; } + Utility_SpWeightsWeightV2Weight weight = 210; } -message Referenda_At { - uint32 value0 = 1; +message Gear_GprimitivesActorId { + bytes destination = 1; } -message Identity_CompactUint32 { - uint32 value = 1; +message ImOnline_HeartbeatCall { + ImOnline_PalletImOnlineHeartbeat heartbeat = 1; + ImOnline_PalletImOnlineSr25519AppSr25519Signature signature = 2; } -message NominationPools_CreateWithPoolIdCall { - NominationPools_CompactString amount = 1; - NominationPools_Root root = 2; - NominationPools_Nominator nominator = 3; - NominationPools_Bouncer bouncer = 4; - uint32 pool_id = 5; +message BagsList_Raw { + bytes value0 = 1; } -message Treasury_Beneficiary { - oneof value { - Treasury_Id id = 1; - Treasury_Index index = 2; - Treasury_Raw raw = 3; - Treasury_Address32 address32 = 4; - Treasury_Address20 address20 = 5; - } +message Staking_Account { + SpCoreCryptoAccountId32 value0 = 1; } -message Referenda_OneFewerDecidingCall { - uint32 track = 1; +message Vesting_VestCall { } -message FellowshipReferenda_System { - Value0 value0 = 1; +message Babe_ReportEquivocationCall { + Babe_SpConsensusSlotsEquivocationProof equivocation_proof = 1; + Babe_SpSessionMembershipProof key_owner_proof = 2; } -message FellowshipReferenda_PlaceDecisionDepositCall { +message Session_PurgeKeysCall { +} +message Treasury_SpendLocalCall { + Treasury_CompactString amount = 1; + Treasury_Beneficiary beneficiary = 2; +} +message FellowshipReferenda_KillCall { uint32 index = 1; } -message Identity_Target { +message Identity_CompactString { + string value = 1; +} +message Babe_Seal { + bytes value0 = 1; + bytes value1 = 2; +} +message Staking_BondCall { + Staking_CompactString value = 1; + Staking_Payee payee = 2; +} +message Staking_SpArithmeticPerThingsPerbill { + uint32 value = 1; +} +message ConvictionVoting_Locked2X { +} +message Identity_Raw6 { + bytes value0 = 1; +} +message Proxy_Any { +} +message Bounties_ExtendBountyExpiryCall { + Bounties_CompactUint32 bounty_id = 1; + bytes remark = 2; +} +message Gear_CreateProgramCall { + Gear_GprimitivesCodeId code_id = 1; + bytes salt = 2; + bytes init_payload = 3; + uint64 gas_limit = 4; + string value = 5; + bool keep_alive = 6; +} +message Balances_Source { oneof value { - Identity_Id id = 1; - Identity_Index index = 2; - Identity_Raw raw = 3; - Identity_Address32 address32 = 4; - Identity_Address20 address20 = 5; + Balances_Id id = 1; + Balances_Index index = 2; + Balances_Raw raw = 3; + Balances_Address32 address32 = 4; + Balances_Address20 address20 = 5; } } -message Bounties_Address20 { - bytes value0 = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message ConvictionVoting_Standard { - conviction_voting_PalletConvictionVotingVoteVote vote = 1; - string balance = 2; +message Bounties_ProposeCuratorCall { + Bounties_CompactUint32 bounty_id = 1; + Bounties_Curator curator = 2; + Bounties_CompactString fee = 3; } -message StakingRewards_Address20 { - bytes value0 = 1; +message Balances_TransferAllCall { + Balances_Dest dest = 1; + bool keep_alive = 2; } -message GearVoucher_DeclineCall { - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 1; +message Balances_SpCoreCryptoAccountId32 { + Balances_SpCoreCryptoAccountId32 who = 1; } -message Staking_ReapStashCall { - Staking_SpCoreCryptoAccountId32 stash = 1; - uint32 num_slashing_spans = 2; +message ConvictionVoting_None { } -message Treasury_SpendCall { - Treasury_TupleNull asset_kind = 1; - Treasury_CompactString amount = 2; - Treasury_SpCoreCryptoAccountId32 beneficiary = 3; - optional uint32 valid_from = 4; +message Referenda_Proposal { + oneof value { + Referenda_Legacy legacy = 1; + Referenda_Inline inline = 2; + Referenda_Lookup lookup = 3; + } } -message ConvictionVoting_Raw { - bytes value0 = 1; +message Scheduler_TupleUint32Uint32 { + uint32 value0 = 1; + uint32 value1 = 2; } -message Proxy_ProxyCall { - Proxy_Real real = 1; - optional Proxy_ForceProxyType force_proxy_type = 2; - oneof call { - System_RemarkCall system_remark = 3; - System_SetHeapPagesCall system_set_heap_pages = 4; - System_SetCodeCall system_set_code = 5; - System_SetCodeWithoutChecksCall system_set_code_without_checks = 6; - System_SetStorageCall system_set_storage = 7; - System_KillStorageCall system_kill_storage = 8; - System_KillPrefixCall system_kill_prefix = 9; - System_RemarkWithEventCall system_remark_with_event = 10; - Timestamp_SetCall timestamp_set = 11; - Babe_ReportEquivocationCall babe_report_equivocation = 12; - Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 13; - Babe_PlanConfigChangeCall babe_plan_config_change = 14; - Grandpa_ReportEquivocationCall grandpa_report_equivocation = 15; - Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 16; - Grandpa_NoteStalledCall grandpa_note_stalled = 17; - Balances_TransferAllowDeathCall balances_transfer_allow_death = 18; - Balances_ForceTransferCall balances_force_transfer = 19; - Balances_TransferKeepAliveCall balances_transfer_keep_alive = 20; - Balances_TransferAllCall balances_transfer_all = 21; - Balances_ForceUnreserveCall balances_force_unreserve = 22; - Balances_UpgradeAccountsCall balances_upgrade_accounts = 23; - Balances_ForceSetBalanceCall balances_force_set_balance = 24; - Vesting_VestCall vesting_vest = 25; - Vesting_VestOtherCall vesting_vest_other = 26; - Vesting_VestedTransferCall vesting_vested_transfer = 27; - Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 28; - Vesting_MergeSchedulesCall vesting_merge_schedules = 29; - BagsList_RebagCall bags_list_rebag = 30; - BagsList_PutInFrontOfCall bags_list_put_in_front_of = 31; - BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 32; - ImOnline_HeartbeatCall im_online_heartbeat = 33; - Staking_BondCall staking_bond = 34; - Staking_BondExtraCall staking_bond_extra = 35; - Staking_UnbondCall staking_unbond = 36; - Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 37; - Staking_ValidateCall staking_validate = 38; - Staking_NominateCall staking_nominate = 39; - Staking_ChillCall staking_chill = 40; - Staking_SetPayeeCall staking_set_payee = 41; - Staking_SetControllerCall staking_set_controller = 42; - Staking_SetValidatorCountCall staking_set_validator_count = 43; - Staking_IncreaseValidatorCountCall staking_increase_validator_count = 44; - Staking_ScaleValidatorCountCall staking_scale_validator_count = 45; - Staking_ForceNoErasCall staking_force_no_eras = 46; - Staking_ForceNewEraCall staking_force_new_era = 47; - Staking_SetInvulnerablesCall staking_set_invulnerables = 48; - Staking_ForceUnstakeCall staking_force_unstake = 49; - Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 50; - Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 51; - Staking_PayoutStakersCall staking_payout_stakers = 52; - Staking_RebondCall staking_rebond = 53; - Staking_ReapStashCall staking_reap_stash = 54; - Staking_KickCall staking_kick = 55; - Staking_SetStakingConfigsCall staking_set_staking_configs = 56; - Staking_ChillOtherCall staking_chill_other = 57; - Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 58; - Staking_SetMinCommissionCall staking_set_min_commission = 59; - Session_SetKeysCall session_set_keys = 60; - Session_PurgeKeysCall session_purge_keys = 61; - Treasury_ProposeSpendCall treasury_propose_spend = 62; - Treasury_RejectProposalCall treasury_reject_proposal = 63; - Treasury_ApproveProposalCall treasury_approve_proposal = 64; - Treasury_SpendLocalCall treasury_spend_local = 65; - Treasury_RemoveApprovalCall treasury_remove_approval = 66; - Treasury_SpendCall treasury_spend = 67; - Treasury_PayoutCall treasury_payout = 68; - Treasury_CheckStatusCall treasury_check_status = 69; - Treasury_VoidSpendCall treasury_void_spend = 70; - Utility_BatchCall utility_batch = 71; - Utility_AsDerivativeCall utility_as_derivative = 72; - Utility_BatchAllCall utility_batch_all = 73; - Utility_DispatchAsCall utility_dispatch_as = 74; - Utility_ForceBatchCall utility_force_batch = 75; - Utility_WithWeightCall utility_with_weight = 76; - ConvictionVoting_VoteCall conviction_voting_vote = 77; - ConvictionVoting_DelegateCall conviction_voting_delegate = 78; - ConvictionVoting_UndelegateCall conviction_voting_undelegate = 79; - ConvictionVoting_UnlockCall conviction_voting_unlock = 80; - ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 81; - ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 82; - Referenda_SubmitCall referenda_submit = 83; - Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 84; - Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 85; - Referenda_CancelCall referenda_cancel = 86; - Referenda_KillCall referenda_kill = 87; - Referenda_NudgeReferendumCall referenda_nudge_referendum = 88; - Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 89; - Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 90; - Referenda_SetMetadataCall referenda_set_metadata = 91; - FellowshipCollective_AddMemberCall fellowship_collective_add_member = 92; - FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 93; - FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 94; - FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 95; - FellowshipCollective_VoteCall fellowship_collective_vote = 96; - FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 97; - FellowshipReferenda_SubmitCall fellowship_referenda_submit = 98; - FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 99; - FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 100; - FellowshipReferenda_CancelCall fellowship_referenda_cancel = 101; - FellowshipReferenda_KillCall fellowship_referenda_kill = 102; - FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 103; - FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 104; - FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 105; - FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 106; - Whitelist_WhitelistCallCall whitelist_whitelist_call = 107; - Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 108; - Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 109; - Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 110; - Scheduler_ScheduleCall scheduler_schedule = 111; - Scheduler_CancelCall scheduler_cancel = 112; - Scheduler_ScheduleNamedCall scheduler_schedule_named = 113; - Scheduler_CancelNamedCall scheduler_cancel_named = 114; - Scheduler_ScheduleAfterCall scheduler_schedule_after = 115; - Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 116; - Preimage_NotePreimageCall preimage_note_preimage = 117; - Preimage_UnnotePreimageCall preimage_unnote_preimage = 118; - Preimage_RequestPreimageCall preimage_request_preimage = 119; - Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 120; - Preimage_EnsureUpdatedCall preimage_ensure_updated = 121; - Identity_AddRegistrarCall identity_add_registrar = 122; - Identity_SetIdentityCall identity_set_identity = 123; - Identity_SetSubsCall identity_set_subs = 124; - Identity_ClearIdentityCall identity_clear_identity = 125; - Identity_RequestJudgementCall identity_request_judgement = 126; - Identity_CancelRequestCall identity_cancel_request = 127; - Identity_SetFeeCall identity_set_fee = 128; - Identity_SetAccountIdCall identity_set_account_id = 129; - Identity_SetFieldsCall identity_set_fields = 130; - Identity_ProvideJudgementCall identity_provide_judgement = 131; - Identity_KillIdentityCall identity_kill_identity = 132; - Identity_AddSubCall identity_add_sub = 133; - Identity_RenameSubCall identity_rename_sub = 134; - Identity_RemoveSubCall identity_remove_sub = 135; - Identity_QuitSubCall identity_quit_sub = 136; - Proxy_ProxyCall proxy_proxy = 137; - Proxy_AddProxyCall proxy_add_proxy = 138; - Proxy_RemoveProxyCall proxy_remove_proxy = 139; - Proxy_RemoveProxiesCall proxy_remove_proxies = 140; - Proxy_CreatePureCall proxy_create_pure = 141; - Proxy_KillPureCall proxy_kill_pure = 142; - Proxy_AnnounceCall proxy_announce = 143; - Proxy_RemoveAnnouncementCall proxy_remove_announcement = 144; - Proxy_RejectAnnouncementCall proxy_reject_announcement = 145; - Proxy_ProxyAnnouncedCall proxy_proxy_announced = 146; - Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 147; - Multisig_AsMultiCall multisig_as_multi = 148; - Multisig_ApproveAsMultiCall multisig_approve_as_multi = 149; - Multisig_CancelAsMultiCall multisig_cancel_as_multi = 150; - ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 151; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 152; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 153; - ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 154; - ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 155; - Bounties_ProposeBountyCall bounties_propose_bounty = 156; - Bounties_ApproveBountyCall bounties_approve_bounty = 157; - Bounties_ProposeCuratorCall bounties_propose_curator = 158; - Bounties_UnassignCuratorCall bounties_unassign_curator = 159; - Bounties_AcceptCuratorCall bounties_accept_curator = 160; - Bounties_AwardBountyCall bounties_award_bounty = 161; - Bounties_ClaimBountyCall bounties_claim_bounty = 162; - Bounties_CloseBountyCall bounties_close_bounty = 163; - Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 164; - ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 165; - ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 166; - ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 167; - ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 168; - ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 169; - ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 170; - ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 171; - NominationPools_JoinCall nomination_pools_join = 172; - NominationPools_BondExtraCall nomination_pools_bond_extra = 173; - NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 174; - NominationPools_UnbondCall nomination_pools_unbond = 175; - NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 176; - NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 177; - NominationPools_CreateCall nomination_pools_create = 178; - NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 179; - NominationPools_NominateCall nomination_pools_nominate = 180; - NominationPools_SetStateCall nomination_pools_set_state = 181; - NominationPools_SetMetadataCall nomination_pools_set_metadata = 182; - NominationPools_SetConfigsCall nomination_pools_set_configs = 183; - NominationPools_UpdateRolesCall nomination_pools_update_roles = 184; - NominationPools_ChillCall nomination_pools_chill = 185; - NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 186; - NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 187; - NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 188; - NominationPools_SetCommissionCall nomination_pools_set_commission = 189; - NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 190; - NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 191; - NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 192; - NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 193; - Gear_UploadCodeCall gear_upload_code = 194; - Gear_UploadProgramCall gear_upload_program = 195; - Gear_CreateProgramCall gear_create_program = 196; - Gear_SendMessageCall gear_send_message = 197; - Gear_SendReplyCall gear_send_reply = 198; - Gear_ClaimValueCall gear_claim_value = 199; - Gear_RunCall gear_run = 200; - Gear_SetExecuteInherentCall gear_set_execute_inherent = 201; - StakingRewards_RefillCall staking_rewards_refill = 202; - StakingRewards_ForceRefillCall staking_rewards_force_refill = 203; - StakingRewards_WithdrawCall staking_rewards_withdraw = 204; - StakingRewards_AlignSupplyCall staking_rewards_align_supply = 205; - GearVoucher_IssueCall gear_voucher_issue = 206; - GearVoucher_CallCall gear_voucher_call = 207; - GearVoucher_RevokeCall gear_voucher_revoke = 208; - GearVoucher_UpdateCall gear_voucher_update = 209; - GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 210; - GearVoucher_DeclineCall gear_voucher_decline = 211; - } +message Proxy_Address32 { + bytes value0 = 1; } -message NominationPools_FreeBalance { - string value0 = 1; +message Multisig_SpCoreCryptoAccountId32 { + Multisig_SpCoreCryptoAccountId32 other_signatories = 1; } -message Gear_SetExecuteInherentCall { - bool value = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message Staking_MinValidatorBond { +message System_SetStorageCall { + repeated System_TupleSystemItemsListSystemItemsList items = 1; +} +message NominationPools_MemberAccount { oneof value { - Staking_Noop noop = 1; - Staking_Set set = 2; - Staking_Remove remove = 3; + NominationPools_Id id = 1; + NominationPools_Index index = 2; + NominationPools_Raw raw = 3; + NominationPools_Address32 address32 = 4; + NominationPools_Address20 address20 = 5; } } -message ConvictionVoting_Split { - string aye = 1; - string nay = 2; -} -message FellowshipReferenda_Origins { - Value0 value0 = 1; +message NominationPools_NewRoot { + oneof value { + NominationPools_Noop noop = 1; + NominationPools_Set set = 2; + NominationPools_Remove remove = 3; + } } -message Identity_Raw23 { +message ChildBounties_Address20 { bytes value0 = 1; } -message Multisig_CancelAsMultiCall { - uint32 threshold = 1; - repeated Multisig_SpCoreCryptoAccountId32 other_signatories = 2; - Multisig_PalletMultisigTimepoint timepoint = 3; - bytes call_hash = 4; -} -message StakingRewards_From { +message Treasury_Beneficiary { oneof value { - StakingRewards_Id id = 1; - StakingRewards_Index index = 2; - StakingRewards_Raw raw = 3; - StakingRewards_Address32 address32 = 4; - StakingRewards_Address20 address20 = 5; + Treasury_Id id = 1; + Treasury_Index index = 2; + Treasury_Raw raw = 3; + Treasury_Address32 address32 = 4; + Treasury_Address20 address20 = 5; } } -message BagsList_CompactTupleNull { - BagsList_TupleNull value = 1; +message FellowshipReferenda_NudgeReferendumCall { + uint32 index = 1; } -message Treasury_CheckStatusCall { +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; +} +message ImOnline_PalletImOnlineSr25519AppSr25519Signature { + ImOnline_SpCoreSr25519Signature signature = 1; +} +message ConvictionVoting_UndelegateCall { + uint32 class = 1; +} +message Referenda_RefundDecisionDepositCall { uint32 index = 1; } -message ConvictionVoting_SplitAbstain { - string aye = 1; - string nay = 2; - string abstain = 3; +message Identity_Keccak256 { + bytes value0 = 1; } -message FellowshipReferenda_Legacy { - PrimitiveTypesH256 hash = 1; +message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 { + ElectionProviderMultiPhase_CompactUint32 value0 = 1; + repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; + ElectionProviderMultiPhase_CompactUint32 value2 = 3; } -message Identity_Raw2 { +message Bounties_AcceptCuratorCall { + Bounties_CompactUint32 bounty_id = 1; +} +message Staking_CancelDeferredSlashCall { + uint32 era = 1; + repeated uint32 slash_indices = 2; +} +message SpArithmeticPerThingsPercent { + uint32 value0 = 1; +} +message FellowshipCollective_Index { + FellowshipCollective_CompactTupleNull value0 = 1; +} +message FellowshipCollective_DemoteMemberCall { + FellowshipCollective_Who who = 1; +} +message Staking_UnbondCall { + Staking_CompactString value = 1; +} +message Preimage_UnrequestPreimageCall { + Preimage_PrimitiveTypesH256 hash = 1; +} +message Staking_SpRuntimeMultiaddressMultiAddress { + Staking_Targets targets = 1; +} +message Treasury_SpendCall { + Treasury_TupleNull asset_kind = 1; + Treasury_CompactString amount = 2; + Treasury_SpCoreCryptoAccountId32 beneficiary = 3; + optional uint32 valid_from = 4; +} +message FellowshipReferenda_SubmitCall { + FellowshipReferenda_ProposalOrigin proposal_origin = 1; + FellowshipReferenda_Proposal proposal = 2; + FellowshipReferenda_EnactmentMoment enactment_moment = 3; +} +message Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData { + Identity_Value0 value0 = 1; + Identity_Value1 value1 = 2; +} +message Identity_KillIdentityCall { + Identity_Target target = 1; +} +message NominationPools_Address32 { bytes value0 = 1; } -message Identity_Raw27 { +message Babe_Config { + oneof value { + Babe_V1 v1 = 1; + } +} +message StakingRewards_Address20 { bytes value0 = 1; } -message StakingRewards_ForceRefillCall { - StakingRewards_From from = 1; - string value = 2; +message ChildBounties_UnassignCuratorCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactUint32 child_bounty_id = 2; } -message GearVoucher_Call { - oneof value { - GearVoucher_SendMessage send_message = 1; - GearVoucher_SendReply send_reply = 2; - GearVoucher_UploadCode upload_code = 3; - GearVoucher_DeclineVoucher decline_voucher = 4; +message Utility_AsDerivativeCall { + uint32 index = 1; + oneof call { + System_RemarkCall system_remark = 2; + System_SetHeapPagesCall system_set_heap_pages = 3; + System_SetCodeCall system_set_code = 4; + System_SetCodeWithoutChecksCall system_set_code_without_checks = 5; + System_SetStorageCall system_set_storage = 6; + System_KillStorageCall system_kill_storage = 7; + System_KillPrefixCall system_kill_prefix = 8; + System_RemarkWithEventCall system_remark_with_event = 9; + Timestamp_SetCall timestamp_set = 10; + Babe_ReportEquivocationCall babe_report_equivocation = 11; + Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned = 12; + Babe_PlanConfigChangeCall babe_plan_config_change = 13; + Grandpa_ReportEquivocationCall grandpa_report_equivocation = 14; + Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned = 15; + Grandpa_NoteStalledCall grandpa_note_stalled = 16; + Balances_TransferAllowDeathCall balances_transfer_allow_death = 17; + Balances_ForceTransferCall balances_force_transfer = 18; + Balances_TransferKeepAliveCall balances_transfer_keep_alive = 19; + Balances_TransferAllCall balances_transfer_all = 20; + Balances_ForceUnreserveCall balances_force_unreserve = 21; + Balances_UpgradeAccountsCall balances_upgrade_accounts = 22; + Balances_ForceSetBalanceCall balances_force_set_balance = 23; + Vesting_VestCall vesting_vest = 24; + Vesting_VestOtherCall vesting_vest_other = 25; + Vesting_VestedTransferCall vesting_vested_transfer = 26; + Vesting_ForceVestedTransferCall vesting_force_vested_transfer = 27; + Vesting_MergeSchedulesCall vesting_merge_schedules = 28; + BagsList_RebagCall bags_list_rebag = 29; + BagsList_PutInFrontOfCall bags_list_put_in_front_of = 30; + BagsList_PutInFrontOfOtherCall bags_list_put_in_front_of_other = 31; + ImOnline_HeartbeatCall im_online_heartbeat = 32; + Staking_BondCall staking_bond = 33; + Staking_BondExtraCall staking_bond_extra = 34; + Staking_UnbondCall staking_unbond = 35; + Staking_WithdrawUnbondedCall staking_withdraw_unbonded = 36; + Staking_ValidateCall staking_validate = 37; + Staking_NominateCall staking_nominate = 38; + Staking_ChillCall staking_chill = 39; + Staking_SetPayeeCall staking_set_payee = 40; + Staking_SetControllerCall staking_set_controller = 41; + Staking_SetValidatorCountCall staking_set_validator_count = 42; + Staking_IncreaseValidatorCountCall staking_increase_validator_count = 43; + Staking_ScaleValidatorCountCall staking_scale_validator_count = 44; + Staking_ForceNoErasCall staking_force_no_eras = 45; + Staking_ForceNewEraCall staking_force_new_era = 46; + Staking_SetInvulnerablesCall staking_set_invulnerables = 47; + Staking_ForceUnstakeCall staking_force_unstake = 48; + Staking_ForceNewEraAlwaysCall staking_force_new_era_always = 49; + Staking_CancelDeferredSlashCall staking_cancel_deferred_slash = 50; + Staking_PayoutStakersCall staking_payout_stakers = 51; + Staking_RebondCall staking_rebond = 52; + Staking_ReapStashCall staking_reap_stash = 53; + Staking_KickCall staking_kick = 54; + Staking_SetStakingConfigsCall staking_set_staking_configs = 55; + Staking_ChillOtherCall staking_chill_other = 56; + Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission = 57; + Staking_SetMinCommissionCall staking_set_min_commission = 58; + Session_SetKeysCall session_set_keys = 59; + Session_PurgeKeysCall session_purge_keys = 60; + Treasury_ProposeSpendCall treasury_propose_spend = 61; + Treasury_RejectProposalCall treasury_reject_proposal = 62; + Treasury_ApproveProposalCall treasury_approve_proposal = 63; + Treasury_SpendLocalCall treasury_spend_local = 64; + Treasury_RemoveApprovalCall treasury_remove_approval = 65; + Treasury_SpendCall treasury_spend = 66; + Treasury_PayoutCall treasury_payout = 67; + Treasury_CheckStatusCall treasury_check_status = 68; + Treasury_VoidSpendCall treasury_void_spend = 69; + Utility_BatchCall utility_batch = 70; + Utility_AsDerivativeCall utility_as_derivative = 71; + Utility_BatchAllCall utility_batch_all = 72; + Utility_DispatchAsCall utility_dispatch_as = 73; + Utility_ForceBatchCall utility_force_batch = 74; + Utility_WithWeightCall utility_with_weight = 75; + ConvictionVoting_VoteCall conviction_voting_vote = 76; + ConvictionVoting_DelegateCall conviction_voting_delegate = 77; + ConvictionVoting_UndelegateCall conviction_voting_undelegate = 78; + ConvictionVoting_UnlockCall conviction_voting_unlock = 79; + ConvictionVoting_RemoveVoteCall conviction_voting_remove_vote = 80; + ConvictionVoting_RemoveOtherVoteCall conviction_voting_remove_other_vote = 81; + Referenda_SubmitCall referenda_submit = 82; + Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit = 83; + Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit = 84; + Referenda_CancelCall referenda_cancel = 85; + Referenda_KillCall referenda_kill = 86; + Referenda_NudgeReferendumCall referenda_nudge_referendum = 87; + Referenda_OneFewerDecidingCall referenda_one_fewer_deciding = 88; + Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit = 89; + Referenda_SetMetadataCall referenda_set_metadata = 90; + FellowshipCollective_AddMemberCall fellowship_collective_add_member = 91; + FellowshipCollective_PromoteMemberCall fellowship_collective_promote_member = 92; + FellowshipCollective_DemoteMemberCall fellowship_collective_demote_member = 93; + FellowshipCollective_RemoveMemberCall fellowship_collective_remove_member = 94; + FellowshipCollective_VoteCall fellowship_collective_vote = 95; + FellowshipCollective_CleanupPollCall fellowship_collective_cleanup_poll = 96; + FellowshipReferenda_SubmitCall fellowship_referenda_submit = 97; + FellowshipReferenda_PlaceDecisionDepositCall fellowship_referenda_place_decision_deposit = 98; + FellowshipReferenda_RefundDecisionDepositCall fellowship_referenda_refund_decision_deposit = 99; + FellowshipReferenda_CancelCall fellowship_referenda_cancel = 100; + FellowshipReferenda_KillCall fellowship_referenda_kill = 101; + FellowshipReferenda_NudgeReferendumCall fellowship_referenda_nudge_referendum = 102; + FellowshipReferenda_OneFewerDecidingCall fellowship_referenda_one_fewer_deciding = 103; + FellowshipReferenda_RefundSubmissionDepositCall fellowship_referenda_refund_submission_deposit = 104; + FellowshipReferenda_SetMetadataCall fellowship_referenda_set_metadata = 105; + Whitelist_WhitelistCallCall whitelist_whitelist_call = 106; + Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call = 107; + Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call = 108; + Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage = 109; + Scheduler_ScheduleCall scheduler_schedule = 110; + Scheduler_CancelCall scheduler_cancel = 111; + Scheduler_ScheduleNamedCall scheduler_schedule_named = 112; + Scheduler_CancelNamedCall scheduler_cancel_named = 113; + Scheduler_ScheduleAfterCall scheduler_schedule_after = 114; + Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after = 115; + Preimage_NotePreimageCall preimage_note_preimage = 116; + Preimage_UnnotePreimageCall preimage_unnote_preimage = 117; + Preimage_RequestPreimageCall preimage_request_preimage = 118; + Preimage_UnrequestPreimageCall preimage_unrequest_preimage = 119; + Preimage_EnsureUpdatedCall preimage_ensure_updated = 120; + Identity_AddRegistrarCall identity_add_registrar = 121; + Identity_SetIdentityCall identity_set_identity = 122; + Identity_SetSubsCall identity_set_subs = 123; + Identity_ClearIdentityCall identity_clear_identity = 124; + Identity_RequestJudgementCall identity_request_judgement = 125; + Identity_CancelRequestCall identity_cancel_request = 126; + Identity_SetFeeCall identity_set_fee = 127; + Identity_SetAccountIdCall identity_set_account_id = 128; + Identity_SetFieldsCall identity_set_fields = 129; + Identity_ProvideJudgementCall identity_provide_judgement = 130; + Identity_KillIdentityCall identity_kill_identity = 131; + Identity_AddSubCall identity_add_sub = 132; + Identity_RenameSubCall identity_rename_sub = 133; + Identity_RemoveSubCall identity_remove_sub = 134; + Identity_QuitSubCall identity_quit_sub = 135; + Proxy_ProxyCall proxy_proxy = 136; + Proxy_AddProxyCall proxy_add_proxy = 137; + Proxy_RemoveProxyCall proxy_remove_proxy = 138; + Proxy_RemoveProxiesCall proxy_remove_proxies = 139; + Proxy_CreatePureCall proxy_create_pure = 140; + Proxy_KillPureCall proxy_kill_pure = 141; + Proxy_AnnounceCall proxy_announce = 142; + Proxy_RemoveAnnouncementCall proxy_remove_announcement = 143; + Proxy_RejectAnnouncementCall proxy_reject_announcement = 144; + Proxy_ProxyAnnouncedCall proxy_proxy_announced = 145; + Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1 = 146; + Multisig_AsMultiCall multisig_as_multi = 147; + Multisig_ApproveAsMultiCall multisig_approve_as_multi = 148; + Multisig_CancelAsMultiCall multisig_cancel_as_multi = 149; + ElectionProviderMultiPhase_SubmitUnsignedCall election_provider_multi_phase_submit_unsigned = 150; + ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall election_provider_multi_phase_set_minimum_untrusted_score = 151; + ElectionProviderMultiPhase_SetEmergencyElectionResultCall election_provider_multi_phase_set_emergency_election_result = 152; + ElectionProviderMultiPhase_SubmitCall election_provider_multi_phase_submit = 153; + ElectionProviderMultiPhase_GovernanceFallbackCall election_provider_multi_phase_governance_fallback = 154; + Bounties_ProposeBountyCall bounties_propose_bounty = 155; + Bounties_ApproveBountyCall bounties_approve_bounty = 156; + Bounties_ProposeCuratorCall bounties_propose_curator = 157; + Bounties_UnassignCuratorCall bounties_unassign_curator = 158; + Bounties_AcceptCuratorCall bounties_accept_curator = 159; + Bounties_AwardBountyCall bounties_award_bounty = 160; + Bounties_ClaimBountyCall bounties_claim_bounty = 161; + Bounties_CloseBountyCall bounties_close_bounty = 162; + Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry = 163; + ChildBounties_AddChildBountyCall child_bounties_add_child_bounty = 164; + ChildBounties_ProposeCuratorCall child_bounties_propose_curator = 165; + ChildBounties_AcceptCuratorCall child_bounties_accept_curator = 166; + ChildBounties_UnassignCuratorCall child_bounties_unassign_curator = 167; + ChildBounties_AwardChildBountyCall child_bounties_award_child_bounty = 168; + ChildBounties_ClaimChildBountyCall child_bounties_claim_child_bounty = 169; + ChildBounties_CloseChildBountyCall child_bounties_close_child_bounty = 170; + NominationPools_JoinCall nomination_pools_join = 171; + NominationPools_BondExtraCall nomination_pools_bond_extra = 172; + NominationPools_ClaimPayoutCall nomination_pools_claim_payout = 173; + NominationPools_UnbondCall nomination_pools_unbond = 174; + NominationPools_PoolWithdrawUnbondedCall nomination_pools_pool_withdraw_unbonded = 175; + NominationPools_WithdrawUnbondedCall nomination_pools_withdraw_unbonded = 176; + NominationPools_CreateCall nomination_pools_create = 177; + NominationPools_CreateWithPoolIdCall nomination_pools_create_with_pool_id = 178; + NominationPools_NominateCall nomination_pools_nominate = 179; + NominationPools_SetStateCall nomination_pools_set_state = 180; + NominationPools_SetMetadataCall nomination_pools_set_metadata = 181; + NominationPools_SetConfigsCall nomination_pools_set_configs = 182; + NominationPools_UpdateRolesCall nomination_pools_update_roles = 183; + NominationPools_ChillCall nomination_pools_chill = 184; + NominationPools_BondExtraOtherCall nomination_pools_bond_extra_other = 185; + NominationPools_SetClaimPermissionCall nomination_pools_set_claim_permission = 186; + NominationPools_ClaimPayoutOtherCall nomination_pools_claim_payout_other = 187; + NominationPools_SetCommissionCall nomination_pools_set_commission = 188; + NominationPools_SetCommissionMaxCall nomination_pools_set_commission_max = 189; + NominationPools_SetCommissionChangeRateCall nomination_pools_set_commission_change_rate = 190; + NominationPools_ClaimCommissionCall nomination_pools_claim_commission = 191; + NominationPools_AdjustPoolDepositCall nomination_pools_adjust_pool_deposit = 192; + Gear_UploadCodeCall gear_upload_code = 193; + Gear_UploadProgramCall gear_upload_program = 194; + Gear_CreateProgramCall gear_create_program = 195; + Gear_SendMessageCall gear_send_message = 196; + Gear_SendReplyCall gear_send_reply = 197; + Gear_ClaimValueCall gear_claim_value = 198; + Gear_RunCall gear_run = 199; + Gear_SetExecuteInherentCall gear_set_execute_inherent = 200; + StakingRewards_RefillCall staking_rewards_refill = 201; + StakingRewards_ForceRefillCall staking_rewards_force_refill = 202; + StakingRewards_WithdrawCall staking_rewards_withdraw = 203; + StakingRewards_AlignSupplyCall staking_rewards_align_supply = 204; + GearVoucher_IssueCall gear_voucher_issue = 205; + GearVoucher_CallCall gear_voucher_call = 206; + GearVoucher_RevokeCall gear_voucher_revoke = 207; + GearVoucher_UpdateCall gear_voucher_update = 208; + GearVoucher_CallDeprecatedCall gear_voucher_call_deprecated = 209; + GearVoucher_DeclineCall gear_voucher_decline = 210; } } -message GearVoucher_Some { - BTreeSet value0 = 1; -} -message Referenda_RefundSubmissionDepositCall { - uint32 index = 1; -} -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; -} -message Babe_CompactUint32 { - uint32 value = 1; -} -message Grandpa_SpConsensusGrandpaEquivocationProof { - uint64 set_id = 1; - Grandpa_Equivocation equivocation = 2; -} -message Identity_Raw { - bytes value0 = 1; -} -message Gear_CreateProgramCall { - Gear_GprimitivesCodeId code_id = 1; - bytes salt = 2; - bytes init_payload = 3; - uint64 gas_limit = 4; - string value = 5; - bool keep_alive = 6; -} -message Identity_Raw16 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution { - ElectionProviderMultiPhase_VaraRuntimeNposSolution16 solution = 1; - ElectionProviderMultiPhase_SpNposElectionsElectionScore score = 2; - uint32 round = 3; +message FellowshipCollective_Id { + SpCoreCryptoAccountId32 value0 = 1; } -message NominationPools_BondExtraOtherCall { - NominationPools_Member member = 1; - NominationPools_Extra extra = 2; +message FellowshipReferenda_Inline { + BoundedCollectionsBoundedVecBoundedVec value0 = 1; } -message Identity_Raw21 { - bytes value0 = 1; +message SpConsensusGrandpaAppSignature { + SpCoreEd25519Signature value1 = 1; } -message ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32 { - ElectionProviderMultiPhase_CompactUint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 value1 = 2; - ElectionProviderMultiPhase_CompactUint32 value2 = 3; +message Staking_SetInvulnerablesCall { + repeated Staking_SpCoreCryptoAccountId32 invulnerables = 1; } -message Balances_Index { - Balances_CompactTupleNull value0 = 1; +message Scheduler_CancelNamedCall { + bytes id = 1; } message BagsList_Id { SpCoreCryptoAccountId32 value0 = 1; } -message BagsList_Raw { - bytes value0 = 1; -} -message ConvictionVoting_None { -} -message FellowshipReferenda_At { - uint32 value0 = 1; -} -message Whitelist_WhitelistCallCall { - Whitelist_PrimitiveTypesH256 call_hash = 1; -} -message System_RemarkCall { - bytes remark = 1; -} -message Session_SpConsensusBabeAppPublic { - Session_SpCoreSr25519Public babe = 1; -} -message Treasury_TupleNull { -} -message Identity_Display { +message Referenda_EnactmentMoment { oneof value { - Identity_None none = 1; - Identity_Raw0 raw0 = 2; - Identity_Raw1 raw1 = 3; - Identity_Raw2 raw2 = 4; - Identity_Raw3 raw3 = 5; - Identity_Raw4 raw4 = 6; - Identity_Raw5 raw5 = 7; - Identity_Raw6 raw6 = 8; - Identity_Raw7 raw7 = 9; - Identity_Raw8 raw8 = 10; - Identity_Raw9 raw9 = 11; - Identity_Raw10 raw10 = 12; - Identity_Raw11 raw11 = 13; - Identity_Raw12 raw12 = 14; - Identity_Raw13 raw13 = 15; - Identity_Raw14 raw14 = 16; - Identity_Raw15 raw15 = 17; - Identity_Raw16 raw16 = 18; - Identity_Raw17 raw17 = 19; - Identity_Raw18 raw18 = 20; - Identity_Raw19 raw19 = 21; - Identity_Raw20 raw20 = 22; - Identity_Raw21 raw21 = 23; - Identity_Raw22 raw22 = 24; - Identity_Raw23 raw23 = 25; - Identity_Raw24 raw24 = 26; - Identity_Raw25 raw25 = 27; - Identity_Raw26 raw26 = 28; - Identity_Raw27 raw27 = 29; - Identity_Raw28 raw28 = 30; - Identity_Raw29 raw29 = 31; - Identity_Raw30 raw30 = 32; - Identity_Raw31 raw31 = 33; - Identity_Raw32 raw32 = 34; - Identity_BlakeTwo256 blake_two256 = 35; - Identity_Sha256 sha256 = 36; - Identity_Keccak256 keccak256 = 37; - Identity_ShaThree256 sha_three256 = 38; + Referenda_At at = 1; + Referenda_After after = 2; } } -message Session_SpAuthorityDiscoveryAppPublic { - Session_SpCoreSr25519Public authority_discovery = 1; -} -message Referenda_NudgeReferendumCall { - uint32 index = 1; -} -message GearVoucher_CallDeprecatedCall { - GearVoucher_Call call = 1; +message ChildBounties_AcceptCuratorCall { + ChildBounties_CompactUint32 parent_bounty_id = 1; + ChildBounties_CompactUint32 child_bounty_id = 2; } -message Babe_SpConsensusSlotsSlot { - uint64 slot = 1; +message Babe_PrimitiveTypesH256 { + bytes parent_hash = 1; } -message Staking_MaxNominatorCount { - oneof value { - Staking_Noop noop = 1; - Staking_Set set = 2; - Staking_Remove remove = 3; - } +message Proxy_RemoveAnnouncementCall { + Proxy_Real real = 1; + Proxy_PrimitiveTypesH256 call_hash = 2; } -message Treasury_ApproveProposalCall { - Treasury_CompactUint32 proposal_id = 1; +message GearVoucher_GprimitivesActorId { + GearVoucher_GprimitivesActorId programs = 1; } -message Referenda_System { - Value0 value0 = 1; +message Session_SpAuthorityDiscoveryAppPublic { + Session_SpCoreSr25519Public authority_discovery = 1; } diff --git a/protobuf/types.go b/protobuf/types.go index 67ce9f0..2e58e16 100644 --- a/protobuf/types.go +++ b/protobuf/types.go @@ -95,6 +95,11 @@ func (f *BasicField) OneOfWrapperOutputName() string { return fmt.Sprintf("&pbgear.%s_%s", f.Pallet, f.FullTypeName()) } +func (f *BasicField) ToChildFuncName(meta *types.Metadata) string { + name := "To_" + f.FullTypeName() + return name +} + func (f *BasicField) IsOptional() bool { return f.Optional } diff --git a/templates/gen_types.go b/templates/gen_types.go index 4b19738..3a0c9b8 100644 --- a/templates/gen_types.go +++ b/templates/gen_types.go @@ -1,7305 +1,7773 @@ package gen_types import ( - "github.com/centrifuge/go-substrate-rpc-client/v4/registry" - pbgear "github.com/streamingfast/firehose-gear/pb/sf/gear/metadata/type/v1" + "github.com/centrifuge/go-substrate-rpc-client/v4/registry" + "github.com/centrifuge/go-substrate-rpc-client/v4/types" + pbgear "github.com/streamingfast/firehose-gear/pb/sf/gear/metadata/type/v1" ) -func To_AllowedSlots(fields []*registry.DecodedField) *pbgear.AllowedSlots { - out := &pbgear.AllowedSlots{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.AllowedSlots_PrimarySlots{ - PrimarySlots: To_PrimarySlots(fields), //Passthrough fields... - } - } - return out + + +func To_AllowedSlots(fields []*registry.DecodedField) *pbgear.AllowedSlots { + out := &pbgear.AllowedSlots{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.AllowedSlots_PrimarySlots{ + PrimarySlots: To_PrimarySlots(fields), //Passthrough fields... + } + } + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_BTreeSet(fields []*registry.DecodedField) *pbgear.BTreeSet { - out := &pbgear.BTreeSet{} - out.Value0 = To_repeated_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BTreeSet{} + out.Value0 = To_repeated_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "value0" optional: false repeated: true -// optional primitive: value0 + // not seen "value0" optional: false repeated: true + // optional primitive: value0 func To_repeated_GprimitivesActorId(fields []*registry.DecodedField) []*pbgear.GprimitivesActorId { - out := make([]*pbgear.GprimitivesActorId, len(fields)) - for _, f := range fields { - out = append(out, To_GprimitivesActorId(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.GprimitivesActorId, len(fields)) + for _, f := range fields { + out = append(out, To_GprimitivesActorId(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Babe_BabeTrieNodesList(fields []*registry.DecodedField) *pbgear.Babe_BabeTrieNodesList { - out := &pbgear.Babe_BabeTrieNodesList{} - out.TrieNodes = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_BabeTrieNodesList{} + out.TrieNodes = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "trie_nodes" optional: false repeated: false -// not seen "trie_nodes" optional: false repeated: false func To_Babe_CompactUint32(fields []*registry.DecodedField) *pbgear.Babe_CompactUint32 { - out := &pbgear.Babe_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Babe_Config(fields []*registry.DecodedField) *pbgear.Babe_Config { - out := &pbgear.Babe_Config{} - - switch { - case matchFields(fields, []int64{79, 80}): - out.Value = &pbgear.Babe_Config_V1{ - V1: To_Babe_V1(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Babe_Config{} + + switch { + case matchFields(fields, []int64{79, 80}): + out.Value = &pbgear.Babe_Config_V1{ + V1: To_Babe_V1(fields), //Passthrough fields... + } + } + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Babe_Consensus(fields []*registry.DecodedField) *pbgear.Babe_Consensus { - out := &pbgear.Babe_Consensus{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_Consensus{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_Babe_Logs(fields []*registry.DecodedField) *pbgear.Babe_Logs { - out := &pbgear.Babe_Logs{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Babe_Logs_PreRuntime{ - PreRuntime: To_Babe_PreRuntime(fields), //Passthrough fields... - } - } - return out +func To_Babe_Logs(fields []*registry.DecodedField) *pbgear.Babe_Logs { + out := &pbgear.Babe_Logs{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Babe_Logs_PreRuntime{ + PreRuntime: To_Babe_PreRuntime(fields), //Passthrough fields... + } + } + return out } + func To_Babe_Other(fields []*registry.DecodedField) *pbgear.Babe_Other { - out := &pbgear.Babe_Other{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_Other{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Babe_PlanConfigChangeCall(fields []*registry.DecodedField) *pbgear.Babe_PlanConfigChangeCall { - out := &pbgear.Babe_PlanConfigChangeCall{} - out.Config = To_Babe_Config(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_PlanConfigChangeCall{} + out.Config = To_Babe_Config(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "config" optional: false repeated: false -// not seen "config" optional: false repeated: false func To_Babe_PreRuntime(fields []*registry.DecodedField) *pbgear.Babe_PreRuntime { - out := &pbgear.Babe_PreRuntime{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_PreRuntime{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Babe_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Babe_PrimitiveTypesH256 { - out := &pbgear.Babe_PrimitiveTypesH256{} - out.ParentHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_PrimitiveTypesH256{} + out.ParentHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Babe_ReportEquivocationCall(fields []*registry.DecodedField) *pbgear.Babe_ReportEquivocationCall { - out := &pbgear.Babe_ReportEquivocationCall{} - out.EquivocationProof = To_Babe_SpConsensusSlotsEquivocationProof(fields[0].Value.([]*registry.DecodedField)) - out.KeyOwnerProof = To_Babe_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_ReportEquivocationCall{} + out.EquivocationProof = To_Babe_SpConsensusSlotsEquivocationProof(fields[0].Value.([]*registry.DecodedField)) + out.KeyOwnerProof = To_Babe_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "equivocation_proof" optional: false repeated: false + // not seen "key_owner_proof" optional: false repeated: false -// not seen "equivocation_proof" optional: false repeated: false -// not seen "key_owner_proof" optional: false repeated: false func To_Babe_ReportEquivocationUnsignedCall(fields []*registry.DecodedField) *pbgear.Babe_ReportEquivocationUnsignedCall { - out := &pbgear.Babe_ReportEquivocationUnsignedCall{} - out.EquivocationProof = To_Babe_SpConsensusSlotsEquivocationProof(fields[0].Value.([]*registry.DecodedField)) - out.KeyOwnerProof = To_Babe_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_ReportEquivocationUnsignedCall{} + out.EquivocationProof = To_Babe_SpConsensusSlotsEquivocationProof(fields[0].Value.([]*registry.DecodedField)) + out.KeyOwnerProof = To_Babe_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Babe_RuntimeEnvironmentUpdated(fields []*registry.DecodedField) *pbgear.Babe_RuntimeEnvironmentUpdated { - out := &pbgear.Babe_RuntimeEnvironmentUpdated{} - return out + out := &pbgear.Babe_RuntimeEnvironmentUpdated{} + return out } + func To_Babe_Seal(fields []*registry.DecodedField) *pbgear.Babe_Seal { - out := &pbgear.Babe_Seal{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_Seal{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Babe_SpConsensusBabeAppPublic(fields []*registry.DecodedField) *pbgear.Babe_SpConsensusBabeAppPublic { - out := &pbgear.Babe_SpConsensusBabeAppPublic{} - out.Offender = To_Babe_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpConsensusBabeAppPublic{} + out.Offender = To_Babe_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "offender" optional: false repeated: false -// not seen "offender" optional: false repeated: false func To_Babe_SpConsensusSlotsEquivocationProof(fields []*registry.DecodedField) *pbgear.Babe_SpConsensusSlotsEquivocationProof { - out := &pbgear.Babe_SpConsensusSlotsEquivocationProof{} - out.Offender = To_Babe_SpConsensusBabeAppPublic(fields[0].Value.([]*registry.DecodedField)) - out.Slot = To_Babe_SpConsensusSlotsSlot(fields[1].Value.([]*registry.DecodedField)) - out.FirstHeader = To_Babe_SpRuntimeGenericHeaderHeader(fields[2].Value.([]*registry.DecodedField)) - out.SecondHeader = To_Babe_SpRuntimeGenericHeaderHeader(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpConsensusSlotsEquivocationProof{} + out.Offender = To_Babe_SpConsensusBabeAppPublic(fields[0].Value.([]*registry.DecodedField)) + out.Slot = To_Babe_SpConsensusSlotsSlot(fields[1].Value.([]*registry.DecodedField)) + out.FirstHeader = To_Babe_SpRuntimeGenericHeaderHeader(fields[2].Value.([]*registry.DecodedField)) + out.SecondHeader = To_Babe_SpRuntimeGenericHeaderHeader(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "offender" optional: false repeated: false + // not seen "slot" optional: false repeated: false + // not seen "first_header" optional: false repeated: false -// not seen "offender" optional: false repeated: false -// not seen "slot" optional: false repeated: false -// not seen "first_header" optional: false repeated: false func To_Babe_SpConsensusSlotsSlot(fields []*registry.DecodedField) *pbgear.Babe_SpConsensusSlotsSlot { - out := &pbgear.Babe_SpConsensusSlotsSlot{} - out.Slot = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpConsensusSlotsSlot{} + out.Slot = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "slot" optional: false repeated: false -// not seen "slot" optional: false repeated: false func To_Babe_SpCoreSr25519Public(fields []*registry.DecodedField) *pbgear.Babe_SpCoreSr25519Public { - out := &pbgear.Babe_SpCoreSr25519Public{} - out.Offender = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpCoreSr25519Public{} + out.Offender = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Babe_SpRuntimeGenericDigestDigest(fields []*registry.DecodedField) *pbgear.Babe_SpRuntimeGenericDigestDigest { - out := &pbgear.Babe_SpRuntimeGenericDigestDigest{} - out.Logs = To_repeated_Babe_SpRuntimeGenericDigestDigestItem(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpRuntimeGenericDigestDigest{} + out.Logs = To_repeated_Babe_SpRuntimeGenericDigestDigestItem(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "logs" optional: false repeated: true -// optional primitive: logs + // not seen "logs" optional: false repeated: true + // optional primitive: logs func To_repeated_Babe_SpRuntimeGenericDigestDigestItem(fields []*registry.DecodedField) []*pbgear.Babe_SpRuntimeGenericDigestDigestItem { - out := make([]*pbgear.Babe_SpRuntimeGenericDigestDigestItem, len(fields)) - for _, f := range fields { - out = append(out, To_Babe_SpRuntimeGenericDigestDigestItem(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Babe_SpRuntimeGenericDigestDigestItem, len(fields)) + for _, f := range fields { + out = append(out, To_Babe_SpRuntimeGenericDigestDigestItem(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Babe_SpRuntimeGenericDigestDigestItem(fields []*registry.DecodedField) *pbgear.Babe_SpRuntimeGenericDigestDigestItem { - out := &pbgear.Babe_SpRuntimeGenericDigestDigestItem{} - out.Logs = To_Babe_Logs(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpRuntimeGenericDigestDigestItem{} + out.Logs = To_Babe_Logs(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "logs" optional: false repeated: false -// not seen "logs" optional: false repeated: false func To_Babe_SpRuntimeGenericHeaderHeader(fields []*registry.DecodedField) *pbgear.Babe_SpRuntimeGenericHeaderHeader { - out := &pbgear.Babe_SpRuntimeGenericHeaderHeader{} - out.ParentHash = To_Babe_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - out.Number = To_Babe_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - out.StateRoot = To_Babe_PrimitiveTypesH256(fields[2].Value.([]*registry.DecodedField)) - out.ExtrinsicsRoot = To_Babe_PrimitiveTypesH256(fields[3].Value.([]*registry.DecodedField)) - out.Digest = To_Babe_SpRuntimeGenericDigestDigest(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_SpRuntimeGenericHeaderHeader{} + out.ParentHash = To_Babe_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + out.Number = To_Babe_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + out.StateRoot = To_Babe_PrimitiveTypesH256(fields[2].Value.([]*registry.DecodedField)) + out.ExtrinsicsRoot = To_Babe_PrimitiveTypesH256(fields[3].Value.([]*registry.DecodedField)) + out.Digest = To_Babe_SpRuntimeGenericDigestDigest(fields[4].Value.([]*registry.DecodedField)) + return out } + // not seen "parent_hash" optional: false repeated: false + // not seen "number" optional: false repeated: false + // not seen "digest" optional: false repeated: false -// not seen "parent_hash" optional: false repeated: false -// not seen "number" optional: false repeated: false -// not seen "digest" optional: false repeated: false func To_Babe_SpSessionMembershipProof(fields []*registry.DecodedField) *pbgear.Babe_SpSessionMembershipProof { - out := &pbgear.Babe_SpSessionMembershipProof{} - out.Session = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.TrieNodes = To_repeated_Babe_BabeTrieNodesList(fields[1].Value.([]*registry.DecodedField)) - out.ValidatorCount = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out -} - -// not seen "trie_nodes" optional: false repeated: true -// optional primitive: trie_nodes + out := &pbgear.Babe_SpSessionMembershipProof{} + out.Session = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.TrieNodes = To_repeated_Babe_BabeTrieNodesList(fields[1].Value.([]*registry.DecodedField)) + out.ValidatorCount = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out +} + // not seen "trie_nodes" optional: false repeated: true + // optional primitive: trie_nodes func To_repeated_Babe_BabeTrieNodesList(fields []*registry.DecodedField) []*pbgear.Babe_BabeTrieNodesList { - out := make([]*pbgear.Babe_BabeTrieNodesList, len(fields)) - for _, f := range fields { - out = append(out, To_Babe_BabeTrieNodesList(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Babe_BabeTrieNodesList, len(fields)) + for _, f := range fields { + out = append(out, To_Babe_BabeTrieNodesList(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Babe_TupleUint64Uint64(fields []*registry.DecodedField) *pbgear.Babe_TupleUint64Uint64 { - out := &pbgear.Babe_TupleUint64Uint64{} - out.Value0 = To_uint64(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_uint64(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_TupleUint64Uint64{} + out.Value0 = To_uint64(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_uint64(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Babe_V1(fields []*registry.DecodedField) *pbgear.Babe_V1 { - out := &pbgear.Babe_V1{} - out.C = To_Babe_TupleUint64Uint64(fields[0].Value.([]*registry.DecodedField)) - out.AllowedSlots = To_AllowedSlots(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Babe_V1{} + out.C = To_Babe_TupleUint64Uint64(fields[0].Value.([]*registry.DecodedField)) + out.AllowedSlots = To_AllowedSlots(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "c" optional: false repeated: false + // not seen "allowed_slots" optional: false repeated: false -// not seen "c" optional: false repeated: false -// not seen "allowed_slots" optional: false repeated: false func To_BagsList_Address20(fields []*registry.DecodedField) *pbgear.BagsList_Address20 { - out := &pbgear.BagsList_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_BagsList_Address32(fields []*registry.DecodedField) *pbgear.BagsList_Address32 { - out := &pbgear.BagsList_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_BagsList_CompactTupleNull(fields []*registry.DecodedField) *pbgear.BagsList_CompactTupleNull { - out := &pbgear.BagsList_CompactTupleNull{} - out.Value = To_BagsList_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_CompactTupleNull{} + out.Value = To_BagsList_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_BagsList_Dislocated(fields []*registry.DecodedField) *pbgear.BagsList_Dislocated { - out := &pbgear.BagsList_Dislocated{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.BagsList_Dislocated_Id{ - Id: To_BagsList_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.BagsList_Dislocated_Index{ - Index: To_BagsList_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.BagsList_Dislocated_Raw{ - Raw: To_BagsList_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.BagsList_Dislocated_Address32{ - Address32: To_BagsList_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.BagsList_Dislocated_Address20{ - Address20: To_BagsList_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.BagsList_Dislocated{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.BagsList_Dislocated_Id{ + Id: To_BagsList_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.BagsList_Dislocated_Index{ + Index: To_BagsList_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.BagsList_Dislocated_Raw{ + Raw: To_BagsList_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.BagsList_Dislocated_Address32{ + Address32: To_BagsList_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.BagsList_Dislocated_Address20{ + Address20: To_BagsList_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_BagsList_Heavier(fields []*registry.DecodedField) *pbgear.BagsList_Heavier { - out := &pbgear.BagsList_Heavier{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.BagsList_Heavier_Id{ - Id: To_BagsList_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.BagsList_Heavier_Index{ - Index: To_BagsList_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.BagsList_Heavier_Raw{ - Raw: To_BagsList_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.BagsList_Heavier_Address32{ - Address32: To_BagsList_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.BagsList_Heavier_Address20{ - Address20: To_BagsList_Address20(fields), //Passthrough fields... - } - } - return out + out := &pbgear.BagsList_Heavier{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.BagsList_Heavier_Id{ + Id: To_BagsList_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.BagsList_Heavier_Index{ + Index: To_BagsList_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.BagsList_Heavier_Raw{ + Raw: To_BagsList_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.BagsList_Heavier_Address32{ + Address32: To_BagsList_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.BagsList_Heavier_Address20{ + Address20: To_BagsList_Address20(fields), //Passthrough fields... + } + } + return out } + func To_BagsList_Id(fields []*registry.DecodedField) *pbgear.BagsList_Id { - out := &pbgear.BagsList_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_BagsList_Index(fields []*registry.DecodedField) *pbgear.BagsList_Index { - out := &pbgear.BagsList_Index{} - out.Value0 = To_BagsList_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_Index{} + out.Value0 = To_BagsList_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_BagsList_Lighter(fields []*registry.DecodedField) *pbgear.BagsList_Lighter { - out := &pbgear.BagsList_Lighter{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.BagsList_Lighter_Id{ - Id: To_BagsList_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.BagsList_Lighter_Index{ - Index: To_BagsList_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.BagsList_Lighter_Raw{ - Raw: To_BagsList_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.BagsList_Lighter_Address32{ - Address32: To_BagsList_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.BagsList_Lighter_Address20{ - Address20: To_BagsList_Address20(fields), //Passthrough fields... - } - } - return out + out := &pbgear.BagsList_Lighter{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.BagsList_Lighter_Id{ + Id: To_BagsList_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.BagsList_Lighter_Index{ + Index: To_BagsList_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.BagsList_Lighter_Raw{ + Raw: To_BagsList_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.BagsList_Lighter_Address32{ + Address32: To_BagsList_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.BagsList_Lighter_Address20{ + Address20: To_BagsList_Address20(fields), //Passthrough fields... + } + } + return out } + func To_BagsList_PutInFrontOfCall(fields []*registry.DecodedField) *pbgear.BagsList_PutInFrontOfCall { - out := &pbgear.BagsList_PutInFrontOfCall{} - out.Lighter = To_BagsList_Lighter(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_PutInFrontOfCall{} + out.Lighter = To_BagsList_Lighter(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "lighter" optional: false repeated: false -// not seen "lighter" optional: false repeated: false func To_BagsList_PutInFrontOfOtherCall(fields []*registry.DecodedField) *pbgear.BagsList_PutInFrontOfOtherCall { - out := &pbgear.BagsList_PutInFrontOfOtherCall{} - out.Heavier = To_BagsList_Heavier(fields[0].Value.([]*registry.DecodedField)) - out.Lighter = To_BagsList_Lighter(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_PutInFrontOfOtherCall{} + out.Heavier = To_BagsList_Heavier(fields[0].Value.([]*registry.DecodedField)) + out.Lighter = To_BagsList_Lighter(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "heavier" optional: false repeated: false -// not seen "heavier" optional: false repeated: false func To_BagsList_Raw(fields []*registry.DecodedField) *pbgear.BagsList_Raw { - out := &pbgear.BagsList_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_BagsList_RebagCall(fields []*registry.DecodedField) *pbgear.BagsList_RebagCall { - out := &pbgear.BagsList_RebagCall{} - out.Dislocated = To_BagsList_Dislocated(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BagsList_RebagCall{} + out.Dislocated = To_BagsList_Dislocated(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "dislocated" optional: false repeated: false -// not seen "dislocated" optional: false repeated: false func To_BagsList_TupleNull(fields []*registry.DecodedField) *pbgear.BagsList_TupleNull { - out := &pbgear.BagsList_TupleNull{} - return out + out := &pbgear.BagsList_TupleNull{} + return out } + func To_Balances_Address20(fields []*registry.DecodedField) *pbgear.Balances_Address20 { - out := &pbgear.Balances_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Balances_Address32(fields []*registry.DecodedField) *pbgear.Balances_Address32 { - out := &pbgear.Balances_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Balances_CompactString(fields []*registry.DecodedField) *pbgear.Balances_CompactString { - out := &pbgear.Balances_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Balances_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Balances_CompactTupleNull { - out := &pbgear.Balances_CompactTupleNull{} - out.Value = To_Balances_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_CompactTupleNull{} + out.Value = To_Balances_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Balances_Dest(fields []*registry.DecodedField) *pbgear.Balances_Dest { - out := &pbgear.Balances_Dest{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Balances_Dest_Id{ - Id: To_Balances_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Balances_Dest_Index{ - Index: To_Balances_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Balances_Dest_Raw{ - Raw: To_Balances_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Balances_Dest_Address32{ - Address32: To_Balances_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Balances_Dest_Address20{ - Address20: To_Balances_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Balances_Dest{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Balances_Dest_Id{ + Id: To_Balances_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Balances_Dest_Index{ + Index: To_Balances_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Balances_Dest_Raw{ + Raw: To_Balances_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Balances_Dest_Address32{ + Address32: To_Balances_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Balances_Dest_Address20{ + Address20: To_Balances_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Balances_ForceSetBalanceCall(fields []*registry.DecodedField) *pbgear.Balances_ForceSetBalanceCall { - out := &pbgear.Balances_ForceSetBalanceCall{} - out.Who = To_Balances_Who(fields[0].Value.([]*registry.DecodedField)) - out.NewFree = To_Balances_CompactString(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_ForceSetBalanceCall{} + out.Who = To_Balances_Who(fields[0].Value.([]*registry.DecodedField)) + out.NewFree = To_Balances_CompactString(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "who" optional: false repeated: false + // not seen "new_free" optional: false repeated: false -// not seen "who" optional: false repeated: false -// not seen "new_free" optional: false repeated: false func To_Balances_ForceTransferCall(fields []*registry.DecodedField) *pbgear.Balances_ForceTransferCall { - out := &pbgear.Balances_ForceTransferCall{} - out.Source = To_Balances_Source(fields[0].Value.([]*registry.DecodedField)) - out.Dest = To_Balances_Dest(fields[1].Value.([]*registry.DecodedField)) - out.Value = To_Balances_CompactString(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_ForceTransferCall{} + out.Source = To_Balances_Source(fields[0].Value.([]*registry.DecodedField)) + out.Dest = To_Balances_Dest(fields[1].Value.([]*registry.DecodedField)) + out.Value = To_Balances_CompactString(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "source" optional: false repeated: false + // not seen "dest" optional: false repeated: false -// not seen "source" optional: false repeated: false -// not seen "dest" optional: false repeated: false func To_Balances_ForceUnreserveCall(fields []*registry.DecodedField) *pbgear.Balances_ForceUnreserveCall { - out := &pbgear.Balances_ForceUnreserveCall{} - out.Who = To_Balances_Who(fields[0].Value.([]*registry.DecodedField)) - out.Amount = To_string(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_ForceUnreserveCall{} + out.Who = To_Balances_Who(fields[0].Value.([]*registry.DecodedField)) + out.Amount = To_string(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Balances_Id(fields []*registry.DecodedField) *pbgear.Balances_Id { - out := &pbgear.Balances_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Balances_Index(fields []*registry.DecodedField) *pbgear.Balances_Index { - out := &pbgear.Balances_Index{} - out.Value0 = To_Balances_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_Index{} + out.Value0 = To_Balances_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Balances_Raw(fields []*registry.DecodedField) *pbgear.Balances_Raw { - out := &pbgear.Balances_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Balances_Source(fields []*registry.DecodedField) *pbgear.Balances_Source { - out := &pbgear.Balances_Source{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Balances_Source_Id{ - Id: To_Balances_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Balances_Source_Index{ - Index: To_Balances_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Balances_Source_Raw{ - Raw: To_Balances_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Balances_Source_Address32{ - Address32: To_Balances_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Balances_Source_Address20{ - Address20: To_Balances_Address20(fields), //Passthrough fields... - } - } - return out +func To_Balances_Source(fields []*registry.DecodedField) *pbgear.Balances_Source { + out := &pbgear.Balances_Source{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Balances_Source_Id{ + Id: To_Balances_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Balances_Source_Index{ + Index: To_Balances_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Balances_Source_Raw{ + Raw: To_Balances_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Balances_Source_Address32{ + Address32: To_Balances_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Balances_Source_Address20{ + Address20: To_Balances_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Balances_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.Balances_SpCoreCryptoAccountId32 { - out := &pbgear.Balances_SpCoreCryptoAccountId32{} - out.Who = To_Balances_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_SpCoreCryptoAccountId32{} + out.Who = To_Balances_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "who" optional: false repeated: false -// not seen "who" optional: false repeated: false func To_Balances_TransferAllCall(fields []*registry.DecodedField) *pbgear.Balances_TransferAllCall { - out := &pbgear.Balances_TransferAllCall{} - out.Dest = To_Balances_Dest(fields[0].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_TransferAllCall{} + out.Dest = To_Balances_Dest(fields[0].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "keep_alive" optional: false repeated: false -// not seen "keep_alive" optional: false repeated: false func To_Balances_TransferAllowDeathCall(fields []*registry.DecodedField) *pbgear.Balances_TransferAllowDeathCall { - out := &pbgear.Balances_TransferAllowDeathCall{} - out.Dest = To_Balances_Dest(fields[0].Value.([]*registry.DecodedField)) - out.Value = To_Balances_CompactString(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_TransferAllowDeathCall{} + out.Dest = To_Balances_Dest(fields[0].Value.([]*registry.DecodedField)) + out.Value = To_Balances_CompactString(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Balances_TransferKeepAliveCall(fields []*registry.DecodedField) *pbgear.Balances_TransferKeepAliveCall { - out := &pbgear.Balances_TransferKeepAliveCall{} - out.Dest = To_Balances_Dest(fields[0].Value.([]*registry.DecodedField)) - out.Value = To_Balances_CompactString(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_TransferKeepAliveCall{} + out.Dest = To_Balances_Dest(fields[0].Value.([]*registry.DecodedField)) + out.Value = To_Balances_CompactString(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Balances_TupleNull(fields []*registry.DecodedField) *pbgear.Balances_TupleNull { - out := &pbgear.Balances_TupleNull{} - return out + out := &pbgear.Balances_TupleNull{} + return out } + func To_Balances_UpgradeAccountsCall(fields []*registry.DecodedField) *pbgear.Balances_UpgradeAccountsCall { - out := &pbgear.Balances_UpgradeAccountsCall{} - out.Who = To_repeated_Balances_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Balances_UpgradeAccountsCall{} + out.Who = To_repeated_Balances_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Balances_Who(fields []*registry.DecodedField) *pbgear.Balances_Who { - out := &pbgear.Balances_Who{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Balances_Who_Id{ - Id: To_Balances_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Balances_Who_Index{ - Index: To_Balances_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Balances_Who_Raw{ - Raw: To_Balances_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Balances_Who_Address32{ - Address32: To_Balances_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Balances_Who_Address20{ - Address20: To_Balances_Address20(fields), //Passthrough fields... - } - } - return out +func To_Balances_Who(fields []*registry.DecodedField) *pbgear.Balances_Who { + out := &pbgear.Balances_Who{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Balances_Who_Id{ + Id: To_Balances_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Balances_Who_Index{ + Index: To_Balances_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Balances_Who_Raw{ + Raw: To_Balances_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Balances_Who_Address32{ + Address32: To_Balances_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Balances_Who_Address20{ + Address20: To_Balances_Address20(fields), //Passthrough fields... + } + } + return out } + func To_BoundedCollectionsBoundedVecBoundedVec(fields []*registry.DecodedField) *pbgear.BoundedCollectionsBoundedVecBoundedVec { - out := &pbgear.BoundedCollectionsBoundedVecBoundedVec{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.BoundedCollectionsBoundedVecBoundedVec{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_AcceptCuratorCall(fields []*registry.DecodedField) *pbgear.Bounties_AcceptCuratorCall { - out := &pbgear.Bounties_AcceptCuratorCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_AcceptCuratorCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "bounty_id" optional: false repeated: false -// not seen "bounty_id" optional: false repeated: false func To_Bounties_Address20(fields []*registry.DecodedField) *pbgear.Bounties_Address20 { - out := &pbgear.Bounties_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_Address32(fields []*registry.DecodedField) *pbgear.Bounties_Address32 { - out := &pbgear.Bounties_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_ApproveBountyCall(fields []*registry.DecodedField) *pbgear.Bounties_ApproveBountyCall { - out := &pbgear.Bounties_ApproveBountyCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_ApproveBountyCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_AwardBountyCall(fields []*registry.DecodedField) *pbgear.Bounties_AwardBountyCall { - out := &pbgear.Bounties_AwardBountyCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Beneficiary = To_Bounties_Beneficiary(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_AwardBountyCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Beneficiary = To_Bounties_Beneficiary(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "beneficiary" optional: false repeated: false -// not seen "beneficiary" optional: false repeated: false func To_Bounties_Beneficiary(fields []*registry.DecodedField) *pbgear.Bounties_Beneficiary { - out := &pbgear.Bounties_Beneficiary{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Bounties_Beneficiary_Id{ - Id: To_Bounties_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Bounties_Beneficiary_Index{ - Index: To_Bounties_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Bounties_Beneficiary_Raw{ - Raw: To_Bounties_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Bounties_Beneficiary_Address32{ - Address32: To_Bounties_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Bounties_Beneficiary_Address20{ - Address20: To_Bounties_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Bounties_Beneficiary{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Bounties_Beneficiary_Id{ + Id: To_Bounties_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Bounties_Beneficiary_Index{ + Index: To_Bounties_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Bounties_Beneficiary_Raw{ + Raw: To_Bounties_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Bounties_Beneficiary_Address32{ + Address32: To_Bounties_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Bounties_Beneficiary_Address20{ + Address20: To_Bounties_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Bounties_ClaimBountyCall(fields []*registry.DecodedField) *pbgear.Bounties_ClaimBountyCall { - out := &pbgear.Bounties_ClaimBountyCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_ClaimBountyCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_CloseBountyCall(fields []*registry.DecodedField) *pbgear.Bounties_CloseBountyCall { - out := &pbgear.Bounties_CloseBountyCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_CloseBountyCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_CompactString(fields []*registry.DecodedField) *pbgear.Bounties_CompactString { - out := &pbgear.Bounties_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Bounties_CompactTupleNull { - out := &pbgear.Bounties_CompactTupleNull{} - out.Value = To_Bounties_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_CompactTupleNull{} + out.Value = To_Bounties_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Bounties_CompactUint32(fields []*registry.DecodedField) *pbgear.Bounties_CompactUint32 { - out := &pbgear.Bounties_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Bounties_Curator(fields []*registry.DecodedField) *pbgear.Bounties_Curator { - out := &pbgear.Bounties_Curator{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Bounties_Curator_Id{ - Id: To_Bounties_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Bounties_Curator_Index{ - Index: To_Bounties_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Bounties_Curator_Raw{ - Raw: To_Bounties_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Bounties_Curator_Address32{ - Address32: To_Bounties_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Bounties_Curator_Address20{ - Address20: To_Bounties_Address20(fields), //Passthrough fields... - } - } - return out +func To_Bounties_Curator(fields []*registry.DecodedField) *pbgear.Bounties_Curator { + out := &pbgear.Bounties_Curator{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Bounties_Curator_Id{ + Id: To_Bounties_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Bounties_Curator_Index{ + Index: To_Bounties_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Bounties_Curator_Raw{ + Raw: To_Bounties_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Bounties_Curator_Address32{ + Address32: To_Bounties_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Bounties_Curator_Address20{ + Address20: To_Bounties_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Bounties_ExtendBountyExpiryCall(fields []*registry.DecodedField) *pbgear.Bounties_ExtendBountyExpiryCall { - out := &pbgear.Bounties_ExtendBountyExpiryCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Remark = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_ExtendBountyExpiryCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Remark = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_Id(fields []*registry.DecodedField) *pbgear.Bounties_Id { - out := &pbgear.Bounties_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_Index(fields []*registry.DecodedField) *pbgear.Bounties_Index { - out := &pbgear.Bounties_Index{} - out.Value0 = To_Bounties_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_Index{} + out.Value0 = To_Bounties_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Bounties_ProposeBountyCall(fields []*registry.DecodedField) *pbgear.Bounties_ProposeBountyCall { - out := &pbgear.Bounties_ProposeBountyCall{} - out.Value = To_Bounties_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.Description = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_ProposeBountyCall{} + out.Value = To_Bounties_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.Description = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Bounties_ProposeCuratorCall(fields []*registry.DecodedField) *pbgear.Bounties_ProposeCuratorCall { - out := &pbgear.Bounties_ProposeCuratorCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Curator = To_Bounties_Curator(fields[1].Value.([]*registry.DecodedField)) - out.Fee = To_Bounties_CompactString(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_ProposeCuratorCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Curator = To_Bounties_Curator(fields[1].Value.([]*registry.DecodedField)) + out.Fee = To_Bounties_CompactString(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "curator" optional: false repeated: false -// not seen "curator" optional: false repeated: false func To_Bounties_Raw(fields []*registry.DecodedField) *pbgear.Bounties_Raw { - out := &pbgear.Bounties_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Bounties_TupleNull(fields []*registry.DecodedField) *pbgear.Bounties_TupleNull { - out := &pbgear.Bounties_TupleNull{} - return out + out := &pbgear.Bounties_TupleNull{} + return out } + func To_Bounties_UnassignCuratorCall(fields []*registry.DecodedField) *pbgear.Bounties_UnassignCuratorCall { - out := &pbgear.Bounties_UnassignCuratorCall{} - out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Bounties_UnassignCuratorCall{} + out.BountyId = To_Bounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_AcceptCuratorCall(fields []*registry.DecodedField) *pbgear.ChildBounties_AcceptCuratorCall { - out := &pbgear.ChildBounties_AcceptCuratorCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_AcceptCuratorCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "parent_bounty_id" optional: false repeated: false -// not seen "parent_bounty_id" optional: false repeated: false func To_ChildBounties_AddChildBountyCall(fields []*registry.DecodedField) *pbgear.ChildBounties_AddChildBountyCall { - out := &pbgear.ChildBounties_AddChildBountyCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value = To_ChildBounties_CompactString(fields[1].Value.([]*registry.DecodedField)) - out.Description = To_bytes(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_AddChildBountyCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value = To_ChildBounties_CompactString(fields[1].Value.([]*registry.DecodedField)) + out.Description = To_bytes(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_ChildBounties_Address20(fields []*registry.DecodedField) *pbgear.ChildBounties_Address20 { - out := &pbgear.ChildBounties_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_Address32(fields []*registry.DecodedField) *pbgear.ChildBounties_Address32 { - out := &pbgear.ChildBounties_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_AwardChildBountyCall(fields []*registry.DecodedField) *pbgear.ChildBounties_AwardChildBountyCall { - out := &pbgear.ChildBounties_AwardChildBountyCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - out.Beneficiary = To_ChildBounties_Beneficiary(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_AwardChildBountyCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + out.Beneficiary = To_ChildBounties_Beneficiary(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "beneficiary" optional: false repeated: false -// not seen "beneficiary" optional: false repeated: false func To_ChildBounties_Beneficiary(fields []*registry.DecodedField) *pbgear.ChildBounties_Beneficiary { - out := &pbgear.ChildBounties_Beneficiary{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.ChildBounties_Beneficiary_Id{ - Id: To_ChildBounties_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.ChildBounties_Beneficiary_Index{ - Index: To_ChildBounties_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.ChildBounties_Beneficiary_Raw{ - Raw: To_ChildBounties_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.ChildBounties_Beneficiary_Address32{ - Address32: To_ChildBounties_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.ChildBounties_Beneficiary_Address20{ - Address20: To_ChildBounties_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.ChildBounties_Beneficiary{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.ChildBounties_Beneficiary_Id{ + Id: To_ChildBounties_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.ChildBounties_Beneficiary_Index{ + Index: To_ChildBounties_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.ChildBounties_Beneficiary_Raw{ + Raw: To_ChildBounties_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.ChildBounties_Beneficiary_Address32{ + Address32: To_ChildBounties_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.ChildBounties_Beneficiary_Address20{ + Address20: To_ChildBounties_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_ChildBounties_ClaimChildBountyCall(fields []*registry.DecodedField) *pbgear.ChildBounties_ClaimChildBountyCall { - out := &pbgear.ChildBounties_ClaimChildBountyCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_ClaimChildBountyCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_CloseChildBountyCall(fields []*registry.DecodedField) *pbgear.ChildBounties_CloseChildBountyCall { - out := &pbgear.ChildBounties_CloseChildBountyCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_CloseChildBountyCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_CompactString(fields []*registry.DecodedField) *pbgear.ChildBounties_CompactString { - out := &pbgear.ChildBounties_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_CompactTupleNull(fields []*registry.DecodedField) *pbgear.ChildBounties_CompactTupleNull { - out := &pbgear.ChildBounties_CompactTupleNull{} - out.Value = To_ChildBounties_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_CompactTupleNull{} + out.Value = To_ChildBounties_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_ChildBounties_CompactUint32(fields []*registry.DecodedField) *pbgear.ChildBounties_CompactUint32 { - out := &pbgear.ChildBounties_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_ChildBounties_Curator(fields []*registry.DecodedField) *pbgear.ChildBounties_Curator { - out := &pbgear.ChildBounties_Curator{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.ChildBounties_Curator_Id{ - Id: To_ChildBounties_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.ChildBounties_Curator_Index{ - Index: To_ChildBounties_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.ChildBounties_Curator_Raw{ - Raw: To_ChildBounties_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.ChildBounties_Curator_Address32{ - Address32: To_ChildBounties_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.ChildBounties_Curator_Address20{ - Address20: To_ChildBounties_Address20(fields), //Passthrough fields... - } - } - return out +func To_ChildBounties_Curator(fields []*registry.DecodedField) *pbgear.ChildBounties_Curator { + out := &pbgear.ChildBounties_Curator{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.ChildBounties_Curator_Id{ + Id: To_ChildBounties_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.ChildBounties_Curator_Index{ + Index: To_ChildBounties_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.ChildBounties_Curator_Raw{ + Raw: To_ChildBounties_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.ChildBounties_Curator_Address32{ + Address32: To_ChildBounties_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.ChildBounties_Curator_Address20{ + Address20: To_ChildBounties_Address20(fields), //Passthrough fields... + } + } + return out } + func To_ChildBounties_Id(fields []*registry.DecodedField) *pbgear.ChildBounties_Id { - out := &pbgear.ChildBounties_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_Index(fields []*registry.DecodedField) *pbgear.ChildBounties_Index { - out := &pbgear.ChildBounties_Index{} - out.Value0 = To_ChildBounties_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_Index{} + out.Value0 = To_ChildBounties_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_ChildBounties_ProposeCuratorCall(fields []*registry.DecodedField) *pbgear.ChildBounties_ProposeCuratorCall { - out := &pbgear.ChildBounties_ProposeCuratorCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - out.Curator = To_ChildBounties_Curator(fields[2].Value.([]*registry.DecodedField)) - out.Fee = To_ChildBounties_CompactString(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_ProposeCuratorCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + out.Curator = To_ChildBounties_Curator(fields[2].Value.([]*registry.DecodedField)) + out.Fee = To_ChildBounties_CompactString(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "curator" optional: false repeated: false -// not seen "curator" optional: false repeated: false func To_ChildBounties_Raw(fields []*registry.DecodedField) *pbgear.ChildBounties_Raw { - out := &pbgear.ChildBounties_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ChildBounties_TupleNull(fields []*registry.DecodedField) *pbgear.ChildBounties_TupleNull { - out := &pbgear.ChildBounties_TupleNull{} - return out + out := &pbgear.ChildBounties_TupleNull{} + return out } + func To_ChildBounties_UnassignCuratorCall(fields []*registry.DecodedField) *pbgear.ChildBounties_UnassignCuratorCall { - out := &pbgear.ChildBounties_UnassignCuratorCall{} - out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ChildBounties_UnassignCuratorCall{} + out.ParentBountyId = To_ChildBounties_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.ChildBountyId = To_ChildBounties_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_Address20(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Address20 { - out := &pbgear.ConvictionVoting_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_Address32(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Address32 { - out := &pbgear.ConvictionVoting_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_CompactTupleNull(fields []*registry.DecodedField) *pbgear.ConvictionVoting_CompactTupleNull { - out := &pbgear.ConvictionVoting_CompactTupleNull{} - out.Value = To_ConvictionVoting_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_CompactTupleNull{} + out.Value = To_ConvictionVoting_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_ConvictionVoting_CompactUint32(fields []*registry.DecodedField) *pbgear.ConvictionVoting_CompactUint32 { - out := &pbgear.ConvictionVoting_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_ConvictionVoting_Conviction(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Conviction { - out := &pbgear.ConvictionVoting_Conviction{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.ConvictionVoting_Conviction_None{ - None: To_ConvictionVoting_None(fields), //Passthrough fields... - } - } - return out +func To_ConvictionVoting_Conviction(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Conviction { + out := &pbgear.ConvictionVoting_Conviction{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.ConvictionVoting_Conviction_None{ + None: To_ConvictionVoting_None(fields), //Passthrough fields... + } + } + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_ConvictionVoting_DelegateCall(fields []*registry.DecodedField) *pbgear.ConvictionVoting_DelegateCall { - out := &pbgear.ConvictionVoting_DelegateCall{} - out.Class = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.To = To_ConvictionVoting_To(fields[1].Value.([]*registry.DecodedField)) - out.Conviction = To_ConvictionVoting_Conviction(fields[2].Value.([]*registry.DecodedField)) - out.Balance = To_string(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_DelegateCall{} + out.Class = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.To = To_ConvictionVoting_To(fields[1].Value.([]*registry.DecodedField)) + out.Conviction = To_ConvictionVoting_Conviction(fields[2].Value.([]*registry.DecodedField)) + out.Balance = To_string(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "to" optional: false repeated: false + // not seen "conviction" optional: false repeated: false -// not seen "to" optional: false repeated: false -// not seen "conviction" optional: false repeated: false func To_ConvictionVoting_Id(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Id { - out := &pbgear.ConvictionVoting_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_Index(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Index { - out := &pbgear.ConvictionVoting_Index{} - out.Value0 = To_ConvictionVoting_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Index{} + out.Value0 = To_ConvictionVoting_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_ConvictionVoting_Locked1X(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Locked1X { - out := &pbgear.ConvictionVoting_Locked1X{} - return out + out := &pbgear.ConvictionVoting_Locked1X{} + return out } + func To_ConvictionVoting_Locked2X(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Locked2X { - out := &pbgear.ConvictionVoting_Locked2X{} - return out + out := &pbgear.ConvictionVoting_Locked2X{} + return out } + func To_ConvictionVoting_Locked3X(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Locked3X { - out := &pbgear.ConvictionVoting_Locked3X{} - return out + out := &pbgear.ConvictionVoting_Locked3X{} + return out } + func To_ConvictionVoting_Locked4X(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Locked4X { - out := &pbgear.ConvictionVoting_Locked4X{} - return out + out := &pbgear.ConvictionVoting_Locked4X{} + return out } + func To_ConvictionVoting_Locked5X(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Locked5X { - out := &pbgear.ConvictionVoting_Locked5X{} - return out + out := &pbgear.ConvictionVoting_Locked5X{} + return out } + func To_ConvictionVoting_Locked6X(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Locked6X { - out := &pbgear.ConvictionVoting_Locked6X{} - return out + out := &pbgear.ConvictionVoting_Locked6X{} + return out } + func To_ConvictionVoting_None(fields []*registry.DecodedField) *pbgear.ConvictionVoting_None { - out := &pbgear.ConvictionVoting_None{} - return out + out := &pbgear.ConvictionVoting_None{} + return out } + func To_ConvictionVoting_Raw(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Raw { - out := &pbgear.ConvictionVoting_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_RemoveOtherVoteCall(fields []*registry.DecodedField) *pbgear.ConvictionVoting_RemoveOtherVoteCall { - out := &pbgear.ConvictionVoting_RemoveOtherVoteCall{} - out.Target = To_ConvictionVoting_Target(fields[0].Value.([]*registry.DecodedField)) - out.Class = To_uint32(fields[1].Value.([]*registry.DecodedField)) - out.Index = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_RemoveOtherVoteCall{} + out.Target = To_ConvictionVoting_Target(fields[0].Value.([]*registry.DecodedField)) + out.Class = To_uint32(fields[1].Value.([]*registry.DecodedField)) + out.Index = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "target" optional: false repeated: false -// not seen "target" optional: false repeated: false func To_ConvictionVoting_RemoveVoteCall(fields []*registry.DecodedField) *pbgear.ConvictionVoting_RemoveVoteCall { - out := &pbgear.ConvictionVoting_RemoveVoteCall{} - out.Class = To_optional_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_RemoveVoteCall{} + out.Class = To_optional_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_Split(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Split { - out := &pbgear.ConvictionVoting_Split{} - out.Aye = To_string(fields[0].Value.([]*registry.DecodedField)) - out.Nay = To_string(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Split{} + out.Aye = To_string(fields[0].Value.([]*registry.DecodedField)) + out.Nay = To_string(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_SplitAbstain(fields []*registry.DecodedField) *pbgear.ConvictionVoting_SplitAbstain { - out := &pbgear.ConvictionVoting_SplitAbstain{} - out.Aye = To_string(fields[0].Value.([]*registry.DecodedField)) - out.Nay = To_string(fields[1].Value.([]*registry.DecodedField)) - out.Abstain = To_string(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_SplitAbstain{} + out.Aye = To_string(fields[0].Value.([]*registry.DecodedField)) + out.Nay = To_string(fields[1].Value.([]*registry.DecodedField)) + out.Abstain = To_string(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_Standard(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Standard { - out := &pbgear.ConvictionVoting_Standard{} - out.Vote = To_conviction_voting_PalletConvictionVotingVoteVote(fields[0].Value.([]*registry.DecodedField)) - out.Balance = To_string(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_Standard{} + out.Vote = To_conviction_voting_PalletConvictionVotingVoteVote(fields[0].Value.([]*registry.DecodedField)) + out.Balance = To_string(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "vote" optional: false repeated: false -// not seen "vote" optional: false repeated: false func To_ConvictionVoting_Target(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Target { - out := &pbgear.ConvictionVoting_Target{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.ConvictionVoting_Target_Id{ - Id: To_ConvictionVoting_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.ConvictionVoting_Target_Index{ - Index: To_ConvictionVoting_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.ConvictionVoting_Target_Raw{ - Raw: To_ConvictionVoting_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.ConvictionVoting_Target_Address32{ - Address32: To_ConvictionVoting_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.ConvictionVoting_Target_Address20{ - Address20: To_ConvictionVoting_Address20(fields), //Passthrough fields... - } - } - return out + out := &pbgear.ConvictionVoting_Target{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.ConvictionVoting_Target_Id{ + Id: To_ConvictionVoting_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.ConvictionVoting_Target_Index{ + Index: To_ConvictionVoting_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.ConvictionVoting_Target_Raw{ + Raw: To_ConvictionVoting_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.ConvictionVoting_Target_Address32{ + Address32: To_ConvictionVoting_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.ConvictionVoting_Target_Address20{ + Address20: To_ConvictionVoting_Address20(fields), //Passthrough fields... + } + } + return out } -func To_ConvictionVoting_To(fields []*registry.DecodedField) *pbgear.ConvictionVoting_To { - out := &pbgear.ConvictionVoting_To{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.ConvictionVoting_To_Id{ - Id: To_ConvictionVoting_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.ConvictionVoting_To_Index{ - Index: To_ConvictionVoting_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.ConvictionVoting_To_Raw{ - Raw: To_ConvictionVoting_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.ConvictionVoting_To_Address32{ - Address32: To_ConvictionVoting_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.ConvictionVoting_To_Address20{ - Address20: To_ConvictionVoting_Address20(fields), //Passthrough fields... - } - } - return out +func To_ConvictionVoting_To(fields []*registry.DecodedField) *pbgear.ConvictionVoting_To { + out := &pbgear.ConvictionVoting_To{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.ConvictionVoting_To_Id{ + Id: To_ConvictionVoting_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.ConvictionVoting_To_Index{ + Index: To_ConvictionVoting_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.ConvictionVoting_To_Raw{ + Raw: To_ConvictionVoting_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.ConvictionVoting_To_Address32{ + Address32: To_ConvictionVoting_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.ConvictionVoting_To_Address20{ + Address20: To_ConvictionVoting_Address20(fields), //Passthrough fields... + } + } + return out } + func To_ConvictionVoting_TupleNull(fields []*registry.DecodedField) *pbgear.ConvictionVoting_TupleNull { - out := &pbgear.ConvictionVoting_TupleNull{} - return out + out := &pbgear.ConvictionVoting_TupleNull{} + return out } + func To_ConvictionVoting_UndelegateCall(fields []*registry.DecodedField) *pbgear.ConvictionVoting_UndelegateCall { - out := &pbgear.ConvictionVoting_UndelegateCall{} - out.Class = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_UndelegateCall{} + out.Class = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ConvictionVoting_UnlockCall(fields []*registry.DecodedField) *pbgear.ConvictionVoting_UnlockCall { - out := &pbgear.ConvictionVoting_UnlockCall{} - out.Class = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Target = To_ConvictionVoting_Target(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_UnlockCall{} + out.Class = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Target = To_ConvictionVoting_Target(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_ConvictionVoting_Vote(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Vote { - out := &pbgear.ConvictionVoting_Vote{} - switch { - case matchFields(fields, []int64{126, 6}): - out.Value = &pbgear.ConvictionVoting_Vote_Standard{ - Standard: To_ConvictionVoting_Standard(fields), //Passthrough fields... - } - case matchFields(fields, []int64{6, 6}): - out.Value = &pbgear.ConvictionVoting_Vote_Split{ - Split: To_ConvictionVoting_Split(fields), //Passthrough fields... - } - case matchFields(fields, []int64{6, 6, 6}): - out.Value = &pbgear.ConvictionVoting_Vote_SplitAbstain{ - SplitAbstain: To_ConvictionVoting_SplitAbstain(fields), //Passthrough fields... - } - } - return out +func To_ConvictionVoting_Vote(fields []*registry.DecodedField) *pbgear.ConvictionVoting_Vote { + out := &pbgear.ConvictionVoting_Vote{} + + switch { + case matchFields(fields, []int64{126, 6}): + out.Value = &pbgear.ConvictionVoting_Vote_Standard{ + Standard: To_ConvictionVoting_Standard(fields), //Passthrough fields... + } + case matchFields(fields, []int64{6, 6}): + out.Value = &pbgear.ConvictionVoting_Vote_Split{ + Split: To_ConvictionVoting_Split(fields), //Passthrough fields... + } + case matchFields(fields, []int64{6, 6, 6}): + out.Value = &pbgear.ConvictionVoting_Vote_SplitAbstain{ + SplitAbstain: To_ConvictionVoting_SplitAbstain(fields), //Passthrough fields... + } + } + return out } + func To_ConvictionVoting_VoteCall(fields []*registry.DecodedField) *pbgear.ConvictionVoting_VoteCall { - out := &pbgear.ConvictionVoting_VoteCall{} - out.PollIndex = To_ConvictionVoting_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Vote = To_ConvictionVoting_Vote(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ConvictionVoting_VoteCall{} + out.PollIndex = To_ConvictionVoting_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Vote = To_ConvictionVoting_Vote(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "poll_index" optional: false repeated: false + // not seen "vote" optional: false repeated: false -// not seen "poll_index" optional: false repeated: false -// not seen "vote" optional: false repeated: false func To_ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16 { - out := &pbgear.ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16{} - out.Value = To_ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16{} + out.Value = To_ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_ElectionProviderMultiPhase_CompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_CompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_GovernanceFallbackCall(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_GovernanceFallbackCall { - out := &pbgear.ElectionProviderMultiPhase_GovernanceFallbackCall{} - out.MaybeMaxVoters = To_optional_uint32(fields[0].Value.([]*registry.DecodedField)) - out.MaybeMaxTargets = To_optional_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_GovernanceFallbackCall{} + out.MaybeMaxVoters = To_optional_uint32(fields[0].Value.([]*registry.DecodedField)) + out.MaybeMaxTargets = To_optional_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution { - out := &pbgear.ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution{} - out.Solution = To_ElectionProviderMultiPhase_VaraRuntimeNposSolution16(fields[0].Value.([]*registry.DecodedField)) - out.Score = To_ElectionProviderMultiPhase_SpNposElectionsElectionScore(fields[1].Value.([]*registry.DecodedField)) - out.Round = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution{} + out.Solution = To_ElectionProviderMultiPhase_VaraRuntimeNposSolution16(fields[0].Value.([]*registry.DecodedField)) + out.Score = To_ElectionProviderMultiPhase_SpNposElectionsElectionScore(fields[1].Value.([]*registry.DecodedField)) + out.Round = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "solution" optional: false repeated: false + // not seen "score" optional: false repeated: false -// not seen "solution" optional: false repeated: false -// not seen "score" optional: false repeated: false func To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize { - out := &pbgear.ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize{} - out.Voters = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Targets = To_ElectionProviderMultiPhase_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize{} + out.Voters = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Targets = To_ElectionProviderMultiPhase_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "voters" optional: false repeated: false -// not seen "voters" optional: false repeated: false func To_ElectionProviderMultiPhase_SetEmergencyElectionResultCall(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SetEmergencyElectionResultCall { - out := &pbgear.ElectionProviderMultiPhase_SetEmergencyElectionResultCall{} - out.Supports = To_repeated_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SetEmergencyElectionResultCall{} + out.Supports = To_repeated_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "supports" optional: false repeated: true -// optional primitive: supports + // not seen "supports" optional: false repeated: true + // optional primitive: supports func To_repeated_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport(f.Value.([]*registry.DecodedField))) + } + return out } + func To_ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall { - out := &pbgear.ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall{} - out.MaybeNextScore = To_optional_ElectionProviderMultiPhase_SpNposElectionsElectionScore(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall{} + out.MaybeNextScore = To_optional_ElectionProviderMultiPhase_SpNposElectionsElectionScore(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16 { - out := &pbgear.ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SpArithmeticPerThingsPerU16{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SpCoreCryptoAccountId32 { - out := &pbgear.ElectionProviderMultiPhase_SpCoreCryptoAccountId32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SpCoreCryptoAccountId32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_SpNposElectionsElectionScore(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SpNposElectionsElectionScore { - out := &pbgear.ElectionProviderMultiPhase_SpNposElectionsElectionScore{} - out.MinimalStake = To_string(fields[0].Value.([]*registry.DecodedField)) - out.SumStake = To_string(fields[1].Value.([]*registry.DecodedField)) - out.SumStakeSquared = To_string(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SpNposElectionsElectionScore{} + out.MinimalStake = To_string(fields[0].Value.([]*registry.DecodedField)) + out.SumStake = To_string(fields[1].Value.([]*registry.DecodedField)) + out.SumStakeSquared = To_string(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_SpNposElectionsSupport(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SpNposElectionsSupport { - out := &pbgear.ElectionProviderMultiPhase_SpNposElectionsSupport{} - out.Total = To_string(fields[0].Value.([]*registry.DecodedField)) - out.Voters = To_repeated_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SpNposElectionsSupport{} + out.Total = To_string(fields[0].Value.([]*registry.DecodedField)) + out.Voters = To_repeated_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String(fields[1].Value.([]*registry.DecodedField)) + return out } - -// not seen "voters" optional: false repeated: true -// optional primitive: voters + // not seen "voters" optional: false repeated: true + // optional primitive: voters func To_repeated_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String(f.Value.([]*registry.DecodedField))) + } + return out } + func To_ElectionProviderMultiPhase_SubmitCall(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SubmitCall { - out := &pbgear.ElectionProviderMultiPhase_SubmitCall{} - out.RawSolution = To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SubmitCall{} + out.RawSolution = To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "raw_solution" optional: false repeated: false -// not seen "raw_solution" optional: false repeated: false func To_ElectionProviderMultiPhase_SubmitUnsignedCall(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_SubmitUnsignedCall { - out := &pbgear.ElectionProviderMultiPhase_SubmitUnsignedCall{} - out.RawSolution = To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution(fields[0].Value.([]*registry.DecodedField)) - out.Witness = To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_SubmitUnsignedCall{} + out.RawSolution = To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution(fields[0].Value.([]*registry.DecodedField)) + out.Witness = To_ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "witness" optional: false repeated: false -// not seen "witness" optional: false repeated: false func To_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_ElectionProviderMultiPhase_CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value1" optional: false repeated: false -// not seen "value1" optional: false repeated: false func To_ElectionProviderMultiPhase_TupleCompactUint32CompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_ElectionProviderMultiPhase_CompactUint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_ElectionProviderMultiPhase_CompactUint32(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out -} -// not seen "value1" optional: false repeated: true -// optional primitive: value1 +func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 { + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out +} + // not seen "value1" optional: false repeated: true + // optional primitive: value1 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(f.Value.([]*registry.DecodedField))) + } + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32 { - out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32{} - out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) - out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32{} + out.Value0 = To_ElectionProviderMultiPhase_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_ElectionProviderMultiPhase_TupleCompactUint32CompactSpArithmeticPerThingsPerU16(fields[1].Value.([]*registry.DecodedField)) + out.Value2 = To_ElectionProviderMultiPhase_CompactUint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport { - out := &pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport{} - out.Value0 = To_ElectionProviderMultiPhase_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_ElectionProviderMultiPhase_SpNposElectionsSupport(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport{} + out.Value0 = To_ElectionProviderMultiPhase_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_ElectionProviderMultiPhase_SpNposElectionsSupport(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false + // not seen "value1" optional: false repeated: false -// not seen "value0" optional: false repeated: false -// not seen "value1" optional: false repeated: false func To_ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String { - out := &pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String{} - out.Value0 = To_ElectionProviderMultiPhase_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_string(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String{} + out.Value0 = To_ElectionProviderMultiPhase_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_string(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_ElectionProviderMultiPhase_VaraRuntimeNposSolution16(fields []*registry.DecodedField) *pbgear.ElectionProviderMultiPhase_VaraRuntimeNposSolution16 { - out := &pbgear.ElectionProviderMultiPhase_VaraRuntimeNposSolution16{} - out.Votes1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Votes2 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32(fields[1].Value.([]*registry.DecodedField)) - out.Votes3 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32(fields[2].Value.([]*registry.DecodedField)) - out.Votes4 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32(fields[3].Value.([]*registry.DecodedField)) - out.Votes5 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32(fields[4].Value.([]*registry.DecodedField)) - out.Votes6 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32(fields[5].Value.([]*registry.DecodedField)) - out.Votes7 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32(fields[6].Value.([]*registry.DecodedField)) - out.Votes8 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32(fields[7].Value.([]*registry.DecodedField)) - out.Votes9 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32(fields[8].Value.([]*registry.DecodedField)) - out.Votes10 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(fields[9].Value.([]*registry.DecodedField)) - out.Votes11 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32(fields[10].Value.([]*registry.DecodedField)) - out.Votes12 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32(fields[11].Value.([]*registry.DecodedField)) - out.Votes13 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32(fields[12].Value.([]*registry.DecodedField)) - out.Votes14 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32(fields[13].Value.([]*registry.DecodedField)) - out.Votes15 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32(fields[14].Value.([]*registry.DecodedField)) - out.Votes16 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32(fields[15].Value.([]*registry.DecodedField)) - return out -} - -// not seen "votes1" optional: false repeated: true -// optional primitive: votes1 + out := &pbgear.ElectionProviderMultiPhase_VaraRuntimeNposSolution16{} + out.Votes1 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Votes2 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32(fields[1].Value.([]*registry.DecodedField)) + out.Votes3 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32(fields[2].Value.([]*registry.DecodedField)) + out.Votes4 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32(fields[3].Value.([]*registry.DecodedField)) + out.Votes5 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32(fields[4].Value.([]*registry.DecodedField)) + out.Votes6 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32(fields[5].Value.([]*registry.DecodedField)) + out.Votes7 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32(fields[6].Value.([]*registry.DecodedField)) + out.Votes8 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32(fields[7].Value.([]*registry.DecodedField)) + out.Votes9 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32(fields[8].Value.([]*registry.DecodedField)) + out.Votes10 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(fields[9].Value.([]*registry.DecodedField)) + out.Votes11 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32(fields[10].Value.([]*registry.DecodedField)) + out.Votes12 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32(fields[11].Value.([]*registry.DecodedField)) + out.Votes13 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32(fields[12].Value.([]*registry.DecodedField)) + out.Votes14 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32(fields[13].Value.([]*registry.DecodedField)) + out.Votes15 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32(fields[14].Value.([]*registry.DecodedField)) + out.Votes16 = To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32(fields[15].Value.([]*registry.DecodedField)) + return out +} + // not seen "votes1" optional: false repeated: true + // optional primitive: votes1 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32CompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32CompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes2" optional: false repeated: true -// optional primitive: votes2 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32CompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32CompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes2" optional: false repeated: true + // optional primitive: votes2 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes3" optional: false repeated: true -// optional primitive: votes3 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32TupleCompactUint32CompactSpArithmeticPerThingsPerU16CompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes3" optional: false repeated: true + // optional primitive: votes3 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes4" optional: false repeated: true -// optional primitive: votes4 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes3ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes4" optional: false repeated: true + // optional primitive: votes4 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes5" optional: false repeated: true -// optional primitive: votes5 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes4ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes5" optional: false repeated: true + // optional primitive: votes5 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes6" optional: false repeated: true -// optional primitive: votes6 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes5ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes6" optional: false repeated: true + // optional primitive: votes6 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes7" optional: false repeated: true -// optional primitive: votes7 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes6ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes7" optional: false repeated: true + // optional primitive: votes7 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes8" optional: false repeated: true -// optional primitive: votes8 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes7ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes8" optional: false repeated: true + // optional primitive: votes8 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes9" optional: false repeated: true -// optional primitive: votes9 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes8ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes9" optional: false repeated: true + // optional primitive: votes9 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes10" optional: false repeated: true -// optional primitive: votes10 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes9ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes10" optional: false repeated: true + // optional primitive: votes10 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes11" optional: false repeated: true -// optional primitive: votes11 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes10ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes11" optional: false repeated: true + // optional primitive: votes11 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes12" optional: false repeated: true -// optional primitive: votes12 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes11ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes12" optional: false repeated: true + // optional primitive: votes12 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes13" optional: false repeated: true -// optional primitive: votes13 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes12ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes13" optional: false repeated: true + // optional primitive: votes13 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes14" optional: false repeated: true -// optional primitive: votes14 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes13ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes14" optional: false repeated: true + // optional primitive: votes14 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes15" optional: false repeated: true -// optional primitive: votes15 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes14ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes15" optional: false repeated: true + // optional primitive: votes15 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out -} - -// not seen "votes16" optional: false repeated: true -// optional primitive: votes16 + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes15ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out +} + // not seen "votes16" optional: false repeated: true + // optional primitive: votes16 func To_repeated_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32(fields []*registry.DecodedField) []*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32 { - out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32, len(fields)) - for _, f := range fields { - out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32, len(fields)) + for _, f := range fields { + out = append(out, To_ElectionProviderMultiPhase_TupleCompactUint32ElectionProviderMultiPhaseVotes16ListCompactUint32(f.Value.([]*registry.DecodedField))) + } + return out } + func To_FellowshipCollective_AddMemberCall(fields []*registry.DecodedField) *pbgear.FellowshipCollective_AddMemberCall { - out := &pbgear.FellowshipCollective_AddMemberCall{} - out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_AddMemberCall{} + out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "who" optional: false repeated: false -// not seen "who" optional: false repeated: false func To_FellowshipCollective_Address20(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Address20 { - out := &pbgear.FellowshipCollective_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_Address32(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Address32 { - out := &pbgear.FellowshipCollective_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_CleanupPollCall(fields []*registry.DecodedField) *pbgear.FellowshipCollective_CleanupPollCall { - out := &pbgear.FellowshipCollective_CleanupPollCall{} - out.PollIndex = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Max = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_CleanupPollCall{} + out.PollIndex = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Max = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_CompactTupleNull(fields []*registry.DecodedField) *pbgear.FellowshipCollective_CompactTupleNull { - out := &pbgear.FellowshipCollective_CompactTupleNull{} - out.Value = To_FellowshipCollective_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_CompactTupleNull{} + out.Value = To_FellowshipCollective_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_FellowshipCollective_DemoteMemberCall(fields []*registry.DecodedField) *pbgear.FellowshipCollective_DemoteMemberCall { - out := &pbgear.FellowshipCollective_DemoteMemberCall{} - out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_DemoteMemberCall{} + out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_Id(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Id { - out := &pbgear.FellowshipCollective_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_Index(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Index { - out := &pbgear.FellowshipCollective_Index{} - out.Value0 = To_FellowshipCollective_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_Index{} + out.Value0 = To_FellowshipCollective_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_FellowshipCollective_PromoteMemberCall(fields []*registry.DecodedField) *pbgear.FellowshipCollective_PromoteMemberCall { - out := &pbgear.FellowshipCollective_PromoteMemberCall{} - out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_PromoteMemberCall{} + out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_Raw(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Raw { - out := &pbgear.FellowshipCollective_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_RemoveMemberCall(fields []*registry.DecodedField) *pbgear.FellowshipCollective_RemoveMemberCall { - out := &pbgear.FellowshipCollective_RemoveMemberCall{} - out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) - out.MinRank = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_RemoveMemberCall{} + out.Who = To_FellowshipCollective_Who(fields[0].Value.([]*registry.DecodedField)) + out.MinRank = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipCollective_TupleNull(fields []*registry.DecodedField) *pbgear.FellowshipCollective_TupleNull { - out := &pbgear.FellowshipCollective_TupleNull{} - return out + out := &pbgear.FellowshipCollective_TupleNull{} + return out } + func To_FellowshipCollective_VoteCall(fields []*registry.DecodedField) *pbgear.FellowshipCollective_VoteCall { - out := &pbgear.FellowshipCollective_VoteCall{} - out.Poll = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Aye = To_bool(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipCollective_VoteCall{} + out.Poll = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Aye = To_bool(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_FellowshipCollective_Who(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Who { - out := &pbgear.FellowshipCollective_Who{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.FellowshipCollective_Who_Id{ - Id: To_FellowshipCollective_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.FellowshipCollective_Who_Index{ - Index: To_FellowshipCollective_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.FellowshipCollective_Who_Raw{ - Raw: To_FellowshipCollective_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.FellowshipCollective_Who_Address32{ - Address32: To_FellowshipCollective_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.FellowshipCollective_Who_Address20{ - Address20: To_FellowshipCollective_Address20(fields), //Passthrough fields... - } - } - return out -} +func To_FellowshipCollective_Who(fields []*registry.DecodedField) *pbgear.FellowshipCollective_Who { + out := &pbgear.FellowshipCollective_Who{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.FellowshipCollective_Who_Id{ + Id: To_FellowshipCollective_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.FellowshipCollective_Who_Index{ + Index: To_FellowshipCollective_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.FellowshipCollective_Who_Raw{ + Raw: To_FellowshipCollective_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.FellowshipCollective_Who_Address32{ + Address32: To_FellowshipCollective_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.FellowshipCollective_Who_Address20{ + Address20: To_FellowshipCollective_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_FellowshipReferenda_After(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_After { - out := &pbgear.FellowshipReferenda_After{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_After{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_At(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_At { - out := &pbgear.FellowshipReferenda_At{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_At{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_CancelCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_CancelCall { - out := &pbgear.FellowshipReferenda_CancelCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_CancelCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_FellowshipReferenda_EnactmentMoment(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_EnactmentMoment { - out := &pbgear.FellowshipReferenda_EnactmentMoment{} - switch { - case matchFields(fields, []int64{4}): - out.Value = &pbgear.FellowshipReferenda_EnactmentMoment_At{ - At: To_FellowshipReferenda_At(fields), //Passthrough fields... - } - case matchFields(fields, []int64{4}): - out.Value = &pbgear.FellowshipReferenda_EnactmentMoment_After{ - After: To_FellowshipReferenda_After(fields), //Passthrough fields... - } - } - return out -} +func To_FellowshipReferenda_EnactmentMoment(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_EnactmentMoment { + out := &pbgear.FellowshipReferenda_EnactmentMoment{} + + switch { + case matchFields(fields, []int64{4}): + out.Value = &pbgear.FellowshipReferenda_EnactmentMoment_At{ + At: To_FellowshipReferenda_At(fields), //Passthrough fields... + } + case matchFields(fields, []int64{4}): + out.Value = &pbgear.FellowshipReferenda_EnactmentMoment_After{ + After: To_FellowshipReferenda_After(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_FellowshipReferenda_Inline(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Inline { - out := &pbgear.FellowshipReferenda_Inline{} - out.Value0 = To_BoundedCollectionsBoundedVecBoundedVec(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_Inline{} + out.Value0 = To_BoundedCollectionsBoundedVecBoundedVec(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_FellowshipReferenda_KillCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_KillCall { - out := &pbgear.FellowshipReferenda_KillCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_KillCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_Legacy(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Legacy { - out := &pbgear.FellowshipReferenda_Legacy{} - out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_Legacy{} + out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "hash" optional: false repeated: false -// not seen "hash" optional: false repeated: false func To_FellowshipReferenda_Lookup(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Lookup { - out := &pbgear.FellowshipReferenda_Lookup{} - out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - out.Len = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_Lookup{} + out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + out.Len = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_NudgeReferendumCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_NudgeReferendumCall { - out := &pbgear.FellowshipReferenda_NudgeReferendumCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_NudgeReferendumCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_OneFewerDecidingCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_OneFewerDecidingCall { - out := &pbgear.FellowshipReferenda_OneFewerDecidingCall{} - out.Track = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_OneFewerDecidingCall{} + out.Track = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_Origins(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Origins { - out := &pbgear.FellowshipReferenda_Origins{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_Origins{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_FellowshipReferenda_PlaceDecisionDepositCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_PlaceDecisionDepositCall { - out := &pbgear.FellowshipReferenda_PlaceDecisionDepositCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_PlaceDecisionDepositCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_PrimitiveTypesH256 { - out := &pbgear.FellowshipReferenda_PrimitiveTypesH256{} - out.MaybeHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_PrimitiveTypesH256{} + out.MaybeHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_FellowshipReferenda_Proposal(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Proposal { - out := &pbgear.FellowshipReferenda_Proposal{} - switch { - case matchFields(fields, []int64{12}): - out.Value = &pbgear.FellowshipReferenda_Proposal_Legacy{ - Legacy: To_FellowshipReferenda_Legacy(fields), //Passthrough fields... - } - case matchFields(fields, []int64{279}): - out.Value = &pbgear.FellowshipReferenda_Proposal_Inline{ - Inline: To_FellowshipReferenda_Inline(fields), //Passthrough fields... - } - case matchFields(fields, []int64{12, 4}): - out.Value = &pbgear.FellowshipReferenda_Proposal_Lookup{ - Lookup: To_FellowshipReferenda_Lookup(fields), //Passthrough fields... - } - } - return out +func To_FellowshipReferenda_Proposal(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Proposal { + out := &pbgear.FellowshipReferenda_Proposal{} + + switch { + case matchFields(fields, []int64{12}): + out.Value = &pbgear.FellowshipReferenda_Proposal_Legacy{ + Legacy: To_FellowshipReferenda_Legacy(fields), //Passthrough fields... + } + case matchFields(fields, []int64{279}): + out.Value = &pbgear.FellowshipReferenda_Proposal_Inline{ + Inline: To_FellowshipReferenda_Inline(fields), //Passthrough fields... + } + case matchFields(fields, []int64{12, 4}): + out.Value = &pbgear.FellowshipReferenda_Proposal_Lookup{ + Lookup: To_FellowshipReferenda_Lookup(fields), //Passthrough fields... + } + } + return out } -func To_FellowshipReferenda_ProposalOrigin(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_ProposalOrigin { - out := &pbgear.FellowshipReferenda_ProposalOrigin{} - switch { - case matchFields(fields, []int64{121}): - out.Value = &pbgear.FellowshipReferenda_ProposalOrigin_System{ - System: To_FellowshipReferenda_System(fields), //Passthrough fields... - } - case matchFields(fields, []int64{122}): - out.Value = &pbgear.FellowshipReferenda_ProposalOrigin_Origins{ - Origins: To_FellowshipReferenda_Origins(fields), //Passthrough fields... - } - case matchFields(fields, []int64{123}): - out.Value = &pbgear.FellowshipReferenda_ProposalOrigin_Void{ - Void: To_FellowshipReferenda_Void(fields), //Passthrough fields... - } - } - return out +func To_FellowshipReferenda_ProposalOrigin(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_ProposalOrigin { + out := &pbgear.FellowshipReferenda_ProposalOrigin{} + + switch { + case matchFields(fields, []int64{121}): + out.Value = &pbgear.FellowshipReferenda_ProposalOrigin_System{ + System: To_FellowshipReferenda_System(fields), //Passthrough fields... + } + case matchFields(fields, []int64{122}): + out.Value = &pbgear.FellowshipReferenda_ProposalOrigin_Origins{ + Origins: To_FellowshipReferenda_Origins(fields), //Passthrough fields... + } + case matchFields(fields, []int64{123}): + out.Value = &pbgear.FellowshipReferenda_ProposalOrigin_Void{ + Void: To_FellowshipReferenda_Void(fields), //Passthrough fields... + } + } + return out } + func To_FellowshipReferenda_RefundDecisionDepositCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_RefundDecisionDepositCall { - out := &pbgear.FellowshipReferenda_RefundDecisionDepositCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_RefundDecisionDepositCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_RefundSubmissionDepositCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_RefundSubmissionDepositCall { - out := &pbgear.FellowshipReferenda_RefundSubmissionDepositCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_RefundSubmissionDepositCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_SetMetadataCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_SetMetadataCall { - out := &pbgear.FellowshipReferenda_SetMetadataCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.MaybeHash = To_optional_FellowshipReferenda_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_SetMetadataCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.MaybeHash = To_optional_FellowshipReferenda_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) + return out +} + // not seen "maybe_hash" optional: true repeated: false + // optional field: maybe_hash +func To_optional_FellowshipReferenda_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_PrimitiveTypesH256 { + var out = To_FellowshipReferenda_PrimitiveTypesH256(fields) + return out } -// not seen "maybe_hash" optional: true repeated: false -// optional field: maybe_hash func To_FellowshipReferenda_SubmitCall(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_SubmitCall { - out := &pbgear.FellowshipReferenda_SubmitCall{} - out.ProposalOrigin = To_FellowshipReferenda_ProposalOrigin(fields[0].Value.([]*registry.DecodedField)) - out.Proposal = To_FellowshipReferenda_Proposal(fields[1].Value.([]*registry.DecodedField)) - out.EnactmentMoment = To_FellowshipReferenda_EnactmentMoment(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_SubmitCall{} + out.ProposalOrigin = To_FellowshipReferenda_ProposalOrigin(fields[0].Value.([]*registry.DecodedField)) + out.Proposal = To_FellowshipReferenda_Proposal(fields[1].Value.([]*registry.DecodedField)) + out.EnactmentMoment = To_FellowshipReferenda_EnactmentMoment(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "proposal_origin" optional: false repeated: false + // not seen "proposal" optional: false repeated: false + // not seen "enactment_moment" optional: false repeated: false -// not seen "proposal_origin" optional: false repeated: false -// not seen "proposal" optional: false repeated: false -// not seen "enactment_moment" optional: false repeated: false func To_FellowshipReferenda_System(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_System { - out := &pbgear.FellowshipReferenda_System{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_System{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FellowshipReferenda_Void(fields []*registry.DecodedField) *pbgear.FellowshipReferenda_Void { - out := &pbgear.FellowshipReferenda_Void{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FellowshipReferenda_Void{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_FinalityGrandpaEquivocation(fields []*registry.DecodedField) *pbgear.FinalityGrandpaEquivocation { - out := &pbgear.FinalityGrandpaEquivocation{} - out.RoundNumber = To_uint64(fields[0].Value.([]*registry.DecodedField)) - out.Identity = To_SpConsensusGrandpaAppPublic(fields[1].Value.([]*registry.DecodedField)) - out.First = To_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature(fields[2].Value.([]*registry.DecodedField)) - out.Second = To_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FinalityGrandpaEquivocation{} + out.RoundNumber = To_uint64(fields[0].Value.([]*registry.DecodedField)) + out.Identity = To_SpConsensusGrandpaAppPublic(fields[1].Value.([]*registry.DecodedField)) + out.First = To_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature(fields[2].Value.([]*registry.DecodedField)) + out.Second = To_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "identity" optional: false repeated: false + // not seen "first" optional: false repeated: false -// not seen "identity" optional: false repeated: false -// not seen "first" optional: false repeated: false func To_FinalityGrandpaPrevote(fields []*registry.DecodedField) *pbgear.FinalityGrandpaPrevote { - out := &pbgear.FinalityGrandpaPrevote{} - out.TargetHash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - out.TargetNumber = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.FinalityGrandpaPrevote{} + out.TargetHash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + out.TargetNumber = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_GearVoucher_AppendPrograms(fields []*registry.DecodedField) *pbgear.GearVoucher_AppendPrograms { - out := &pbgear.GearVoucher_AppendPrograms{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.GearVoucher_AppendPrograms_None{ - None: To_GearVoucher_None(fields), //Passthrough fields... - } - } - return out +func To_GearVoucher_AppendPrograms(fields []*registry.DecodedField) *pbgear.GearVoucher_AppendPrograms { + out := &pbgear.GearVoucher_AppendPrograms{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.GearVoucher_AppendPrograms_None{ + None: To_GearVoucher_None(fields), //Passthrough fields... + } + } + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_GearVoucher_BTreeSet(fields []*registry.DecodedField) *pbgear.GearVoucher_BTreeSet { - out := &pbgear.GearVoucher_BTreeSet{} - out.Programs = To_repeated_GearVoucher_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_BTreeSet{} + out.Programs = To_repeated_GearVoucher_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "programs" optional: false repeated: true -// optional primitive: programs + // not seen "programs" optional: false repeated: true + // optional primitive: programs func To_repeated_GearVoucher_GprimitivesActorId(fields []*registry.DecodedField) []*pbgear.GearVoucher_GprimitivesActorId { - out := make([]*pbgear.GearVoucher_GprimitivesActorId, len(fields)) - for _, f := range fields { - out = append(out, To_GearVoucher_GprimitivesActorId(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.GearVoucher_GprimitivesActorId, len(fields)) + for _, f := range fields { + out = append(out, To_GearVoucher_GprimitivesActorId(f.Value.([]*registry.DecodedField))) + } + return out } -func To_GearVoucher_Call(fields []*registry.DecodedField) *pbgear.GearVoucher_Call { - out := &pbgear.GearVoucher_Call{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.GearVoucher_Call_SendMessage{ - SendMessage: To_GearVoucher_SendMessage(fields), //Passthrough fields... - } - } - return out +func To_GearVoucher_Call(fields []*registry.DecodedField) *pbgear.GearVoucher_Call { + out := &pbgear.GearVoucher_Call{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.GearVoucher_Call_SendMessage{ + SendMessage: To_GearVoucher_SendMessage(fields), //Passthrough fields... + } + } + return out } + func To_GearVoucher_CallCall(fields []*registry.DecodedField) *pbgear.GearVoucher_CallCall { - out := &pbgear.GearVoucher_CallCall{} - out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[0].Value.([]*registry.DecodedField)) - out.Call = To_GearVoucher_Call(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_CallCall{} + out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[0].Value.([]*registry.DecodedField)) + out.Call = To_GearVoucher_Call(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "voucher_id" optional: false repeated: false + // not seen "call" optional: false repeated: false -// not seen "voucher_id" optional: false repeated: false -// not seen "call" optional: false repeated: false func To_GearVoucher_CallDeprecatedCall(fields []*registry.DecodedField) *pbgear.GearVoucher_CallDeprecatedCall { - out := &pbgear.GearVoucher_CallDeprecatedCall{} - out.Call = To_GearVoucher_Call(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_CallDeprecatedCall{} + out.Call = To_GearVoucher_Call(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_DeclineCall(fields []*registry.DecodedField) *pbgear.GearVoucher_DeclineCall { - out := &pbgear.GearVoucher_DeclineCall{} - out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_DeclineCall{} + out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_DeclineVoucher(fields []*registry.DecodedField) *pbgear.GearVoucher_DeclineVoucher { - out := &pbgear.GearVoucher_DeclineVoucher{} - return out + out := &pbgear.GearVoucher_DeclineVoucher{} + return out } + func To_GearVoucher_GprimitivesActorId(fields []*registry.DecodedField) *pbgear.GearVoucher_GprimitivesActorId { - out := &pbgear.GearVoucher_GprimitivesActorId{} - out.Programs = To_GearVoucher_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_GprimitivesActorId{} + out.Programs = To_GearVoucher_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_IssueCall(fields []*registry.DecodedField) *pbgear.GearVoucher_IssueCall { - out := &pbgear.GearVoucher_IssueCall{} - out.Spender = To_GearVoucher_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.Balance = To_string(fields[1].Value.([]*registry.DecodedField)) - out.Programs = To_optional_GearVoucher_BTreeSet(fields[2].Value.([]*registry.DecodedField)) - out.CodeUploading = To_bool(fields[3].Value.([]*registry.DecodedField)) - out.Duration = To_uint32(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_IssueCall{} + out.Spender = To_GearVoucher_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.Balance = To_string(fields[1].Value.([]*registry.DecodedField)) + out.Programs = To_optional_GearVoucher_BTreeSet(fields[2].Value.([]*registry.DecodedField)) + out.CodeUploading = To_bool(fields[3].Value.([]*registry.DecodedField)) + out.Duration = To_uint32(fields[4].Value.([]*registry.DecodedField)) + return out +} + // not seen "spender" optional: false repeated: false + // not seen "programs" optional: true repeated: false + // optional field: programs +func To_optional_GearVoucher_BTreeSet(fields []*registry.DecodedField) *pbgear.GearVoucher_BTreeSet { + var out = To_GearVoucher_BTreeSet(fields) + return out } -// not seen "spender" optional: false repeated: false -// not seen "programs" optional: true repeated: false -// optional field: programs func To_GearVoucher_None(fields []*registry.DecodedField) *pbgear.GearVoucher_None { - out := &pbgear.GearVoucher_None{} - return out + out := &pbgear.GearVoucher_None{} + return out } + func To_GearVoucher_PalletGearVoucherInternalVoucherId(fields []*registry.DecodedField) *pbgear.GearVoucher_PalletGearVoucherInternalVoucherId { - out := &pbgear.GearVoucher_PalletGearVoucherInternalVoucherId{} - out.VoucherId = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_PalletGearVoucherInternalVoucherId{} + out.VoucherId = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_RevokeCall(fields []*registry.DecodedField) *pbgear.GearVoucher_RevokeCall { - out := &pbgear.GearVoucher_RevokeCall{} - out.Spender = To_GearVoucher_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_RevokeCall{} + out.Spender = To_GearVoucher_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_SendMessage(fields []*registry.DecodedField) *pbgear.GearVoucher_SendMessage { - out := &pbgear.GearVoucher_SendMessage{} - out.Destination = To_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) - out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) - out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_SendMessage{} + out.Destination = To_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) + out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) + out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_SendReply(fields []*registry.DecodedField) *pbgear.GearVoucher_SendReply { - out := &pbgear.GearVoucher_SendReply{} - out.ReplyToId = To_GprimitivesMessageId(fields[0].Value.([]*registry.DecodedField)) - out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) - out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_SendReply{} + out.ReplyToId = To_GprimitivesMessageId(fields[0].Value.([]*registry.DecodedField)) + out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) + out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) + return out } + // not seen "reply_to_id" optional: false repeated: false -// not seen "reply_to_id" optional: false repeated: false func To_GearVoucher_Some(fields []*registry.DecodedField) *pbgear.GearVoucher_Some { - out := &pbgear.GearVoucher_Some{} - out.Value0 = To_BTreeSet(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_Some{} + out.Value0 = To_BTreeSet(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_GearVoucher_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.GearVoucher_SpCoreCryptoAccountId32 { - out := &pbgear.GearVoucher_SpCoreCryptoAccountId32{} - out.Spender = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_SpCoreCryptoAccountId32{} + out.Spender = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_GearVoucher_UpdateCall(fields []*registry.DecodedField) *pbgear.GearVoucher_UpdateCall { - out := &pbgear.GearVoucher_UpdateCall{} - out.Spender = To_GearVoucher_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[1].Value.([]*registry.DecodedField)) - out.MoveOwnership = To_optional_GearVoucher_SpCoreCryptoAccountId32(fields[2].Value.([]*registry.DecodedField)) - out.BalanceTopUp = To_optional_string(fields[3].Value.([]*registry.DecodedField)) - out.AppendPrograms = To_optional_GearVoucher_AppendPrograms(fields[4].Value.([]*registry.DecodedField)) - out.CodeUploading = To_optional_bool(fields[5].Value.([]*registry.DecodedField)) - out.ProlongDuration = To_optional_uint32(fields[6].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_UpdateCall{} + out.Spender = To_GearVoucher_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.VoucherId = To_GearVoucher_PalletGearVoucherInternalVoucherId(fields[1].Value.([]*registry.DecodedField)) + out.MoveOwnership = To_optional_GearVoucher_SpCoreCryptoAccountId32(fields[2].Value.([]*registry.DecodedField)) + out.BalanceTopUp = To_optional_string(fields[3].Value.([]*registry.DecodedField)) + out.AppendPrograms = To_optional_GearVoucher_AppendPrograms(fields[4].Value.([]*registry.DecodedField)) + out.CodeUploading = To_optional_bool(fields[5].Value.([]*registry.DecodedField)) + out.ProlongDuration = To_optional_uint32(fields[6].Value.([]*registry.DecodedField)) + return out +} + // not seen "append_programs" optional: true repeated: false + // optional field: append_programs +func To_optional_GearVoucher_AppendPrograms(fields []*registry.DecodedField) *pbgear.GearVoucher_AppendPrograms { + var out = To_GearVoucher_AppendPrograms(fields) + return out } -// not seen "append_programs" optional: true repeated: false -// optional field: append_programs func To_GearVoucher_UploadCode(fields []*registry.DecodedField) *pbgear.GearVoucher_UploadCode { - out := &pbgear.GearVoucher_UploadCode{} - out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GearVoucher_UploadCode{} + out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_ClaimValueCall(fields []*registry.DecodedField) *pbgear.Gear_ClaimValueCall { - out := &pbgear.Gear_ClaimValueCall{} - out.MessageId = To_Gear_GprimitivesMessageId(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_ClaimValueCall{} + out.MessageId = To_Gear_GprimitivesMessageId(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "message_id" optional: false repeated: false -// not seen "message_id" optional: false repeated: false func To_Gear_CreateProgramCall(fields []*registry.DecodedField) *pbgear.Gear_CreateProgramCall { - out := &pbgear.Gear_CreateProgramCall{} - out.CodeId = To_Gear_GprimitivesCodeId(fields[0].Value.([]*registry.DecodedField)) - out.Salt = To_bytes(fields[1].Value.([]*registry.DecodedField)) - out.InitPayload = To_bytes(fields[2].Value.([]*registry.DecodedField)) - out.GasLimit = To_uint64(fields[3].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[4].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[5].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_CreateProgramCall{} + out.CodeId = To_Gear_GprimitivesCodeId(fields[0].Value.([]*registry.DecodedField)) + out.Salt = To_bytes(fields[1].Value.([]*registry.DecodedField)) + out.InitPayload = To_bytes(fields[2].Value.([]*registry.DecodedField)) + out.GasLimit = To_uint64(fields[3].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[4].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[5].Value.([]*registry.DecodedField)) + return out } + // not seen "code_id" optional: false repeated: false -// not seen "code_id" optional: false repeated: false func To_Gear_GprimitivesActorId(fields []*registry.DecodedField) *pbgear.Gear_GprimitivesActorId { - out := &pbgear.Gear_GprimitivesActorId{} - out.Destination = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_GprimitivesActorId{} + out.Destination = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_GprimitivesCodeId(fields []*registry.DecodedField) *pbgear.Gear_GprimitivesCodeId { - out := &pbgear.Gear_GprimitivesCodeId{} - out.CodeId = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_GprimitivesCodeId{} + out.CodeId = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_GprimitivesMessageId(fields []*registry.DecodedField) *pbgear.Gear_GprimitivesMessageId { - out := &pbgear.Gear_GprimitivesMessageId{} - out.ReplyToId = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_GprimitivesMessageId{} + out.ReplyToId = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_RunCall(fields []*registry.DecodedField) *pbgear.Gear_RunCall { - out := &pbgear.Gear_RunCall{} - out.MaxGas = To_optional_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_RunCall{} + out.MaxGas = To_optional_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_SendMessageCall(fields []*registry.DecodedField) *pbgear.Gear_SendMessageCall { - out := &pbgear.Gear_SendMessageCall{} - out.Destination = To_Gear_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) - out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) - out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_SendMessageCall{} + out.Destination = To_Gear_GprimitivesActorId(fields[0].Value.([]*registry.DecodedField)) + out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) + out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) + return out } + // not seen "destination" optional: false repeated: false -// not seen "destination" optional: false repeated: false func To_Gear_SendReplyCall(fields []*registry.DecodedField) *pbgear.Gear_SendReplyCall { - out := &pbgear.Gear_SendReplyCall{} - out.ReplyToId = To_Gear_GprimitivesMessageId(fields[0].Value.([]*registry.DecodedField)) - out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) - out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_SendReplyCall{} + out.ReplyToId = To_Gear_GprimitivesMessageId(fields[0].Value.([]*registry.DecodedField)) + out.Payload = To_bytes(fields[1].Value.([]*registry.DecodedField)) + out.GasLimit = To_uint64(fields[2].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[3].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[4].Value.([]*registry.DecodedField)) + return out } + func To_Gear_SetExecuteInherentCall(fields []*registry.DecodedField) *pbgear.Gear_SetExecuteInherentCall { - out := &pbgear.Gear_SetExecuteInherentCall{} - out.Value = To_bool(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_SetExecuteInherentCall{} + out.Value = To_bool(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_UploadCodeCall(fields []*registry.DecodedField) *pbgear.Gear_UploadCodeCall { - out := &pbgear.Gear_UploadCodeCall{} - out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_UploadCodeCall{} + out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Gear_UploadProgramCall(fields []*registry.DecodedField) *pbgear.Gear_UploadProgramCall { - out := &pbgear.Gear_UploadProgramCall{} - out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.Salt = To_bytes(fields[1].Value.([]*registry.DecodedField)) - out.InitPayload = To_bytes(fields[2].Value.([]*registry.DecodedField)) - out.GasLimit = To_uint64(fields[3].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[4].Value.([]*registry.DecodedField)) - out.KeepAlive = To_bool(fields[5].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Gear_UploadProgramCall{} + out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.Salt = To_bytes(fields[1].Value.([]*registry.DecodedField)) + out.InitPayload = To_bytes(fields[2].Value.([]*registry.DecodedField)) + out.GasLimit = To_uint64(fields[3].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[4].Value.([]*registry.DecodedField)) + out.KeepAlive = To_bool(fields[5].Value.([]*registry.DecodedField)) + return out } + func To_GprimitivesActorId(fields []*registry.DecodedField) *pbgear.GprimitivesActorId { - out := &pbgear.GprimitivesActorId{} - out.Destination = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GprimitivesActorId{} + out.Destination = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_GprimitivesMessageId(fields []*registry.DecodedField) *pbgear.GprimitivesMessageId { - out := &pbgear.GprimitivesMessageId{} - out.ReplyToId = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.GprimitivesMessageId{} + out.ReplyToId = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Grandpa_Equivocation(fields []*registry.DecodedField) *pbgear.Grandpa_Equivocation { - out := &pbgear.Grandpa_Equivocation{} - switch { - case matchFields(fields, []int64{84}): - out.Value = &pbgear.Grandpa_Equivocation_Prevote{ - Prevote: To_Grandpa_Prevote(fields), //Passthrough fields... - } - case matchFields(fields, []int64{90}): - out.Value = &pbgear.Grandpa_Equivocation_Precommit{ - Precommit: To_Grandpa_Precommit(fields), //Passthrough fields... - } - } - return out -} +func To_Grandpa_Equivocation(fields []*registry.DecodedField) *pbgear.Grandpa_Equivocation { + out := &pbgear.Grandpa_Equivocation{} + + switch { + case matchFields(fields, []int64{84}): + out.Value = &pbgear.Grandpa_Equivocation_Prevote{ + Prevote: To_Grandpa_Prevote(fields), //Passthrough fields... + } + case matchFields(fields, []int64{90}): + out.Value = &pbgear.Grandpa_Equivocation_Precommit{ + Precommit: To_Grandpa_Precommit(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Grandpa_GrandpaTrieNodesList(fields []*registry.DecodedField) *pbgear.Grandpa_GrandpaTrieNodesList { - out := &pbgear.Grandpa_GrandpaTrieNodesList{} - out.TrieNodes = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_GrandpaTrieNodesList{} + out.TrieNodes = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Grandpa_NoteStalledCall(fields []*registry.DecodedField) *pbgear.Grandpa_NoteStalledCall { - out := &pbgear.Grandpa_NoteStalledCall{} - out.Delay = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.BestFinalizedBlockNumber = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_NoteStalledCall{} + out.Delay = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.BestFinalizedBlockNumber = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Grandpa_Precommit(fields []*registry.DecodedField) *pbgear.Grandpa_Precommit { - out := &pbgear.Grandpa_Precommit{} - out.Value0 = To_FinalityGrandpaEquivocation(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_Precommit{} + out.Value0 = To_FinalityGrandpaEquivocation(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Grandpa_Prevote(fields []*registry.DecodedField) *pbgear.Grandpa_Prevote { - out := &pbgear.Grandpa_Prevote{} - out.Value0 = To_FinalityGrandpaEquivocation(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_Prevote{} + out.Value0 = To_FinalityGrandpaEquivocation(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Grandpa_ReportEquivocationCall(fields []*registry.DecodedField) *pbgear.Grandpa_ReportEquivocationCall { - out := &pbgear.Grandpa_ReportEquivocationCall{} - out.EquivocationProof = To_Grandpa_SpConsensusGrandpaEquivocationProof(fields[0].Value.([]*registry.DecodedField)) - out.KeyOwnerProof = To_Grandpa_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_ReportEquivocationCall{} + out.EquivocationProof = To_Grandpa_SpConsensusGrandpaEquivocationProof(fields[0].Value.([]*registry.DecodedField)) + out.KeyOwnerProof = To_Grandpa_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "equivocation_proof" optional: false repeated: false + // not seen "key_owner_proof" optional: false repeated: false -// not seen "equivocation_proof" optional: false repeated: false -// not seen "key_owner_proof" optional: false repeated: false func To_Grandpa_ReportEquivocationUnsignedCall(fields []*registry.DecodedField) *pbgear.Grandpa_ReportEquivocationUnsignedCall { - out := &pbgear.Grandpa_ReportEquivocationUnsignedCall{} - out.EquivocationProof = To_Grandpa_SpConsensusGrandpaEquivocationProof(fields[0].Value.([]*registry.DecodedField)) - out.KeyOwnerProof = To_Grandpa_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_ReportEquivocationUnsignedCall{} + out.EquivocationProof = To_Grandpa_SpConsensusGrandpaEquivocationProof(fields[0].Value.([]*registry.DecodedField)) + out.KeyOwnerProof = To_Grandpa_SpSessionMembershipProof(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Grandpa_SpConsensusGrandpaEquivocationProof(fields []*registry.DecodedField) *pbgear.Grandpa_SpConsensusGrandpaEquivocationProof { - out := &pbgear.Grandpa_SpConsensusGrandpaEquivocationProof{} - out.SetId = To_uint64(fields[0].Value.([]*registry.DecodedField)) - out.Equivocation = To_Grandpa_Equivocation(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Grandpa_SpConsensusGrandpaEquivocationProof{} + out.SetId = To_uint64(fields[0].Value.([]*registry.DecodedField)) + out.Equivocation = To_Grandpa_Equivocation(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "equivocation" optional: false repeated: false -// not seen "equivocation" optional: false repeated: false func To_Grandpa_SpSessionMembershipProof(fields []*registry.DecodedField) *pbgear.Grandpa_SpSessionMembershipProof { - out := &pbgear.Grandpa_SpSessionMembershipProof{} - out.Session = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.TrieNodes = To_repeated_Grandpa_GrandpaTrieNodesList(fields[1].Value.([]*registry.DecodedField)) - out.ValidatorCount = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out -} - -// not seen "trie_nodes" optional: false repeated: true -// optional primitive: trie_nodes + out := &pbgear.Grandpa_SpSessionMembershipProof{} + out.Session = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.TrieNodes = To_repeated_Grandpa_GrandpaTrieNodesList(fields[1].Value.([]*registry.DecodedField)) + out.ValidatorCount = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out +} + // not seen "trie_nodes" optional: false repeated: true + // optional primitive: trie_nodes func To_repeated_Grandpa_GrandpaTrieNodesList(fields []*registry.DecodedField) []*pbgear.Grandpa_GrandpaTrieNodesList { - out := make([]*pbgear.Grandpa_GrandpaTrieNodesList, len(fields)) - for _, f := range fields { - out = append(out, To_Grandpa_GrandpaTrieNodesList(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Grandpa_GrandpaTrieNodesList, len(fields)) + for _, f := range fields { + out = append(out, To_Grandpa_GrandpaTrieNodesList(f.Value.([]*registry.DecodedField))) + } + return out } -func To_Identity_Account(fields []*registry.DecodedField) *pbgear.Identity_Account { - out := &pbgear.Identity_Account{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Identity_Account_Id{ - Id: To_Identity_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Identity_Account_Index{ - Index: To_Identity_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Identity_Account_Raw{ - Raw: To_Identity_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Identity_Account_Address32{ - Address32: To_Identity_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Identity_Account_Address20{ - Address20: To_Identity_Address20(fields), //Passthrough fields... - } - } - return out -} +func To_Identity_Account(fields []*registry.DecodedField) *pbgear.Identity_Account { + out := &pbgear.Identity_Account{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Identity_Account_Id{ + Id: To_Identity_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Identity_Account_Index{ + Index: To_Identity_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Identity_Account_Raw{ + Raw: To_Identity_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Identity_Account_Address32{ + Address32: To_Identity_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Identity_Account_Address20{ + Address20: To_Identity_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Identity_AddRegistrarCall(fields []*registry.DecodedField) *pbgear.Identity_AddRegistrarCall { - out := &pbgear.Identity_AddRegistrarCall{} - out.Account = To_Identity_Account(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_AddRegistrarCall{} + out.Account = To_Identity_Account(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "account" optional: false repeated: false -// not seen "account" optional: false repeated: false func To_Identity_AddSubCall(fields []*registry.DecodedField) *pbgear.Identity_AddSubCall { - out := &pbgear.Identity_AddSubCall{} - out.Sub = To_Identity_Sub(fields[0].Value.([]*registry.DecodedField)) - out.Data = To_Identity_Data(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_AddSubCall{} + out.Sub = To_Identity_Sub(fields[0].Value.([]*registry.DecodedField)) + out.Data = To_Identity_Data(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "sub" optional: false repeated: false + // not seen "data" optional: false repeated: false -// not seen "sub" optional: false repeated: false -// not seen "data" optional: false repeated: false func To_Identity_Address20(fields []*registry.DecodedField) *pbgear.Identity_Address20 { - out := &pbgear.Identity_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Address32(fields []*registry.DecodedField) *pbgear.Identity_Address32 { - out := &pbgear.Identity_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_BlakeTwo256(fields []*registry.DecodedField) *pbgear.Identity_BlakeTwo256 { - out := &pbgear.Identity_BlakeTwo256{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_BlakeTwo256{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_BoundedCollectionsBoundedVecBoundedVec(fields []*registry.DecodedField) *pbgear.Identity_BoundedCollectionsBoundedVecBoundedVec { - out := &pbgear.Identity_BoundedCollectionsBoundedVecBoundedVec{} - out.Additional = To_repeated_Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_BoundedCollectionsBoundedVecBoundedVec{} + out.Additional = To_repeated_Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "additional" optional: false repeated: true -// optional primitive: additional + // not seen "additional" optional: false repeated: true + // optional primitive: additional func To_repeated_Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData(fields []*registry.DecodedField) []*pbgear.Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData { - out := make([]*pbgear.Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData, len(fields)) - for _, f := range fields { - out = append(out, To_Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData, len(fields)) + for _, f := range fields { + out = append(out, To_Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Identity_CancelRequestCall(fields []*registry.DecodedField) *pbgear.Identity_CancelRequestCall { - out := &pbgear.Identity_CancelRequestCall{} - out.RegIndex = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_CancelRequestCall{} + out.RegIndex = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_ClearIdentityCall(fields []*registry.DecodedField) *pbgear.Identity_ClearIdentityCall { - out := &pbgear.Identity_ClearIdentityCall{} - return out + out := &pbgear.Identity_ClearIdentityCall{} + return out } + func To_Identity_CompactString(fields []*registry.DecodedField) *pbgear.Identity_CompactString { - out := &pbgear.Identity_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Identity_CompactTupleNull { - out := &pbgear.Identity_CompactTupleNull{} - out.Value = To_Identity_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_CompactTupleNull{} + out.Value = To_Identity_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Identity_CompactUint32(fields []*registry.DecodedField) *pbgear.Identity_CompactUint32 { - out := &pbgear.Identity_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Identity_Data(fields []*registry.DecodedField) *pbgear.Identity_Data { - out := &pbgear.Identity_Data{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Data_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Data(fields []*registry.DecodedField) *pbgear.Identity_Data { + out := &pbgear.Identity_Data{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Data_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } -func To_Identity_Display(fields []*registry.DecodedField) *pbgear.Identity_Display { - out := &pbgear.Identity_Display{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Display_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Display(fields []*registry.DecodedField) *pbgear.Identity_Display { + out := &pbgear.Identity_Display{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Display_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } -func To_Identity_Email(fields []*registry.DecodedField) *pbgear.Identity_Email { - out := &pbgear.Identity_Email{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Email_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Email(fields []*registry.DecodedField) *pbgear.Identity_Email { + out := &pbgear.Identity_Email{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Email_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } + func To_Identity_Erroneous(fields []*registry.DecodedField) *pbgear.Identity_Erroneous { - out := &pbgear.Identity_Erroneous{} - return out + out := &pbgear.Identity_Erroneous{} + return out } + func To_Identity_FeePaid(fields []*registry.DecodedField) *pbgear.Identity_FeePaid { - out := &pbgear.Identity_FeePaid{} - out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_FeePaid{} + out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Id(fields []*registry.DecodedField) *pbgear.Identity_Id { - out := &pbgear.Identity_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Identity_Image(fields []*registry.DecodedField) *pbgear.Identity_Image { - out := &pbgear.Identity_Image{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Image_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Image(fields []*registry.DecodedField) *pbgear.Identity_Image { + out := &pbgear.Identity_Image{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Image_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } + func To_Identity_Index(fields []*registry.DecodedField) *pbgear.Identity_Index { - out := &pbgear.Identity_Index{} - out.Value0 = To_Identity_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Index{} + out.Value0 = To_Identity_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Identity_Judgement(fields []*registry.DecodedField) *pbgear.Identity_Judgement { - out := &pbgear.Identity_Judgement{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Judgement_Unknown{ - Unknown: To_Identity_Unknown(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Identity_Judgement{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Judgement_Unknown{ + Unknown: To_Identity_Unknown(fields), //Passthrough fields... + } + } + return out } + func To_Identity_Keccak256(fields []*registry.DecodedField) *pbgear.Identity_Keccak256 { - out := &pbgear.Identity_Keccak256{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Keccak256{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_KillIdentityCall(fields []*registry.DecodedField) *pbgear.Identity_KillIdentityCall { - out := &pbgear.Identity_KillIdentityCall{} - out.Target = To_Identity_Target(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_KillIdentityCall{} + out.Target = To_Identity_Target(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "target" optional: false repeated: false -// not seen "target" optional: false repeated: false func To_Identity_KnownGood(fields []*registry.DecodedField) *pbgear.Identity_KnownGood { - out := &pbgear.Identity_KnownGood{} - return out + out := &pbgear.Identity_KnownGood{} + return out } -func To_Identity_Legal(fields []*registry.DecodedField) *pbgear.Identity_Legal { - out := &pbgear.Identity_Legal{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Legal_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Legal(fields []*registry.DecodedField) *pbgear.Identity_Legal { + out := &pbgear.Identity_Legal{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Legal_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } + func To_Identity_LowQuality(fields []*registry.DecodedField) *pbgear.Identity_LowQuality { - out := &pbgear.Identity_LowQuality{} - return out + out := &pbgear.Identity_LowQuality{} + return out } -func To_Identity_New(fields []*registry.DecodedField) *pbgear.Identity_New { - out := &pbgear.Identity_New{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Identity_New_Id{ - Id: To_Identity_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Identity_New_Index{ - Index: To_Identity_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Identity_New_Raw{ - Raw: To_Identity_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Identity_New_Address32{ - Address32: To_Identity_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Identity_New_Address20{ - Address20: To_Identity_Address20(fields), //Passthrough fields... - } - } - return out +func To_Identity_New(fields []*registry.DecodedField) *pbgear.Identity_New { + out := &pbgear.Identity_New{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Identity_New_Id{ + Id: To_Identity_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Identity_New_Index{ + Index: To_Identity_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Identity_New_Raw{ + Raw: To_Identity_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Identity_New_Address32{ + Address32: To_Identity_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Identity_New_Address20{ + Address20: To_Identity_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Identity_None(fields []*registry.DecodedField) *pbgear.Identity_None { - out := &pbgear.Identity_None{} - return out + out := &pbgear.Identity_None{} + return out } + func To_Identity_OutOfDate(fields []*registry.DecodedField) *pbgear.Identity_OutOfDate { - out := &pbgear.Identity_OutOfDate{} - return out + out := &pbgear.Identity_OutOfDate{} + return out } + func To_Identity_PalletIdentitySimpleIdentityInfo(fields []*registry.DecodedField) *pbgear.Identity_PalletIdentitySimpleIdentityInfo { - out := &pbgear.Identity_PalletIdentitySimpleIdentityInfo{} - out.Additional = To_Identity_BoundedCollectionsBoundedVecBoundedVec(fields[0].Value.([]*registry.DecodedField)) - out.Display = To_Identity_Display(fields[1].Value.([]*registry.DecodedField)) - out.Legal = To_Identity_Legal(fields[2].Value.([]*registry.DecodedField)) - out.Web = To_Identity_Web(fields[3].Value.([]*registry.DecodedField)) - out.Riot = To_Identity_Riot(fields[4].Value.([]*registry.DecodedField)) - out.Email = To_Identity_Email(fields[5].Value.([]*registry.DecodedField)) - out.PgpFingerprint = To_bytes(fields[6].Value.([]*registry.DecodedField)) - out.Image = To_Identity_Image(fields[7].Value.([]*registry.DecodedField)) - out.Twitter = To_Identity_Twitter(fields[8].Value.([]*registry.DecodedField)) - return out -} - -// not seen "additional" optional: false repeated: false -// not seen "display" optional: false repeated: false -// not seen "legal" optional: false repeated: false -// not seen "web" optional: false repeated: false -// not seen "riot" optional: false repeated: false -// not seen "email" optional: false repeated: false -// not seen "image" optional: false repeated: false -// not seen "twitter" optional: false repeated: false + out := &pbgear.Identity_PalletIdentitySimpleIdentityInfo{} + out.Additional = To_Identity_BoundedCollectionsBoundedVecBoundedVec(fields[0].Value.([]*registry.DecodedField)) + out.Display = To_Identity_Display(fields[1].Value.([]*registry.DecodedField)) + out.Legal = To_Identity_Legal(fields[2].Value.([]*registry.DecodedField)) + out.Web = To_Identity_Web(fields[3].Value.([]*registry.DecodedField)) + out.Riot = To_Identity_Riot(fields[4].Value.([]*registry.DecodedField)) + out.Email = To_Identity_Email(fields[5].Value.([]*registry.DecodedField)) + out.PgpFingerprint = To_bytes(fields[6].Value.([]*registry.DecodedField)) + out.Image = To_Identity_Image(fields[7].Value.([]*registry.DecodedField)) + out.Twitter = To_Identity_Twitter(fields[8].Value.([]*registry.DecodedField)) + return out +} + // not seen "additional" optional: false repeated: false + // not seen "display" optional: false repeated: false + // not seen "legal" optional: false repeated: false + // not seen "web" optional: false repeated: false + // not seen "riot" optional: false repeated: false + // not seen "email" optional: false repeated: false + // not seen "image" optional: false repeated: false + // not seen "twitter" optional: false repeated: false + func To_Identity_PalletIdentityTypesBitFlags(fields []*registry.DecodedField) *pbgear.Identity_PalletIdentityTypesBitFlags { - out := &pbgear.Identity_PalletIdentityTypesBitFlags{} - out.Fields = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_PalletIdentityTypesBitFlags{} + out.Fields = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Identity_PrimitiveTypesH256 { - out := &pbgear.Identity_PrimitiveTypesH256{} - out.Identity = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_PrimitiveTypesH256{} + out.Identity = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_ProvideJudgementCall(fields []*registry.DecodedField) *pbgear.Identity_ProvideJudgementCall { - out := &pbgear.Identity_ProvideJudgementCall{} - out.RegIndex = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Target = To_Identity_Target(fields[1].Value.([]*registry.DecodedField)) - out.Judgement = To_Identity_Judgement(fields[2].Value.([]*registry.DecodedField)) - out.Identity = To_Identity_PrimitiveTypesH256(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_ProvideJudgementCall{} + out.RegIndex = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Target = To_Identity_Target(fields[1].Value.([]*registry.DecodedField)) + out.Judgement = To_Identity_Judgement(fields[2].Value.([]*registry.DecodedField)) + out.Identity = To_Identity_PrimitiveTypesH256(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "reg_index" optional: false repeated: false + // not seen "judgement" optional: false repeated: false + // not seen "identity" optional: false repeated: false -// not seen "reg_index" optional: false repeated: false -// not seen "judgement" optional: false repeated: false -// not seen "identity" optional: false repeated: false func To_Identity_QuitSubCall(fields []*registry.DecodedField) *pbgear.Identity_QuitSubCall { - out := &pbgear.Identity_QuitSubCall{} - return out + out := &pbgear.Identity_QuitSubCall{} + return out } + func To_Identity_Raw(fields []*registry.DecodedField) *pbgear.Identity_Raw { - out := &pbgear.Identity_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw0(fields []*registry.DecodedField) *pbgear.Identity_Raw0 { - out := &pbgear.Identity_Raw0{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw0{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw1(fields []*registry.DecodedField) *pbgear.Identity_Raw1 { - out := &pbgear.Identity_Raw1{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw1{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw10(fields []*registry.DecodedField) *pbgear.Identity_Raw10 { - out := &pbgear.Identity_Raw10{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw10{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw11(fields []*registry.DecodedField) *pbgear.Identity_Raw11 { - out := &pbgear.Identity_Raw11{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw11{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw12(fields []*registry.DecodedField) *pbgear.Identity_Raw12 { - out := &pbgear.Identity_Raw12{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw12{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw13(fields []*registry.DecodedField) *pbgear.Identity_Raw13 { - out := &pbgear.Identity_Raw13{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw13{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw14(fields []*registry.DecodedField) *pbgear.Identity_Raw14 { - out := &pbgear.Identity_Raw14{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw14{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw15(fields []*registry.DecodedField) *pbgear.Identity_Raw15 { - out := &pbgear.Identity_Raw15{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw15{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw16(fields []*registry.DecodedField) *pbgear.Identity_Raw16 { - out := &pbgear.Identity_Raw16{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw16{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw17(fields []*registry.DecodedField) *pbgear.Identity_Raw17 { - out := &pbgear.Identity_Raw17{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw17{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw18(fields []*registry.DecodedField) *pbgear.Identity_Raw18 { - out := &pbgear.Identity_Raw18{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw18{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw19(fields []*registry.DecodedField) *pbgear.Identity_Raw19 { - out := &pbgear.Identity_Raw19{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw19{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw2(fields []*registry.DecodedField) *pbgear.Identity_Raw2 { - out := &pbgear.Identity_Raw2{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw2{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw20(fields []*registry.DecodedField) *pbgear.Identity_Raw20 { - out := &pbgear.Identity_Raw20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw21(fields []*registry.DecodedField) *pbgear.Identity_Raw21 { - out := &pbgear.Identity_Raw21{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw21{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw22(fields []*registry.DecodedField) *pbgear.Identity_Raw22 { - out := &pbgear.Identity_Raw22{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw22{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw23(fields []*registry.DecodedField) *pbgear.Identity_Raw23 { - out := &pbgear.Identity_Raw23{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw23{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw24(fields []*registry.DecodedField) *pbgear.Identity_Raw24 { - out := &pbgear.Identity_Raw24{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw24{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw25(fields []*registry.DecodedField) *pbgear.Identity_Raw25 { - out := &pbgear.Identity_Raw25{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw25{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw26(fields []*registry.DecodedField) *pbgear.Identity_Raw26 { - out := &pbgear.Identity_Raw26{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw26{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw27(fields []*registry.DecodedField) *pbgear.Identity_Raw27 { - out := &pbgear.Identity_Raw27{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw27{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw28(fields []*registry.DecodedField) *pbgear.Identity_Raw28 { - out := &pbgear.Identity_Raw28{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw28{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw29(fields []*registry.DecodedField) *pbgear.Identity_Raw29 { - out := &pbgear.Identity_Raw29{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw29{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw3(fields []*registry.DecodedField) *pbgear.Identity_Raw3 { - out := &pbgear.Identity_Raw3{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw3{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw30(fields []*registry.DecodedField) *pbgear.Identity_Raw30 { - out := &pbgear.Identity_Raw30{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw30{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw31(fields []*registry.DecodedField) *pbgear.Identity_Raw31 { - out := &pbgear.Identity_Raw31{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw31{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw32(fields []*registry.DecodedField) *pbgear.Identity_Raw32 { - out := &pbgear.Identity_Raw32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw4(fields []*registry.DecodedField) *pbgear.Identity_Raw4 { - out := &pbgear.Identity_Raw4{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw4{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw5(fields []*registry.DecodedField) *pbgear.Identity_Raw5 { - out := &pbgear.Identity_Raw5{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw5{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw6(fields []*registry.DecodedField) *pbgear.Identity_Raw6 { - out := &pbgear.Identity_Raw6{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw6{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw7(fields []*registry.DecodedField) *pbgear.Identity_Raw7 { - out := &pbgear.Identity_Raw7{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw7{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw8(fields []*registry.DecodedField) *pbgear.Identity_Raw8 { - out := &pbgear.Identity_Raw8{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw8{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Raw9(fields []*registry.DecodedField) *pbgear.Identity_Raw9 { - out := &pbgear.Identity_Raw9{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Raw9{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_Reasonable(fields []*registry.DecodedField) *pbgear.Identity_Reasonable { - out := &pbgear.Identity_Reasonable{} - return out + out := &pbgear.Identity_Reasonable{} + return out } + func To_Identity_RemoveSubCall(fields []*registry.DecodedField) *pbgear.Identity_RemoveSubCall { - out := &pbgear.Identity_RemoveSubCall{} - out.Sub = To_Identity_Sub(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_RemoveSubCall{} + out.Sub = To_Identity_Sub(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_RenameSubCall(fields []*registry.DecodedField) *pbgear.Identity_RenameSubCall { - out := &pbgear.Identity_RenameSubCall{} - out.Sub = To_Identity_Sub(fields[0].Value.([]*registry.DecodedField)) - out.Data = To_Identity_Data(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_RenameSubCall{} + out.Sub = To_Identity_Sub(fields[0].Value.([]*registry.DecodedField)) + out.Data = To_Identity_Data(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Identity_RequestJudgementCall(fields []*registry.DecodedField) *pbgear.Identity_RequestJudgementCall { - out := &pbgear.Identity_RequestJudgementCall{} - out.RegIndex = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.MaxFee = To_Identity_CompactString(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_RequestJudgementCall{} + out.RegIndex = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.MaxFee = To_Identity_CompactString(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "max_fee" optional: false repeated: false -// not seen "max_fee" optional: false repeated: false func To_Identity_Riot(fields []*registry.DecodedField) *pbgear.Identity_Riot { - out := &pbgear.Identity_Riot{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Riot_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Identity_Riot{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Riot_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } + func To_Identity_SetAccountIdCall(fields []*registry.DecodedField) *pbgear.Identity_SetAccountIdCall { - out := &pbgear.Identity_SetAccountIdCall{} - out.Index = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.New = To_Identity_New(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_SetAccountIdCall{} + out.Index = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.New = To_Identity_New(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "new" optional: false repeated: false -// not seen "new" optional: false repeated: false func To_Identity_SetFeeCall(fields []*registry.DecodedField) *pbgear.Identity_SetFeeCall { - out := &pbgear.Identity_SetFeeCall{} - out.Index = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Fee = To_Identity_CompactString(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_SetFeeCall{} + out.Index = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Fee = To_Identity_CompactString(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Identity_SetFieldsCall(fields []*registry.DecodedField) *pbgear.Identity_SetFieldsCall { - out := &pbgear.Identity_SetFieldsCall{} - out.Index = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - out.Fields = To_Identity_PalletIdentityTypesBitFlags(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_SetFieldsCall{} + out.Index = To_Identity_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + out.Fields = To_Identity_PalletIdentityTypesBitFlags(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "fields" optional: false repeated: false -// not seen "fields" optional: false repeated: false func To_Identity_SetIdentityCall(fields []*registry.DecodedField) *pbgear.Identity_SetIdentityCall { - out := &pbgear.Identity_SetIdentityCall{} - out.Info = To_Identity_PalletIdentitySimpleIdentityInfo(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_SetIdentityCall{} + out.Info = To_Identity_PalletIdentitySimpleIdentityInfo(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "info" optional: false repeated: false -// not seen "info" optional: false repeated: false func To_Identity_SetSubsCall(fields []*registry.DecodedField) *pbgear.Identity_SetSubsCall { - out := &pbgear.Identity_SetSubsCall{} - out.Subs = To_repeated_Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_SetSubsCall{} + out.Subs = To_repeated_Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "subs" optional: false repeated: true -// optional primitive: subs + // not seen "subs" optional: false repeated: true + // optional primitive: subs func To_repeated_Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData(fields []*registry.DecodedField) []*pbgear.Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData { - out := make([]*pbgear.Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData, len(fields)) - for _, f := range fields { - out = append(out, To_Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData, len(fields)) + for _, f := range fields { + out = append(out, To_Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Identity_Sha256(fields []*registry.DecodedField) *pbgear.Identity_Sha256 { - out := &pbgear.Identity_Sha256{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_Sha256{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_ShaThree256(fields []*registry.DecodedField) *pbgear.Identity_ShaThree256 { - out := &pbgear.Identity_ShaThree256{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_ShaThree256{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Identity_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.Identity_SpCoreCryptoAccountId32 { - out := &pbgear.Identity_SpCoreCryptoAccountId32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_SpCoreCryptoAccountId32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Identity_Sub(fields []*registry.DecodedField) *pbgear.Identity_Sub { - out := &pbgear.Identity_Sub{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Identity_Sub_Id{ - Id: To_Identity_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Identity_Sub_Index{ - Index: To_Identity_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Identity_Sub_Raw{ - Raw: To_Identity_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Identity_Sub_Address32{ - Address32: To_Identity_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Identity_Sub_Address20{ - Address20: To_Identity_Address20(fields), //Passthrough fields... - } - } - return out +func To_Identity_Sub(fields []*registry.DecodedField) *pbgear.Identity_Sub { + out := &pbgear.Identity_Sub{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Identity_Sub_Id{ + Id: To_Identity_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Identity_Sub_Index{ + Index: To_Identity_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Identity_Sub_Raw{ + Raw: To_Identity_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Identity_Sub_Address32{ + Address32: To_Identity_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Identity_Sub_Address20{ + Address20: To_Identity_Address20(fields), //Passthrough fields... + } + } + return out } -func To_Identity_Target(fields []*registry.DecodedField) *pbgear.Identity_Target { - out := &pbgear.Identity_Target{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Identity_Target_Id{ - Id: To_Identity_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Identity_Target_Index{ - Index: To_Identity_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Identity_Target_Raw{ - Raw: To_Identity_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Identity_Target_Address32{ - Address32: To_Identity_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Identity_Target_Address20{ - Address20: To_Identity_Address20(fields), //Passthrough fields... - } - } - return out +func To_Identity_Target(fields []*registry.DecodedField) *pbgear.Identity_Target { + out := &pbgear.Identity_Target{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Identity_Target_Id{ + Id: To_Identity_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Identity_Target_Index{ + Index: To_Identity_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Identity_Target_Raw{ + Raw: To_Identity_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Identity_Target_Address32{ + Address32: To_Identity_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Identity_Target_Address20{ + Address20: To_Identity_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Identity_TupleNull(fields []*registry.DecodedField) *pbgear.Identity_TupleNull { - out := &pbgear.Identity_TupleNull{} - return out + out := &pbgear.Identity_TupleNull{} + return out } + func To_Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData(fields []*registry.DecodedField) *pbgear.Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData { - out := &pbgear.Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData{} - out.Value0 = To_Identity_Value0(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_Identity_Value1(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData{} + out.Value0 = To_Identity_Value0(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_Identity_Value1(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false + // not seen "value1" optional: false repeated: false -// not seen "value0" optional: false repeated: false -// not seen "value1" optional: false repeated: false func To_Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData(fields []*registry.DecodedField) *pbgear.Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData { - out := &pbgear.Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData{} - out.Value0 = To_Identity_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_Identity_Value1(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData{} + out.Value0 = To_Identity_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_Identity_Value1(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Identity_Twitter(fields []*registry.DecodedField) *pbgear.Identity_Twitter { - out := &pbgear.Identity_Twitter{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Twitter_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Identity_Twitter{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Twitter_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } + func To_Identity_Unknown(fields []*registry.DecodedField) *pbgear.Identity_Unknown { - out := &pbgear.Identity_Unknown{} - return out + out := &pbgear.Identity_Unknown{} + return out } -func To_Identity_Value0(fields []*registry.DecodedField) *pbgear.Identity_Value0 { - out := &pbgear.Identity_Value0{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Value0_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Value0(fields []*registry.DecodedField) *pbgear.Identity_Value0 { + out := &pbgear.Identity_Value0{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Value0_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } -func To_Identity_Value1(fields []*registry.DecodedField) *pbgear.Identity_Value1 { - out := &pbgear.Identity_Value1{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Value1_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Value1(fields []*registry.DecodedField) *pbgear.Identity_Value1 { + out := &pbgear.Identity_Value1{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Value1_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } -func To_Identity_Web(fields []*registry.DecodedField) *pbgear.Identity_Web { - out := &pbgear.Identity_Web{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Identity_Web_None{ - None: To_Identity_None(fields), //Passthrough fields... - } - } - return out +func To_Identity_Web(fields []*registry.DecodedField) *pbgear.Identity_Web { + out := &pbgear.Identity_Web{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Identity_Web_None{ + None: To_Identity_None(fields), //Passthrough fields... + } + } + return out } + func To_ImOnline_HeartbeatCall(fields []*registry.DecodedField) *pbgear.ImOnline_HeartbeatCall { - out := &pbgear.ImOnline_HeartbeatCall{} - out.Heartbeat = To_ImOnline_PalletImOnlineHeartbeat(fields[0].Value.([]*registry.DecodedField)) - out.Signature = To_ImOnline_PalletImOnlineSr25519AppSr25519Signature(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ImOnline_HeartbeatCall{} + out.Heartbeat = To_ImOnline_PalletImOnlineHeartbeat(fields[0].Value.([]*registry.DecodedField)) + out.Signature = To_ImOnline_PalletImOnlineSr25519AppSr25519Signature(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "heartbeat" optional: false repeated: false + // not seen "signature" optional: false repeated: false -// not seen "heartbeat" optional: false repeated: false -// not seen "signature" optional: false repeated: false func To_ImOnline_PalletImOnlineHeartbeat(fields []*registry.DecodedField) *pbgear.ImOnline_PalletImOnlineHeartbeat { - out := &pbgear.ImOnline_PalletImOnlineHeartbeat{} - out.BlockNumber = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.SessionIndex = To_uint32(fields[1].Value.([]*registry.DecodedField)) - out.AuthorityIndex = To_uint32(fields[2].Value.([]*registry.DecodedField)) - out.ValidatorsLen = To_uint32(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ImOnline_PalletImOnlineHeartbeat{} + out.BlockNumber = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.SessionIndex = To_uint32(fields[1].Value.([]*registry.DecodedField)) + out.AuthorityIndex = To_uint32(fields[2].Value.([]*registry.DecodedField)) + out.ValidatorsLen = To_uint32(fields[3].Value.([]*registry.DecodedField)) + return out } + func To_ImOnline_PalletImOnlineSr25519AppSr25519Signature(fields []*registry.DecodedField) *pbgear.ImOnline_PalletImOnlineSr25519AppSr25519Signature { - out := &pbgear.ImOnline_PalletImOnlineSr25519AppSr25519Signature{} - out.Signature = To_ImOnline_SpCoreSr25519Signature(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ImOnline_PalletImOnlineSr25519AppSr25519Signature{} + out.Signature = To_ImOnline_SpCoreSr25519Signature(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "signature" optional: false repeated: false -// not seen "signature" optional: false repeated: false func To_ImOnline_SpCoreSr25519Signature(fields []*registry.DecodedField) *pbgear.ImOnline_SpCoreSr25519Signature { - out := &pbgear.ImOnline_SpCoreSr25519Signature{} - out.Signature = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.ImOnline_SpCoreSr25519Signature{} + out.Signature = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Multisig_ApproveAsMultiCall(fields []*registry.DecodedField) *pbgear.Multisig_ApproveAsMultiCall { - out := &pbgear.Multisig_ApproveAsMultiCall{} - out.Threshold = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) - out.MaybeTimepoint = To_optional_Multisig_PalletMultisigTimepoint(fields[2].Value.([]*registry.DecodedField)) - out.CallHash = To_bytes(fields[3].Value.([]*registry.DecodedField)) - out.MaxWeight = To_Multisig_SpWeightsWeightV2Weight(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Multisig_ApproveAsMultiCall{} + out.Threshold = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) + out.MaybeTimepoint = To_optional_Multisig_PalletMultisigTimepoint(fields[2].Value.([]*registry.DecodedField)) + out.CallHash = To_bytes(fields[3].Value.([]*registry.DecodedField)) + out.MaxWeight = To_Multisig_SpWeightsWeightV2Weight(fields[4].Value.([]*registry.DecodedField)) + return out +} + // not seen "other_signatories" optional: false repeated: true + // optional primitive: other_signatories +func To_repeated_Multisig_SpCoreCryptoAccountId32(fields []*registry.DecodedField) []*pbgear.Multisig_SpCoreCryptoAccountId32 { + out := make([]*pbgear.Multisig_SpCoreCryptoAccountId32, len(fields)) + for _, f := range fields { + out = append(out, To_Multisig_SpCoreCryptoAccountId32(f.Value.([]*registry.DecodedField))) + } + return out } - -// not seen "other_signatories" optional: false repeated: true -// optional primitive: other_signatories -func To_repeated_Multisig_SpCoreCryptoAccountId32(fields []*registry.DecodedField) []*pbgear.Multisig_SpCoreCryptoAccountId32 { - out := make([]*pbgear.Multisig_SpCoreCryptoAccountId32, len(fields)) - for _, f := range fields { - out = append(out, To_Multisig_SpCoreCryptoAccountId32(f.Value.([]*registry.DecodedField))) - } - return out + // not seen "maybe_timepoint" optional: true repeated: false + // optional field: maybe_timepoint +func To_optional_Multisig_PalletMultisigTimepoint(fields []*registry.DecodedField) *pbgear.Multisig_PalletMultisigTimepoint { + var out = To_Multisig_PalletMultisigTimepoint(fields) + return out } + // not seen "max_weight" optional: false repeated: false -// not seen "maybe_timepoint" optional: true repeated: false -// optional field: maybe_timepoint -// not seen "max_weight" optional: false repeated: false func To_Multisig_AsMultiCall(fields []*registry.DecodedField) *pbgear.Multisig_AsMultiCall { - out := &pbgear.Multisig_AsMultiCall{} - out.Threshold = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) - out.MaybeTimepoint = To_optional_Multisig_PalletMultisigTimepoint(fields[2].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Multisig_AsMultiCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Multisig_AsMultiCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Multisig_AsMultiCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Multisig_AsMultiCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Multisig_AsMultiCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Multisig_AsMultiCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Multisig_AsMultiCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Multisig_AsMultiCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Multisig_AsMultiCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Multisig_AsMultiCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Multisig_AsMultiCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Multisig_AsMultiCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Multisig_AsMultiCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Multisig_AsMultiCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Multisig_AsMultiCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Multisig_AsMultiCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - out.MaxWeight = To_Multisig_SpWeightsWeightV2Weight(fields[4].Value.([]*registry.DecodedField)) - return out -} + out := &pbgear.Multisig_AsMultiCall{} + out.Threshold = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) + out.MaybeTimepoint = To_optional_Multisig_PalletMultisigTimepoint(fields[2].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Multisig_AsMultiCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Multisig_AsMultiCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Multisig_AsMultiCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Multisig_AsMultiCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Multisig_AsMultiCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Multisig_AsMultiCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Multisig_AsMultiCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Multisig_AsMultiCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Multisig_AsMultiCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Multisig_AsMultiCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Multisig_AsMultiCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Multisig_AsMultiCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Multisig_AsMultiCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Multisig_AsMultiCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Multisig_AsMultiCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Multisig_AsMultiCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + out.MaxWeight = To_Multisig_SpWeightsWeightV2Weight(fields[4].Value.([]*registry.DecodedField)) + return out +} + // not seen "call" optional: false repeated: false -// not seen "call" optional: false repeated: false func To_Multisig_AsMultiThreshold1Call(fields []*registry.DecodedField) *pbgear.Multisig_AsMultiThreshold1Call { - out := &pbgear.Multisig_AsMultiThreshold1Call{} - out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Multisig_AsMultiThreshold1Call{} + out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Multisig_AsMultiThreshold1Call_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out } + func To_Multisig_CancelAsMultiCall(fields []*registry.DecodedField) *pbgear.Multisig_CancelAsMultiCall { - out := &pbgear.Multisig_CancelAsMultiCall{} - out.Threshold = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) - out.Timepoint = To_Multisig_PalletMultisigTimepoint(fields[2].Value.([]*registry.DecodedField)) - out.CallHash = To_bytes(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Multisig_CancelAsMultiCall{} + out.Threshold = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.OtherSignatories = To_repeated_Multisig_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) + out.Timepoint = To_Multisig_PalletMultisigTimepoint(fields[2].Value.([]*registry.DecodedField)) + out.CallHash = To_bytes(fields[3].Value.([]*registry.DecodedField)) + return out } + func To_Multisig_CompactUint64(fields []*registry.DecodedField) *pbgear.Multisig_CompactUint64 { - out := &pbgear.Multisig_CompactUint64{} - out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Multisig_CompactUint64{} + out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Multisig_PalletMultisigTimepoint(fields []*registry.DecodedField) *pbgear.Multisig_PalletMultisigTimepoint { - out := &pbgear.Multisig_PalletMultisigTimepoint{} - out.Height = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Multisig_PalletMultisigTimepoint{} + out.Height = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Multisig_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.Multisig_SpCoreCryptoAccountId32 { - out := &pbgear.Multisig_SpCoreCryptoAccountId32{} - out.OtherSignatories = To_Multisig_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Multisig_SpCoreCryptoAccountId32{} + out.OtherSignatories = To_Multisig_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Multisig_SpWeightsWeightV2Weight(fields []*registry.DecodedField) *pbgear.Multisig_SpWeightsWeightV2Weight { - out := &pbgear.Multisig_SpWeightsWeightV2Weight{} - out.RefTime = To_Multisig_CompactUint64(fields[0].Value.([]*registry.DecodedField)) - out.ProofSize = To_Multisig_CompactUint64(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Multisig_SpWeightsWeightV2Weight{} + out.RefTime = To_Multisig_CompactUint64(fields[0].Value.([]*registry.DecodedField)) + out.ProofSize = To_Multisig_CompactUint64(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "ref_time" optional: false repeated: false -// not seen "ref_time" optional: false repeated: false func To_NominationPools_Address20(fields []*registry.DecodedField) *pbgear.NominationPools_Address20 { - out := &pbgear.NominationPools_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_Address32(fields []*registry.DecodedField) *pbgear.NominationPools_Address32 { - out := &pbgear.NominationPools_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_AdjustPoolDepositCall(fields []*registry.DecodedField) *pbgear.NominationPools_AdjustPoolDepositCall { - out := &pbgear.NominationPools_AdjustPoolDepositCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_AdjustPoolDepositCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_Blocked(fields []*registry.DecodedField) *pbgear.NominationPools_Blocked { - out := &pbgear.NominationPools_Blocked{} - return out + out := &pbgear.NominationPools_Blocked{} + return out } + func To_NominationPools_BondExtraCall(fields []*registry.DecodedField) *pbgear.NominationPools_BondExtraCall { - out := &pbgear.NominationPools_BondExtraCall{} - out.Extra = To_NominationPools_Extra(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_BondExtraCall{} + out.Extra = To_NominationPools_Extra(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "extra" optional: false repeated: false -// not seen "extra" optional: false repeated: false func To_NominationPools_BondExtraOtherCall(fields []*registry.DecodedField) *pbgear.NominationPools_BondExtraOtherCall { - out := &pbgear.NominationPools_BondExtraOtherCall{} - out.Member = To_NominationPools_Member(fields[0].Value.([]*registry.DecodedField)) - out.Extra = To_NominationPools_Extra(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_BondExtraOtherCall{} + out.Member = To_NominationPools_Member(fields[0].Value.([]*registry.DecodedField)) + out.Extra = To_NominationPools_Extra(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "member" optional: false repeated: false -// not seen "member" optional: false repeated: false func To_NominationPools_Bouncer(fields []*registry.DecodedField) *pbgear.NominationPools_Bouncer { - out := &pbgear.NominationPools_Bouncer{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.NominationPools_Bouncer_Id{ - Id: To_NominationPools_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.NominationPools_Bouncer_Index{ - Index: To_NominationPools_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.NominationPools_Bouncer_Raw{ - Raw: To_NominationPools_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.NominationPools_Bouncer_Address32{ - Address32: To_NominationPools_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.NominationPools_Bouncer_Address20{ - Address20: To_NominationPools_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.NominationPools_Bouncer{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.NominationPools_Bouncer_Id{ + Id: To_NominationPools_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.NominationPools_Bouncer_Index{ + Index: To_NominationPools_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.NominationPools_Bouncer_Raw{ + Raw: To_NominationPools_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.NominationPools_Bouncer_Address32{ + Address32: To_NominationPools_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.NominationPools_Bouncer_Address20{ + Address20: To_NominationPools_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_NominationPools_ChillCall(fields []*registry.DecodedField) *pbgear.NominationPools_ChillCall { - out := &pbgear.NominationPools_ChillCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_ChillCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_ClaimCommissionCall(fields []*registry.DecodedField) *pbgear.NominationPools_ClaimCommissionCall { - out := &pbgear.NominationPools_ClaimCommissionCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_ClaimCommissionCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_ClaimPayoutCall(fields []*registry.DecodedField) *pbgear.NominationPools_ClaimPayoutCall { - out := &pbgear.NominationPools_ClaimPayoutCall{} - return out + out := &pbgear.NominationPools_ClaimPayoutCall{} + return out } + func To_NominationPools_ClaimPayoutOtherCall(fields []*registry.DecodedField) *pbgear.NominationPools_ClaimPayoutOtherCall { - out := &pbgear.NominationPools_ClaimPayoutOtherCall{} - out.Other = To_NominationPools_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_ClaimPayoutOtherCall{} + out.Other = To_NominationPools_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "other" optional: false repeated: false -// not seen "other" optional: false repeated: false func To_NominationPools_CompactString(fields []*registry.DecodedField) *pbgear.NominationPools_CompactString { - out := &pbgear.NominationPools_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_CompactTupleNull(fields []*registry.DecodedField) *pbgear.NominationPools_CompactTupleNull { - out := &pbgear.NominationPools_CompactTupleNull{} - out.Value = To_NominationPools_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_CompactTupleNull{} + out.Value = To_NominationPools_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_NominationPools_CreateCall(fields []*registry.DecodedField) *pbgear.NominationPools_CreateCall { - out := &pbgear.NominationPools_CreateCall{} - out.Amount = To_NominationPools_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.Root = To_NominationPools_Root(fields[1].Value.([]*registry.DecodedField)) - out.Nominator = To_NominationPools_Nominator(fields[2].Value.([]*registry.DecodedField)) - out.Bouncer = To_NominationPools_Bouncer(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_CreateCall{} + out.Amount = To_NominationPools_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.Root = To_NominationPools_Root(fields[1].Value.([]*registry.DecodedField)) + out.Nominator = To_NominationPools_Nominator(fields[2].Value.([]*registry.DecodedField)) + out.Bouncer = To_NominationPools_Bouncer(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "amount" optional: false repeated: false + // not seen "root" optional: false repeated: false + // not seen "nominator" optional: false repeated: false + // not seen "bouncer" optional: false repeated: false -// not seen "amount" optional: false repeated: false -// not seen "root" optional: false repeated: false -// not seen "nominator" optional: false repeated: false -// not seen "bouncer" optional: false repeated: false func To_NominationPools_CreateWithPoolIdCall(fields []*registry.DecodedField) *pbgear.NominationPools_CreateWithPoolIdCall { - out := &pbgear.NominationPools_CreateWithPoolIdCall{} - out.Amount = To_NominationPools_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.Root = To_NominationPools_Root(fields[1].Value.([]*registry.DecodedField)) - out.Nominator = To_NominationPools_Nominator(fields[2].Value.([]*registry.DecodedField)) - out.Bouncer = To_NominationPools_Bouncer(fields[3].Value.([]*registry.DecodedField)) - out.PoolId = To_uint32(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_CreateWithPoolIdCall{} + out.Amount = To_NominationPools_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.Root = To_NominationPools_Root(fields[1].Value.([]*registry.DecodedField)) + out.Nominator = To_NominationPools_Nominator(fields[2].Value.([]*registry.DecodedField)) + out.Bouncer = To_NominationPools_Bouncer(fields[3].Value.([]*registry.DecodedField)) + out.PoolId = To_uint32(fields[4].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_Destroying(fields []*registry.DecodedField) *pbgear.NominationPools_Destroying { - out := &pbgear.NominationPools_Destroying{} - return out + out := &pbgear.NominationPools_Destroying{} + return out } -func To_NominationPools_Extra(fields []*registry.DecodedField) *pbgear.NominationPools_Extra { - out := &pbgear.NominationPools_Extra{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_Extra_FreeBalance{ - FreeBalance: To_NominationPools_FreeBalance(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_Extra(fields []*registry.DecodedField) *pbgear.NominationPools_Extra { + out := &pbgear.NominationPools_Extra{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_Extra_FreeBalance{ + FreeBalance: To_NominationPools_FreeBalance(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_FreeBalance(fields []*registry.DecodedField) *pbgear.NominationPools_FreeBalance { - out := &pbgear.NominationPools_FreeBalance{} - out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_FreeBalance{} + out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_NominationPools_GlobalMaxCommission(fields []*registry.DecodedField) *pbgear.NominationPools_GlobalMaxCommission { - out := &pbgear.NominationPools_GlobalMaxCommission{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_GlobalMaxCommission_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_GlobalMaxCommission(fields []*registry.DecodedField) *pbgear.NominationPools_GlobalMaxCommission { + out := &pbgear.NominationPools_GlobalMaxCommission{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_GlobalMaxCommission_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_Id(fields []*registry.DecodedField) *pbgear.NominationPools_Id { - out := &pbgear.NominationPools_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_Index(fields []*registry.DecodedField) *pbgear.NominationPools_Index { - out := &pbgear.NominationPools_Index{} - out.Value0 = To_NominationPools_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_Index{} + out.Value0 = To_NominationPools_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_NominationPools_JoinCall(fields []*registry.DecodedField) *pbgear.NominationPools_JoinCall { - out := &pbgear.NominationPools_JoinCall{} - out.Amount = To_NominationPools_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.PoolId = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_JoinCall{} + out.Amount = To_NominationPools_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.PoolId = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_NominationPools_MaxMembers(fields []*registry.DecodedField) *pbgear.NominationPools_MaxMembers { - out := &pbgear.NominationPools_MaxMembers{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_MaxMembers_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_MaxMembers(fields []*registry.DecodedField) *pbgear.NominationPools_MaxMembers { + out := &pbgear.NominationPools_MaxMembers{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_MaxMembers_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_MaxMembersPerPool(fields []*registry.DecodedField) *pbgear.NominationPools_MaxMembersPerPool { - out := &pbgear.NominationPools_MaxMembersPerPool{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_MaxMembersPerPool_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_MaxMembersPerPool(fields []*registry.DecodedField) *pbgear.NominationPools_MaxMembersPerPool { + out := &pbgear.NominationPools_MaxMembersPerPool{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_MaxMembersPerPool_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_MaxPools(fields []*registry.DecodedField) *pbgear.NominationPools_MaxPools { - out := &pbgear.NominationPools_MaxPools{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_MaxPools_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_MaxPools(fields []*registry.DecodedField) *pbgear.NominationPools_MaxPools { + out := &pbgear.NominationPools_MaxPools{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_MaxPools_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_Member(fields []*registry.DecodedField) *pbgear.NominationPools_Member { - out := &pbgear.NominationPools_Member{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.NominationPools_Member_Id{ - Id: To_NominationPools_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.NominationPools_Member_Index{ - Index: To_NominationPools_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.NominationPools_Member_Raw{ - Raw: To_NominationPools_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.NominationPools_Member_Address32{ - Address32: To_NominationPools_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.NominationPools_Member_Address20{ - Address20: To_NominationPools_Address20(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_Member(fields []*registry.DecodedField) *pbgear.NominationPools_Member { + out := &pbgear.NominationPools_Member{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.NominationPools_Member_Id{ + Id: To_NominationPools_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.NominationPools_Member_Index{ + Index: To_NominationPools_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.NominationPools_Member_Raw{ + Raw: To_NominationPools_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.NominationPools_Member_Address32{ + Address32: To_NominationPools_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.NominationPools_Member_Address20{ + Address20: To_NominationPools_Address20(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_MemberAccount(fields []*registry.DecodedField) *pbgear.NominationPools_MemberAccount { - out := &pbgear.NominationPools_MemberAccount{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.NominationPools_MemberAccount_Id{ - Id: To_NominationPools_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.NominationPools_MemberAccount_Index{ - Index: To_NominationPools_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.NominationPools_MemberAccount_Raw{ - Raw: To_NominationPools_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.NominationPools_MemberAccount_Address32{ - Address32: To_NominationPools_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.NominationPools_MemberAccount_Address20{ - Address20: To_NominationPools_Address20(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_MemberAccount(fields []*registry.DecodedField) *pbgear.NominationPools_MemberAccount { + out := &pbgear.NominationPools_MemberAccount{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.NominationPools_MemberAccount_Id{ + Id: To_NominationPools_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.NominationPools_MemberAccount_Index{ + Index: To_NominationPools_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.NominationPools_MemberAccount_Raw{ + Raw: To_NominationPools_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.NominationPools_MemberAccount_Address32{ + Address32: To_NominationPools_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.NominationPools_MemberAccount_Address20{ + Address20: To_NominationPools_Address20(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_MinCreateBond(fields []*registry.DecodedField) *pbgear.NominationPools_MinCreateBond { - out := &pbgear.NominationPools_MinCreateBond{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_MinCreateBond_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_MinCreateBond(fields []*registry.DecodedField) *pbgear.NominationPools_MinCreateBond { + out := &pbgear.NominationPools_MinCreateBond{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_MinCreateBond_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_MinJoinBond(fields []*registry.DecodedField) *pbgear.NominationPools_MinJoinBond { - out := &pbgear.NominationPools_MinJoinBond{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_MinJoinBond_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_MinJoinBond(fields []*registry.DecodedField) *pbgear.NominationPools_MinJoinBond { + out := &pbgear.NominationPools_MinJoinBond{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_MinJoinBond_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_NewBouncer(fields []*registry.DecodedField) *pbgear.NominationPools_NewBouncer { - out := &pbgear.NominationPools_NewBouncer{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_NewBouncer_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_NewBouncer(fields []*registry.DecodedField) *pbgear.NominationPools_NewBouncer { + out := &pbgear.NominationPools_NewBouncer{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_NewBouncer_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_NewNominator(fields []*registry.DecodedField) *pbgear.NominationPools_NewNominator { - out := &pbgear.NominationPools_NewNominator{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_NewNominator_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_NewNominator(fields []*registry.DecodedField) *pbgear.NominationPools_NewNominator { + out := &pbgear.NominationPools_NewNominator{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_NewNominator_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } -func To_NominationPools_NewRoot(fields []*registry.DecodedField) *pbgear.NominationPools_NewRoot { - out := &pbgear.NominationPools_NewRoot{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_NewRoot_Noop{ - Noop: To_NominationPools_Noop(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_NewRoot(fields []*registry.DecodedField) *pbgear.NominationPools_NewRoot { + out := &pbgear.NominationPools_NewRoot{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_NewRoot_Noop{ + Noop: To_NominationPools_Noop(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_NominateCall(fields []*registry.DecodedField) *pbgear.NominationPools_NominateCall { - out := &pbgear.NominationPools_NominateCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Validators = To_repeated_NominationPools_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_NominateCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Validators = To_repeated_NominationPools_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) + return out } -func To_NominationPools_Nominator(fields []*registry.DecodedField) *pbgear.NominationPools_Nominator { - out := &pbgear.NominationPools_Nominator{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.NominationPools_Nominator_Id{ - Id: To_NominationPools_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.NominationPools_Nominator_Index{ - Index: To_NominationPools_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.NominationPools_Nominator_Raw{ - Raw: To_NominationPools_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.NominationPools_Nominator_Address32{ - Address32: To_NominationPools_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.NominationPools_Nominator_Address20{ - Address20: To_NominationPools_Address20(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_Nominator(fields []*registry.DecodedField) *pbgear.NominationPools_Nominator { + out := &pbgear.NominationPools_Nominator{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.NominationPools_Nominator_Id{ + Id: To_NominationPools_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.NominationPools_Nominator_Index{ + Index: To_NominationPools_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.NominationPools_Nominator_Raw{ + Raw: To_NominationPools_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.NominationPools_Nominator_Address32{ + Address32: To_NominationPools_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.NominationPools_Nominator_Address20{ + Address20: To_NominationPools_Address20(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_Noop(fields []*registry.DecodedField) *pbgear.NominationPools_Noop { - out := &pbgear.NominationPools_Noop{} - return out + out := &pbgear.NominationPools_Noop{} + return out } + func To_NominationPools_Open(fields []*registry.DecodedField) *pbgear.NominationPools_Open { - out := &pbgear.NominationPools_Open{} - return out + out := &pbgear.NominationPools_Open{} + return out } + func To_NominationPools_PalletNominationPoolsCommissionChangeRate(fields []*registry.DecodedField) *pbgear.NominationPools_PalletNominationPoolsCommissionChangeRate { - out := &pbgear.NominationPools_PalletNominationPoolsCommissionChangeRate{} - out.MaxIncrease = To_NominationPools_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) - out.MinDelay = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_PalletNominationPoolsCommissionChangeRate{} + out.MaxIncrease = To_NominationPools_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) + out.MinDelay = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "max_increase" optional: false repeated: false -// not seen "max_increase" optional: false repeated: false func To_NominationPools_Permission(fields []*registry.DecodedField) *pbgear.NominationPools_Permission { - out := &pbgear.NominationPools_Permission{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_Permission_Permissioned{ - Permissioned: To_NominationPools_Permissioned(fields), //Passthrough fields... - } - } - return out + out := &pbgear.NominationPools_Permission{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_Permission_Permissioned{ + Permissioned: To_NominationPools_Permissioned(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_Permissioned(fields []*registry.DecodedField) *pbgear.NominationPools_Permissioned { - out := &pbgear.NominationPools_Permissioned{} - return out + out := &pbgear.NominationPools_Permissioned{} + return out } + func To_NominationPools_PermissionlessAll(fields []*registry.DecodedField) *pbgear.NominationPools_PermissionlessAll { - out := &pbgear.NominationPools_PermissionlessAll{} - return out + out := &pbgear.NominationPools_PermissionlessAll{} + return out } + func To_NominationPools_PermissionlessCompound(fields []*registry.DecodedField) *pbgear.NominationPools_PermissionlessCompound { - out := &pbgear.NominationPools_PermissionlessCompound{} - return out + out := &pbgear.NominationPools_PermissionlessCompound{} + return out } + func To_NominationPools_PermissionlessWithdraw(fields []*registry.DecodedField) *pbgear.NominationPools_PermissionlessWithdraw { - out := &pbgear.NominationPools_PermissionlessWithdraw{} - return out + out := &pbgear.NominationPools_PermissionlessWithdraw{} + return out } + func To_NominationPools_PoolWithdrawUnbondedCall(fields []*registry.DecodedField) *pbgear.NominationPools_PoolWithdrawUnbondedCall { - out := &pbgear.NominationPools_PoolWithdrawUnbondedCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_PoolWithdrawUnbondedCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_Raw(fields []*registry.DecodedField) *pbgear.NominationPools_Raw { - out := &pbgear.NominationPools_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_Remove(fields []*registry.DecodedField) *pbgear.NominationPools_Remove { - out := &pbgear.NominationPools_Remove{} - return out + out := &pbgear.NominationPools_Remove{} + return out } + func To_NominationPools_Rewards(fields []*registry.DecodedField) *pbgear.NominationPools_Rewards { - out := &pbgear.NominationPools_Rewards{} - return out + out := &pbgear.NominationPools_Rewards{} + return out } -func To_NominationPools_Root(fields []*registry.DecodedField) *pbgear.NominationPools_Root { - out := &pbgear.NominationPools_Root{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.NominationPools_Root_Id{ - Id: To_NominationPools_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.NominationPools_Root_Index{ - Index: To_NominationPools_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.NominationPools_Root_Raw{ - Raw: To_NominationPools_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.NominationPools_Root_Address32{ - Address32: To_NominationPools_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.NominationPools_Root_Address20{ - Address20: To_NominationPools_Address20(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_Root(fields []*registry.DecodedField) *pbgear.NominationPools_Root { + out := &pbgear.NominationPools_Root{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.NominationPools_Root_Id{ + Id: To_NominationPools_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.NominationPools_Root_Index{ + Index: To_NominationPools_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.NominationPools_Root_Raw{ + Raw: To_NominationPools_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.NominationPools_Root_Address32{ + Address32: To_NominationPools_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.NominationPools_Root_Address20{ + Address20: To_NominationPools_Address20(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_Set(fields []*registry.DecodedField) *pbgear.NominationPools_Set { - out := &pbgear.NominationPools_Set{} - out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_Set{} + out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_SetClaimPermissionCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetClaimPermissionCall { - out := &pbgear.NominationPools_SetClaimPermissionCall{} - out.Permission = To_NominationPools_Permission(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SetClaimPermissionCall{} + out.Permission = To_NominationPools_Permission(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "permission" optional: false repeated: false -// not seen "permission" optional: false repeated: false func To_NominationPools_SetCommissionCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetCommissionCall { - out := &pbgear.NominationPools_SetCommissionCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.NewCommission = To_optional_NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SetCommissionCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.NewCommission = To_optional_NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) + return out +} + // not seen "new_commission" optional: true repeated: false + // optional field: new_commission +func To_optional_NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 { + var out = To_NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32(fields) + return out } -// not seen "new_commission" optional: true repeated: false -// optional field: new_commission func To_NominationPools_SetCommissionChangeRateCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetCommissionChangeRateCall { - out := &pbgear.NominationPools_SetCommissionChangeRateCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.ChangeRate = To_NominationPools_PalletNominationPoolsCommissionChangeRate(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SetCommissionChangeRateCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.ChangeRate = To_NominationPools_PalletNominationPoolsCommissionChangeRate(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "change_rate" optional: false repeated: false -// not seen "change_rate" optional: false repeated: false func To_NominationPools_SetCommissionMaxCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetCommissionMaxCall { - out := &pbgear.NominationPools_SetCommissionMaxCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.MaxCommission = To_NominationPools_SpArithmeticPerThingsPerbill(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SetCommissionMaxCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.MaxCommission = To_NominationPools_SpArithmeticPerThingsPerbill(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_SetConfigsCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetConfigsCall { - out := &pbgear.NominationPools_SetConfigsCall{} - out.MinJoinBond = To_NominationPools_MinJoinBond(fields[0].Value.([]*registry.DecodedField)) - out.MinCreateBond = To_NominationPools_MinCreateBond(fields[1].Value.([]*registry.DecodedField)) - out.MaxPools = To_NominationPools_MaxPools(fields[2].Value.([]*registry.DecodedField)) - out.MaxMembers = To_NominationPools_MaxMembers(fields[3].Value.([]*registry.DecodedField)) - out.MaxMembersPerPool = To_NominationPools_MaxMembersPerPool(fields[4].Value.([]*registry.DecodedField)) - out.GlobalMaxCommission = To_NominationPools_GlobalMaxCommission(fields[5].Value.([]*registry.DecodedField)) - return out -} - -// not seen "min_join_bond" optional: false repeated: false -// not seen "min_create_bond" optional: false repeated: false -// not seen "max_pools" optional: false repeated: false -// not seen "max_members" optional: false repeated: false -// not seen "max_members_per_pool" optional: false repeated: false -// not seen "global_max_commission" optional: false repeated: false + out := &pbgear.NominationPools_SetConfigsCall{} + out.MinJoinBond = To_NominationPools_MinJoinBond(fields[0].Value.([]*registry.DecodedField)) + out.MinCreateBond = To_NominationPools_MinCreateBond(fields[1].Value.([]*registry.DecodedField)) + out.MaxPools = To_NominationPools_MaxPools(fields[2].Value.([]*registry.DecodedField)) + out.MaxMembers = To_NominationPools_MaxMembers(fields[3].Value.([]*registry.DecodedField)) + out.MaxMembersPerPool = To_NominationPools_MaxMembersPerPool(fields[4].Value.([]*registry.DecodedField)) + out.GlobalMaxCommission = To_NominationPools_GlobalMaxCommission(fields[5].Value.([]*registry.DecodedField)) + return out +} + // not seen "min_join_bond" optional: false repeated: false + // not seen "min_create_bond" optional: false repeated: false + // not seen "max_pools" optional: false repeated: false + // not seen "max_members" optional: false repeated: false + // not seen "max_members_per_pool" optional: false repeated: false + // not seen "global_max_commission" optional: false repeated: false + func To_NominationPools_SetMetadataCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetMetadataCall { - out := &pbgear.NominationPools_SetMetadataCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Metadata = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SetMetadataCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Metadata = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_SetStateCall(fields []*registry.DecodedField) *pbgear.NominationPools_SetStateCall { - out := &pbgear.NominationPools_SetStateCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.State = To_NominationPools_State(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SetStateCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.State = To_NominationPools_State(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "state" optional: false repeated: false -// not seen "state" optional: false repeated: false func To_NominationPools_SpArithmeticPerThingsPerbill(fields []*registry.DecodedField) *pbgear.NominationPools_SpArithmeticPerThingsPerbill { - out := &pbgear.NominationPools_SpArithmeticPerThingsPerbill{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SpArithmeticPerThingsPerbill{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.NominationPools_SpCoreCryptoAccountId32 { - out := &pbgear.NominationPools_SpCoreCryptoAccountId32{} - out.Validators = To_NominationPools_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_SpCoreCryptoAccountId32{} + out.Validators = To_NominationPools_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_NominationPools_State(fields []*registry.DecodedField) *pbgear.NominationPools_State { - out := &pbgear.NominationPools_State{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.NominationPools_State_Open{ - Open: To_NominationPools_Open(fields), //Passthrough fields... - } - } - return out +func To_NominationPools_State(fields []*registry.DecodedField) *pbgear.NominationPools_State { + out := &pbgear.NominationPools_State{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.NominationPools_State_Open{ + Open: To_NominationPools_Open(fields), //Passthrough fields... + } + } + return out } + func To_NominationPools_TupleNull(fields []*registry.DecodedField) *pbgear.NominationPools_TupleNull { - out := &pbgear.NominationPools_TupleNull{} - return out + out := &pbgear.NominationPools_TupleNull{} + return out } + func To_NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 { - out := &pbgear.NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32{} - out.Value0 = To_NominationPools_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_NominationPools_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32{} + out.Value0 = To_NominationPools_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_NominationPools_SpCoreCryptoAccountId32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_NominationPools_UnbondCall(fields []*registry.DecodedField) *pbgear.NominationPools_UnbondCall { - out := &pbgear.NominationPools_UnbondCall{} - out.MemberAccount = To_NominationPools_MemberAccount(fields[0].Value.([]*registry.DecodedField)) - out.UnbondingPoints = To_NominationPools_CompactString(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_UnbondCall{} + out.MemberAccount = To_NominationPools_MemberAccount(fields[0].Value.([]*registry.DecodedField)) + out.UnbondingPoints = To_NominationPools_CompactString(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "member_account" optional: false repeated: false -// not seen "member_account" optional: false repeated: false func To_NominationPools_UpdateRolesCall(fields []*registry.DecodedField) *pbgear.NominationPools_UpdateRolesCall { - out := &pbgear.NominationPools_UpdateRolesCall{} - out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.NewRoot = To_NominationPools_NewRoot(fields[1].Value.([]*registry.DecodedField)) - out.NewNominator = To_NominationPools_NewNominator(fields[2].Value.([]*registry.DecodedField)) - out.NewBouncer = To_NominationPools_NewBouncer(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_UpdateRolesCall{} + out.PoolId = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.NewRoot = To_NominationPools_NewRoot(fields[1].Value.([]*registry.DecodedField)) + out.NewNominator = To_NominationPools_NewNominator(fields[2].Value.([]*registry.DecodedField)) + out.NewBouncer = To_NominationPools_NewBouncer(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "new_root" optional: false repeated: false + // not seen "new_nominator" optional: false repeated: false + // not seen "new_bouncer" optional: false repeated: false -// not seen "new_root" optional: false repeated: false -// not seen "new_nominator" optional: false repeated: false -// not seen "new_bouncer" optional: false repeated: false func To_NominationPools_WithdrawUnbondedCall(fields []*registry.DecodedField) *pbgear.NominationPools_WithdrawUnbondedCall { - out := &pbgear.NominationPools_WithdrawUnbondedCall{} - out.MemberAccount = To_NominationPools_MemberAccount(fields[0].Value.([]*registry.DecodedField)) - out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.NominationPools_WithdrawUnbondedCall{} + out.MemberAccount = To_NominationPools_MemberAccount(fields[0].Value.([]*registry.DecodedField)) + out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_None(fields []*registry.DecodedField) *pbgear.None { - out := &pbgear.None{} - return out + out := &pbgear.None{} + return out } + func To_Preimage_EnsureUpdatedCall(fields []*registry.DecodedField) *pbgear.Preimage_EnsureUpdatedCall { - out := &pbgear.Preimage_EnsureUpdatedCall{} - out.Hashes = To_repeated_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Preimage_EnsureUpdatedCall{} + out.Hashes = To_repeated_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "hashes" optional: false repeated: true -// optional primitive: hashes + // not seen "hashes" optional: false repeated: true + // optional primitive: hashes func To_repeated_Preimage_PrimitiveTypesH256(fields []*registry.DecodedField) []*pbgear.Preimage_PrimitiveTypesH256 { - out := make([]*pbgear.Preimage_PrimitiveTypesH256, len(fields)) - for _, f := range fields { - out = append(out, To_Preimage_PrimitiveTypesH256(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Preimage_PrimitiveTypesH256, len(fields)) + for _, f := range fields { + out = append(out, To_Preimage_PrimitiveTypesH256(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Preimage_NotePreimageCall(fields []*registry.DecodedField) *pbgear.Preimage_NotePreimageCall { - out := &pbgear.Preimage_NotePreimageCall{} - out.Bytes = fields[0].Value.(uint8) - return out + out := &pbgear.Preimage_NotePreimageCall{} + out.Bytes = fields[0].Value.(uint8) + return out } + func To_Preimage_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Preimage_PrimitiveTypesH256 { - out := &pbgear.Preimage_PrimitiveTypesH256{} - out.Hash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Preimage_PrimitiveTypesH256{} + out.Hash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Preimage_RequestPreimageCall(fields []*registry.DecodedField) *pbgear.Preimage_RequestPreimageCall { - out := &pbgear.Preimage_RequestPreimageCall{} - out.Hash = To_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Preimage_RequestPreimageCall{} + out.Hash = To_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Preimage_UnnotePreimageCall(fields []*registry.DecodedField) *pbgear.Preimage_UnnotePreimageCall { - out := &pbgear.Preimage_UnnotePreimageCall{} - out.Hash = To_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Preimage_UnnotePreimageCall{} + out.Hash = To_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Preimage_UnrequestPreimageCall(fields []*registry.DecodedField) *pbgear.Preimage_UnrequestPreimageCall { - out := &pbgear.Preimage_UnrequestPreimageCall{} - out.Hash = To_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Preimage_UnrequestPreimageCall{} + out.Hash = To_Preimage_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_PrimaryAndSecondaryPlainSlots(fields []*registry.DecodedField) *pbgear.PrimaryAndSecondaryPlainSlots { - out := &pbgear.PrimaryAndSecondaryPlainSlots{} - return out + out := &pbgear.PrimaryAndSecondaryPlainSlots{} + return out } + func To_PrimaryAndSecondaryVRFSlots(fields []*registry.DecodedField) *pbgear.PrimaryAndSecondaryVRFSlots { - out := &pbgear.PrimaryAndSecondaryVRFSlots{} - return out + out := &pbgear.PrimaryAndSecondaryVRFSlots{} + return out } + func To_PrimarySlots(fields []*registry.DecodedField) *pbgear.PrimarySlots { - out := &pbgear.PrimarySlots{} - return out + out := &pbgear.PrimarySlots{} + return out } + func To_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.PrimitiveTypesH256 { - out := &pbgear.PrimitiveTypesH256{} - out.TargetHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.PrimitiveTypesH256{} + out.TargetHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_AddProxyCall(fields []*registry.DecodedField) *pbgear.Proxy_AddProxyCall { - out := &pbgear.Proxy_AddProxyCall{} - out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) - out.ProxyType = To_Proxy_ProxyType(fields[1].Value.([]*registry.DecodedField)) - out.Delay = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_AddProxyCall{} + out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) + out.ProxyType = To_Proxy_ProxyType(fields[1].Value.([]*registry.DecodedField)) + out.Delay = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "delegate" optional: false repeated: false + // not seen "proxy_type" optional: false repeated: false -// not seen "delegate" optional: false repeated: false -// not seen "proxy_type" optional: false repeated: false func To_Proxy_Address20(fields []*registry.DecodedField) *pbgear.Proxy_Address20 { - out := &pbgear.Proxy_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_Address32(fields []*registry.DecodedField) *pbgear.Proxy_Address32 { - out := &pbgear.Proxy_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_AnnounceCall(fields []*registry.DecodedField) *pbgear.Proxy_AnnounceCall { - out := &pbgear.Proxy_AnnounceCall{} - out.Real = To_Proxy_Real(fields[0].Value.([]*registry.DecodedField)) - out.CallHash = To_Proxy_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_AnnounceCall{} + out.Real = To_Proxy_Real(fields[0].Value.([]*registry.DecodedField)) + out.CallHash = To_Proxy_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "real" optional: false repeated: false + // not seen "call_hash" optional: false repeated: false -// not seen "real" optional: false repeated: false -// not seen "call_hash" optional: false repeated: false func To_Proxy_Any(fields []*registry.DecodedField) *pbgear.Proxy_Any { - out := &pbgear.Proxy_Any{} - return out + out := &pbgear.Proxy_Any{} + return out } + func To_Proxy_CancelProxy(fields []*registry.DecodedField) *pbgear.Proxy_CancelProxy { - out := &pbgear.Proxy_CancelProxy{} - return out + out := &pbgear.Proxy_CancelProxy{} + return out } + func To_Proxy_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Proxy_CompactTupleNull { - out := &pbgear.Proxy_CompactTupleNull{} - out.Value = To_Proxy_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_CompactTupleNull{} + out.Value = To_Proxy_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Proxy_CompactUint32(fields []*registry.DecodedField) *pbgear.Proxy_CompactUint32 { - out := &pbgear.Proxy_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_CreatePureCall(fields []*registry.DecodedField) *pbgear.Proxy_CreatePureCall { - out := &pbgear.Proxy_CreatePureCall{} - out.ProxyType = To_Proxy_ProxyType(fields[0].Value.([]*registry.DecodedField)) - out.Delay = To_uint32(fields[1].Value.([]*registry.DecodedField)) - out.Index = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_CreatePureCall{} + out.ProxyType = To_Proxy_ProxyType(fields[0].Value.([]*registry.DecodedField)) + out.Delay = To_uint32(fields[1].Value.([]*registry.DecodedField)) + out.Index = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out } -func To_Proxy_Delegate(fields []*registry.DecodedField) *pbgear.Proxy_Delegate { - out := &pbgear.Proxy_Delegate{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Proxy_Delegate_Id{ - Id: To_Proxy_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Proxy_Delegate_Index{ - Index: To_Proxy_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Proxy_Delegate_Raw{ - Raw: To_Proxy_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Proxy_Delegate_Address32{ - Address32: To_Proxy_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Proxy_Delegate_Address20{ - Address20: To_Proxy_Address20(fields), //Passthrough fields... - } - } - return out -} +func To_Proxy_Delegate(fields []*registry.DecodedField) *pbgear.Proxy_Delegate { + out := &pbgear.Proxy_Delegate{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Proxy_Delegate_Id{ + Id: To_Proxy_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Proxy_Delegate_Index{ + Index: To_Proxy_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Proxy_Delegate_Raw{ + Raw: To_Proxy_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Proxy_Delegate_Address32{ + Address32: To_Proxy_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Proxy_Delegate_Address20{ + Address20: To_Proxy_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Proxy_ForceProxyType(fields []*registry.DecodedField) *pbgear.Proxy_ForceProxyType { - out := &pbgear.Proxy_ForceProxyType{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Proxy_ForceProxyType_Any{ - Any: To_Proxy_Any(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Proxy_ForceProxyType{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Proxy_ForceProxyType_Any{ + Any: To_Proxy_Any(fields), //Passthrough fields... + } + } + return out } + func To_Proxy_Governance(fields []*registry.DecodedField) *pbgear.Proxy_Governance { - out := &pbgear.Proxy_Governance{} - return out + out := &pbgear.Proxy_Governance{} + return out } + func To_Proxy_Id(fields []*registry.DecodedField) *pbgear.Proxy_Id { - out := &pbgear.Proxy_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_IdentityJudgement(fields []*registry.DecodedField) *pbgear.Proxy_IdentityJudgement { - out := &pbgear.Proxy_IdentityJudgement{} - return out + out := &pbgear.Proxy_IdentityJudgement{} + return out } + func To_Proxy_Index(fields []*registry.DecodedField) *pbgear.Proxy_Index { - out := &pbgear.Proxy_Index{} - out.Value0 = To_Proxy_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_Index{} + out.Value0 = To_Proxy_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Proxy_KillPureCall(fields []*registry.DecodedField) *pbgear.Proxy_KillPureCall { - out := &pbgear.Proxy_KillPureCall{} - out.Spawner = To_Proxy_Spawner(fields[0].Value.([]*registry.DecodedField)) - out.ProxyType = To_Proxy_ProxyType(fields[1].Value.([]*registry.DecodedField)) - out.Index = To_uint32(fields[2].Value.([]*registry.DecodedField)) - out.Height = To_Proxy_CompactUint32(fields[3].Value.([]*registry.DecodedField)) - out.ExtIndex = To_Proxy_CompactUint32(fields[4].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_KillPureCall{} + out.Spawner = To_Proxy_Spawner(fields[0].Value.([]*registry.DecodedField)) + out.ProxyType = To_Proxy_ProxyType(fields[1].Value.([]*registry.DecodedField)) + out.Index = To_uint32(fields[2].Value.([]*registry.DecodedField)) + out.Height = To_Proxy_CompactUint32(fields[3].Value.([]*registry.DecodedField)) + out.ExtIndex = To_Proxy_CompactUint32(fields[4].Value.([]*registry.DecodedField)) + return out } + // not seen "spawner" optional: false repeated: false + // not seen "height" optional: false repeated: false -// not seen "spawner" optional: false repeated: false -// not seen "height" optional: false repeated: false func To_Proxy_NonTransfer(fields []*registry.DecodedField) *pbgear.Proxy_NonTransfer { - out := &pbgear.Proxy_NonTransfer{} - return out + out := &pbgear.Proxy_NonTransfer{} + return out } + func To_Proxy_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Proxy_PrimitiveTypesH256 { - out := &pbgear.Proxy_PrimitiveTypesH256{} - out.CallHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_PrimitiveTypesH256{} + out.CallHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_ProxyAnnouncedCall(fields []*registry.DecodedField) *pbgear.Proxy_ProxyAnnouncedCall { - out := &pbgear.Proxy_ProxyAnnouncedCall{} - out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) - out.Real = To_Proxy_Real(fields[1].Value.([]*registry.DecodedField)) - out.ForceProxyType = To_optional_Proxy_ForceProxyType(fields[2].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Proxy_ProxyAnnouncedCall{} + out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) + out.Real = To_Proxy_Real(fields[1].Value.([]*registry.DecodedField)) + out.ForceProxyType = To_optional_Proxy_ForceProxyType(fields[2].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Proxy_ProxyAnnouncedCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out +} + // not seen "force_proxy_type" optional: true repeated: false + // optional field: force_proxy_type +func To_optional_Proxy_ForceProxyType(fields []*registry.DecodedField) *pbgear.Proxy_ForceProxyType { + var out = To_Proxy_ForceProxyType(fields) + return out +} + // not seen "call" optional: false repeated: false -// not seen "force_proxy_type" optional: true repeated: false -// optional field: force_proxy_type -// not seen "call" optional: false repeated: false func To_Proxy_ProxyCall(fields []*registry.DecodedField) *pbgear.Proxy_ProxyCall { - out := &pbgear.Proxy_ProxyCall{} - out.Real = To_Proxy_Real(fields[0].Value.([]*registry.DecodedField)) - out.ForceProxyType = To_optional_Proxy_ForceProxyType(fields[1].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Proxy_ProxyCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Proxy_ProxyCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Proxy_ProxyCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Proxy_ProxyCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Proxy_ProxyCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Proxy_ProxyCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Proxy_ProxyCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Proxy_ProxyCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Proxy_ProxyCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Proxy_ProxyCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Proxy_ProxyCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Proxy_ProxyCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Proxy_ProxyCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Proxy_ProxyCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Proxy_ProxyCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Proxy_ProxyCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Proxy_ProxyCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Proxy_ProxyCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Proxy_ProxyCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Proxy_ProxyCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Proxy_ProxyCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Proxy_ProxyCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Proxy_ProxyCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Proxy_ProxyCall{} + out.Real = To_Proxy_Real(fields[0].Value.([]*registry.DecodedField)) + out.ForceProxyType = To_optional_Proxy_ForceProxyType(fields[1].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Proxy_ProxyCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Proxy_ProxyCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Proxy_ProxyCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Proxy_ProxyCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Proxy_ProxyCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Proxy_ProxyCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Proxy_ProxyCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Proxy_ProxyCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Proxy_ProxyCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Proxy_ProxyCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Proxy_ProxyCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Proxy_ProxyCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Proxy_ProxyCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Proxy_ProxyCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Proxy_ProxyCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Proxy_ProxyCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Proxy_ProxyCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Proxy_ProxyCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Proxy_ProxyCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Proxy_ProxyCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Proxy_ProxyCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Proxy_ProxyCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Proxy_ProxyCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out } -func To_Proxy_ProxyType(fields []*registry.DecodedField) *pbgear.Proxy_ProxyType { - out := &pbgear.Proxy_ProxyType{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Proxy_ProxyType_Any{ - Any: To_Proxy_Any(fields), //Passthrough fields... - } - } - return out +func To_Proxy_ProxyType(fields []*registry.DecodedField) *pbgear.Proxy_ProxyType { + out := &pbgear.Proxy_ProxyType{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Proxy_ProxyType_Any{ + Any: To_Proxy_Any(fields), //Passthrough fields... + } + } + return out } + func To_Proxy_Raw(fields []*registry.DecodedField) *pbgear.Proxy_Raw { - out := &pbgear.Proxy_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Proxy_Real(fields []*registry.DecodedField) *pbgear.Proxy_Real { - out := &pbgear.Proxy_Real{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Proxy_Real_Id{ - Id: To_Proxy_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Proxy_Real_Index{ - Index: To_Proxy_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Proxy_Real_Raw{ - Raw: To_Proxy_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Proxy_Real_Address32{ - Address32: To_Proxy_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Proxy_Real_Address20{ - Address20: To_Proxy_Address20(fields), //Passthrough fields... - } - } - return out +func To_Proxy_Real(fields []*registry.DecodedField) *pbgear.Proxy_Real { + out := &pbgear.Proxy_Real{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Proxy_Real_Id{ + Id: To_Proxy_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Proxy_Real_Index{ + Index: To_Proxy_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Proxy_Real_Raw{ + Raw: To_Proxy_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Proxy_Real_Address32{ + Address32: To_Proxy_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Proxy_Real_Address20{ + Address20: To_Proxy_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Proxy_RejectAnnouncementCall(fields []*registry.DecodedField) *pbgear.Proxy_RejectAnnouncementCall { - out := &pbgear.Proxy_RejectAnnouncementCall{} - out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) - out.CallHash = To_Proxy_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_RejectAnnouncementCall{} + out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) + out.CallHash = To_Proxy_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_RemoveAnnouncementCall(fields []*registry.DecodedField) *pbgear.Proxy_RemoveAnnouncementCall { - out := &pbgear.Proxy_RemoveAnnouncementCall{} - out.Real = To_Proxy_Real(fields[0].Value.([]*registry.DecodedField)) - out.CallHash = To_Proxy_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_RemoveAnnouncementCall{} + out.Real = To_Proxy_Real(fields[0].Value.([]*registry.DecodedField)) + out.CallHash = To_Proxy_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Proxy_RemoveProxiesCall(fields []*registry.DecodedField) *pbgear.Proxy_RemoveProxiesCall { - out := &pbgear.Proxy_RemoveProxiesCall{} - return out + out := &pbgear.Proxy_RemoveProxiesCall{} + return out } + func To_Proxy_RemoveProxyCall(fields []*registry.DecodedField) *pbgear.Proxy_RemoveProxyCall { - out := &pbgear.Proxy_RemoveProxyCall{} - out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) - out.ProxyType = To_Proxy_ProxyType(fields[1].Value.([]*registry.DecodedField)) - out.Delay = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Proxy_RemoveProxyCall{} + out.Delegate = To_Proxy_Delegate(fields[0].Value.([]*registry.DecodedField)) + out.ProxyType = To_Proxy_ProxyType(fields[1].Value.([]*registry.DecodedField)) + out.Delay = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out } -func To_Proxy_Spawner(fields []*registry.DecodedField) *pbgear.Proxy_Spawner { - out := &pbgear.Proxy_Spawner{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Proxy_Spawner_Id{ - Id: To_Proxy_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Proxy_Spawner_Index{ - Index: To_Proxy_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Proxy_Spawner_Raw{ - Raw: To_Proxy_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Proxy_Spawner_Address32{ - Address32: To_Proxy_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Proxy_Spawner_Address20{ - Address20: To_Proxy_Address20(fields), //Passthrough fields... - } - } - return out +func To_Proxy_Spawner(fields []*registry.DecodedField) *pbgear.Proxy_Spawner { + out := &pbgear.Proxy_Spawner{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Proxy_Spawner_Id{ + Id: To_Proxy_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Proxy_Spawner_Index{ + Index: To_Proxy_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Proxy_Spawner_Raw{ + Raw: To_Proxy_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Proxy_Spawner_Address32{ + Address32: To_Proxy_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Proxy_Spawner_Address20{ + Address20: To_Proxy_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Proxy_Staking(fields []*registry.DecodedField) *pbgear.Proxy_Staking { - out := &pbgear.Proxy_Staking{} - return out + out := &pbgear.Proxy_Staking{} + return out } + func To_Proxy_TupleNull(fields []*registry.DecodedField) *pbgear.Proxy_TupleNull { - out := &pbgear.Proxy_TupleNull{} - return out + out := &pbgear.Proxy_TupleNull{} + return out } + func To_Referenda_After(fields []*registry.DecodedField) *pbgear.Referenda_After { - out := &pbgear.Referenda_After{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_After{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_At(fields []*registry.DecodedField) *pbgear.Referenda_At { - out := &pbgear.Referenda_At{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_At{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_CancelCall(fields []*registry.DecodedField) *pbgear.Referenda_CancelCall { - out := &pbgear.Referenda_CancelCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_CancelCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Referenda_EnactmentMoment(fields []*registry.DecodedField) *pbgear.Referenda_EnactmentMoment { - out := &pbgear.Referenda_EnactmentMoment{} - switch { - case matchFields(fields, []int64{4}): - out.Value = &pbgear.Referenda_EnactmentMoment_At{ - At: To_Referenda_At(fields), //Passthrough fields... - } - case matchFields(fields, []int64{4}): - out.Value = &pbgear.Referenda_EnactmentMoment_After{ - After: To_Referenda_After(fields), //Passthrough fields... - } - } - return out -} +func To_Referenda_EnactmentMoment(fields []*registry.DecodedField) *pbgear.Referenda_EnactmentMoment { + out := &pbgear.Referenda_EnactmentMoment{} + + switch { + case matchFields(fields, []int64{4}): + out.Value = &pbgear.Referenda_EnactmentMoment_At{ + At: To_Referenda_At(fields), //Passthrough fields... + } + case matchFields(fields, []int64{4}): + out.Value = &pbgear.Referenda_EnactmentMoment_After{ + After: To_Referenda_After(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Referenda_Inline(fields []*registry.DecodedField) *pbgear.Referenda_Inline { - out := &pbgear.Referenda_Inline{} - out.Value0 = To_BoundedCollectionsBoundedVecBoundedVec(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_Inline{} + out.Value0 = To_BoundedCollectionsBoundedVecBoundedVec(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_KillCall(fields []*registry.DecodedField) *pbgear.Referenda_KillCall { - out := &pbgear.Referenda_KillCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_KillCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_Legacy(fields []*registry.DecodedField) *pbgear.Referenda_Legacy { - out := &pbgear.Referenda_Legacy{} - out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_Legacy{} + out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_Lookup(fields []*registry.DecodedField) *pbgear.Referenda_Lookup { - out := &pbgear.Referenda_Lookup{} - out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - out.Len = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_Lookup{} + out.Hash = To_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + out.Len = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_NudgeReferendumCall(fields []*registry.DecodedField) *pbgear.Referenda_NudgeReferendumCall { - out := &pbgear.Referenda_NudgeReferendumCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_NudgeReferendumCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_OneFewerDecidingCall(fields []*registry.DecodedField) *pbgear.Referenda_OneFewerDecidingCall { - out := &pbgear.Referenda_OneFewerDecidingCall{} - out.Track = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_OneFewerDecidingCall{} + out.Track = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_Origins(fields []*registry.DecodedField) *pbgear.Referenda_Origins { - out := &pbgear.Referenda_Origins{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_Origins{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_PlaceDecisionDepositCall(fields []*registry.DecodedField) *pbgear.Referenda_PlaceDecisionDepositCall { - out := &pbgear.Referenda_PlaceDecisionDepositCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_PlaceDecisionDepositCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Referenda_PrimitiveTypesH256 { - out := &pbgear.Referenda_PrimitiveTypesH256{} - out.MaybeHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_PrimitiveTypesH256{} + out.MaybeHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Referenda_Proposal(fields []*registry.DecodedField) *pbgear.Referenda_Proposal { - out := &pbgear.Referenda_Proposal{} - switch { - case matchFields(fields, []int64{12}): - out.Value = &pbgear.Referenda_Proposal_Legacy{ - Legacy: To_Referenda_Legacy(fields), //Passthrough fields... - } - case matchFields(fields, []int64{279}): - out.Value = &pbgear.Referenda_Proposal_Inline{ - Inline: To_Referenda_Inline(fields), //Passthrough fields... - } - case matchFields(fields, []int64{12, 4}): - out.Value = &pbgear.Referenda_Proposal_Lookup{ - Lookup: To_Referenda_Lookup(fields), //Passthrough fields... - } - } - return out +func To_Referenda_Proposal(fields []*registry.DecodedField) *pbgear.Referenda_Proposal { + out := &pbgear.Referenda_Proposal{} + + switch { + case matchFields(fields, []int64{12}): + out.Value = &pbgear.Referenda_Proposal_Legacy{ + Legacy: To_Referenda_Legacy(fields), //Passthrough fields... + } + case matchFields(fields, []int64{279}): + out.Value = &pbgear.Referenda_Proposal_Inline{ + Inline: To_Referenda_Inline(fields), //Passthrough fields... + } + case matchFields(fields, []int64{12, 4}): + out.Value = &pbgear.Referenda_Proposal_Lookup{ + Lookup: To_Referenda_Lookup(fields), //Passthrough fields... + } + } + return out } -func To_Referenda_ProposalOrigin(fields []*registry.DecodedField) *pbgear.Referenda_ProposalOrigin { - out := &pbgear.Referenda_ProposalOrigin{} - switch { - case matchFields(fields, []int64{121}): - out.Value = &pbgear.Referenda_ProposalOrigin_System{ - System: To_Referenda_System(fields), //Passthrough fields... - } - case matchFields(fields, []int64{122}): - out.Value = &pbgear.Referenda_ProposalOrigin_Origins{ - Origins: To_Referenda_Origins(fields), //Passthrough fields... - } - case matchFields(fields, []int64{123}): - out.Value = &pbgear.Referenda_ProposalOrigin_Void{ - Void: To_Referenda_Void(fields), //Passthrough fields... - } - } - return out +func To_Referenda_ProposalOrigin(fields []*registry.DecodedField) *pbgear.Referenda_ProposalOrigin { + out := &pbgear.Referenda_ProposalOrigin{} + + switch { + case matchFields(fields, []int64{121}): + out.Value = &pbgear.Referenda_ProposalOrigin_System{ + System: To_Referenda_System(fields), //Passthrough fields... + } + case matchFields(fields, []int64{122}): + out.Value = &pbgear.Referenda_ProposalOrigin_Origins{ + Origins: To_Referenda_Origins(fields), //Passthrough fields... + } + case matchFields(fields, []int64{123}): + out.Value = &pbgear.Referenda_ProposalOrigin_Void{ + Void: To_Referenda_Void(fields), //Passthrough fields... + } + } + return out } + func To_Referenda_RefundDecisionDepositCall(fields []*registry.DecodedField) *pbgear.Referenda_RefundDecisionDepositCall { - out := &pbgear.Referenda_RefundDecisionDepositCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_RefundDecisionDepositCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_RefundSubmissionDepositCall(fields []*registry.DecodedField) *pbgear.Referenda_RefundSubmissionDepositCall { - out := &pbgear.Referenda_RefundSubmissionDepositCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_RefundSubmissionDepositCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_SetMetadataCall(fields []*registry.DecodedField) *pbgear.Referenda_SetMetadataCall { - out := &pbgear.Referenda_SetMetadataCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.MaybeHash = To_optional_Referenda_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_SetMetadataCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.MaybeHash = To_optional_Referenda_PrimitiveTypesH256(fields[1].Value.([]*registry.DecodedField)) + return out +} + // not seen "maybe_hash" optional: true repeated: false + // optional field: maybe_hash +func To_optional_Referenda_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Referenda_PrimitiveTypesH256 { + var out = To_Referenda_PrimitiveTypesH256(fields) + return out } -// not seen "maybe_hash" optional: true repeated: false -// optional field: maybe_hash func To_Referenda_SubmitCall(fields []*registry.DecodedField) *pbgear.Referenda_SubmitCall { - out := &pbgear.Referenda_SubmitCall{} - out.ProposalOrigin = To_Referenda_ProposalOrigin(fields[0].Value.([]*registry.DecodedField)) - out.Proposal = To_Referenda_Proposal(fields[1].Value.([]*registry.DecodedField)) - out.EnactmentMoment = To_Referenda_EnactmentMoment(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_SubmitCall{} + out.ProposalOrigin = To_Referenda_ProposalOrigin(fields[0].Value.([]*registry.DecodedField)) + out.Proposal = To_Referenda_Proposal(fields[1].Value.([]*registry.DecodedField)) + out.EnactmentMoment = To_Referenda_EnactmentMoment(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "proposal_origin" optional: false repeated: false + // not seen "proposal" optional: false repeated: false + // not seen "enactment_moment" optional: false repeated: false -// not seen "proposal_origin" optional: false repeated: false -// not seen "proposal" optional: false repeated: false -// not seen "enactment_moment" optional: false repeated: false func To_Referenda_System(fields []*registry.DecodedField) *pbgear.Referenda_System { - out := &pbgear.Referenda_System{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_System{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Referenda_Void(fields []*registry.DecodedField) *pbgear.Referenda_Void { - out := &pbgear.Referenda_Void{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Referenda_Void{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Root(fields []*registry.DecodedField) *pbgear.Root { - out := &pbgear.Root{} - return out + out := &pbgear.Root{} + return out } + func To_Scheduler_CancelCall(fields []*registry.DecodedField) *pbgear.Scheduler_CancelCall { - out := &pbgear.Scheduler_CancelCall{} - out.When = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Scheduler_CancelCall{} + out.When = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Scheduler_CancelNamedCall(fields []*registry.DecodedField) *pbgear.Scheduler_CancelNamedCall { - out := &pbgear.Scheduler_CancelNamedCall{} - out.Id = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Scheduler_CancelNamedCall{} + out.Id = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Scheduler_ScheduleAfterCall(fields []*registry.DecodedField) *pbgear.Scheduler_ScheduleAfterCall { - out := &pbgear.Scheduler_ScheduleAfterCall{} - out.After = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[1].Value.([]*registry.DecodedField)) - out.Priority = To_uint32(fields[2].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Scheduler_ScheduleAfterCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Scheduler_ScheduleAfterCall{} + out.After = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[1].Value.([]*registry.DecodedField)) + out.Priority = To_uint32(fields[2].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Scheduler_ScheduleAfterCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out +} + // not seen "maybe_periodic" optional: true repeated: false + // optional field: maybe_periodic +func To_optional_Scheduler_TupleUint32Uint32(fields []*registry.DecodedField) *pbgear.Scheduler_TupleUint32Uint32 { + var out = To_Scheduler_TupleUint32Uint32(fields) + return out +} + // not seen "call" optional: false repeated: false -// not seen "maybe_periodic" optional: true repeated: false -// optional field: maybe_periodic -// not seen "call" optional: false repeated: false func To_Scheduler_ScheduleCall(fields []*registry.DecodedField) *pbgear.Scheduler_ScheduleCall { - out := &pbgear.Scheduler_ScheduleCall{} - out.When = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[1].Value.([]*registry.DecodedField)) - out.Priority = To_uint32(fields[2].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Scheduler_ScheduleCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Scheduler_ScheduleCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Scheduler_ScheduleCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Scheduler_ScheduleCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Scheduler_ScheduleCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Scheduler_ScheduleCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Scheduler_ScheduleCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Scheduler_ScheduleCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Scheduler_ScheduleCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Scheduler_ScheduleCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Scheduler_ScheduleCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Scheduler_ScheduleCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Scheduler_ScheduleCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Scheduler_ScheduleCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Scheduler_ScheduleCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Scheduler_ScheduleCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Scheduler_ScheduleCall{} + out.When = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[1].Value.([]*registry.DecodedField)) + out.Priority = To_uint32(fields[2].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Scheduler_ScheduleCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Scheduler_ScheduleCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Scheduler_ScheduleCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Scheduler_ScheduleCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Scheduler_ScheduleCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Scheduler_ScheduleCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Scheduler_ScheduleCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Scheduler_ScheduleCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Scheduler_ScheduleCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Scheduler_ScheduleCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Scheduler_ScheduleCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Scheduler_ScheduleCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Scheduler_ScheduleCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Scheduler_ScheduleCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Scheduler_ScheduleCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Scheduler_ScheduleCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out } + func To_Scheduler_ScheduleNamedAfterCall(fields []*registry.DecodedField) *pbgear.Scheduler_ScheduleNamedAfterCall { - out := &pbgear.Scheduler_ScheduleNamedAfterCall{} - out.Id = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.After = To_uint32(fields[1].Value.([]*registry.DecodedField)) - out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[2].Value.([]*registry.DecodedField)) - out.Priority = To_uint32(fields[3].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Scheduler_ScheduleNamedAfterCall{} + out.Id = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.After = To_uint32(fields[1].Value.([]*registry.DecodedField)) + out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[2].Value.([]*registry.DecodedField)) + out.Priority = To_uint32(fields[3].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Scheduler_ScheduleNamedAfterCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out } + func To_Scheduler_ScheduleNamedCall(fields []*registry.DecodedField) *pbgear.Scheduler_ScheduleNamedCall { - out := &pbgear.Scheduler_ScheduleNamedCall{} - out.Id = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.When = To_uint32(fields[1].Value.([]*registry.DecodedField)) - out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[2].Value.([]*registry.DecodedField)) - out.Priority = To_uint32(fields[3].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Scheduler_ScheduleNamedCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Scheduler_ScheduleNamedCall{} + out.Id = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.When = To_uint32(fields[1].Value.([]*registry.DecodedField)) + out.MaybePeriodic = To_optional_Scheduler_TupleUint32Uint32(fields[2].Value.([]*registry.DecodedField)) + out.Priority = To_uint32(fields[3].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Scheduler_ScheduleNamedCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out } + func To_Scheduler_TupleUint32Uint32(fields []*registry.DecodedField) *pbgear.Scheduler_TupleUint32Uint32 { - out := &pbgear.Scheduler_TupleUint32Uint32{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Scheduler_TupleUint32Uint32{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Session_PalletImOnlineSr25519AppSr25519Public(fields []*registry.DecodedField) *pbgear.Session_PalletImOnlineSr25519AppSr25519Public { - out := &pbgear.Session_PalletImOnlineSr25519AppSr25519Public{} - out.ImOnline = To_Session_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_PalletImOnlineSr25519AppSr25519Public{} + out.ImOnline = To_Session_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "im_online" optional: false repeated: false -// not seen "im_online" optional: false repeated: false func To_Session_PurgeKeysCall(fields []*registry.DecodedField) *pbgear.Session_PurgeKeysCall { - out := &pbgear.Session_PurgeKeysCall{} - return out + out := &pbgear.Session_PurgeKeysCall{} + return out } + func To_Session_SetKeysCall(fields []*registry.DecodedField) *pbgear.Session_SetKeysCall { - out := &pbgear.Session_SetKeysCall{} - out.Keys = To_Session_VaraRuntimeSessionKeys(fields[0].Value.([]*registry.DecodedField)) - out.Proof = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_SetKeysCall{} + out.Keys = To_Session_VaraRuntimeSessionKeys(fields[0].Value.([]*registry.DecodedField)) + out.Proof = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "keys" optional: false repeated: false -// not seen "keys" optional: false repeated: false func To_Session_SpAuthorityDiscoveryAppPublic(fields []*registry.DecodedField) *pbgear.Session_SpAuthorityDiscoveryAppPublic { - out := &pbgear.Session_SpAuthorityDiscoveryAppPublic{} - out.AuthorityDiscovery = To_Session_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_SpAuthorityDiscoveryAppPublic{} + out.AuthorityDiscovery = To_Session_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Session_SpConsensusBabeAppPublic(fields []*registry.DecodedField) *pbgear.Session_SpConsensusBabeAppPublic { - out := &pbgear.Session_SpConsensusBabeAppPublic{} - out.Babe = To_Session_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_SpConsensusBabeAppPublic{} + out.Babe = To_Session_SpCoreSr25519Public(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Session_SpConsensusGrandpaAppPublic(fields []*registry.DecodedField) *pbgear.Session_SpConsensusGrandpaAppPublic { - out := &pbgear.Session_SpConsensusGrandpaAppPublic{} - out.Grandpa = To_Session_SpCoreEd25519Public(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_SpConsensusGrandpaAppPublic{} + out.Grandpa = To_Session_SpCoreEd25519Public(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "grandpa" optional: false repeated: false -// not seen "grandpa" optional: false repeated: false func To_Session_SpCoreEd25519Public(fields []*registry.DecodedField) *pbgear.Session_SpCoreEd25519Public { - out := &pbgear.Session_SpCoreEd25519Public{} - out.Grandpa = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_SpCoreEd25519Public{} + out.Grandpa = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Session_SpCoreSr25519Public(fields []*registry.DecodedField) *pbgear.Session_SpCoreSr25519Public { - out := &pbgear.Session_SpCoreSr25519Public{} - out.Babe = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_SpCoreSr25519Public{} + out.Babe = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Session_VaraRuntimeSessionKeys(fields []*registry.DecodedField) *pbgear.Session_VaraRuntimeSessionKeys { - out := &pbgear.Session_VaraRuntimeSessionKeys{} - out.Babe = To_Session_SpConsensusBabeAppPublic(fields[0].Value.([]*registry.DecodedField)) - out.Grandpa = To_Session_SpConsensusGrandpaAppPublic(fields[1].Value.([]*registry.DecodedField)) - out.ImOnline = To_Session_PalletImOnlineSr25519AppSr25519Public(fields[2].Value.([]*registry.DecodedField)) - out.AuthorityDiscovery = To_Session_SpAuthorityDiscoveryAppPublic(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Session_VaraRuntimeSessionKeys{} + out.Babe = To_Session_SpConsensusBabeAppPublic(fields[0].Value.([]*registry.DecodedField)) + out.Grandpa = To_Session_SpConsensusGrandpaAppPublic(fields[1].Value.([]*registry.DecodedField)) + out.ImOnline = To_Session_PalletImOnlineSr25519AppSr25519Public(fields[2].Value.([]*registry.DecodedField)) + out.AuthorityDiscovery = To_Session_SpAuthorityDiscoveryAppPublic(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "babe" optional: false repeated: false + // not seen "grandpa" optional: false repeated: false + // not seen "im_online" optional: false repeated: false + // not seen "authority_discovery" optional: false repeated: false -// not seen "babe" optional: false repeated: false -// not seen "grandpa" optional: false repeated: false -// not seen "im_online" optional: false repeated: false -// not seen "authority_discovery" optional: false repeated: false func To_Signed(fields []*registry.DecodedField) *pbgear.Signed { - out := &pbgear.Signed{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Signed{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_SpArithmeticPerThingsPerbill(fields []*registry.DecodedField) *pbgear.SpArithmeticPerThingsPerbill { - out := &pbgear.SpArithmeticPerThingsPerbill{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpArithmeticPerThingsPerbill{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_SpArithmeticPerThingsPercent(fields []*registry.DecodedField) *pbgear.SpArithmeticPerThingsPercent { - out := &pbgear.SpArithmeticPerThingsPercent{} - out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpArithmeticPerThingsPercent{} + out.Value0 = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_SpConsensusGrandpaAppPublic(fields []*registry.DecodedField) *pbgear.SpConsensusGrandpaAppPublic { - out := &pbgear.SpConsensusGrandpaAppPublic{} - out.Identity = To_SpCoreEd25519Public(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpConsensusGrandpaAppPublic{} + out.Identity = To_SpCoreEd25519Public(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "identity" optional: false repeated: false -// not seen "identity" optional: false repeated: false func To_SpConsensusGrandpaAppSignature(fields []*registry.DecodedField) *pbgear.SpConsensusGrandpaAppSignature { - out := &pbgear.SpConsensusGrandpaAppSignature{} - out.Value1 = To_SpCoreEd25519Signature(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpConsensusGrandpaAppSignature{} + out.Value1 = To_SpCoreEd25519Signature(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value1" optional: false repeated: false -// not seen "value1" optional: false repeated: false func To_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.SpCoreCryptoAccountId32 { - out := &pbgear.SpCoreCryptoAccountId32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpCoreCryptoAccountId32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_SpCoreEd25519Public(fields []*registry.DecodedField) *pbgear.SpCoreEd25519Public { - out := &pbgear.SpCoreEd25519Public{} - out.Identity = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpCoreEd25519Public{} + out.Identity = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_SpCoreEd25519Signature(fields []*registry.DecodedField) *pbgear.SpCoreEd25519Signature { - out := &pbgear.SpCoreEd25519Signature{} - out.Value1 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.SpCoreEd25519Signature{} + out.Value1 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_StakingRewards_Address20(fields []*registry.DecodedField) *pbgear.StakingRewards_Address20 { - out := &pbgear.StakingRewards_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_StakingRewards_Address32(fields []*registry.DecodedField) *pbgear.StakingRewards_Address32 { - out := &pbgear.StakingRewards_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_StakingRewards_AlignSupplyCall(fields []*registry.DecodedField) *pbgear.StakingRewards_AlignSupplyCall { - out := &pbgear.StakingRewards_AlignSupplyCall{} - out.Target = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_AlignSupplyCall{} + out.Target = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_StakingRewards_CompactTupleNull(fields []*registry.DecodedField) *pbgear.StakingRewards_CompactTupleNull { - out := &pbgear.StakingRewards_CompactTupleNull{} - out.Value = To_StakingRewards_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_CompactTupleNull{} + out.Value = To_StakingRewards_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_StakingRewards_ForceRefillCall(fields []*registry.DecodedField) *pbgear.StakingRewards_ForceRefillCall { - out := &pbgear.StakingRewards_ForceRefillCall{} - out.From = To_StakingRewards_From(fields[0].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_ForceRefillCall{} + out.From = To_StakingRewards_From(fields[0].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "from" optional: false repeated: false -// not seen "from" optional: false repeated: false func To_StakingRewards_From(fields []*registry.DecodedField) *pbgear.StakingRewards_From { - out := &pbgear.StakingRewards_From{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.StakingRewards_From_Id{ - Id: To_StakingRewards_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.StakingRewards_From_Index{ - Index: To_StakingRewards_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.StakingRewards_From_Raw{ - Raw: To_StakingRewards_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.StakingRewards_From_Address32{ - Address32: To_StakingRewards_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.StakingRewards_From_Address20{ - Address20: To_StakingRewards_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.StakingRewards_From{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.StakingRewards_From_Id{ + Id: To_StakingRewards_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.StakingRewards_From_Index{ + Index: To_StakingRewards_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.StakingRewards_From_Raw{ + Raw: To_StakingRewards_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.StakingRewards_From_Address32{ + Address32: To_StakingRewards_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.StakingRewards_From_Address20{ + Address20: To_StakingRewards_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_StakingRewards_Id(fields []*registry.DecodedField) *pbgear.StakingRewards_Id { - out := &pbgear.StakingRewards_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_StakingRewards_Index(fields []*registry.DecodedField) *pbgear.StakingRewards_Index { - out := &pbgear.StakingRewards_Index{} - out.Value0 = To_StakingRewards_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_Index{} + out.Value0 = To_StakingRewards_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_StakingRewards_Raw(fields []*registry.DecodedField) *pbgear.StakingRewards_Raw { - out := &pbgear.StakingRewards_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_StakingRewards_RefillCall(fields []*registry.DecodedField) *pbgear.StakingRewards_RefillCall { - out := &pbgear.StakingRewards_RefillCall{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_RefillCall{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_StakingRewards_To(fields []*registry.DecodedField) *pbgear.StakingRewards_To { - out := &pbgear.StakingRewards_To{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.StakingRewards_To_Id{ - Id: To_StakingRewards_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.StakingRewards_To_Index{ - Index: To_StakingRewards_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.StakingRewards_To_Raw{ - Raw: To_StakingRewards_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.StakingRewards_To_Address32{ - Address32: To_StakingRewards_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.StakingRewards_To_Address20{ - Address20: To_StakingRewards_Address20(fields), //Passthrough fields... - } - } - return out +func To_StakingRewards_To(fields []*registry.DecodedField) *pbgear.StakingRewards_To { + out := &pbgear.StakingRewards_To{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.StakingRewards_To_Id{ + Id: To_StakingRewards_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.StakingRewards_To_Index{ + Index: To_StakingRewards_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.StakingRewards_To_Raw{ + Raw: To_StakingRewards_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.StakingRewards_To_Address32{ + Address32: To_StakingRewards_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.StakingRewards_To_Address20{ + Address20: To_StakingRewards_Address20(fields), //Passthrough fields... + } + } + return out } + func To_StakingRewards_TupleNull(fields []*registry.DecodedField) *pbgear.StakingRewards_TupleNull { - out := &pbgear.StakingRewards_TupleNull{} - return out + out := &pbgear.StakingRewards_TupleNull{} + return out } + func To_StakingRewards_WithdrawCall(fields []*registry.DecodedField) *pbgear.StakingRewards_WithdrawCall { - out := &pbgear.StakingRewards_WithdrawCall{} - out.To = To_StakingRewards_To(fields[0].Value.([]*registry.DecodedField)) - out.Value = To_string(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.StakingRewards_WithdrawCall{} + out.To = To_StakingRewards_To(fields[0].Value.([]*registry.DecodedField)) + out.Value = To_string(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "to" optional: false repeated: false -// not seen "to" optional: false repeated: false func To_Staking_Account(fields []*registry.DecodedField) *pbgear.Staking_Account { - out := &pbgear.Staking_Account{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Account{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_Address20(fields []*registry.DecodedField) *pbgear.Staking_Address20 { - out := &pbgear.Staking_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_Address32(fields []*registry.DecodedField) *pbgear.Staking_Address32 { - out := &pbgear.Staking_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_BondCall(fields []*registry.DecodedField) *pbgear.Staking_BondCall { - out := &pbgear.Staking_BondCall{} - out.Value = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.Payee = To_Staking_Payee(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_BondCall{} + out.Value = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.Payee = To_Staking_Payee(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false + // not seen "payee" optional: false repeated: false -// not seen "value" optional: false repeated: false -// not seen "payee" optional: false repeated: false func To_Staking_BondExtraCall(fields []*registry.DecodedField) *pbgear.Staking_BondExtraCall { - out := &pbgear.Staking_BondExtraCall{} - out.MaxAdditional = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_BondExtraCall{} + out.MaxAdditional = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_CancelDeferredSlashCall(fields []*registry.DecodedField) *pbgear.Staking_CancelDeferredSlashCall { - out := &pbgear.Staking_CancelDeferredSlashCall{} - out.Era = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.SlashIndices = To_repeated_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_CancelDeferredSlashCall{} + out.Era = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.SlashIndices = To_repeated_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Staking_ChillCall(fields []*registry.DecodedField) *pbgear.Staking_ChillCall { - out := &pbgear.Staking_ChillCall{} - return out + out := &pbgear.Staking_ChillCall{} + return out } + func To_Staking_ChillOtherCall(fields []*registry.DecodedField) *pbgear.Staking_ChillOtherCall { - out := &pbgear.Staking_ChillOtherCall{} - out.Controller = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_ChillOtherCall{} + out.Controller = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "controller" optional: false repeated: false -// not seen "controller" optional: false repeated: false func To_Staking_ChillThreshold(fields []*registry.DecodedField) *pbgear.Staking_ChillThreshold { - out := &pbgear.Staking_ChillThreshold{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_ChillThreshold_Noop{ - Noop: To_Staking_Noop(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Staking_ChillThreshold{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_ChillThreshold_Noop{ + Noop: To_Staking_Noop(fields), //Passthrough fields... + } + } + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Staking_CompactSpArithmeticPerThingsPerbill(fields []*registry.DecodedField) *pbgear.Staking_CompactSpArithmeticPerThingsPerbill { - out := &pbgear.Staking_CompactSpArithmeticPerThingsPerbill{} - out.Value = To_Staking_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_CompactSpArithmeticPerThingsPerbill{} + out.Value = To_Staking_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Staking_CompactString(fields []*registry.DecodedField) *pbgear.Staking_CompactString { - out := &pbgear.Staking_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Staking_CompactTupleNull { - out := &pbgear.Staking_CompactTupleNull{} - out.Value = To_Staking_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_CompactTupleNull{} + out.Value = To_Staking_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Staking_CompactUint32(fields []*registry.DecodedField) *pbgear.Staking_CompactUint32 { - out := &pbgear.Staking_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_Controller(fields []*registry.DecodedField) *pbgear.Staking_Controller { - out := &pbgear.Staking_Controller{} - return out + out := &pbgear.Staking_Controller{} + return out } + func To_Staking_ForceApplyMinCommissionCall(fields []*registry.DecodedField) *pbgear.Staking_ForceApplyMinCommissionCall { - out := &pbgear.Staking_ForceApplyMinCommissionCall{} - out.ValidatorStash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_ForceApplyMinCommissionCall{} + out.ValidatorStash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_ForceNewEraAlwaysCall(fields []*registry.DecodedField) *pbgear.Staking_ForceNewEraAlwaysCall { - out := &pbgear.Staking_ForceNewEraAlwaysCall{} - return out + out := &pbgear.Staking_ForceNewEraAlwaysCall{} + return out } + func To_Staking_ForceNewEraCall(fields []*registry.DecodedField) *pbgear.Staking_ForceNewEraCall { - out := &pbgear.Staking_ForceNewEraCall{} - return out + out := &pbgear.Staking_ForceNewEraCall{} + return out } + func To_Staking_ForceNoErasCall(fields []*registry.DecodedField) *pbgear.Staking_ForceNoErasCall { - out := &pbgear.Staking_ForceNoErasCall{} - return out + out := &pbgear.Staking_ForceNoErasCall{} + return out } + func To_Staking_ForceUnstakeCall(fields []*registry.DecodedField) *pbgear.Staking_ForceUnstakeCall { - out := &pbgear.Staking_ForceUnstakeCall{} - out.Stash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_ForceUnstakeCall{} + out.Stash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Staking_Id(fields []*registry.DecodedField) *pbgear.Staking_Id { - out := &pbgear.Staking_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_IncreaseValidatorCountCall(fields []*registry.DecodedField) *pbgear.Staking_IncreaseValidatorCountCall { - out := &pbgear.Staking_IncreaseValidatorCountCall{} - out.Additional = To_Staking_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_IncreaseValidatorCountCall{} + out.Additional = To_Staking_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "additional" optional: false repeated: false -// not seen "additional" optional: false repeated: false func To_Staking_Index(fields []*registry.DecodedField) *pbgear.Staking_Index { - out := &pbgear.Staking_Index{} - out.Value0 = To_Staking_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Index{} + out.Value0 = To_Staking_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Staking_KickCall(fields []*registry.DecodedField) *pbgear.Staking_KickCall { - out := &pbgear.Staking_KickCall{} - out.Who = To_repeated_Staking_SpRuntimeMultiaddressMultiAddress(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_KickCall{} + out.Who = To_repeated_Staking_SpRuntimeMultiaddressMultiAddress(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "who" optional: false repeated: true -// optional primitive: who + // not seen "who" optional: false repeated: true + // optional primitive: who func To_repeated_Staking_SpRuntimeMultiaddressMultiAddress(fields []*registry.DecodedField) []*pbgear.Staking_SpRuntimeMultiaddressMultiAddress { - out := make([]*pbgear.Staking_SpRuntimeMultiaddressMultiAddress, len(fields)) - for _, f := range fields { - out = append(out, To_Staking_SpRuntimeMultiaddressMultiAddress(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Staking_SpRuntimeMultiaddressMultiAddress, len(fields)) + for _, f := range fields { + out = append(out, To_Staking_SpRuntimeMultiaddressMultiAddress(f.Value.([]*registry.DecodedField))) + } + return out } -func To_Staking_MaxNominatorCount(fields []*registry.DecodedField) *pbgear.Staking_MaxNominatorCount { - out := &pbgear.Staking_MaxNominatorCount{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_MaxNominatorCount_Noop{ - Noop: To_Staking_Noop(fields), //Passthrough fields... - } - } - return out +func To_Staking_MaxNominatorCount(fields []*registry.DecodedField) *pbgear.Staking_MaxNominatorCount { + out := &pbgear.Staking_MaxNominatorCount{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_MaxNominatorCount_Noop{ + Noop: To_Staking_Noop(fields), //Passthrough fields... + } + } + return out } -func To_Staking_MaxValidatorCount(fields []*registry.DecodedField) *pbgear.Staking_MaxValidatorCount { - out := &pbgear.Staking_MaxValidatorCount{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_MaxValidatorCount_Noop{ - Noop: To_Staking_Noop(fields), //Passthrough fields... - } - } - return out +func To_Staking_MaxValidatorCount(fields []*registry.DecodedField) *pbgear.Staking_MaxValidatorCount { + out := &pbgear.Staking_MaxValidatorCount{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_MaxValidatorCount_Noop{ + Noop: To_Staking_Noop(fields), //Passthrough fields... + } + } + return out } -func To_Staking_MinCommission(fields []*registry.DecodedField) *pbgear.Staking_MinCommission { - out := &pbgear.Staking_MinCommission{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_MinCommission_Noop{ - Noop: To_Staking_Noop(fields), //Passthrough fields... - } - } - return out +func To_Staking_MinCommission(fields []*registry.DecodedField) *pbgear.Staking_MinCommission { + out := &pbgear.Staking_MinCommission{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_MinCommission_Noop{ + Noop: To_Staking_Noop(fields), //Passthrough fields... + } + } + return out } -func To_Staking_MinNominatorBond(fields []*registry.DecodedField) *pbgear.Staking_MinNominatorBond { - out := &pbgear.Staking_MinNominatorBond{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_MinNominatorBond_Noop{ - Noop: To_Staking_Noop(fields), //Passthrough fields... - } - } - return out +func To_Staking_MinNominatorBond(fields []*registry.DecodedField) *pbgear.Staking_MinNominatorBond { + out := &pbgear.Staking_MinNominatorBond{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_MinNominatorBond_Noop{ + Noop: To_Staking_Noop(fields), //Passthrough fields... + } + } + return out } -func To_Staking_MinValidatorBond(fields []*registry.DecodedField) *pbgear.Staking_MinValidatorBond { - out := &pbgear.Staking_MinValidatorBond{} - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_MinValidatorBond_Noop{ - Noop: To_Staking_Noop(fields), //Passthrough fields... - } - } - return out +func To_Staking_MinValidatorBond(fields []*registry.DecodedField) *pbgear.Staking_MinValidatorBond { + out := &pbgear.Staking_MinValidatorBond{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_MinValidatorBond_Noop{ + Noop: To_Staking_Noop(fields), //Passthrough fields... + } + } + return out } + func To_Staking_NominateCall(fields []*registry.DecodedField) *pbgear.Staking_NominateCall { - out := &pbgear.Staking_NominateCall{} - out.Targets = To_repeated_Staking_SpRuntimeMultiaddressMultiAddress(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_NominateCall{} + out.Targets = To_repeated_Staking_SpRuntimeMultiaddressMultiAddress(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_None(fields []*registry.DecodedField) *pbgear.Staking_None { - out := &pbgear.Staking_None{} - return out + out := &pbgear.Staking_None{} + return out } + func To_Staking_Noop(fields []*registry.DecodedField) *pbgear.Staking_Noop { - out := &pbgear.Staking_Noop{} - return out + out := &pbgear.Staking_Noop{} + return out } + func To_Staking_PalletStakingValidatorPrefs(fields []*registry.DecodedField) *pbgear.Staking_PalletStakingValidatorPrefs { - out := &pbgear.Staking_PalletStakingValidatorPrefs{} - out.Commission = To_Staking_CompactSpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) - out.Blocked = To_bool(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_PalletStakingValidatorPrefs{} + out.Commission = To_Staking_CompactSpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) + out.Blocked = To_bool(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "commission" optional: false repeated: false -// not seen "commission" optional: false repeated: false func To_Staking_Payee(fields []*registry.DecodedField) *pbgear.Staking_Payee { - out := &pbgear.Staking_Payee{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Staking_Payee_Staked{ - Staked: To_Staking_Staked(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Staking_Payee{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Staking_Payee_Staked{ + Staked: To_Staking_Staked(fields), //Passthrough fields... + } + } + return out } + func To_Staking_PayoutStakersCall(fields []*registry.DecodedField) *pbgear.Staking_PayoutStakersCall { - out := &pbgear.Staking_PayoutStakersCall{} - out.ValidatorStash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.Era = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_PayoutStakersCall{} + out.ValidatorStash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.Era = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Staking_Raw(fields []*registry.DecodedField) *pbgear.Staking_Raw { - out := &pbgear.Staking_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_ReapStashCall(fields []*registry.DecodedField) *pbgear.Staking_ReapStashCall { - out := &pbgear.Staking_ReapStashCall{} - out.Stash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_ReapStashCall{} + out.Stash = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + out.NumSlashingSpans = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Staking_RebondCall(fields []*registry.DecodedField) *pbgear.Staking_RebondCall { - out := &pbgear.Staking_RebondCall{} - out.Value = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_RebondCall{} + out.Value = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_Remove(fields []*registry.DecodedField) *pbgear.Staking_Remove { - out := &pbgear.Staking_Remove{} - return out + out := &pbgear.Staking_Remove{} + return out } + func To_Staking_ScaleValidatorCountCall(fields []*registry.DecodedField) *pbgear.Staking_ScaleValidatorCountCall { - out := &pbgear.Staking_ScaleValidatorCountCall{} - out.Factor = To_Staking_SpArithmeticPerThingsPercent(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_ScaleValidatorCountCall{} + out.Factor = To_Staking_SpArithmeticPerThingsPercent(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "factor" optional: false repeated: false -// not seen "factor" optional: false repeated: false func To_Staking_Set(fields []*registry.DecodedField) *pbgear.Staking_Set { - out := &pbgear.Staking_Set{} - out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_Set{} + out.Value0 = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SetControllerCall(fields []*registry.DecodedField) *pbgear.Staking_SetControllerCall { - out := &pbgear.Staking_SetControllerCall{} - return out + out := &pbgear.Staking_SetControllerCall{} + return out } + func To_Staking_SetInvulnerablesCall(fields []*registry.DecodedField) *pbgear.Staking_SetInvulnerablesCall { - out := &pbgear.Staking_SetInvulnerablesCall{} - out.Invulnerables = To_repeated_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SetInvulnerablesCall{} + out.Invulnerables = To_repeated_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SetMinCommissionCall(fields []*registry.DecodedField) *pbgear.Staking_SetMinCommissionCall { - out := &pbgear.Staking_SetMinCommissionCall{} - out.New = To_Staking_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SetMinCommissionCall{} + out.New = To_Staking_SpArithmeticPerThingsPerbill(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SetPayeeCall(fields []*registry.DecodedField) *pbgear.Staking_SetPayeeCall { - out := &pbgear.Staking_SetPayeeCall{} - out.Payee = To_Staking_Payee(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SetPayeeCall{} + out.Payee = To_Staking_Payee(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SetStakingConfigsCall(fields []*registry.DecodedField) *pbgear.Staking_SetStakingConfigsCall { - out := &pbgear.Staking_SetStakingConfigsCall{} - out.MinNominatorBond = To_Staking_MinNominatorBond(fields[0].Value.([]*registry.DecodedField)) - out.MinValidatorBond = To_Staking_MinValidatorBond(fields[1].Value.([]*registry.DecodedField)) - out.MaxNominatorCount = To_Staking_MaxNominatorCount(fields[2].Value.([]*registry.DecodedField)) - out.MaxValidatorCount = To_Staking_MaxValidatorCount(fields[3].Value.([]*registry.DecodedField)) - out.ChillThreshold = To_Staking_ChillThreshold(fields[4].Value.([]*registry.DecodedField)) - out.MinCommission = To_Staking_MinCommission(fields[5].Value.([]*registry.DecodedField)) - return out -} - -// not seen "min_nominator_bond" optional: false repeated: false -// not seen "min_validator_bond" optional: false repeated: false -// not seen "max_nominator_count" optional: false repeated: false -// not seen "max_validator_count" optional: false repeated: false -// not seen "chill_threshold" optional: false repeated: false -// not seen "min_commission" optional: false repeated: false + out := &pbgear.Staking_SetStakingConfigsCall{} + out.MinNominatorBond = To_Staking_MinNominatorBond(fields[0].Value.([]*registry.DecodedField)) + out.MinValidatorBond = To_Staking_MinValidatorBond(fields[1].Value.([]*registry.DecodedField)) + out.MaxNominatorCount = To_Staking_MaxNominatorCount(fields[2].Value.([]*registry.DecodedField)) + out.MaxValidatorCount = To_Staking_MaxValidatorCount(fields[3].Value.([]*registry.DecodedField)) + out.ChillThreshold = To_Staking_ChillThreshold(fields[4].Value.([]*registry.DecodedField)) + out.MinCommission = To_Staking_MinCommission(fields[5].Value.([]*registry.DecodedField)) + return out +} + // not seen "min_nominator_bond" optional: false repeated: false + // not seen "min_validator_bond" optional: false repeated: false + // not seen "max_nominator_count" optional: false repeated: false + // not seen "max_validator_count" optional: false repeated: false + // not seen "chill_threshold" optional: false repeated: false + // not seen "min_commission" optional: false repeated: false + func To_Staking_SetValidatorCountCall(fields []*registry.DecodedField) *pbgear.Staking_SetValidatorCountCall { - out := &pbgear.Staking_SetValidatorCountCall{} - out.New = To_Staking_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SetValidatorCountCall{} + out.New = To_Staking_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SpArithmeticPerThingsPerbill(fields []*registry.DecodedField) *pbgear.Staking_SpArithmeticPerThingsPerbill { - out := &pbgear.Staking_SpArithmeticPerThingsPerbill{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SpArithmeticPerThingsPerbill{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SpArithmeticPerThingsPercent(fields []*registry.DecodedField) *pbgear.Staking_SpArithmeticPerThingsPercent { - out := &pbgear.Staking_SpArithmeticPerThingsPercent{} - out.Factor = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SpArithmeticPerThingsPercent{} + out.Factor = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.Staking_SpCoreCryptoAccountId32 { - out := &pbgear.Staking_SpCoreCryptoAccountId32{} - out.Invulnerables = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SpCoreCryptoAccountId32{} + out.Invulnerables = To_Staking_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_SpRuntimeMultiaddressMultiAddress(fields []*registry.DecodedField) *pbgear.Staking_SpRuntimeMultiaddressMultiAddress { - out := &pbgear.Staking_SpRuntimeMultiaddressMultiAddress{} - out.Targets = To_Staking_Targets(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_SpRuntimeMultiaddressMultiAddress{} + out.Targets = To_Staking_Targets(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "targets" optional: false repeated: false -// not seen "targets" optional: false repeated: false func To_Staking_Staked(fields []*registry.DecodedField) *pbgear.Staking_Staked { - out := &pbgear.Staking_Staked{} - return out + out := &pbgear.Staking_Staked{} + return out } + func To_Staking_Stash(fields []*registry.DecodedField) *pbgear.Staking_Stash { - out := &pbgear.Staking_Stash{} - return out + out := &pbgear.Staking_Stash{} + return out } -func To_Staking_Targets(fields []*registry.DecodedField) *pbgear.Staking_Targets { - out := &pbgear.Staking_Targets{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Staking_Targets_Id{ - Id: To_Staking_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Staking_Targets_Index{ - Index: To_Staking_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Staking_Targets_Raw{ - Raw: To_Staking_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Staking_Targets_Address32{ - Address32: To_Staking_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Staking_Targets_Address20{ - Address20: To_Staking_Address20(fields), //Passthrough fields... - } - } - return out +func To_Staking_Targets(fields []*registry.DecodedField) *pbgear.Staking_Targets { + out := &pbgear.Staking_Targets{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Staking_Targets_Id{ + Id: To_Staking_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Staking_Targets_Index{ + Index: To_Staking_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Staking_Targets_Raw{ + Raw: To_Staking_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Staking_Targets_Address32{ + Address32: To_Staking_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Staking_Targets_Address20{ + Address20: To_Staking_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Staking_TupleNull(fields []*registry.DecodedField) *pbgear.Staking_TupleNull { - out := &pbgear.Staking_TupleNull{} - return out + out := &pbgear.Staking_TupleNull{} + return out } + func To_Staking_UnbondCall(fields []*registry.DecodedField) *pbgear.Staking_UnbondCall { - out := &pbgear.Staking_UnbondCall{} - out.Value = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_UnbondCall{} + out.Value = To_Staking_CompactString(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Staking_ValidateCall(fields []*registry.DecodedField) *pbgear.Staking_ValidateCall { - out := &pbgear.Staking_ValidateCall{} - out.Prefs = To_Staking_PalletStakingValidatorPrefs(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_ValidateCall{} + out.Prefs = To_Staking_PalletStakingValidatorPrefs(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "prefs" optional: false repeated: false -// not seen "prefs" optional: false repeated: false func To_Staking_WithdrawUnbondedCall(fields []*registry.DecodedField) *pbgear.Staking_WithdrawUnbondedCall { - out := &pbgear.Staking_WithdrawUnbondedCall{} - out.NumSlashingSpans = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Staking_WithdrawUnbondedCall{} + out.NumSlashingSpans = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_KillPrefixCall(fields []*registry.DecodedField) *pbgear.System_KillPrefixCall { - out := &pbgear.System_KillPrefixCall{} - out.Prefix = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.Subkeys = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_KillPrefixCall{} + out.Prefix = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.Subkeys = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_System_KillStorageCall(fields []*registry.DecodedField) *pbgear.System_KillStorageCall { - out := &pbgear.System_KillStorageCall{} - out.Keys = To_repeated_System_SystemKeysList(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_KillStorageCall{} + out.Keys = To_repeated_System_SystemKeysList(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "keys" optional: false repeated: true -// optional primitive: keys + // not seen "keys" optional: false repeated: true + // optional primitive: keys func To_repeated_System_SystemKeysList(fields []*registry.DecodedField) []*pbgear.System_SystemKeysList { - out := make([]*pbgear.System_SystemKeysList, len(fields)) - for _, f := range fields { - out = append(out, To_System_SystemKeysList(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.System_SystemKeysList, len(fields)) + for _, f := range fields { + out = append(out, To_System_SystemKeysList(f.Value.([]*registry.DecodedField))) + } + return out } + func To_System_RemarkCall(fields []*registry.DecodedField) *pbgear.System_RemarkCall { - out := &pbgear.System_RemarkCall{} - out.Remark = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_RemarkCall{} + out.Remark = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_RemarkWithEventCall(fields []*registry.DecodedField) *pbgear.System_RemarkWithEventCall { - out := &pbgear.System_RemarkWithEventCall{} - out.Remark = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_RemarkWithEventCall{} + out.Remark = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_SetCodeCall(fields []*registry.DecodedField) *pbgear.System_SetCodeCall { - out := &pbgear.System_SetCodeCall{} - out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_SetCodeCall{} + out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_SetCodeWithoutChecksCall(fields []*registry.DecodedField) *pbgear.System_SetCodeWithoutChecksCall { - out := &pbgear.System_SetCodeWithoutChecksCall{} - out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_SetCodeWithoutChecksCall{} + out.Code = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_SetHeapPagesCall(fields []*registry.DecodedField) *pbgear.System_SetHeapPagesCall { - out := &pbgear.System_SetHeapPagesCall{} - out.Pages = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_SetHeapPagesCall{} + out.Pages = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_SetStorageCall(fields []*registry.DecodedField) *pbgear.System_SetStorageCall { - out := &pbgear.System_SetStorageCall{} - out.Items = To_repeated_System_TupleSystemItemsListSystemItemsList(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_SetStorageCall{} + out.Items = To_repeated_System_TupleSystemItemsListSystemItemsList(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "items" optional: false repeated: true -// optional primitive: items + // not seen "items" optional: false repeated: true + // optional primitive: items func To_repeated_System_TupleSystemItemsListSystemItemsList(fields []*registry.DecodedField) []*pbgear.System_TupleSystemItemsListSystemItemsList { - out := make([]*pbgear.System_TupleSystemItemsListSystemItemsList, len(fields)) - for _, f := range fields { - out = append(out, To_System_TupleSystemItemsListSystemItemsList(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.System_TupleSystemItemsListSystemItemsList, len(fields)) + for _, f := range fields { + out = append(out, To_System_TupleSystemItemsListSystemItemsList(f.Value.([]*registry.DecodedField))) + } + return out } + func To_System_SystemKeysList(fields []*registry.DecodedField) *pbgear.System_SystemKeysList { - out := &pbgear.System_SystemKeysList{} - out.Keys = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_SystemKeysList{} + out.Keys = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_System_TupleSystemItemsListSystemItemsList(fields []*registry.DecodedField) *pbgear.System_TupleSystemItemsListSystemItemsList { - out := &pbgear.System_TupleSystemItemsListSystemItemsList{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.System_TupleSystemItemsListSystemItemsList{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_bytes(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Timestamp_CompactUint64(fields []*registry.DecodedField) *pbgear.Timestamp_CompactUint64 { - out := &pbgear.Timestamp_CompactUint64{} - out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Timestamp_CompactUint64{} + out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Timestamp_SetCall(fields []*registry.DecodedField) *pbgear.Timestamp_SetCall { - out := &pbgear.Timestamp_SetCall{} - out.Now = To_Timestamp_CompactUint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Timestamp_SetCall{} + out.Now = To_Timestamp_CompactUint64(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "now" optional: false repeated: false -// not seen "now" optional: false repeated: false func To_Treasury_Address20(fields []*registry.DecodedField) *pbgear.Treasury_Address20 { - out := &pbgear.Treasury_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_Address32(fields []*registry.DecodedField) *pbgear.Treasury_Address32 { - out := &pbgear.Treasury_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_ApproveProposalCall(fields []*registry.DecodedField) *pbgear.Treasury_ApproveProposalCall { - out := &pbgear.Treasury_ApproveProposalCall{} - out.ProposalId = To_Treasury_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_ApproveProposalCall{} + out.ProposalId = To_Treasury_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "proposal_id" optional: false repeated: false -// not seen "proposal_id" optional: false repeated: false func To_Treasury_Beneficiary(fields []*registry.DecodedField) *pbgear.Treasury_Beneficiary { - out := &pbgear.Treasury_Beneficiary{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Treasury_Beneficiary_Id{ - Id: To_Treasury_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Treasury_Beneficiary_Index{ - Index: To_Treasury_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Treasury_Beneficiary_Raw{ - Raw: To_Treasury_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Treasury_Beneficiary_Address32{ - Address32: To_Treasury_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Treasury_Beneficiary_Address20{ - Address20: To_Treasury_Address20(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Treasury_Beneficiary{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Treasury_Beneficiary_Id{ + Id: To_Treasury_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Treasury_Beneficiary_Index{ + Index: To_Treasury_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Treasury_Beneficiary_Raw{ + Raw: To_Treasury_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Treasury_Beneficiary_Address32{ + Address32: To_Treasury_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Treasury_Beneficiary_Address20{ + Address20: To_Treasury_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Treasury_CheckStatusCall(fields []*registry.DecodedField) *pbgear.Treasury_CheckStatusCall { - out := &pbgear.Treasury_CheckStatusCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_CheckStatusCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_CompactString(fields []*registry.DecodedField) *pbgear.Treasury_CompactString { - out := &pbgear.Treasury_CompactString{} - out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_CompactString{} + out.Value = To_string(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Treasury_CompactTupleNull { - out := &pbgear.Treasury_CompactTupleNull{} - out.Value = To_Treasury_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_CompactTupleNull{} + out.Value = To_Treasury_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Treasury_CompactUint32(fields []*registry.DecodedField) *pbgear.Treasury_CompactUint32 { - out := &pbgear.Treasury_CompactUint32{} - out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_CompactUint32{} + out.Value = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_Id(fields []*registry.DecodedField) *pbgear.Treasury_Id { - out := &pbgear.Treasury_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_Index(fields []*registry.DecodedField) *pbgear.Treasury_Index { - out := &pbgear.Treasury_Index{} - out.Value0 = To_Treasury_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_Index{} + out.Value0 = To_Treasury_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Treasury_PayoutCall(fields []*registry.DecodedField) *pbgear.Treasury_PayoutCall { - out := &pbgear.Treasury_PayoutCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_PayoutCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_ProposeSpendCall(fields []*registry.DecodedField) *pbgear.Treasury_ProposeSpendCall { - out := &pbgear.Treasury_ProposeSpendCall{} - out.Value = To_Treasury_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.Beneficiary = To_Treasury_Beneficiary(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_ProposeSpendCall{} + out.Value = To_Treasury_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.Beneficiary = To_Treasury_Beneficiary(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false + // not seen "beneficiary" optional: false repeated: false -// not seen "value" optional: false repeated: false -// not seen "beneficiary" optional: false repeated: false func To_Treasury_Raw(fields []*registry.DecodedField) *pbgear.Treasury_Raw { - out := &pbgear.Treasury_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_RejectProposalCall(fields []*registry.DecodedField) *pbgear.Treasury_RejectProposalCall { - out := &pbgear.Treasury_RejectProposalCall{} - out.ProposalId = To_Treasury_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_RejectProposalCall{} + out.ProposalId = To_Treasury_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_RemoveApprovalCall(fields []*registry.DecodedField) *pbgear.Treasury_RemoveApprovalCall { - out := &pbgear.Treasury_RemoveApprovalCall{} - out.ProposalId = To_Treasury_CompactUint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_RemoveApprovalCall{} + out.ProposalId = To_Treasury_CompactUint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_SpCoreCryptoAccountId32(fields []*registry.DecodedField) *pbgear.Treasury_SpCoreCryptoAccountId32 { - out := &pbgear.Treasury_SpCoreCryptoAccountId32{} - out.Beneficiary = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_SpCoreCryptoAccountId32{} + out.Beneficiary = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_SpendCall(fields []*registry.DecodedField) *pbgear.Treasury_SpendCall { - out := &pbgear.Treasury_SpendCall{} - out.AssetKind = To_Treasury_TupleNull(fields[0].Value.([]*registry.DecodedField)) - out.Amount = To_Treasury_CompactString(fields[1].Value.([]*registry.DecodedField)) - out.Beneficiary = To_Treasury_SpCoreCryptoAccountId32(fields[2].Value.([]*registry.DecodedField)) - out.ValidFrom = To_optional_uint32(fields[3].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_SpendCall{} + out.AssetKind = To_Treasury_TupleNull(fields[0].Value.([]*registry.DecodedField)) + out.Amount = To_Treasury_CompactString(fields[1].Value.([]*registry.DecodedField)) + out.Beneficiary = To_Treasury_SpCoreCryptoAccountId32(fields[2].Value.([]*registry.DecodedField)) + out.ValidFrom = To_optional_uint32(fields[3].Value.([]*registry.DecodedField)) + return out } + // not seen "beneficiary" optional: false repeated: false -// not seen "beneficiary" optional: false repeated: false func To_Treasury_SpendLocalCall(fields []*registry.DecodedField) *pbgear.Treasury_SpendLocalCall { - out := &pbgear.Treasury_SpendLocalCall{} - out.Amount = To_Treasury_CompactString(fields[0].Value.([]*registry.DecodedField)) - out.Beneficiary = To_Treasury_Beneficiary(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_SpendLocalCall{} + out.Amount = To_Treasury_CompactString(fields[0].Value.([]*registry.DecodedField)) + out.Beneficiary = To_Treasury_Beneficiary(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Treasury_TupleNull(fields []*registry.DecodedField) *pbgear.Treasury_TupleNull { - out := &pbgear.Treasury_TupleNull{} - return out + out := &pbgear.Treasury_TupleNull{} + return out } + func To_Treasury_VoidSpendCall(fields []*registry.DecodedField) *pbgear.Treasury_VoidSpendCall { - out := &pbgear.Treasury_VoidSpendCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Treasury_VoidSpendCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature(fields []*registry.DecodedField) *pbgear.TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature { - out := &pbgear.TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature{} - out.Value0 = To_FinalityGrandpaPrevote(fields[0].Value.([]*registry.DecodedField)) - out.Value1 = To_SpConsensusGrandpaAppSignature(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature{} + out.Value0 = To_FinalityGrandpaPrevote(fields[0].Value.([]*registry.DecodedField)) + out.Value1 = To_SpConsensusGrandpaAppSignature(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false + // not seen "value1" optional: false repeated: false -// not seen "value0" optional: false repeated: false -// not seen "value1" optional: false repeated: false func To_Utility_AsDerivativeCall(fields []*registry.DecodedField) *pbgear.Utility_AsDerivativeCall { - out := &pbgear.Utility_AsDerivativeCall{} - out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Utility_AsDerivativeCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Utility_AsDerivativeCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Utility_AsDerivativeCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Utility_AsDerivativeCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Utility_AsDerivativeCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Utility_AsDerivativeCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Utility_AsDerivativeCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Utility_AsDerivativeCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Utility_AsDerivativeCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Utility_AsDerivativeCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Utility_AsDerivativeCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Utility_AsDerivativeCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Utility_AsDerivativeCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Utility_AsDerivativeCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Utility_AsDerivativeCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Utility_AsDerivativeCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Utility_AsDerivativeCall{} + out.Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Utility_AsDerivativeCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Utility_AsDerivativeCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Utility_AsDerivativeCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Utility_AsDerivativeCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Utility_AsDerivativeCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Utility_AsDerivativeCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Utility_AsDerivativeCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Utility_AsDerivativeCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Utility_AsDerivativeCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Utility_AsDerivativeCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Utility_AsDerivativeCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Utility_AsDerivativeCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Utility_AsDerivativeCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Utility_AsDerivativeCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Utility_AsDerivativeCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Utility_AsDerivativeCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out +} + // not seen "call" optional: false repeated: false -// not seen "call" optional: false repeated: false func To_Utility_AsOrigin(fields []*registry.DecodedField) *pbgear.Utility_AsOrigin { - out := &pbgear.Utility_AsOrigin{} + out := &pbgear.Utility_AsOrigin{} + + switch { + case matchFields(fields, []int64{121}): + out.Value = &pbgear.Utility_AsOrigin_System{ + System: To_Utility_System(fields), //Passthrough fields... + } + case matchFields(fields, []int64{122}): + out.Value = &pbgear.Utility_AsOrigin_Origins{ + Origins: To_Utility_Origins(fields), //Passthrough fields... + } + case matchFields(fields, []int64{123}): + out.Value = &pbgear.Utility_AsOrigin_Void{ + Void: To_Utility_Void(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false - switch { - case matchFields(fields, []int64{121}): - out.Value = &pbgear.Utility_AsOrigin_System{ - System: To_Utility_System(fields), //Passthrough fields... - } - case matchFields(fields, []int64{122}): - out.Value = &pbgear.Utility_AsOrigin_Origins{ - Origins: To_Utility_Origins(fields), //Passthrough fields... - } - case matchFields(fields, []int64{123}): - out.Value = &pbgear.Utility_AsOrigin_Void{ - Void: To_Utility_Void(fields), //Passthrough fields... - } - } - return out -} - -// not seen "value" optional: false repeated: false func To_Utility_BatchAllCall(fields []*registry.DecodedField) *pbgear.Utility_BatchAllCall { - out := &pbgear.Utility_BatchAllCall{} - out.Calls = To_repeated_Utility_VaraRuntimeRuntimeCall(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_BatchAllCall{} + out.Calls = To_repeated_Utility_VaraRuntimeRuntimeCall(fields[0].Value.([]*registry.DecodedField)) + return out } - -// not seen "calls" optional: false repeated: true -// optional primitive: calls + // not seen "calls" optional: false repeated: true + // optional primitive: calls func To_repeated_Utility_VaraRuntimeRuntimeCall(fields []*registry.DecodedField) []*pbgear.Utility_VaraRuntimeRuntimeCall { - out := make([]*pbgear.Utility_VaraRuntimeRuntimeCall, len(fields)) - for _, f := range fields { - out = append(out, To_Utility_VaraRuntimeRuntimeCall(f.Value.([]*registry.DecodedField))) - } - return out + out := make([]*pbgear.Utility_VaraRuntimeRuntimeCall, len(fields)) + for _, f := range fields { + out = append(out, To_Utility_VaraRuntimeRuntimeCall(f.Value.([]*registry.DecodedField))) + } + return out } + func To_Utility_BatchCall(fields []*registry.DecodedField) *pbgear.Utility_BatchCall { - out := &pbgear.Utility_BatchCall{} - out.Calls = To_repeated_Utility_VaraRuntimeRuntimeCall(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_BatchCall{} + out.Calls = To_repeated_Utility_VaraRuntimeRuntimeCall(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Utility_CompactUint64(fields []*registry.DecodedField) *pbgear.Utility_CompactUint64 { - out := &pbgear.Utility_CompactUint64{} - out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_CompactUint64{} + out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Utility_DispatchAsCall(fields []*registry.DecodedField) *pbgear.Utility_DispatchAsCall { - out := &pbgear.Utility_DispatchAsCall{} - out.AsOrigin = To_Utility_AsOrigin(fields[0].Value.([]*registry.DecodedField)) - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Utility_DispatchAsCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Utility_DispatchAsCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Utility_DispatchAsCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Utility_DispatchAsCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Utility_DispatchAsCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Utility_DispatchAsCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Utility_DispatchAsCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Utility_DispatchAsCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Utility_DispatchAsCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Utility_DispatchAsCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Utility_DispatchAsCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Utility_DispatchAsCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Utility_DispatchAsCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Utility_DispatchAsCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Utility_DispatchAsCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Utility_DispatchAsCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out -} +func To_Utility_DispatchAsCall(fields []*registry.DecodedField) *pbgear.Utility_DispatchAsCall { + out := &pbgear.Utility_DispatchAsCall{} + out.AsOrigin = To_Utility_AsOrigin(fields[0].Value.([]*registry.DecodedField)) + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Utility_DispatchAsCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Utility_DispatchAsCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Utility_DispatchAsCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Utility_DispatchAsCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Utility_DispatchAsCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Utility_DispatchAsCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Utility_DispatchAsCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Utility_DispatchAsCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Utility_DispatchAsCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Utility_DispatchAsCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Utility_DispatchAsCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Utility_DispatchAsCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Utility_DispatchAsCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Utility_DispatchAsCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Utility_DispatchAsCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Utility_DispatchAsCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out +} + // not seen "as_origin" optional: false repeated: false -// not seen "as_origin" optional: false repeated: false func To_Utility_ForceBatchCall(fields []*registry.DecodedField) *pbgear.Utility_ForceBatchCall { - out := &pbgear.Utility_ForceBatchCall{} - out.Calls = To_repeated_Utility_VaraRuntimeRuntimeCall(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_ForceBatchCall{} + out.Calls = To_repeated_Utility_VaraRuntimeRuntimeCall(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Utility_Origins(fields []*registry.DecodedField) *pbgear.Utility_Origins { - out := &pbgear.Utility_Origins{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_Origins{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Utility_SpWeightsWeightV2Weight(fields []*registry.DecodedField) *pbgear.Utility_SpWeightsWeightV2Weight { - out := &pbgear.Utility_SpWeightsWeightV2Weight{} - out.RefTime = To_Utility_CompactUint64(fields[0].Value.([]*registry.DecodedField)) - out.ProofSize = To_Utility_CompactUint64(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_SpWeightsWeightV2Weight{} + out.RefTime = To_Utility_CompactUint64(fields[0].Value.([]*registry.DecodedField)) + out.ProofSize = To_Utility_CompactUint64(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "ref_time" optional: false repeated: false -// not seen "ref_time" optional: false repeated: false func To_Utility_System(fields []*registry.DecodedField) *pbgear.Utility_System { - out := &pbgear.Utility_System{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_System{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Utility_VaraRuntimeRuntimeCall(fields []*registry.DecodedField) *pbgear.Utility_VaraRuntimeRuntimeCall { - out := &pbgear.Utility_VaraRuntimeRuntimeCall{} - switch { - case matchFields(fields, []int64{66}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out -} +func To_Utility_VaraRuntimeRuntimeCall(fields []*registry.DecodedField) *pbgear.Utility_VaraRuntimeRuntimeCall { + out := &pbgear.Utility_VaraRuntimeRuntimeCall{} + + switch { + case matchFields(fields, []int64{66}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Calls = &pbgear.Utility_VaraRuntimeRuntimeCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out +} + // not seen "calls" optional: false repeated: false -// not seen "calls" optional: false repeated: false func To_Utility_Void(fields []*registry.DecodedField) *pbgear.Utility_Void { - out := &pbgear.Utility_Void{} - out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Utility_Void{} + out.Value0 = To_Value0(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Utility_WithWeightCall(fields []*registry.DecodedField) *pbgear.Utility_WithWeightCall { - out := &pbgear.Utility_WithWeightCall{} - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Utility_WithWeightCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Utility_WithWeightCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Utility_WithWeightCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Utility_WithWeightCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Utility_WithWeightCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Utility_WithWeightCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Utility_WithWeightCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Utility_WithWeightCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Utility_WithWeightCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Utility_WithWeightCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Utility_WithWeightCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Utility_WithWeightCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Utility_WithWeightCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Utility_WithWeightCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Utility_WithWeightCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Utility_WithWeightCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Utility_WithWeightCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Utility_WithWeightCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Utility_WithWeightCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Utility_WithWeightCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Utility_WithWeightCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Utility_WithWeightCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Utility_WithWeightCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - out.Weight = To_Utility_SpWeightsWeightV2Weight(fields[1].Value.([]*registry.DecodedField)) - return out -} +func To_Utility_WithWeightCall(fields []*registry.DecodedField) *pbgear.Utility_WithWeightCall { + out := &pbgear.Utility_WithWeightCall{} + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Utility_WithWeightCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Utility_WithWeightCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Utility_WithWeightCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Utility_WithWeightCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Utility_WithWeightCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Utility_WithWeightCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Utility_WithWeightCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Utility_WithWeightCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Utility_WithWeightCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Utility_WithWeightCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Utility_WithWeightCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Utility_WithWeightCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Utility_WithWeightCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Utility_WithWeightCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Utility_WithWeightCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Utility_WithWeightCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Utility_WithWeightCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Utility_WithWeightCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Utility_WithWeightCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Utility_WithWeightCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Utility_WithWeightCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Utility_WithWeightCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Utility_WithWeightCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + out.Weight = To_Utility_SpWeightsWeightV2Weight(fields[1].Value.([]*registry.DecodedField)) + return out +} + // not seen "weight" optional: false repeated: false -// not seen "weight" optional: false repeated: false func To_Value0(fields []*registry.DecodedField) *pbgear.Value0 { - out := &pbgear.Value0{} - - switch { - case matchFields(fields, []int64{}): - out.Value = &pbgear.Value0_Root{ - Root: To_Root(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Value0{} + + switch { + case matchFields(fields, []int64{}): + out.Value = &pbgear.Value0_Root{ + Root: To_Root(fields), //Passthrough fields... + } + } + return out } + func To_Vesting_Address20(fields []*registry.DecodedField) *pbgear.Vesting_Address20 { - out := &pbgear.Vesting_Address20{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_Address20{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Vesting_Address32(fields []*registry.DecodedField) *pbgear.Vesting_Address32 { - out := &pbgear.Vesting_Address32{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_Address32{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Vesting_CompactTupleNull(fields []*registry.DecodedField) *pbgear.Vesting_CompactTupleNull { - out := &pbgear.Vesting_CompactTupleNull{} - out.Value = To_Vesting_TupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_CompactTupleNull{} + out.Value = To_Vesting_TupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Vesting_ForceVestedTransferCall(fields []*registry.DecodedField) *pbgear.Vesting_ForceVestedTransferCall { - out := &pbgear.Vesting_ForceVestedTransferCall{} - out.Source = To_Vesting_Source(fields[0].Value.([]*registry.DecodedField)) - out.Target = To_Vesting_Target(fields[1].Value.([]*registry.DecodedField)) - out.Schedule = To_Vesting_PalletVestingVestingInfoVestingInfo(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_ForceVestedTransferCall{} + out.Source = To_Vesting_Source(fields[0].Value.([]*registry.DecodedField)) + out.Target = To_Vesting_Target(fields[1].Value.([]*registry.DecodedField)) + out.Schedule = To_Vesting_PalletVestingVestingInfoVestingInfo(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "source" optional: false repeated: false + // not seen "target" optional: false repeated: false + // not seen "schedule" optional: false repeated: false -// not seen "source" optional: false repeated: false -// not seen "target" optional: false repeated: false -// not seen "schedule" optional: false repeated: false func To_Vesting_Id(fields []*registry.DecodedField) *pbgear.Vesting_Id { - out := &pbgear.Vesting_Id{} - out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_Id{} + out.Value0 = To_SpCoreCryptoAccountId32(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Vesting_Index(fields []*registry.DecodedField) *pbgear.Vesting_Index { - out := &pbgear.Vesting_Index{} - out.Value0 = To_Vesting_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_Index{} + out.Value0 = To_Vesting_CompactTupleNull(fields[0].Value.([]*registry.DecodedField)) + return out } + // not seen "value0" optional: false repeated: false -// not seen "value0" optional: false repeated: false func To_Vesting_MergeSchedulesCall(fields []*registry.DecodedField) *pbgear.Vesting_MergeSchedulesCall { - out := &pbgear.Vesting_MergeSchedulesCall{} - out.Schedule1Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) - out.Schedule2Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_MergeSchedulesCall{} + out.Schedule1Index = To_uint32(fields[0].Value.([]*registry.DecodedField)) + out.Schedule2Index = To_uint32(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Vesting_PalletVestingVestingInfoVestingInfo(fields []*registry.DecodedField) *pbgear.Vesting_PalletVestingVestingInfoVestingInfo { - out := &pbgear.Vesting_PalletVestingVestingInfoVestingInfo{} - out.Locked = To_string(fields[0].Value.([]*registry.DecodedField)) - out.PerBlock = To_string(fields[1].Value.([]*registry.DecodedField)) - out.StartingBlock = To_uint32(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_PalletVestingVestingInfoVestingInfo{} + out.Locked = To_string(fields[0].Value.([]*registry.DecodedField)) + out.PerBlock = To_string(fields[1].Value.([]*registry.DecodedField)) + out.StartingBlock = To_uint32(fields[2].Value.([]*registry.DecodedField)) + return out } + func To_Vesting_Raw(fields []*registry.DecodedField) *pbgear.Vesting_Raw { - out := &pbgear.Vesting_Raw{} - out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_Raw{} + out.Value0 = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } -func To_Vesting_Source(fields []*registry.DecodedField) *pbgear.Vesting_Source { - out := &pbgear.Vesting_Source{} - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Vesting_Source_Id{ - Id: To_Vesting_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Vesting_Source_Index{ - Index: To_Vesting_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Vesting_Source_Raw{ - Raw: To_Vesting_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Vesting_Source_Address32{ - Address32: To_Vesting_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Vesting_Source_Address20{ - Address20: To_Vesting_Address20(fields), //Passthrough fields... - } - } - return out -} +func To_Vesting_Source(fields []*registry.DecodedField) *pbgear.Vesting_Source { + out := &pbgear.Vesting_Source{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Vesting_Source_Id{ + Id: To_Vesting_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Vesting_Source_Index{ + Index: To_Vesting_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Vesting_Source_Raw{ + Raw: To_Vesting_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Vesting_Source_Address32{ + Address32: To_Vesting_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Vesting_Source_Address20{ + Address20: To_Vesting_Address20(fields), //Passthrough fields... + } + } + return out +} + // not seen "value" optional: false repeated: false -// not seen "value" optional: false repeated: false func To_Vesting_Target(fields []*registry.DecodedField) *pbgear.Vesting_Target { - out := &pbgear.Vesting_Target{} - - switch { - case matchFields(fields, []int64{0}): - out.Value = &pbgear.Vesting_Target_Id{ - Id: To_Vesting_Id(fields), //Passthrough fields... - } - case matchFields(fields, []int64{95}): - out.Value = &pbgear.Vesting_Target_Index{ - Index: To_Vesting_Index(fields), //Passthrough fields... - } - case matchFields(fields, []int64{13}): - out.Value = &pbgear.Vesting_Target_Raw{ - Raw: To_Vesting_Raw(fields), //Passthrough fields... - } - case matchFields(fields, []int64{1}): - out.Value = &pbgear.Vesting_Target_Address32{ - Address32: To_Vesting_Address32(fields), //Passthrough fields... - } - case matchFields(fields, []int64{96}): - out.Value = &pbgear.Vesting_Target_Address20{ - Address20: To_Vesting_Address20(fields), //Passthrough fields... - } - } - return out + out := &pbgear.Vesting_Target{} + + switch { + case matchFields(fields, []int64{0}): + out.Value = &pbgear.Vesting_Target_Id{ + Id: To_Vesting_Id(fields), //Passthrough fields... + } + case matchFields(fields, []int64{95}): + out.Value = &pbgear.Vesting_Target_Index{ + Index: To_Vesting_Index(fields), //Passthrough fields... + } + case matchFields(fields, []int64{13}): + out.Value = &pbgear.Vesting_Target_Raw{ + Raw: To_Vesting_Raw(fields), //Passthrough fields... + } + case matchFields(fields, []int64{1}): + out.Value = &pbgear.Vesting_Target_Address32{ + Address32: To_Vesting_Address32(fields), //Passthrough fields... + } + case matchFields(fields, []int64{96}): + out.Value = &pbgear.Vesting_Target_Address20{ + Address20: To_Vesting_Address20(fields), //Passthrough fields... + } + } + return out } + func To_Vesting_TupleNull(fields []*registry.DecodedField) *pbgear.Vesting_TupleNull { - out := &pbgear.Vesting_TupleNull{} - return out + out := &pbgear.Vesting_TupleNull{} + return out } + func To_Vesting_VestCall(fields []*registry.DecodedField) *pbgear.Vesting_VestCall { - out := &pbgear.Vesting_VestCall{} - return out + out := &pbgear.Vesting_VestCall{} + return out } + func To_Vesting_VestOtherCall(fields []*registry.DecodedField) *pbgear.Vesting_VestOtherCall { - out := &pbgear.Vesting_VestOtherCall{} - out.Target = To_Vesting_Target(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_VestOtherCall{} + out.Target = To_Vesting_Target(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Vesting_VestedTransferCall(fields []*registry.DecodedField) *pbgear.Vesting_VestedTransferCall { - out := &pbgear.Vesting_VestedTransferCall{} - out.Target = To_Vesting_Target(fields[0].Value.([]*registry.DecodedField)) - out.Schedule = To_Vesting_PalletVestingVestingInfoVestingInfo(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Vesting_VestedTransferCall{} + out.Target = To_Vesting_Target(fields[0].Value.([]*registry.DecodedField)) + out.Schedule = To_Vesting_PalletVestingVestingInfoVestingInfo(fields[1].Value.([]*registry.DecodedField)) + return out } + func To_Whitelist_CompactUint64(fields []*registry.DecodedField) *pbgear.Whitelist_CompactUint64 { - out := &pbgear.Whitelist_CompactUint64{} - out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Whitelist_CompactUint64{} + out.Value = To_uint64(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Whitelist_DispatchWhitelistedCallCall(fields []*registry.DecodedField) *pbgear.Whitelist_DispatchWhitelistedCallCall { - out := &pbgear.Whitelist_DispatchWhitelistedCallCall{} - out.CallHash = To_Whitelist_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - out.CallEncodedLen = To_uint32(fields[1].Value.([]*registry.DecodedField)) - out.CallWeightWitness = To_Whitelist_SpWeightsWeightV2Weight(fields[2].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Whitelist_DispatchWhitelistedCallCall{} + out.CallHash = To_Whitelist_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + out.CallEncodedLen = To_uint32(fields[1].Value.([]*registry.DecodedField)) + out.CallWeightWitness = To_Whitelist_SpWeightsWeightV2Weight(fields[2].Value.([]*registry.DecodedField)) + return out } + // not seen "call_hash" optional: false repeated: false + // not seen "call_weight_witness" optional: false repeated: false -// not seen "call_hash" optional: false repeated: false -// not seen "call_weight_witness" optional: false repeated: false func To_Whitelist_DispatchWhitelistedCallWithPreimageCall(fields []*registry.DecodedField) *pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall { - out := &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall{} - - switch { - case matchFields(fields, []int64{66}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemRemark{ - SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{70}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetHeapPages{ - SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{71}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetCode{ - SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{81}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetCodeWithoutChecks{ - SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{93}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetStorage{ - SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{98}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemKillStorage{ - SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{100}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemKillPrefix{ - SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{101}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemRemarkWithEvent{ - SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{105}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_TimestampSet{ - TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{113}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BabeReportEquivocation{ - BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{116}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BabeReportEquivocationUnsigned{ - BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{118}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BabePlanConfigChange{ - BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{124}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_GrandpaReportEquivocation{ - GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{129}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_GrandpaReportEquivocationUnsigned{ - GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{132}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_GrandpaNoteStalled{ - GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{133}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesTransferAllowDeath{ - BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{134}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesForceTransfer{ - BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{135}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesTransferKeepAlive{ - BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{138}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesTransferAll{ - BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{140}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesForceUnreserve{ - BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{182}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesUpgradeAccounts{ - BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{185}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesForceSetBalance{ - BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{188}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingVest{ - VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{249}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingVestOther{ - VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{250}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingVestedTransfer{ - VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{251}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingForceVestedTransfer{ - VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{262}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingMergeSchedules{ - VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{267}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BagsListRebag{ - BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... - } - case matchFields(fields, []int64{268}): - out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BagsListPutInFrontOf{ - BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... - } - } - return out -} + out := &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall{} + + switch { + case matchFields(fields, []int64{66}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemRemark{ + SystemRemark: To_System_RemarkCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{70}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetHeapPages{ + SystemSetHeapPages: To_System_SetHeapPagesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{71}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetCode{ + SystemSetCode: To_System_SetCodeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{81}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetCodeWithoutChecks{ + SystemSetCodeWithoutChecks: To_System_SetCodeWithoutChecksCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{93}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemSetStorage{ + SystemSetStorage: To_System_SetStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{98}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemKillStorage{ + SystemKillStorage: To_System_KillStorageCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{100}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemKillPrefix{ + SystemKillPrefix: To_System_KillPrefixCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{101}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_SystemRemarkWithEvent{ + SystemRemarkWithEvent: To_System_RemarkWithEventCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{105}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_TimestampSet{ + TimestampSet: To_Timestamp_SetCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{113}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BabeReportEquivocation{ + BabeReportEquivocation: To_Babe_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{116}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BabeReportEquivocationUnsigned{ + BabeReportEquivocationUnsigned: To_Babe_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{118}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BabePlanConfigChange{ + BabePlanConfigChange: To_Babe_PlanConfigChangeCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{124}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_GrandpaReportEquivocation{ + GrandpaReportEquivocation: To_Grandpa_ReportEquivocationCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{129}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_GrandpaReportEquivocationUnsigned{ + GrandpaReportEquivocationUnsigned: To_Grandpa_ReportEquivocationUnsignedCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{132}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_GrandpaNoteStalled{ + GrandpaNoteStalled: To_Grandpa_NoteStalledCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{133}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesTransferAllowDeath{ + BalancesTransferAllowDeath: To_Balances_TransferAllowDeathCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{134}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesForceTransfer{ + BalancesForceTransfer: To_Balances_ForceTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{135}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesTransferKeepAlive{ + BalancesTransferKeepAlive: To_Balances_TransferKeepAliveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{138}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesTransferAll{ + BalancesTransferAll: To_Balances_TransferAllCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{140}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesForceUnreserve{ + BalancesForceUnreserve: To_Balances_ForceUnreserveCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{182}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesUpgradeAccounts{ + BalancesUpgradeAccounts: To_Balances_UpgradeAccountsCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{185}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BalancesForceSetBalance{ + BalancesForceSetBalance: To_Balances_ForceSetBalanceCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{188}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingVest{ + VestingVest: To_Vesting_VestCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{249}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingVestOther{ + VestingVestOther: To_Vesting_VestOtherCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{250}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingVestedTransfer{ + VestingVestedTransfer: To_Vesting_VestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{251}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingForceVestedTransfer{ + VestingForceVestedTransfer: To_Vesting_ForceVestedTransferCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{262}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_VestingMergeSchedules{ + VestingMergeSchedules: To_Vesting_MergeSchedulesCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{267}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BagsListRebag{ + BagsListRebag: To_BagsList_RebagCall(fields), //Passthrough fields... + } + case matchFields(fields, []int64{268}): + out.Call = &pbgear.Whitelist_DispatchWhitelistedCallWithPreimageCall_BagsListPutInFrontOf{ + BagsListPutInFrontOf: To_BagsList_PutInFrontOfCall(fields), //Passthrough fields... + } + } + return out +} + // not seen "call" optional: false repeated: false -// not seen "call" optional: false repeated: false func To_Whitelist_PrimitiveTypesH256(fields []*registry.DecodedField) *pbgear.Whitelist_PrimitiveTypesH256 { - out := &pbgear.Whitelist_PrimitiveTypesH256{} - out.CallHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Whitelist_PrimitiveTypesH256{} + out.CallHash = To_bytes(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Whitelist_RemoveWhitelistedCallCall(fields []*registry.DecodedField) *pbgear.Whitelist_RemoveWhitelistedCallCall { - out := &pbgear.Whitelist_RemoveWhitelistedCallCall{} - out.CallHash = To_Whitelist_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Whitelist_RemoveWhitelistedCallCall{} + out.CallHash = To_Whitelist_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_Whitelist_SpWeightsWeightV2Weight(fields []*registry.DecodedField) *pbgear.Whitelist_SpWeightsWeightV2Weight { - out := &pbgear.Whitelist_SpWeightsWeightV2Weight{} - out.RefTime = To_Whitelist_CompactUint64(fields[0].Value.([]*registry.DecodedField)) - out.ProofSize = To_Whitelist_CompactUint64(fields[1].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Whitelist_SpWeightsWeightV2Weight{} + out.RefTime = To_Whitelist_CompactUint64(fields[0].Value.([]*registry.DecodedField)) + out.ProofSize = To_Whitelist_CompactUint64(fields[1].Value.([]*registry.DecodedField)) + return out } + // not seen "ref_time" optional: false repeated: false -// not seen "ref_time" optional: false repeated: false func To_Whitelist_WhitelistCallCall(fields []*registry.DecodedField) *pbgear.Whitelist_WhitelistCallCall { - out := &pbgear.Whitelist_WhitelistCallCall{} - out.CallHash = To_Whitelist_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.Whitelist_WhitelistCallCall{} + out.CallHash = To_Whitelist_PrimitiveTypesH256(fields[0].Value.([]*registry.DecodedField)) + return out } + func To_conviction_voting_PalletConvictionVotingVoteVote(fields []*registry.DecodedField) *pbgear.conviction_voting_PalletConvictionVotingVoteVote { - out := &pbgear.conviction_voting_PalletConvictionVotingVoteVote{} - out.Vote = To_uint32(fields[0].Value.([]*registry.DecodedField)) - return out + out := &pbgear.conviction_voting_PalletConvictionVotingVoteVote{} + out.Vote = To_uint32(fields[0].Value.([]*registry.DecodedField)) + return out +} + + + + } + func matchFields(fields []*registry.DecodedField, ids []int64) bool { if len(fields) != len(ids) { return false } for i, f := range fields { - if ids[i] != f.LookupIndex { + if ids[i] != f.LookupIndex{ return false } } @@ -7307,44 +7775,44 @@ func matchFields(fields []*registry.DecodedField, ids []int64) bool { } func To_bytes(fields []*registry.DecodedField) []byte { - var out []byte + var out []byte - data := fields[0].Value.([]interface{}) - for _, f := range data { - u := uint8(f.(types.U8)) - out = append(out, byte(u)) - } - return out + data := fields[0].Value.([]interface{}) + for _, f := range data { + u := uint8(f.(types.U8)) + out = append(out, byte(u)) + } + return out } func To_string(fields []*registry.DecodedField) string { - return string(To_bytes(fields)) + return string(To_bytes(fields)) } func To_uint32(fields []*registry.DecodedField) uint32 { - return fields[0].Value.(uint32) + return fields[0].Value.(uint32) } func To_uint64(fields []*registry.DecodedField) uint64 { - return fields[0].Value.(uint64) + return fields[0].Value.(uint64) } func To_bool(fields []*registry.DecodedField) bool { - return fields[0].Value.(bool) + return fields[0].Value.(bool) } func To_optional_string(fields []*registry.DecodedField) *string { - return string(To_bytes(fields)) + return string(To_bytes(fields)) } func To_optional_uint32(fields []*registry.DecodedField) *uint32 { - return fields[0].Value.(*uint32) + return fields[0].Value.(*uint32) } func To_optional_uint64(fields []*registry.DecodedField) *uint64 { - return fields[0].Value.(*uint64) + return fields[0].Value.(*uint64) } func To_optional_bool(fields []*registry.DecodedField) *bool { - return fields[0].Value.(*bool) + return fields[0].Value.(*bool) } diff --git a/templates/gen_types.go.gotmpl b/templates/gen_types.go.gotmpl index bc36871..a93e752 100644 --- a/templates/gen_types.go.gotmpl +++ b/templates/gen_types.go.gotmpl @@ -47,6 +47,7 @@ func {{ $msg.ToFuncName $metadata }}(fields []*registry.DecodedField) {{ $msg.Re {{- /* ============================= */}} {{- if $field.IsOptional }} // optional field: {{ $field.Name}} + {{- template "optionalField" wrap (newWrapItem "field" $field) }} {{- end}} {{- if $field.IsRepeated }} // optional primitive: {{ $field.Name}} @@ -84,6 +85,11 @@ func {{ $field.ToFuncName $meta}}(in *registry.DecodedField) *{{ $field.ReturnTy {{- end }} +{{- /* ============================= */}} +{{- /* TODO ONE OF FIELD SELECTION */}} +{{- /* ============================= */}} + + {{- /* ============================= */}} {{- /* REPEATED FIELD */}} {{- /* ============================= */}} @@ -99,7 +105,19 @@ func {{ $field.ToFuncName $meta}}(fields []*registry.DecodedField) {{ $field.Ret return out } {{- end }} +{{- /* ============================= */}} +{{- /* OPTIONAL FIELD */}} +{{- /* ============================= */}} +{{ define "optionalField" }} + {{- $field := .field }} + {{- $meta := .generator.Metadata }} + {{- $goType := $field.ToGoTypeName $meta }} +func {{ $field.ToFuncName $meta}}(fields []*registry.DecodedField) {{ $field.ReturnType $meta }} { + var out = {{$field.ToChildFuncName $meta}}(fields) + return out +} +{{- end }}} {{- /* ============================= */}} {{- /* REPEATED PRIMITIVE */}} {{- /* ============================= */}}