@argonprotocol/mainchain 1.4.3-dev.73792d13 → 1.4.3-dev.7c826893

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.
package/lib/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
5
5
  export { Codec, ITuple } from '@polkadot/types-codec/types';
6
6
  import { Percent, AccountId32, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H160, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, KeyTypeId, Balance, Weight, AccountId20, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, BalanceOf, BlockNumberFor, BlockNumberOf, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H2048, H32, H512, HeaderPartial, I32F32, IndicesLookupSource, Justifications, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
7
7
  export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill, SignedBlock } from '@polkadot/types/interfaces/runtime';
8
- import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, IsmpHostStateMachine, PalletInboundTransferLogInboundTransferDropReason, PalletInboundTransferLogInboundEvmTransfer, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
8
+ import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, IsmpHostStateMachine, PalletInboundTransferLogInboundTransferDropReason, PalletInboundTransferLogInboundEvmTransfer, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
9
9
  export * from '@polkadot/types/lookup';
10
10
  import { Observable, IExtrinsic } from '@polkadot/types/types';
11
11
  import { AugmentedRpc } from '@polkadot/rpc-core/types';
@@ -241,18 +241,6 @@ declare module '@polkadot/api-base/types/consts' {
241
241
  **/
242
242
  targetBlockVotes: u128 & AugmentedConst<ApiType>;
243
243
  };
244
- chainTransfer: {
245
- /**
246
- * How many transfers out can be queued per block
247
- **/
248
- maxPendingTransfersOutPerBlock: u32 & AugmentedConst<ApiType>;
249
- palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
250
- /**
251
- * How long a transfer should remain in storage before returning. NOTE: there is a 2 tick
252
- * grace period where we will still allow a transfer
253
- **/
254
- transferExpirationTicks: u64 & AugmentedConst<ApiType>;
255
- };
256
244
  grandpa: {
257
245
  /**
258
246
  * Max Authorities in use
@@ -294,6 +282,18 @@ declare module '@polkadot/api-base/types/consts' {
294
282
  **/
295
283
  ownershipAssetId: u32 & AugmentedConst<ApiType>;
296
284
  };
285
+ localchainTransfer: {
286
+ /**
287
+ * How many transfers out can be queued per block
288
+ **/
289
+ maxPendingTransfersOutPerBlock: u32 & AugmentedConst<ApiType>;
290
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
291
+ /**
292
+ * How long a transfer should remain in storage before returning. NOTE: there is a 2 tick
293
+ * grace period where we will still allow a transfer
294
+ **/
295
+ transferExpirationTicks: u64 & AugmentedConst<ApiType>;
296
+ };
297
297
  miningSlot: {
298
298
  /**
299
299
  * The max percent swing for the argonots per slot (from the last percent)
@@ -1033,37 +1033,6 @@ declare module '@polkadot/api-base/types/errors' {
1033
1033
  **/
1034
1034
  MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
1035
1035
  };
1036
- chainTransfer: {
1037
- /**
1038
- * Insufficient balance to create this transfer
1039
- **/
1040
- InsufficientFunds: AugmentedError<ApiType>;
1041
- /**
1042
- * Insufficient balance to fulfill a mainchain transfer
1043
- **/
1044
- InsufficientNotarizedFunds: AugmentedError<ApiType>;
1045
- /**
1046
- * The notary id is not registered
1047
- **/
1048
- InvalidNotaryUsedForTransfer: AugmentedError<ApiType>;
1049
- /**
1050
- * The transfer was already submitted in a previous block
1051
- **/
1052
- InvalidOrDuplicatedLocalchainTransfer: AugmentedError<ApiType>;
1053
- MaxBlockTransfersExceeded: AugmentedError<ApiType>;
1054
- /**
1055
- * No transfer IDs are currently available
1056
- **/
1057
- NoAvailableTransferId: AugmentedError<ApiType>;
1058
- /**
1059
- * The notary is currently locked and cannot process transfers
1060
- **/
1061
- NotaryLockedForTransfer: AugmentedError<ApiType>;
1062
- /**
1063
- * A transfer was submitted in a previous block but the expiration block has passed
1064
- **/
1065
- NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
1066
- };
1067
1036
  digests: {
1068
1037
  /**
1069
1038
  * Failed to decode digests
@@ -1205,6 +1174,37 @@ declare module '@polkadot/api-base/types/errors' {
1205
1174
  **/
1206
1175
  UnbondingPeriodUpdateFailed: AugmentedError<ApiType>;
1207
1176
  };
1177
+ localchainTransfer: {
1178
+ /**
1179
+ * Insufficient balance to create this transfer
1180
+ **/
1181
+ InsufficientFunds: AugmentedError<ApiType>;
1182
+ /**
1183
+ * Insufficient balance to fulfill a mainchain transfer
1184
+ **/
1185
+ InsufficientNotarizedFunds: AugmentedError<ApiType>;
1186
+ /**
1187
+ * The notary id is not registered
1188
+ **/
1189
+ InvalidNotaryUsedForTransfer: AugmentedError<ApiType>;
1190
+ /**
1191
+ * The transfer was already submitted in a previous block
1192
+ **/
1193
+ InvalidOrDuplicatedLocalchainTransfer: AugmentedError<ApiType>;
1194
+ MaxBlockTransfersExceeded: AugmentedError<ApiType>;
1195
+ /**
1196
+ * No transfer IDs are currently available
1197
+ **/
1198
+ NoAvailableTransferId: AugmentedError<ApiType>;
1199
+ /**
1200
+ * The notary is currently locked and cannot process transfers
1201
+ **/
1202
+ NotaryLockedForTransfer: AugmentedError<ApiType>;
1203
+ /**
1204
+ * A transfer was submitted in a previous block but the expiration block has passed
1205
+ **/
1206
+ NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
1207
+ };
1208
1208
  miningSlot: {
1209
1209
  /**
1210
1210
  * The mining bid cannot be reduced
@@ -2397,107 +2397,6 @@ declare module '@polkadot/api-base/types/events' {
2397
2397
  newVoteMinimum: u128;
2398
2398
  }>;
2399
2399
  };
2400
- chainTransfer: {
2401
- /**
2402
- * A localchain transfer could not be cleaned up properly. Possible invalid transfer
2403
- * needing investigation.
2404
- **/
2405
- PossibleInvalidLocalchainTransferAllowed: AugmentedEvent<ApiType, [
2406
- transferId: u32,
2407
- notaryId: u32,
2408
- notebookNumber: u32
2409
- ], {
2410
- transferId: u32;
2411
- notaryId: u32;
2412
- notebookNumber: u32;
2413
- }>;
2414
- /**
2415
- * Taxation failed
2416
- **/
2417
- TaxationError: AugmentedEvent<ApiType, [
2418
- notaryId: u32,
2419
- notebookNumber: u32,
2420
- tax: u128,
2421
- error: SpRuntimeDispatchError
2422
- ], {
2423
- notaryId: u32;
2424
- notebookNumber: u32;
2425
- tax: u128;
2426
- error: SpRuntimeDispatchError;
2427
- }>;
2428
- /**
2429
- * Transfer from Localchain to Mainchain
2430
- **/
2431
- TransferFromLocalchain: AugmentedEvent<ApiType, [
2432
- accountId: AccountId32,
2433
- amount: u128,
2434
- notaryId: u32
2435
- ], {
2436
- accountId: AccountId32;
2437
- amount: u128;
2438
- notaryId: u32;
2439
- }>;
2440
- /**
2441
- * A transfer into the mainchain failed
2442
- **/
2443
- TransferFromLocalchainError: AugmentedEvent<ApiType, [
2444
- accountId: AccountId32,
2445
- amount: u128,
2446
- notaryId: u32,
2447
- notebookNumber: u32,
2448
- error: SpRuntimeDispatchError
2449
- ], {
2450
- accountId: AccountId32;
2451
- amount: u128;
2452
- notaryId: u32;
2453
- notebookNumber: u32;
2454
- error: SpRuntimeDispatchError;
2455
- }>;
2456
- /**
2457
- * Funds sent to a localchain
2458
- **/
2459
- TransferToLocalchain: AugmentedEvent<ApiType, [
2460
- accountId: AccountId32,
2461
- amount: u128,
2462
- transferId: u32,
2463
- notaryId: u32,
2464
- expirationTick: u64
2465
- ], {
2466
- accountId: AccountId32;
2467
- amount: u128;
2468
- transferId: u32;
2469
- notaryId: u32;
2470
- expirationTick: u64;
2471
- }>;
2472
- /**
2473
- * Transfer to localchain expired and rolled back
2474
- **/
2475
- TransferToLocalchainExpired: AugmentedEvent<ApiType, [
2476
- accountId: AccountId32,
2477
- transferId: u32,
2478
- notaryId: u32
2479
- ], {
2480
- accountId: AccountId32;
2481
- transferId: u32;
2482
- notaryId: u32;
2483
- }>;
2484
- /**
2485
- * An expired transfer to localchain failed to be refunded
2486
- **/
2487
- TransferToLocalchainRefundError: AugmentedEvent<ApiType, [
2488
- accountId: AccountId32,
2489
- transferId: u32,
2490
- notaryId: u32,
2491
- notebookNumber: u32,
2492
- error: SpRuntimeDispatchError
2493
- ], {
2494
- accountId: AccountId32;
2495
- transferId: u32;
2496
- notaryId: u32;
2497
- notebookNumber: u32;
2498
- error: SpRuntimeDispatchError;
2499
- }>;
2500
- };
2501
2400
  digests: {};
2502
2401
  domains: {
2503
2402
  /**
@@ -2758,6 +2657,107 @@ declare module '@polkadot/api-base/types/events' {
2758
2657
  stateMachines: Vec<IsmpHostStateMachine>;
2759
2658
  }>;
2760
2659
  };
2660
+ localchainTransfer: {
2661
+ /**
2662
+ * A localchain transfer could not be cleaned up properly. Possible invalid transfer
2663
+ * needing investigation.
2664
+ **/
2665
+ PossibleInvalidLocalchainTransferAllowed: AugmentedEvent<ApiType, [
2666
+ transferId: u32,
2667
+ notaryId: u32,
2668
+ notebookNumber: u32
2669
+ ], {
2670
+ transferId: u32;
2671
+ notaryId: u32;
2672
+ notebookNumber: u32;
2673
+ }>;
2674
+ /**
2675
+ * Taxation failed
2676
+ **/
2677
+ TaxationError: AugmentedEvent<ApiType, [
2678
+ notaryId: u32,
2679
+ notebookNumber: u32,
2680
+ tax: u128,
2681
+ error: SpRuntimeDispatchError
2682
+ ], {
2683
+ notaryId: u32;
2684
+ notebookNumber: u32;
2685
+ tax: u128;
2686
+ error: SpRuntimeDispatchError;
2687
+ }>;
2688
+ /**
2689
+ * Transfer from Localchain to Mainchain
2690
+ **/
2691
+ TransferFromLocalchain: AugmentedEvent<ApiType, [
2692
+ accountId: AccountId32,
2693
+ amount: u128,
2694
+ notaryId: u32
2695
+ ], {
2696
+ accountId: AccountId32;
2697
+ amount: u128;
2698
+ notaryId: u32;
2699
+ }>;
2700
+ /**
2701
+ * A transfer into the mainchain failed
2702
+ **/
2703
+ TransferFromLocalchainError: AugmentedEvent<ApiType, [
2704
+ accountId: AccountId32,
2705
+ amount: u128,
2706
+ notaryId: u32,
2707
+ notebookNumber: u32,
2708
+ error: SpRuntimeDispatchError
2709
+ ], {
2710
+ accountId: AccountId32;
2711
+ amount: u128;
2712
+ notaryId: u32;
2713
+ notebookNumber: u32;
2714
+ error: SpRuntimeDispatchError;
2715
+ }>;
2716
+ /**
2717
+ * Funds sent to a localchain
2718
+ **/
2719
+ TransferToLocalchain: AugmentedEvent<ApiType, [
2720
+ accountId: AccountId32,
2721
+ amount: u128,
2722
+ transferId: u32,
2723
+ notaryId: u32,
2724
+ expirationTick: u64
2725
+ ], {
2726
+ accountId: AccountId32;
2727
+ amount: u128;
2728
+ transferId: u32;
2729
+ notaryId: u32;
2730
+ expirationTick: u64;
2731
+ }>;
2732
+ /**
2733
+ * Transfer to localchain expired and rolled back
2734
+ **/
2735
+ TransferToLocalchainExpired: AugmentedEvent<ApiType, [
2736
+ accountId: AccountId32,
2737
+ transferId: u32,
2738
+ notaryId: u32
2739
+ ], {
2740
+ accountId: AccountId32;
2741
+ transferId: u32;
2742
+ notaryId: u32;
2743
+ }>;
2744
+ /**
2745
+ * An expired transfer to localchain failed to be refunded
2746
+ **/
2747
+ TransferToLocalchainRefundError: AugmentedEvent<ApiType, [
2748
+ accountId: AccountId32,
2749
+ transferId: u32,
2750
+ notaryId: u32,
2751
+ notebookNumber: u32,
2752
+ error: SpRuntimeDispatchError
2753
+ ], {
2754
+ accountId: AccountId32;
2755
+ transferId: u32;
2756
+ notaryId: u32;
2757
+ notebookNumber: u32;
2758
+ error: SpRuntimeDispatchError;
2759
+ }>;
2760
+ };
2761
2761
  miningSlot: {
2762
2762
  /**
2763
2763
  * Bids are closed due to the VRF randomized function triggering
@@ -4318,28 +4318,6 @@ declare module '@polkadot/api-base/types/storage' {
4318
4318
  **/
4319
4319
  voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
4320
4320
  };
4321
- chainTransfer: {
4322
- /**
4323
- * Expiration index for outgoing transfers keyed by `(notary_id, expiration_tick)`.
4324
- *
4325
- * NOTE: Expiration processing follows notebook progression (`header.tick`) for each notary,
4326
- * not wall/runtime tick. If a notary stops submitting notebooks indefinitely, pending
4327
- * transfers for that notary remain frozen by design until a notary-switch recovery path is
4328
- * executed.
4329
- **/
4330
- expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
4331
- u32,
4332
- u64
4333
- ]>;
4334
- /**
4335
- * The admin of the hyperbridge token gateway
4336
- **/
4337
- hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
4338
- nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
4339
- pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [
4340
- u32
4341
- ]>;
4342
- };
4343
4321
  digests: {
4344
4322
  tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
4345
4323
  ]>;
@@ -4545,6 +4523,28 @@ declare module '@polkadot/api-base/types/storage' {
4545
4523
  IsmpHostStateMachine
4546
4524
  ]>;
4547
4525
  };
4526
+ localchainTransfer: {
4527
+ /**
4528
+ * Expiration index for outgoing transfers keyed by `(notary_id, expiration_tick)`.
4529
+ *
4530
+ * NOTE: Expiration processing follows notebook progression (`header.tick`) for each notary,
4531
+ * not wall/runtime tick. If a notary stops submitting notebooks indefinitely, pending
4532
+ * transfers for that notary remain frozen by design until a notary-switch recovery path is
4533
+ * executed.
4534
+ **/
4535
+ expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
4536
+ u32,
4537
+ u64
4538
+ ]>;
4539
+ /**
4540
+ * The admin of the hyperbridge token gateway
4541
+ **/
4542
+ hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
4543
+ nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
4544
+ pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>, [
4545
+ u32
4546
+ ]>;
4547
+ };
4548
4548
  miningSlot: {
4549
4549
  /**
4550
4550
  * Lookup by account id to the corresponding index in MinersByCohort and MinerNoncesByCohort
@@ -5592,12 +5592,6 @@ declare module '@polkadot/api-base/types/submittable' {
5592
5592
  Option<u128>
5593
5593
  ]>;
5594
5594
  };
5595
- chainTransfer: {
5596
- sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5597
- Compact<u128>,
5598
- u32
5599
- ]>;
5600
- };
5601
5595
  domains: {
5602
5596
  setZoneRecord: AugmentedSubmittable<(domainHash: H256 | string | Uint8Array, zoneRecord: ArgonPrimitivesDomainZoneRecord | {
5603
5597
  paymentAccount?: any;
@@ -5759,6 +5753,12 @@ declare module '@polkadot/api-base/types/submittable' {
5759
5753
  Vec<IsmpHostStateMachine>
5760
5754
  ]>;
5761
5755
  };
5756
+ localchainTransfer: {
5757
+ sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5758
+ Compact<u128>,
5759
+ u32
5760
+ ]>;
5761
+ };
5762
5762
  miningSlot: {
5763
5763
  /**
5764
5764
  * Submit a bid for a mining slot in the next cohort. Once all spots are filled in the next
@@ -9980,8 +9980,8 @@ declare module '@polkadot/types/lookup' {
9980
9980
  readonly isBlockSpecificationNotFound: boolean;
9981
9981
  readonly type: 'RootNotFound' | 'LastChangeNotFound' | 'InvalidTransferToLocalchain' | 'BlockSpecificationNotFound';
9982
9982
  }
9983
- /** @name PalletChainTransferEvent (76) */
9984
- interface PalletChainTransferEvent extends Enum {
9983
+ /** @name PalletLocalchainTransferEvent (76) */
9984
+ interface PalletLocalchainTransferEvent extends Enum {
9985
9985
  readonly isTransferToLocalchain: boolean;
9986
9986
  readonly asTransferToLocalchain: {
9987
9987
  readonly accountId: AccountId32;
@@ -11392,8 +11392,8 @@ declare module '@polkadot/types/lookup' {
11392
11392
  readonly notebookNumber: Compact<u32>;
11393
11393
  readonly accountUid: Compact<u32>;
11394
11394
  }
11395
- /** @name PalletChainTransferCall (249) */
11396
- interface PalletChainTransferCall extends Enum {
11395
+ /** @name PalletLocalchainTransferCall (249) */
11396
+ interface PalletLocalchainTransferCall extends Enum {
11397
11397
  readonly isSendToLocalchain: boolean;
11398
11398
  readonly asSendToLocalchain: {
11399
11399
  readonly amount: Compact<u128>;
@@ -12389,8 +12389,8 @@ declare module '@polkadot/types/lookup' {
12389
12389
  readonly isInvalidNotebookSubmissionTick: boolean;
12390
12390
  readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
12391
12391
  }
12392
- /** @name PalletChainTransferQueuedTransferOut (457) */
12393
- interface PalletChainTransferQueuedTransferOut extends Struct {
12392
+ /** @name PalletLocalchainTransferQueuedTransferOut (457) */
12393
+ interface PalletLocalchainTransferQueuedTransferOut extends Struct {
12394
12394
  readonly accountId: AccountId32;
12395
12395
  readonly amount: u128;
12396
12396
  readonly expirationTick: u64;
@@ -12399,8 +12399,8 @@ declare module '@polkadot/types/lookup' {
12399
12399
  /** @name FrameSupportPalletId (459) */
12400
12400
  interface FrameSupportPalletId extends U8aFixed {
12401
12401
  }
12402
- /** @name PalletChainTransferError (460) */
12403
- interface PalletChainTransferError extends Enum {
12402
+ /** @name PalletLocalchainTransferError (460) */
12403
+ interface PalletLocalchainTransferError extends Enum {
12404
12404
  readonly isMaxBlockTransfersExceeded: boolean;
12405
12405
  readonly isInsufficientFunds: boolean;
12406
12406
  readonly isInsufficientNotarizedFunds: boolean;