@@ -17,6 +17,7 @@ import type {
1717 MultiAddressLike,
1818 AccountId32Like,
1919 Percent,
20+ Perquintill,
2021 EthereumAddress,
2122 EthereumAddressLike,
2223 PerU16,
@@ -69,6 +70,7 @@ export type PaseoRuntimeRuntimeEvent =
6970 | { pallet: 'ConvictionVoting'; palletEvent: PalletConvictionVotingEvent }
7071 | { pallet: 'Referenda'; palletEvent: PalletReferendaEvent }
7172 | { pallet: 'Whitelist'; palletEvent: PalletWhitelistEvent }
73+ | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
7274 | { pallet: 'Claims'; palletEvent: PolkadotRuntimeCommonClaimsPalletEvent }
7375 | { pallet: 'Vesting'; palletEvent: PalletVestingEvent }
7476 | { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
@@ -1037,6 +1039,7 @@ export type PaseoRuntimeRuntimeCall =
10371039 | { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCall }
10381040 | { pallet: 'Referenda'; palletCall: PalletReferendaCall }
10391041 | { pallet: 'Whitelist'; palletCall: PalletWhitelistCall }
1042+ | { pallet: 'Parameters'; palletCall: PalletParametersCall }
10401043 | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCall }
10411044 | { pallet: 'Vesting'; palletCall: PalletVestingCall }
10421045 | { pallet: 'Utility'; palletCall: PalletUtilityCall }
@@ -1086,6 +1089,7 @@ export type PaseoRuntimeRuntimeCallLike =
10861089 | { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCallLike }
10871090 | { pallet: 'Referenda'; palletCall: PalletReferendaCallLike }
10881091 | { pallet: 'Whitelist'; palletCall: PalletWhitelistCallLike }
1092+ | { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
10891093 | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCallLike }
10901094 | { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
10911095 | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
@@ -3948,6 +3952,46 @@ export type PalletWhitelistCallLike =
39483952 }
39493953 | { name: 'DispatchWhitelistedCallWithPreimage'; params: { call: PaseoRuntimeRuntimeCallLike } };
39503954
3955+ /**
3956+ * Contains a variant per dispatchable extrinsic that this pallet has.
3957+ **/
3958+ export type PalletParametersCall =
3959+ /**
3960+ * Set the value of a parameter.
3961+ *
3962+ * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3963+ * deleted by setting them to `None`.
3964+ **/
3965+ { name: 'SetParameter'; params: { keyValue: PaseoRuntimeRuntimeParameters } };
3966+
3967+ export type PalletParametersCallLike =
3968+ /**
3969+ * Set the value of a parameter.
3970+ *
3971+ * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3972+ * deleted by setting them to `None`.
3973+ **/
3974+ { name: 'SetParameter'; params: { keyValue: PaseoRuntimeRuntimeParameters } };
3975+
3976+ export type PaseoRuntimeRuntimeParameters = { type: 'Inflation'; value: PaseoRuntimeDynamicParamsInflationParameters };
3977+
3978+ export type PaseoRuntimeDynamicParamsInflationParameters =
3979+ | { type: 'MinInflation'; value: [PaseoRuntimeDynamicParamsInflationMinInflation, Perquintill | undefined] }
3980+ | { type: 'MaxInflation'; value: [PaseoRuntimeDynamicParamsInflationMaxInflation, Perquintill | undefined] }
3981+ | { type: 'IdealStake'; value: [PaseoRuntimeDynamicParamsInflationIdealStake, Perquintill | undefined] }
3982+ | { type: 'Falloff'; value: [PaseoRuntimeDynamicParamsInflationFalloff, Perquintill | undefined] }
3983+ | { type: 'UseAuctionSlots'; value: [PaseoRuntimeDynamicParamsInflationUseAuctionSlots, boolean | undefined] };
3984+
3985+ export type PaseoRuntimeDynamicParamsInflationMinInflation = {};
3986+
3987+ export type PaseoRuntimeDynamicParamsInflationMaxInflation = {};
3988+
3989+ export type PaseoRuntimeDynamicParamsInflationIdealStake = {};
3990+
3991+ export type PaseoRuntimeDynamicParamsInflationFalloff = {};
3992+
3993+ export type PaseoRuntimeDynamicParamsInflationUseAuctionSlots = {};
3994+
39513995/**
39523996 * Contains a variant per dispatchable extrinsic that this pallet has.
39533997 **/
@@ -10550,6 +10594,59 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
1055010594 error: DispatchError;
1055110595};
1055210596
10597+ /**
10598+ * The `Event` enum of this pallet
10599+ **/
10600+ export type PalletParametersEvent =
10601+ /**
10602+ * A Parameter was set.
10603+ *
10604+ * Is also emitted when the value was not changed.
10605+ **/
10606+ {
10607+ name: 'Updated';
10608+ data: {
10609+ /**
10610+ * The key that was updated.
10611+ **/
10612+ key: PaseoRuntimeRuntimeParametersKey;
10613+
10614+ /**
10615+ * The old value before this call.
10616+ **/
10617+ oldValue?: PaseoRuntimeRuntimeParametersValue | undefined;
10618+
10619+ /**
10620+ * The new value after this call.
10621+ **/
10622+ newValue?: PaseoRuntimeRuntimeParametersValue | undefined;
10623+ };
10624+ };
10625+
10626+ export type PaseoRuntimeRuntimeParametersKey = {
10627+ type: 'Inflation';
10628+ value: PaseoRuntimeDynamicParamsInflationParametersKey;
10629+ };
10630+
10631+ export type PaseoRuntimeDynamicParamsInflationParametersKey =
10632+ | { type: 'MinInflation'; value: PaseoRuntimeDynamicParamsInflationMinInflation }
10633+ | { type: 'MaxInflation'; value: PaseoRuntimeDynamicParamsInflationMaxInflation }
10634+ | { type: 'IdealStake'; value: PaseoRuntimeDynamicParamsInflationIdealStake }
10635+ | { type: 'Falloff'; value: PaseoRuntimeDynamicParamsInflationFalloff }
10636+ | { type: 'UseAuctionSlots'; value: PaseoRuntimeDynamicParamsInflationUseAuctionSlots };
10637+
10638+ export type PaseoRuntimeRuntimeParametersValue = {
10639+ type: 'Inflation';
10640+ value: PaseoRuntimeDynamicParamsInflationParametersValue;
10641+ };
10642+
10643+ export type PaseoRuntimeDynamicParamsInflationParametersValue =
10644+ | { type: 'MinInflation'; value: Perquintill }
10645+ | { type: 'MaxInflation'; value: Perquintill }
10646+ | { type: 'IdealStake'; value: Perquintill }
10647+ | { type: 'Falloff'; value: Perquintill }
10648+ | { type: 'UseAuctionSlots'; value: boolean };
10649+
1055310650/**
1055410651 * The `Event` enum of this pallet
1055510652 **/
@@ -14399,6 +14496,8 @@ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
1439914496
1440014497export type PaseoRuntimeRuntime = {};
1440114498
14499+ export type RelayCommonApisInflationInfo = { inflation: Perquintill; nextMint: [bigint, bigint] };
14500+
1440214501export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
1440314502
1440414503export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
0 commit comments