@babylonlabs-io/ts-sdk 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BTCVaultRegistry.abi-DBW0dyqH.js → BTCVaultRegistry.abi-BmHpMUWD.js} +1 -52
- package/dist/BTCVaultRegistry.abi-BmHpMUWD.js.map +1 -0
- package/dist/BTCVaultRegistry.abi-DffWFdpA.cjs +2 -0
- package/dist/BTCVaultRegistry.abi-DffWFdpA.cjs.map +1 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-Btg0nBz1.js +262 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-Btg0nBz1.js.map +1 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs +2 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs.map +1 -0
- package/dist/{PeginManager-QRwMUxZg.js → PeginManager-Dfr5Qe1g.js} +2 -2
- package/dist/{PeginManager-QRwMUxZg.js.map → PeginManager-Dfr5Qe1g.js.map} +1 -1
- package/dist/{PeginManager-8EUlm10F.cjs → PeginManager-PyKbfy5q.cjs} +2 -2
- package/dist/{PeginManager-8EUlm10F.cjs.map → PeginManager-PyKbfy5q.cjs.map} +1 -1
- package/dist/VaultErrors.abi-Boz4w97c.js +5 -0
- package/dist/VaultErrors.abi-Boz4w97c.js.map +1 -0
- package/dist/VaultErrors.abi-DQ18kM0L.cjs +2 -0
- package/dist/VaultErrors.abi-DQ18kM0L.cjs.map +1 -0
- package/dist/{buildAndBroadcastReclaim-DjX7wVb2.cjs → buildAndBroadcastReclaim-Da8rD5Z7.cjs} +2 -2
- package/dist/{buildAndBroadcastReclaim-DjX7wVb2.cjs.map → buildAndBroadcastReclaim-Da8rD5Z7.cjs.map} +1 -1
- package/dist/{buildAndBroadcastReclaim-DoprHX7o.js → buildAndBroadcastReclaim-R0HNpLMD.js} +2 -2
- package/dist/{buildAndBroadcastReclaim-DoprHX7o.js.map → buildAndBroadcastReclaim-R0HNpLMD.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +222 -219
- package/dist/index.js.map +1 -1
- package/dist/{pegin-registration-client-D4EguWaz.cjs → pegin-registration-client-C-abxMWq.cjs} +2 -2
- package/dist/{pegin-registration-client-D4EguWaz.cjs.map → pegin-registration-client-C-abxMWq.cjs.map} +1 -1
- package/dist/{pegin-registration-client-BWMwxtr8.js → pegin-registration-client-kdz4fT5_.js} +3 -3
- package/dist/{pegin-registration-client-BWMwxtr8.js.map → pegin-registration-client-kdz4fT5_.js.map} +1 -1
- package/dist/{signer-set-reader-C1VmC9_U.js → signer-set-reader-BCtmSKUM.js} +2 -2
- package/dist/{signer-set-reader-C1VmC9_U.js.map → signer-set-reader-BCtmSKUM.js.map} +1 -1
- package/dist/{signer-set-reader-C6g47hdk.cjs → signer-set-reader-DFAu6I-v.cjs} +2 -2
- package/dist/{signer-set-reader-C6g47hdk.cjs.map → signer-set-reader-DFAu6I-v.cjs.map} +1 -1
- package/dist/tbv/core/clients/eth/index.cjs +1 -1
- package/dist/tbv/core/clients/eth/index.js +2 -2
- package/dist/tbv/core/clients/index.cjs +1 -1
- package/dist/tbv/core/clients/index.js +2 -2
- package/dist/tbv/core/contracts/__tests__/vaultErrors.abi.test.d.ts +2 -0
- package/dist/tbv/core/contracts/__tests__/vaultErrors.abi.test.d.ts.map +1 -0
- package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts +0 -40
- package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/abis/VaultErrors.abi.d.ts +3 -0
- package/dist/tbv/core/contracts/abis/VaultErrors.abi.d.ts.map +1 -0
- package/dist/tbv/core/contracts/abis/vaultErrors.abi.json.d.ts +4 -0
- package/dist/tbv/core/contracts/errors.d.ts +7 -2
- package/dist/tbv/core/contracts/errors.d.ts.map +1 -1
- package/dist/tbv/core/contracts/index.cjs +1 -1
- package/dist/tbv/core/contracts/index.d.ts +2 -1
- package/dist/tbv/core/contracts/index.d.ts.map +1 -1
- package/dist/tbv/core/contracts/index.js +13 -10
- package/dist/tbv/core/contracts/index.js.map +1 -1
- package/dist/tbv/core/index.cjs +1 -1
- package/dist/tbv/core/index.js +210 -207
- package/dist/tbv/core/index.js.map +1 -1
- package/dist/tbv/core/managers/index.cjs +1 -1
- package/dist/tbv/core/managers/index.js +1 -1
- package/dist/tbv/core/services/index.cjs +1 -1
- package/dist/tbv/core/services/index.js +1 -1
- package/dist/tbv/core/utils/eth/index.cjs +1 -1
- package/dist/tbv/core/utils/eth/index.cjs.map +1 -1
- package/dist/tbv/core/utils/eth/index.js +20 -20
- package/dist/tbv/core/utils/eth/index.js.map +1 -1
- package/dist/tbv/core/utils/eth/waitForTransactionReceiptSmartAware.d.ts.map +1 -1
- package/dist/tbv/index.cjs +1 -1
- package/dist/tbv/index.js +210 -207
- package/dist/tbv/index.js.map +1 -1
- package/dist/tbv/integrations/aave/clients/abis/AaveIntegrationAdapter.abi.json.d.ts +7 -701
- package/dist/tbv/integrations/aave/clients/query.d.ts +2 -2
- package/dist/tbv/integrations/aave/index.cjs +1 -1
- package/dist/tbv/integrations/aave/index.cjs.map +1 -1
- package/dist/tbv/integrations/aave/index.js +119 -119
- package/dist/tbv/integrations/aave/index.js.map +1 -1
- package/dist/{toRefundInputs-BZXvuOMY.cjs → toRefundInputs-BbAOOUg6.cjs} +2 -2
- package/dist/{toRefundInputs-BZXvuOMY.cjs.map → toRefundInputs-BbAOOUg6.cjs.map} +1 -1
- package/dist/{toRefundInputs-dKDSvpVI.js → toRefundInputs-DW14g6wH.js} +2 -2
- package/dist/{toRefundInputs-dKDSvpVI.js.map → toRefundInputs-DW14g6wH.js.map} +1 -1
- package/package.json +2 -2
- package/dist/BTCVaultRegistry.abi-CohlJX7c.cjs +0 -2
- package/dist/BTCVaultRegistry.abi-CohlJX7c.cjs.map +0 -1
- package/dist/BTCVaultRegistry.abi-DBW0dyqH.js.map +0 -1
- package/dist/BTCVaultRegistryKeyEpochs.abi-BWoxwPQv.js +0 -266
- package/dist/BTCVaultRegistryKeyEpochs.abi-BWoxwPQv.js.map +0 -1
- package/dist/BTCVaultRegistryKeyEpochs.abi-DCJnzKer.cjs +0 -2
- package/dist/BTCVaultRegistryKeyEpochs.abi-DCJnzKer.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { R as r, V as s, a as t, f as i, h as o, d as l, g as n, e as d, i as V, r as g, v as m, b as u, c as P } from "../../../../registration-records-CKLAv3gw.js";
|
|
2
|
-
import { V as c, a as f, b as v, r as p } from "../../../../signer-set-reader-
|
|
3
|
-
import { V as b, a as h } from "../../../../pegin-registration-client-
|
|
2
|
+
import { V as c, a as f, b as v, r as p } from "../../../../signer-set-reader-BCtmSKUM.js";
|
|
3
|
+
import { V as b, a as h } from "../../../../pegin-registration-client-kdz4fT5_.js";
|
|
4
4
|
import { O as B, V as y } from "../../../../types-C5jj3Cc-.js";
|
|
5
5
|
import { a as E } from "../../../../secp256k1-BuxBFUHm.js";
|
|
6
6
|
export {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./mempool/index.cjs"),e=require("../../../registration-records-DFQgBaYi.cjs"),a=require("../../../signer-set-reader-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./mempool/index.cjs"),e=require("../../../registration-records-DFQgBaYi.cjs"),a=require("../../../signer-set-reader-DFAu6I-v.cjs"),s=require("../../../pegin-registration-client-C-abxMWq.cjs"),n=require("../../../types-Bda75Od0.cjs"),l=require("../../../secp256k1-DDHQ1_za.cjs"),o=require("../../../index-DpjYs5yr.cjs"),t=require("../../../state-C4WoNCy1.cjs"),i=require("../../../primeVpAuth-BPj2TPdD.cjs");exports.MEMPOOL_API_URLS=r.MEMPOOL_API_URLS;exports.MempoolNotFoundError=r.MempoolNotFoundError;exports.getAddressTxs=r.getAddressTxs;exports.getAddressUtxos=r.getAddressUtxos;exports.getMempoolApiUrl=r.getMempoolApiUrl;exports.getNetworkFees=r.getNetworkFees;exports.getOutspend=r.getOutspend;exports.getTipHeight=r.getTipHeight;exports.getTxHex=r.getTxHex;exports.getTxInfo=r.getTxInfo;exports.getUtxoInfo=r.getUtxoInfo;exports.pushTx=r.pushTx;exports.RegistrationLogsUnavailableError=e.RegistrationLogsUnavailableError;exports.VaultClaimableByNotFoundError=e.VaultClaimableByNotFoundError;exports.assertOnChainBtcPubkey=e.assertOnChainBtcPubkey;exports.assertRegisteredPayoutScriptBounds=e.assertRegisteredPayoutScriptBounds;exports.calculateBtcTxHash=e.calculateBtcTxHash;exports.derivePeginVaultId=e.derivePeginVaultId;exports.findRegistrationRecord=e.findRegistrationRecord;exports.isRegistrationLogsUnavailableError=e.isRegistrationLogsUnavailableError;exports.isVaultClaimableByNotFoundError=e.isVaultClaimableByNotFoundError;exports.registrationPrePeginTxHash=e.registrationPrePeginTxHash;exports.validateOffchainParams=e.validateOffchainParams;exports.validatePegInConfiguration=e.validatePegInConfiguration;exports.validateTBVProtocolParams=e.validateTBVProtocolParams;exports.ViemOperationKeyReader=a.ViemOperationKeyReader;exports.ViemUniversalChallengerReader=a.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=a.ViemVaultKeeperReader;exports.resolveProtocolAddresses=a.resolveProtocolAddresses;exports.ViemPeginRegistrationClient=s.ViemPeginRegistrationClient;exports.ViemVaultRegistryReader=s.ViemVaultRegistryReader;exports.OnChainBtcVaultStatus=n.OnChainBtcVaultStatus;exports.ViemProtocolParamsReader=n.ViemProtocolParamsReader;exports.assertValidVaultCoreVersion=l.assertValidVaultCoreVersion;exports.VaultProviderRpcClient=o.VaultProviderRpcClient;exports.VpResponseValidationError=o.VpResponseValidationError;exports.batchPollByProvider=o.batchPollByProvider;exports.isUnrecognizedDaemonStatusError=o.isUnrecognizedDaemonStatusError;exports.validateRequestDepositorClaimerArtifactsResponse=o.validateRequestDepositorClaimerArtifactsResponse;exports.AUTH_REJECTED_RPC_CODE=t.AUTH_REJECTED_RPC_CODE;exports.DaemonStatus=t.DaemonStatus;exports.JSON_RPC_ERROR_CODES=t.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=t.JsonRpcClient;exports.JsonRpcError=t.JsonRpcError;exports.POST_WOTS_STATUSES=t.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=t.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=t.RpcErrorCode;exports.VP_BATCH_MAX_SIZE=t.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=t.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=t.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=t.isAuthRejectedError;exports.ServerIdentityError=i.ServerIdentityError;exports.VpTokenRegistry=i.VpTokenRegistry;exports.createAuthenticatedVpClient=i.createAuthenticatedVpClient;exports.primeVpTokenRegistry=i.primeVpTokenRegistry;exports.verifyServerIdentity=i.verifyServerIdentity;exports.vpTokenRegistry=i.vpTokenRegistry;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MEMPOOL_API_URLS as r, MempoolNotFoundError as s, getAddressTxs as t, getAddressUtxos as o, getMempoolApiUrl as i, getNetworkFees as n, getOutspend as l, getTipHeight as R, getTxHex as d, getTxInfo as p, getUtxoInfo as V, pushTx as g } from "./mempool/index.js";
|
|
2
2
|
import { R as T, V as S, a as P, f as m, h as c, d as u, g as _, e as A, i as C, r as f, v, b as x, c as O } from "../../../registration-records-CKLAv3gw.js";
|
|
3
|
-
import { V as y, a as I, b as h, r as b } from "../../../signer-set-reader-
|
|
4
|
-
import { V as N, a as D } from "../../../pegin-registration-client-
|
|
3
|
+
import { V as y, a as I, b as h, r as b } from "../../../signer-set-reader-BCtmSKUM.js";
|
|
4
|
+
import { V as N, a as D } from "../../../pegin-registration-client-kdz4fT5_.js";
|
|
5
5
|
import { O as L, V as M } from "../../../types-C5jj3Cc-.js";
|
|
6
6
|
import { a as F } from "../../../secp256k1-BuxBFUHm.js";
|
|
7
7
|
import { V as K, a as j, b as q, i as w, v as z } from "../../../index-CVBtBjQ5.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vaultErrors.abi.test.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/contracts/__tests__/vaultErrors.abi.test.ts"],"names":[],"mappings":""}
|
|
@@ -365,46 +365,6 @@ export declare const BTCVaultRegistryABI: readonly [{
|
|
|
365
365
|
}];
|
|
366
366
|
}];
|
|
367
367
|
readonly stateMutability: "view";
|
|
368
|
-
}, {
|
|
369
|
-
readonly type: "error";
|
|
370
|
-
readonly name: "InvalidPeginFee";
|
|
371
|
-
readonly inputs: readonly [{
|
|
372
|
-
readonly name: "provided";
|
|
373
|
-
readonly type: "uint256";
|
|
374
|
-
readonly internalType: "uint256";
|
|
375
|
-
}, {
|
|
376
|
-
readonly name: "required";
|
|
377
|
-
readonly type: "uint256";
|
|
378
|
-
readonly internalType: "uint256";
|
|
379
|
-
}];
|
|
380
|
-
}, {
|
|
381
|
-
readonly type: "error";
|
|
382
|
-
readonly name: "InvalidSecret";
|
|
383
|
-
readonly inputs: readonly [];
|
|
384
|
-
}, {
|
|
385
|
-
readonly type: "error";
|
|
386
|
-
readonly name: "ActivationDeadlineExpired";
|
|
387
|
-
readonly inputs: readonly [];
|
|
388
|
-
}, {
|
|
389
|
-
readonly type: "error";
|
|
390
|
-
readonly name: "InvalidHashlock";
|
|
391
|
-
readonly inputs: readonly [];
|
|
392
|
-
}, {
|
|
393
|
-
readonly type: "error";
|
|
394
|
-
readonly name: "DuplicateHashlock";
|
|
395
|
-
readonly inputs: readonly [];
|
|
396
|
-
}, {
|
|
397
|
-
readonly type: "error";
|
|
398
|
-
readonly name: "CapExceeded";
|
|
399
|
-
readonly inputs: readonly [];
|
|
400
|
-
}, {
|
|
401
|
-
readonly type: "error";
|
|
402
|
-
readonly name: "InvalidOutputIndex";
|
|
403
|
-
readonly inputs: readonly [];
|
|
404
|
-
}, {
|
|
405
|
-
readonly type: "error";
|
|
406
|
-
readonly name: "PeginSignaturesIncomplete";
|
|
407
|
-
readonly inputs: readonly [];
|
|
408
368
|
}, {
|
|
409
369
|
readonly type: "function";
|
|
410
370
|
readonly name: "getBtcVaultProtocolInfo";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BTCVaultRegistry.abi.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/contracts/abis/BTCVaultRegistry.abi.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"BTCVaultRegistry.abi.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/contracts/abis/BTCVaultRegistry.abi.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAq9BtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VaultErrors.abi.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/contracts/abis/VaultErrors.abi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAIhC,eAAO,MAAM,eAAe,EAAoB,GAAG,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: [{"type":"error","name":"AaveAdapterNotSet","inputs":[]},{"type":"error","name":"AccessControlBadConfirmation","inputs":[]},{"type":"error","name":"AccessControlUnauthorizedAccount","inputs":[{"name":"account","type":"address"},{"name":"neededRole","type":"bytes32"}]},{"type":"error","name":"AccessManagedInvalidAuthority","inputs":[{"name":"authority","type":"address"}]},{"type":"error","name":"AccessManagedRequiredDelay","inputs":[{"name":"caller","type":"address"},{"name":"delay","type":"uint32"}]},{"type":"error","name":"AccessManagedUnauthorized","inputs":[{"name":"caller","type":"address"}]},{"type":"error","name":"AccessManagerAlreadyScheduled","inputs":[{"name":"operationId","type":"bytes32"}]},{"type":"error","name":"AccessManagerBadConfirmation","inputs":[]},{"type":"error","name":"AccessManagerExpired","inputs":[{"name":"operationId","type":"bytes32"}]},{"type":"error","name":"AccessManagerInvalidInitialAdmin","inputs":[{"name":"initialAdmin","type":"address"}]},{"type":"error","name":"AccessManagerLockedRole","inputs":[{"name":"roleId","type":"uint64"}]},{"type":"error","name":"AccessManagerNotReady","inputs":[{"name":"operationId","type":"bytes32"}]},{"type":"error","name":"AccessManagerNotScheduled","inputs":[{"name":"operationId","type":"bytes32"}]},{"type":"error","name":"AccessManagerUnauthorizedAccount","inputs":[{"name":"msgsender","type":"address"},{"name":"roleId","type":"uint64"}]},{"type":"error","name":"AccessManagerUnauthorizedCall","inputs":[{"name":"caller","type":"address"},{"name":"target","type":"address"},{"name":"selector","type":"bytes4"}]},{"type":"error","name":"AccessManagerUnauthorizedCancel","inputs":[{"name":"msgsender","type":"address"},{"name":"caller","type":"address"},{"name":"target","type":"address"},{"name":"selector","type":"bytes4"}]},{"type":"error","name":"AccessManagerUnauthorizedConsume","inputs":[{"name":"target","type":"address"}]},{"type":"error","name":"ActivationDeadlineExpired","inputs":[]},{"type":"error","name":"ActivationDelayNotElapsed","inputs":[]},{"type":"error","name":"AddCapExceeded","inputs":[{"name":"addCap","type":"uint256"}]},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address"}]},{"type":"error","name":"AllowListDisabled","inputs":[]},{"type":"error","name":"AmountBelowMinimumThreshold","inputs":[{"name":"actual","type":"uint256"},{"name":"minimum","type":"uint256"}]},{"type":"error","name":"AmountMismatch","inputs":[{"name":"expected","type":"uint256"},{"name":"actual","type":"uint256"}]},{"type":"error","name":"ApplicationAlreadyRegistered","inputs":[]},{"type":"error","name":"ApplicationNotActive","inputs":[]},{"type":"error","name":"ApplicationNotRegistered","inputs":[]},{"type":"error","name":"ArrayExceedsMaxSize","inputs":[{"name":"actual","type":"uint256"},{"name":"maximum","type":"uint256"}]},{"type":"error","name":"AssetNotListed","inputs":[]},{"type":"error","name":"BTCVaultNotFound","inputs":[]},{"type":"error","name":"BlocklistedVaultKeeper","inputs":[]},{"type":"error","name":"BtcKeyAlreadyRegistered","inputs":[]},{"type":"error","name":"BufferTooShort","inputs":[{"name":"offset","type":"uint256"},{"name":"requiredLength","type":"uint256"},{"name":"availableLength","type":"uint256"}]},{"type":"error","name":"CannotReceiveShares","inputs":[]},{"type":"error","name":"CapExceeded","inputs":[]},{"type":"error","name":"CollateralCannotBeLiquidated","inputs":[]},{"type":"error","name":"CollateralLimitExceeded","inputs":[]},{"type":"error","name":"CommissionAboveMaximum","inputs":[{"name":"provided","type":"uint16"}]},{"type":"error","name":"CommissionBelowMinimum","inputs":[{"name":"provided","type":"uint16"},{"name":"minimum","type":"uint16"}]},{"type":"error","name":"CommissionUnchanged","inputs":[]},{"type":"error","name":"ConfigKeyUninitialized","inputs":[]},{"type":"error","name":"DeficitReportedMismatch","inputs":[]},{"type":"error","name":"DelegateeNotVerified","inputs":[]},{"type":"error","name":"DepositNotAllowed","inputs":[]},{"type":"error","name":"DepositorWotsPkHashAlreadyUsed","inputs":[]},{"type":"error","name":"DrawCapExceeded","inputs":[{"name":"drawCap","type":"uint256"}]},{"type":"error","name":"DuplicateHashlock","inputs":[]},{"type":"error","name":"DuplicateParticipant","inputs":[]},{"type":"error","name":"DuplicateReserveId","inputs":[]},{"type":"error","name":"DynamicConfigKeyUninitialized","inputs":[]},{"type":"error","name":"ECDSAInvalidSignature","inputs":[]},{"type":"error","name":"ECDSAInvalidSignatureLength","inputs":[{"name":"length","type":"uint256"}]},{"type":"error","name":"ECDSAInvalidSignatureS","inputs":[{"name":"s","type":"bytes32"}]},{"type":"error","name":"ERC1155InsufficientBalance","inputs":[{"name":"sender","type":"address"},{"name":"balance","type":"uint256"},{"name":"needed","type":"uint256"},{"name":"tokenId","type":"uint256"}]},{"type":"error","name":"ERC1155InvalidApprover","inputs":[{"name":"approver","type":"address"}]},{"type":"error","name":"ERC1155InvalidArrayLength","inputs":[{"name":"idsLength","type":"uint256"},{"name":"valuesLength","type":"uint256"}]},{"type":"error","name":"ERC1155InvalidOperator","inputs":[{"name":"operator","type":"address"}]},{"type":"error","name":"ERC1155InvalidReceiver","inputs":[{"name":"receiver","type":"address"}]},{"type":"error","name":"ERC1155InvalidSender","inputs":[{"name":"sender","type":"address"}]},{"type":"error","name":"ERC1155MissingApprovalForAll","inputs":[{"name":"operator","type":"address"},{"name":"owner","type":"address"}]},{"type":"error","name":"ERC1967InvalidAdmin","inputs":[{"name":"admin","type":"address"}]},{"type":"error","name":"ERC1967InvalidBeacon","inputs":[{"name":"beacon","type":"address"}]},{"type":"error","name":"ERC1967InvalidImplementation","inputs":[{"name":"implementation","type":"address"}]},{"type":"error","name":"ERC1967NonPayable","inputs":[]},{"type":"error","name":"ERC20InsufficientAllowance","inputs":[{"name":"spender","type":"address"},{"name":"allowance","type":"uint256"},{"name":"needed","type":"uint256"}]},{"type":"error","name":"ERC20InsufficientBalance","inputs":[{"name":"sender","type":"address"},{"name":"balance","type":"uint256"},{"name":"needed","type":"uint256"}]},{"type":"error","name":"ERC20InvalidApprover","inputs":[{"name":"approver","type":"address"}]},{"type":"error","name":"ERC20InvalidReceiver","inputs":[{"name":"receiver","type":"address"}]},{"type":"error","name":"ERC20InvalidSender","inputs":[{"name":"sender","type":"address"}]},{"type":"error","name":"ERC20InvalidSpender","inputs":[{"name":"spender","type":"address"}]},{"type":"error","name":"ERC721IncorrectOwner","inputs":[{"name":"sender","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"owner","type":"address"}]},{"type":"error","name":"ERC721InsufficientApproval","inputs":[{"name":"operator","type":"address"},{"name":"tokenId","type":"uint256"}]},{"type":"error","name":"ERC721InvalidApprover","inputs":[{"name":"approver","type":"address"}]},{"type":"error","name":"ERC721InvalidOperator","inputs":[{"name":"operator","type":"address"}]},{"type":"error","name":"ERC721InvalidOwner","inputs":[{"name":"owner","type":"address"}]},{"type":"error","name":"ERC721InvalidReceiver","inputs":[{"name":"receiver","type":"address"}]},{"type":"error","name":"ERC721InvalidSender","inputs":[{"name":"sender","type":"address"}]},{"type":"error","name":"ERC721NonexistentToken","inputs":[{"name":"tokenId","type":"uint256"}]},{"type":"error","name":"EmptyArray","inputs":[]},{"type":"error","name":"EmptyPayoutAddress","inputs":[]},{"type":"error","name":"EmptyVaultKeepers","inputs":[]},{"type":"error","name":"EthKeyAlreadyRegistered","inputs":[]},{"type":"error","name":"ExcessiveWbtcPayment","inputs":[]},{"type":"error","name":"FailedCall","inputs":[]},{"type":"error","name":"FailedDeployment","inputs":[]},{"type":"error","name":"HealthFactorBelowThreshold","inputs":[]},{"type":"error","name":"HealthFactorNotBelowThreshold","inputs":[]},{"type":"error","name":"InactivePositionManager","inputs":[]},{"type":"error","name":"IncompleteWithdrawal","inputs":[{"name":"expected","type":"uint256"},{"name":"actual","type":"uint256"}]},{"type":"error","name":"InsufficientBalance","inputs":[{"name":"balance","type":"uint256"},{"name":"needed","type":"uint256"}]},{"type":"error","name":"InsufficientBorrowAllowance","inputs":[]},{"type":"error","name":"InsufficientLiquidationOutput","inputs":[]},{"type":"error","name":"InsufficientLiquidity","inputs":[{"name":"liquidity","type":"uint256"}]},{"type":"error","name":"InsufficientSettlementAmount","inputs":[]},{"type":"error","name":"InsufficientTransferred","inputs":[{"name":"liquidityNeeded","type":"uint256"}]},{"type":"error","name":"InterestRateDataNotSet","inputs":[{"name":"assetId","type":"uint256"}]},{"type":"error","name":"InvalidAccountNonce","inputs":[{"name":"account","type":"address"},{"name":"currentNonce","type":"uint256"}]},{"type":"error","name":"InvalidAction","inputs":[{"name":"action","type":"bytes32"}]},{"type":"error","name":"InvalidActivationMetadataVersion","inputs":[]},{"type":"error","name":"InvalidAddress","inputs":[]},{"type":"error","name":"InvalidAmount","inputs":[]},{"type":"error","name":"InvalidApplicationStatus","inputs":[]},{"type":"error","name":"InvalidAssetDecimals","inputs":[]},{"type":"error","name":"InvalidAssetId","inputs":[]},{"type":"error","name":"InvalidBIP322Signature","inputs":[{"name":"offset","type":"uint256"},{"name":"length","type":"uint256"}]},{"type":"error","name":"InvalidBTCPopSignatureLength","inputs":[{"name":"length","type":"uint256"},{"name":"minLength","type":"uint256"},{"name":"maxLength","type":"uint256"}]},{"type":"error","name":"InvalidBTCProofOfPossession","inputs":[]},{"type":"error","name":"InvalidBTCPublicKey","inputs":[]},{"type":"error","name":"InvalidBTCVaultStatus","inputs":[]},{"type":"error","name":"InvalidBTCVaultUsageStatus","inputs":[]},{"type":"error","name":"InvalidBase","inputs":[{"name":"base","type":"uint256"},{"name":"modulus","type":"uint256"}]},{"type":"error","name":"InvalidCollateralFactor","inputs":[]},{"type":"error","name":"InvalidCollateralFactorAndMaxLiquidationBonus","inputs":[]},{"type":"error","name":"InvalidCollateralRisk","inputs":[]},{"type":"error","name":"InvalidCompactSize","inputs":[{"name":"offset","type":"uint256"},{"name":"prefix","type":"uint8"},{"name":"value","type":"uint64"},{"name":"minValue","type":"uint64"}]},{"type":"error","name":"InvalidControlBlock","inputs":[{"name":"length","type":"uint256"},{"name":"remainder","type":"uint256"}]},{"type":"error","name":"InvalidDebtToCover","inputs":[]},{"type":"error","name":"InvalidDelay","inputs":[]},{"type":"error","name":"InvalidDepositorWotsPkHash","inputs":[]},{"type":"error","name":"InvalidEscrowedVaultStatus","inputs":[]},{"type":"error","name":"InvalidEthProofOfPossession","inputs":[]},{"type":"error","name":"InvalidFeeConfiguration","inputs":[]},{"type":"error","name":"InvalidHashlock","inputs":[]},{"type":"error","name":"InvalidImplementation","inputs":[]},{"type":"error","name":"InvalidInitialization","inputs":[]},{"type":"error","name":"InvalidInterestRateStrategy","inputs":[]},{"type":"error","name":"InvalidLiquidationAmounts","inputs":[]},{"type":"error","name":"InvalidLiquidationCallArguments","inputs":[]},{"type":"error","name":"InvalidLiquidationConfig","inputs":[]},{"type":"error","name":"InvalidLiquidationFee","inputs":[]},{"type":"error","name":"InvalidLiquidityFee","inputs":[]},{"type":"error","name":"InvalidMaxUserReservesLimit","inputs":[]},{"type":"error","name":"InvalidMinimumProfitThreshold","inputs":[]},{"type":"error","name":"InvalidNullVaultDeclaration","inputs":[]},{"type":"error","name":"InvalidOracleDecimals","inputs":[]},{"type":"error","name":"InvalidOraclePrice","inputs":[]},{"type":"error","name":"InvalidOutputIndex","inputs":[{"name":"provided","type":"uint256"},{"name":"maxValid","type":"uint256"}]},{"type":"error","name":"InvalidParticipantsList","inputs":[]},{"type":"error","name":"InvalidPeginFee","inputs":[{"name":"provided","type":"uint256"},{"name":"required","type":"uint256"}]},{"type":"error","name":"InvalidPoint","inputs":[{"name":"x","type":"uint256"},{"name":"y","type":"uint256"}]},{"type":"error","name":"InvalidPositionAccount","inputs":[]},{"type":"error","name":"InvalidPositionResolver","inputs":[]},{"type":"error","name":"InvalidPositionSizes","inputs":[]},{"type":"error","name":"InvalidPostLiquidationState","inputs":[]},{"type":"error","name":"InvalidPremiumChange","inputs":[]},{"type":"error","name":"InvalidPrice","inputs":[{"name":"reserveId","type":"uint256"}]},{"type":"error","name":"InvalidProxyContract","inputs":[]},{"type":"error","name":"InvalidReceiver","inputs":[]},{"type":"error","name":"InvalidRegistrationFee","inputs":[]},{"type":"error","name":"InvalidReinvestmentController","inputs":[]},{"type":"error","name":"InvalidReserveId","inputs":[]},{"type":"error","name":"InvalidSValue","inputs":[{"name":"s","type":"bytes32"}]},{"type":"error","name":"InvalidSecret","inputs":[]},{"type":"error","name":"InvalidSecurityCouncilConfig","inputs":[]},{"type":"error","name":"InvalidShares","inputs":[]},{"type":"error","name":"InvalidShortDelayArrays","inputs":[]},{"type":"error","name":"InvalidSignature","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"InvalidSource","inputs":[{"name":"reserveId","type":"uint256"}]},{"type":"error","name":"InvalidSourceDecimals","inputs":[{"name":"reserveId","type":"uint256"}]},{"type":"error","name":"InvalidTransaction","inputs":[]},{"type":"error","name":"InvalidVault","inputs":[]},{"type":"error","name":"InvalidVaultWriteOff","inputs":[]},{"type":"error","name":"InvalidVaultsArray","inputs":[]},{"type":"error","name":"InvalidWitnessData","inputs":[{"name":"offset","type":"uint256"},{"name":"expected","type":"uint256"},{"name":"actual","type":"uint256"}]},{"type":"error","name":"InvalidXOnlyKey","inputs":[{"name":"xOnly","type":"bytes32"}]},{"type":"error","name":"LLPAlreadyRegistered","inputs":[{"name":"llp","type":"address"}]},{"type":"error","name":"LLPDisabled","inputs":[]},{"type":"error","name":"LLPNotRegistered","inputs":[{"name":"llp","type":"address"}]},{"type":"error","name":"LiveVaultCapExceeded","inputs":[]},{"type":"error","name":"LiveVaultReleaseDelayDecreaseBlocked","inputs":[]},{"type":"error","name":"LiveVaultReleaseDelayTooLong","inputs":[{"name":"requested","type":"uint256"},{"name":"maximum","type":"uint256"}]},{"type":"error","name":"MaxDataSizeExceeded","inputs":[]},{"type":"error","name":"MaxPegInBelowMinPegIn","inputs":[{"name":"max","type":"uint256"},{"name":"min","type":"uint256"}]},{"type":"error","name":"MaximumDynamicConfigKeyReached","inputs":[]},{"type":"error","name":"MaximumUserReservesExceeded","inputs":[]},{"type":"error","name":"MissingPrecompile","inputs":[{"name":"","type":"address"}]},{"type":"error","name":"MustNotLeaveDust","inputs":[]},{"type":"error","name":"NoAccruedInterest","inputs":[]},{"type":"error","name":"NoAppVaultKeepersConfigured","inputs":[]},{"type":"error","name":"NoCollateralizedVaults","inputs":[]},{"type":"error","name":"NoEscrowedFees","inputs":[]},{"type":"error","name":"NoUniversalChallengersConfigured","inputs":[]},{"type":"error","name":"NotAuthorizedToACK","inputs":[]},{"type":"error","name":"NotContract","inputs":[]},{"type":"error","name":"NotInitializing","inputs":[]},{"type":"error","name":"OnlyAdapter","inputs":[]},{"type":"error","name":"OnlyApplicationEntryPoint","inputs":[]},{"type":"error","name":"OnlyDeployer","inputs":[]},{"type":"error","name":"OnlyReinvestmentController","inputs":[]},{"type":"error","name":"OnlySpoke","inputs":[]},{"type":"error","name":"OperationKeyVersionOverflow","inputs":[]},{"type":"error","name":"OracleMismatch","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address"}]},{"type":"error","name":"ParticipantRoleOverlap","inputs":[]},{"type":"error","name":"PayoutAddressTooLong","inputs":[]},{"type":"error","name":"PeginFingerprintChanged","inputs":[{"name":"expected","type":"bytes32"},{"name":"actual","type":"bytes32"}]},{"type":"error","name":"PeginInputSignatureAlreadySubmitted","inputs":[]},{"type":"error","name":"PeginNotExpired","inputs":[]},{"type":"error","name":"PeginSignaturesIncomplete","inputs":[]},{"type":"error","name":"PeginTransactionAlreadyUsed","inputs":[]},{"type":"error","name":"PeginTransactionExpired","inputs":[]},{"type":"error","name":"PositionAccountAlreadyExists","inputs":[]},{"type":"error","name":"PositionAccountCreationFailed","inputs":[]},{"type":"error","name":"PositionAccountDoesNotExist","inputs":[]},{"type":"error","name":"PositionNotHealthy","inputs":[]},{"type":"error","name":"PositionNotLiquidatable","inputs":[]},{"type":"error","name":"PositionSizesRejectedByApplication","inputs":[]},{"type":"error","name":"PostExpiryGraceWindowElapsed","inputs":[]},{"type":"error","name":"PrePeginOutputAlreadyUsed","inputs":[]},{"type":"error","name":"PublicKeyMismatch","inputs":[{"name":"expected","type":"bytes32"},{"name":"actual","type":"bytes32"}]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RepaymentWouldRestoreZeroShares","inputs":[]},{"type":"error","name":"ReserveExists","inputs":[]},{"type":"error","name":"ReserveFrozen","inputs":[]},{"type":"error","name":"ReserveNotBorrowable","inputs":[]},{"type":"error","name":"ReserveNotBorrowed","inputs":[]},{"type":"error","name":"ReserveNotEnabledAsCollateral","inputs":[]},{"type":"error","name":"ReserveNotListed","inputs":[]},{"type":"error","name":"ReserveNotSupplied","inputs":[]},{"type":"error","name":"ReservePaused","inputs":[]},{"type":"error","name":"SafeCastOverflowedIntDowncast","inputs":[{"name":"bits","type":"uint8"},{"name":"value","type":"int256"}]},{"type":"error","name":"SafeCastOverflowedIntToUint","inputs":[{"name":"value","type":"int256"}]},{"type":"error","name":"SafeCastOverflowedUintDowncast","inputs":[{"name":"bits","type":"uint8"},{"name":"value","type":"uint256"}]},{"type":"error","name":"SafeCastOverflowedUintToInt","inputs":[{"name":"value","type":"uint256"}]},{"type":"error","name":"SafeERC20FailedDecreaseAllowance","inputs":[{"name":"spender","type":"address"},{"name":"currentAllowance","type":"uint256"},{"name":"requestedDecrease","type":"uint256"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address"}]},{"type":"error","name":"ScriptPubKeyTooLong","inputs":[]},{"type":"error","name":"SelfLiquidation","inputs":[]},{"type":"error","name":"SlippageExceeded","inputs":[{"name":"minOut","type":"uint256"},{"name":"actualOut","type":"uint256"}]},{"type":"error","name":"SpokeAlreadyListed","inputs":[]},{"type":"error","name":"SpokeAlreadySet","inputs":[]},{"type":"error","name":"SpokeHalted","inputs":[]},{"type":"error","name":"SpokeNotActive","inputs":[]},{"type":"error","name":"SpokeNotListed","inputs":[]},{"type":"error","name":"StringsInsufficientHexLength","inputs":[{"name":"value","type":"uint256"},{"name":"length","type":"uint256"}]},{"type":"error","name":"StringsInvalidAddressFormat","inputs":[]},{"type":"error","name":"StringsInvalidChar","inputs":[]},{"type":"error","name":"SurplusDrawnDeficitReported","inputs":[{"name":"maxAllowedDeficit","type":"uint256"}]},{"type":"error","name":"SurplusDrawnRestored","inputs":[{"name":"maxAllowedRestore","type":"uint256"}]},{"type":"error","name":"SurplusPremiumRayDeficitReported","inputs":[{"name":"maxAllowedDeficitRay","type":"uint256"}]},{"type":"error","name":"SurplusPremiumRayRestored","inputs":[{"name":"maxAllowedRestoreRay","type":"uint256"}]},{"type":"error","name":"TBV_AlreadyFrozen","inputs":[]},{"type":"error","name":"TBV_AlreadyPaused","inputs":[]},{"type":"error","name":"TBV_CannotUnfreezeWhilePaused","inputs":[]},{"type":"error","name":"TBV_CannotUnpauseWhileFrozen","inputs":[]},{"type":"error","name":"TBV_Frozen","inputs":[]},{"type":"error","name":"TBV_NotFrozen","inputs":[]},{"type":"error","name":"TBV_NotPaused","inputs":[]},{"type":"error","name":"TBV_Paused","inputs":[]},{"type":"error","name":"TBV_Unauthorized","inputs":[]},{"type":"error","name":"TooManyFundingInputs","inputs":[{"name":"inputCount","type":"uint256"},{"name":"maxAllowed","type":"uint256"}]},{"type":"error","name":"TooManyHtlcOutputs","inputs":[{"name":"outputCount","type":"uint256"},{"name":"maxAllowed","type":"uint256"}]},{"type":"error","name":"TransferFailed","inputs":[]},{"type":"error","name":"UUPSUnauthorizedCallContext","inputs":[]},{"type":"error","name":"UUPSUnsupportedProxiableUUID","inputs":[{"name":"slot","type":"bytes32"}]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UnauthorizedTransferDestination","inputs":[]},{"type":"error","name":"UnauthorizedVaultKeeper","inputs":[]},{"type":"error","name":"UnderlyingAlreadyListed","inputs":[]},{"type":"error","name":"UnsafePeginTimingConfiguration","inputs":[{"name":"tRefund","type":"uint32"},{"name":"pegInActivationTimeout","type":"uint64"}]},{"type":"error","name":"UnsupportedAddressType","inputs":[{"name":"witnessItemCount","type":"uint8"}]},{"type":"error","name":"UnsupportedCollateralReserve","inputs":[]},{"type":"error","name":"UnsupportedLiquidationCall","inputs":[]},{"type":"error","name":"UnsupportedSettlementToken","inputs":[]},{"type":"error","name":"VaultAboveMaximum","inputs":[{"name":"actual","type":"uint256"},{"name":"maximum","type":"uint256"}]},{"type":"error","name":"VaultAlreadyExists","inputs":[]},{"type":"error","name":"VaultBTCSharesAssetsMismatch","inputs":[]},{"type":"error","name":"VaultBelowMinimum","inputs":[{"name":"actual","type":"uint256"},{"name":"minimum","type":"uint256"}]},{"type":"error","name":"VaultFeeAlreadyEscrowed","inputs":[]},{"type":"error","name":"VaultNotAcquirable","inputs":[]},{"type":"error","name":"VaultProviderCommissionExceeded","inputs":[{"name":"maxAcceptable","type":"uint16"},{"name":"actual","type":"uint16"}]},{"type":"error","name":"VaultProviderNotRegistered","inputs":[]},{"type":"error","name":"VersionAlreadyExists","inputs":[]},{"type":"error","name":"ZeroAddress","inputs":[]},{"type":"error","name":"ZeroAmount","inputs":[]},{"type":"error","name":"ZeroValue","inputs":[]}]
|
|
2
|
+
;
|
|
3
|
+
|
|
4
|
+
export default _default;
|
|
@@ -10,6 +10,12 @@ import { Hex } from 'viem';
|
|
|
10
10
|
* test asserts the two agree.
|
|
11
11
|
*/
|
|
12
12
|
export declare const PEGIN_FINGERPRINT_CHANGED_SELECTOR = "0x846c25bb";
|
|
13
|
+
/**
|
|
14
|
+
* Shown when the contract reverted with explicitly empty data (`0x`). That can
|
|
15
|
+
* mean a revert with no reason or a call the contract does not recognise, so
|
|
16
|
+
* the wording claims neither.
|
|
17
|
+
*/
|
|
18
|
+
export declare const EMPTY_REVERT_MESSAGE: string;
|
|
13
19
|
/**
|
|
14
20
|
* The registry rejected a peg-in registration because the protocol state it
|
|
15
21
|
* resolves at inclusion no longer matches the state the Pre-Pegin was built
|
|
@@ -34,10 +40,9 @@ export declare class PeginFingerprintChangedError extends Error {
|
|
|
34
40
|
}
|
|
35
41
|
export declare function isPeginFingerprintChangedError(err: unknown): err is PeginFingerprintChangedError;
|
|
36
42
|
/**
|
|
37
|
-
* Known contract error
|
|
43
|
+
* Known peg-in contract error selectors mapped to user-friendly messages.
|
|
38
44
|
*
|
|
39
45
|
* Error selectors are the first 4 bytes of keccak256(error signature).
|
|
40
|
-
* Example: keccak256("VaultAlreadyExists()") = 0x04aabf33...
|
|
41
46
|
*/
|
|
42
47
|
export declare const CONTRACT_ERRORS: Record<string, string>;
|
|
43
48
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/contracts/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAuB,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/contracts/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAuB,KAAK,GAAG,EAAsB,MAAM,MAAM,CAAC;AAEzE;;;;;;;;;GASG;AACH,eAAO,MAAM,kCAAkC,eAAe,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAEyC,CAAC;AAK3E;;;;;;;;;;;;;GAaG;AACH,qBAAa,4BAA6B,SAAQ,KAAK;IACrD,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC;gBAEV,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE;QAAE,QAAQ,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,GAAG,CAAA;KAAE;CAM3E;AAID,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,OAAO,GACX,GAAG,IAAI,4BAA4B,CAKrC;AA2FD;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAKlD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEnE;AA+ED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAU1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAK5D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,CAqEzD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../ApplicationRegistry.abi-sMiTWmnL.cjs"),e=require("../../../BTCVaultRegistry.abi-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../ApplicationRegistry.abi-sMiTWmnL.cjs"),e=require("../../../BTCVaultRegistry.abi-DffWFdpA.cjs"),r=require("../../../BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs"),o=require("../../../ProtocolParams.abi-CjrT0545.cjs"),i=require("../../../VaultErrors.abi-DQ18kM0L.cjs");exports.ApplicationRegistryABI=t.ApplicationRegistryABI;exports.BTCVaultRegistryABI=e.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=r.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=r.CONTRACT_ERRORS;exports.EMPTY_REVERT_MESSAGE=r.EMPTY_REVERT_MESSAGE;exports.PEGIN_FINGERPRINT_CHANGED_SELECTOR=r.PEGIN_FINGERPRINT_CHANGED_SELECTOR;exports.PeginFingerprintChangedError=r.PeginFingerprintChangedError;exports.extractErrorData=r.extractErrorData;exports.getContractErrorMessage=r.getContractErrorMessage;exports.handleContractError=r.handleContractError;exports.isKnownContractError=r.isKnownContractError;exports.isPeginFingerprintChangedError=r.isPeginFingerprintChangedError;exports.ProtocolParamsABI=o.ProtocolParamsABI;exports.VAULT_ERROR_ABI=i.VAULT_ERROR_ABI;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -10,5 +10,6 @@ export { ApplicationRegistryABI } from './abis/ApplicationRegistry.abi';
|
|
|
10
10
|
export { BTCVaultRegistryABI } from './abis/BTCVaultRegistry.abi';
|
|
11
11
|
export { BTCVaultRegistryKeyEpochsABI } from './abis/BTCVaultRegistryKeyEpochs.abi';
|
|
12
12
|
export { ProtocolParamsABI } from './abis/ProtocolParams.abi';
|
|
13
|
-
export {
|
|
13
|
+
export { VAULT_ERROR_ABI } from './abis/VaultErrors.abi';
|
|
14
|
+
export { CONTRACT_ERRORS, EMPTY_REVERT_MESSAGE, PEGIN_FINGERPRINT_CHANGED_SELECTOR, PeginFingerprintChangedError, extractErrorData, getContractErrorMessage, handleContractError, isKnownContractError, isPeginFingerprintChangedError, } from './errors';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/contracts/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/contracts/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,kCAAkC,EAClC,4BAA4B,EAC5B,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,8BAA8B,GAC/B,MAAM,UAAU,CAAC"}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { A as o } from "../../../ApplicationRegistry.abi-s8cQ1ooR.js";
|
|
2
|
-
import { B as s } from "../../../BTCVaultRegistry.abi-
|
|
3
|
-
import { B as
|
|
4
|
-
import { P as
|
|
2
|
+
import { B as s } from "../../../BTCVaultRegistry.abi-BmHpMUWD.js";
|
|
3
|
+
import { B as E, C as n, E as R, P as i, a as g, e as C, g as A, h as p, i as B, b as P } from "../../../BTCVaultRegistryKeyEpochs.abi-Btg0nBz1.js";
|
|
4
|
+
import { P as I } from "../../../ProtocolParams.abi-CKOVqFJP.js";
|
|
5
|
+
import { V as c } from "../../../VaultErrors.abi-Boz4w97c.js";
|
|
5
6
|
export {
|
|
6
7
|
o as ApplicationRegistryABI,
|
|
7
8
|
s as BTCVaultRegistryABI,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
E as BTCVaultRegistryKeyEpochsABI,
|
|
10
|
+
n as CONTRACT_ERRORS,
|
|
11
|
+
R as EMPTY_REVERT_MESSAGE,
|
|
12
|
+
i as PEGIN_FINGERPRINT_CHANGED_SELECTOR,
|
|
11
13
|
g as PeginFingerprintChangedError,
|
|
12
|
-
|
|
14
|
+
I as ProtocolParamsABI,
|
|
15
|
+
c as VAULT_ERROR_ABI,
|
|
13
16
|
C as extractErrorData,
|
|
14
|
-
|
|
17
|
+
A as getContractErrorMessage,
|
|
15
18
|
p as handleContractError,
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
B as isKnownContractError,
|
|
20
|
+
P as isPeginFingerprintChangedError
|
|
18
21
|
};
|
|
19
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/dist/tbv/core/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../verifyScriptPathSchnorrSignature-D2t1yACC.cjs"),O=require("../../secp256k1-DDHQ1_za.cjs"),o=require("./wasm/index.cjs"),R=require("../../verifyKeyPathSchnorrSignature-CQUut2-O.cjs"),P=require("../../noPayout-DOHak0ui.cjs"),F=require("../../challengeAssert-Z7_YULBb.cjs"),r=require("../../bitcoin-D-O2GjbC.cjs"),y=require("../../abortSignals-msbmbqFe.cjs"),I=require("../../signing-DvISftFk.cjs"),E=require("../../validation-C6XTfZak.cjs"),N=require("./utils/eth/index.cjs"),_=require("../../PeginManager-8EUlm10F.cjs"),d=require("../../PayoutManager-DOdsgcUR.cjs"),s=require("./clients/mempool/index.cjs"),l=require("../../registration-records-DFQgBaYi.cjs"),C=require("../../signer-set-reader-C6g47hdk.cjs"),A=require("../../pegin-registration-client-D4EguWaz.cjs"),h=require("../../types-Bda75Od0.cjs"),V=require("../../ApplicationRegistry.abi-sMiTWmnL.cjs"),M=require("../../BTCVaultRegistry.abi-CohlJX7c.cjs"),c=require("../../BTCVaultRegistryKeyEpochs.abi-DCJnzKer.cjs"),b=require("../../ProtocolParams.abi-CjrT0545.cjs"),v=require("../../buildVaultContextInputForClaim-9XZaqIiw.cjs"),S=require("../../deriveVaultRoot-C3uqnJto.cjs"),D=require("../../parseFundingOutpoints-C_-PT9BT.cjs"),B=require("../../btcTxHash-CGb5BqFL.cjs"),u=require("../../psbtInputFields-BrV_ZfL_.cjs"),i=require("../../fundPeginTransaction-54-Rwb2k.cjs"),T=require("../../reservation-ECxjZi5t.cjs"),m=require("../../index-DpjYs5yr.cjs"),a=require("../../state-C4WoNCy1.cjs"),g=require("../../primeVpAuth-BPj2TPdD.cjs"),t=require("../../toRefundInputs-BZXvuOMY.cjs"),e=require("../../buildAndBroadcastReclaim-DjX7wVb2.cjs"),p=require("../../peginState-DUv10EJR.cjs");exports.PEGIN_DEPOSITOR_CLAIM_VOUT=n.PEGIN_DEPOSITOR_CLAIM_VOUT;exports.PsbtSubstitutionError=n.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=n.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=n.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=n.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=n.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=n.buildPrePeginPsbt;exports.computeNumLocalChallengers=n.computeNumLocalChallengers;exports.createPayoutScript=n.createPayoutScript;exports.deriveDepositorClaimDescriptor=n.deriveDepositorClaimDescriptor;exports.deriveDepositorClaimScriptPubKey=n.deriveDepositorClaimScriptPubKey;exports.extractPayoutSignature=n.extractPayoutSignature;exports.assertValidVaultCoreVersion=O.assertValidVaultCoreVersion;exports.attachFinalizedAssert=o.attachFinalizedAssert;exports.computeMinClaimValue=o.computeMinClaimValue;exports.computeMinPeginFee=o.computeMinPeginFee;exports.deriveVaultId=o.deriveVaultId;exports.expandAuthAnchor=o.expandAuthAnchor;exports.expandHashlockSecret=o.expandHashlockSecret;exports.expandWotsSeed=o.expandWotsSeed;exports.finalizePayout=o.finalizePayout;exports.finalizeWronglyChallenged=o.finalizeWronglyChallenged;exports.peginP2aAnchorOutput=o.peginP2aAnchorOutput;exports.pinPegoutProof=o.pinPegoutProof;exports.supportedTxGraphVersions=o.supportedTxGraphVersions;exports.validatePeginP2aAnchor=o.validatePeginP2aAnchor;exports.assertKeyPathSchnorrSignature=R.assertKeyPathSchnorrSignature;exports.assertReturnedKeyPathSignatures=R.assertReturnedKeyPathSignatures;exports.buildPeginInputPsbt=R.buildPeginInputPsbt;exports.extractPeginInputSignature=R.extractPeginInputSignature;exports.finalizePeginInputPsbt=R.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=F.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=y.combineAbortSignals;exports.createTaprootScriptPathSignOptions=I.createTaprootScriptPathSignOptions;exports.createTaprootScriptPathSignOptionsForInput=I.createTaprootScriptPathSignOptionsForInput;exports.BITCOIN_ADDRESS_RE=E.BITCOIN_ADDRESS_RE;exports.COMPRESSED_PUBKEY_HEX_LEN=E.COMPRESSED_PUBKEY_HEX_LEN;exports.HEX_RE=E.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=E.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=E.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=E.TXID_RE;exports.X_ONLY_PUBKEY_HEX_LEN=E.X_ONLY_PUBKEY_HEX_LEN;exports.waitForTransactionReceiptSmartAware=N.waitForTransactionReceiptSmartAware;exports.PeginManager=_.PeginManager;exports.buildDepositTerms=_.buildDepositTerms;exports.computeWotsBlockPublicKeysHash=_.computeWotsBlockPublicKeysHash;exports.deriveWotsBlocksFromSeed=_.deriveWotsBlocksFromSeed;exports.ensurePrePeginTermsApproval=_.ensurePrePeginTermsApproval;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.MempoolNotFoundError=s.MempoolNotFoundError;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.RegistrationLogsUnavailableError=l.RegistrationLogsUnavailableError;exports.VaultClaimableByNotFoundError=l.VaultClaimableByNotFoundError;exports.assertOnChainBtcPubkey=l.assertOnChainBtcPubkey;exports.assertRegisteredPayoutScriptBounds=l.assertRegisteredPayoutScriptBounds;exports.derivePeginVaultId=l.derivePeginVaultId;exports.findRegistrationRecord=l.findRegistrationRecord;exports.isRegistrationLogsUnavailableError=l.isRegistrationLogsUnavailableError;exports.isVaultClaimableByNotFoundError=l.isVaultClaimableByNotFoundError;exports.registrationPrePeginTxHash=l.registrationPrePeginTxHash;exports.validateOffchainParams=l.validateOffchainParams;exports.validatePegInConfiguration=l.validatePegInConfiguration;exports.validateTBVProtocolParams=l.validateTBVProtocolParams;exports.ViemOperationKeyReader=C.ViemOperationKeyReader;exports.ViemUniversalChallengerReader=C.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=C.ViemVaultKeeperReader;exports.resolveProtocolAddresses=C.resolveProtocolAddresses;exports.COMMISSION_BPS_HEADROOM=A.COMMISSION_BPS_HEADROOM;exports.MAX_ACCEPTABLE_COMMISSION_BPS_CAP=A.MAX_ACCEPTABLE_COMMISSION_BPS_CAP;exports.ViemPeginRegistrationClient=A.ViemPeginRegistrationClient;exports.ViemVaultRegistryReader=A.ViemVaultRegistryReader;exports.capMaxAcceptableCommissionBps=A.capMaxAcceptableCommissionBps;exports.OnChainBtcVaultStatus=h.OnChainBtcVaultStatus;exports.ViemProtocolParamsReader=h.ViemProtocolParamsReader;exports.ApplicationRegistryABI=V.ApplicationRegistryABI;exports.BTCVaultRegistryABI=M.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=c.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=c.CONTRACT_ERRORS;exports.PEGIN_FINGERPRINT_CHANGED_SELECTOR=c.PEGIN_FINGERPRINT_CHANGED_SELECTOR;exports.PeginFingerprintChangedError=c.PeginFingerprintChangedError;exports.extractErrorData=c.extractErrorData;exports.getContractErrorMessage=c.getContractErrorMessage;exports.handleContractError=c.handleContractError;exports.isKnownContractError=c.isKnownContractError;exports.isPeginFingerprintChangedError=c.isPeginFingerprintChangedError;exports.ProtocolParamsABI=b.ProtocolParamsABI;exports.buildVaultContextInputForClaim=v.buildVaultContextInputForClaim;exports.VAULT_APP_NAME=S.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=S.buildFundingOutpointsCommitment;exports.buildVaultContext=S.buildVaultContext;exports.deriveVaultRoot=S.deriveVaultRoot;exports.forwardDeriveContextHash=S.forwardDeriveContextHash;exports.parseFundingOutpointsFromTx=D.parseFundingOutpointsFromTx;exports.calculateBtcTxHash=B.calculateBtcTxHash;exports.BitcoinScriptType=u.BitcoinScriptType;exports.applyChangeOutputPolicy=u.applyChangeOutputPolicy;exports.computeChangeOutputFeeSats=u.computeChangeOutputFeeSats;exports.computeMaxDeposit=u.computeMaxDeposit;exports.computePeginBaseFeeSats=u.computePeginBaseFeeSats;exports.getDustThreshold=u.getDustThreshold;exports.getPsbtInputFields=u.getPsbtInputFields;exports.getScriptType=u.getScriptType;exports.selectUtxosForPegin=u.selectUtxosForPegin;exports.shouldAddChangeOutput=u.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.isUnrecognizedDaemonStatusError=m.isUnrecognizedDaemonStatusError;exports.validateRequestDepositorClaimerArtifactsResponse=m.validateRequestDepositorClaimerArtifactsResponse;exports.AUTH_REJECTED_RPC_CODE=a.AUTH_REJECTED_RPC_CODE;exports.ClaimerPegoutStatusValue=a.ClaimerPegoutStatusValue;exports.DaemonStatus=a.DaemonStatus;exports.JSON_RPC_ERROR_CODES=a.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=a.JsonRpcClient;exports.JsonRpcError=a.JsonRpcError;exports.POST_WOTS_STATUSES=a.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=a.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=a.RpcErrorCode;exports.VP_BATCH_MAX_SIZE=a.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=a.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=a.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=a.isAuthRejectedError;exports.isPegoutTerminalStatus=a.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=a.isRecognizedPegoutStatus;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.assertClaimBatchHomogeneous=t.assertClaimBatchHomogeneous;exports.buildPeginParamsCandidates=t.buildPeginParamsCandidates;exports.computeFundedPrePeginFee=t.computeFundedPrePeginFee;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.isPeginFingerprintInputError=t.isPeginFingerprintInputError;exports.isWotsMismatchError=t.isWotsMismatchError;exports.orderClaimBatchByHtlcVout=t.orderClaimBatchByHtlcVout;exports.rebuildDepositTermsCore=t.rebuildDepositTermsCore;exports.rebuildDepositTermsForClaim=t.rebuildDepositTermsForClaim;exports.reconstructPeginParams=t.reconstructPeginParams;exports.selectSiblingRegistrations=t.selectSiblingRegistrations;exports.toRefundInputs=t.toRefundInputs;exports.ApplicationEntryPointMismatchError=e.ApplicationEntryPointMismatchError;exports.ArtifactsVaultMismatchError=e.ArtifactsVaultMismatchError;exports.AssertBindingError=e.AssertBindingError;exports.BABE_SESSION_PLACEHOLDER_DECRYPTOR_HEX=e.BABE_SESSION_PLACEHOLDER_DECRYPTOR_HEX;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ChallengerSetMismatchError=e.ChallengerSetMismatchError;exports.DELEGATED_CLAIM_TX_GRAPH_VERSION=e.DELEGATED_CLAIM_TX_GRAPH_VERSION;exports.DelegatedClaimSigningIncompleteError=e.DelegatedClaimSigningIncompleteError;exports.GraphFingerprintError=e.GraphFingerprintError;exports.PEGIN_ETH_CONFIRMATIONS=e.PEGIN_ETH_CONFIRMATIONS;exports.ParticipantKeyDriftError=e.ParticipantKeyDriftError;exports.PayoutDestinationError=e.PayoutDestinationError;exports.PayoutInputLeafError=e.PayoutInputLeafError;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.SigningPlanMismatchError=e.SigningPlanMismatchError;exports.VaultIdBindingError=e.VaultIdBindingError;exports.activateVault=e.activateVault;exports.activateVaultAndRedeem=e.activateVaultAndRedeem;exports.assembleWatchtowerArtifacts=e.assembleWatchtowerArtifacts;exports.assembleWatchtowerArtifactsFromSignatures=e.assembleWatchtowerArtifactsFromSignatures;exports.assertArtifactsUsableForVault=e.assertArtifactsUsableForVault;exports.assertAssertBindsClaimAndPayout=e.assertAssertBindsClaimAndPayout;exports.assertChallengerSetMatchesVault=e.assertChallengerSetMatchesVault;exports.assertClaimSpendsVault=e.assertClaimSpendsVault;exports.assertPayoutPaysRegisteredScript=e.assertPayoutPaysRegisteredScript;exports.assertReturnedGraphMatchesFingerprint=e.assertReturnedGraphMatchesFingerprint;exports.assertTermsMatchVault=e.assertTermsMatchVault;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastReclaim=e.buildAndBroadcastReclaim;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.copyAssertConnectorLeaf=e.copyAssertConnectorLeaf;exports.deriveClaimerWotsKeypair=e.deriveClaimerWotsKeypair;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.fingerprintReturnedGraph=e.fingerprintReturnedGraph;exports.isApplicationEntryPointMismatchError=e.isApplicationEntryPointMismatchError;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isHintAccepted=e.isHintAccepted;exports.isParticipantKeyDriftError=e.isParticipantKeyDriftError;exports.isPeginRegistrationMissingError=e.isPeginRegistrationMissingError;exports.isPeginRegistrationNotFinalError=e.isPeginRegistrationNotFinalError;exports.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.planDelegatedClaimSigning=e.planDelegatedClaimSigning;exports.readDelegatedClaimVaultContext=e.readDelegatedClaimVaultContext;exports.readStampedParticipantKeys=e.readStampedParticipantKeys;exports.resolveCurrentParticipantKeys=e.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=e.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDelegatedClaimPlan=e.signDelegatedClaimPlan;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.summarizeWatchtowerArtifacts=e.summarizeWatchtowerArtifacts;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=p.ContractStatus;exports.PeginAction=p.PeginAction;exports.activationDeadlineBlocksRemaining=p.activationDeadlineBlocksRemaining;exports.canPerformAction=p.canPerformAction;exports.getPeginProtocolState=p.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=p.isActivationDeadlinePassedOnChain;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../verifyScriptPathSchnorrSignature-D2t1yACC.cjs"),O=require("../../secp256k1-DDHQ1_za.cjs"),o=require("./wasm/index.cjs"),R=require("../../verifyKeyPathSchnorrSignature-CQUut2-O.cjs"),P=require("../../noPayout-DOHak0ui.cjs"),F=require("../../challengeAssert-Z7_YULBb.cjs"),r=require("../../bitcoin-D-O2GjbC.cjs"),y=require("../../abortSignals-msbmbqFe.cjs"),I=require("../../signing-DvISftFk.cjs"),E=require("../../validation-C6XTfZak.cjs"),N=require("./utils/eth/index.cjs"),_=require("../../PeginManager-PyKbfy5q.cjs"),d=require("../../PayoutManager-DOdsgcUR.cjs"),s=require("./clients/mempool/index.cjs"),l=require("../../registration-records-DFQgBaYi.cjs"),C=require("../../signer-set-reader-DFAu6I-v.cjs"),A=require("../../pegin-registration-client-C-abxMWq.cjs"),h=require("../../types-Bda75Od0.cjs"),V=require("../../ApplicationRegistry.abi-sMiTWmnL.cjs"),M=require("../../BTCVaultRegistry.abi-DffWFdpA.cjs"),u=require("../../BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs"),b=require("../../ProtocolParams.abi-CjrT0545.cjs"),v=require("../../VaultErrors.abi-DQ18kM0L.cjs"),D=require("../../buildVaultContextInputForClaim-9XZaqIiw.cjs"),S=require("../../deriveVaultRoot-C3uqnJto.cjs"),B=require("../../parseFundingOutpoints-C_-PT9BT.cjs"),U=require("../../btcTxHash-CGb5BqFL.cjs"),c=require("../../psbtInputFields-BrV_ZfL_.cjs"),i=require("../../fundPeginTransaction-54-Rwb2k.cjs"),T=require("../../reservation-ECxjZi5t.cjs"),m=require("../../index-DpjYs5yr.cjs"),a=require("../../state-C4WoNCy1.cjs"),g=require("../../primeVpAuth-BPj2TPdD.cjs"),t=require("../../toRefundInputs-BbAOOUg6.cjs"),e=require("../../buildAndBroadcastReclaim-Da8rD5Z7.cjs"),p=require("../../peginState-DUv10EJR.cjs");exports.PEGIN_DEPOSITOR_CLAIM_VOUT=n.PEGIN_DEPOSITOR_CLAIM_VOUT;exports.PsbtSubstitutionError=n.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=n.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=n.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=n.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=n.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=n.buildPrePeginPsbt;exports.computeNumLocalChallengers=n.computeNumLocalChallengers;exports.createPayoutScript=n.createPayoutScript;exports.deriveDepositorClaimDescriptor=n.deriveDepositorClaimDescriptor;exports.deriveDepositorClaimScriptPubKey=n.deriveDepositorClaimScriptPubKey;exports.extractPayoutSignature=n.extractPayoutSignature;exports.assertValidVaultCoreVersion=O.assertValidVaultCoreVersion;exports.attachFinalizedAssert=o.attachFinalizedAssert;exports.computeMinClaimValue=o.computeMinClaimValue;exports.computeMinPeginFee=o.computeMinPeginFee;exports.deriveVaultId=o.deriveVaultId;exports.expandAuthAnchor=o.expandAuthAnchor;exports.expandHashlockSecret=o.expandHashlockSecret;exports.expandWotsSeed=o.expandWotsSeed;exports.finalizePayout=o.finalizePayout;exports.finalizeWronglyChallenged=o.finalizeWronglyChallenged;exports.peginP2aAnchorOutput=o.peginP2aAnchorOutput;exports.pinPegoutProof=o.pinPegoutProof;exports.supportedTxGraphVersions=o.supportedTxGraphVersions;exports.validatePeginP2aAnchor=o.validatePeginP2aAnchor;exports.assertKeyPathSchnorrSignature=R.assertKeyPathSchnorrSignature;exports.assertReturnedKeyPathSignatures=R.assertReturnedKeyPathSignatures;exports.buildPeginInputPsbt=R.buildPeginInputPsbt;exports.extractPeginInputSignature=R.extractPeginInputSignature;exports.finalizePeginInputPsbt=R.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=F.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=y.combineAbortSignals;exports.createTaprootScriptPathSignOptions=I.createTaprootScriptPathSignOptions;exports.createTaprootScriptPathSignOptionsForInput=I.createTaprootScriptPathSignOptionsForInput;exports.BITCOIN_ADDRESS_RE=E.BITCOIN_ADDRESS_RE;exports.COMPRESSED_PUBKEY_HEX_LEN=E.COMPRESSED_PUBKEY_HEX_LEN;exports.HEX_RE=E.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=E.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=E.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=E.TXID_RE;exports.X_ONLY_PUBKEY_HEX_LEN=E.X_ONLY_PUBKEY_HEX_LEN;exports.waitForTransactionReceiptSmartAware=N.waitForTransactionReceiptSmartAware;exports.PeginManager=_.PeginManager;exports.buildDepositTerms=_.buildDepositTerms;exports.computeWotsBlockPublicKeysHash=_.computeWotsBlockPublicKeysHash;exports.deriveWotsBlocksFromSeed=_.deriveWotsBlocksFromSeed;exports.ensurePrePeginTermsApproval=_.ensurePrePeginTermsApproval;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.MempoolNotFoundError=s.MempoolNotFoundError;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.RegistrationLogsUnavailableError=l.RegistrationLogsUnavailableError;exports.VaultClaimableByNotFoundError=l.VaultClaimableByNotFoundError;exports.assertOnChainBtcPubkey=l.assertOnChainBtcPubkey;exports.assertRegisteredPayoutScriptBounds=l.assertRegisteredPayoutScriptBounds;exports.derivePeginVaultId=l.derivePeginVaultId;exports.findRegistrationRecord=l.findRegistrationRecord;exports.isRegistrationLogsUnavailableError=l.isRegistrationLogsUnavailableError;exports.isVaultClaimableByNotFoundError=l.isVaultClaimableByNotFoundError;exports.registrationPrePeginTxHash=l.registrationPrePeginTxHash;exports.validateOffchainParams=l.validateOffchainParams;exports.validatePegInConfiguration=l.validatePegInConfiguration;exports.validateTBVProtocolParams=l.validateTBVProtocolParams;exports.ViemOperationKeyReader=C.ViemOperationKeyReader;exports.ViemUniversalChallengerReader=C.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=C.ViemVaultKeeperReader;exports.resolveProtocolAddresses=C.resolveProtocolAddresses;exports.COMMISSION_BPS_HEADROOM=A.COMMISSION_BPS_HEADROOM;exports.MAX_ACCEPTABLE_COMMISSION_BPS_CAP=A.MAX_ACCEPTABLE_COMMISSION_BPS_CAP;exports.ViemPeginRegistrationClient=A.ViemPeginRegistrationClient;exports.ViemVaultRegistryReader=A.ViemVaultRegistryReader;exports.capMaxAcceptableCommissionBps=A.capMaxAcceptableCommissionBps;exports.OnChainBtcVaultStatus=h.OnChainBtcVaultStatus;exports.ViemProtocolParamsReader=h.ViemProtocolParamsReader;exports.ApplicationRegistryABI=V.ApplicationRegistryABI;exports.BTCVaultRegistryABI=M.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=u.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=u.CONTRACT_ERRORS;exports.EMPTY_REVERT_MESSAGE=u.EMPTY_REVERT_MESSAGE;exports.PEGIN_FINGERPRINT_CHANGED_SELECTOR=u.PEGIN_FINGERPRINT_CHANGED_SELECTOR;exports.PeginFingerprintChangedError=u.PeginFingerprintChangedError;exports.extractErrorData=u.extractErrorData;exports.getContractErrorMessage=u.getContractErrorMessage;exports.handleContractError=u.handleContractError;exports.isKnownContractError=u.isKnownContractError;exports.isPeginFingerprintChangedError=u.isPeginFingerprintChangedError;exports.ProtocolParamsABI=b.ProtocolParamsABI;exports.VAULT_ERROR_ABI=v.VAULT_ERROR_ABI;exports.buildVaultContextInputForClaim=D.buildVaultContextInputForClaim;exports.VAULT_APP_NAME=S.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=S.buildFundingOutpointsCommitment;exports.buildVaultContext=S.buildVaultContext;exports.deriveVaultRoot=S.deriveVaultRoot;exports.forwardDeriveContextHash=S.forwardDeriveContextHash;exports.parseFundingOutpointsFromTx=B.parseFundingOutpointsFromTx;exports.calculateBtcTxHash=U.calculateBtcTxHash;exports.BitcoinScriptType=c.BitcoinScriptType;exports.applyChangeOutputPolicy=c.applyChangeOutputPolicy;exports.computeChangeOutputFeeSats=c.computeChangeOutputFeeSats;exports.computeMaxDeposit=c.computeMaxDeposit;exports.computePeginBaseFeeSats=c.computePeginBaseFeeSats;exports.getDustThreshold=c.getDustThreshold;exports.getPsbtInputFields=c.getPsbtInputFields;exports.getScriptType=c.getScriptType;exports.selectUtxosForPegin=c.selectUtxosForPegin;exports.shouldAddChangeOutput=c.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.isUnrecognizedDaemonStatusError=m.isUnrecognizedDaemonStatusError;exports.validateRequestDepositorClaimerArtifactsResponse=m.validateRequestDepositorClaimerArtifactsResponse;exports.AUTH_REJECTED_RPC_CODE=a.AUTH_REJECTED_RPC_CODE;exports.ClaimerPegoutStatusValue=a.ClaimerPegoutStatusValue;exports.DaemonStatus=a.DaemonStatus;exports.JSON_RPC_ERROR_CODES=a.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=a.JsonRpcClient;exports.JsonRpcError=a.JsonRpcError;exports.POST_WOTS_STATUSES=a.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=a.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=a.RpcErrorCode;exports.VP_BATCH_MAX_SIZE=a.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=a.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=a.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=a.isAuthRejectedError;exports.isPegoutTerminalStatus=a.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=a.isRecognizedPegoutStatus;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.assertClaimBatchHomogeneous=t.assertClaimBatchHomogeneous;exports.buildPeginParamsCandidates=t.buildPeginParamsCandidates;exports.computeFundedPrePeginFee=t.computeFundedPrePeginFee;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.isPeginFingerprintInputError=t.isPeginFingerprintInputError;exports.isWotsMismatchError=t.isWotsMismatchError;exports.orderClaimBatchByHtlcVout=t.orderClaimBatchByHtlcVout;exports.rebuildDepositTermsCore=t.rebuildDepositTermsCore;exports.rebuildDepositTermsForClaim=t.rebuildDepositTermsForClaim;exports.reconstructPeginParams=t.reconstructPeginParams;exports.selectSiblingRegistrations=t.selectSiblingRegistrations;exports.toRefundInputs=t.toRefundInputs;exports.ApplicationEntryPointMismatchError=e.ApplicationEntryPointMismatchError;exports.ArtifactsVaultMismatchError=e.ArtifactsVaultMismatchError;exports.AssertBindingError=e.AssertBindingError;exports.BABE_SESSION_PLACEHOLDER_DECRYPTOR_HEX=e.BABE_SESSION_PLACEHOLDER_DECRYPTOR_HEX;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ChallengerSetMismatchError=e.ChallengerSetMismatchError;exports.DELEGATED_CLAIM_TX_GRAPH_VERSION=e.DELEGATED_CLAIM_TX_GRAPH_VERSION;exports.DelegatedClaimSigningIncompleteError=e.DelegatedClaimSigningIncompleteError;exports.GraphFingerprintError=e.GraphFingerprintError;exports.PEGIN_ETH_CONFIRMATIONS=e.PEGIN_ETH_CONFIRMATIONS;exports.ParticipantKeyDriftError=e.ParticipantKeyDriftError;exports.PayoutDestinationError=e.PayoutDestinationError;exports.PayoutInputLeafError=e.PayoutInputLeafError;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.SigningPlanMismatchError=e.SigningPlanMismatchError;exports.VaultIdBindingError=e.VaultIdBindingError;exports.activateVault=e.activateVault;exports.activateVaultAndRedeem=e.activateVaultAndRedeem;exports.assembleWatchtowerArtifacts=e.assembleWatchtowerArtifacts;exports.assembleWatchtowerArtifactsFromSignatures=e.assembleWatchtowerArtifactsFromSignatures;exports.assertArtifactsUsableForVault=e.assertArtifactsUsableForVault;exports.assertAssertBindsClaimAndPayout=e.assertAssertBindsClaimAndPayout;exports.assertChallengerSetMatchesVault=e.assertChallengerSetMatchesVault;exports.assertClaimSpendsVault=e.assertClaimSpendsVault;exports.assertPayoutPaysRegisteredScript=e.assertPayoutPaysRegisteredScript;exports.assertReturnedGraphMatchesFingerprint=e.assertReturnedGraphMatchesFingerprint;exports.assertTermsMatchVault=e.assertTermsMatchVault;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastReclaim=e.buildAndBroadcastReclaim;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.copyAssertConnectorLeaf=e.copyAssertConnectorLeaf;exports.deriveClaimerWotsKeypair=e.deriveClaimerWotsKeypair;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.fingerprintReturnedGraph=e.fingerprintReturnedGraph;exports.isApplicationEntryPointMismatchError=e.isApplicationEntryPointMismatchError;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isHintAccepted=e.isHintAccepted;exports.isParticipantKeyDriftError=e.isParticipantKeyDriftError;exports.isPeginRegistrationMissingError=e.isPeginRegistrationMissingError;exports.isPeginRegistrationNotFinalError=e.isPeginRegistrationNotFinalError;exports.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.planDelegatedClaimSigning=e.planDelegatedClaimSigning;exports.readDelegatedClaimVaultContext=e.readDelegatedClaimVaultContext;exports.readStampedParticipantKeys=e.readStampedParticipantKeys;exports.resolveCurrentParticipantKeys=e.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=e.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDelegatedClaimPlan=e.signDelegatedClaimPlan;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.summarizeWatchtowerArtifacts=e.summarizeWatchtowerArtifacts;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=p.ContractStatus;exports.PeginAction=p.PeginAction;exports.activationDeadlineBlocksRemaining=p.activationDeadlineBlocksRemaining;exports.canPerformAction=p.canPerformAction;exports.getPeginProtocolState=p.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=p.isActivationDeadlinePassedOnChain;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|