@arkade-os/sdk 0.4.77 → 0.4.79
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/README.md +1 -1
- package/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +3 -3
- package/dist/adapters/expo.d.ts +3 -3
- package/dist/adapters/expo.js +3 -3
- package/dist/{asyncStorageTaskQueue-DTl0WM7E.d.ts → asyncStorageTaskQueue-C5yQLJhm.d.ts} +2 -2
- package/dist/{asyncStorageTaskQueue-MmJyAnu-.d.cts → asyncStorageTaskQueue-Shsih-1l.d.cts} +2 -2
- package/dist/{chunk-ACPANSOX.js → chunk-4MXW2NDN.js} +10 -515
- package/dist/chunk-4MXW2NDN.js.map +1 -0
- package/dist/{chunk-Y4YK44IM.cjs → chunk-54FXLZ3T.cjs} +10 -10
- package/dist/{chunk-Y4YK44IM.cjs.map → chunk-54FXLZ3T.cjs.map} +1 -1
- package/dist/{chunk-CJN4CUEU.cjs → chunk-DAYCCIRO.cjs} +377 -198
- package/dist/chunk-DAYCCIRO.cjs.map +1 -0
- package/dist/{chunk-LUWSY2QO.cjs → chunk-FUW3OM5X.cjs} +76 -561
- package/dist/chunk-FUW3OM5X.cjs.map +1 -0
- package/dist/{chunk-YJEWWLOQ.cjs → chunk-HAM3SHBV.cjs} +650 -548
- package/dist/chunk-HAM3SHBV.cjs.map +1 -0
- package/dist/{chunk-52OA3UIC.js → chunk-JCPVP7TJ.js} +377 -201
- package/dist/chunk-JCPVP7TJ.js.map +1 -0
- package/dist/{chunk-4LP6XOMW.cjs → chunk-LASRYLMQ.cjs} +17 -17
- package/dist/{chunk-4LP6XOMW.cjs.map → chunk-LASRYLMQ.cjs.map} +1 -1
- package/dist/{chunk-HKOFYHZP.js → chunk-QDXOTONI.js} +3 -3
- package/dist/{chunk-HKOFYHZP.js.map → chunk-QDXOTONI.js.map} +1 -1
- package/dist/{chunk-H62OOAS4.cjs → chunk-SJPPBR2V.cjs} +17 -17
- package/dist/{chunk-H62OOAS4.cjs.map → chunk-SJPPBR2V.cjs.map} +1 -1
- package/dist/{chunk-T6MGH4V4.js → chunk-SK4OZRMB.js} +4 -4
- package/dist/{chunk-T6MGH4V4.js.map → chunk-SK4OZRMB.js.map} +1 -1
- package/dist/{chunk-YKNTUOUG.js → chunk-VAFNWP3I.js} +4 -4
- package/dist/{chunk-YKNTUOUG.js.map → chunk-VAFNWP3I.js.map} +1 -1
- package/dist/{chunk-MLOZHTBN.js → chunk-YPQ37P3H.js} +210 -108
- package/dist/chunk-YPQ37P3H.js.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +4 -4
- package/dist/contracts/handlers/index.d.ts +4 -4
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-QPCGaD_z.d.cts → delegate-B4bKASut.d.cts} +1 -1
- package/dist/{delegate-CjcysR7s.d.ts → delegate-C9lpdrb0.d.ts} +1 -1
- package/dist/{hdWalletCapable--pMncWbC.d.ts → hdWalletCapable-CUJDKRKO.d.cts} +2 -3
- package/dist/{hdWalletCapable-Bp_p0WLj.d.cts → hdWalletCapable-DJClhYMC.d.ts} +2 -3
- package/dist/{index-Ie_ak2zY.d.ts → index-Ctul0N3Y.d.cts} +28 -6
- package/dist/{index-Ie_ak2zY.d.cts → index-Ctul0N3Y.d.ts} +28 -6
- package/dist/{index-m-EM-e8D.d.ts → index-D0qe2qVY.d.ts} +2 -2
- package/dist/{index-BMY272ns.d.cts → index-YBFmScVS.d.cts} +2 -2
- package/dist/index.cjs +304 -304
- package/dist/index.d.cts +123 -123
- package/dist/index.d.ts +123 -123
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +20 -20
- package/dist/repositories/realm/index.d.cts +3 -3
- package/dist/repositories/realm/index.d.ts +3 -3
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +19 -19
- package/dist/repositories/sqlite/index.d.cts +3 -3
- package/dist/repositories/sqlite/index.d.ts +3 -3
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-CqrlrJEt.d.ts → taskRunner-C08egG5a.d.ts} +2 -2
- package/dist/{taskRunner-BgRowCqB.d.cts → taskRunner-DB17db5n.d.cts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +4 -4
- package/dist/wallet/expo/background.d.ts +4 -4
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +14 -14
- package/dist/wallet/expo/index.d.cts +5 -5
- package/dist/wallet/expo/index.d.ts +5 -5
- package/dist/wallet/expo/index.js +5 -5
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +5 -5
- package/dist/worker/expo/index.d.ts +5 -5
- package/dist/worker/expo/index.js +5 -5
- package/package.json +6 -5
- package/dist/chunk-52OA3UIC.js.map +0 -1
- package/dist/chunk-ACPANSOX.js.map +0 -1
- package/dist/chunk-CJN4CUEU.cjs.map +0 -1
- package/dist/chunk-LUWSY2QO.cjs.map +0 -1
- package/dist/chunk-MLOZHTBN.js.map +0 -1
- package/dist/chunk-YJEWWLOQ.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a5 as ReadonlyIdentity, a as Identity,
|
|
2
|
-
export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType,
|
|
3
|
-
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-
|
|
4
|
-
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-
|
|
5
|
-
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { a5 as ReadonlyIdentity, a as Identity, at as DescriptorSigningRequest, ap as Transaction, ao as SignerSession, a3 as DescriptorProvider, au as IntentFeeConfig, av as OffchainInput, aw as FeeAmount, ax as OnchainInput, ay as FeeOutput, D as IntentRepository, F as ArkIntent, H as IntentFilter, O as Outpoint, J as VirtualTxRepository, K as VirtualTx, L as VtxoBranch, W as WalletRepository, x as ExtendedVirtualCoin, y as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, z as WalletState, w as Contract, C as ContractRepository, B as ContractFilter, I as IWallet, r as ArkProvider, am as SettlementConfig, az as ContractWatcherConfig, aA as Asset, R as Recipient, aB as FeeInfo, l as SettlementEvent, N as NormalizedExtendedVirtualCoin, k as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, d as GetSpendableVtxosFilter, aC as CreateContractParams, aD as GetContractsFilter, v as VirtualCoin, aE as GetSpendablePathsOptions, aF as GetAllSpendingPathsOptions, h as GetNewAddressesOptions, aG as IssuanceParams, aH as ReissuanceParams, aI as BurnParams, aJ as RenewVtxosOptions, c as WalletBalance, ac as ContractSyncState, ah as ContractWithVtxos, aK as WatchedScript, aL as PathSelection, i as NewAddress, aM as ContractEvent, aN as AssetDetails, aO as IssuanceResult, aP as DelegateInfo, aQ as MigrationGlobalSkipReason, aR as MigrationLegSkipReason, aS as SignerStatus, a4 as IReadonlyWallet, e as ActivityRegistry, ab as IReadonlyAssetManager, aT as StorageConfig, f as Activity, g as IContractManager, n as IAssetManager, m as SendParams, j as IDelegateManager, aU as IVtxoManager, a6 as OnchainProvider, P as Network, ae as NetworkName, aj as Coin, aV as ExplorerTransaction, af as ArkInfo, aq as SignedIntent, ar as Intent, aW as TreeNonces, aX as TreePartialSigs, T as TxNotificationEvent, aY as PendingTx, u as TapLeafScript, aZ as EncodedVtxoScript, Q as CSVMultisigTapscript, t as RelativeTimelock, V as VtxoScript, a_ as Status, ag as ArkAddress, a$ as ChainTx, s as IndexerProvider, Y as TxTree, b0 as PathContext } from './index-Ctul0N3Y.cjs';
|
|
2
|
+
export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType, as as TimeHeight, Z as TreeNoncesEvent, a2 as TreeSignatureEvent, X as TreeSigningStartedEvent, a1 as TreeTxEvent, cg as Tx, ch as TxHistoryRecord, ci as TxKey, cj as TxNotification, ck as TxTag, cl as TxTreeNode, cm as TxType, cn as VirtualStatus, co as Vtxo, cp as VtxoChain, an as VtxoManager, cq as VtxoType, b as WalletConfig, cr as WalletMode, cs as WithPrevTx, ct as assertAllowedSighashTypes, cu as assetMintResolver, cv as attachPrevArkTxs, cw as attachPrevoutTxs, cx as boardingResolver, cy as canRecoverOnchain, cz as canSpendOffchain, cA as canSweepOnchain, cB as classifyAgainstSignerSet, cC as classifyContractSigner, cD as collabExitResolver, cE as configureEventSource, cF as createDefaultActivityRegistry, cG as createExitChainResolver, cH as decodeTapscript, cI as defaultEmulatorPubkey, cJ as getConfiguredEventSource, cK as getNetwork, cL as getRandomId, cM as getSequence, cN as hasCandidates, cO as hasTerminalSpend, cP as isBatchSignable, cQ as isContractVtxoEvent, cR as isCooperativelyMigratable, cS as isDiscoverable, cT as isEventSourceUnavailableError, cU as isExpired, cV as isPastExpiry, cW as isRecoverable, cX as isSigningIdentity, cY as isSpendable, cZ as isSubdust, c_ as isTerminalIntentState, c$ as isVirtualCoin, d0 as isVtxoExpiringSoon, d1 as isVtxoSpent, d2 as networks, d3 as resolveEmulatorPubkey, d4 as resolveEventSource, d5 as resolvePrevTxs, d6 as scriptFromTapLeafScript, d7 as signerSetFromInfo, d8 as toXOnlySignerHex, d9 as withPrevTxs } from './index-Ctul0N3Y.cjs';
|
|
3
|
+
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-CUJDKRKO.cjs';
|
|
4
|
+
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-CUJDKRKO.cjs';
|
|
5
|
+
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-YBFmScVS.cjs';
|
|
6
|
+
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-YBFmScVS.cjs';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-B4bKASut.cjs';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-B4bKASut.cjs';
|
|
9
9
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
10
10
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
11
11
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
12
12
|
import { ElectrumWS } from 'ws-electrumx-client';
|
|
13
13
|
import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
|
|
14
|
-
import { Transaction as Transaction$2 } from '@scure/btc-signer/transaction.js';
|
|
15
14
|
import { S as StorageAdapter } from './index-C0IanN1m.cjs';
|
|
16
15
|
import * as P from 'micro-packed';
|
|
16
|
+
import '@scure/btc-signer/transaction.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Tagged envelope for a signing identity transported across the
|
|
@@ -5177,7 +5177,7 @@ declare const UnilateralExit: {
|
|
|
5177
5177
|
declare function isRetryableProviderError(error: unknown): boolean;
|
|
5178
5178
|
|
|
5179
5179
|
declare function validateConnectorsTxGraph(settlementTxB64: string, connectorsGraph: TxTree): void;
|
|
5180
|
-
declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction
|
|
5180
|
+
declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction, sweepTapTreeRoot: Uint8Array): void;
|
|
5181
5181
|
|
|
5182
5182
|
/**
|
|
5183
5183
|
* Assert the commitment tx received at batch finalization is the one validated
|
|
@@ -5475,119 +5475,119 @@ declare const ARKADE_OPS: {
|
|
|
5475
5475
|
readonly SIGHASH: 246;
|
|
5476
5476
|
readonly TUNNEL: 247;
|
|
5477
5477
|
readonly INSPECTINTENTMESSAGE: 248;
|
|
5478
|
-
readonly OP_0:
|
|
5479
|
-
readonly PUSHDATA1:
|
|
5480
|
-
readonly PUSHDATA2:
|
|
5481
|
-
readonly PUSHDATA4:
|
|
5482
|
-
readonly '1NEGATE':
|
|
5483
|
-
readonly RESERVED:
|
|
5484
|
-
readonly OP_1:
|
|
5485
|
-
readonly OP_2:
|
|
5486
|
-
readonly OP_3:
|
|
5487
|
-
readonly OP_4:
|
|
5488
|
-
readonly OP_5:
|
|
5489
|
-
readonly OP_6:
|
|
5490
|
-
readonly OP_7:
|
|
5491
|
-
readonly OP_8:
|
|
5492
|
-
readonly OP_9:
|
|
5493
|
-
readonly OP_10:
|
|
5494
|
-
readonly OP_11:
|
|
5495
|
-
readonly OP_12:
|
|
5496
|
-
readonly OP_13:
|
|
5497
|
-
readonly OP_14:
|
|
5498
|
-
readonly OP_15:
|
|
5499
|
-
readonly OP_16:
|
|
5500
|
-
readonly NOP:
|
|
5501
|
-
readonly VER:
|
|
5502
|
-
readonly IF:
|
|
5503
|
-
readonly NOTIF:
|
|
5504
|
-
readonly VERIF:
|
|
5505
|
-
readonly VERNOTIF:
|
|
5506
|
-
readonly ELSE:
|
|
5507
|
-
readonly ENDIF:
|
|
5508
|
-
readonly VERIFY:
|
|
5509
|
-
readonly RETURN:
|
|
5510
|
-
readonly TOALTSTACK:
|
|
5511
|
-
readonly FROMALTSTACK:
|
|
5512
|
-
readonly '2DROP':
|
|
5513
|
-
readonly '2DUP':
|
|
5514
|
-
readonly '3DUP':
|
|
5515
|
-
readonly '2OVER':
|
|
5516
|
-
readonly '2ROT':
|
|
5517
|
-
readonly '2SWAP':
|
|
5518
|
-
readonly IFDUP:
|
|
5519
|
-
readonly DEPTH:
|
|
5520
|
-
readonly DROP:
|
|
5521
|
-
readonly DUP:
|
|
5522
|
-
readonly NIP:
|
|
5523
|
-
readonly OVER:
|
|
5524
|
-
readonly PICK:
|
|
5525
|
-
readonly ROLL:
|
|
5526
|
-
readonly ROT:
|
|
5527
|
-
readonly SWAP:
|
|
5528
|
-
readonly TUCK:
|
|
5529
|
-
readonly CAT:
|
|
5530
|
-
readonly SUBSTR:
|
|
5531
|
-
readonly LEFT:
|
|
5532
|
-
readonly RIGHT:
|
|
5533
|
-
readonly SIZE:
|
|
5534
|
-
readonly INVERT:
|
|
5535
|
-
readonly AND:
|
|
5536
|
-
readonly OR:
|
|
5537
|
-
readonly XOR:
|
|
5538
|
-
readonly EQUAL:
|
|
5539
|
-
readonly EQUALVERIFY:
|
|
5540
|
-
readonly RESERVED1:
|
|
5541
|
-
readonly RESERVED2:
|
|
5542
|
-
readonly '1ADD':
|
|
5543
|
-
readonly '1SUB':
|
|
5544
|
-
readonly '2MUL':
|
|
5545
|
-
readonly '2DIV':
|
|
5546
|
-
readonly NEGATE:
|
|
5547
|
-
readonly ABS:
|
|
5548
|
-
readonly NOT:
|
|
5549
|
-
readonly '0NOTEQUAL':
|
|
5550
|
-
readonly ADD:
|
|
5551
|
-
readonly SUB:
|
|
5552
|
-
readonly MUL:
|
|
5553
|
-
readonly DIV:
|
|
5554
|
-
readonly MOD:
|
|
5555
|
-
readonly LSHIFT:
|
|
5556
|
-
readonly RSHIFT:
|
|
5557
|
-
readonly BOOLAND:
|
|
5558
|
-
readonly BOOLOR:
|
|
5559
|
-
readonly NUMEQUAL:
|
|
5560
|
-
readonly NUMEQUALVERIFY:
|
|
5561
|
-
readonly NUMNOTEQUAL:
|
|
5562
|
-
readonly LESSTHAN:
|
|
5563
|
-
readonly GREATERTHAN:
|
|
5564
|
-
readonly LESSTHANOREQUAL:
|
|
5565
|
-
readonly GREATERTHANOREQUAL:
|
|
5566
|
-
readonly MIN:
|
|
5567
|
-
readonly MAX:
|
|
5568
|
-
readonly WITHIN:
|
|
5569
|
-
readonly RIPEMD160:
|
|
5570
|
-
readonly SHA1:
|
|
5571
|
-
readonly SHA256:
|
|
5572
|
-
readonly HASH160:
|
|
5573
|
-
readonly HASH256:
|
|
5574
|
-
readonly CODESEPARATOR:
|
|
5575
|
-
readonly CHECKSIG:
|
|
5576
|
-
readonly CHECKSIGVERIFY:
|
|
5577
|
-
readonly CHECKMULTISIG:
|
|
5578
|
-
readonly CHECKMULTISIGVERIFY:
|
|
5579
|
-
readonly NOP1:
|
|
5580
|
-
readonly CHECKLOCKTIMEVERIFY:
|
|
5581
|
-
readonly CHECKSEQUENCEVERIFY:
|
|
5582
|
-
readonly NOP4:
|
|
5583
|
-
readonly NOP5:
|
|
5584
|
-
readonly NOP6:
|
|
5585
|
-
readonly NOP7:
|
|
5586
|
-
readonly NOP8:
|
|
5587
|
-
readonly NOP9:
|
|
5588
|
-
readonly NOP10:
|
|
5589
|
-
readonly CHECKSIGADD:
|
|
5590
|
-
readonly INVALID:
|
|
5478
|
+
readonly OP_0: 0;
|
|
5479
|
+
readonly PUSHDATA1: 76;
|
|
5480
|
+
readonly PUSHDATA2: 77;
|
|
5481
|
+
readonly PUSHDATA4: 78;
|
|
5482
|
+
readonly '1NEGATE': 79;
|
|
5483
|
+
readonly RESERVED: 80;
|
|
5484
|
+
readonly OP_1: 81;
|
|
5485
|
+
readonly OP_2: 82;
|
|
5486
|
+
readonly OP_3: 83;
|
|
5487
|
+
readonly OP_4: 84;
|
|
5488
|
+
readonly OP_5: 85;
|
|
5489
|
+
readonly OP_6: 86;
|
|
5490
|
+
readonly OP_7: 87;
|
|
5491
|
+
readonly OP_8: 88;
|
|
5492
|
+
readonly OP_9: 89;
|
|
5493
|
+
readonly OP_10: 90;
|
|
5494
|
+
readonly OP_11: 91;
|
|
5495
|
+
readonly OP_12: 92;
|
|
5496
|
+
readonly OP_13: 93;
|
|
5497
|
+
readonly OP_14: 94;
|
|
5498
|
+
readonly OP_15: 95;
|
|
5499
|
+
readonly OP_16: 96;
|
|
5500
|
+
readonly NOP: 97;
|
|
5501
|
+
readonly VER: 98;
|
|
5502
|
+
readonly IF: 99;
|
|
5503
|
+
readonly NOTIF: 100;
|
|
5504
|
+
readonly VERIF: 101;
|
|
5505
|
+
readonly VERNOTIF: 102;
|
|
5506
|
+
readonly ELSE: 103;
|
|
5507
|
+
readonly ENDIF: 104;
|
|
5508
|
+
readonly VERIFY: 105;
|
|
5509
|
+
readonly RETURN: 106;
|
|
5510
|
+
readonly TOALTSTACK: 107;
|
|
5511
|
+
readonly FROMALTSTACK: 108;
|
|
5512
|
+
readonly '2DROP': 109;
|
|
5513
|
+
readonly '2DUP': 110;
|
|
5514
|
+
readonly '3DUP': 111;
|
|
5515
|
+
readonly '2OVER': 112;
|
|
5516
|
+
readonly '2ROT': 113;
|
|
5517
|
+
readonly '2SWAP': 114;
|
|
5518
|
+
readonly IFDUP: 115;
|
|
5519
|
+
readonly DEPTH: 116;
|
|
5520
|
+
readonly DROP: 117;
|
|
5521
|
+
readonly DUP: 118;
|
|
5522
|
+
readonly NIP: 119;
|
|
5523
|
+
readonly OVER: 120;
|
|
5524
|
+
readonly PICK: 121;
|
|
5525
|
+
readonly ROLL: 122;
|
|
5526
|
+
readonly ROT: 123;
|
|
5527
|
+
readonly SWAP: 124;
|
|
5528
|
+
readonly TUCK: 125;
|
|
5529
|
+
readonly CAT: 126;
|
|
5530
|
+
readonly SUBSTR: 127;
|
|
5531
|
+
readonly LEFT: 128;
|
|
5532
|
+
readonly RIGHT: 129;
|
|
5533
|
+
readonly SIZE: 130;
|
|
5534
|
+
readonly INVERT: 131;
|
|
5535
|
+
readonly AND: 132;
|
|
5536
|
+
readonly OR: 133;
|
|
5537
|
+
readonly XOR: 134;
|
|
5538
|
+
readonly EQUAL: 135;
|
|
5539
|
+
readonly EQUALVERIFY: 136;
|
|
5540
|
+
readonly RESERVED1: 137;
|
|
5541
|
+
readonly RESERVED2: 138;
|
|
5542
|
+
readonly '1ADD': 139;
|
|
5543
|
+
readonly '1SUB': 140;
|
|
5544
|
+
readonly '2MUL': 141;
|
|
5545
|
+
readonly '2DIV': 142;
|
|
5546
|
+
readonly NEGATE: 143;
|
|
5547
|
+
readonly ABS: 144;
|
|
5548
|
+
readonly NOT: 145;
|
|
5549
|
+
readonly '0NOTEQUAL': 146;
|
|
5550
|
+
readonly ADD: 147;
|
|
5551
|
+
readonly SUB: 148;
|
|
5552
|
+
readonly MUL: 149;
|
|
5553
|
+
readonly DIV: 150;
|
|
5554
|
+
readonly MOD: 151;
|
|
5555
|
+
readonly LSHIFT: 152;
|
|
5556
|
+
readonly RSHIFT: 153;
|
|
5557
|
+
readonly BOOLAND: 154;
|
|
5558
|
+
readonly BOOLOR: 155;
|
|
5559
|
+
readonly NUMEQUAL: 156;
|
|
5560
|
+
readonly NUMEQUALVERIFY: 157;
|
|
5561
|
+
readonly NUMNOTEQUAL: 158;
|
|
5562
|
+
readonly LESSTHAN: 159;
|
|
5563
|
+
readonly GREATERTHAN: 160;
|
|
5564
|
+
readonly LESSTHANOREQUAL: 161;
|
|
5565
|
+
readonly GREATERTHANOREQUAL: 162;
|
|
5566
|
+
readonly MIN: 163;
|
|
5567
|
+
readonly MAX: 164;
|
|
5568
|
+
readonly WITHIN: 165;
|
|
5569
|
+
readonly RIPEMD160: 166;
|
|
5570
|
+
readonly SHA1: 167;
|
|
5571
|
+
readonly SHA256: 168;
|
|
5572
|
+
readonly HASH160: 169;
|
|
5573
|
+
readonly HASH256: 170;
|
|
5574
|
+
readonly CODESEPARATOR: 171;
|
|
5575
|
+
readonly CHECKSIG: 172;
|
|
5576
|
+
readonly CHECKSIGVERIFY: 173;
|
|
5577
|
+
readonly CHECKMULTISIG: 174;
|
|
5578
|
+
readonly CHECKMULTISIGVERIFY: 175;
|
|
5579
|
+
readonly NOP1: 176;
|
|
5580
|
+
readonly CHECKLOCKTIMEVERIFY: 177;
|
|
5581
|
+
readonly CHECKSEQUENCEVERIFY: 178;
|
|
5582
|
+
readonly NOP4: 179;
|
|
5583
|
+
readonly NOP5: 180;
|
|
5584
|
+
readonly NOP6: 181;
|
|
5585
|
+
readonly NOP7: 182;
|
|
5586
|
+
readonly NOP8: 183;
|
|
5587
|
+
readonly NOP9: 184;
|
|
5588
|
+
readonly NOP10: 185;
|
|
5589
|
+
readonly CHECKSIGADD: 186;
|
|
5590
|
+
readonly INVALID: 255;
|
|
5591
5591
|
};
|
|
5592
5592
|
/** A single script operation: opcode string key, raw bytes, number, or bigint */
|
|
5593
5593
|
type ArkadeScriptOP = keyof typeof ARKADE_OPS | Uint8Array | number | bigint;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a5 as ReadonlyIdentity, a as Identity,
|
|
2
|
-
export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType,
|
|
3
|
-
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable
|
|
4
|
-
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable
|
|
5
|
-
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { a5 as ReadonlyIdentity, a as Identity, at as DescriptorSigningRequest, ap as Transaction, ao as SignerSession, a3 as DescriptorProvider, au as IntentFeeConfig, av as OffchainInput, aw as FeeAmount, ax as OnchainInput, ay as FeeOutput, D as IntentRepository, F as ArkIntent, H as IntentFilter, O as Outpoint, J as VirtualTxRepository, K as VirtualTx, L as VtxoBranch, W as WalletRepository, x as ExtendedVirtualCoin, y as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, z as WalletState, w as Contract, C as ContractRepository, B as ContractFilter, I as IWallet, r as ArkProvider, am as SettlementConfig, az as ContractWatcherConfig, aA as Asset, R as Recipient, aB as FeeInfo, l as SettlementEvent, N as NormalizedExtendedVirtualCoin, k as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, d as GetSpendableVtxosFilter, aC as CreateContractParams, aD as GetContractsFilter, v as VirtualCoin, aE as GetSpendablePathsOptions, aF as GetAllSpendingPathsOptions, h as GetNewAddressesOptions, aG as IssuanceParams, aH as ReissuanceParams, aI as BurnParams, aJ as RenewVtxosOptions, c as WalletBalance, ac as ContractSyncState, ah as ContractWithVtxos, aK as WatchedScript, aL as PathSelection, i as NewAddress, aM as ContractEvent, aN as AssetDetails, aO as IssuanceResult, aP as DelegateInfo, aQ as MigrationGlobalSkipReason, aR as MigrationLegSkipReason, aS as SignerStatus, a4 as IReadonlyWallet, e as ActivityRegistry, ab as IReadonlyAssetManager, aT as StorageConfig, f as Activity, g as IContractManager, n as IAssetManager, m as SendParams, j as IDelegateManager, aU as IVtxoManager, a6 as OnchainProvider, P as Network, ae as NetworkName, aj as Coin, aV as ExplorerTransaction, af as ArkInfo, aq as SignedIntent, ar as Intent, aW as TreeNonces, aX as TreePartialSigs, T as TxNotificationEvent, aY as PendingTx, u as TapLeafScript, aZ as EncodedVtxoScript, Q as CSVMultisigTapscript, t as RelativeTimelock, V as VtxoScript, a_ as Status, ag as ArkAddress, a$ as ChainTx, s as IndexerProvider, Y as TxTree, b0 as PathContext } from './index-Ctul0N3Y.js';
|
|
2
|
+
export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType, as as TimeHeight, Z as TreeNoncesEvent, a2 as TreeSignatureEvent, X as TreeSigningStartedEvent, a1 as TreeTxEvent, cg as Tx, ch as TxHistoryRecord, ci as TxKey, cj as TxNotification, ck as TxTag, cl as TxTreeNode, cm as TxType, cn as VirtualStatus, co as Vtxo, cp as VtxoChain, an as VtxoManager, cq as VtxoType, b as WalletConfig, cr as WalletMode, cs as WithPrevTx, ct as assertAllowedSighashTypes, cu as assetMintResolver, cv as attachPrevArkTxs, cw as attachPrevoutTxs, cx as boardingResolver, cy as canRecoverOnchain, cz as canSpendOffchain, cA as canSweepOnchain, cB as classifyAgainstSignerSet, cC as classifyContractSigner, cD as collabExitResolver, cE as configureEventSource, cF as createDefaultActivityRegistry, cG as createExitChainResolver, cH as decodeTapscript, cI as defaultEmulatorPubkey, cJ as getConfiguredEventSource, cK as getNetwork, cL as getRandomId, cM as getSequence, cN as hasCandidates, cO as hasTerminalSpend, cP as isBatchSignable, cQ as isContractVtxoEvent, cR as isCooperativelyMigratable, cS as isDiscoverable, cT as isEventSourceUnavailableError, cU as isExpired, cV as isPastExpiry, cW as isRecoverable, cX as isSigningIdentity, cY as isSpendable, cZ as isSubdust, c_ as isTerminalIntentState, c$ as isVirtualCoin, d0 as isVtxoExpiringSoon, d1 as isVtxoSpent, d2 as networks, d3 as resolveEmulatorPubkey, d4 as resolveEventSource, d5 as resolvePrevTxs, d6 as scriptFromTapLeafScript, d7 as signerSetFromInfo, d8 as toXOnlySignerHex, d9 as withPrevTxs } from './index-Ctul0N3Y.js';
|
|
3
|
+
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-DJClhYMC.js';
|
|
4
|
+
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-DJClhYMC.js';
|
|
5
|
+
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-D0qe2qVY.js';
|
|
6
|
+
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-D0qe2qVY.js';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-C9lpdrb0.js';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-C9lpdrb0.js';
|
|
9
9
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
10
10
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
11
11
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
12
12
|
import { ElectrumWS } from 'ws-electrumx-client';
|
|
13
13
|
import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
|
|
14
|
-
import { Transaction as Transaction$2 } from '@scure/btc-signer/transaction.js';
|
|
15
14
|
import { S as StorageAdapter } from './index-C0IanN1m.js';
|
|
16
15
|
import * as P from 'micro-packed';
|
|
16
|
+
import '@scure/btc-signer/transaction.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Tagged envelope for a signing identity transported across the
|
|
@@ -5177,7 +5177,7 @@ declare const UnilateralExit: {
|
|
|
5177
5177
|
declare function isRetryableProviderError(error: unknown): boolean;
|
|
5178
5178
|
|
|
5179
5179
|
declare function validateConnectorsTxGraph(settlementTxB64: string, connectorsGraph: TxTree): void;
|
|
5180
|
-
declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction
|
|
5180
|
+
declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction, sweepTapTreeRoot: Uint8Array): void;
|
|
5181
5181
|
|
|
5182
5182
|
/**
|
|
5183
5183
|
* Assert the commitment tx received at batch finalization is the one validated
|
|
@@ -5475,119 +5475,119 @@ declare const ARKADE_OPS: {
|
|
|
5475
5475
|
readonly SIGHASH: 246;
|
|
5476
5476
|
readonly TUNNEL: 247;
|
|
5477
5477
|
readonly INSPECTINTENTMESSAGE: 248;
|
|
5478
|
-
readonly OP_0:
|
|
5479
|
-
readonly PUSHDATA1:
|
|
5480
|
-
readonly PUSHDATA2:
|
|
5481
|
-
readonly PUSHDATA4:
|
|
5482
|
-
readonly '1NEGATE':
|
|
5483
|
-
readonly RESERVED:
|
|
5484
|
-
readonly OP_1:
|
|
5485
|
-
readonly OP_2:
|
|
5486
|
-
readonly OP_3:
|
|
5487
|
-
readonly OP_4:
|
|
5488
|
-
readonly OP_5:
|
|
5489
|
-
readonly OP_6:
|
|
5490
|
-
readonly OP_7:
|
|
5491
|
-
readonly OP_8:
|
|
5492
|
-
readonly OP_9:
|
|
5493
|
-
readonly OP_10:
|
|
5494
|
-
readonly OP_11:
|
|
5495
|
-
readonly OP_12:
|
|
5496
|
-
readonly OP_13:
|
|
5497
|
-
readonly OP_14:
|
|
5498
|
-
readonly OP_15:
|
|
5499
|
-
readonly OP_16:
|
|
5500
|
-
readonly NOP:
|
|
5501
|
-
readonly VER:
|
|
5502
|
-
readonly IF:
|
|
5503
|
-
readonly NOTIF:
|
|
5504
|
-
readonly VERIF:
|
|
5505
|
-
readonly VERNOTIF:
|
|
5506
|
-
readonly ELSE:
|
|
5507
|
-
readonly ENDIF:
|
|
5508
|
-
readonly VERIFY:
|
|
5509
|
-
readonly RETURN:
|
|
5510
|
-
readonly TOALTSTACK:
|
|
5511
|
-
readonly FROMALTSTACK:
|
|
5512
|
-
readonly '2DROP':
|
|
5513
|
-
readonly '2DUP':
|
|
5514
|
-
readonly '3DUP':
|
|
5515
|
-
readonly '2OVER':
|
|
5516
|
-
readonly '2ROT':
|
|
5517
|
-
readonly '2SWAP':
|
|
5518
|
-
readonly IFDUP:
|
|
5519
|
-
readonly DEPTH:
|
|
5520
|
-
readonly DROP:
|
|
5521
|
-
readonly DUP:
|
|
5522
|
-
readonly NIP:
|
|
5523
|
-
readonly OVER:
|
|
5524
|
-
readonly PICK:
|
|
5525
|
-
readonly ROLL:
|
|
5526
|
-
readonly ROT:
|
|
5527
|
-
readonly SWAP:
|
|
5528
|
-
readonly TUCK:
|
|
5529
|
-
readonly CAT:
|
|
5530
|
-
readonly SUBSTR:
|
|
5531
|
-
readonly LEFT:
|
|
5532
|
-
readonly RIGHT:
|
|
5533
|
-
readonly SIZE:
|
|
5534
|
-
readonly INVERT:
|
|
5535
|
-
readonly AND:
|
|
5536
|
-
readonly OR:
|
|
5537
|
-
readonly XOR:
|
|
5538
|
-
readonly EQUAL:
|
|
5539
|
-
readonly EQUALVERIFY:
|
|
5540
|
-
readonly RESERVED1:
|
|
5541
|
-
readonly RESERVED2:
|
|
5542
|
-
readonly '1ADD':
|
|
5543
|
-
readonly '1SUB':
|
|
5544
|
-
readonly '2MUL':
|
|
5545
|
-
readonly '2DIV':
|
|
5546
|
-
readonly NEGATE:
|
|
5547
|
-
readonly ABS:
|
|
5548
|
-
readonly NOT:
|
|
5549
|
-
readonly '0NOTEQUAL':
|
|
5550
|
-
readonly ADD:
|
|
5551
|
-
readonly SUB:
|
|
5552
|
-
readonly MUL:
|
|
5553
|
-
readonly DIV:
|
|
5554
|
-
readonly MOD:
|
|
5555
|
-
readonly LSHIFT:
|
|
5556
|
-
readonly RSHIFT:
|
|
5557
|
-
readonly BOOLAND:
|
|
5558
|
-
readonly BOOLOR:
|
|
5559
|
-
readonly NUMEQUAL:
|
|
5560
|
-
readonly NUMEQUALVERIFY:
|
|
5561
|
-
readonly NUMNOTEQUAL:
|
|
5562
|
-
readonly LESSTHAN:
|
|
5563
|
-
readonly GREATERTHAN:
|
|
5564
|
-
readonly LESSTHANOREQUAL:
|
|
5565
|
-
readonly GREATERTHANOREQUAL:
|
|
5566
|
-
readonly MIN:
|
|
5567
|
-
readonly MAX:
|
|
5568
|
-
readonly WITHIN:
|
|
5569
|
-
readonly RIPEMD160:
|
|
5570
|
-
readonly SHA1:
|
|
5571
|
-
readonly SHA256:
|
|
5572
|
-
readonly HASH160:
|
|
5573
|
-
readonly HASH256:
|
|
5574
|
-
readonly CODESEPARATOR:
|
|
5575
|
-
readonly CHECKSIG:
|
|
5576
|
-
readonly CHECKSIGVERIFY:
|
|
5577
|
-
readonly CHECKMULTISIG:
|
|
5578
|
-
readonly CHECKMULTISIGVERIFY:
|
|
5579
|
-
readonly NOP1:
|
|
5580
|
-
readonly CHECKLOCKTIMEVERIFY:
|
|
5581
|
-
readonly CHECKSEQUENCEVERIFY:
|
|
5582
|
-
readonly NOP4:
|
|
5583
|
-
readonly NOP5:
|
|
5584
|
-
readonly NOP6:
|
|
5585
|
-
readonly NOP7:
|
|
5586
|
-
readonly NOP8:
|
|
5587
|
-
readonly NOP9:
|
|
5588
|
-
readonly NOP10:
|
|
5589
|
-
readonly CHECKSIGADD:
|
|
5590
|
-
readonly INVALID:
|
|
5478
|
+
readonly OP_0: 0;
|
|
5479
|
+
readonly PUSHDATA1: 76;
|
|
5480
|
+
readonly PUSHDATA2: 77;
|
|
5481
|
+
readonly PUSHDATA4: 78;
|
|
5482
|
+
readonly '1NEGATE': 79;
|
|
5483
|
+
readonly RESERVED: 80;
|
|
5484
|
+
readonly OP_1: 81;
|
|
5485
|
+
readonly OP_2: 82;
|
|
5486
|
+
readonly OP_3: 83;
|
|
5487
|
+
readonly OP_4: 84;
|
|
5488
|
+
readonly OP_5: 85;
|
|
5489
|
+
readonly OP_6: 86;
|
|
5490
|
+
readonly OP_7: 87;
|
|
5491
|
+
readonly OP_8: 88;
|
|
5492
|
+
readonly OP_9: 89;
|
|
5493
|
+
readonly OP_10: 90;
|
|
5494
|
+
readonly OP_11: 91;
|
|
5495
|
+
readonly OP_12: 92;
|
|
5496
|
+
readonly OP_13: 93;
|
|
5497
|
+
readonly OP_14: 94;
|
|
5498
|
+
readonly OP_15: 95;
|
|
5499
|
+
readonly OP_16: 96;
|
|
5500
|
+
readonly NOP: 97;
|
|
5501
|
+
readonly VER: 98;
|
|
5502
|
+
readonly IF: 99;
|
|
5503
|
+
readonly NOTIF: 100;
|
|
5504
|
+
readonly VERIF: 101;
|
|
5505
|
+
readonly VERNOTIF: 102;
|
|
5506
|
+
readonly ELSE: 103;
|
|
5507
|
+
readonly ENDIF: 104;
|
|
5508
|
+
readonly VERIFY: 105;
|
|
5509
|
+
readonly RETURN: 106;
|
|
5510
|
+
readonly TOALTSTACK: 107;
|
|
5511
|
+
readonly FROMALTSTACK: 108;
|
|
5512
|
+
readonly '2DROP': 109;
|
|
5513
|
+
readonly '2DUP': 110;
|
|
5514
|
+
readonly '3DUP': 111;
|
|
5515
|
+
readonly '2OVER': 112;
|
|
5516
|
+
readonly '2ROT': 113;
|
|
5517
|
+
readonly '2SWAP': 114;
|
|
5518
|
+
readonly IFDUP: 115;
|
|
5519
|
+
readonly DEPTH: 116;
|
|
5520
|
+
readonly DROP: 117;
|
|
5521
|
+
readonly DUP: 118;
|
|
5522
|
+
readonly NIP: 119;
|
|
5523
|
+
readonly OVER: 120;
|
|
5524
|
+
readonly PICK: 121;
|
|
5525
|
+
readonly ROLL: 122;
|
|
5526
|
+
readonly ROT: 123;
|
|
5527
|
+
readonly SWAP: 124;
|
|
5528
|
+
readonly TUCK: 125;
|
|
5529
|
+
readonly CAT: 126;
|
|
5530
|
+
readonly SUBSTR: 127;
|
|
5531
|
+
readonly LEFT: 128;
|
|
5532
|
+
readonly RIGHT: 129;
|
|
5533
|
+
readonly SIZE: 130;
|
|
5534
|
+
readonly INVERT: 131;
|
|
5535
|
+
readonly AND: 132;
|
|
5536
|
+
readonly OR: 133;
|
|
5537
|
+
readonly XOR: 134;
|
|
5538
|
+
readonly EQUAL: 135;
|
|
5539
|
+
readonly EQUALVERIFY: 136;
|
|
5540
|
+
readonly RESERVED1: 137;
|
|
5541
|
+
readonly RESERVED2: 138;
|
|
5542
|
+
readonly '1ADD': 139;
|
|
5543
|
+
readonly '1SUB': 140;
|
|
5544
|
+
readonly '2MUL': 141;
|
|
5545
|
+
readonly '2DIV': 142;
|
|
5546
|
+
readonly NEGATE: 143;
|
|
5547
|
+
readonly ABS: 144;
|
|
5548
|
+
readonly NOT: 145;
|
|
5549
|
+
readonly '0NOTEQUAL': 146;
|
|
5550
|
+
readonly ADD: 147;
|
|
5551
|
+
readonly SUB: 148;
|
|
5552
|
+
readonly MUL: 149;
|
|
5553
|
+
readonly DIV: 150;
|
|
5554
|
+
readonly MOD: 151;
|
|
5555
|
+
readonly LSHIFT: 152;
|
|
5556
|
+
readonly RSHIFT: 153;
|
|
5557
|
+
readonly BOOLAND: 154;
|
|
5558
|
+
readonly BOOLOR: 155;
|
|
5559
|
+
readonly NUMEQUAL: 156;
|
|
5560
|
+
readonly NUMEQUALVERIFY: 157;
|
|
5561
|
+
readonly NUMNOTEQUAL: 158;
|
|
5562
|
+
readonly LESSTHAN: 159;
|
|
5563
|
+
readonly GREATERTHAN: 160;
|
|
5564
|
+
readonly LESSTHANOREQUAL: 161;
|
|
5565
|
+
readonly GREATERTHANOREQUAL: 162;
|
|
5566
|
+
readonly MIN: 163;
|
|
5567
|
+
readonly MAX: 164;
|
|
5568
|
+
readonly WITHIN: 165;
|
|
5569
|
+
readonly RIPEMD160: 166;
|
|
5570
|
+
readonly SHA1: 167;
|
|
5571
|
+
readonly SHA256: 168;
|
|
5572
|
+
readonly HASH160: 169;
|
|
5573
|
+
readonly HASH256: 170;
|
|
5574
|
+
readonly CODESEPARATOR: 171;
|
|
5575
|
+
readonly CHECKSIG: 172;
|
|
5576
|
+
readonly CHECKSIGVERIFY: 173;
|
|
5577
|
+
readonly CHECKMULTISIG: 174;
|
|
5578
|
+
readonly CHECKMULTISIGVERIFY: 175;
|
|
5579
|
+
readonly NOP1: 176;
|
|
5580
|
+
readonly CHECKLOCKTIMEVERIFY: 177;
|
|
5581
|
+
readonly CHECKSEQUENCEVERIFY: 178;
|
|
5582
|
+
readonly NOP4: 179;
|
|
5583
|
+
readonly NOP5: 180;
|
|
5584
|
+
readonly NOP6: 181;
|
|
5585
|
+
readonly NOP7: 182;
|
|
5586
|
+
readonly NOP8: 183;
|
|
5587
|
+
readonly NOP9: 184;
|
|
5588
|
+
readonly NOP10: 185;
|
|
5589
|
+
readonly CHECKSIGADD: 186;
|
|
5590
|
+
readonly INVALID: 255;
|
|
5591
5591
|
};
|
|
5592
5592
|
/** A single script operation: opcode string key, raw bytes, number, or bigint */
|
|
5593
5593
|
type ArkadeScriptOP = keyof typeof ARKADE_OPS | Uint8Array | number | bigint;
|