@arkade-os/sdk 0.5.14 → 0.5.15
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 +49 -1
- package/dist/adapters/expo.cjs +6 -6
- 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/artifact-DA5YHM2k.d.cts +87 -0
- package/dist/artifact-DacurepK.d.ts +87 -0
- package/dist/{asyncStorageTaskQueue-p7zeFhA3.d.ts → asyncStorageTaskQueue-B3umqlkb.d.ts} +2 -2
- package/dist/{asyncStorageTaskQueue-DzO5SBcm.d.cts → asyncStorageTaskQueue-Dq6AJHNv.d.cts} +2 -2
- package/dist/{chunk-MEIE2AEU.cjs → chunk-35GRSVCZ.cjs} +11 -11
- package/dist/{chunk-MEIE2AEU.cjs.map → chunk-35GRSVCZ.cjs.map} +1 -1
- package/dist/{chunk-X57WKONW.js → chunk-43APGKWL.js} +130 -22
- package/dist/chunk-43APGKWL.js.map +1 -0
- package/dist/{chunk-LQH7DACV.cjs → chunk-CMFRCBZW.cjs} +866 -615
- package/dist/chunk-CMFRCBZW.cjs.map +1 -0
- package/dist/{chunk-6J4GABF7.cjs → chunk-FKHUXSYW.cjs} +3 -3
- package/dist/chunk-FKHUXSYW.cjs.map +1 -0
- package/dist/{chunk-AZHBGWVC.js → chunk-HVUZKXB2.js} +4 -4
- package/dist/{chunk-AZHBGWVC.js.map → chunk-HVUZKXB2.js.map} +1 -1
- package/dist/{chunk-EVVLVFY7.cjs → chunk-INQAIZUO.cjs} +17 -17
- package/dist/{chunk-EVVLVFY7.cjs.map → chunk-INQAIZUO.cjs.map} +1 -1
- package/dist/{chunk-7LPT6AYH.cjs → chunk-JSYS2KX3.cjs} +18 -18
- package/dist/{chunk-7LPT6AYH.cjs.map → chunk-JSYS2KX3.cjs.map} +1 -1
- package/dist/{chunk-4HZQSKWG.js → chunk-R37I633T.js} +22 -17
- package/dist/chunk-R37I633T.js.map +1 -0
- package/dist/{chunk-ACIQZLWL.cjs → chunk-UNLH3NNG.cjs} +129 -20
- package/dist/chunk-UNLH3NNG.cjs.map +1 -0
- package/dist/{chunk-XZHTYYW5.cjs → chunk-VIQF74QJ.cjs} +38 -33
- package/dist/chunk-VIQF74QJ.cjs.map +1 -0
- package/dist/{chunk-LCGRZ24T.js → chunk-XPZ7TMXH.js} +4 -4
- package/dist/{chunk-LCGRZ24T.js.map → chunk-XPZ7TMXH.js.map} +1 -1
- package/dist/{chunk-72EC3ASW.js → chunk-YYSHQPCG.js} +3 -3
- package/dist/{chunk-72EC3ASW.js.map → chunk-YYSHQPCG.js.map} +1 -1
- package/dist/{chunk-J2JZZTOE.js → chunk-Z4LG3CZ4.js} +3 -3
- package/dist/chunk-Z4LG3CZ4.js.map +1 -0
- package/dist/{chunk-HWWSLCQN.js → chunk-ZECZ2MKX.js} +344 -93
- package/dist/chunk-ZECZ2MKX.js.map +1 -0
- package/dist/compiler.cjs +5 -5
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +9 -9
- package/dist/compiler.d.ts +9 -9
- package/dist/compiler.js +5 -5
- package/dist/compiler.js.map +1 -1
- package/dist/contracts/handlers/index.cjs +11 -11
- package/dist/contracts/handlers/index.d.cts +2 -2
- package/dist/contracts/handlers/index.d.ts +2 -2
- package/dist/contracts/handlers/index.js +3 -3
- package/dist/{index-Cy57QdcL.d.cts → index-Bi22mLsh.d.cts} +147 -43
- package/dist/{index-CaOBA9Ev.d.ts → index-CiLMmCHX.d.ts} +1 -1
- package/dist/{index-Db5qzYRi.d.ts → index-DOdoDqvM.d.ts} +147 -43
- package/dist/{index-Lq_u0hqj.d.cts → index-DnKugm-h.d.cts} +1 -1
- package/dist/index.cjs +327 -327
- package/dist/index.d.cts +32 -66
- package/dist/index.d.ts +32 -66
- package/dist/index.js +5 -5
- package/dist/repositories/realm/index.cjs +38 -38
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +6 -6
- package/dist/repositories/sqlite/index.cjs +36 -36
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +6 -6
- package/dist/{taskRunner-amPuilMW.d.ts → taskRunner-CoE4Xx9K.d.ts} +2 -2
- package/dist/{taskRunner-DhZ-KQBW.d.cts → taskRunner-DFG0BN_R.d.cts} +2 -2
- package/dist/wallet/expo/background.cjs +15 -15
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +7 -7
- package/dist/wallet/expo/index.cjs +19 -16
- package/dist/wallet/expo/index.cjs.map +1 -1
- package/dist/wallet/expo/index.d.cts +3 -2
- package/dist/wallet/expo/index.d.ts +3 -2
- package/dist/wallet/expo/index.js +9 -6
- package/dist/wallet/expo/index.js.map +1 -1
- package/dist/worker/expo/index.cjs +10 -10
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +6 -6
- package/package.json +3 -3
- package/dist/chunk-4HZQSKWG.js.map +0 -1
- package/dist/chunk-6J4GABF7.cjs.map +0 -1
- package/dist/chunk-ACIQZLWL.cjs.map +0 -1
- package/dist/chunk-HWWSLCQN.js.map +0 -1
- package/dist/chunk-J2JZZTOE.js.map +0 -1
- package/dist/chunk-LQH7DACV.cjs.map +0 -1
- package/dist/chunk-X57WKONW.js.map +0 -1
- package/dist/chunk-XZHTYYW5.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, K as Outpoint, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService$1, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService$1, bi as resolveArkadeService, bj as PathContext } from './index-
|
|
2
|
-
export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorArtifact, cr as ExecutorContractHandler, cs as ExecutorContractKeys, ct as ExecutorContractParams, cu as ExecutorDefault, cv as ExecutorDelegation, cw as ExecutorDelegationDetails, cx as ExecutorInfo, cy as ExecutorManagerImpl, cz as ExecutorProvider, cA as ExecutorRequestError, cB as ExecutorTemplate, cC as ExecutorTemplateDetails, cD as ExecutorTemplateParam, cE as ExecutorWatchMetadata, cF as ExecutorWatchRegistration, cG as ExitCaptureMode, cH as ExitChainResolver, cI as ExitDataSource, cJ as ForeignDescriptorError, cK as GetArkadeInfoOptions, cL as GetUtxosOptions, cM as GroupMembership, cN as HandlerError, cO as HttpResponseError, cP as INTENT_TERMINAL_STATES, cQ as IncomingFunds, cR as IndexedDBWalletRepository, cS as IndexerTxType, cT as IndexerUtxo, cU as IndexerUtxosUnsupportedError, cV as Intent, cW as IntentCoin, cX as IntentFilter, cY as IntentPageFilter, cZ as IntentRepository, c_ as KeyringDescriptorProvider, c$ as KnownMetadata, d0 as MAX_PAGE_SIZE, d1 as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, d2 as MUTINYNET_EMULATOR_PUBKEY, d3 as MigrateDeprecatedSignerOptions, d4 as MigrationLegReport, d5 as MigrationVtxoRef, d6 as NewAddressType, d7 as Nonces, d8 as NotifiesIncomingFunds, d9 as OnchainCosignAmbiguousError, da as OnchainCosignRejectedError, db as OnchainCosignUnsupportedError, dc as Output, dd as PageResponse, de as PartialSig, df as PrevTxSource, dg as PrevTxUnavailableError, dh as ProofInput, di as ProviderClass, dj as ProviderKind, dk as ProviderUnavailableError, dl as REGTEST_EMULATOR_PUBKEY, dm as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dn as RawTxSource, dp as ReadonlySingleKey, dq as ReadonlyWalletConfig, dr as RecipientArkadeAddressContext, ds as RegistrationOptions, dt as RenewalSplit, du as RenewalSplitContext, dv as RestArkProvider, dw as RestDelegateProvider, dx as RestEmulatorProvider, dy as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dz as ScanContractsOptions, dA as ScanResult, dB as ScheduledSession, dC as ServerInfoSource, dD as ServerResponseMismatchError, dE as SettlementEventType, dF as SignRequest, dG as SignedIntent, dH as SignerClassification, dI as SignerSet, dJ as SingleKey, w as SubscriptionEvent, dK as SubscriptionFilter, x as SubscriptionHeartbeat, dL as SubscriptionResponse, dM as SweepTxNotification, dN as TapLeaves, dO as TimeHeight, dP as TreeNoncesEvent, dQ as TreeSignatureEvent, dR as TreeSignerSession, dS as TreeSigningStartedEvent, dT as TreeTxEvent, dU as Tx, dV as TxHistoryRecord, dW as TxKey, dX as TxNotification, dY as TxTag, dZ as TxTreeNode, d_ as TxType, d$ as Vtxo, e0 as VtxoChain, e1 as VtxoManager, e2 as VtxoReservedError, e3 as VtxoType, e4 as WaitForIncomingFundsOptions, e5 as WalletCannotAllocateAddressError, d as WalletConfig, e6 as WalletMode, e7 as WithPrevTx, e8 as addArkadeCashRecord, e9 as arkadeCashId, ea as arkadeCashResolver, eb as assertAllowedSighashTypes, ec as assertPageRequest, ed as assertRecipientArkadeAddress, ee as assertValidBatchExpiry, ef as assetMintResolver, eg as attachPrevArkTxs, eh as attachPrevoutTxs, ei as boardingResolver, ej as canRecoverOnchain, ek as canSpendOffchain, el as canSweepOnchain, em as classifyAgainstSignerSet, en as classifyContractSigner, eo as collabExitResolver, ep as collectBatchRegistrations, eq as collectContracts, er as collectIntents, es as collectPages, et as collectScriptVtxos, eu as collectTransactionHistory, ev as collectUtxos, ew as collectVtxos, ex as configureEventSource, ey as createArkadeCashTracker, ez as createDefaultActivityRegistry, eA as createExitChainResolver, eB as defaultBatchExpiryPolicy, eC as defaultEmulatorPubkey, eD as getAllNormalizedVtxos, eE as getConfiguredEventSource, eF as getNetwork, eG as getNormalizedVtxos, eH as getRandomId, eI as hasCandidates, eJ as isAddressAllocationCapable, eK as isArkError, eL as isBatchSignable, eM as isContractVtxoEvent, eN as isCooperativelyMigratable, eO as isDiscoverable, eP as isEventSourceUnavailableError, eQ as isHDAllocationCapable, eR as isHDWalletCapable, eS as isPastExpiry, eT as isSigningIdentity, eU as isSubdust, eV as isTerminalBatchRegistrationState, eW as isTerminalIntentState, eX as isVirtualCoin, eY as isVtxoExpiringSoon, eZ as isVtxoSpent, e_ as iteratePages, e$ as maybeArkError, f0 as mergeArkadeCashRecord, f1 as networkFromArkadeInfo, f2 as networkFromOperatorInfo, f3 as networks, f4 as pageResult, f5 as resolveBatchExpiryPolicy, f6 as resolveDescriptorSigner, f7 as resolveEmulatorPubkey, f8 as resolveEventSource, f9 as resolvePrevTxs, fa as selectVirtualCoins, fb as signerSetFromInfo, fc as signingDescriptorIndex, fd as strictSigningDescriptorIndex, fe as toOffchainInputFeeParams, ff as toXOnlySignerHex, fg as waitForIncomingFunds, fh as watchExecutorContracts, fi as withPrevTxs } from './index-
|
|
1
|
+
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, K as Outpoint, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService$1, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService$1, bi as resolveArkadeService, bj as PathContext } from './index-Bi22mLsh.cjs';
|
|
2
|
+
export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorArtifact, cr as ExecutorContractHandler, cs as ExecutorContractKeys, ct as ExecutorContractParams, cu as ExecutorDefault, cv as ExecutorDelegation, cw as ExecutorDelegationDetails, cx as ExecutorInfo, cy as ExecutorManagerImpl, cz as ExecutorProvider, cA as ExecutorRequestError, cB as ExecutorTemplate, cC as ExecutorTemplateDetails, cD as ExecutorTemplateParam, cE as ExecutorWatchMetadata, cF as ExecutorWatchRegistration, cG as ExitCaptureMode, cH as ExitChainResolver, cI as ExitDataSource, cJ as ForeignDescriptorError, cK as GetArkadeInfoOptions, cL as GetUtxosOptions, cM as GroupMembership, cN as HandlerError, cO as HttpResponseError, cP as INTENT_TERMINAL_STATES, cQ as IncomingFunds, cR as IndexedDBWalletRepository, cS as IndexerTxType, cT as IndexerUtxo, cU as IndexerUtxosUnsupportedError, cV as Intent, cW as IntentCoin, cX as IntentFilter, cY as IntentPageFilter, cZ as IntentRepository, c_ as KeyringDescriptorProvider, c$ as KnownMetadata, d0 as MAX_PAGE_SIZE, d1 as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, d2 as MUTINYNET_EMULATOR_PUBKEY, d3 as MigrateDeprecatedSignerOptions, d4 as MigrationLegReport, d5 as MigrationVtxoRef, d6 as NewAddressType, d7 as Nonces, d8 as NotifiesIncomingFunds, d9 as OnchainCosignAmbiguousError, da as OnchainCosignRejectedError, db as OnchainCosignUnsupportedError, dc as Output, dd as PageResponse, de as PartialSig, df as PrevTxSource, dg as PrevTxUnavailableError, dh as ProofInput, di as ProviderClass, dj as ProviderKind, dk as ProviderUnavailableError, dl as REGTEST_EMULATOR_PUBKEY, dm as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dn as RawTxSource, dp as ReadonlySingleKey, dq as ReadonlyWalletConfig, dr as RecipientArkadeAddressContext, ds as RegistrationOptions, dt as RenewalSplit, du as RenewalSplitContext, dv as RestArkProvider, dw as RestDelegateProvider, dx as RestEmulatorProvider, dy as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dz as ScanContractsOptions, dA as ScanResult, dB as ScheduledSession, dC as ServerInfoSource, dD as ServerResponseMismatchError, dE as SettlementEventType, dF as SignRequest, dG as SignedIntent, dH as SignerClassification, dI as SignerSet, dJ as SingleKey, w as SubscriptionEvent, dK as SubscriptionFilter, x as SubscriptionHeartbeat, dL as SubscriptionResponse, dM as SweepTxNotification, dN as TapLeaves, dO as TimeHeight, dP as TreeNoncesEvent, dQ as TreeSignatureEvent, dR as TreeSignerSession, dS as TreeSigningStartedEvent, dT as TreeTxEvent, dU as Tx, dV as TxHistoryRecord, dW as TxKey, dX as TxNotification, dY as TxTag, dZ as TxTreeNode, d_ as TxType, d$ as Vtxo, e0 as VtxoChain, e1 as VtxoManager, e2 as VtxoReservedError, e3 as VtxoType, e4 as WaitForIncomingFundsOptions, e5 as WalletCannotAllocateAddressError, d as WalletConfig, e6 as WalletMode, e7 as WithPrevTx, e8 as addArkadeCashRecord, e9 as arkadeCashId, ea as arkadeCashResolver, eb as assertAllowedSighashTypes, ec as assertPageRequest, ed as assertRecipientArkadeAddress, ee as assertValidBatchExpiry, ef as assetMintResolver, eg as attachPrevArkTxs, eh as attachPrevoutTxs, ei as boardingResolver, ej as canRecoverOnchain, ek as canSpendOffchain, el as canSweepOnchain, em as classifyAgainstSignerSet, en as classifyContractSigner, eo as collabExitResolver, ep as collectBatchRegistrations, eq as collectContracts, er as collectIntents, es as collectPages, et as collectScriptVtxos, eu as collectTransactionHistory, ev as collectUtxos, ew as collectVtxos, ex as configureEventSource, ey as createArkadeCashTracker, ez as createDefaultActivityRegistry, eA as createExitChainResolver, eB as defaultBatchExpiryPolicy, eC as defaultEmulatorPubkey, eD as getAllNormalizedVtxos, eE as getConfiguredEventSource, eF as getNetwork, eG as getNormalizedVtxos, eH as getRandomId, eI as hasCandidates, eJ as isAddressAllocationCapable, eK as isArkError, eL as isBatchSignable, eM as isContractVtxoEvent, eN as isCooperativelyMigratable, eO as isDiscoverable, eP as isEventSourceUnavailableError, eQ as isHDAllocationCapable, eR as isHDWalletCapable, eS as isPastExpiry, eT as isSigningIdentity, eU as isSubdust, eV as isTerminalBatchRegistrationState, eW as isTerminalIntentState, eX as isVirtualCoin, eY as isVtxoExpiringSoon, eZ as isVtxoSpent, e_ as iteratePages, e$ as maybeArkError, f0 as mergeArkadeCashRecord, f1 as networkFromArkadeInfo, f2 as networkFromOperatorInfo, f3 as networks, f4 as pageResult, f5 as resolveBatchExpiryPolicy, f6 as resolveDescriptorSigner, f7 as resolveEmulatorPubkey, f8 as resolveEventSource, f9 as resolvePrevTxs, fa as selectVirtualCoins, fb as signerSetFromInfo, fc as signingDescriptorIndex, fd as strictSigningDescriptorIndex, fe as toOffchainInputFeeParams, ff as toXOnlySignerHex, fg as waitForIncomingFunds, fh as watchExecutorContracts, fi as withPrevTxs } from './index-Bi22mLsh.cjs';
|
|
3
3
|
import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.cjs';
|
|
4
4
|
export { A as ArkAddress, a as ArkTapscript, b as CLTVMultisigTapscript, c as ConditionCSVMultisigTapscript, d as ConditionMultisigTapscript, M as MultisigTapscript, e as TapTreeCoder, f as TapscriptType, g as decodeTapscript, h as getSequence, s as scriptFromTapLeafScript } from './base-C-Y5t_0F.cjs';
|
|
5
|
-
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-
|
|
5
|
+
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-DnKugm-h.cjs';
|
|
6
6
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
7
7
|
import { Transaction as Transaction$1, ScriptType as ScriptType$1, OP, Script } from '@scure/btc-signer';
|
|
8
8
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
9
9
|
import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
|
|
10
|
-
import {
|
|
10
|
+
import { P as Program$1, A as ArkadeArgValue$1, a as ArkadeProgramScript, b as ProgramKeys$1, c as ArkadeParamValue$1, d as ArkadeFunction$1, I as InputDef$1, e as ArkadeValueType, C as CompiledProgramFunction$1, f as ArkadeArgType$1, g as ArkadeContractParams$1, h as ArkadeSegment$1, i as AsmToken$1, j as InputRef$1, k as SignerRef$1, S as SourceRange$1, T as TapscriptSegment$1, l as TweakedSigner$1, W as WitnessRef$1, m as SUPPORTED_PROGRAM_VERSION, U as UnsupportedProgramVersionError, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-ZWUAWy_9.cjs';
|
|
11
|
+
import { C as ContractArtifact$1, a as ContractDebugInfo$1, P as ProgramFromArtifactOptions$1, i as isContractArtifact, p as programFromArtifact } from './artifact-DA5YHM2k.cjs';
|
|
11
12
|
import * as P from 'micro-packed';
|
|
12
13
|
import '@scure/btc-signer/transaction.js';
|
|
13
14
|
|
|
@@ -434,64 +435,6 @@ declare class InMemoryWalletRepository implements WalletRepository {
|
|
|
434
435
|
[Symbol.asyncDispose](): Promise<void>;
|
|
435
436
|
}
|
|
436
437
|
|
|
437
|
-
/**
|
|
438
|
-
* Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
|
|
439
|
-
* @scure opcode names, and one structured tapleaf per compiler leaf.
|
|
440
|
-
*/
|
|
441
|
-
|
|
442
|
-
interface ArtifactParameter {
|
|
443
|
-
name: string;
|
|
444
|
-
type: string;
|
|
445
|
-
}
|
|
446
|
-
interface ArtifactStruct {
|
|
447
|
-
name: string;
|
|
448
|
-
fields: ArtifactParameter[];
|
|
449
|
-
}
|
|
450
|
-
interface ArtifactWitnessElement {
|
|
451
|
-
name: string;
|
|
452
|
-
type: string;
|
|
453
|
-
encoding?: string;
|
|
454
|
-
injected?: boolean;
|
|
455
|
-
}
|
|
456
|
-
interface ArtifactLeaf {
|
|
457
|
-
name: string;
|
|
458
|
-
witness?: ArtifactWitnessElement[];
|
|
459
|
-
asm: string[];
|
|
460
|
-
}
|
|
461
|
-
interface ArtifactCovenant {
|
|
462
|
-
inputs: ArtifactParameter[];
|
|
463
|
-
asm: string[];
|
|
464
|
-
}
|
|
465
|
-
interface ArtifactGroup {
|
|
466
|
-
name: string;
|
|
467
|
-
arkade?: ArtifactCovenant;
|
|
468
|
-
leaves: ArtifactLeaf[];
|
|
469
|
-
}
|
|
470
|
-
interface ContractArtifact {
|
|
471
|
-
formatVersion?: number;
|
|
472
|
-
contractName: string;
|
|
473
|
-
constructorInputs: ArtifactParameter[];
|
|
474
|
-
structs?: ArtifactStruct[];
|
|
475
|
-
functions: ArtifactGroup[];
|
|
476
|
-
fingerprint?: string;
|
|
477
|
-
}
|
|
478
|
-
/** The compiler's debug file: each covenant's source map, keyed by spend group. */
|
|
479
|
-
interface ContractDebugInfo {
|
|
480
|
-
formatVersion: number;
|
|
481
|
-
/** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
|
|
482
|
-
artifactFingerprint?: string;
|
|
483
|
-
functions: Record<string, {
|
|
484
|
-
sourceMap: SourceRange$1[];
|
|
485
|
-
}>;
|
|
486
|
-
}
|
|
487
|
-
/** `true` when `value` is an arkadec artifact rather than a Program. */
|
|
488
|
-
declare function isContractArtifact(value: unknown): value is ContractArtifact;
|
|
489
|
-
/**
|
|
490
|
-
* Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
|
|
491
|
-
* With the build's `debug` file, each covenant segment also carries its `sourceMap`.
|
|
492
|
-
*/
|
|
493
|
-
declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program$1;
|
|
494
|
-
|
|
495
438
|
/**
|
|
496
439
|
* Whether generic wallet spending may select this contract's VTXOs. Default closed: a type whose
|
|
497
440
|
* handler declares nothing, or has no handler registered here, is not spendable.
|
|
@@ -1186,6 +1129,15 @@ type ResponseGetAddress = ResponseEnvelope & {
|
|
|
1186
1129
|
address: string;
|
|
1187
1130
|
};
|
|
1188
1131
|
};
|
|
1132
|
+
type RequestGetOwnAddress = RequestEnvelope & {
|
|
1133
|
+
type: "GET_OWN_ADDRESS";
|
|
1134
|
+
};
|
|
1135
|
+
type ResponseGetOwnAddress = ResponseEnvelope & {
|
|
1136
|
+
type: "OWN_ADDRESS";
|
|
1137
|
+
payload: {
|
|
1138
|
+
address: string;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1189
1141
|
type RequestGetBoardingAddress = RequestEnvelope & {
|
|
1190
1142
|
type: "GET_BOARDING_ADDRESS";
|
|
1191
1143
|
};
|
|
@@ -1950,7 +1902,7 @@ type RequestRestoreWallet = RequestEnvelope & {
|
|
|
1950
1902
|
type ResponseRestoreWallet = ResponseEnvelope & {
|
|
1951
1903
|
type: "RESTORE_WALLET_SUCCESS";
|
|
1952
1904
|
};
|
|
1953
|
-
type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestDispose | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
|
|
1905
|
+
type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetOwnAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestDispose | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
|
|
1954
1906
|
type ScopedWalletRequest = RequestEnvelope & {
|
|
1955
1907
|
type: "SCOPED_WALLET_REQUEST_V1";
|
|
1956
1908
|
payload: {
|
|
@@ -1961,7 +1913,7 @@ type ScopedWalletRequest = RequestEnvelope & {
|
|
|
1961
1913
|
type WalletUpdaterRequest = WalletRequest | ScopedWalletRequest;
|
|
1962
1914
|
type WalletUpdaterResponse = ResponseEnvelope & {
|
|
1963
1915
|
walletRequestBinding?: WalletRequestBinding;
|
|
1964
|
-
} & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseDispose | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
|
|
1916
|
+
} & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetOwnAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseDispose | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
|
|
1965
1917
|
declare class WalletMessageHandler implements MessageHandler<WalletUpdaterRequest, WalletUpdaterResponse> {
|
|
1966
1918
|
readonly messageTag: string;
|
|
1967
1919
|
private wallet;
|
|
@@ -3466,6 +3418,7 @@ declare class ServiceWorkerReadonlyWallet implements IReadonlyWallet {
|
|
|
3466
3418
|
/** This tells the service worker to wipe all locally persisted wallet data. */
|
|
3467
3419
|
clear(): Promise<void>;
|
|
3468
3420
|
getAddress(): Promise<string>;
|
|
3421
|
+
getOwnAddress(): Promise<string>;
|
|
3469
3422
|
getBoardingAddress(): Promise<string>;
|
|
3470
3423
|
/**
|
|
3471
3424
|
* Delegated to the worker, which holds the wallet that owns the connection.
|
|
@@ -5339,6 +5292,7 @@ declare class Extension {
|
|
|
5339
5292
|
|
|
5340
5293
|
declare const ARKADE_OP: {
|
|
5341
5294
|
readonly MERKLEBRANCHVERIFY: 179;
|
|
5295
|
+
readonly MERKLEBRANCHROOT: 179;
|
|
5342
5296
|
readonly PUT: 187;
|
|
5343
5297
|
readonly DIGEST: 195;
|
|
5344
5298
|
readonly SHA256INITIALIZE: 196;
|
|
@@ -5438,6 +5392,7 @@ declare function getOpcodeValue(name: string): number | undefined;
|
|
|
5438
5392
|
*/
|
|
5439
5393
|
declare const ARKADE_OPS: {
|
|
5440
5394
|
readonly MERKLEBRANCHVERIFY: 179;
|
|
5395
|
+
readonly MERKLEBRANCHROOT: 179;
|
|
5441
5396
|
readonly PUT: 187;
|
|
5442
5397
|
readonly DIGEST: 195;
|
|
5443
5398
|
readonly SHA256INITIALIZE: 196;
|
|
@@ -6052,7 +6007,9 @@ declare class Arkade {
|
|
|
6052
6007
|
* the program's literal type, so `functions` is strongly typed.
|
|
6053
6008
|
*
|
|
6054
6009
|
* Declared `server`/`user` params default to the client's keys. Compiler
|
|
6055
|
-
* artifacts reserve the operator key and exit delay to the connected operator
|
|
6010
|
+
* artifacts reserve the operator key and exit delay to the connected operator,
|
|
6011
|
+
* and the witness program of each contract they instantiate to the derived one
|
|
6012
|
+
* (see {@link ArkadeContract}'s constructor).
|
|
6056
6013
|
* Struct and array params are passed whole by name (see {@link ArkadeNestedValue}).
|
|
6057
6014
|
*/
|
|
6058
6015
|
contract<const P extends Program$1>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
|
|
@@ -6076,6 +6033,11 @@ declare class ArkadeContract<P extends Program$1 = Program$1> {
|
|
|
6076
6033
|
private readonly compiled;
|
|
6077
6034
|
/** Constructor bindings by flattened name (`owners.0.key`), as persisted. */
|
|
6078
6035
|
readonly args: Record<string, ArkadeParamValue$1>;
|
|
6036
|
+
/**
|
|
6037
|
+
* Compile `program` with `args` against `keys` (the client's by default). Each contract a
|
|
6038
|
+
* compiler artifact instantiates is bound to its witness program, derived with `keys` and the
|
|
6039
|
+
* client's exit delay; a value passed for it by hand must match.
|
|
6040
|
+
*/
|
|
6079
6041
|
constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys$1);
|
|
6080
6042
|
/**
|
|
6081
6043
|
* Rebuild a callable contract from a persisted `"arkade"` row. Compiles with the stored keys,
|
|
@@ -6282,6 +6244,9 @@ type TweakedSigner = TweakedSigner$1;
|
|
|
6282
6244
|
type WitnessRef = WitnessRef$1;
|
|
6283
6245
|
type ArkadeService = ArkadeService$1;
|
|
6284
6246
|
type ResolvedArkadeService = ResolvedArkadeService$1;
|
|
6247
|
+
type ContractArtifact = ContractArtifact$1;
|
|
6248
|
+
type ContractDebugInfo = ContractDebugInfo$1;
|
|
6249
|
+
type ProgramFromArtifactOptions = ProgramFromArtifactOptions$1;
|
|
6285
6250
|
|
|
6286
6251
|
declare const index_ARKADE_OP: typeof ARKADE_OP;
|
|
6287
6252
|
declare const index_ARKADE_OPCODES: typeof ARKADE_OPCODES;
|
|
@@ -6333,6 +6298,7 @@ declare const index_OPCODE_NAMES: typeof OPCODE_NAMES;
|
|
|
6333
6298
|
declare const index_OPCODE_VALUES: typeof OPCODE_VALUES;
|
|
6334
6299
|
type index_Program = Program;
|
|
6335
6300
|
type index_ProgramContractRenewTarget = ProgramContractRenewTarget;
|
|
6301
|
+
type index_ProgramFromArtifactOptions = ProgramFromArtifactOptions;
|
|
6336
6302
|
type index_ProgramKeys = ProgramKeys;
|
|
6337
6303
|
type index_ResolvedArkadeService = ResolvedArkadeService;
|
|
6338
6304
|
declare const index_SUPPORTED_PROGRAM_VERSION: typeof SUPPORTED_PROGRAM_VERSION;
|
|
@@ -6367,7 +6333,7 @@ declare const index_toASM: typeof toASM;
|
|
|
6367
6333
|
declare const index_validateProgram: typeof validateProgram;
|
|
6368
6334
|
declare const index_witnessRefToBytes: typeof witnessRefToBytes;
|
|
6369
6335
|
declare namespace index {
|
|
6370
|
-
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, type index_ArkadeArgType as ArkadeArgType, type index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, type index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, type index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, type index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, type index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, type index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, type index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, type index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, type index_InputDef as InputDef, type index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, type index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, type index_ProgramKeys as ProgramKeys, type index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, type index_ScriptType as ScriptType, type index_SignerRef as SignerRef, type index_SourceRange as SourceRange, type index_TapscriptSegment as TapscriptSegment, type index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, type index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
6336
|
+
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, type index_ArkadeArgType as ArkadeArgType, type index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, type index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, type index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, type index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, type index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, type index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, type index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, type index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, type index_InputDef as InputDef, type index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, type index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, type index_ProgramFromArtifactOptions as ProgramFromArtifactOptions, type index_ProgramKeys as ProgramKeys, type index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, type index_ScriptType as ScriptType, type index_SignerRef as SignerRef, type index_SourceRange as SourceRange, type index_TapscriptSegment as TapscriptSegment, type index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, type index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
6371
6337
|
}
|
|
6372
6338
|
|
|
6373
6339
|
/** Known BIP21 parameters including Arkade-specific extensions. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, K as Outpoint, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService$1, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService$1, bi as resolveArkadeService, bj as PathContext } from './index-
|
|
2
|
-
export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorArtifact, cr as ExecutorContractHandler, cs as ExecutorContractKeys, ct as ExecutorContractParams, cu as ExecutorDefault, cv as ExecutorDelegation, cw as ExecutorDelegationDetails, cx as ExecutorInfo, cy as ExecutorManagerImpl, cz as ExecutorProvider, cA as ExecutorRequestError, cB as ExecutorTemplate, cC as ExecutorTemplateDetails, cD as ExecutorTemplateParam, cE as ExecutorWatchMetadata, cF as ExecutorWatchRegistration, cG as ExitCaptureMode, cH as ExitChainResolver, cI as ExitDataSource, cJ as ForeignDescriptorError, cK as GetArkadeInfoOptions, cL as GetUtxosOptions, cM as GroupMembership, cN as HandlerError, cO as HttpResponseError, cP as INTENT_TERMINAL_STATES, cQ as IncomingFunds, cR as IndexedDBWalletRepository, cS as IndexerTxType, cT as IndexerUtxo, cU as IndexerUtxosUnsupportedError, cV as Intent, cW as IntentCoin, cX as IntentFilter, cY as IntentPageFilter, cZ as IntentRepository, c_ as KeyringDescriptorProvider, c$ as KnownMetadata, d0 as MAX_PAGE_SIZE, d1 as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, d2 as MUTINYNET_EMULATOR_PUBKEY, d3 as MigrateDeprecatedSignerOptions, d4 as MigrationLegReport, d5 as MigrationVtxoRef, d6 as NewAddressType, d7 as Nonces, d8 as NotifiesIncomingFunds, d9 as OnchainCosignAmbiguousError, da as OnchainCosignRejectedError, db as OnchainCosignUnsupportedError, dc as Output, dd as PageResponse, de as PartialSig, df as PrevTxSource, dg as PrevTxUnavailableError, dh as ProofInput, di as ProviderClass, dj as ProviderKind, dk as ProviderUnavailableError, dl as REGTEST_EMULATOR_PUBKEY, dm as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dn as RawTxSource, dp as ReadonlySingleKey, dq as ReadonlyWalletConfig, dr as RecipientArkadeAddressContext, ds as RegistrationOptions, dt as RenewalSplit, du as RenewalSplitContext, dv as RestArkProvider, dw as RestDelegateProvider, dx as RestEmulatorProvider, dy as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dz as ScanContractsOptions, dA as ScanResult, dB as ScheduledSession, dC as ServerInfoSource, dD as ServerResponseMismatchError, dE as SettlementEventType, dF as SignRequest, dG as SignedIntent, dH as SignerClassification, dI as SignerSet, dJ as SingleKey, w as SubscriptionEvent, dK as SubscriptionFilter, x as SubscriptionHeartbeat, dL as SubscriptionResponse, dM as SweepTxNotification, dN as TapLeaves, dO as TimeHeight, dP as TreeNoncesEvent, dQ as TreeSignatureEvent, dR as TreeSignerSession, dS as TreeSigningStartedEvent, dT as TreeTxEvent, dU as Tx, dV as TxHistoryRecord, dW as TxKey, dX as TxNotification, dY as TxTag, dZ as TxTreeNode, d_ as TxType, d$ as Vtxo, e0 as VtxoChain, e1 as VtxoManager, e2 as VtxoReservedError, e3 as VtxoType, e4 as WaitForIncomingFundsOptions, e5 as WalletCannotAllocateAddressError, d as WalletConfig, e6 as WalletMode, e7 as WithPrevTx, e8 as addArkadeCashRecord, e9 as arkadeCashId, ea as arkadeCashResolver, eb as assertAllowedSighashTypes, ec as assertPageRequest, ed as assertRecipientArkadeAddress, ee as assertValidBatchExpiry, ef as assetMintResolver, eg as attachPrevArkTxs, eh as attachPrevoutTxs, ei as boardingResolver, ej as canRecoverOnchain, ek as canSpendOffchain, el as canSweepOnchain, em as classifyAgainstSignerSet, en as classifyContractSigner, eo as collabExitResolver, ep as collectBatchRegistrations, eq as collectContracts, er as collectIntents, es as collectPages, et as collectScriptVtxos, eu as collectTransactionHistory, ev as collectUtxos, ew as collectVtxos, ex as configureEventSource, ey as createArkadeCashTracker, ez as createDefaultActivityRegistry, eA as createExitChainResolver, eB as defaultBatchExpiryPolicy, eC as defaultEmulatorPubkey, eD as getAllNormalizedVtxos, eE as getConfiguredEventSource, eF as getNetwork, eG as getNormalizedVtxos, eH as getRandomId, eI as hasCandidates, eJ as isAddressAllocationCapable, eK as isArkError, eL as isBatchSignable, eM as isContractVtxoEvent, eN as isCooperativelyMigratable, eO as isDiscoverable, eP as isEventSourceUnavailableError, eQ as isHDAllocationCapable, eR as isHDWalletCapable, eS as isPastExpiry, eT as isSigningIdentity, eU as isSubdust, eV as isTerminalBatchRegistrationState, eW as isTerminalIntentState, eX as isVirtualCoin, eY as isVtxoExpiringSoon, eZ as isVtxoSpent, e_ as iteratePages, e$ as maybeArkError, f0 as mergeArkadeCashRecord, f1 as networkFromArkadeInfo, f2 as networkFromOperatorInfo, f3 as networks, f4 as pageResult, f5 as resolveBatchExpiryPolicy, f6 as resolveDescriptorSigner, f7 as resolveEmulatorPubkey, f8 as resolveEventSource, f9 as resolvePrevTxs, fa as selectVirtualCoins, fb as signerSetFromInfo, fc as signingDescriptorIndex, fd as strictSigningDescriptorIndex, fe as toOffchainInputFeeParams, ff as toXOnlySignerHex, fg as waitForIncomingFunds, fh as watchExecutorContracts, fi as withPrevTxs } from './index-
|
|
1
|
+
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, K as Outpoint, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService$1, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService$1, bi as resolveArkadeService, bj as PathContext } from './index-DOdoDqvM.js';
|
|
2
|
+
export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorArtifact, cr as ExecutorContractHandler, cs as ExecutorContractKeys, ct as ExecutorContractParams, cu as ExecutorDefault, cv as ExecutorDelegation, cw as ExecutorDelegationDetails, cx as ExecutorInfo, cy as ExecutorManagerImpl, cz as ExecutorProvider, cA as ExecutorRequestError, cB as ExecutorTemplate, cC as ExecutorTemplateDetails, cD as ExecutorTemplateParam, cE as ExecutorWatchMetadata, cF as ExecutorWatchRegistration, cG as ExitCaptureMode, cH as ExitChainResolver, cI as ExitDataSource, cJ as ForeignDescriptorError, cK as GetArkadeInfoOptions, cL as GetUtxosOptions, cM as GroupMembership, cN as HandlerError, cO as HttpResponseError, cP as INTENT_TERMINAL_STATES, cQ as IncomingFunds, cR as IndexedDBWalletRepository, cS as IndexerTxType, cT as IndexerUtxo, cU as IndexerUtxosUnsupportedError, cV as Intent, cW as IntentCoin, cX as IntentFilter, cY as IntentPageFilter, cZ as IntentRepository, c_ as KeyringDescriptorProvider, c$ as KnownMetadata, d0 as MAX_PAGE_SIZE, d1 as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, d2 as MUTINYNET_EMULATOR_PUBKEY, d3 as MigrateDeprecatedSignerOptions, d4 as MigrationLegReport, d5 as MigrationVtxoRef, d6 as NewAddressType, d7 as Nonces, d8 as NotifiesIncomingFunds, d9 as OnchainCosignAmbiguousError, da as OnchainCosignRejectedError, db as OnchainCosignUnsupportedError, dc as Output, dd as PageResponse, de as PartialSig, df as PrevTxSource, dg as PrevTxUnavailableError, dh as ProofInput, di as ProviderClass, dj as ProviderKind, dk as ProviderUnavailableError, dl as REGTEST_EMULATOR_PUBKEY, dm as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dn as RawTxSource, dp as ReadonlySingleKey, dq as ReadonlyWalletConfig, dr as RecipientArkadeAddressContext, ds as RegistrationOptions, dt as RenewalSplit, du as RenewalSplitContext, dv as RestArkProvider, dw as RestDelegateProvider, dx as RestEmulatorProvider, dy as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dz as ScanContractsOptions, dA as ScanResult, dB as ScheduledSession, dC as ServerInfoSource, dD as ServerResponseMismatchError, dE as SettlementEventType, dF as SignRequest, dG as SignedIntent, dH as SignerClassification, dI as SignerSet, dJ as SingleKey, w as SubscriptionEvent, dK as SubscriptionFilter, x as SubscriptionHeartbeat, dL as SubscriptionResponse, dM as SweepTxNotification, dN as TapLeaves, dO as TimeHeight, dP as TreeNoncesEvent, dQ as TreeSignatureEvent, dR as TreeSignerSession, dS as TreeSigningStartedEvent, dT as TreeTxEvent, dU as Tx, dV as TxHistoryRecord, dW as TxKey, dX as TxNotification, dY as TxTag, dZ as TxTreeNode, d_ as TxType, d$ as Vtxo, e0 as VtxoChain, e1 as VtxoManager, e2 as VtxoReservedError, e3 as VtxoType, e4 as WaitForIncomingFundsOptions, e5 as WalletCannotAllocateAddressError, d as WalletConfig, e6 as WalletMode, e7 as WithPrevTx, e8 as addArkadeCashRecord, e9 as arkadeCashId, ea as arkadeCashResolver, eb as assertAllowedSighashTypes, ec as assertPageRequest, ed as assertRecipientArkadeAddress, ee as assertValidBatchExpiry, ef as assetMintResolver, eg as attachPrevArkTxs, eh as attachPrevoutTxs, ei as boardingResolver, ej as canRecoverOnchain, ek as canSpendOffchain, el as canSweepOnchain, em as classifyAgainstSignerSet, en as classifyContractSigner, eo as collabExitResolver, ep as collectBatchRegistrations, eq as collectContracts, er as collectIntents, es as collectPages, et as collectScriptVtxos, eu as collectTransactionHistory, ev as collectUtxos, ew as collectVtxos, ex as configureEventSource, ey as createArkadeCashTracker, ez as createDefaultActivityRegistry, eA as createExitChainResolver, eB as defaultBatchExpiryPolicy, eC as defaultEmulatorPubkey, eD as getAllNormalizedVtxos, eE as getConfiguredEventSource, eF as getNetwork, eG as getNormalizedVtxos, eH as getRandomId, eI as hasCandidates, eJ as isAddressAllocationCapable, eK as isArkError, eL as isBatchSignable, eM as isContractVtxoEvent, eN as isCooperativelyMigratable, eO as isDiscoverable, eP as isEventSourceUnavailableError, eQ as isHDAllocationCapable, eR as isHDWalletCapable, eS as isPastExpiry, eT as isSigningIdentity, eU as isSubdust, eV as isTerminalBatchRegistrationState, eW as isTerminalIntentState, eX as isVirtualCoin, eY as isVtxoExpiringSoon, eZ as isVtxoSpent, e_ as iteratePages, e$ as maybeArkError, f0 as mergeArkadeCashRecord, f1 as networkFromArkadeInfo, f2 as networkFromOperatorInfo, f3 as networks, f4 as pageResult, f5 as resolveBatchExpiryPolicy, f6 as resolveDescriptorSigner, f7 as resolveEmulatorPubkey, f8 as resolveEventSource, f9 as resolvePrevTxs, fa as selectVirtualCoins, fb as signerSetFromInfo, fc as signingDescriptorIndex, fd as strictSigningDescriptorIndex, fe as toOffchainInputFeeParams, ff as toXOnlySignerHex, fg as waitForIncomingFunds, fh as watchExecutorContracts, fi as withPrevTxs } from './index-DOdoDqvM.js';
|
|
3
3
|
import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.js';
|
|
4
4
|
export { A as ArkAddress, a as ArkTapscript, b as CLTVMultisigTapscript, c as ConditionCSVMultisigTapscript, d as ConditionMultisigTapscript, M as MultisigTapscript, e as TapTreeCoder, f as TapscriptType, g as decodeTapscript, h as getSequence, s as scriptFromTapLeafScript } from './base-C-Y5t_0F.js';
|
|
5
|
-
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-
|
|
5
|
+
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-CiLMmCHX.js';
|
|
6
6
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
7
7
|
import { Transaction as Transaction$1, ScriptType as ScriptType$1, OP, Script } from '@scure/btc-signer';
|
|
8
8
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
9
9
|
import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
|
|
10
|
-
import {
|
|
10
|
+
import { P as Program$1, A as ArkadeArgValue$1, a as ArkadeProgramScript, b as ProgramKeys$1, c as ArkadeParamValue$1, d as ArkadeFunction$1, I as InputDef$1, e as ArkadeValueType, C as CompiledProgramFunction$1, f as ArkadeArgType$1, g as ArkadeContractParams$1, h as ArkadeSegment$1, i as AsmToken$1, j as InputRef$1, k as SignerRef$1, S as SourceRange$1, T as TapscriptSegment$1, l as TweakedSigner$1, W as WitnessRef$1, m as SUPPORTED_PROGRAM_VERSION, U as UnsupportedProgramVersionError, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-zdDO4cMt.js';
|
|
11
|
+
import { C as ContractArtifact$1, a as ContractDebugInfo$1, P as ProgramFromArtifactOptions$1, i as isContractArtifact, p as programFromArtifact } from './artifact-DacurepK.js';
|
|
11
12
|
import * as P from 'micro-packed';
|
|
12
13
|
import '@scure/btc-signer/transaction.js';
|
|
13
14
|
|
|
@@ -434,64 +435,6 @@ declare class InMemoryWalletRepository implements WalletRepository {
|
|
|
434
435
|
[Symbol.asyncDispose](): Promise<void>;
|
|
435
436
|
}
|
|
436
437
|
|
|
437
|
-
/**
|
|
438
|
-
* Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
|
|
439
|
-
* @scure opcode names, and one structured tapleaf per compiler leaf.
|
|
440
|
-
*/
|
|
441
|
-
|
|
442
|
-
interface ArtifactParameter {
|
|
443
|
-
name: string;
|
|
444
|
-
type: string;
|
|
445
|
-
}
|
|
446
|
-
interface ArtifactStruct {
|
|
447
|
-
name: string;
|
|
448
|
-
fields: ArtifactParameter[];
|
|
449
|
-
}
|
|
450
|
-
interface ArtifactWitnessElement {
|
|
451
|
-
name: string;
|
|
452
|
-
type: string;
|
|
453
|
-
encoding?: string;
|
|
454
|
-
injected?: boolean;
|
|
455
|
-
}
|
|
456
|
-
interface ArtifactLeaf {
|
|
457
|
-
name: string;
|
|
458
|
-
witness?: ArtifactWitnessElement[];
|
|
459
|
-
asm: string[];
|
|
460
|
-
}
|
|
461
|
-
interface ArtifactCovenant {
|
|
462
|
-
inputs: ArtifactParameter[];
|
|
463
|
-
asm: string[];
|
|
464
|
-
}
|
|
465
|
-
interface ArtifactGroup {
|
|
466
|
-
name: string;
|
|
467
|
-
arkade?: ArtifactCovenant;
|
|
468
|
-
leaves: ArtifactLeaf[];
|
|
469
|
-
}
|
|
470
|
-
interface ContractArtifact {
|
|
471
|
-
formatVersion?: number;
|
|
472
|
-
contractName: string;
|
|
473
|
-
constructorInputs: ArtifactParameter[];
|
|
474
|
-
structs?: ArtifactStruct[];
|
|
475
|
-
functions: ArtifactGroup[];
|
|
476
|
-
fingerprint?: string;
|
|
477
|
-
}
|
|
478
|
-
/** The compiler's debug file: each covenant's source map, keyed by spend group. */
|
|
479
|
-
interface ContractDebugInfo {
|
|
480
|
-
formatVersion: number;
|
|
481
|
-
/** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
|
|
482
|
-
artifactFingerprint?: string;
|
|
483
|
-
functions: Record<string, {
|
|
484
|
-
sourceMap: SourceRange$1[];
|
|
485
|
-
}>;
|
|
486
|
-
}
|
|
487
|
-
/** `true` when `value` is an arkadec artifact rather than a Program. */
|
|
488
|
-
declare function isContractArtifact(value: unknown): value is ContractArtifact;
|
|
489
|
-
/**
|
|
490
|
-
* Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
|
|
491
|
-
* With the build's `debug` file, each covenant segment also carries its `sourceMap`.
|
|
492
|
-
*/
|
|
493
|
-
declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program$1;
|
|
494
|
-
|
|
495
438
|
/**
|
|
496
439
|
* Whether generic wallet spending may select this contract's VTXOs. Default closed: a type whose
|
|
497
440
|
* handler declares nothing, or has no handler registered here, is not spendable.
|
|
@@ -1186,6 +1129,15 @@ type ResponseGetAddress = ResponseEnvelope & {
|
|
|
1186
1129
|
address: string;
|
|
1187
1130
|
};
|
|
1188
1131
|
};
|
|
1132
|
+
type RequestGetOwnAddress = RequestEnvelope & {
|
|
1133
|
+
type: "GET_OWN_ADDRESS";
|
|
1134
|
+
};
|
|
1135
|
+
type ResponseGetOwnAddress = ResponseEnvelope & {
|
|
1136
|
+
type: "OWN_ADDRESS";
|
|
1137
|
+
payload: {
|
|
1138
|
+
address: string;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1189
1141
|
type RequestGetBoardingAddress = RequestEnvelope & {
|
|
1190
1142
|
type: "GET_BOARDING_ADDRESS";
|
|
1191
1143
|
};
|
|
@@ -1950,7 +1902,7 @@ type RequestRestoreWallet = RequestEnvelope & {
|
|
|
1950
1902
|
type ResponseRestoreWallet = ResponseEnvelope & {
|
|
1951
1903
|
type: "RESTORE_WALLET_SUCCESS";
|
|
1952
1904
|
};
|
|
1953
|
-
type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestDispose | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
|
|
1905
|
+
type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetOwnAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestDispose | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
|
|
1954
1906
|
type ScopedWalletRequest = RequestEnvelope & {
|
|
1955
1907
|
type: "SCOPED_WALLET_REQUEST_V1";
|
|
1956
1908
|
payload: {
|
|
@@ -1961,7 +1913,7 @@ type ScopedWalletRequest = RequestEnvelope & {
|
|
|
1961
1913
|
type WalletUpdaterRequest = WalletRequest | ScopedWalletRequest;
|
|
1962
1914
|
type WalletUpdaterResponse = ResponseEnvelope & {
|
|
1963
1915
|
walletRequestBinding?: WalletRequestBinding;
|
|
1964
|
-
} & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseDispose | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
|
|
1916
|
+
} & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetOwnAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseDispose | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
|
|
1965
1917
|
declare class WalletMessageHandler implements MessageHandler<WalletUpdaterRequest, WalletUpdaterResponse> {
|
|
1966
1918
|
readonly messageTag: string;
|
|
1967
1919
|
private wallet;
|
|
@@ -3466,6 +3418,7 @@ declare class ServiceWorkerReadonlyWallet implements IReadonlyWallet {
|
|
|
3466
3418
|
/** This tells the service worker to wipe all locally persisted wallet data. */
|
|
3467
3419
|
clear(): Promise<void>;
|
|
3468
3420
|
getAddress(): Promise<string>;
|
|
3421
|
+
getOwnAddress(): Promise<string>;
|
|
3469
3422
|
getBoardingAddress(): Promise<string>;
|
|
3470
3423
|
/**
|
|
3471
3424
|
* Delegated to the worker, which holds the wallet that owns the connection.
|
|
@@ -5339,6 +5292,7 @@ declare class Extension {
|
|
|
5339
5292
|
|
|
5340
5293
|
declare const ARKADE_OP: {
|
|
5341
5294
|
readonly MERKLEBRANCHVERIFY: 179;
|
|
5295
|
+
readonly MERKLEBRANCHROOT: 179;
|
|
5342
5296
|
readonly PUT: 187;
|
|
5343
5297
|
readonly DIGEST: 195;
|
|
5344
5298
|
readonly SHA256INITIALIZE: 196;
|
|
@@ -5438,6 +5392,7 @@ declare function getOpcodeValue(name: string): number | undefined;
|
|
|
5438
5392
|
*/
|
|
5439
5393
|
declare const ARKADE_OPS: {
|
|
5440
5394
|
readonly MERKLEBRANCHVERIFY: 179;
|
|
5395
|
+
readonly MERKLEBRANCHROOT: 179;
|
|
5441
5396
|
readonly PUT: 187;
|
|
5442
5397
|
readonly DIGEST: 195;
|
|
5443
5398
|
readonly SHA256INITIALIZE: 196;
|
|
@@ -6052,7 +6007,9 @@ declare class Arkade {
|
|
|
6052
6007
|
* the program's literal type, so `functions` is strongly typed.
|
|
6053
6008
|
*
|
|
6054
6009
|
* Declared `server`/`user` params default to the client's keys. Compiler
|
|
6055
|
-
* artifacts reserve the operator key and exit delay to the connected operator
|
|
6010
|
+
* artifacts reserve the operator key and exit delay to the connected operator,
|
|
6011
|
+
* and the witness program of each contract they instantiate to the derived one
|
|
6012
|
+
* (see {@link ArkadeContract}'s constructor).
|
|
6056
6013
|
* Struct and array params are passed whole by name (see {@link ArkadeNestedValue}).
|
|
6057
6014
|
*/
|
|
6058
6015
|
contract<const P extends Program$1>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
|
|
@@ -6076,6 +6033,11 @@ declare class ArkadeContract<P extends Program$1 = Program$1> {
|
|
|
6076
6033
|
private readonly compiled;
|
|
6077
6034
|
/** Constructor bindings by flattened name (`owners.0.key`), as persisted. */
|
|
6078
6035
|
readonly args: Record<string, ArkadeParamValue$1>;
|
|
6036
|
+
/**
|
|
6037
|
+
* Compile `program` with `args` against `keys` (the client's by default). Each contract a
|
|
6038
|
+
* compiler artifact instantiates is bound to its witness program, derived with `keys` and the
|
|
6039
|
+
* client's exit delay; a value passed for it by hand must match.
|
|
6040
|
+
*/
|
|
6079
6041
|
constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys$1);
|
|
6080
6042
|
/**
|
|
6081
6043
|
* Rebuild a callable contract from a persisted `"arkade"` row. Compiles with the stored keys,
|
|
@@ -6282,6 +6244,9 @@ type TweakedSigner = TweakedSigner$1;
|
|
|
6282
6244
|
type WitnessRef = WitnessRef$1;
|
|
6283
6245
|
type ArkadeService = ArkadeService$1;
|
|
6284
6246
|
type ResolvedArkadeService = ResolvedArkadeService$1;
|
|
6247
|
+
type ContractArtifact = ContractArtifact$1;
|
|
6248
|
+
type ContractDebugInfo = ContractDebugInfo$1;
|
|
6249
|
+
type ProgramFromArtifactOptions = ProgramFromArtifactOptions$1;
|
|
6285
6250
|
|
|
6286
6251
|
declare const index_ARKADE_OP: typeof ARKADE_OP;
|
|
6287
6252
|
declare const index_ARKADE_OPCODES: typeof ARKADE_OPCODES;
|
|
@@ -6333,6 +6298,7 @@ declare const index_OPCODE_NAMES: typeof OPCODE_NAMES;
|
|
|
6333
6298
|
declare const index_OPCODE_VALUES: typeof OPCODE_VALUES;
|
|
6334
6299
|
type index_Program = Program;
|
|
6335
6300
|
type index_ProgramContractRenewTarget = ProgramContractRenewTarget;
|
|
6301
|
+
type index_ProgramFromArtifactOptions = ProgramFromArtifactOptions;
|
|
6336
6302
|
type index_ProgramKeys = ProgramKeys;
|
|
6337
6303
|
type index_ResolvedArkadeService = ResolvedArkadeService;
|
|
6338
6304
|
declare const index_SUPPORTED_PROGRAM_VERSION: typeof SUPPORTED_PROGRAM_VERSION;
|
|
@@ -6367,7 +6333,7 @@ declare const index_toASM: typeof toASM;
|
|
|
6367
6333
|
declare const index_validateProgram: typeof validateProgram;
|
|
6368
6334
|
declare const index_witnessRefToBytes: typeof witnessRefToBytes;
|
|
6369
6335
|
declare namespace index {
|
|
6370
|
-
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, type index_ArkadeArgType as ArkadeArgType, type index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, type index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, type index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, type index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, type index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, type index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, type index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, type index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, type index_InputDef as InputDef, type index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, type index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, type index_ProgramKeys as ProgramKeys, type index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, type index_ScriptType as ScriptType, type index_SignerRef as SignerRef, type index_SourceRange as SourceRange, type index_TapscriptSegment as TapscriptSegment, type index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, type index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
6336
|
+
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, type index_ArkadeArgType as ArkadeArgType, type index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, type index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, type index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, type index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, type index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, type index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, type index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, type index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, type index_InputDef as InputDef, type index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, type index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, type index_ProgramFromArtifactOptions as ProgramFromArtifactOptions, type index_ProgramKeys as ProgramKeys, type index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, type index_ScriptType as ScriptType, type index_SignerRef as SignerRef, type index_SourceRange as SourceRange, type index_TapscriptSegment as TapscriptSegment, type index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, type index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
6371
6337
|
}
|
|
6372
6338
|
|
|
6373
6339
|
/** Known BIP21 parameters including Arkade-specific extensions. */
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BATCH_REGISTRATION_TERMINAL_STATES, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_PASSKEY_LABEL, DELEGATION_EXPIRES_KEY, DELEGATION_LOCAL_STATUS, DELEGATION_REGISTERED_KEY, DELEGATION_STATUS_KEY, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, ExecutorManagerImpl, ExecutorRequestError, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainCosignPreflightError, OnchainWallet, OversizedChangeError, P2A, PasskeyCancelled, PasskeyUnconfirmed, PaymentRouter, PrevTxUnavailableError, PrfUnavailable, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, RestExecutorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, addArkadeCashRecord, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, arkadeCashId, arkadeCashResolver, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, collabExitResolver, collectBatchRegistrations, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createArkadeCashTracker, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCosignFallback, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalBatchRegistrationState, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, mergeArkadeCashRecord, mnemonicFromPrf, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, watchExecutorContracts, withPrevTxs } from './chunk-
|
|
2
|
-
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, IndexerUtxosUnsupportedError, RestIndexerProvider, asset_exports as asset } from './chunk-
|
|
3
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, ExecutorContractHandler, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-
|
|
4
|
-
export { UnsupportedProgramVersionError } from './chunk-
|
|
5
|
-
export { ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, HttpResponseError, Intent, OnchainCosignAmbiguousError, OnchainCosignRejectedError, OnchainCosignUnsupportedError, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNormalizedVtxos, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, resolveEventSource, sdkVersion, setArkPsbtField, toOffchainInputFeeParams } from './chunk-
|
|
1
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BATCH_REGISTRATION_TERMINAL_STATES, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_PASSKEY_LABEL, DELEGATION_EXPIRES_KEY, DELEGATION_LOCAL_STATUS, DELEGATION_REGISTERED_KEY, DELEGATION_STATUS_KEY, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, ExecutorManagerImpl, ExecutorRequestError, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainCosignPreflightError, OnchainWallet, OversizedChangeError, P2A, PasskeyCancelled, PasskeyUnconfirmed, PaymentRouter, PrevTxUnavailableError, PrfUnavailable, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, RestExecutorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, addArkadeCashRecord, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, arkadeCashId, arkadeCashResolver, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, collabExitResolver, collectBatchRegistrations, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createArkadeCashTracker, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCosignFallback, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalBatchRegistrationState, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, mergeArkadeCashRecord, mnemonicFromPrf, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, watchExecutorContracts, withPrevTxs } from './chunk-ZECZ2MKX.js';
|
|
2
|
+
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, IndexerUtxosUnsupportedError, RestIndexerProvider, asset_exports as asset } from './chunk-YYSHQPCG.js';
|
|
3
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, ExecutorContractHandler, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-R37I633T.js';
|
|
4
|
+
export { UnsupportedProgramVersionError } from './chunk-43APGKWL.js';
|
|
5
|
+
export { ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, HttpResponseError, Intent, OnchainCosignAmbiguousError, OnchainCosignRejectedError, OnchainCosignUnsupportedError, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNormalizedVtxos, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, resolveEventSource, sdkVersion, setArkPsbtField, toOffchainInputFeeParams } from './chunk-Z4LG3CZ4.js';
|
|
6
6
|
export { ArkAddress, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, DEFAULT_ARKADE_EMULATOR_URL, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, REGTEST_EMULATOR_PUBKEY, TapTreeCoder, VtxoScript, assembleBtcdTaprootTree, classifyAgainstSignerSet, classifyContractSigner, decodeTapscript, defaultEmulatorPubkey, getNetwork, getSequence, isCooperativelyMigratable, networkFromArkadeInfo, networkFromOperatorInfo, networks, resolveEmulatorPubkey, scriptFromTapLeafScript, sequenceToTimelock, signerSetFromInfo, timelockToSequence, toXOnly, toXOnlySignerHex } from './chunk-GB67AGXG.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|