@babylonlabs-io/ts-sdk 6.1.0 → 6.2.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.
- package/dist/{BTCVaultRegistry.abi-DnP4UkB5.js → BTCVaultRegistry.abi-C19m1l4i.js} +42 -1
- package/dist/{BTCVaultRegistry.abi-DnP4UkB5.js.map → BTCVaultRegistry.abi-C19m1l4i.js.map} +1 -1
- package/dist/{BTCVaultRegistry.abi-DzbfZ9_s.cjs → BTCVaultRegistry.abi-C4bQi-H9.cjs} +2 -2
- package/dist/{BTCVaultRegistry.abi-DzbfZ9_s.cjs.map → BTCVaultRegistry.abi-C4bQi-H9.cjs.map} +1 -1
- package/dist/{PeginManager-CdYTFgrY.cjs → PeginManager-BNJUATq2.cjs} +2 -2
- package/dist/{PeginManager-CdYTFgrY.cjs.map → PeginManager-BNJUATq2.cjs.map} +1 -1
- package/dist/{PeginManager-BvIZvqLp.js → PeginManager-p88tE5r2.js} +2 -2
- package/dist/{PeginManager-BvIZvqLp.js.map → PeginManager-p88tE5r2.js.map} +1 -1
- package/dist/ProtocolParams.abi-DzjpPHcl.cjs +2 -0
- package/dist/ProtocolParams.abi-DzjpPHcl.cjs.map +1 -0
- package/dist/{ProtocolParams.abi-CuDl7AuC.js → ProtocolParams.abi-vMl0TZ2q.js} +6 -1
- package/dist/ProtocolParams.abi-vMl0TZ2q.js.map +1 -0
- package/dist/VaultErrors.abi-BIY0p6Wn.js +5 -0
- package/dist/{VaultErrors.abi-Dc3UnB_h.js.map → VaultErrors.abi-BIY0p6Wn.js.map} +1 -1
- package/dist/VaultErrors.abi-BV0qeG6M.cjs +2 -0
- package/dist/{VaultErrors.abi-Hjn1CdLs.cjs.map → VaultErrors.abi-BV0qeG6M.cjs.map} +1 -1
- package/dist/{buildAndBroadcastReclaim-CMjlyooo.cjs → buildAndBroadcastReclaim-Blxt7B0K.cjs} +2 -2
- package/dist/{buildAndBroadcastReclaim-CMjlyooo.cjs.map → buildAndBroadcastReclaim-Blxt7B0K.cjs.map} +1 -1
- package/dist/{buildAndBroadcastReclaim-D8l-QJWo.js → buildAndBroadcastReclaim-C2CkzCVn.js} +3 -3
- package/dist/{buildAndBroadcastReclaim-D8l-QJWo.js.map → buildAndBroadcastReclaim-C2CkzCVn.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +9 -9
- package/dist/{pegin-registration-client-Yc-Qs5kq.js → pegin-registration-client-B8A4P-Vv.js} +2 -2
- package/dist/{pegin-registration-client-Yc-Qs5kq.js.map → pegin-registration-client-B8A4P-Vv.js.map} +1 -1
- package/dist/{pegin-registration-client-Cdgp5Ge_.cjs → pegin-registration-client-JtZkosZQ.cjs} +2 -2
- package/dist/{pegin-registration-client-Cdgp5Ge_.cjs.map → pegin-registration-client-JtZkosZQ.cjs.map} +1 -1
- package/dist/{signer-set-reader-Csz8RXQi.js → signer-set-reader-BJ3g6rid.js} +3 -3
- package/dist/{signer-set-reader-Csz8RXQi.js.map → signer-set-reader-BJ3g6rid.js.map} +1 -1
- package/dist/{signer-set-reader-CNEfzwuA.cjs → signer-set-reader-C8xSyTMb.cjs} +2 -2
- package/dist/{signer-set-reader-CNEfzwuA.cjs.map → signer-set-reader-C8xSyTMb.cjs.map} +1 -1
- package/dist/tbv/core/clients/eth/index.cjs +1 -1
- package/dist/tbv/core/clients/eth/index.js +3 -3
- package/dist/tbv/core/clients/eth/protocol-params-reader.d.ts +1 -1
- package/dist/tbv/core/clients/eth/protocol-params-reader.d.ts.map +1 -1
- package/dist/tbv/core/clients/eth/types.d.ts +11 -1
- package/dist/tbv/core/clients/eth/types.d.ts.map +1 -1
- package/dist/tbv/core/clients/index.cjs +1 -1
- package/dist/tbv/core/clients/index.js +3 -3
- package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts +34 -0
- package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/abis/ProtocolParams.abi.d.ts +4 -0
- package/dist/tbv/core/contracts/abis/ProtocolParams.abi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/abis/vaultErrors.abi.json.d.ts +1 -1
- package/dist/tbv/core/contracts/index.cjs +1 -1
- package/dist/tbv/core/contracts/index.js +3 -3
- package/dist/tbv/core/index.cjs +1 -1
- package/dist/tbv/core/index.js +9 -9
- 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/index.cjs +1 -1
- package/dist/tbv/index.js +9 -9
- package/dist/{toRefundInputs-CPtK0OgP.js → toRefundInputs-CZ9aqp2o.js} +2 -2
- package/dist/{toRefundInputs-CPtK0OgP.js.map → toRefundInputs-CZ9aqp2o.js.map} +1 -1
- package/dist/{toRefundInputs-DYVCJ2SN.cjs → toRefundInputs-CzZujjq-.cjs} +2 -2
- package/dist/{toRefundInputs-DYVCJ2SN.cjs.map → toRefundInputs-CzZujjq-.cjs.map} +1 -1
- package/dist/types-Bt1FM6d8.cjs +2 -0
- package/dist/types-Bt1FM6d8.cjs.map +1 -0
- package/dist/{types-K_aM5GZO.js → types-D7p5jFlm.js} +135 -62
- package/dist/types-D7p5jFlm.js.map +1 -0
- package/package.json +1 -1
- package/dist/ProtocolParams.abi-CuDl7AuC.js.map +0 -1
- package/dist/ProtocolParams.abi-DWfIh6VH.cjs +0 -2
- package/dist/ProtocolParams.abi-DWfIh6VH.cjs.map +0 -1
- package/dist/VaultErrors.abi-Dc3UnB_h.js +0 -5
- package/dist/VaultErrors.abi-Hjn1CdLs.cjs +0 -2
- package/dist/types-BnZIbDHb.cjs +0 -2
- package/dist/types-BnZIbDHb.cjs.map +0 -1
- package/dist/types-K_aM5GZO.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../registration-records-CKc0OVuK.cjs"),a=require("../../../../signer-set-reader-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../registration-records-CKc0OVuK.cjs"),a=require("../../../../signer-set-reader-C8xSyTMb.cjs"),r=require("../../../../pegin-registration-client-JtZkosZQ.cjs"),i=require("../../../../types-Bt1FM6d8.cjs"),t=require("../../../../secp256k1-DDHQ1_za.cjs");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=r.ViemPeginRegistrationClient;exports.ViemVaultRegistryReader=r.ViemVaultRegistryReader;exports.OnChainBtcVaultStatus=i.OnChainBtcVaultStatus;exports.ViemProtocolParamsReader=i.ViemProtocolParamsReader;exports.assertValidVaultCoreVersion=t.assertValidVaultCoreVersion;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
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-D39ApuHS.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-
|
|
4
|
-
import { O as B, V as y } from "../../../../types-
|
|
2
|
+
import { V as c, a as f, b as v, r as p } from "../../../../signer-set-reader-BJ3g6rid.js";
|
|
3
|
+
import { V as b, a as h } from "../../../../pegin-registration-client-B8A4P-Vv.js";
|
|
4
|
+
import { O as B, V as y } from "../../../../types-D7p5jFlm.js";
|
|
5
5
|
import { a as E } from "../../../../secp256k1-BuxBFUHm.js";
|
|
6
6
|
export {
|
|
7
7
|
B as OnChainBtcVaultStatus,
|
|
@@ -30,7 +30,7 @@ export declare class ViemProtocolParamsReader implements ProtocolParamsReader {
|
|
|
30
30
|
private publicClient;
|
|
31
31
|
private contractAddress;
|
|
32
32
|
constructor(publicClient: PublicClient, contractAddress: Address);
|
|
33
|
-
getTBVProtocolParams(): Promise<TBVProtocolParams>;
|
|
33
|
+
getTBVProtocolParams(blockNumber?: bigint): Promise<TBVProtocolParams>;
|
|
34
34
|
private tbvParamsCalls;
|
|
35
35
|
getLatestOffchainParams(): Promise<VersionedOffchainParams>;
|
|
36
36
|
getOffchainParamsByVersion(version: number): Promise<VersionedOffchainParams>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol-params-reader.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/clients/eth/protocol-params-reader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAO,OAAO,EAAO,YAAY,EAAE,MAAM,MAAM,CAAC;AAS5D,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"protocol-params-reader.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/clients/eth/protocol-params-reader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAO,OAAO,EAAO,YAAY,EAAE,MAAM,MAAM,CAAC;AAS5D,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAqOjB;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAOlE;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,wBAAyB,YAAW,oBAAoB;IAEjE,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,eAAe;gBADf,YAAY,EAAE,YAAY,EAC1B,eAAe,EAAE,OAAO;IAG5B,oBAAoB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAiB5E,OAAO,CAAC,cAAc;IAoBhB,uBAAuB,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAY3D,0BAA0B,CAC9B,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,uBAAuB,CAAC;IAa7B,8BAA8B,IAAI,OAAO,CAAC,MAAM,CAAC;IAWjD,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKjE;;;;;;;;;OASG;IACG,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC;IAchD;;;;;;;;;;;OAWG;IACG,qBAAqB,CACzB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,kBAAkB,CAAC;IAoD9B;;;;;;;;;OASG;IACG,sBAAsB,CAC1B,gBAAgB,CAAC,EAAE,8BAA8B,GAChD,OAAO,CAAC,qBAAqB,CAAC;CAqClC"}
|
|
@@ -316,6 +316,11 @@ export interface TBVProtocolParams {
|
|
|
316
316
|
* funding-input bound.
|
|
317
317
|
*/
|
|
318
318
|
maxFundingInputCount: number | null;
|
|
319
|
+
/**
|
|
320
|
+
* Source: `IProtocolParams.TBVProtocolParams.minActivationGas`; minimum gas at
|
|
321
|
+
* activation entry. `null` means the deployment predates the field.
|
|
322
|
+
*/
|
|
323
|
+
minActivationGas: bigint | null;
|
|
319
324
|
}
|
|
320
325
|
/**
|
|
321
326
|
* Versioned offchain parameters from the ProtocolParams contract.
|
|
@@ -351,6 +356,11 @@ export interface PegInConfiguration {
|
|
|
351
356
|
maxHtlcOutputCount: number;
|
|
352
357
|
expiredPegInGraceBlocks: bigint;
|
|
353
358
|
maxFundingInputCount: number | null;
|
|
359
|
+
/**
|
|
360
|
+
* Source: `IProtocolParams.TBVProtocolParams.minActivationGas`; minimum gas at
|
|
361
|
+
* activation entry. `null` means the deployment predates the field.
|
|
362
|
+
*/
|
|
363
|
+
minActivationGas: bigint | null;
|
|
354
364
|
timelockPegin: number;
|
|
355
365
|
timelockRefund: number;
|
|
356
366
|
maxVpCommissionBps: number;
|
|
@@ -389,7 +399,7 @@ export interface AllOffchainParamsData {
|
|
|
389
399
|
export type OnSkippedOffchainParamsVersion = (version: number, error: Error) => void;
|
|
390
400
|
/** Interface for reading protocol parameters from the ProtocolParams contract. */
|
|
391
401
|
export interface ProtocolParamsReader {
|
|
392
|
-
getTBVProtocolParams(): Promise<TBVProtocolParams>;
|
|
402
|
+
getTBVProtocolParams(blockNumber?: bigint): Promise<TBVProtocolParams>;
|
|
393
403
|
getOffchainParamsByVersion(version: number): Promise<VersionedOffchainParams>;
|
|
394
404
|
getLatestOffchainParams(): Promise<VersionedOffchainParams>;
|
|
395
405
|
getLatestOffchainParamsVersion(): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/clients/eth/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAMzC,OAAO,CAAC,MAAM,qBAAqB,EAAE,OAAO,MAAM,CAAC;A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,EACxB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B;;;OAGG;IACH,wBAAwB,CACtB,KAAK,EAAE,iBAAiB,EACxB,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B;;;;;;;;OAQG;IACH,wBAAwB,CACtB,KAAK,EAAE,iBAAiB,EACxB,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC9B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./mempool/index.cjs"),e=require("../../../registration-records-CKc0OVuK.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-CKc0OVuK.cjs"),a=require("../../../signer-set-reader-C8xSyTMb.cjs"),s=require("../../../pegin-registration-client-JtZkosZQ.cjs"),n=require("../../../types-Bt1FM6d8.cjs"),l=require("../../../secp256k1-DDHQ1_za.cjs"),o=require("../../../index-Dn7RlsKK.cjs"),t=require("../../../state-C4WoNCy1.cjs"),i=require("../../../primeVpAuth-Ch-ig2My.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,8 +1,8 @@
|
|
|
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-D39ApuHS.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-
|
|
5
|
-
import { O as L, V as M } from "../../../types-
|
|
3
|
+
import { V as y, a as I, b as h, r as b } from "../../../signer-set-reader-BJ3g6rid.js";
|
|
4
|
+
import { V as N, a as D } from "../../../pegin-registration-client-B8A4P-Vv.js";
|
|
5
|
+
import { O as L, V as M } from "../../../types-D7p5jFlm.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-B-9aXMxk.js";
|
|
8
8
|
import { A as W, D as X, J as Z, a as Q, b as Y, d as $, P as ee, R as ae, e as re, c as se, V as te, i as oe } from "../../../state-CFn1rT74.js";
|
|
@@ -766,6 +766,10 @@ export declare const BTCVaultRegistryABI: readonly [{
|
|
|
766
766
|
readonly type: "error";
|
|
767
767
|
readonly name: "ActivationDeadlineExpired";
|
|
768
768
|
readonly inputs: readonly [];
|
|
769
|
+
}, {
|
|
770
|
+
readonly type: "error";
|
|
771
|
+
readonly name: "InsufficientGasForActivation";
|
|
772
|
+
readonly inputs: readonly [];
|
|
769
773
|
}, {
|
|
770
774
|
readonly type: "error";
|
|
771
775
|
readonly name: "ActivationDelayNotElapsed";
|
|
@@ -938,5 +942,35 @@ export declare const BTCVaultRegistryABI: readonly [{
|
|
|
938
942
|
readonly internalType: "uint16";
|
|
939
943
|
}];
|
|
940
944
|
readonly anonymous: false;
|
|
945
|
+
}, {
|
|
946
|
+
readonly type: "event";
|
|
947
|
+
readonly name: "PeginActivated";
|
|
948
|
+
readonly inputs: readonly [{
|
|
949
|
+
readonly name: "vaultId";
|
|
950
|
+
readonly type: "bytes32";
|
|
951
|
+
readonly indexed: true;
|
|
952
|
+
readonly internalType: "bytes32";
|
|
953
|
+
}, {
|
|
954
|
+
readonly name: "depositor";
|
|
955
|
+
readonly type: "address";
|
|
956
|
+
readonly indexed: true;
|
|
957
|
+
readonly internalType: "address";
|
|
958
|
+
}, {
|
|
959
|
+
readonly name: "secret";
|
|
960
|
+
readonly type: "bytes32";
|
|
961
|
+
readonly indexed: false;
|
|
962
|
+
readonly internalType: "bytes32";
|
|
963
|
+
}];
|
|
964
|
+
readonly anonymous: false;
|
|
965
|
+
}, {
|
|
966
|
+
readonly type: "event";
|
|
967
|
+
readonly name: "ActivationFailed";
|
|
968
|
+
readonly inputs: readonly [{
|
|
969
|
+
readonly name: "data";
|
|
970
|
+
readonly type: "bytes";
|
|
971
|
+
readonly indexed: false;
|
|
972
|
+
readonly internalType: "bytes";
|
|
973
|
+
}];
|
|
974
|
+
readonly anonymous: false;
|
|
941
975
|
}];
|
|
942
976
|
//# sourceMappingURL=BTCVaultRegistry.abi.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA64BtB,CAAC"}
|
|
@@ -56,6 +56,10 @@ export declare const ProtocolParamsABI: readonly [{
|
|
|
56
56
|
readonly name: "maxFundingInputCount";
|
|
57
57
|
readonly type: "uint8";
|
|
58
58
|
readonly internalType: "uint8";
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "minActivationGas";
|
|
61
|
+
readonly type: "uint64";
|
|
62
|
+
readonly internalType: "uint64";
|
|
59
63
|
}];
|
|
60
64
|
}];
|
|
61
65
|
readonly stateMutability: "view";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProtocolParams.abi.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/contracts/abis/ProtocolParams.abi.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"ProtocolParams.abi.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/contracts/abis/ProtocolParams.abi.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwXpB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: [{"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":"AlreadyFrozen","inputs":[]},{"type":"error","name":"AlreadyPaused","inputs":[]},{"type":"error","name":"AmountBelowMinimumThreshold","inputs":[{"name":"actual","type":"uint256"},{"name":"minimum","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":"CommissionAboveMaximum","inputs":[{"name":"provided","type":"uint16"},{"name":"maximum","type":"uint16"}]},{"type":"error","name":"CommissionBelowMinimum","inputs":[{"name":"provided","type":"uint16"},{"name":"minimum","type":"uint16"}]},{"type":"error","name":"CommissionUnchanged","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":"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":"EnforcedFreeze","inputs":[]},{"type":"error","name":"EnforcedPause","inputs":[]},{"type":"error","name":"EthKeyAlreadyRegistered","inputs":[]},{"type":"error","name":"ExcessiveExitBtcPayment","inputs":[]},{"type":"error","name":"FailedCall","inputs":[]},{"type":"error","name":"FailedDeployment","inputs":[]},{"type":"error","name":"HealthFactorBelowThreshold","inputs":[]},{"type":"error","name":"HealthFactorNotBelowThreshold","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":"InsufficientExitBtcForFee","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":"InvalidLiquidationConfig","inputs":[]},{"type":"error","name":"InvalidLiquidationFee","inputs":[]},{"type":"error","name":"InvalidLiquidityFee","inputs":[]},{"type":"error","name":"InvalidMaxUserReservesLimit","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":"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":"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":"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":"NotFrozen","inputs":[]},{"type":"error","name":"NotInitializing","inputs":[]},{"type":"error","name":"NotPaused","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":"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":"SpokeLiquidationManagerNotSetProperly","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":"UnsupportedBorrowableCollateral","inputs":[]},{"type":"error","name":"UnsupportedCollateralReserve","inputs":[]},{"type":"error","name":"UnsupportedFeeToken","inputs":[]},{"type":"error","name":"UnsupportedLiquidationCall","inputs":[]},{"type":"error","name":"UnsupportedLiquidationFee","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":"VaultDebtRepaymentExceeded","inputs":[]},{"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":[]}]
|
|
1
|
+
declare const _default: [{"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":"AlreadyFrozen","inputs":[]},{"type":"error","name":"AlreadyPaused","inputs":[]},{"type":"error","name":"AmountBelowMinimumThreshold","inputs":[{"name":"actual","type":"uint256"},{"name":"minimum","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":"CommissionAboveMaximum","inputs":[{"name":"provided","type":"uint16"},{"name":"maximum","type":"uint16"}]},{"type":"error","name":"CommissionBelowMinimum","inputs":[{"name":"provided","type":"uint16"},{"name":"minimum","type":"uint16"}]},{"type":"error","name":"CommissionUnchanged","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":"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":"EnforcedFreeze","inputs":[]},{"type":"error","name":"EnforcedPause","inputs":[]},{"type":"error","name":"EthKeyAlreadyRegistered","inputs":[]},{"type":"error","name":"ExcessiveExitBtcPayment","inputs":[]},{"type":"error","name":"FailedCall","inputs":[]},{"type":"error","name":"FailedDeployment","inputs":[]},{"type":"error","name":"HealthFactorBelowThreshold","inputs":[]},{"type":"error","name":"HealthFactorNotBelowThreshold","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":"InsufficientGasForActivation","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":"InvalidLiquidationConfig","inputs":[]},{"type":"error","name":"InvalidLiquidationFee","inputs":[]},{"type":"error","name":"InvalidLiquidityFee","inputs":[]},{"type":"error","name":"InvalidMaxUserReservesLimit","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":"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":"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":"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":"NotFrozen","inputs":[]},{"type":"error","name":"NotInitializing","inputs":[]},{"type":"error","name":"NotPaused","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":"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":"SpokeLiquidationManagerNotSetProperly","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":"UnsupportedBorrowableCollateral","inputs":[]},{"type":"error","name":"UnsupportedCollateralReserve","inputs":[]},{"type":"error","name":"UnsupportedLiquidationCall","inputs":[]},{"type":"error","name":"UnsupportedLiquidationFee","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":"VaultDebtRepaymentExceeded","inputs":[]},{"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
2
|
;
|
|
3
3
|
|
|
4
4
|
export default _default;
|
|
@@ -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-C4bQi-H9.cjs"),r=require("../../../BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs"),o=require("../../../ProtocolParams.abi-DzjpPHcl.cjs"),i=require("../../../VaultErrors.abi-BV0qeG6M.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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as o } from "../../../ApplicationRegistry.abi-s8cQ1ooR.js";
|
|
2
|
-
import { B as s } from "../../../BTCVaultRegistry.abi-
|
|
2
|
+
import { B as s } from "../../../BTCVaultRegistry.abi-C19m1l4i.js";
|
|
3
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-
|
|
5
|
-
import { V as c } from "../../../VaultErrors.abi-
|
|
4
|
+
import { P as I } from "../../../ProtocolParams.abi-vMl0TZ2q.js";
|
|
5
|
+
import { V as c } from "../../../VaultErrors.abi-BIY0p6Wn.js";
|
|
6
6
|
export {
|
|
7
7
|
o as ApplicationRegistryABI,
|
|
8
8
|
s as BTCVaultRegistryABI,
|
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-p3sVoWQi.cjs"),O=require("../../secp256k1-DDHQ1_za.cjs"),o=require("./wasm/index.cjs"),R=require("../../verifyKeyPathSchnorrSignature-B7Za6aa1.cjs"),E=require("../../challengeAssert-DlzX_kjF.cjs"),y=require("../../verifyPeginHashlockSpend-CisfqMuT.cjs"),r=require("../../bitcoin-D-O2GjbC.cjs"),F=require("../../abortSignals-msbmbqFe.cjs"),I=require("../../signing-DvISftFk.cjs"),P=require("../../validation-C6XTfZak.cjs"),V=require("./utils/eth/index.cjs"),_=require("../../PeginManager-CdYTFgrY.cjs"),d=require("../../PayoutManager-PQqeqX41.cjs"),s=require("./clients/mempool/index.cjs"),l=require("../../registration-records-CKc0OVuK.cjs"),C=require("../../signer-set-reader-CNEfzwuA.cjs"),A=require("../../pegin-registration-client-Cdgp5Ge_.cjs"),h=require("../../types-BnZIbDHb.cjs"),N=require("../../ApplicationRegistry.abi-sMiTWmnL.cjs"),M=require("../../BTCVaultRegistry.abi-DzbfZ9_s.cjs"),u=require("../../BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs"),b=require("../../ProtocolParams.abi-DWfIh6VH.cjs"),v=require("../../VaultErrors.abi-Hjn1CdLs.cjs"),D=require("../../buildVaultContextInputForClaim-9XZaqIiw.cjs"),S=require("../../deriveVaultRoot-C3uqnJto.cjs"),U=require("../../parseFundingOutpoints-C_-PT9BT.cjs"),B=require("../../btcTxHash-CGb5BqFL.cjs"),c=require("../../psbtInputFields-BrV_ZfL_.cjs"),i=require("../../fundPeginTransaction-54-Rwb2k.cjs"),T=require("../../reservation-D9ftyiwP.cjs"),m=require("../../index-Dn7RlsKK.cjs"),a=require("../../state-C4WoNCy1.cjs"),p=require("../../primeVpAuth-Ch-ig2My.cjs"),t=require("../../toRefundInputs-DYVCJ2SN.cjs"),e=require("../../buildAndBroadcastReclaim-CMjlyooo.cjs"),g=require("../../peginState-B4t_PDgj.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.buildChallengeAssertPsbt=E.buildChallengeAssertPsbt;exports.buildNoPayoutPsbt=E.buildNoPayoutPsbt;exports.buildReclaimPsbt=E.buildReclaimPsbt;exports.buildRefundPsbt=E.buildRefundPsbt;exports.estimateReclaimFeeSats=E.estimateReclaimFeeSats;exports.finalizeScriptPathWithSignatures=E.finalizeScriptPathWithSignatures;exports.reclaimVsize=E.reclaimVsize;exports.verifyPeginHashlockSpend=y.verifyPeginHashlockSpend;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=F.combineAbortSignals;exports.createTaprootScriptPathSignOptions=I.createTaprootScriptPathSignOptions;exports.createTaprootScriptPathSignOptionsForInput=I.createTaprootScriptPathSignOptionsForInput;exports.BITCOIN_ADDRESS_RE=P.BITCOIN_ADDRESS_RE;exports.COMPRESSED_PUBKEY_HEX_LEN=P.COMPRESSED_PUBKEY_HEX_LEN;exports.HEX_RE=P.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=P.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=P.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=P.TXID_RE;exports.X_ONLY_PUBKEY_HEX_LEN=P.X_ONLY_PUBKEY_HEX_LEN;exports.waitForTransactionReceiptSmartAware=V.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=N.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=U.parseFundingOutpointsFromTx;exports.calculateBtcTxHash=B.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=p.ServerIdentityError;exports.VpTokenRegistry=p.VpTokenRegistry;exports.createAuthenticatedVpClient=p.createAuthenticatedVpClient;exports.primeVpTokenRegistry=p.primeVpTokenRegistry;exports.verifyServerIdentity=p.verifyServerIdentity;exports.vpTokenRegistry=p.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.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.RefundBroadcastRejectedError=e.RefundBroadcastRejectedError;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;exports.SigningPlanMismatchError=e.SigningPlanMismatchError;exports.UnsupportedPayoutScriptError=e.UnsupportedPayoutScriptError;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.assertStandardPayoutScriptsAtEpochs=e.assertStandardPayoutScriptsAtEpochs;exports.assertTermsMatchVault=e.assertTermsMatchVault;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastReclaim=e.buildAndBroadcastReclaim;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.claimExpiredVault=e.claimExpiredVault;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.isUnsupportedPayoutScriptError=e.isUnsupportedPayoutScriptError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.planDelegatedClaimSigning=e.planDelegatedClaimSigning;exports.readDelegatedClaimVaultContext=e.readDelegatedClaimVaultContext;exports.readRefundPrePeginContext=e.readRefundPrePeginContext;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=g.ContractStatus;exports.PeginAction=g.PeginAction;exports.activationDeadlineBlocksRemaining=g.activationDeadlineBlocksRemaining;exports.canPerformAction=g.canPerformAction;exports.getPeginProtocolState=g.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=g.isActivationDeadlinePassedOnChain;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../verifyScriptPathSchnorrSignature-p3sVoWQi.cjs"),O=require("../../secp256k1-DDHQ1_za.cjs"),o=require("./wasm/index.cjs"),R=require("../../verifyKeyPathSchnorrSignature-B7Za6aa1.cjs"),E=require("../../challengeAssert-DlzX_kjF.cjs"),y=require("../../verifyPeginHashlockSpend-CisfqMuT.cjs"),r=require("../../bitcoin-D-O2GjbC.cjs"),F=require("../../abortSignals-msbmbqFe.cjs"),I=require("../../signing-DvISftFk.cjs"),P=require("../../validation-C6XTfZak.cjs"),V=require("./utils/eth/index.cjs"),_=require("../../PeginManager-BNJUATq2.cjs"),d=require("../../PayoutManager-PQqeqX41.cjs"),s=require("./clients/mempool/index.cjs"),l=require("../../registration-records-CKc0OVuK.cjs"),C=require("../../signer-set-reader-C8xSyTMb.cjs"),A=require("../../pegin-registration-client-JtZkosZQ.cjs"),h=require("../../types-Bt1FM6d8.cjs"),N=require("../../ApplicationRegistry.abi-sMiTWmnL.cjs"),M=require("../../BTCVaultRegistry.abi-C4bQi-H9.cjs"),u=require("../../BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs"),b=require("../../ProtocolParams.abi-DzjpPHcl.cjs"),v=require("../../VaultErrors.abi-BV0qeG6M.cjs"),D=require("../../buildVaultContextInputForClaim-9XZaqIiw.cjs"),S=require("../../deriveVaultRoot-C3uqnJto.cjs"),U=require("../../parseFundingOutpoints-C_-PT9BT.cjs"),B=require("../../btcTxHash-CGb5BqFL.cjs"),c=require("../../psbtInputFields-BrV_ZfL_.cjs"),i=require("../../fundPeginTransaction-54-Rwb2k.cjs"),T=require("../../reservation-D9ftyiwP.cjs"),m=require("../../index-Dn7RlsKK.cjs"),a=require("../../state-C4WoNCy1.cjs"),p=require("../../primeVpAuth-Ch-ig2My.cjs"),t=require("../../toRefundInputs-CzZujjq-.cjs"),e=require("../../buildAndBroadcastReclaim-Blxt7B0K.cjs"),g=require("../../peginState-B4t_PDgj.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.buildChallengeAssertPsbt=E.buildChallengeAssertPsbt;exports.buildNoPayoutPsbt=E.buildNoPayoutPsbt;exports.buildReclaimPsbt=E.buildReclaimPsbt;exports.buildRefundPsbt=E.buildRefundPsbt;exports.estimateReclaimFeeSats=E.estimateReclaimFeeSats;exports.finalizeScriptPathWithSignatures=E.finalizeScriptPathWithSignatures;exports.reclaimVsize=E.reclaimVsize;exports.verifyPeginHashlockSpend=y.verifyPeginHashlockSpend;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=F.combineAbortSignals;exports.createTaprootScriptPathSignOptions=I.createTaprootScriptPathSignOptions;exports.createTaprootScriptPathSignOptionsForInput=I.createTaprootScriptPathSignOptionsForInput;exports.BITCOIN_ADDRESS_RE=P.BITCOIN_ADDRESS_RE;exports.COMPRESSED_PUBKEY_HEX_LEN=P.COMPRESSED_PUBKEY_HEX_LEN;exports.HEX_RE=P.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=P.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=P.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=P.TXID_RE;exports.X_ONLY_PUBKEY_HEX_LEN=P.X_ONLY_PUBKEY_HEX_LEN;exports.waitForTransactionReceiptSmartAware=V.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=N.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=U.parseFundingOutpointsFromTx;exports.calculateBtcTxHash=B.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=p.ServerIdentityError;exports.VpTokenRegistry=p.VpTokenRegistry;exports.createAuthenticatedVpClient=p.createAuthenticatedVpClient;exports.primeVpTokenRegistry=p.primeVpTokenRegistry;exports.verifyServerIdentity=p.verifyServerIdentity;exports.vpTokenRegistry=p.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.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.RefundBroadcastRejectedError=e.RefundBroadcastRejectedError;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;exports.SigningPlanMismatchError=e.SigningPlanMismatchError;exports.UnsupportedPayoutScriptError=e.UnsupportedPayoutScriptError;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.assertStandardPayoutScriptsAtEpochs=e.assertStandardPayoutScriptsAtEpochs;exports.assertTermsMatchVault=e.assertTermsMatchVault;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastReclaim=e.buildAndBroadcastReclaim;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.claimExpiredVault=e.claimExpiredVault;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.isUnsupportedPayoutScriptError=e.isUnsupportedPayoutScriptError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.planDelegatedClaimSigning=e.planDelegatedClaimSigning;exports.readDelegatedClaimVaultContext=e.readDelegatedClaimVaultContext;exports.readRefundPrePeginContext=e.readRefundPrePeginContext;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=g.ContractStatus;exports.PeginAction=g.PeginAction;exports.activationDeadlineBlocksRemaining=g.activationDeadlineBlocksRemaining;exports.canPerformAction=g.canPerformAction;exports.getPeginProtocolState=g.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=g.isActivationDeadlinePassedOnChain;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/tbv/core/index.js
CHANGED
|
@@ -9,18 +9,18 @@ import { c as Pa } from "../../abortSignals-BPpAUL1Z.js";
|
|
|
9
9
|
import { c as Ea, a as da } from "../../signing-C1rR4tqs.js";
|
|
10
10
|
import { B as ga, C as ma, H as Ra, K as Aa, M as _a, T as Sa, X as Ta } from "../../validation-OSC0xTHB.js";
|
|
11
11
|
import { waitForTransactionReceiptSmartAware as fa } from "./utils/eth/index.js";
|
|
12
|
-
import { P as ha, b as Va, c as Oa, d as xa, e as ba } from "../../PeginManager-
|
|
12
|
+
import { P as ha, b as Va, c as Oa, d as xa, e as ba } from "../../PeginManager-p88tE5r2.js";
|
|
13
13
|
import { P as Na, c as ya, f as Ma, r as va, s as Da, v as Ba } from "../../PayoutManager-3-MzBVLj.js";
|
|
14
14
|
import { MEMPOOL_API_URLS as Ha, MempoolNotFoundError as La, getAddressTxs as Ka, getAddressUtxos as Xa, getMempoolApiUrl as Ga, getNetworkFees as ka, getOutspend as Wa, getTipHeight as wa, getTxHex as za, getTxInfo as Ya, getUtxoInfo as ja, pushTx as Ja } from "./clients/mempool/index.js";
|
|
15
15
|
import { R as qa, V as Qa, a as $a, f as ae, d as ee, g as se, e as re, i as te, r as ie, v as oe, b as ne, c as le } from "../../registration-records-D39ApuHS.js";
|
|
16
|
-
import { V as Pe, a as ce, b as Ee, r as de } from "../../signer-set-reader-
|
|
17
|
-
import { C as ge, M as me, V as Re, a as Ae, c as _e } from "../../pegin-registration-client-
|
|
18
|
-
import { O as Te, V as Ce } from "../../types-
|
|
16
|
+
import { V as Pe, a as ce, b as Ee, r as de } from "../../signer-set-reader-BJ3g6rid.js";
|
|
17
|
+
import { C as ge, M as me, V as Re, a as Ae, c as _e } from "../../pegin-registration-client-B8A4P-Vv.js";
|
|
18
|
+
import { O as Te, V as Ce } from "../../types-D7p5jFlm.js";
|
|
19
19
|
import { A as Ie } from "../../ApplicationRegistry.abi-s8cQ1ooR.js";
|
|
20
|
-
import { B as Ve } from "../../BTCVaultRegistry.abi-
|
|
20
|
+
import { B as Ve } from "../../BTCVaultRegistry.abi-C19m1l4i.js";
|
|
21
21
|
import { B as xe, C as be, E as Fe, P as Ne, a as ye, e as Me, g as ve, h as De, i as Be, b as Ue } from "../../BTCVaultRegistryKeyEpochs.abi-Btg0nBz1.js";
|
|
22
|
-
import { P as Le } from "../../ProtocolParams.abi-
|
|
23
|
-
import { V as Xe } from "../../VaultErrors.abi-
|
|
22
|
+
import { P as Le } from "../../ProtocolParams.abi-vMl0TZ2q.js";
|
|
23
|
+
import { V as Xe } from "../../VaultErrors.abi-BIY0p6Wn.js";
|
|
24
24
|
import { b as ke } from "../../buildVaultContextInputForClaim-DhBoQKyN.js";
|
|
25
25
|
import { V as we, b as ze, a as Ye, d as je, f as Je } from "../../deriveVaultRoot-BcvmER1E.js";
|
|
26
26
|
import { p as qe } from "../../parseFundingOutpoints-GSM-IaaK.js";
|
|
@@ -31,8 +31,8 @@ import { U as xs, a as bs, e as Fs, f as Ns, v as ys } from "../../reservation-B
|
|
|
31
31
|
import { V as vs, a as Ds, b as Bs, i as Us, v as Hs } from "../../index-B-9aXMxk.js";
|
|
32
32
|
import { A as Ks, C as Xs, D as Gs, J as ks, a as Ws, b as ws, d as zs, P as Ys, R as js, e as Js, c as Zs, V as qs, i as Qs, g as $s, f as ar } from "../../state-CFn1rT74.js";
|
|
33
33
|
import { S as sr, V as rr, c as tr, p as ir, v as or, a as nr } from "../../primeVpAuth-B0noJdcy.js";
|
|
34
|
-
import { D as pr, g as Pr, P as cr, a as Er, b as dr, u as ur, v as gr, t as mr, w as Rr, U as Ar, V as _r, f as Sr, m as Tr, j as Cr, c as fr, l as Ir, p as hr, n as Vr, e as Or, h as xr, d as br, i as Fr, o as Nr, r as yr, k as Mr, q as vr, s as Dr, x as Br } from "../../toRefundInputs-
|
|
35
|
-
import { J as Hr, l as Lr, A as Kr, ab as Xr, C as Gr, D as kr, n as Wr, G as wr, u as zr, W as Yr, P as jr, j as Jr, v as Zr, w as qr, am as Qr, an as $r, ao as at, ap as et, af as st, ag as rt, ah as tt, ai as it, ak as ot, ac as nt, a0 as lt, S as pt, X as Pt, V as ct, a as Et, b as dt, d as ut, e as gt, m as mt, f as Rt, g as At, t as _t, i as St, B as Tt, Y as Ct, o as ft, a4 as It, al as ht, ad as Vt, c as Ot, k as xt, h as bt, ae as Ft, E as Nt, K as yt, M as Mt, a5 as vt, Z as Dt, x as Bt, y as Ut, a1 as Ht, _ as Lt, a6 as Kt, a7 as Xt, p as Gt, r as kt, aj as Wt, a8 as wt, a9 as zt, aa as Yt, F as jt, q as Jt, H as Zt, I as qt, s as Qt, N as $t, O as ai, L as ei, Q as si, R as ri, T as ti, U as ii, $ as oi, a2 as ni, z as li, a3 as pi } from "../../buildAndBroadcastReclaim-
|
|
34
|
+
import { D as pr, g as Pr, P as cr, a as Er, b as dr, u as ur, v as gr, t as mr, w as Rr, U as Ar, V as _r, f as Sr, m as Tr, j as Cr, c as fr, l as Ir, p as hr, n as Vr, e as Or, h as xr, d as br, i as Fr, o as Nr, r as yr, k as Mr, q as vr, s as Dr, x as Br } from "../../toRefundInputs-CZ9aqp2o.js";
|
|
35
|
+
import { J as Hr, l as Lr, A as Kr, ab as Xr, C as Gr, D as kr, n as Wr, G as wr, u as zr, W as Yr, P as jr, j as Jr, v as Zr, w as qr, am as Qr, an as $r, ao as at, ap as et, af as st, ag as rt, ah as tt, ai as it, ak as ot, ac as nt, a0 as lt, S as pt, X as Pt, V as ct, a as Et, b as dt, d as ut, e as gt, m as mt, f as Rt, g as At, t as _t, i as St, B as Tt, Y as Ct, o as ft, a4 as It, al as ht, ad as Vt, c as Ot, k as xt, h as bt, ae as Ft, E as Nt, K as yt, M as Mt, a5 as vt, Z as Dt, x as Bt, y as Ut, a1 as Ht, _ as Lt, a6 as Kt, a7 as Xt, p as Gt, r as kt, aj as Wt, a8 as wt, a9 as zt, aa as Yt, F as jt, q as Jt, H as Zt, I as qt, s as Qt, N as $t, O as ai, L as ei, Q as si, R as ri, T as ti, U as ii, $ as oi, a2 as ni, z as li, a3 as pi } from "../../buildAndBroadcastReclaim-C2CkzCVn.js";
|
|
36
36
|
import { C as ci, P as Ei, a as di, c as ui, g as gi, i as mi } from "../../peginState-CXdbSit3.js";
|
|
37
37
|
export {
|
|
38
38
|
Ks as AUTH_REJECTED_RPC_CODE,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../PeginManager-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../PeginManager-BNJUATq2.cjs"),a=require("../../../PayoutManager-PQqeqX41.cjs");exports.PeginManager=e.PeginManager;exports.PayoutManager=a.PayoutManager;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|