@webb-tools/tangle-substrate-types 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/build/interfaces/augment-api-consts.d.ts +44 -1
  2. package/build/interfaces/augment-api-errors.d.ts +38 -0
  3. package/build/interfaces/augment-api-events.d.ts +50 -2
  4. package/build/interfaces/augment-api-query.d.ts +20 -1
  5. package/build/interfaces/augment-api-tx.d.ts +137 -1
  6. package/build/interfaces/lookup.d.ts +378 -260
  7. package/build/interfaces/lookup.js +381 -263
  8. package/build/interfaces/registry.d.ts +7 -1
  9. package/build/interfaces/types-lookup.d.ts +390 -260
  10. package/build/metadata/static-latest.d.ts +1 -1
  11. package/build/metadata/static-latest.js +1 -1
  12. package/build/package.json +1 -1
  13. package/package.json +1 -1
  14. package/playground.ts +86 -0
  15. package/src/interfaces/augment-api-consts.ts +44 -8
  16. package/src/interfaces/augment-api-errors.ts +38 -0
  17. package/src/interfaces/augment-api-events.ts +29 -30
  18. package/src/interfaces/augment-api-query.ts +20 -86
  19. package/src/interfaces/augment-api-tx.ts +47 -54
  20. package/src/interfaces/lookup.ts +381 -263
  21. package/src/interfaces/registry.ts +7 -1
  22. package/src/interfaces/types-lookup.ts +396 -260
  23. package/src/metadata/metadata.json +1 -1
  24. package/src/metadata/static-latest.ts +1 -1
  25. package/ts-types/playground.d.ts +1 -0
  26. package/ts-types/src/interfaces/augment-api-consts.d.ts +44 -1
  27. package/ts-types/src/interfaces/augment-api-errors.d.ts +38 -0
  28. package/ts-types/src/interfaces/augment-api-events.d.ts +50 -2
  29. package/ts-types/src/interfaces/augment-api-query.d.ts +20 -1
  30. package/ts-types/src/interfaces/augment-api-tx.d.ts +137 -1
  31. package/ts-types/src/interfaces/lookup.d.ts +378 -260
  32. package/ts-types/src/interfaces/registry.d.ts +7 -1
  33. package/ts-types/src/interfaces/types-lookup.d.ts +390 -260
  34. package/ts-types/src/metadata/static-latest.d.ts +1 -1
  35. package/ts-types/tsconfig.tsbuildinfo +1 -1
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { Codec } from '@polkadot/types-codec/types';
5
5
  import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import { SpWeightsWeightV2Weight, FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
7
7
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
8
8
  declare module '@polkadot/api-base/types/consts' {
9
9
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -551,6 +551,49 @@ declare module '@polkadot/api-base/types/consts' {
551
551
  **/
552
552
  [key: string]: Codec;
553
553
  };
554
+ proxy: {
555
+ /**
556
+ * The base amount of currency needed to reserve for creating an announcement.
557
+ *
558
+ * This is held when a new storage item holding a `Balance` is created (typically 16
559
+ * bytes).
560
+ **/
561
+ announcementDepositBase: u128 & AugmentedConst<ApiType>;
562
+ /**
563
+ * The amount of currency needed per announcement made.
564
+ *
565
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
566
+ * into a pre-existing storage value.
567
+ **/
568
+ announcementDepositFactor: u128 & AugmentedConst<ApiType>;
569
+ /**
570
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
571
+ **/
572
+ maxPending: u32 & AugmentedConst<ApiType>;
573
+ /**
574
+ * The maximum amount of proxies allowed for a single account.
575
+ **/
576
+ maxProxies: u32 & AugmentedConst<ApiType>;
577
+ /**
578
+ * The base amount of currency needed to reserve for creating a proxy.
579
+ *
580
+ * This is held for an additional storage item whose value size is
581
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
582
+ **/
583
+ proxyDepositBase: u128 & AugmentedConst<ApiType>;
584
+ /**
585
+ * The amount of currency needed per proxy added.
586
+ *
587
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
588
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
589
+ * into account `32 + proxy_type.encode().len()` bytes of data.
590
+ **/
591
+ proxyDepositFactor: u128 & AugmentedConst<ApiType>;
592
+ /**
593
+ * Generic const
594
+ **/
595
+ [key: string]: Codec;
596
+ };
554
597
  roles: {
555
598
  /**
556
599
  * Max roles per account.
@@ -1298,6 +1298,44 @@ declare module '@polkadot/api-base/types/errors' {
1298
1298
  **/
1299
1299
  [key: string]: AugmentedError<ApiType>;
1300
1300
  };
1301
+ proxy: {
1302
+ /**
1303
+ * Account is already a proxy.
1304
+ **/
1305
+ Duplicate: AugmentedError<ApiType>;
1306
+ /**
1307
+ * Call may not be made by proxy because it may escalate its privileges.
1308
+ **/
1309
+ NoPermission: AugmentedError<ApiType>;
1310
+ /**
1311
+ * Cannot add self as proxy.
1312
+ **/
1313
+ NoSelfProxy: AugmentedError<ApiType>;
1314
+ /**
1315
+ * Proxy registration not found.
1316
+ **/
1317
+ NotFound: AugmentedError<ApiType>;
1318
+ /**
1319
+ * Sender is not a proxy of the account to be proxied.
1320
+ **/
1321
+ NotProxy: AugmentedError<ApiType>;
1322
+ /**
1323
+ * There are too many proxies registered or too many announcements pending.
1324
+ **/
1325
+ TooMany: AugmentedError<ApiType>;
1326
+ /**
1327
+ * Announcement, if made at all, was made too recently.
1328
+ **/
1329
+ Unannounced: AugmentedError<ApiType>;
1330
+ /**
1331
+ * A call which is incompatible with the proxy type's filter was attempted.
1332
+ **/
1333
+ Unproxyable: AugmentedError<ApiType>;
1334
+ /**
1335
+ * Generic error
1336
+ **/
1337
+ [key: string]: AugmentedError<ApiType>;
1338
+ };
1301
1339
  roles: {
1302
1340
  /**
1303
1341
  * Rewards already claimed
@@ -1,9 +1,9 @@
1
1
  import '@polkadot/api-base/types/events';
2
2
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
- import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
3
+ import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletZksaasFeeInfo, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpStakingExposure, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, TanglePrimitivesRolesRoleType } from '@polkadot/types/lookup';
6
+ import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -1186,6 +1186,54 @@ declare module '@polkadot/api-base/types/events' {
1186
1186
  **/
1187
1187
  [key: string]: AugmentedEvent<ApiType>;
1188
1188
  };
1189
+ proxy: {
1190
+ /**
1191
+ * An announcement was placed to make a call in the future.
1192
+ **/
1193
+ Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
1194
+ real: AccountId32;
1195
+ proxy: AccountId32;
1196
+ callHash: H256;
1197
+ }>;
1198
+ /**
1199
+ * A proxy was added.
1200
+ **/
1201
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], {
1202
+ delegator: AccountId32;
1203
+ delegatee: AccountId32;
1204
+ proxyType: TangleTestnetRuntimeProxyType;
1205
+ delay: u64;
1206
+ }>;
1207
+ /**
1208
+ * A proxy was executed correctly, with the given.
1209
+ **/
1210
+ ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
1211
+ result: Result<Null, SpRuntimeDispatchError>;
1212
+ }>;
1213
+ /**
1214
+ * A proxy was removed.
1215
+ **/
1216
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], {
1217
+ delegator: AccountId32;
1218
+ delegatee: AccountId32;
1219
+ proxyType: TangleTestnetRuntimeProxyType;
1220
+ delay: u64;
1221
+ }>;
1222
+ /**
1223
+ * A pure account has been created by new proxy with given
1224
+ * disambiguation index and proxy type.
1225
+ **/
1226
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: TangleTestnetRuntimeProxyType, disambiguationIndex: u16], {
1227
+ pure: AccountId32;
1228
+ who: AccountId32;
1229
+ proxyType: TangleTestnetRuntimeProxyType;
1230
+ disambiguationIndex: u16;
1231
+ }>;
1232
+ /**
1233
+ * Generic event
1234
+ **/
1235
+ [key: string]: AugmentedEvent<ApiType>;
1236
+ };
1189
1237
  roles: {
1190
1238
  /**
1191
1239
  * The min restaking bond amount has been updated
@@ -5,7 +5,7 @@ import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u3
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
7
7
  import type { Observable } from '@polkadot/types/types';
8
- import { EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAirdropClaimsStatementKind, PalletAirdropClaimsUtilsMultiAddress, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletDkgFeeInfo, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletEvmCodeMetadata, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRolesRestakingLedger, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletZksaasFeeInfo, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsPhaseResult, TanglePrimitivesRolesRoleType, TangleTestnetRuntimeOpaqueSessionKeys } from '@polkadot/types/lookup';
8
+ import { SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsPreDigest, SpConsensusBabeDigestsNextConfigDescriptor, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsStatementKind, PalletCollectiveVotes, PalletDemocracyMetadataOwner, FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold, PalletDemocracyReferendumInfo, PalletDemocracyVoteVoting, PalletDkgFeeInfo, PalletElectionProviderMultiPhasePhase, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, EthereumBlock, EthereumReceiptReceiptV3, FpRpcTransactionStatus, EthereumTransactionTransactionV2, PalletEvmCodeMetadata, SpConsensusGrandpaAppPublic, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistration, PalletIdentityRegistrarInfo, PalletIdentityAuthorityProperties, PalletImOnlineSr25519AppSr25519Public, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsPhaseResult, TanglePrimitivesJobsJobInfo, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, SpStakingOffenceOffenceDetails, PalletPreimageRequestStatus, PalletPreimageOldRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletRolesRestakingLedger, PalletSchedulerScheduled, SpCoreCryptoKeyTypeId, TangleTestnetRuntimeOpaqueSessionKeys, SpStakingExposure, SpStakingPagedExposureMetadata, SpStakingExposurePage, PalletStakingValidatorPrefs, PalletStakingForcing, PalletStakingStakingLedger, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingUnappliedSlash, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, FrameSystemLastRuntimeUpgradeInfo, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
11
11
  declare module '@polkadot/api-base/types/storage' {
@@ -927,6 +927,21 @@ declare module '@polkadot/api-base/types/storage' {
927
927
  **/
928
928
  [key: string]: QueryableStorageEntry<ApiType>;
929
929
  };
930
+ proxy: {
931
+ /**
932
+ * The announcements made by the proxy (key).
933
+ **/
934
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
935
+ /**
936
+ * The set of account proxies. Maps the account which has delegated to the accounts
937
+ * which are being delegated to, together with the amount held on deposit.
938
+ **/
939
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
940
+ /**
941
+ * Generic query
942
+ **/
943
+ [key: string]: QueryableStorageEntry<ApiType>;
944
+ };
930
945
  randomnessCollectiveFlip: {
931
946
  /**
932
947
  * Series of block headers from the last 81 blocks that acts as random seed material. This
@@ -963,6 +978,10 @@ declare module '@polkadot/api-base/types/storage' {
963
978
  * The minimum re staking bond to become and maintain the role.
964
979
  **/
965
980
  minRestakingBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
981
+ /**
982
+ * The total restake amount in the system
983
+ **/
984
+ totalRestake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
966
985
  /**
967
986
  * The number of jobs completed by a validator in era
968
987
  **/
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { Bytes, Compact, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
7
- import { SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, PalletBalancesAdjustmentDirection, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsUtilsMultiAddressSignature, PalletAirdropClaimsStatementKind, SpWeightsWeightV2Weight, PalletDemocracyConviction, FrameSupportPreimagesBounded, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, SpNposElectionsSupport, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, EthereumTransactionTransactionV2, SpConsensusGrandpaEquivocationProof, SpCoreVoid, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, SpRuntimeMultiSignature, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsValidatorOffenceType, TanglePrimitivesJobsJobSubmission, TanglePrimitivesJobsJobResult, TanglePrimitivesMisbehaviorMisbehaviorSubmission, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsPoolState, PalletNominationPoolsConfigOpAccountId32, PalletRolesProfile, TangleTestnetRuntimeOpaqueSessionKeys, PalletStakingRewardDestination, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingValidatorPrefs, TangleTestnetRuntimeOriginCaller, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
7
+ import { SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, PalletBalancesAdjustmentDirection, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsUtilsMultiAddressSignature, PalletAirdropClaimsStatementKind, SpWeightsWeightV2Weight, PalletDemocracyConviction, FrameSupportPreimagesBounded, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, SpNposElectionsSupport, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, EthereumTransactionTransactionV2, SpConsensusGrandpaEquivocationProof, SpCoreVoid, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, SpRuntimeMultiSignature, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsValidatorOffenceType, TanglePrimitivesJobsJobSubmission, TanglePrimitivesJobsJobResult, TanglePrimitivesMisbehaviorMisbehaviorSubmission, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsPoolState, PalletNominationPoolsConfigOpAccountId32, TangleTestnetRuntimeProxyType, PalletRolesProfile, TangleTestnetRuntimeOpaqueSessionKeys, PalletStakingRewardDestination, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingValidatorPrefs, TangleTestnetRuntimeOriginCaller, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
8
8
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
10
10
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -1503,6 +1503,142 @@ declare module '@polkadot/api-base/types/submittable' {
1503
1503
  **/
1504
1504
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
1505
1505
  };
1506
+ proxy: {
1507
+ /**
1508
+ * See [`Pallet::add_proxy`].
1509
+ **/
1510
+ addProxy: AugmentedSubmittable<(delegate: MultiAddress | {
1511
+ Id: any;
1512
+ } | {
1513
+ Index: any;
1514
+ } | {
1515
+ Raw: any;
1516
+ } | {
1517
+ Address32: any;
1518
+ } | {
1519
+ Address20: any;
1520
+ } | string | Uint8Array, proxyType: TangleTestnetRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, TangleTestnetRuntimeProxyType, u64]>;
1521
+ /**
1522
+ * See [`Pallet::announce`].
1523
+ **/
1524
+ announce: AugmentedSubmittable<(real: MultiAddress | {
1525
+ Id: any;
1526
+ } | {
1527
+ Index: any;
1528
+ } | {
1529
+ Raw: any;
1530
+ } | {
1531
+ Address32: any;
1532
+ } | {
1533
+ Address20: any;
1534
+ } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
1535
+ /**
1536
+ * See [`Pallet::create_pure`].
1537
+ **/
1538
+ createPure: AugmentedSubmittable<(proxyType: TangleTestnetRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u64 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [TangleTestnetRuntimeProxyType, u64, u16]>;
1539
+ /**
1540
+ * See [`Pallet::kill_pure`].
1541
+ **/
1542
+ killPure: AugmentedSubmittable<(spawner: MultiAddress | {
1543
+ Id: any;
1544
+ } | {
1545
+ Index: any;
1546
+ } | {
1547
+ Raw: any;
1548
+ } | {
1549
+ Address32: any;
1550
+ } | {
1551
+ Address20: any;
1552
+ } | string | Uint8Array, proxyType: TangleTestnetRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u64> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, TangleTestnetRuntimeProxyType, u16, Compact<u64>, Compact<u32>]>;
1553
+ /**
1554
+ * See [`Pallet::proxy`].
1555
+ **/
1556
+ proxy: AugmentedSubmittable<(real: MultiAddress | {
1557
+ Id: any;
1558
+ } | {
1559
+ Index: any;
1560
+ } | {
1561
+ Raw: any;
1562
+ } | {
1563
+ Address32: any;
1564
+ } | {
1565
+ Address20: any;
1566
+ } | string | Uint8Array, forceProxyType: Option<TangleTestnetRuntimeProxyType> | null | Uint8Array | TangleTestnetRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<TangleTestnetRuntimeProxyType>, Call]>;
1567
+ /**
1568
+ * See [`Pallet::proxy_announced`].
1569
+ **/
1570
+ proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | {
1571
+ Id: any;
1572
+ } | {
1573
+ Index: any;
1574
+ } | {
1575
+ Raw: any;
1576
+ } | {
1577
+ Address32: any;
1578
+ } | {
1579
+ Address20: any;
1580
+ } | string | Uint8Array, real: MultiAddress | {
1581
+ Id: any;
1582
+ } | {
1583
+ Index: any;
1584
+ } | {
1585
+ Raw: any;
1586
+ } | {
1587
+ Address32: any;
1588
+ } | {
1589
+ Address20: any;
1590
+ } | string | Uint8Array, forceProxyType: Option<TangleTestnetRuntimeProxyType> | null | Uint8Array | TangleTestnetRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<TangleTestnetRuntimeProxyType>, Call]>;
1591
+ /**
1592
+ * See [`Pallet::reject_announcement`].
1593
+ **/
1594
+ rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | {
1595
+ Id: any;
1596
+ } | {
1597
+ Index: any;
1598
+ } | {
1599
+ Raw: any;
1600
+ } | {
1601
+ Address32: any;
1602
+ } | {
1603
+ Address20: any;
1604
+ } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
1605
+ /**
1606
+ * See [`Pallet::remove_announcement`].
1607
+ **/
1608
+ removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | {
1609
+ Id: any;
1610
+ } | {
1611
+ Index: any;
1612
+ } | {
1613
+ Raw: any;
1614
+ } | {
1615
+ Address32: any;
1616
+ } | {
1617
+ Address20: any;
1618
+ } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
1619
+ /**
1620
+ * See [`Pallet::remove_proxies`].
1621
+ **/
1622
+ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1623
+ /**
1624
+ * See [`Pallet::remove_proxy`].
1625
+ **/
1626
+ removeProxy: AugmentedSubmittable<(delegate: MultiAddress | {
1627
+ Id: any;
1628
+ } | {
1629
+ Index: any;
1630
+ } | {
1631
+ Raw: any;
1632
+ } | {
1633
+ Address32: any;
1634
+ } | {
1635
+ Address20: any;
1636
+ } | string | Uint8Array, proxyType: TangleTestnetRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, TangleTestnetRuntimeProxyType, u64]>;
1637
+ /**
1638
+ * Generic tx
1639
+ **/
1640
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1641
+ };
1506
1642
  roles: {
1507
1643
  /**
1508
1644
  * See [`Pallet::chill`].