@babylonlabs-io/ts-sdk 0.73.0 → 0.74.0

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.
@@ -0,0 +1,141 @@
1
+ import { Address, Hex } from 'viem';
2
+ /**
3
+ * Domain-separation string hashed into every fingerprint, so the commitment
4
+ * cannot be replayed as a different one. Matches the contract's
5
+ * `PEGIN_FINGERPRINT_DOMAIN` preimage.
6
+ */
7
+ export declare const PEGIN_FINGERPRINT_DOMAIN_PREIMAGE = "TBV.PeginFingerprint.v1";
8
+ /**
9
+ * `keccak256("TBV.PeginFingerprint.v1")`, the first word of the encoded
10
+ * preimage.
11
+ *
12
+ * Derived from {@link PEGIN_FINGERPRINT_DOMAIN_PREIMAGE} rather than pasted as
13
+ * a hex literal, so the string that defines it stays visible. The golden test
14
+ * pins the derived value against the constant the contract's vector file
15
+ * publishes, so a change to either side is still caught.
16
+ */
17
+ export declare const PEGIN_FINGERPRINT_DOMAIN: Hex;
18
+ /**
19
+ * Protocol state a Pre-PegIn transaction commits to, one field per encoded
20
+ * word.
21
+ *
22
+ * Declared in encoding order so the interface reads as the specification does.
23
+ * Reordering these fields does not change the output — the encoder names each
24
+ * one explicitly — but keeping them aligned makes a divergence from the
25
+ * contract visible on sight.
26
+ */
27
+ export interface PeginFingerprintInput {
28
+ /** `block.chainid` of the chain the registry is deployed on. */
29
+ chainId: bigint;
30
+ /**
31
+ * The `BTCVaultRegistry` address, which the contract encodes as
32
+ * `address(this)`. EIP-55 checksum casing is irrelevant to the encoded word
33
+ * and is not required here; see {@link encodePeginFingerprintPreimage}.
34
+ */
35
+ registryAddress: Address;
36
+ /**
37
+ * The vault provider's RESOLVED operation-BTC key, 32 bytes, `0x`-prefixed.
38
+ *
39
+ * The resolved key, not an epoch counter: the VP epoch is one registry-wide
40
+ * counter that ANY provider's key or payout append bumps, so committing to it
41
+ * would let any registered provider invalidate every in-flight Pre-PegIn
42
+ * protocol-wide. Only the chosen provider's key reaches the HTLC leaf, so
43
+ * that is what is committed.
44
+ *
45
+ * Note the SDK resolves this key as an x-only pubkey WITHOUT a `0x` prefix
46
+ * (`OnChainBtcPubkey`); callers add the prefix.
47
+ */
48
+ vaultProviderBtcKey: Hex;
49
+ /** Vault-keeper operation-key epoch for this application (`uint64`). */
50
+ appKeeperKeyEpoch: bigint;
51
+ /** Universal-challenger operation-key epoch (`uint64`). */
52
+ ucKeyEpoch: bigint;
53
+ /** Roster version selecting which vault keepers are in the leaf (`uint16`). */
54
+ appVaultKeepersVersion: number;
55
+ /** Roster version selecting which universal challengers are in the leaf (`uint16`). */
56
+ universalChallengersVersion: number;
57
+ /** Off-chain params version: `tRefund` and `minPeginFeeRate` (`uint16`). */
58
+ offchainParamsVersion: number;
59
+ /** Vault core (tx-graph) version: the PegIn output count (`uint16`). */
60
+ vaultCoreVersion: number;
61
+ }
62
+ /** An input field is missing, malformed, or outside the width the contract declares for it. */
63
+ export declare class PeginFingerprintInputError extends Error {
64
+ constructor(message: string);
65
+ }
66
+ /**
67
+ * The encoded tuple, as one list so the ordering lives in exactly one place.
68
+ *
69
+ * Not re-exported from the module barrel — this is internal, and exists in
70
+ * this shape so the golden test can render it back into the type string the
71
+ * contract's vector file publishes and compare the two. That comparison is a
72
+ * second, independent check on the field order, one that does not depend on
73
+ * the sample values in the vectors.
74
+ */
75
+ export declare const PEGIN_FINGERPRINT_ABI_PARAMETERS: readonly [{
76
+ readonly name: "domain";
77
+ readonly type: "bytes32";
78
+ }, {
79
+ readonly name: "chainId";
80
+ readonly type: "uint256";
81
+ }, {
82
+ readonly name: "registry";
83
+ readonly type: "address";
84
+ }, {
85
+ readonly name: "vaultProviderBtcKey";
86
+ readonly type: "bytes32";
87
+ }, {
88
+ readonly name: "appKeeperKeyEpoch";
89
+ readonly type: "uint64";
90
+ }, {
91
+ readonly name: "ucKeyEpoch";
92
+ readonly type: "uint64";
93
+ }, {
94
+ readonly name: "appVaultKeepersVersion";
95
+ readonly type: "uint16";
96
+ }, {
97
+ readonly name: "universalChallengersVersion";
98
+ readonly type: "uint16";
99
+ }, {
100
+ readonly name: "offchainParamsVersion";
101
+ readonly type: "uint16";
102
+ }, {
103
+ readonly name: "vaultCoreVersion";
104
+ readonly type: "uint16";
105
+ }];
106
+ /**
107
+ * The `abi.encode` preimage the contract hashes — ten 32-byte words, 320 bytes.
108
+ *
109
+ * Exposed alongside {@link computePeginFingerprint} because a fingerprint
110
+ * mismatch is otherwise two opaque hashes: comparing preimages word by word
111
+ * localises the disagreement to a field. The contract's vector file ships the
112
+ * same preimage next to each hash for exactly that reason.
113
+ *
114
+ * Three fields are held to a tighter bound than the contract's own width — a
115
+ * zero `chainId`, a zero `registryAddress`, and a `vaultCoreVersion` below 1 —
116
+ * because for each of them a zero is unreachable on-chain and so can only mean
117
+ * a read that failed or was mis-decoded. No chain has id 0, no registry lives
118
+ * at the zero address, and
119
+ * `activeVaultCoreVersion()` is documented `uint16 >= 1` with a setter that
120
+ * rejects 0. Encoding any of them would produce a well-formed fingerprint that
121
+ * cannot ever match, turning a local mistake into an opaque on-chain revert.
122
+ *
123
+ * The three roster and params versions are NOT tightened: 0 is a legitimate
124
+ * value on those axes.
125
+ *
126
+ * @throws {PeginFingerprintInputError} If any field is missing, malformed, or
127
+ * outside the accepted range, naming the field and what was expected.
128
+ */
129
+ export declare function encodePeginFingerprintPreimage(input: PeginFingerprintInput): Hex;
130
+ /**
131
+ * The fingerprint to send as `expectedFingerprint` on a peg-in registration.
132
+ *
133
+ * Must equal what the registry recomputes at inclusion, byte for byte — the
134
+ * comparison is exact equality, never "no older than", because resolving at a
135
+ * superseded epoch would bond a new vault to a retired key.
136
+ *
137
+ * @throws {PeginFingerprintInputError} If any field is outside the width the
138
+ * contract declares for it.
139
+ */
140
+ export declare function computePeginFingerprint(input: PeginFingerprintInput): Hex;
141
+ //# sourceMappingURL=peginFingerprint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peginFingerprint.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/pegin-fingerprint/peginFingerprint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EAML,KAAK,OAAO,EACZ,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AAEd;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,4BAA4B,CAAC;AAE3E;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,EAAE,GAEtC,CAAC;AAsBF;;;;;;;;GAQG;AACH,MAAM,WAAW,qBAAqB;IACpC,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;;;;;;;;OAWG;IACH,mBAAmB,EAAE,GAAG,CAAC;IACzB,wEAAwE;IACxE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uFAAuF;IACvF,2BAA2B,EAAE,MAAM,CAAC;IACpC,4EAA4E;IAC5E,qBAAqB,EAAE,MAAM,CAAC;IAC9B,wEAAwE;IACxE,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,+FAA+F;AAC/F,qBAAa,0BAA2B,SAAQ,KAAK;gBACvC,OAAO,EAAE,MAAM;CAI5B;AAoFD;;;;;;;;GAQG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,qBAAqB,GAC3B,GAAG,CA+CL;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,qBAAqB,GAAG,GAAG,CAEzE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../verifyScriptPathSchnorrSignature-BfNUSgA7.cjs"),I=require("../vaultCoreVersion-DYfw3qed.cjs"),u=require("./core/wasm/index.cjs"),g=require("../verifyKeyPathSchnorrSignature-BedSbH2D.cjs"),P=require("../noPayout-zEifyecV.cjs"),h=require("../challengeAssert-Z7_YULBb.cjs"),r=require("../bitcoin-D-O2GjbC.cjs"),v=require("../abortSignals-msbmbqFe.cjs"),C=require("../signing-BJ3X66b-.cjs"),l=require("../validation-C6XTfZak.cjs"),b=require("./core/utils/eth/index.cjs"),E=require("../PeginManager-E-UHA1un.cjs"),d=require("../signPsbtsWithFallback-DMSpIQWH.cjs"),o=require("./core/clients/mempool/index.cjs"),_=require("../types-DSlcXtog.cjs"),V=require("../onChainBtcPubkey-BbxRrbvg.cjs"),c=require("../pegin-registration-client-6vLk2itL.cjs"),O=require("./core/contracts/index.cjs"),y=require("../BTCVaultRegistry.abi-z7d_eP22.cjs"),p=require("../BTCVaultRegistryKeyEpochs.abi-CrQiTLfA.cjs"),R=require("../parseFundingOutpoints-B4iQeX6q.cjs"),n=require("../psbtInputFields-BIxBpPj2.cjs"),i=require("../fundPeginTransaction-BLD8FRL9.cjs"),S=require("../reservation-Dr2HLCxx.cjs"),m=require("../index-Cs7_Evtk.cjs"),s=require("../json-rpc-client-BiAmg_ho.cjs"),A=require("../primeVpAuth-DBHohVKM.cjs"),t=require("../toRefundInputs-CatCKniS.cjs"),e=require("../buildAndBroadcastReclaim-U-PyFfDg.cjs"),T=require("../peginState-eaQ4IO_R.cjs");exports.PEGIN_DEPOSITOR_CLAIM_VOUT=a.PEGIN_DEPOSITOR_CLAIM_VOUT;exports.PsbtSubstitutionError=a.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=a.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=a.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=a.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=a.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=a.buildPrePeginPsbt;exports.computeNumLocalChallengers=a.computeNumLocalChallengers;exports.createPayoutScript=a.createPayoutScript;exports.deriveDepositorClaimDescriptor=a.deriveDepositorClaimDescriptor;exports.deriveDepositorClaimScriptPubKey=a.deriveDepositorClaimScriptPubKey;exports.extractPayoutSignature=a.extractPayoutSignature;exports.assertValidVaultCoreVersion=I.assertValidVaultCoreVersion;exports.computeMinClaimValue=u.computeMinClaimValue;exports.computeMinPeginFee=u.computeMinPeginFee;exports.deriveVaultId=u.deriveVaultId;exports.expandAuthAnchor=u.expandAuthAnchor;exports.expandHashlockSecret=u.expandHashlockSecret;exports.expandWotsSeed=u.expandWotsSeed;exports.peginP2aAnchorOutput=u.peginP2aAnchorOutput;exports.supportedTxGraphVersions=u.supportedTxGraphVersions;exports.validatePeginP2aAnchor=u.validatePeginP2aAnchor;exports.assertKeyPathSchnorrSignature=g.assertKeyPathSchnorrSignature;exports.assertReturnedKeyPathSignatures=g.assertReturnedKeyPathSignatures;exports.buildPeginInputPsbt=g.buildPeginInputPsbt;exports.extractPeginInputSignature=g.extractPeginInputSignature;exports.finalizePeginInputPsbt=g.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=P.buildNoPayoutPsbt;exports.buildReclaimPsbt=P.buildReclaimPsbt;exports.buildRefundPsbt=P.buildRefundPsbt;exports.estimateReclaimFeeSats=P.estimateReclaimFeeSats;exports.finalizeScriptPathWithSignatures=P.finalizeScriptPathWithSignatures;exports.reclaimVsize=P.reclaimVsize;exports.buildChallengeAssertPsbt=h.buildChallengeAssertPsbt;exports.canonicalizeBtcPubkey=r.canonicalizeBtcPubkey;exports.deriveBip86ScriptPubKeyHex=r.deriveBip86ScriptPubKeyHex;exports.deriveNativeSegwitAddress=r.deriveNativeSegwitAddress;exports.deriveTaprootAddress=r.deriveTaprootAddress;exports.ensureHexPrefix=r.ensureHexPrefix;exports.formatSatoshisToBtc=r.formatSatoshisToBtc;exports.getNetwork=r.getNetwork;exports.getSortedXOnlyPubkeys=r.getSortedXOnlyPubkeys;exports.hexToUint8Array=r.hexToUint8Array;exports.isAddressFromPublicKey=r.isAddressFromPublicKey;exports.isValidHex=r.isValidHex;exports.processPublicKeyToXOnly=r.processPublicKeyToXOnly;exports.stripHexPrefix=r.stripHexPrefix;exports.toXOnly=r.toXOnly;exports.uint8ArrayToHex=r.uint8ArrayToHex;exports.validateWalletPubkey=r.validateWalletPubkey;exports.combineAbortSignals=v.combineAbortSignals;exports.calculateBtcTxHash=C.calculateBtcTxHash;exports.createTaprootScriptPathSignOptions=C.createTaprootScriptPathSignOptions;exports.BITCOIN_ADDRESS_RE=l.BITCOIN_ADDRESS_RE;exports.COMPRESSED_PUBKEY_HEX_LEN=l.COMPRESSED_PUBKEY_HEX_LEN;exports.HEX_RE=l.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=l.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=l.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=l.TXID_RE;exports.X_ONLY_PUBKEY_HEX_LEN=l.X_ONLY_PUBKEY_HEX_LEN;exports.waitForTransactionReceiptSmartAware=b.waitForTransactionReceiptSmartAware;exports.PeginManager=E.PeginManager;exports.buildDepositTerms=E.buildDepositTerms;exports.computeWotsBlockPublicKeysHash=E.computeWotsBlockPublicKeysHash;exports.deriveWotsBlocksFromSeed=E.deriveWotsBlocksFromSeed;exports.ensurePrePeginTermsApproval=E.ensurePrePeginTermsApproval;exports.estimateSubmitPeginRequestBatchGas=E.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=d.PayoutManager;exports.computeHashlock=d.computeHashlock;exports.forwardDepositApproval=d.forwardDepositApproval;exports.requireChangeAddress=d.requireChangeAddress;exports.supportsDepositApproval=d.supportsDepositApproval;exports.validateSecretAgainstHashlock=d.validateSecretAgainstHashlock;exports.MEMPOOL_API_URLS=o.MEMPOOL_API_URLS;exports.getAddressTxs=o.getAddressTxs;exports.getAddressUtxos=o.getAddressUtxos;exports.getMempoolApiUrl=o.getMempoolApiUrl;exports.getNetworkFees=o.getNetworkFees;exports.getOutspend=o.getOutspend;exports.getTipHeight=o.getTipHeight;exports.getTxHex=o.getTxHex;exports.getTxInfo=o.getTxInfo;exports.getUtxoInfo=o.getUtxoInfo;exports.pushTx=o.pushTx;exports.OnChainBtcVaultStatus=_.OnChainBtcVaultStatus;exports.ViemOperationKeyReader=_.ViemOperationKeyReader;exports.ViemProtocolParamsReader=_.ViemProtocolParamsReader;exports.ViemUniversalChallengerReader=_.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=_.ViemVaultKeeperReader;exports.resolveProtocolAddresses=_.resolveProtocolAddresses;exports.assertOnChainBtcPubkey=V.assertOnChainBtcPubkey;exports.COMMISSION_BPS_HEADROOM=c.COMMISSION_BPS_HEADROOM;exports.MAX_ACCEPTABLE_COMMISSION_BPS_CAP=c.MAX_ACCEPTABLE_COMMISSION_BPS_CAP;exports.ViemPeginRegistrationClient=c.ViemPeginRegistrationClient;exports.ViemVaultRegistryReader=c.ViemVaultRegistryReader;exports.capMaxAcceptableCommissionBps=c.capMaxAcceptableCommissionBps;exports.derivePeginVaultId=c.derivePeginVaultId;exports.validateOffchainParams=c.validateOffchainParams;exports.validatePegInConfiguration=c.validatePegInConfiguration;exports.validateTBVProtocolParams=c.validateTBVProtocolParams;exports.ApplicationRegistryABI=O.ApplicationRegistryABI;exports.ProtocolParamsABI=O.ProtocolParamsABI;exports.BTCVaultRegistryABI=y.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=p.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=p.CONTRACT_ERRORS;exports.extractErrorData=p.extractErrorData;exports.getContractErrorMessage=p.getContractErrorMessage;exports.handleContractError=p.handleContractError;exports.isKnownContractError=p.isKnownContractError;exports.VAULT_APP_NAME=R.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=R.buildFundingOutpointsCommitment;exports.buildVaultContext=R.buildVaultContext;exports.deriveVaultRoot=R.deriveVaultRoot;exports.forwardDeriveContextHash=R.forwardDeriveContextHash;exports.parseFundingOutpointsFromTx=R.parseFundingOutpointsFromTx;exports.BitcoinScriptType=n.BitcoinScriptType;exports.applyChangeOutputPolicy=n.applyChangeOutputPolicy;exports.computeChangeOutputFeeSats=n.computeChangeOutputFeeSats;exports.computeMaxDeposit=n.computeMaxDeposit;exports.computePeginBaseFeeSats=n.computePeginBaseFeeSats;exports.getDustThreshold=n.getDustThreshold;exports.getPsbtInputFields=n.getPsbtInputFields;exports.getScriptType=n.getScriptType;exports.selectUtxosForPegin=n.selectUtxosForPegin;exports.shouldAddChangeOutput=n.shouldAddChangeOutput;exports.BTC_DUST_SAT=i.BTC_DUST_SAT;exports.DUST_THRESHOLD=i.DUST_THRESHOLD;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=i.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=i.MAX_NON_LEGACY_OUTPUT_SIZE;exports.MAX_REASONABLE_PEGIN_VBYTES=i.MAX_REASONABLE_PEGIN_VBYTES;exports.P2TR_INPUT_SIZE=i.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=i.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=i.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=i.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=i.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=i.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=i.fundPeginTransaction;exports.parseUnfundedWasmTransaction=i.parseUnfundedWasmTransaction;exports.peginOutputCount=i.peginOutputCount;exports.rateBasedTxBufferFee=i.rateBasedTxBufferFee;exports.UtxoNotAvailableError=S.UtxoNotAvailableError;exports.assertUtxosAvailable=S.assertUtxosAvailable;exports.extractInputsFromTransaction=S.extractInputsFromTransaction;exports.findOverlappingPendingVaults=S.findOverlappingPendingVaults;exports.validateUtxosAvailable=S.validateUtxosAvailable;exports.VaultProviderRpcClient=m.VaultProviderRpcClient;exports.VpResponseValidationError=m.VpResponseValidationError;exports.batchPollByProvider=m.batchPollByProvider;exports.validateRequestDepositorClaimerArtifactsResponse=m.validateRequestDepositorClaimerArtifactsResponse;exports.AUTH_REJECTED_RPC_CODE=s.AUTH_REJECTED_RPC_CODE;exports.DaemonStatus=s.DaemonStatus;exports.JSON_RPC_ERROR_CODES=s.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=s.JsonRpcClient;exports.JsonRpcError=s.JsonRpcError;exports.POST_WOTS_STATUSES=s.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=s.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=s.RpcErrorCode;exports.VP_BATCH_MAX_SIZE=s.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=s.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=s.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=s.isAuthRejectedError;exports.ServerIdentityError=A.ServerIdentityError;exports.VpTokenRegistry=A.VpTokenRegistry;exports.createAuthenticatedVpClient=A.createAuthenticatedVpClient;exports.primeVpTokenRegistry=A.primeVpTokenRegistry;exports.verifyServerIdentity=A.verifyServerIdentity;exports.vpTokenRegistry=A.vpTokenRegistry;exports.DEPOSIT_TERMS_REJECTED_ERROR_NAME=t.DEPOSIT_TERMS_REJECTED_ERROR_NAME;exports.DepositTermsRejectedError=t.DepositTermsRejectedError;exports.PeginParamsAmbiguousError=t.PeginParamsAmbiguousError;exports.PeginParamsIncompleteSpaceError=t.PeginParamsIncompleteSpaceError;exports.PeginParamsNotFoundError=t.PeginParamsNotFoundError;exports.PeginSizingIntegrityError=t.PeginSizingIntegrityError;exports.UnanchoredPrePeginError=t.UnanchoredPrePeginError;exports.VaultRootMismatchError=t.VaultRootMismatchError;exports.buildPeginParamsCandidates=t.buildPeginParamsCandidates;exports.deriveHashlocksFromPrePegin=t.deriveHashlocksFromPrePegin;exports.describePeginParamsCandidate=t.describePeginParamsCandidate;exports.describeUnresolvedVersion=t.describeUnresolvedVersion;exports.isDepositTermsRejectedError=t.isDepositTermsRejectedError;exports.isWotsMismatchError=t.isWotsMismatchError;exports.rebuildDepositTermsCore=t.rebuildDepositTermsCore;exports.reconstructPeginParams=t.reconstructPeginParams;exports.toRefundInputs=t.toRefundInputs;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=e.ClaimerPegoutStatusValue;exports.PEGIN_ETH_CONFIRMATIONS=e.PEGIN_ETH_CONFIRMATIONS;exports.ParticipantKeyDriftError=e.ParticipantKeyDriftError;exports.PeginRegistrationMissingError=e.PeginRegistrationMissingError;exports.PeginRegistrationNotFinalError=e.PeginRegistrationNotFinalError;exports.RECLAIM_MAX_FEE_FRACTION_DENOMINATOR=e.RECLAIM_MAX_FEE_FRACTION_DENOMINATOR;exports.RECLAIM_MAX_FEE_FRACTION_NUMERATOR=e.RECLAIM_MAX_FEE_FRACTION_NUMERATOR;exports.RECLAIM_MAX_FEE_RATE_SATS_VB=e.RECLAIM_MAX_FEE_RATE_SATS_VB;exports.RECLAIM_WARN_FEE_FRACTION_NUMERATOR=e.RECLAIM_WARN_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_FRACTION_DENOMINATOR=e.REFUND_MAX_FEE_FRACTION_DENOMINATOR;exports.REFUND_MAX_FEE_FRACTION_NUMERATOR=e.REFUND_MAX_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_RATE_SATS_VB=e.REFUND_MAX_FEE_RATE_SATS_VB;exports.REFUND_VSIZE=e.REFUND_VSIZE;exports.ReclaimUneconomicalError=e.ReclaimUneconomicalError;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;exports.activateVault=e.activateVault;exports.activateVaultAndRedeem=e.activateVaultAndRedeem;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastReclaim=e.buildAndBroadcastReclaim;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isHintAccepted=e.isHintAccepted;exports.isParticipantKeyDriftError=e.isParticipantKeyDriftError;exports.isPeginRegistrationMissingError=e.isPeginRegistrationMissingError;exports.isPeginRegistrationNotFinalError=e.isPeginRegistrationNotFinalError;exports.isPegoutTerminalStatus=e.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=e.isRecognizedPegoutStatus;exports.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.resolveCurrentParticipantKeys=e.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=e.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.validateDepositAmount=e.validateDepositAmount;exports.validateMultiVaultDepositInputs=e.validateMultiVaultDepositInputs;exports.validateOnChainParticipantKeys=e.validateOnChainParticipantKeys;exports.validateProviderSelection=e.validateProviderSelection;exports.validateRemainingCapacity=e.validateRemainingCapacity;exports.validateVaultAmounts=e.validateVaultAmounts;exports.validateVaultProviderPubkey=e.validateVaultProviderPubkey;exports.verifyRegisteredParticipantKeys=e.verifyRegisteredParticipantKeys;exports.verifyRegisteredVaultVersions=e.verifyRegisteredVaultVersions;exports.waitForPeginRegistrationDepth=e.waitForPeginRegistrationDepth;exports.waitForPeginStatus=e.waitForPeginStatus;exports.ContractStatus=T.ContractStatus;exports.PeginAction=T.PeginAction;exports.canPerformAction=T.canPerformAction;exports.getPeginProtocolState=T.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=T.isActivationDeadlinePassedOnChain;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../verifyScriptPathSchnorrSignature-BfNUSgA7.cjs"),O=require("../vaultCoreVersion-DYfw3qed.cjs"),u=require("./core/wasm/index.cjs"),A=require("../verifyKeyPathSchnorrSignature-BedSbH2D.cjs"),l=require("../noPayout-zEifyecV.cjs"),N=require("../challengeAssert-Z7_YULBb.cjs"),r=require("../bitcoin-D-O2GjbC.cjs"),h=require("../abortSignals-msbmbqFe.cjs"),I=require("../signing-BJ3X66b-.cjs"),c=require("../validation-C6XTfZak.cjs"),v=require("./core/utils/eth/index.cjs"),E=require("../PeginManager-E-UHA1un.cjs"),d=require("../signPsbtsWithFallback-DMSpIQWH.cjs"),s=require("./core/clients/mempool/index.cjs"),_=require("../types-DSlcXtog.cjs"),F=require("../onChainBtcPubkey-BbxRrbvg.cjs"),P=require("../pegin-registration-client-6vLk2itL.cjs"),C=require("./core/contracts/index.cjs"),b=require("../BTCVaultRegistry.abi-z7d_eP22.cjs"),p=require("../BTCVaultRegistryKeyEpochs.abi-CrQiTLfA.cjs"),R=require("../parseFundingOutpoints-B4iQeX6q.cjs"),n=require("../psbtInputFields-BIxBpPj2.cjs"),i=require("../fundPeginTransaction-BLD8FRL9.cjs"),T=require("../reservation-Dr2HLCxx.cjs"),m=require("../index-Cs7_Evtk.cjs"),o=require("../json-rpc-client-BiAmg_ho.cjs"),g=require("../primeVpAuth-DBHohVKM.cjs"),t=require("../toRefundInputs-BwG6T0PP.cjs"),e=require("../buildAndBroadcastReclaim-U-PyFfDg.cjs"),S=require("../peginState-eaQ4IO_R.cjs");exports.PEGIN_DEPOSITOR_CLAIM_VOUT=a.PEGIN_DEPOSITOR_CLAIM_VOUT;exports.PsbtSubstitutionError=a.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=a.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=a.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=a.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=a.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=a.buildPrePeginPsbt;exports.computeNumLocalChallengers=a.computeNumLocalChallengers;exports.createPayoutScript=a.createPayoutScript;exports.deriveDepositorClaimDescriptor=a.deriveDepositorClaimDescriptor;exports.deriveDepositorClaimScriptPubKey=a.deriveDepositorClaimScriptPubKey;exports.extractPayoutSignature=a.extractPayoutSignature;exports.assertValidVaultCoreVersion=O.assertValidVaultCoreVersion;exports.computeMinClaimValue=u.computeMinClaimValue;exports.computeMinPeginFee=u.computeMinPeginFee;exports.deriveVaultId=u.deriveVaultId;exports.expandAuthAnchor=u.expandAuthAnchor;exports.expandHashlockSecret=u.expandHashlockSecret;exports.expandWotsSeed=u.expandWotsSeed;exports.peginP2aAnchorOutput=u.peginP2aAnchorOutput;exports.supportedTxGraphVersions=u.supportedTxGraphVersions;exports.validatePeginP2aAnchor=u.validatePeginP2aAnchor;exports.assertKeyPathSchnorrSignature=A.assertKeyPathSchnorrSignature;exports.assertReturnedKeyPathSignatures=A.assertReturnedKeyPathSignatures;exports.buildPeginInputPsbt=A.buildPeginInputPsbt;exports.extractPeginInputSignature=A.extractPeginInputSignature;exports.finalizePeginInputPsbt=A.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=l.buildNoPayoutPsbt;exports.buildReclaimPsbt=l.buildReclaimPsbt;exports.buildRefundPsbt=l.buildRefundPsbt;exports.estimateReclaimFeeSats=l.estimateReclaimFeeSats;exports.finalizeScriptPathWithSignatures=l.finalizeScriptPathWithSignatures;exports.reclaimVsize=l.reclaimVsize;exports.buildChallengeAssertPsbt=N.buildChallengeAssertPsbt;exports.canonicalizeBtcPubkey=r.canonicalizeBtcPubkey;exports.deriveBip86ScriptPubKeyHex=r.deriveBip86ScriptPubKeyHex;exports.deriveNativeSegwitAddress=r.deriveNativeSegwitAddress;exports.deriveTaprootAddress=r.deriveTaprootAddress;exports.ensureHexPrefix=r.ensureHexPrefix;exports.formatSatoshisToBtc=r.formatSatoshisToBtc;exports.getNetwork=r.getNetwork;exports.getSortedXOnlyPubkeys=r.getSortedXOnlyPubkeys;exports.hexToUint8Array=r.hexToUint8Array;exports.isAddressFromPublicKey=r.isAddressFromPublicKey;exports.isValidHex=r.isValidHex;exports.processPublicKeyToXOnly=r.processPublicKeyToXOnly;exports.stripHexPrefix=r.stripHexPrefix;exports.toXOnly=r.toXOnly;exports.uint8ArrayToHex=r.uint8ArrayToHex;exports.validateWalletPubkey=r.validateWalletPubkey;exports.combineAbortSignals=h.combineAbortSignals;exports.calculateBtcTxHash=I.calculateBtcTxHash;exports.createTaprootScriptPathSignOptions=I.createTaprootScriptPathSignOptions;exports.BITCOIN_ADDRESS_RE=c.BITCOIN_ADDRESS_RE;exports.COMPRESSED_PUBKEY_HEX_LEN=c.COMPRESSED_PUBKEY_HEX_LEN;exports.HEX_RE=c.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=c.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=c.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=c.TXID_RE;exports.X_ONLY_PUBKEY_HEX_LEN=c.X_ONLY_PUBKEY_HEX_LEN;exports.waitForTransactionReceiptSmartAware=v.waitForTransactionReceiptSmartAware;exports.PeginManager=E.PeginManager;exports.buildDepositTerms=E.buildDepositTerms;exports.computeWotsBlockPublicKeysHash=E.computeWotsBlockPublicKeysHash;exports.deriveWotsBlocksFromSeed=E.deriveWotsBlocksFromSeed;exports.ensurePrePeginTermsApproval=E.ensurePrePeginTermsApproval;exports.estimateSubmitPeginRequestBatchGas=E.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=d.PayoutManager;exports.computeHashlock=d.computeHashlock;exports.forwardDepositApproval=d.forwardDepositApproval;exports.requireChangeAddress=d.requireChangeAddress;exports.supportsDepositApproval=d.supportsDepositApproval;exports.validateSecretAgainstHashlock=d.validateSecretAgainstHashlock;exports.MEMPOOL_API_URLS=s.MEMPOOL_API_URLS;exports.getAddressTxs=s.getAddressTxs;exports.getAddressUtxos=s.getAddressUtxos;exports.getMempoolApiUrl=s.getMempoolApiUrl;exports.getNetworkFees=s.getNetworkFees;exports.getOutspend=s.getOutspend;exports.getTipHeight=s.getTipHeight;exports.getTxHex=s.getTxHex;exports.getTxInfo=s.getTxInfo;exports.getUtxoInfo=s.getUtxoInfo;exports.pushTx=s.pushTx;exports.OnChainBtcVaultStatus=_.OnChainBtcVaultStatus;exports.ViemOperationKeyReader=_.ViemOperationKeyReader;exports.ViemProtocolParamsReader=_.ViemProtocolParamsReader;exports.ViemUniversalChallengerReader=_.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=_.ViemVaultKeeperReader;exports.resolveProtocolAddresses=_.resolveProtocolAddresses;exports.assertOnChainBtcPubkey=F.assertOnChainBtcPubkey;exports.COMMISSION_BPS_HEADROOM=P.COMMISSION_BPS_HEADROOM;exports.MAX_ACCEPTABLE_COMMISSION_BPS_CAP=P.MAX_ACCEPTABLE_COMMISSION_BPS_CAP;exports.ViemPeginRegistrationClient=P.ViemPeginRegistrationClient;exports.ViemVaultRegistryReader=P.ViemVaultRegistryReader;exports.capMaxAcceptableCommissionBps=P.capMaxAcceptableCommissionBps;exports.derivePeginVaultId=P.derivePeginVaultId;exports.validateOffchainParams=P.validateOffchainParams;exports.validatePegInConfiguration=P.validatePegInConfiguration;exports.validateTBVProtocolParams=P.validateTBVProtocolParams;exports.ApplicationRegistryABI=C.ApplicationRegistryABI;exports.ProtocolParamsABI=C.ProtocolParamsABI;exports.BTCVaultRegistryABI=b.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=p.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=p.CONTRACT_ERRORS;exports.extractErrorData=p.extractErrorData;exports.getContractErrorMessage=p.getContractErrorMessage;exports.handleContractError=p.handleContractError;exports.isKnownContractError=p.isKnownContractError;exports.VAULT_APP_NAME=R.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=R.buildFundingOutpointsCommitment;exports.buildVaultContext=R.buildVaultContext;exports.deriveVaultRoot=R.deriveVaultRoot;exports.forwardDeriveContextHash=R.forwardDeriveContextHash;exports.parseFundingOutpointsFromTx=R.parseFundingOutpointsFromTx;exports.BitcoinScriptType=n.BitcoinScriptType;exports.applyChangeOutputPolicy=n.applyChangeOutputPolicy;exports.computeChangeOutputFeeSats=n.computeChangeOutputFeeSats;exports.computeMaxDeposit=n.computeMaxDeposit;exports.computePeginBaseFeeSats=n.computePeginBaseFeeSats;exports.getDustThreshold=n.getDustThreshold;exports.getPsbtInputFields=n.getPsbtInputFields;exports.getScriptType=n.getScriptType;exports.selectUtxosForPegin=n.selectUtxosForPegin;exports.shouldAddChangeOutput=n.shouldAddChangeOutput;exports.BTC_DUST_SAT=i.BTC_DUST_SAT;exports.DUST_THRESHOLD=i.DUST_THRESHOLD;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=i.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=i.MAX_NON_LEGACY_OUTPUT_SIZE;exports.MAX_REASONABLE_PEGIN_VBYTES=i.MAX_REASONABLE_PEGIN_VBYTES;exports.P2TR_INPUT_SIZE=i.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=i.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=i.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=i.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=i.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=i.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=i.fundPeginTransaction;exports.parseUnfundedWasmTransaction=i.parseUnfundedWasmTransaction;exports.peginOutputCount=i.peginOutputCount;exports.rateBasedTxBufferFee=i.rateBasedTxBufferFee;exports.UtxoNotAvailableError=T.UtxoNotAvailableError;exports.assertUtxosAvailable=T.assertUtxosAvailable;exports.extractInputsFromTransaction=T.extractInputsFromTransaction;exports.findOverlappingPendingVaults=T.findOverlappingPendingVaults;exports.validateUtxosAvailable=T.validateUtxosAvailable;exports.VaultProviderRpcClient=m.VaultProviderRpcClient;exports.VpResponseValidationError=m.VpResponseValidationError;exports.batchPollByProvider=m.batchPollByProvider;exports.validateRequestDepositorClaimerArtifactsResponse=m.validateRequestDepositorClaimerArtifactsResponse;exports.AUTH_REJECTED_RPC_CODE=o.AUTH_REJECTED_RPC_CODE;exports.DaemonStatus=o.DaemonStatus;exports.JSON_RPC_ERROR_CODES=o.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=o.JsonRpcClient;exports.JsonRpcError=o.JsonRpcError;exports.POST_WOTS_STATUSES=o.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=o.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=o.RpcErrorCode;exports.VP_BATCH_MAX_SIZE=o.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=o.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=o.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=o.isAuthRejectedError;exports.ServerIdentityError=g.ServerIdentityError;exports.VpTokenRegistry=g.VpTokenRegistry;exports.createAuthenticatedVpClient=g.createAuthenticatedVpClient;exports.primeVpTokenRegistry=g.primeVpTokenRegistry;exports.verifyServerIdentity=g.verifyServerIdentity;exports.vpTokenRegistry=g.vpTokenRegistry;exports.DEPOSIT_TERMS_REJECTED_ERROR_NAME=t.DEPOSIT_TERMS_REJECTED_ERROR_NAME;exports.DepositTermsRejectedError=t.DepositTermsRejectedError;exports.PEGIN_FINGERPRINT_DOMAIN=t.PEGIN_FINGERPRINT_DOMAIN;exports.PEGIN_FINGERPRINT_DOMAIN_PREIMAGE=t.PEGIN_FINGERPRINT_DOMAIN_PREIMAGE;exports.PeginFingerprintInputError=t.PeginFingerprintInputError;exports.PeginParamsAmbiguousError=t.PeginParamsAmbiguousError;exports.PeginParamsIncompleteSpaceError=t.PeginParamsIncompleteSpaceError;exports.PeginParamsNotFoundError=t.PeginParamsNotFoundError;exports.PeginSizingIntegrityError=t.PeginSizingIntegrityError;exports.UnanchoredPrePeginError=t.UnanchoredPrePeginError;exports.VaultRootMismatchError=t.VaultRootMismatchError;exports.buildPeginParamsCandidates=t.buildPeginParamsCandidates;exports.computePeginFingerprint=t.computePeginFingerprint;exports.deriveHashlocksFromPrePegin=t.deriveHashlocksFromPrePegin;exports.describePeginParamsCandidate=t.describePeginParamsCandidate;exports.describeUnresolvedVersion=t.describeUnresolvedVersion;exports.encodePeginFingerprintPreimage=t.encodePeginFingerprintPreimage;exports.isDepositTermsRejectedError=t.isDepositTermsRejectedError;exports.isWotsMismatchError=t.isWotsMismatchError;exports.rebuildDepositTermsCore=t.rebuildDepositTermsCore;exports.reconstructPeginParams=t.reconstructPeginParams;exports.toRefundInputs=t.toRefundInputs;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=e.ClaimerPegoutStatusValue;exports.PEGIN_ETH_CONFIRMATIONS=e.PEGIN_ETH_CONFIRMATIONS;exports.ParticipantKeyDriftError=e.ParticipantKeyDriftError;exports.PeginRegistrationMissingError=e.PeginRegistrationMissingError;exports.PeginRegistrationNotFinalError=e.PeginRegistrationNotFinalError;exports.RECLAIM_MAX_FEE_FRACTION_DENOMINATOR=e.RECLAIM_MAX_FEE_FRACTION_DENOMINATOR;exports.RECLAIM_MAX_FEE_FRACTION_NUMERATOR=e.RECLAIM_MAX_FEE_FRACTION_NUMERATOR;exports.RECLAIM_MAX_FEE_RATE_SATS_VB=e.RECLAIM_MAX_FEE_RATE_SATS_VB;exports.RECLAIM_WARN_FEE_FRACTION_NUMERATOR=e.RECLAIM_WARN_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_FRACTION_DENOMINATOR=e.REFUND_MAX_FEE_FRACTION_DENOMINATOR;exports.REFUND_MAX_FEE_FRACTION_NUMERATOR=e.REFUND_MAX_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_RATE_SATS_VB=e.REFUND_MAX_FEE_RATE_SATS_VB;exports.REFUND_VSIZE=e.REFUND_VSIZE;exports.ReclaimUneconomicalError=e.ReclaimUneconomicalError;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;exports.activateVault=e.activateVault;exports.activateVaultAndRedeem=e.activateVaultAndRedeem;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastReclaim=e.buildAndBroadcastReclaim;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isHintAccepted=e.isHintAccepted;exports.isParticipantKeyDriftError=e.isParticipantKeyDriftError;exports.isPeginRegistrationMissingError=e.isPeginRegistrationMissingError;exports.isPeginRegistrationNotFinalError=e.isPeginRegistrationNotFinalError;exports.isPegoutTerminalStatus=e.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=e.isRecognizedPegoutStatus;exports.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.resolveCurrentParticipantKeys=e.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=e.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.validateDepositAmount=e.validateDepositAmount;exports.validateMultiVaultDepositInputs=e.validateMultiVaultDepositInputs;exports.validateOnChainParticipantKeys=e.validateOnChainParticipantKeys;exports.validateProviderSelection=e.validateProviderSelection;exports.validateRemainingCapacity=e.validateRemainingCapacity;exports.validateVaultAmounts=e.validateVaultAmounts;exports.validateVaultProviderPubkey=e.validateVaultProviderPubkey;exports.verifyRegisteredParticipantKeys=e.verifyRegisteredParticipantKeys;exports.verifyRegisteredVaultVersions=e.verifyRegisteredVaultVersions;exports.waitForPeginRegistrationDepth=e.waitForPeginRegistrationDepth;exports.waitForPeginStatus=e.waitForPeginStatus;exports.ContractStatus=S.ContractStatus;exports.PeginAction=S.PeginAction;exports.canPerformAction=S.canPerformAction;exports.getPeginProtocolState=S.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=S.isActivationDeadlinePassedOnChain;
2
2
  //# sourceMappingURL=index.cjs.map