@arkade-os/sdk 0.4.73 → 0.4.75
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/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +3 -3
- package/dist/adapters/indexedDB.cjs +5 -5
- package/dist/adapters/indexedDB.js +4 -4
- package/dist/{asyncStorageTaskQueue-DA2OdpJ0.d.cts → asyncStorageTaskQueue-5k0H_cDM.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-C5IwA_Hs.d.ts → asyncStorageTaskQueue-DjwCbb07.d.ts} +2 -2
- package/dist/{chunk-L7IEXVXI.cjs → chunk-2Q2PYU3Y.cjs} +10 -10
- package/dist/{chunk-L7IEXVXI.cjs.map → chunk-2Q2PYU3Y.cjs.map} +1 -1
- package/dist/{chunk-QX2M67YI.js → chunk-2ULUCL6A.js} +21 -22
- package/dist/chunk-2ULUCL6A.js.map +1 -0
- package/dist/{chunk-G5RPUZJE.js → chunk-4GLSOP6L.js} +12 -5
- package/dist/chunk-4GLSOP6L.js.map +1 -0
- package/dist/{chunk-C4RKZY7D.cjs → chunk-EHJYR4E5.cjs} +827 -580
- package/dist/chunk-EHJYR4E5.cjs.map +1 -0
- package/dist/{chunk-YHJJSLE5.js → chunk-FTLPTF3R.js} +391 -147
- package/dist/chunk-FTLPTF3R.js.map +1 -0
- package/dist/{chunk-KJ5E646Y.cjs → chunk-J5EX3OMM.cjs} +8 -4
- package/dist/chunk-J5EX3OMM.cjs.map +1 -0
- package/dist/{chunk-M6HIWM5N.js → chunk-PS564TAU.js} +3 -3
- package/dist/{chunk-M6HIWM5N.js.map → chunk-PS564TAU.js.map} +1 -1
- package/dist/{chunk-D5DLGVN4.cjs → chunk-SH23SRZE.cjs} +17 -17
- package/dist/{chunk-D5DLGVN4.cjs.map → chunk-SH23SRZE.cjs.map} +1 -1
- package/dist/{chunk-5YCAC6XE.js → chunk-SKAL4MCW.js} +4 -4
- package/dist/{chunk-5YCAC6XE.js.map → chunk-SKAL4MCW.js.map} +1 -1
- package/dist/{chunk-OV4GLPZI.js → chunk-UKFA7NVE.js} +8 -4
- package/dist/chunk-UKFA7NVE.js.map +1 -0
- package/dist/{chunk-ZLDO4QDR.cjs → chunk-YA3L3WL4.cjs} +31 -32
- package/dist/chunk-YA3L3WL4.cjs.map +1 -0
- package/dist/{chunk-2D7F5IU3.cjs → chunk-YYWEBYFJ.cjs} +58 -51
- package/dist/chunk-YYWEBYFJ.cjs.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +3 -3
- package/dist/contracts/handlers/index.d.ts +3 -3
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-BJp8f6LT.d.cts → delegate-D0v8yT-a.d.cts} +1 -1
- package/dist/{delegate-Ckz_TWzM.d.ts → delegate-D_sW61rj.d.ts} +1 -1
- package/dist/{hdWalletCapable-DABgAD-T.d.ts → hdWalletCapable-66hG5KQP.d.cts} +3 -11
- package/dist/{hdWalletCapable-DA9bJ5eB.d.cts → hdWalletCapable-DHCNbAgl.d.ts} +3 -11
- package/dist/{index-DSbDm0Io.d.cts → index-B2JSxDi1.d.cts} +2 -2
- package/dist/{index-Dg0-TvBQ.d.cts → index-TZBbMNqA.d.cts} +22 -7
- package/dist/{index-Dg0-TvBQ.d.ts → index-TZBbMNqA.d.ts} +22 -7
- package/dist/{index-B8xrELXY.d.ts → index-vUeTpifq.d.ts} +2 -2
- package/dist/index.cjs +312 -300
- package/dist/index.d.cts +89 -29
- package/dist/index.d.ts +89 -29
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +19 -19
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +18 -18
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-C_uAJDsn.d.cts → taskRunner-CAAPpdyi.d.cts} +2 -2
- package/dist/{taskRunner-DARTFnZN.d.ts → taskRunner-CairkunF.d.ts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +14 -14
- package/dist/wallet/expo/index.d.cts +4 -4
- package/dist/wallet/expo/index.d.ts +4 -4
- package/dist/wallet/expo/index.js +5 -5
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-2D7F5IU3.cjs.map +0 -1
- package/dist/chunk-C4RKZY7D.cjs.map +0 -1
- package/dist/chunk-G5RPUZJE.js.map +0 -1
- package/dist/chunk-KJ5E646Y.cjs.map +0 -1
- package/dist/chunk-OV4GLPZI.js.map +0 -1
- package/dist/chunk-QX2M67YI.js.map +0 -1
- package/dist/chunk-YHJJSLE5.js.map +0 -1
- package/dist/chunk-ZLDO4QDR.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity,
|
|
2
|
-
export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-
|
|
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, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, N as NormalizedExtendedVirtualCoin, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity, f as IContractManager, m as IAssetManager, l as SendParams, i as IDelegateManager, aT as IVtxoManager, a5 as OnchainProvider, M as Network, ad as NetworkName, ai as Coin, aU as ExplorerTransaction, ae as ArkInfo, ao as SignedIntent, ap as Intent, aV as TreeNonces, aW as TreePartialSigs, T as TxNotificationEvent, aX as PendingTx, t as TapLeafScript, aY as EncodedVtxoScript, P as CSVMultisigTapscript, s as RelativeTimelock, V as VtxoScript, aZ as Status, af as ArkAddress, a_ as ChainTx, r as IndexerProvider, X as TxTree, a$ as PathContext } from './index-TZBbMNqA.cjs';
|
|
2
|
+
export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-TZBbMNqA.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-66hG5KQP.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-66hG5KQP.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, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-B2JSxDi1.cjs';
|
|
6
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-B2JSxDi1.cjs';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-D0v8yT-a.cjs';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-D0v8yT-a.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';
|
|
@@ -2238,6 +2238,13 @@ declare class DustChangeError extends Error {
|
|
|
2238
2238
|
readonly dustAmount: bigint;
|
|
2239
2239
|
constructor(change: bigint, dustAmount: bigint);
|
|
2240
2240
|
}
|
|
2241
|
+
/** Thrown when a collaborative exit's change VTXO is above the server's
|
|
2242
|
+
* per-output ceiling, which arkd answers with `AMOUNT_TOO_HIGH`. */
|
|
2243
|
+
declare class OversizedChangeError extends Error {
|
|
2244
|
+
readonly change: bigint;
|
|
2245
|
+
readonly maxAmount: bigint;
|
|
2246
|
+
constructor(change: bigint, maxAmount: bigint);
|
|
2247
|
+
}
|
|
2241
2248
|
/**
|
|
2242
2249
|
* Ramps is a class wrapping `settle` method to provide a more convenient interface for onboarding and offboarding operations.
|
|
2243
2250
|
*
|
|
@@ -2287,6 +2294,10 @@ declare class Ramps {
|
|
|
2287
2294
|
* @param feeInfo - The fee info to deduct from the offboard amount.
|
|
2288
2295
|
* @param amount - The amount to offboard. If not provided, the total amount of virtual outputs will be offboarded.
|
|
2289
2296
|
* @param eventCallback - Optional callback that receives settlement events
|
|
2297
|
+
* @param vtxos - Specific virtual outputs to spend, mirroring {@link onboard}'s
|
|
2298
|
+
* `boardingUtxos`. Omitted, every spendable one is spent — merging the whole
|
|
2299
|
+
* off-chain balance into a single change output. Taken as given like
|
|
2300
|
+
* `settle({ inputs })`: an `amount` these cannot cover is an error, not a top-up.
|
|
2290
2301
|
* @returns The Arkade transaction id created by settlement
|
|
2291
2302
|
* @throws Error if no virtual outputs remain after fee deduction or the destination address cannot be decoded
|
|
2292
2303
|
* @see IWallet.getSpendableVtxos
|
|
@@ -2298,7 +2309,24 @@ declare class Ramps {
|
|
|
2298
2309
|
* await ramps.offboard('bc1q...', feeInfo);
|
|
2299
2310
|
* ```
|
|
2300
2311
|
*/
|
|
2301
|
-
offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void): ReturnType<IWallet["settle"]>;
|
|
2312
|
+
offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void, vtxos?: NormalizedExtendedVirtualCoin[]): ReturnType<IWallet["settle"]>;
|
|
2313
|
+
/**
|
|
2314
|
+
* Collaboratively exit with the DESTINATION paid exactly `amount`, pricing the
|
|
2315
|
+
* fee on that output rather than on a grossed-up figure. {@link offboard} keeps
|
|
2316
|
+
* the other anchor, which needs `g - fee(g) = amount` solved — impossible for
|
|
2317
|
+
* a program charging the whole output.
|
|
2318
|
+
*/
|
|
2319
|
+
offboardExact(params: {
|
|
2320
|
+
destinationAddress: string;
|
|
2321
|
+
feeInfo: FeeInfo;
|
|
2322
|
+
/** Sats the destination receives, exactly. */
|
|
2323
|
+
amount: bigint;
|
|
2324
|
+
eventCallback?: (event: SettlementEvent) => void;
|
|
2325
|
+
vtxos?: NormalizedExtendedVirtualCoin[];
|
|
2326
|
+
}): ReturnType<IWallet["settle"]>;
|
|
2327
|
+
/** Fund the change output: pay its own fee, then judge it against both
|
|
2328
|
+
* server-side bounds. `0n` in is `0n` out — no change output at all. */
|
|
2329
|
+
private fundChange;
|
|
2302
2330
|
}
|
|
2303
2331
|
|
|
2304
2332
|
/**
|
|
@@ -2647,26 +2675,26 @@ type ResponseGetContractsWithVtxos = ResponseEnvelope & {
|
|
|
2647
2675
|
type RequestWatchScript = RequestEnvelope & {
|
|
2648
2676
|
type: "WATCH_SCRIPT";
|
|
2649
2677
|
payload: {
|
|
2650
|
-
script: string;
|
|
2678
|
+
script: string | string[];
|
|
2651
2679
|
label?: string;
|
|
2652
2680
|
};
|
|
2653
2681
|
};
|
|
2654
2682
|
type ResponseWatchScript = ResponseEnvelope & {
|
|
2655
2683
|
type: "SCRIPT_WATCHED";
|
|
2656
2684
|
payload: {
|
|
2657
|
-
script: string;
|
|
2685
|
+
script: string | string[];
|
|
2658
2686
|
};
|
|
2659
2687
|
};
|
|
2660
2688
|
type RequestUnwatchScript = RequestEnvelope & {
|
|
2661
2689
|
type: "UNWATCH_SCRIPT";
|
|
2662
2690
|
payload: {
|
|
2663
|
-
script: string;
|
|
2691
|
+
script: string | string[];
|
|
2664
2692
|
};
|
|
2665
2693
|
};
|
|
2666
2694
|
type ResponseUnwatchScript = ResponseEnvelope & {
|
|
2667
2695
|
type: "SCRIPT_UNWATCHED";
|
|
2668
2696
|
payload: {
|
|
2669
|
-
script: string;
|
|
2697
|
+
script: string | string[];
|
|
2670
2698
|
};
|
|
2671
2699
|
};
|
|
2672
2700
|
type RequestGetWatchedScripts = RequestEnvelope & {
|
|
@@ -5276,7 +5304,7 @@ declare class Extension {
|
|
|
5276
5304
|
/**
|
|
5277
5305
|
* Arkade Script Opcodes
|
|
5278
5306
|
*
|
|
5279
|
-
* This module defines ONLY Arkade-specific opcodes (0xb3, 0xc3-
|
|
5307
|
+
* This module defines ONLY Arkade-specific opcodes (0xb3, 0xc3-0xf8).
|
|
5280
5308
|
* Standard Bitcoin opcodes are imported from @scure/btc-signer.
|
|
5281
5309
|
*
|
|
5282
5310
|
* Reference: arkade-os/emulator v0.0.4 pkg/arkade/opcode.go
|
|
@@ -5307,6 +5335,8 @@ declare const ARKADE_OP: {
|
|
|
5307
5335
|
readonly BIN2NUM: 216;
|
|
5308
5336
|
readonly REVERSEBYTES: 217;
|
|
5309
5337
|
readonly MODEXP: 218;
|
|
5338
|
+
readonly PUSHEXPIRY: 219;
|
|
5339
|
+
readonly CHECKTIME: 220;
|
|
5310
5340
|
readonly ECADD: 224;
|
|
5311
5341
|
readonly ECMUL: 225;
|
|
5312
5342
|
readonly ECPAIRING: 226;
|
|
@@ -5330,6 +5360,8 @@ declare const ARKADE_OP: {
|
|
|
5330
5360
|
readonly INSPECTPACKET: 244;
|
|
5331
5361
|
readonly INSPECTINPUTPACKET: 245;
|
|
5332
5362
|
readonly SIGHASH: 246;
|
|
5363
|
+
readonly TUNNEL: 247;
|
|
5364
|
+
readonly INSPECTINTENTMESSAGE: 248;
|
|
5333
5365
|
};
|
|
5334
5366
|
declare const ARKADE_OPCODES: number[];
|
|
5335
5367
|
declare const ARKADE_OPCODE_NAMES: Record<number, string>;
|
|
@@ -5401,6 +5433,8 @@ declare const ARKADE_OPS: {
|
|
|
5401
5433
|
readonly BIN2NUM: 216;
|
|
5402
5434
|
readonly REVERSEBYTES: 217;
|
|
5403
5435
|
readonly MODEXP: 218;
|
|
5436
|
+
readonly PUSHEXPIRY: 219;
|
|
5437
|
+
readonly CHECKTIME: 220;
|
|
5404
5438
|
readonly ECADD: 224;
|
|
5405
5439
|
readonly ECMUL: 225;
|
|
5406
5440
|
readonly ECPAIRING: 226;
|
|
@@ -5424,6 +5458,8 @@ declare const ARKADE_OPS: {
|
|
|
5424
5458
|
readonly INSPECTPACKET: 244;
|
|
5425
5459
|
readonly INSPECTINPUTPACKET: 245;
|
|
5426
5460
|
readonly SIGHASH: 246;
|
|
5461
|
+
readonly TUNNEL: 247;
|
|
5462
|
+
readonly INSPECTINTENTMESSAGE: 248;
|
|
5427
5463
|
readonly OP_0: number;
|
|
5428
5464
|
readonly PUSHDATA1: number;
|
|
5429
5465
|
readonly PUSHDATA2: number;
|
|
@@ -5813,7 +5849,10 @@ interface ArkadeConnectOptions {
|
|
|
5813
5849
|
indexer?: Pick<IndexerProvider, "getVtxos" | "getVirtualTxs">;
|
|
5814
5850
|
/** Signer for paths that require a user signature; optional for watch-only. */
|
|
5815
5851
|
identity?: Identity;
|
|
5816
|
-
/**
|
|
5852
|
+
/**
|
|
5853
|
+
* Network for address derivation. Defaults to the network the server
|
|
5854
|
+
* reports on `getInfo` — or the SDK default when the server names none.
|
|
5855
|
+
*/
|
|
5817
5856
|
network?: Network;
|
|
5818
5857
|
/**
|
|
5819
5858
|
* Co-sign with this emulator key (33-byte compressed hex) instead of the
|
|
@@ -6168,9 +6207,10 @@ interface PaymentHandle {
|
|
|
6168
6207
|
*
|
|
6169
6208
|
* `fee` is a pre-send estimate wherever the true cost is only fixed later: the
|
|
6170
6209
|
* swap rails quote from Boltz's advertised pricing and are superseded by the
|
|
6171
|
-
* amount Boltz returns at swap creation, and the collaborative exit
|
|
6172
|
-
*
|
|
6173
|
-
* settlement
|
|
6210
|
+
* amount Boltz returns at swap creation, and the collaborative exit omits the
|
|
6211
|
+
* per-input intent fees whenever the request left the VTXO selection to
|
|
6212
|
+
* settlement — naming {@link PaymentRequest.selectedVtxos} fixes them, and they
|
|
6213
|
+
* are priced in. Treat it as a display and ranking figure, not a guarantee.
|
|
6174
6214
|
*/
|
|
6175
6215
|
interface RouteQuote {
|
|
6176
6216
|
railId: string;
|
|
@@ -6243,6 +6283,17 @@ interface PaymentRequest {
|
|
|
6243
6283
|
* Additive: an asset transfer also moves sats, so a 500 USDX request
|
|
6244
6284
|
* legitimately has both. A rail that cannot deliver assets must REFUSE. */
|
|
6245
6285
|
assets?: Asset[];
|
|
6286
|
+
/**
|
|
6287
|
+
* Spend exactly these virtual outputs, with the meaning
|
|
6288
|
+
* {@link SendParams.selectedVtxos} already gives it: taken as given, so a
|
|
6289
|
+
* shortfall is an error rather than a top-up, and ungated like
|
|
6290
|
+
* `settle({ inputs })`. Normalized, i.e. what `getSpendableVtxos()` returns.
|
|
6291
|
+
*
|
|
6292
|
+
* Only the rails spending the wallet's own coins can honour it (`ark`,
|
|
6293
|
+
* `ark-asset`, `onchain`). A rail funding its payment through a counterparty
|
|
6294
|
+
* picks its own inputs, so it must REFUSE rather than ignore the selection.
|
|
6295
|
+
*/
|
|
6296
|
+
selectedVtxos?: NormalizedExtendedVirtualCoin[];
|
|
6246
6297
|
}
|
|
6247
6298
|
/** A payment rail — registered by id, mirrors the ActivityRegistry resolver shape. */
|
|
6248
6299
|
interface PaymentRail {
|
|
@@ -6275,10 +6326,11 @@ declare const isLightningInvoice: (raw: string) => boolean;
|
|
|
6275
6326
|
/**
|
|
6276
6327
|
* True for an LNURL or a Lightning address (`user@host`).
|
|
6277
6328
|
*
|
|
6278
|
-
*
|
|
6279
|
-
*
|
|
6280
|
-
*
|
|
6281
|
-
*
|
|
6329
|
+
* No rail here consumes it, and that is the layering rather than a gap:
|
|
6330
|
+
* routing an LNURL needs an LNURL client, so the rails ship from
|
|
6331
|
+
* `@arkade-os/lnurl-client/arkade` (`lnurlRails`) and are registered by the
|
|
6332
|
+
* app, as the solver rails from `@arkade-os/swap` are. With none registered,
|
|
6333
|
+
* `route()` throws "no rail for" on these targets.
|
|
6282
6334
|
*/
|
|
6283
6335
|
declare const isLnurl: (raw: string) => boolean;
|
|
6284
6336
|
/** True for a bech32 (segwit) or base58 (legacy) Bitcoin address, any network —
|
|
@@ -6315,6 +6367,11 @@ declare function assetsOf(req: PaymentRequest): Asset[];
|
|
|
6315
6367
|
/** For a BTC-only rail: refusing is what leaves the router free to rank an
|
|
6316
6368
|
* asset-capable one, instead of paying the carrier and dropping the asset. */
|
|
6317
6369
|
declare function assertNoAssets(railId: string, req: PaymentRequest): void;
|
|
6370
|
+
/** The inputs a request names. An EMPTY array is still a selection, covering nothing. */
|
|
6371
|
+
declare function selectionOf(req: PaymentRequest): NormalizedExtendedVirtualCoin[] | undefined;
|
|
6372
|
+
/** For a rail whose counterparty funds the spend: ignoring a named input set
|
|
6373
|
+
* would spend coins the caller had promised elsewhere, so refuse instead. */
|
|
6374
|
+
declare function assertNoSelection(railId: string, req: PaymentRequest): void;
|
|
6318
6375
|
/** Exactly one: `Wallet.send` takes a list because one output can carry
|
|
6319
6376
|
* several, but a routed PAYMENT is one thing being paid. */
|
|
6320
6377
|
declare function resolveAssetAmount(railId: string, req: PaymentRequest): Asset;
|
|
@@ -6393,12 +6450,15 @@ declare const walletFeeSource: (wallet: Wallet) => () => Promise<FeeInfo>;
|
|
|
6393
6450
|
* and offboards VTXOs to the address via {@link Ramps.offboard}, which owns
|
|
6394
6451
|
* fee-aware coin selection, dust-safe change, and settlement.
|
|
6395
6452
|
*
|
|
6396
|
-
*
|
|
6397
|
-
* the
|
|
6398
|
-
*
|
|
6399
|
-
*
|
|
6400
|
-
*
|
|
6401
|
-
*
|
|
6453
|
+
* The exit fee is priced on the DESTINATION output — the one arkd charges for —
|
|
6454
|
+
* and met from the balance, so the recipient receives exactly `quote.amount`
|
|
6455
|
+
* (see {@link RouteQuote}). {@link Ramps.offboardExact} carries that; the
|
|
6456
|
+
* gross-up this rail used to do could only approximate it.
|
|
6457
|
+
*
|
|
6458
|
+
* A request naming `selectedVtxos` offboards exactly those — so the exit need not
|
|
6459
|
+
* sweep the whole off-chain balance into one change output — and only then does
|
|
6460
|
+
* the quote carry the per-input intent fees: unselected, the coins are chosen
|
|
6461
|
+
* later at settlement and there is nothing here to price.
|
|
6402
6462
|
*
|
|
6403
6463
|
* An explicit amount is mandatory. To sweep the full balance, call
|
|
6404
6464
|
* `Ramps.offboard(address, feeInfo)` directly — the router has no amountless path.
|
|
@@ -6709,4 +6769,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6709
6769
|
burn(params: BurnParams): Promise<string>;
|
|
6710
6770
|
}
|
|
6711
6771
|
|
|
6712
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
|
6772
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, OversizedChangeError, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity,
|
|
2
|
-
export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-
|
|
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, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, N as NormalizedExtendedVirtualCoin, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity, f as IContractManager, m as IAssetManager, l as SendParams, i as IDelegateManager, aT as IVtxoManager, a5 as OnchainProvider, M as Network, ad as NetworkName, ai as Coin, aU as ExplorerTransaction, ae as ArkInfo, ao as SignedIntent, ap as Intent, aV as TreeNonces, aW as TreePartialSigs, T as TxNotificationEvent, aX as PendingTx, t as TapLeafScript, aY as EncodedVtxoScript, P as CSVMultisigTapscript, s as RelativeTimelock, V as VtxoScript, aZ as Status, af as ArkAddress, a_ as ChainTx, r as IndexerProvider, X as TxTree, a$ as PathContext } from './index-TZBbMNqA.js';
|
|
2
|
+
export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-TZBbMNqA.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-DHCNbAgl.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-DHCNbAgl.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, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-vUeTpifq.js';
|
|
6
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-vUeTpifq.js';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-D_sW61rj.js';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-D_sW61rj.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';
|
|
@@ -2238,6 +2238,13 @@ declare class DustChangeError extends Error {
|
|
|
2238
2238
|
readonly dustAmount: bigint;
|
|
2239
2239
|
constructor(change: bigint, dustAmount: bigint);
|
|
2240
2240
|
}
|
|
2241
|
+
/** Thrown when a collaborative exit's change VTXO is above the server's
|
|
2242
|
+
* per-output ceiling, which arkd answers with `AMOUNT_TOO_HIGH`. */
|
|
2243
|
+
declare class OversizedChangeError extends Error {
|
|
2244
|
+
readonly change: bigint;
|
|
2245
|
+
readonly maxAmount: bigint;
|
|
2246
|
+
constructor(change: bigint, maxAmount: bigint);
|
|
2247
|
+
}
|
|
2241
2248
|
/**
|
|
2242
2249
|
* Ramps is a class wrapping `settle` method to provide a more convenient interface for onboarding and offboarding operations.
|
|
2243
2250
|
*
|
|
@@ -2287,6 +2294,10 @@ declare class Ramps {
|
|
|
2287
2294
|
* @param feeInfo - The fee info to deduct from the offboard amount.
|
|
2288
2295
|
* @param amount - The amount to offboard. If not provided, the total amount of virtual outputs will be offboarded.
|
|
2289
2296
|
* @param eventCallback - Optional callback that receives settlement events
|
|
2297
|
+
* @param vtxos - Specific virtual outputs to spend, mirroring {@link onboard}'s
|
|
2298
|
+
* `boardingUtxos`. Omitted, every spendable one is spent — merging the whole
|
|
2299
|
+
* off-chain balance into a single change output. Taken as given like
|
|
2300
|
+
* `settle({ inputs })`: an `amount` these cannot cover is an error, not a top-up.
|
|
2290
2301
|
* @returns The Arkade transaction id created by settlement
|
|
2291
2302
|
* @throws Error if no virtual outputs remain after fee deduction or the destination address cannot be decoded
|
|
2292
2303
|
* @see IWallet.getSpendableVtxos
|
|
@@ -2298,7 +2309,24 @@ declare class Ramps {
|
|
|
2298
2309
|
* await ramps.offboard('bc1q...', feeInfo);
|
|
2299
2310
|
* ```
|
|
2300
2311
|
*/
|
|
2301
|
-
offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void): ReturnType<IWallet["settle"]>;
|
|
2312
|
+
offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void, vtxos?: NormalizedExtendedVirtualCoin[]): ReturnType<IWallet["settle"]>;
|
|
2313
|
+
/**
|
|
2314
|
+
* Collaboratively exit with the DESTINATION paid exactly `amount`, pricing the
|
|
2315
|
+
* fee on that output rather than on a grossed-up figure. {@link offboard} keeps
|
|
2316
|
+
* the other anchor, which needs `g - fee(g) = amount` solved — impossible for
|
|
2317
|
+
* a program charging the whole output.
|
|
2318
|
+
*/
|
|
2319
|
+
offboardExact(params: {
|
|
2320
|
+
destinationAddress: string;
|
|
2321
|
+
feeInfo: FeeInfo;
|
|
2322
|
+
/** Sats the destination receives, exactly. */
|
|
2323
|
+
amount: bigint;
|
|
2324
|
+
eventCallback?: (event: SettlementEvent) => void;
|
|
2325
|
+
vtxos?: NormalizedExtendedVirtualCoin[];
|
|
2326
|
+
}): ReturnType<IWallet["settle"]>;
|
|
2327
|
+
/** Fund the change output: pay its own fee, then judge it against both
|
|
2328
|
+
* server-side bounds. `0n` in is `0n` out — no change output at all. */
|
|
2329
|
+
private fundChange;
|
|
2302
2330
|
}
|
|
2303
2331
|
|
|
2304
2332
|
/**
|
|
@@ -2647,26 +2675,26 @@ type ResponseGetContractsWithVtxos = ResponseEnvelope & {
|
|
|
2647
2675
|
type RequestWatchScript = RequestEnvelope & {
|
|
2648
2676
|
type: "WATCH_SCRIPT";
|
|
2649
2677
|
payload: {
|
|
2650
|
-
script: string;
|
|
2678
|
+
script: string | string[];
|
|
2651
2679
|
label?: string;
|
|
2652
2680
|
};
|
|
2653
2681
|
};
|
|
2654
2682
|
type ResponseWatchScript = ResponseEnvelope & {
|
|
2655
2683
|
type: "SCRIPT_WATCHED";
|
|
2656
2684
|
payload: {
|
|
2657
|
-
script: string;
|
|
2685
|
+
script: string | string[];
|
|
2658
2686
|
};
|
|
2659
2687
|
};
|
|
2660
2688
|
type RequestUnwatchScript = RequestEnvelope & {
|
|
2661
2689
|
type: "UNWATCH_SCRIPT";
|
|
2662
2690
|
payload: {
|
|
2663
|
-
script: string;
|
|
2691
|
+
script: string | string[];
|
|
2664
2692
|
};
|
|
2665
2693
|
};
|
|
2666
2694
|
type ResponseUnwatchScript = ResponseEnvelope & {
|
|
2667
2695
|
type: "SCRIPT_UNWATCHED";
|
|
2668
2696
|
payload: {
|
|
2669
|
-
script: string;
|
|
2697
|
+
script: string | string[];
|
|
2670
2698
|
};
|
|
2671
2699
|
};
|
|
2672
2700
|
type RequestGetWatchedScripts = RequestEnvelope & {
|
|
@@ -5276,7 +5304,7 @@ declare class Extension {
|
|
|
5276
5304
|
/**
|
|
5277
5305
|
* Arkade Script Opcodes
|
|
5278
5306
|
*
|
|
5279
|
-
* This module defines ONLY Arkade-specific opcodes (0xb3, 0xc3-
|
|
5307
|
+
* This module defines ONLY Arkade-specific opcodes (0xb3, 0xc3-0xf8).
|
|
5280
5308
|
* Standard Bitcoin opcodes are imported from @scure/btc-signer.
|
|
5281
5309
|
*
|
|
5282
5310
|
* Reference: arkade-os/emulator v0.0.4 pkg/arkade/opcode.go
|
|
@@ -5307,6 +5335,8 @@ declare const ARKADE_OP: {
|
|
|
5307
5335
|
readonly BIN2NUM: 216;
|
|
5308
5336
|
readonly REVERSEBYTES: 217;
|
|
5309
5337
|
readonly MODEXP: 218;
|
|
5338
|
+
readonly PUSHEXPIRY: 219;
|
|
5339
|
+
readonly CHECKTIME: 220;
|
|
5310
5340
|
readonly ECADD: 224;
|
|
5311
5341
|
readonly ECMUL: 225;
|
|
5312
5342
|
readonly ECPAIRING: 226;
|
|
@@ -5330,6 +5360,8 @@ declare const ARKADE_OP: {
|
|
|
5330
5360
|
readonly INSPECTPACKET: 244;
|
|
5331
5361
|
readonly INSPECTINPUTPACKET: 245;
|
|
5332
5362
|
readonly SIGHASH: 246;
|
|
5363
|
+
readonly TUNNEL: 247;
|
|
5364
|
+
readonly INSPECTINTENTMESSAGE: 248;
|
|
5333
5365
|
};
|
|
5334
5366
|
declare const ARKADE_OPCODES: number[];
|
|
5335
5367
|
declare const ARKADE_OPCODE_NAMES: Record<number, string>;
|
|
@@ -5401,6 +5433,8 @@ declare const ARKADE_OPS: {
|
|
|
5401
5433
|
readonly BIN2NUM: 216;
|
|
5402
5434
|
readonly REVERSEBYTES: 217;
|
|
5403
5435
|
readonly MODEXP: 218;
|
|
5436
|
+
readonly PUSHEXPIRY: 219;
|
|
5437
|
+
readonly CHECKTIME: 220;
|
|
5404
5438
|
readonly ECADD: 224;
|
|
5405
5439
|
readonly ECMUL: 225;
|
|
5406
5440
|
readonly ECPAIRING: 226;
|
|
@@ -5424,6 +5458,8 @@ declare const ARKADE_OPS: {
|
|
|
5424
5458
|
readonly INSPECTPACKET: 244;
|
|
5425
5459
|
readonly INSPECTINPUTPACKET: 245;
|
|
5426
5460
|
readonly SIGHASH: 246;
|
|
5461
|
+
readonly TUNNEL: 247;
|
|
5462
|
+
readonly INSPECTINTENTMESSAGE: 248;
|
|
5427
5463
|
readonly OP_0: number;
|
|
5428
5464
|
readonly PUSHDATA1: number;
|
|
5429
5465
|
readonly PUSHDATA2: number;
|
|
@@ -5813,7 +5849,10 @@ interface ArkadeConnectOptions {
|
|
|
5813
5849
|
indexer?: Pick<IndexerProvider, "getVtxos" | "getVirtualTxs">;
|
|
5814
5850
|
/** Signer for paths that require a user signature; optional for watch-only. */
|
|
5815
5851
|
identity?: Identity;
|
|
5816
|
-
/**
|
|
5852
|
+
/**
|
|
5853
|
+
* Network for address derivation. Defaults to the network the server
|
|
5854
|
+
* reports on `getInfo` — or the SDK default when the server names none.
|
|
5855
|
+
*/
|
|
5817
5856
|
network?: Network;
|
|
5818
5857
|
/**
|
|
5819
5858
|
* Co-sign with this emulator key (33-byte compressed hex) instead of the
|
|
@@ -6168,9 +6207,10 @@ interface PaymentHandle {
|
|
|
6168
6207
|
*
|
|
6169
6208
|
* `fee` is a pre-send estimate wherever the true cost is only fixed later: the
|
|
6170
6209
|
* swap rails quote from Boltz's advertised pricing and are superseded by the
|
|
6171
|
-
* amount Boltz returns at swap creation, and the collaborative exit
|
|
6172
|
-
*
|
|
6173
|
-
* settlement
|
|
6210
|
+
* amount Boltz returns at swap creation, and the collaborative exit omits the
|
|
6211
|
+
* per-input intent fees whenever the request left the VTXO selection to
|
|
6212
|
+
* settlement — naming {@link PaymentRequest.selectedVtxos} fixes them, and they
|
|
6213
|
+
* are priced in. Treat it as a display and ranking figure, not a guarantee.
|
|
6174
6214
|
*/
|
|
6175
6215
|
interface RouteQuote {
|
|
6176
6216
|
railId: string;
|
|
@@ -6243,6 +6283,17 @@ interface PaymentRequest {
|
|
|
6243
6283
|
* Additive: an asset transfer also moves sats, so a 500 USDX request
|
|
6244
6284
|
* legitimately has both. A rail that cannot deliver assets must REFUSE. */
|
|
6245
6285
|
assets?: Asset[];
|
|
6286
|
+
/**
|
|
6287
|
+
* Spend exactly these virtual outputs, with the meaning
|
|
6288
|
+
* {@link SendParams.selectedVtxos} already gives it: taken as given, so a
|
|
6289
|
+
* shortfall is an error rather than a top-up, and ungated like
|
|
6290
|
+
* `settle({ inputs })`. Normalized, i.e. what `getSpendableVtxos()` returns.
|
|
6291
|
+
*
|
|
6292
|
+
* Only the rails spending the wallet's own coins can honour it (`ark`,
|
|
6293
|
+
* `ark-asset`, `onchain`). A rail funding its payment through a counterparty
|
|
6294
|
+
* picks its own inputs, so it must REFUSE rather than ignore the selection.
|
|
6295
|
+
*/
|
|
6296
|
+
selectedVtxos?: NormalizedExtendedVirtualCoin[];
|
|
6246
6297
|
}
|
|
6247
6298
|
/** A payment rail — registered by id, mirrors the ActivityRegistry resolver shape. */
|
|
6248
6299
|
interface PaymentRail {
|
|
@@ -6275,10 +6326,11 @@ declare const isLightningInvoice: (raw: string) => boolean;
|
|
|
6275
6326
|
/**
|
|
6276
6327
|
* True for an LNURL or a Lightning address (`user@host`).
|
|
6277
6328
|
*
|
|
6278
|
-
*
|
|
6279
|
-
*
|
|
6280
|
-
*
|
|
6281
|
-
*
|
|
6329
|
+
* No rail here consumes it, and that is the layering rather than a gap:
|
|
6330
|
+
* routing an LNURL needs an LNURL client, so the rails ship from
|
|
6331
|
+
* `@arkade-os/lnurl-client/arkade` (`lnurlRails`) and are registered by the
|
|
6332
|
+
* app, as the solver rails from `@arkade-os/swap` are. With none registered,
|
|
6333
|
+
* `route()` throws "no rail for" on these targets.
|
|
6282
6334
|
*/
|
|
6283
6335
|
declare const isLnurl: (raw: string) => boolean;
|
|
6284
6336
|
/** True for a bech32 (segwit) or base58 (legacy) Bitcoin address, any network —
|
|
@@ -6315,6 +6367,11 @@ declare function assetsOf(req: PaymentRequest): Asset[];
|
|
|
6315
6367
|
/** For a BTC-only rail: refusing is what leaves the router free to rank an
|
|
6316
6368
|
* asset-capable one, instead of paying the carrier and dropping the asset. */
|
|
6317
6369
|
declare function assertNoAssets(railId: string, req: PaymentRequest): void;
|
|
6370
|
+
/** The inputs a request names. An EMPTY array is still a selection, covering nothing. */
|
|
6371
|
+
declare function selectionOf(req: PaymentRequest): NormalizedExtendedVirtualCoin[] | undefined;
|
|
6372
|
+
/** For a rail whose counterparty funds the spend: ignoring a named input set
|
|
6373
|
+
* would spend coins the caller had promised elsewhere, so refuse instead. */
|
|
6374
|
+
declare function assertNoSelection(railId: string, req: PaymentRequest): void;
|
|
6318
6375
|
/** Exactly one: `Wallet.send` takes a list because one output can carry
|
|
6319
6376
|
* several, but a routed PAYMENT is one thing being paid. */
|
|
6320
6377
|
declare function resolveAssetAmount(railId: string, req: PaymentRequest): Asset;
|
|
@@ -6393,12 +6450,15 @@ declare const walletFeeSource: (wallet: Wallet) => () => Promise<FeeInfo>;
|
|
|
6393
6450
|
* and offboards VTXOs to the address via {@link Ramps.offboard}, which owns
|
|
6394
6451
|
* fee-aware coin selection, dust-safe change, and settlement.
|
|
6395
6452
|
*
|
|
6396
|
-
*
|
|
6397
|
-
* the
|
|
6398
|
-
*
|
|
6399
|
-
*
|
|
6400
|
-
*
|
|
6401
|
-
*
|
|
6453
|
+
* The exit fee is priced on the DESTINATION output — the one arkd charges for —
|
|
6454
|
+
* and met from the balance, so the recipient receives exactly `quote.amount`
|
|
6455
|
+
* (see {@link RouteQuote}). {@link Ramps.offboardExact} carries that; the
|
|
6456
|
+
* gross-up this rail used to do could only approximate it.
|
|
6457
|
+
*
|
|
6458
|
+
* A request naming `selectedVtxos` offboards exactly those — so the exit need not
|
|
6459
|
+
* sweep the whole off-chain balance into one change output — and only then does
|
|
6460
|
+
* the quote carry the per-input intent fees: unselected, the coins are chosen
|
|
6461
|
+
* later at settlement and there is nothing here to price.
|
|
6402
6462
|
*
|
|
6403
6463
|
* An explicit amount is mandatory. To sweep the full balance, call
|
|
6404
6464
|
* `Ramps.offboard(address, feeInfo)` directly — the router has no amountless path.
|
|
@@ -6709,4 +6769,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6709
6769
|
burn(params: BurnParams): Promise<string>;
|
|
6710
6770
|
}
|
|
6711
6771
|
|
|
6712
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
|
6772
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, OversizedChangeError, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|