@argonprotocol/mainchain 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/lib/cjs/interfaces/augment-api-consts.d.ts +0 -4
  2. package/lib/cjs/interfaces/augment-api-errors.d.ts +8 -0
  3. package/lib/cjs/interfaces/augment-api-events.d.ts +7 -7
  4. package/lib/cjs/interfaces/augment-api-query.d.ts +9 -1
  5. package/lib/cjs/interfaces/augment-api-tx.d.ts +7 -7
  6. package/lib/cjs/interfaces/lookup.d.ts +5 -3
  7. package/lib/cjs/interfaces/lookup.js +16 -14
  8. package/lib/cjs/interfaces/lookup.js.map +1 -1
  9. package/lib/cjs/interfaces/registry.d.ts +2 -2
  10. package/lib/cjs/interfaces/types-lookup.d.ts +15 -13
  11. package/lib/esm/interfaces/augment-api-consts.d.ts +0 -4
  12. package/lib/esm/interfaces/augment-api-errors.d.ts +8 -0
  13. package/lib/esm/interfaces/augment-api-events.d.ts +7 -7
  14. package/lib/esm/interfaces/augment-api-query.d.ts +9 -1
  15. package/lib/esm/interfaces/augment-api-tx.d.ts +7 -7
  16. package/lib/esm/interfaces/lookup.d.ts +5 -3
  17. package/lib/esm/interfaces/lookup.js +16 -14
  18. package/lib/esm/interfaces/lookup.js.map +1 -1
  19. package/lib/esm/interfaces/registry.d.ts +2 -2
  20. package/lib/esm/interfaces/types-lookup.d.ts +15 -13
  21. package/lib/tsconfig-cjs.tsbuildinfo +1 -1
  22. package/lib/tsconfig-types.tsbuildinfo +1 -1
  23. package/lib/tsconfig.tsbuildinfo +1 -1
  24. package/lib/types/interfaces/augment-api-consts.d.ts +0 -4
  25. package/lib/types/interfaces/augment-api-errors.d.ts +8 -0
  26. package/lib/types/interfaces/augment-api-events.d.ts +7 -7
  27. package/lib/types/interfaces/augment-api-query.d.ts +9 -1
  28. package/lib/types/interfaces/augment-api-tx.d.ts +7 -7
  29. package/lib/types/interfaces/lookup.d.ts +5 -3
  30. package/lib/types/interfaces/registry.d.ts +2 -2
  31. package/lib/types/interfaces/types-lookup.d.ts +15 -13
  32. package/package.json +1 -1
@@ -207,7 +207,7 @@ declare module '@polkadot/types/lookup' {
207
207
  readonly asPureCreated: {
208
208
  readonly pure: AccountId32;
209
209
  readonly who: AccountId32;
210
- readonly proxyType: ArgonRuntimeConfigsProxyType;
210
+ readonly proxyType: ArgonRuntimeProxyType;
211
211
  readonly disambiguationIndex: u16;
212
212
  } & Struct;
213
213
  readonly isAnnounced: boolean;
@@ -220,20 +220,20 @@ declare module '@polkadot/types/lookup' {
220
220
  readonly asProxyAdded: {
221
221
  readonly delegator: AccountId32;
222
222
  readonly delegatee: AccountId32;
223
- readonly proxyType: ArgonRuntimeConfigsProxyType;
223
+ readonly proxyType: ArgonRuntimeProxyType;
224
224
  readonly delay: u32;
225
225
  } & Struct;
226
226
  readonly isProxyRemoved: boolean;
227
227
  readonly asProxyRemoved: {
228
228
  readonly delegator: AccountId32;
229
229
  readonly delegatee: AccountId32;
230
- readonly proxyType: ArgonRuntimeConfigsProxyType;
230
+ readonly proxyType: ArgonRuntimeProxyType;
231
231
  readonly delay: u32;
232
232
  } & Struct;
233
233
  readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved';
234
234
  }
235
- /** @name ArgonRuntimeConfigsProxyType (37) */
236
- interface ArgonRuntimeConfigsProxyType extends Enum {
235
+ /** @name ArgonRuntimeProxyType (37) */
236
+ interface ArgonRuntimeProxyType extends Enum {
237
237
  readonly isAny: boolean;
238
238
  readonly isNonTransfer: boolean;
239
239
  readonly isPriceIndex: boolean;
@@ -1500,32 +1500,32 @@ declare module '@polkadot/types/lookup' {
1500
1500
  readonly isProxy: boolean;
1501
1501
  readonly asProxy: {
1502
1502
  readonly real: MultiAddress;
1503
- readonly forceProxyType: Option<ArgonRuntimeConfigsProxyType>;
1503
+ readonly forceProxyType: Option<ArgonRuntimeProxyType>;
1504
1504
  readonly call: Call;
1505
1505
  } & Struct;
1506
1506
  readonly isAddProxy: boolean;
1507
1507
  readonly asAddProxy: {
1508
1508
  readonly delegate: MultiAddress;
1509
- readonly proxyType: ArgonRuntimeConfigsProxyType;
1509
+ readonly proxyType: ArgonRuntimeProxyType;
1510
1510
  readonly delay: u32;
1511
1511
  } & Struct;
1512
1512
  readonly isRemoveProxy: boolean;
1513
1513
  readonly asRemoveProxy: {
1514
1514
  readonly delegate: MultiAddress;
1515
- readonly proxyType: ArgonRuntimeConfigsProxyType;
1515
+ readonly proxyType: ArgonRuntimeProxyType;
1516
1516
  readonly delay: u32;
1517
1517
  } & Struct;
1518
1518
  readonly isRemoveProxies: boolean;
1519
1519
  readonly isCreatePure: boolean;
1520
1520
  readonly asCreatePure: {
1521
- readonly proxyType: ArgonRuntimeConfigsProxyType;
1521
+ readonly proxyType: ArgonRuntimeProxyType;
1522
1522
  readonly delay: u32;
1523
1523
  readonly index: u16;
1524
1524
  } & Struct;
1525
1525
  readonly isKillPure: boolean;
1526
1526
  readonly asKillPure: {
1527
1527
  readonly spawner: MultiAddress;
1528
- readonly proxyType: ArgonRuntimeConfigsProxyType;
1528
+ readonly proxyType: ArgonRuntimeProxyType;
1529
1529
  readonly index: u16;
1530
1530
  readonly height: Compact<u32>;
1531
1531
  readonly extIndex: Compact<u32>;
@@ -1549,7 +1549,7 @@ declare module '@polkadot/types/lookup' {
1549
1549
  readonly asProxyAnnounced: {
1550
1550
  readonly delegate: MultiAddress;
1551
1551
  readonly real: MultiAddress;
1552
- readonly forceProxyType: Option<ArgonRuntimeConfigsProxyType>;
1552
+ readonly forceProxyType: Option<ArgonRuntimeProxyType>;
1553
1553
  readonly call: Call;
1554
1554
  } & Struct;
1555
1555
  readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced';
@@ -2332,7 +2332,7 @@ declare module '@polkadot/types/lookup' {
2332
2332
  /** @name PalletProxyProxyDefinition (317) */
2333
2333
  interface PalletProxyProxyDefinition extends Struct {
2334
2334
  readonly delegate: AccountId32;
2335
- readonly proxyType: ArgonRuntimeConfigsProxyType;
2335
+ readonly proxyType: ArgonRuntimeProxyType;
2336
2336
  readonly delay: u32;
2337
2337
  }
2338
2338
  /** @name PalletProxyAnnouncement (321) */
@@ -2395,7 +2395,9 @@ declare module '@polkadot/types/lookup' {
2395
2395
  readonly isAccountWouldBeBelowMinimum: boolean;
2396
2396
  readonly isGenericObligationError: boolean;
2397
2397
  readonly asGenericObligationError: ArgonPrimitivesVaultObligationError;
2398
- readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'ObligationNotFound' | 'NoMoreObligationIds' | 'VaultClosed' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'AccountWouldBeBelowMinimum' | 'GenericObligationError';
2398
+ readonly isCannotRegisterDuplicateKeys: boolean;
2399
+ readonly isInvalidKeyFormat: boolean;
2400
+ readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'ObligationNotFound' | 'NoMoreObligationIds' | 'VaultClosed' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'AccountWouldBeBelowMinimum' | 'GenericObligationError' | 'CannotRegisterDuplicateKeys' | 'InvalidKeyFormat';
2399
2401
  }
2400
2402
  /** @name ArgonPrimitivesVaultObligationError (337) */
2401
2403
  interface ArgonPrimitivesVaultObligationError extends Enum {
@@ -101,10 +101,6 @@ declare module '@polkadot/api-base/types/consts' {
101
101
  startingOwnershipTokensPerBlock: u128 & AugmentedConst<ApiType>;
102
102
  };
103
103
  blockSealSpec: {
104
- /**
105
- * The frequency we should update the compute difficulty
106
- **/
107
- computeDifficultyChangePeriod: u32 & AugmentedConst<ApiType>;
108
104
  /**
109
105
  * The number of historical compute times to use to calculate the rolling compute average
110
106
  * (for adjustment)
@@ -411,6 +411,10 @@ declare module '@polkadot/api-base/types/errors' {
411
411
  miningSlot: {
412
412
  AccountWouldBeBelowMinimum: AugmentedError<ApiType>;
413
413
  BidTooLow: AugmentedError<ApiType>;
414
+ /**
415
+ * Keys cannot be registered by multiple accounts
416
+ **/
417
+ CannotRegisterDuplicateKeys: AugmentedError<ApiType>;
414
418
  CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
415
419
  /**
416
420
  * There are too many obligations expiring in the given expiration block
@@ -422,6 +426,10 @@ declare module '@polkadot/api-base/types/errors' {
422
426
  InsufficientFunds: AugmentedError<ApiType>;
423
427
  InsufficientOwnershipTokens: AugmentedError<ApiType>;
424
428
  InsufficientVaultFunds: AugmentedError<ApiType>;
429
+ /**
430
+ * Unable to decode the key format
431
+ **/
432
+ InvalidKeyFormat: AugmentedError<ApiType>;
425
433
  MinimumObligationAmountNotMet: AugmentedError<ApiType>;
426
434
  NoMoreObligationIds: AugmentedError<ApiType>;
427
435
  NoPermissions: AugmentedError<ApiType>;
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, 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, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesVaultFundType, ArgonPrimitivesVaultObligationExpiration, ArgonRuntimeConfigsProxyType, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, PalletDomainsDomainRegistration, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, PalletMintMintType, PalletMultisigTimepoint, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
6
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesVaultFundType, ArgonPrimitivesVaultObligationExpiration, ArgonRuntimeProxyType, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, PalletDomainsDomainRegistration, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, PalletMintMintType, PalletMultisigTimepoint, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } 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> {
@@ -834,10 +834,10 @@ declare module '@polkadot/api-base/types/events' {
834
834
  /**
835
835
  * A proxy was added.
836
836
  **/
837
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonRuntimeConfigsProxyType, delay: u32], {
837
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonRuntimeProxyType, delay: u32], {
838
838
  delegator: AccountId32;
839
839
  delegatee: AccountId32;
840
- proxyType: ArgonRuntimeConfigsProxyType;
840
+ proxyType: ArgonRuntimeProxyType;
841
841
  delay: u32;
842
842
  }>;
843
843
  /**
@@ -849,20 +849,20 @@ declare module '@polkadot/api-base/types/events' {
849
849
  /**
850
850
  * A proxy was removed.
851
851
  **/
852
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonRuntimeConfigsProxyType, delay: u32], {
852
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonRuntimeProxyType, delay: u32], {
853
853
  delegator: AccountId32;
854
854
  delegatee: AccountId32;
855
- proxyType: ArgonRuntimeConfigsProxyType;
855
+ proxyType: ArgonRuntimeProxyType;
856
856
  delay: u32;
857
857
  }>;
858
858
  /**
859
859
  * A pure account has been created by new proxy with given
860
860
  * disambiguation index and proxy type.
861
861
  **/
862
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: ArgonRuntimeConfigsProxyType, disambiguationIndex: u16], {
862
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: ArgonRuntimeProxyType, disambiguationIndex: u16], {
863
863
  pure: AccountId32;
864
864
  who: AccountId32;
865
- proxyType: ArgonRuntimeConfigsProxyType;
865
+ proxyType: ArgonRuntimeProxyType;
866
866
  disambiguationIndex: u16;
867
867
  }>;
868
868
  };
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
3
3
  import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, ArgonPrimitivesVaultObligation, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
6
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealAppPublic, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, ArgonPrimitivesVaultObligation, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
7
7
  import type { Observable } from '@polkadot/types/types';
8
8
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
9
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -159,6 +159,10 @@ declare module '@polkadot/api-base/types/storage' {
159
159
  * upgraded, but is used by the node to determine which fork to follow
160
160
  **/
161
161
  blockForkPower: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesForkPower>, []>;
162
+ /**
163
+ * Is the block from a vote seal?
164
+ **/
165
+ isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
162
166
  lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, []>;
163
167
  lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
164
168
  /**
@@ -380,6 +384,10 @@ declare module '@polkadot/api-base/types/storage' {
380
384
  * The tuple is the authority, and the blake2 256 hash of the authority used for xor lookups
381
385
  **/
382
386
  authorityHashByIndex: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, U256>>, []>;
387
+ /**
388
+ * Keys in use
389
+ **/
390
+ authorityIdToMinerId: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBlockSealAppPublic | string | Uint8Array) => Observable<Option<AccountId32>>, [ArgonPrimitivesBlockSealAppPublic]>;
383
391
  /**
384
392
  * The current slot id
385
393
  **/
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
3
3
  import type { BTreeMap, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBlockSealRewardDestination, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeConfigsProxyType, ArgonRuntimeOriginCaller, ArgonRuntimeSessionKeys, IsmpGrandpaAddStateMachine, IsmpHostStateMachine, IsmpMessagingCreateConsensusState, IsmpMessagingMessage, PalletBalancesAdjustmentDirection, PalletIsmpUtilsFundMessageParams, PalletIsmpUtilsUpdateConsensusState, PalletMiningSlotMiningSlotBid, PalletMultisigTimepoint, PalletPriceIndexPriceIndex, PalletTokenGatewayAssetRegistration, PalletTokenGatewayPrecisionUpdate, PalletTokenGatewayTeleportParams, PalletVaultsVaultConfig, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight, TokenGatewayPrimitivesGatewayAssetUpdate } from '@polkadot/types/lookup';
6
+ import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBlockSealRewardDestination, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, IsmpGrandpaAddStateMachine, IsmpHostStateMachine, IsmpMessagingCreateConsensusState, IsmpMessagingMessage, PalletBalancesAdjustmentDirection, PalletIsmpUtilsFundMessageParams, PalletIsmpUtilsUpdateConsensusState, PalletMiningSlotMiningSlotBid, PalletMultisigTimepoint, PalletPriceIndexPriceIndex, PalletTokenGatewayAssetRegistration, PalletTokenGatewayPrecisionUpdate, PalletTokenGatewayTeleportParams, PalletVaultsVaultConfig, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight, TokenGatewayPrimitivesGatewayAssetUpdate } from '@polkadot/types/lookup';
7
7
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -771,7 +771,7 @@ declare module '@polkadot/api-base/types/submittable' {
771
771
  Address32: any;
772
772
  } | {
773
773
  Address20: any;
774
- } | string | Uint8Array, proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeConfigsProxyType, u32]>;
774
+ } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
775
775
  /**
776
776
  * Publish the hash of a proxy-call that will be made in the future.
777
777
  *
@@ -820,7 +820,7 @@ declare module '@polkadot/api-base/types/submittable' {
820
820
  *
821
821
  * Fails if there are insufficient funds to pay for deposit.
822
822
  **/
823
- createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeConfigsProxyType, u32, u16]>;
823
+ createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeProxyType, u32, u16]>;
824
824
  /**
825
825
  * Removes a previously spawned pure proxy.
826
826
  *
@@ -849,7 +849,7 @@ declare module '@polkadot/api-base/types/submittable' {
849
849
  Address32: any;
850
850
  } | {
851
851
  Address20: any;
852
- } | string | Uint8Array, proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeConfigsProxyType, u16, Compact<u32>, Compact<u32>]>;
852
+ } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
853
853
  /**
854
854
  * Dispatch the given `call` from an account that the sender is authorised for through
855
855
  * `add_proxy`.
@@ -871,7 +871,7 @@ declare module '@polkadot/api-base/types/submittable' {
871
871
  Address32: any;
872
872
  } | {
873
873
  Address20: any;
874
- } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeConfigsProxyType> | null | Uint8Array | ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeConfigsProxyType>, Call]>;
874
+ } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
875
875
  /**
876
876
  * Dispatch the given `call` from an account that the sender is authorized for through
877
877
  * `add_proxy`.
@@ -905,7 +905,7 @@ declare module '@polkadot/api-base/types/submittable' {
905
905
  Address32: any;
906
906
  } | {
907
907
  Address20: any;
908
- } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeConfigsProxyType> | null | Uint8Array | ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeConfigsProxyType>, Call]>;
908
+ } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
909
909
  /**
910
910
  * Remove the given announcement of a delegate.
911
911
  *
@@ -980,7 +980,7 @@ declare module '@polkadot/api-base/types/submittable' {
980
980
  Address32: any;
981
981
  } | {
982
982
  Address20: any;
983
- } | string | Uint8Array, proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeConfigsProxyType, u32]>;
983
+ } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
984
984
  };
985
985
  sudo: {
986
986
  /**
@@ -237,9 +237,9 @@ declare const _default: {
237
237
  };
238
238
  };
239
239
  /**
240
- * Lookup37: argon_runtime::configs::ProxyType
240
+ * Lookup37: argon_runtime::ProxyType
241
241
  **/
242
- ArgonRuntimeConfigsProxyType: {
242
+ ArgonRuntimeProxyType: {
243
243
  _enum: string[];
244
244
  };
245
245
  /**
@@ -2416,7 +2416,7 @@ declare const _default: {
2416
2416
  _enum: string[];
2417
2417
  };
2418
2418
  /**
2419
- * Lookup317: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, argon_runtime::configs::ProxyType, BlockNumber>
2419
+ * Lookup317: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, argon_runtime::ProxyType, BlockNumber>
2420
2420
  **/
2421
2421
  PalletProxyProxyDefinition: {
2422
2422
  delegate: string;
@@ -2489,6 +2489,8 @@ declare const _default: {
2489
2489
  VaultNotFound: string;
2490
2490
  AccountWouldBeBelowMinimum: string;
2491
2491
  GenericObligationError: string;
2492
+ CannotRegisterDuplicateKeys: string;
2493
+ InvalidKeyFormat: string;
2492
2494
  };
2493
2495
  };
2494
2496
  /**
@@ -217,7 +217,7 @@ export default {
217
217
  PureCreated: {
218
218
  pure: 'AccountId32',
219
219
  who: 'AccountId32',
220
- proxyType: 'ArgonRuntimeConfigsProxyType',
220
+ proxyType: 'ArgonRuntimeProxyType',
221
221
  disambiguationIndex: 'u16',
222
222
  },
223
223
  Announced: {
@@ -228,21 +228,21 @@ export default {
228
228
  ProxyAdded: {
229
229
  delegator: 'AccountId32',
230
230
  delegatee: 'AccountId32',
231
- proxyType: 'ArgonRuntimeConfigsProxyType',
231
+ proxyType: 'ArgonRuntimeProxyType',
232
232
  delay: 'u32',
233
233
  },
234
234
  ProxyRemoved: {
235
235
  delegator: 'AccountId32',
236
236
  delegatee: 'AccountId32',
237
- proxyType: 'ArgonRuntimeConfigsProxyType',
237
+ proxyType: 'ArgonRuntimeProxyType',
238
238
  delay: 'u32'
239
239
  }
240
240
  }
241
241
  },
242
242
  /**
243
- * Lookup37: argon_runtime::configs::ProxyType
243
+ * Lookup37: argon_runtime::ProxyType
244
244
  **/
245
- ArgonRuntimeConfigsProxyType: {
245
+ ArgonRuntimeProxyType: {
246
246
  _enum: ['Any', 'NonTransfer', 'PriceIndex']
247
247
  },
248
248
  /**
@@ -1505,28 +1505,28 @@ export default {
1505
1505
  _enum: {
1506
1506
  proxy: {
1507
1507
  real: 'MultiAddress',
1508
- forceProxyType: 'Option<ArgonRuntimeConfigsProxyType>',
1508
+ forceProxyType: 'Option<ArgonRuntimeProxyType>',
1509
1509
  call: 'Call',
1510
1510
  },
1511
1511
  add_proxy: {
1512
1512
  delegate: 'MultiAddress',
1513
- proxyType: 'ArgonRuntimeConfigsProxyType',
1513
+ proxyType: 'ArgonRuntimeProxyType',
1514
1514
  delay: 'u32',
1515
1515
  },
1516
1516
  remove_proxy: {
1517
1517
  delegate: 'MultiAddress',
1518
- proxyType: 'ArgonRuntimeConfigsProxyType',
1518
+ proxyType: 'ArgonRuntimeProxyType',
1519
1519
  delay: 'u32',
1520
1520
  },
1521
1521
  remove_proxies: 'Null',
1522
1522
  create_pure: {
1523
- proxyType: 'ArgonRuntimeConfigsProxyType',
1523
+ proxyType: 'ArgonRuntimeProxyType',
1524
1524
  delay: 'u32',
1525
1525
  index: 'u16',
1526
1526
  },
1527
1527
  kill_pure: {
1528
1528
  spawner: 'MultiAddress',
1529
- proxyType: 'ArgonRuntimeConfigsProxyType',
1529
+ proxyType: 'ArgonRuntimeProxyType',
1530
1530
  index: 'u16',
1531
1531
  height: 'Compact<u32>',
1532
1532
  extIndex: 'Compact<u32>',
@@ -1546,7 +1546,7 @@ export default {
1546
1546
  proxy_announced: {
1547
1547
  delegate: 'MultiAddress',
1548
1548
  real: 'MultiAddress',
1549
- forceProxyType: 'Option<ArgonRuntimeConfigsProxyType>',
1549
+ forceProxyType: 'Option<ArgonRuntimeProxyType>',
1550
1550
  call: 'Call'
1551
1551
  }
1552
1552
  }
@@ -2419,11 +2419,11 @@ export default {
2419
2419
  _enum: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored']
2420
2420
  },
2421
2421
  /**
2422
- * Lookup317: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, argon_runtime::configs::ProxyType, BlockNumber>
2422
+ * Lookup317: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, argon_runtime::ProxyType, BlockNumber>
2423
2423
  **/
2424
2424
  PalletProxyProxyDefinition: {
2425
2425
  delegate: 'AccountId32',
2426
- proxyType: 'ArgonRuntimeConfigsProxyType',
2426
+ proxyType: 'ArgonRuntimeProxyType',
2427
2427
  delay: 'u32'
2428
2428
  },
2429
2429
  /**
@@ -2491,7 +2491,9 @@ export default {
2491
2491
  UnrecoverableHold: 'Null',
2492
2492
  VaultNotFound: 'Null',
2493
2493
  AccountWouldBeBelowMinimum: 'Null',
2494
- GenericObligationError: 'ArgonPrimitivesVaultObligationError'
2494
+ GenericObligationError: 'ArgonPrimitivesVaultObligationError',
2495
+ CannotRegisterDuplicateKeys: 'Null',
2496
+ InvalidKeyFormat: 'Null'
2495
2497
  }
2496
2498
  },
2497
2499
  /**