@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
1010import type { BTreeMap , Bytes , Compact , Null , Option , U256 , U8aFixed , Vec , bool , u128 , u16 , u32 , u64 , u8 } from '@polkadot/types-codec' ;
1111import type { AnyNumber , IMethod , ITuple } from '@polkadot/types-codec/types' ;
1212import type { AccountId32 , Call , H160 , H256 , MultiAddress , Perbill , Percent , Permill } from '@polkadot/types/interfaces/runtime' ;
13- import type { EthereumTransactionTransactionV2 , FrameSupportPreimagesBounded , IsmpGrandpaAddStateMachine , IsmpHostStateMachine , IsmpMessagingCreateConsensusState , IsmpMessagingMessage , PalletAirdropClaimsStatementKind , PalletAirdropClaimsUtilsMultiAddress , PalletAirdropClaimsUtilsMultiAddressSignature , PalletBalancesAdjustmentDirection , PalletDemocracyConviction , PalletDemocracyMetadataOwner , PalletDemocracyVoteAccountVote , PalletElectionProviderMultiPhaseRawSolution , PalletElectionProviderMultiPhaseSolutionOrSnapshotSize , PalletElectionsPhragmenRenouncing , PalletIdentityJudgement , PalletIdentityLegacyIdentityInfo , PalletImOnlineHeartbeat , PalletImOnlineSr25519AppSr25519Signature , PalletIsmpUtilsFundMessageParams , PalletIsmpUtilsUpdateConsensusState , PalletMultiAssetDelegationDelegatorDelegatorBlueprintSelection , PalletMultisigTimepoint , PalletNominationPoolsBondExtra , PalletNominationPoolsClaimPermission , PalletNominationPoolsCommissionChangeRate , PalletNominationPoolsCommissionClaimPermission , PalletNominationPoolsConfigOpAccountId32 , PalletNominationPoolsConfigOpPerbill , PalletNominationPoolsConfigOpU128 , PalletNominationPoolsConfigOpU32 , PalletNominationPoolsPoolState , PalletRewardsAssetAction , PalletRewardsRewardConfigForAssetVault , PalletStakingPalletConfigOpPerbill , PalletStakingPalletConfigOpPercent , PalletStakingPalletConfigOpU128 , PalletStakingPalletConfigOpU32 , PalletStakingRewardDestination , PalletStakingUnlockChunk , PalletStakingValidatorPrefs , PalletTangleLstBondExtra , PalletTangleLstCommissionCommissionChangeRate , PalletTangleLstCommissionCommissionClaimPermission , PalletTangleLstConfigOpAccountId32 , PalletTangleLstConfigOpPerbill , PalletTangleLstConfigOpU128 , PalletTangleLstConfigOpU32 , PalletTangleLstPoolsPoolState , PalletTokenGatewayAssetRegistration , PalletTokenGatewayPrecisionUpdate , PalletTokenGatewayTeleportParams , PalletVestingVestingInfo , SpConsensusBabeDigestsNextConfigDescriptor , SpConsensusGrandpaEquivocationProof , SpConsensusSlotsEquivocationProof , SpCoreVoid , SpNposElectionsElectionScore , SpNposElectionsSupport , SpRuntimeMultiSignature , SpSessionMembershipProof , SpWeightsWeightV2Weight , TanglePrimitivesRewardsLockMultiplier , TanglePrimitivesServicesField , TanglePrimitivesServicesPricingPricingQuote , TanglePrimitivesServicesServiceServiceBlueprint , TanglePrimitivesServicesTypesAsset , TanglePrimitivesServicesTypesAssetSecurityCommitment , TanglePrimitivesServicesTypesAssetSecurityRequirement , TanglePrimitivesServicesTypesMembershipModel , TanglePrimitivesServicesTypesOperatorPreferences , TangleTestnetRuntimeOpaqueSessionKeys , TangleTestnetRuntimeOriginCaller , TangleTestnetRuntimeProxyType , TokenGatewayPrimitivesGatewayAssetUpdate } from '@polkadot/types/lookup' ;
13+ import type { EthereumTransactionTransactionV2 , FrameSupportPreimagesBounded , IsmpGrandpaAddStateMachine , IsmpHostStateMachine , IsmpMessagingCreateConsensusState , IsmpMessagingMessage , PalletAirdropClaimsStatementKind , PalletAirdropClaimsUtilsMultiAddress , PalletAirdropClaimsUtilsMultiAddressSignature , PalletBalancesAdjustmentDirection , PalletCreditsStakeTier , PalletDemocracyConviction , PalletDemocracyMetadataOwner , PalletDemocracyVoteAccountVote , PalletElectionProviderMultiPhaseRawSolution , PalletElectionProviderMultiPhaseSolutionOrSnapshotSize , PalletElectionsPhragmenRenouncing , PalletIdentityJudgement , PalletIdentityLegacyIdentityInfo , PalletImOnlineHeartbeat , PalletImOnlineSr25519AppSr25519Signature , PalletIsmpUtilsFundMessageParams , PalletIsmpUtilsUpdateConsensusState , PalletMultiAssetDelegationDelegatorDelegatorBlueprintSelection , PalletMultisigTimepoint , PalletNominationPoolsBondExtra , PalletNominationPoolsClaimPermission , PalletNominationPoolsCommissionChangeRate , PalletNominationPoolsCommissionClaimPermission , PalletNominationPoolsConfigOpAccountId32 , PalletNominationPoolsConfigOpPerbill , PalletNominationPoolsConfigOpU128 , PalletNominationPoolsConfigOpU32 , PalletNominationPoolsPoolState , PalletRewardsAssetAction , PalletRewardsRewardConfigForAssetVault , PalletStakingPalletConfigOpPerbill , PalletStakingPalletConfigOpPercent , PalletStakingPalletConfigOpU128 , PalletStakingPalletConfigOpU32 , PalletStakingRewardDestination , PalletStakingUnlockChunk , PalletStakingValidatorPrefs , PalletTangleLstBondExtra , PalletTangleLstCommissionCommissionChangeRate , PalletTangleLstCommissionCommissionClaimPermission , PalletTangleLstConfigOpAccountId32 , PalletTangleLstConfigOpPerbill , PalletTangleLstConfigOpU128 , PalletTangleLstConfigOpU32 , PalletTangleLstPoolsPoolState , PalletTokenGatewayAssetRegistration , PalletTokenGatewayPrecisionUpdate , PalletTokenGatewayTeleportParams , PalletVestingVestingInfo , SpConsensusBabeDigestsNextConfigDescriptor , SpConsensusGrandpaEquivocationProof , SpConsensusSlotsEquivocationProof , SpCoreVoid , SpNposElectionsElectionScore , SpNposElectionsSupport , SpRuntimeMultiSignature , SpSessionMembershipProof , SpWeightsWeightV2Weight , TanglePrimitivesRewardsLockMultiplier , TanglePrimitivesServicesField , TanglePrimitivesServicesPricingPricingQuote , TanglePrimitivesServicesServiceServiceBlueprint , TanglePrimitivesServicesTypesAsset , TanglePrimitivesServicesTypesAssetSecurityCommitment , TanglePrimitivesServicesTypesAssetSecurityRequirement , TanglePrimitivesServicesTypesMembershipModel , TanglePrimitivesServicesTypesOperatorPreferences , TangleTestnetRuntimeOpaqueSessionKeys , TangleTestnetRuntimeOriginCaller , TangleTestnetRuntimeProxyType , TokenGatewayPrimitivesGatewayAssetUpdate } from '@polkadot/types/lookup' ;
1414
1515export type __AugmentedSubmittable = AugmentedSubmittable < ( ) => unknown > ;
1616export type __SubmittableExtrinsic < ApiType extends ApiTypes > = SubmittableExtrinsic < ApiType > ;
@@ -1214,6 +1214,19 @@ declare module '@polkadot/api-base/types/submittable' {
12141214 * processing.
12151215 **/
12161216 claimCredits : AugmentedSubmittable < ( amountToClaim : Compact < u128 > | AnyNumber | Uint8Array , offchainAccountId : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u128 > , Bytes ] > ;
1217+ /**
1218+ * Update the stake tiers. This function can only be called by the configured ForceOrigin.
1219+ * Stake tiers must be provided in ascending order by threshold.
1220+ *
1221+ * Parameters:
1222+ * - `origin`: Must be the ForceOrigin
1223+ * - `new_tiers`: A vector of StakeTier structs representing the new tiers configuration
1224+ *
1225+ * Emits `StakeTiersUpdated` on success.
1226+ *
1227+ * Weight: O(n) where n is the number of tiers
1228+ **/
1229+ setStakeTiers : AugmentedSubmittable < ( newTiers : Vec < PalletCreditsStakeTier > | ( PalletCreditsStakeTier | { threshold ?: any ; ratePerBlock ?: any } | string | Uint8Array ) [ ] ) => SubmittableExtrinsic < ApiType > , [ Vec < PalletCreditsStakeTier > ] > ;
12171230 /**
12181231 * Generic tx
12191232 **/
0 commit comments