@keep-network/tbtc-v2 1.6.0-dev.15 → 1.6.0-dev.16
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/artifacts/BLS.json +1 -1
- package/artifacts/Bank.json +3 -3
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +1 -1
- package/artifacts/BeaconDkgValidator.json +1 -1
- package/artifacts/BeaconInactivity.json +1 -1
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +2 -2
- package/artifacts/BridgeGovernanceParameters.json +2 -2
- package/artifacts/Deposit.json +2 -2
- package/artifacts/DepositSweep.json +2 -2
- package/artifacts/DonationVault.json +3 -3
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- package/artifacts/Fraud.json +2 -2
- package/artifacts/LightRelay.json +18 -18
- package/artifacts/LightRelayMaintainerProxy.json +8 -8
- package/artifacts/MaintainerProxy.json +19 -19
- package/artifacts/MovingFunds.json +2 -2
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +2 -2
- package/artifacts/RandomBeaconChaosnet.json +2 -2
- package/artifacts/RandomBeaconGovernance.json +2 -2
- package/artifacts/Redemption.json +2 -2
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TBTCVault.json +23 -23
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +3 -3
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/VendingMachineV2.json +3 -3
- package/artifacts/VendingMachineV3.json +3 -3
- package/artifacts/WalletProposalValidator.json +2 -2
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{1788e81ec23cfa014c2c13441f296723.json → 8bdb4098420884547fe701093440e1b8.json} +12 -0
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.dbg.json +4 -0
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.json +113 -0
- package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +4 -0
- package/build/contracts/integrator/IBridge.sol/IBridge.json +172 -0
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +4 -0
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.json +10 -0
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +4 -0
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.json +48 -0
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/integrator/AbstractTBTCDepositor.sol +308 -0
- package/contracts/integrator/IBridge.sol +80 -0
- package/contracts/integrator/ITBTCVault.sol +28 -0
- package/export/artifacts/@keep-network/bitcoin-spv-sol/contracts/BTCUtils.sol/BTCUtils.json +20 -20
- package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +1986 -1986
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +20 -20
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +1836 -1836
- package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +545 -545
- package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +506 -506
- package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +23 -23
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +2456 -2456
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +465 -465
- package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +568 -568
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +603 -603
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +1001 -1001
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +1877 -1877
- package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +654 -654
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +2534 -2534
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +736 -736
- package/export/artifacts/contracts/bank/Bank.sol/Bank.json +1872 -1872
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +7234 -7234
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +1257 -1257
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +972 -972
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +1122 -1122
- package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +5028 -5028
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +3002 -3002
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +2490 -2490
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2456 -2456
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +1922 -1922
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +1013 -1013
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +1874 -1874
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +8259 -8259
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +130 -130
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +2047 -2047
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +354 -354
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +1924 -1924
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +568 -568
- package/export/artifacts/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +1249 -1249
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +2291 -2291
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +1698 -1698
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +189 -189
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockBridge.json +4871 -0
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +1523 -0
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +11101 -0
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +1447 -1447
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2847 -2847
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +858 -858
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +3489 -3489
- package/export/typechain/AbstractTBTCDepositor.js +2 -0
- package/export/typechain/IBridge.js +2 -0
- package/export/typechain/ITBTCVault.js +2 -0
- package/export/typechain/MockBridge.js +2 -0
- package/export/typechain/MockTBTCVault.js +2 -0
- package/export/typechain/TestTBTCDepositor.js +2 -0
- package/export/typechain/factories/AbstractTBTCDepositor__factory.js +124 -0
- package/export/typechain/factories/IBridge__factory.js +183 -0
- package/export/typechain/factories/ITBTCVault__factory.js +59 -0
- package/export/typechain/factories/MockBridge__factory.js +290 -0
- package/export/typechain/factories/MockTBTCVault__factory.js +166 -0
- package/export/typechain/factories/TestTBTCDepositor__factory.js +356 -0
- package/export/typechain/index.js +14 -1
- package/package.json +1 -1
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
18
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
19
|
+
if (!m) return o;
|
|
20
|
+
var i = m.call(o), r, ar = [], e;
|
|
21
|
+
try {
|
|
22
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
23
|
+
}
|
|
24
|
+
catch (error) { e = { error: error }; }
|
|
25
|
+
finally {
|
|
26
|
+
try {
|
|
27
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
28
|
+
}
|
|
29
|
+
finally { if (e) throw e.error; }
|
|
30
|
+
}
|
|
31
|
+
return ar;
|
|
32
|
+
};
|
|
33
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
34
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
35
|
+
if (ar || !(i in from)) {
|
|
36
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
37
|
+
ar[i] = from[i];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.MockTBTCVault__factory = void 0;
|
|
44
|
+
/* Autogenerated file. Do not edit manually. */
|
|
45
|
+
/* tslint:disable */
|
|
46
|
+
/* eslint-disable */
|
|
47
|
+
var ethers_1 = require("ethers");
|
|
48
|
+
var _abi = [
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "depositKey",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "createOptimisticMintingRequest",
|
|
58
|
+
outputs: [],
|
|
59
|
+
stateMutability: "nonpayable",
|
|
60
|
+
type: "function",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "uint256",
|
|
66
|
+
name: "depositKey",
|
|
67
|
+
type: "uint256",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "finalizeOptimisticMintingRequest",
|
|
71
|
+
outputs: [],
|
|
72
|
+
stateMutability: "nonpayable",
|
|
73
|
+
type: "function",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [],
|
|
77
|
+
name: "optimisticMintingFeeDivisor",
|
|
78
|
+
outputs: [
|
|
79
|
+
{
|
|
80
|
+
internalType: "uint32",
|
|
81
|
+
name: "",
|
|
82
|
+
type: "uint32",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
stateMutability: "view",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "depositKey",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
name: "optimisticMintingRequests",
|
|
97
|
+
outputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "uint64",
|
|
100
|
+
name: "requestedAt",
|
|
101
|
+
type: "uint64",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
internalType: "uint64",
|
|
105
|
+
name: "finalizedAt",
|
|
106
|
+
type: "uint64",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
stateMutability: "nonpayable",
|
|
110
|
+
type: "function",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint32",
|
|
116
|
+
name: "value",
|
|
117
|
+
type: "uint32",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "setOptimisticMintingFeeDivisor",
|
|
121
|
+
outputs: [],
|
|
122
|
+
stateMutability: "nonpayable",
|
|
123
|
+
type: "function",
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
var _bytecode = "0x60806040526001805463ffffffff1916606417905534801561002057600080fd5b5061038f806100306000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80636c626aa4116100505780636c626aa4146100ab578063d5b0b0ce1461011a578063db4aa6cb1461014457600080fd5b806309b53f511461006c578063477ffd6514610096575b600080fd5b60015461007c9063ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b6100a96100a4366004610313565b610157565b005b6100f96100b9366004610313565b6000908152602081815260409182902082518084019093525467ffffffffffffffff80821680855268010000000000000000909204169290910182905291565b6040805167ffffffffffffffff93841681529290911660208301520161008d565b6100a961012836600461032c565b6001805463ffffffff191663ffffffff92909216919091179055565b6100a9610152366004610313565b6101ed565b60008181526020819052604090205467ffffffffffffffff16156101c25760405162461bcd60e51b815260206004820152601660248201527f5265717565737420616c7265616479206578697374730000000000000000000060448201526064015b60405180910390fd5b6000908152602081905260409020805467ffffffffffffffff19164267ffffffffffffffff16179055565b60008181526020819052604081205467ffffffffffffffff1690036102545760405162461bcd60e51b815260206004820152601660248201527f5265717565737420646f6573206e6f742065786973740000000000000000000060448201526064016101b9565b60008181526020819052604090205468010000000000000000900467ffffffffffffffff16156102c65760405162461bcd60e51b815260206004820152601960248201527f5265717565737420616c72656164792066696e616c697a65640000000000000060448201526064016101b9565b600090815260208190526040902080547fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff16680100000000000000004267ffffffffffffffff1602179055565b60006020828403121561032557600080fd5b5035919050565b60006020828403121561033e57600080fd5b813563ffffffff8116811461035257600080fd5b939250505056fea2646970667358221220364af0eb78ba501283b1e4699a6c29e195f4e06d97d4615e498032f8d090bcf964736f6c63430008110033";
|
|
127
|
+
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
128
|
+
var MockTBTCVault__factory = /** @class */ (function (_super) {
|
|
129
|
+
__extends(MockTBTCVault__factory, _super);
|
|
130
|
+
function MockTBTCVault__factory() {
|
|
131
|
+
var args = [];
|
|
132
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
133
|
+
args[_i] = arguments[_i];
|
|
134
|
+
}
|
|
135
|
+
var _this = this;
|
|
136
|
+
if (isSuperArgs(args)) {
|
|
137
|
+
_this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
|
141
|
+
}
|
|
142
|
+
return _this;
|
|
143
|
+
}
|
|
144
|
+
MockTBTCVault__factory.prototype.deploy = function (overrides) {
|
|
145
|
+
return _super.prototype.deploy.call(this, overrides || {});
|
|
146
|
+
};
|
|
147
|
+
MockTBTCVault__factory.prototype.getDeployTransaction = function (overrides) {
|
|
148
|
+
return _super.prototype.getDeployTransaction.call(this, overrides || {});
|
|
149
|
+
};
|
|
150
|
+
MockTBTCVault__factory.prototype.attach = function (address) {
|
|
151
|
+
return _super.prototype.attach.call(this, address);
|
|
152
|
+
};
|
|
153
|
+
MockTBTCVault__factory.prototype.connect = function (signer) {
|
|
154
|
+
return _super.prototype.connect.call(this, signer);
|
|
155
|
+
};
|
|
156
|
+
MockTBTCVault__factory.createInterface = function () {
|
|
157
|
+
return new ethers_1.utils.Interface(_abi);
|
|
158
|
+
};
|
|
159
|
+
MockTBTCVault__factory.connect = function (address, signerOrProvider) {
|
|
160
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
161
|
+
};
|
|
162
|
+
MockTBTCVault__factory.bytecode = _bytecode;
|
|
163
|
+
MockTBTCVault__factory.abi = _abi;
|
|
164
|
+
return MockTBTCVault__factory;
|
|
165
|
+
}(ethers_1.ContractFactory));
|
|
166
|
+
exports.MockTBTCVault__factory = MockTBTCVault__factory;
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
18
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
19
|
+
if (!m) return o;
|
|
20
|
+
var i = m.call(o), r, ar = [], e;
|
|
21
|
+
try {
|
|
22
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
23
|
+
}
|
|
24
|
+
catch (error) { e = { error: error }; }
|
|
25
|
+
finally {
|
|
26
|
+
try {
|
|
27
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
28
|
+
}
|
|
29
|
+
finally { if (e) throw e.error; }
|
|
30
|
+
}
|
|
31
|
+
return ar;
|
|
32
|
+
};
|
|
33
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
34
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
35
|
+
if (ar || !(i in from)) {
|
|
36
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
37
|
+
ar[i] = from[i];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.TestTBTCDepositor__factory = void 0;
|
|
44
|
+
/* Autogenerated file. Do not edit manually. */
|
|
45
|
+
/* tslint:disable */
|
|
46
|
+
/* eslint-disable */
|
|
47
|
+
var ethers_1 = require("ethers");
|
|
48
|
+
var _abi = [
|
|
49
|
+
{
|
|
50
|
+
anonymous: false,
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
indexed: true,
|
|
54
|
+
internalType: "uint256",
|
|
55
|
+
name: "depositKey",
|
|
56
|
+
type: "uint256",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "tbtcAmount",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
indexed: false,
|
|
66
|
+
internalType: "uint32",
|
|
67
|
+
name: "finalizedAt",
|
|
68
|
+
type: "uint32",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
name: "DepositFinalized",
|
|
72
|
+
type: "event",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
anonymous: false,
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
indexed: true,
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "depositKey",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
indexed: false,
|
|
85
|
+
internalType: "uint32",
|
|
86
|
+
name: "initializedAt",
|
|
87
|
+
type: "uint32",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
name: "DepositInitialized",
|
|
91
|
+
type: "event",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
anonymous: false,
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
indexed: false,
|
|
98
|
+
internalType: "uint256",
|
|
99
|
+
name: "tbtcAmount",
|
|
100
|
+
type: "uint256",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
indexed: false,
|
|
104
|
+
internalType: "bytes32",
|
|
105
|
+
name: "extraData",
|
|
106
|
+
type: "bytes32",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
name: "FinalizeDepositReturned",
|
|
110
|
+
type: "event",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
anonymous: false,
|
|
114
|
+
inputs: [
|
|
115
|
+
{
|
|
116
|
+
indexed: false,
|
|
117
|
+
internalType: "uint256",
|
|
118
|
+
name: "depositKey",
|
|
119
|
+
type: "uint256",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
name: "InitializeDepositReturned",
|
|
123
|
+
type: "event",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [],
|
|
127
|
+
name: "SATOSHI_MULTIPLIER",
|
|
128
|
+
outputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "uint256",
|
|
131
|
+
name: "",
|
|
132
|
+
type: "uint256",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
stateMutability: "view",
|
|
136
|
+
type: "function",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: "bridge",
|
|
141
|
+
outputs: [
|
|
142
|
+
{
|
|
143
|
+
internalType: "contract IBridge",
|
|
144
|
+
name: "",
|
|
145
|
+
type: "address",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
stateMutability: "view",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [
|
|
153
|
+
{
|
|
154
|
+
internalType: "uint64",
|
|
155
|
+
name: "depositAmountSat",
|
|
156
|
+
type: "uint64",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
internalType: "uint64",
|
|
160
|
+
name: "depositTreasuryFeeSat",
|
|
161
|
+
type: "uint64",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
name: "calculateTbtcAmountPublic",
|
|
165
|
+
outputs: [
|
|
166
|
+
{
|
|
167
|
+
internalType: "uint256",
|
|
168
|
+
name: "",
|
|
169
|
+
type: "uint256",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
stateMutability: "view",
|
|
173
|
+
type: "function",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
inputs: [
|
|
177
|
+
{
|
|
178
|
+
internalType: "uint256",
|
|
179
|
+
name: "depositKey",
|
|
180
|
+
type: "uint256",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
name: "finalizeDepositPublic",
|
|
184
|
+
outputs: [],
|
|
185
|
+
stateMutability: "nonpayable",
|
|
186
|
+
type: "function",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
internalType: "address",
|
|
192
|
+
name: "_bridge",
|
|
193
|
+
type: "address",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
internalType: "address",
|
|
197
|
+
name: "_tbtcVault",
|
|
198
|
+
type: "address",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
name: "initialize",
|
|
202
|
+
outputs: [],
|
|
203
|
+
stateMutability: "nonpayable",
|
|
204
|
+
type: "function",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
inputs: [
|
|
208
|
+
{
|
|
209
|
+
components: [
|
|
210
|
+
{
|
|
211
|
+
internalType: "bytes4",
|
|
212
|
+
name: "version",
|
|
213
|
+
type: "bytes4",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
internalType: "bytes",
|
|
217
|
+
name: "inputVector",
|
|
218
|
+
type: "bytes",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
internalType: "bytes",
|
|
222
|
+
name: "outputVector",
|
|
223
|
+
type: "bytes",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
internalType: "bytes4",
|
|
227
|
+
name: "locktime",
|
|
228
|
+
type: "bytes4",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
internalType: "struct IBridgeTypes.BitcoinTxInfo",
|
|
232
|
+
name: "fundingTx",
|
|
233
|
+
type: "tuple",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
components: [
|
|
237
|
+
{
|
|
238
|
+
internalType: "uint32",
|
|
239
|
+
name: "fundingOutputIndex",
|
|
240
|
+
type: "uint32",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
internalType: "bytes8",
|
|
244
|
+
name: "blindingFactor",
|
|
245
|
+
type: "bytes8",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
internalType: "bytes20",
|
|
249
|
+
name: "walletPubKeyHash",
|
|
250
|
+
type: "bytes20",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
internalType: "bytes20",
|
|
254
|
+
name: "refundPubKeyHash",
|
|
255
|
+
type: "bytes20",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
internalType: "bytes4",
|
|
259
|
+
name: "refundLocktime",
|
|
260
|
+
type: "bytes4",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
internalType: "address",
|
|
264
|
+
name: "vault",
|
|
265
|
+
type: "address",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
internalType: "struct IBridgeTypes.DepositRevealInfo",
|
|
269
|
+
name: "reveal",
|
|
270
|
+
type: "tuple",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
internalType: "bytes32",
|
|
274
|
+
name: "extraData",
|
|
275
|
+
type: "bytes32",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
name: "initializeDepositPublic",
|
|
279
|
+
outputs: [],
|
|
280
|
+
stateMutability: "nonpayable",
|
|
281
|
+
type: "function",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
name: "",
|
|
288
|
+
type: "uint256",
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
name: "pendingDeposits",
|
|
292
|
+
outputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: "bool",
|
|
295
|
+
name: "",
|
|
296
|
+
type: "bool",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
stateMutability: "view",
|
|
300
|
+
type: "function",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [],
|
|
304
|
+
name: "tbtcVault",
|
|
305
|
+
outputs: [
|
|
306
|
+
{
|
|
307
|
+
internalType: "contract ITBTCVault",
|
|
308
|
+
name: "",
|
|
309
|
+
type: "address",
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
stateMutability: "view",
|
|
313
|
+
type: "function",
|
|
314
|
+
},
|
|
315
|
+
];
|
|
316
|
+
var _bytecode = "0x608060405234801561001057600080fd5b50611080806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a79327941161005b578063a793279414610106578063c7ba034714610139578063ca3a7f8c14610145578063e78cea921461015857600080fd5b80630f36403a1461008d57806331e6028c146100bd57806332a280b3146100de578063485cc955146100f3575b600080fd5b6001546100a0906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100d06100cb366004610a25565b61016b565b6040519081526020016100b4565b6100f16100ec366004610a5e565b610180565b005b6100f1610101366004610a9c565b6101d0565b610129610114366004610a5e565b60026020526000908152604090205460ff1681565b60405190151581526020016100b4565b6100d06402540be40081565b6100f1610153366004610aca565b6101de565b6000546100a0906001600160a01b031681565b6000610177838361022c565b90505b92915050565b60008061018c836103af565b60408051838152602081018390529294509092507fdad0bf0280f966e5c8b4f2f7be503b5102d23064a0e767b726bfa732b8d981a5910160405180910390a1505050565b6101da828261063b565b5050565b60006101eb8484846107c1565b90507f0f3805f24563e903dd7c191088451bda29dc93cb93085e42724fdc27f62fef968160405161021e91815260200190565b60405180910390a150505050565b6000806402540be40061023f8486610b49565b67ffffffffffffffff166102539190610b71565b90506000600160009054906101000a90046001600160a01b03166001600160a01b03166309b53f516040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ce9190610ba5565b63ffffffff16905060008082116102e65760006102f0565b6102f08284610bc9565b905060008060009054906101000a90046001600160a01b03166001600160a01b031663c42b64d06040518163ffffffff1660e01b8152600401608060405180830381865afa158015610346573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036a9190610bf6565b509250505060006402540be4008267ffffffffffffffff1661038c9190610b71565b9050806103998487610c55565b6103a39190610c55565b98975050505050505050565b600081815260026020526040812054819060ff166104145760405162461bcd60e51b815260206004820152601760248201527f4465706f736974206e6f7420696e697469616c697a656400000000000000000060448201526064015b60405180910390fd5b600080546040517fb02c43d0000000000000000000000000000000000000000000000000000000008152600481018690526001600160a01b039091169063b02c43d09060240160e060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610c73565b6001546040517f6c626aa4000000000000000000000000000000000000000000000000000000008152600481018790529192506000916001600160a01b0390911690636c626aa49060240160408051808303816000875af1158015610504573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105289190610d2d565b9150508160a0015163ffffffff16600014158061054e575067ffffffffffffffff811615155b6105c05760405162461bcd60e51b815260206004820152602360248201527f4465706f736974206e6f742066696e616c697a6564206279207468652062726960448201527f6467650000000000000000000000000000000000000000000000000000000000606482015260840161040b565b6000858152600260209081526040909120805460ff1916905582015160808301516105eb919061022c565b6040805182815263ffffffff4216602082015291955086917f417b6288c9f637614f8b3f7a275fb4e44e517930fde949e463d58dfe0b97f28b910160405180910390a25060c00151919391925050565b6000546001600160a01b031615801561065d57506001546001600160a01b0316155b6106cf5760405162461bcd60e51b815260206004820152602960248201527f4162737472616374544254434465706f7369746f7220616c726561647920696e60448201527f697469616c697a65640000000000000000000000000000000000000000000000606482015260840161040b565b6001600160a01b0382166107255760405162461bcd60e51b815260206004820152601d60248201527f42726964676520616464726573732063616e6e6f74206265207a65726f000000604482015260640161040b565b6001600160a01b03811661077b5760405162461bcd60e51b815260206004820181905260248201527f544254435661756c7420616464726573732063616e6e6f74206265207a65726f604482015260640161040b565b600080546001600160a01b039384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b6001546000906001600160a01b03166107e060c0850160a08601610d5c565b6001600160a01b0316146108365760405162461bcd60e51b815260206004820152601660248201527f5661756c742061646472657373206d69736d6174636800000000000000000000604482015260640161040b565b600061085661084486610936565b6108516020870187610d79565b61099b565b600081815260026020908152604091829020805460ff1916600117905590514263ffffffff16815291925082917fa3ed7aef0745e1a91addae9e5daee7a8ace74852fec840b9d93da747855dd7b9910160405180910390a26000546040517f86f014390000000000000000000000000000000000000000000000000000000081526001600160a01b03909116906386f01439906108fb90889088908890600401610e41565b600060405180830381600087803b15801561091557600080fd5b505af1158015610929573d6000803e3d6000fd5b5092979650505050505050565b600061017a6109486020840184610fa6565b6109556020850185610fc1565b6109626040870187610fc1565b6109726080890160608a01610fa6565b60405160200161098796959493929190611008565b6040516020818303038152906040526109e5565b600082826040516020016109c692919091825260e01b6001600160e01b031916602082015260240190565b60408051601f1981840301815291905280516020909101209392505050565b60006020600083516020850160025afa50602060006020600060025afa5050600051919050565b67ffffffffffffffff81168114610a2257600080fd5b50565b60008060408385031215610a3857600080fd5b8235610a4381610a0c565b91506020830135610a5381610a0c565b809150509250929050565b600060208284031215610a7057600080fd5b5035919050565b6001600160a01b0381168114610a2257600080fd5b8035610a9781610a77565b919050565b60008060408385031215610aaf57600080fd5b8235610aba81610a77565b91506020830135610a5381610a77565b6000806000838503610100811215610ae157600080fd5b843567ffffffffffffffff811115610af857600080fd5b850160808188031215610b0a57600080fd5b935060c0601f1982011215610b1e57600080fd5b5060208401915060e084013590509250925092565b634e487b7160e01b600052601160045260246000fd5b67ffffffffffffffff828116828216039080821115610b6a57610b6a610b33565b5092915050565b808202811582820484141761017a5761017a610b33565b63ffffffff81168114610a2257600080fd5b8051610a9781610b88565b600060208284031215610bb757600080fd5b8151610bc281610b88565b9392505050565b600082610be657634e487b7160e01b600052601260045260246000fd5b500490565b8051610a9781610a0c565b60008060008060808587031215610c0c57600080fd5b8451610c1781610a0c565b6020860151909450610c2881610a0c565b6040860151909350610c3981610a0c565b6060860151909250610c4a81610b88565b939692955090935050565b8181038181111561017a5761017a610b33565b8051610a9781610a77565b600060e08284031215610c8557600080fd5b60405160e0810181811067ffffffffffffffff82111715610cb657634e487b7160e01b600052604160045260246000fd5b604052610cc283610c68565b8152610cd060208401610beb565b6020820152610ce160408401610b9a565b6040820152610cf260608401610c68565b6060820152610d0360808401610beb565b6080820152610d1460a08401610b9a565b60a082015260c083015160c08201528091505092915050565b60008060408385031215610d4057600080fd5b8251610d4b81610a0c565b6020840151909250610a5381610a0c565b600060208284031215610d6e57600080fd5b8135610bc281610a77565b600060208284031215610d8b57600080fd5b8135610bc281610b88565b80356001600160e01b031981168114610a9757600080fd5b6000808335601e19843603018112610dc557600080fd5b830160208101925035905067ffffffffffffffff811115610de557600080fd5b803603821315610df457600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80356bffffffffffffffffffffffff1981168114610a9757600080fd5b60006101008083526001600160e01b031980610e5c88610d96565b1682850152610e6e6020880188610dae565b92506080610120860152610e8761018086018483610dfb565b925050610e976040880188610dae565b85840360ff1901610140870152610eaf848284610dfb565b9350505080610ec060608901610d96565b166101608501525090508335610ed581610b88565b63ffffffff811660208401525060208401357fffffffffffffffff0000000000000000000000000000000000000000000000008116808214610f1657600080fd5b80604085015250506bffffffffffffffffffffffff19610f3860408601610e24565b166060830152610f4a60608501610e24565b6bffffffffffffffffffffffff198116608084015250610f6c60808501610d96565b6001600160e01b0319811660a084015250610f8960a08501610a8c565b6001600160a01b031660c083015260e09091019190915292915050565b600060208284031215610fb857600080fd5b61017782610d96565b6000808335601e19843603018112610fd857600080fd5b83018035915067ffffffffffffffff821115610ff357600080fd5b602001915036819003821315610df457600080fd5b60006001600160e01b0319808916835286886004850137868301600481016000815286888237509316939092016004810193909352505060080194935050505056fea264697066735822122089af585866694c1e6f18f5c47a06851bb85376046d0e7bcf8a791206e182468364736f6c63430008110033";
|
|
317
|
+
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
318
|
+
var TestTBTCDepositor__factory = /** @class */ (function (_super) {
|
|
319
|
+
__extends(TestTBTCDepositor__factory, _super);
|
|
320
|
+
function TestTBTCDepositor__factory() {
|
|
321
|
+
var args = [];
|
|
322
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
323
|
+
args[_i] = arguments[_i];
|
|
324
|
+
}
|
|
325
|
+
var _this = this;
|
|
326
|
+
if (isSuperArgs(args)) {
|
|
327
|
+
_this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
|
331
|
+
}
|
|
332
|
+
return _this;
|
|
333
|
+
}
|
|
334
|
+
TestTBTCDepositor__factory.prototype.deploy = function (overrides) {
|
|
335
|
+
return _super.prototype.deploy.call(this, overrides || {});
|
|
336
|
+
};
|
|
337
|
+
TestTBTCDepositor__factory.prototype.getDeployTransaction = function (overrides) {
|
|
338
|
+
return _super.prototype.getDeployTransaction.call(this, overrides || {});
|
|
339
|
+
};
|
|
340
|
+
TestTBTCDepositor__factory.prototype.attach = function (address) {
|
|
341
|
+
return _super.prototype.attach.call(this, address);
|
|
342
|
+
};
|
|
343
|
+
TestTBTCDepositor__factory.prototype.connect = function (signer) {
|
|
344
|
+
return _super.prototype.connect.call(this, signer);
|
|
345
|
+
};
|
|
346
|
+
TestTBTCDepositor__factory.createInterface = function () {
|
|
347
|
+
return new ethers_1.utils.Interface(_abi);
|
|
348
|
+
};
|
|
349
|
+
TestTBTCDepositor__factory.connect = function (address, signerOrProvider) {
|
|
350
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
351
|
+
};
|
|
352
|
+
TestTBTCDepositor__factory.bytecode = _bytecode;
|
|
353
|
+
TestTBTCDepositor__factory.abi = _abi;
|
|
354
|
+
return TestTBTCDepositor__factory;
|
|
355
|
+
}(ethers_1.ContractFactory));
|
|
356
|
+
exports.TestTBTCDepositor__factory = TestTBTCDepositor__factory;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IApproveAndCall__factory = exports.ERC20WithPermit__factory = exports.IERC165__factory = exports.ERC165__factory = exports.IERC721Receiver__factory = exports.IERC721__factory = exports.IERC721Metadata__factory = exports.ERC721__factory = exports.IERC20__factory = exports.IERC20Metadata__factory = exports.IERC20Permit__factory = exports.TransparentUpgradeableProxy__factory = exports.ProxyAdmin__factory = exports.Proxy__factory = exports.ERC1967Upgrade__factory = exports.ERC1967Proxy__factory = exports.IBeacon__factory = exports.IERC1822Proxiable__factory = exports.Ownable__factory = exports.IERC165Upgradeable__factory = exports.EIP712Upgradeable__factory = exports.ContextUpgradeable__factory = exports.IERC721Upgradeable__factory = exports.IERC20Upgradeable__factory = exports.IERC20MetadataUpgradeable__factory = exports.ERC20BurnableUpgradeable__factory = exports.IERC20PermitUpgradeable__factory = exports.ERC20PermitUpgradeable__factory = exports.ERC20Upgradeable__factory = exports.ReentrancyGuardUpgradeable__factory = exports.PausableUpgradeable__factory = exports.Initializable__factory = exports.OwnableUpgradeable__factory = exports.SortitionTree__factory = exports.SortitionPool__factory = exports.Rewards__factory = exports.Chaosnet__factory = exports.ReimbursementPool__factory = exports.Reimbursable__factory = exports.Governable__factory = exports.IRandomBeaconConsumer__factory = exports.IRandomBeacon__factory = exports.WalletRegistry__factory = exports.EcdsaInactivity__factory = exports.EcdsaDkg__factory = exports.EcdsaAuthorization__factory = exports.EcdsaDkgValidator__factory = exports.IWalletRegistry__factory = exports.IWalletOwner__factory = exports.BTCUtils__factory = void 0;
|
|
4
|
-
exports.
|
|
4
|
+
exports.IVault__factory = exports.DonationVault__factory = exports.TBTC__factory = exports.WormholeBridgeStub__factory = exports.TestTBTCDepositor__factory = exports.MockTBTCVault__factory = exports.MockBridge__factory = exports.TestERC721__factory = exports.TestERC20__factory = exports.TestEcdsaLib__factory = exports.TestBitcoinTx__factory = exports.SystemTestRelay__factory = exports.SepoliaLightRelay__factory = exports.ReceiveApprovalStub__factory = exports.LightRelayStub__factory = exports.HeartbeatStub__factory = exports.BridgeStub__factory = exports.BankStub__factory = exports.LightRelayMaintainerProxy__factory = exports.LightRelay__factory = exports.ILightRelay__factory = exports.MaintainerProxy__factory = exports.L2WormholeGateway__factory = exports.IWormholeTokenBridge__factory = exports.L2TBTC__factory = exports.ITBTCVault__factory = exports.IBridge__factory = exports.AbstractTBTCDepositor__factory = exports.Wallets__factory = exports.WalletProposalValidator__factory = exports.VendingMachineV3__factory = exports.VendingMachineV2__factory = exports.VendingMachine__factory = exports.Redemption__factory = exports.MovingFunds__factory = exports.IRelay__factory = exports.Fraud__factory = exports.DepositSweep__factory = exports.Deposit__factory = exports.BridgeState__factory = exports.BridgeGovernanceParameters__factory = exports.BridgeGovernance__factory = exports.Bridge__factory = exports.IReceiveBalanceApproval__factory = exports.Bank__factory = exports.IStaking__factory = exports.IApplication__factory = exports.MisfundRecovery__factory = exports.IReceiveApproval__factory = exports.IERC20WithPermit__factory = void 0;
|
|
5
|
+
exports.TBTCVault__factory = exports.TBTCOptimisticMinting__factory = void 0;
|
|
5
6
|
var BTCUtils__factory_1 = require("./factories/BTCUtils__factory");
|
|
6
7
|
Object.defineProperty(exports, "BTCUtils__factory", { enumerable: true, get: function () { return BTCUtils__factory_1.BTCUtils__factory; } });
|
|
7
8
|
var IWalletOwner__factory_1 = require("./factories/IWalletOwner__factory");
|
|
@@ -146,6 +147,12 @@ var WalletProposalValidator__factory_1 = require("./factories/WalletProposalVali
|
|
|
146
147
|
Object.defineProperty(exports, "WalletProposalValidator__factory", { enumerable: true, get: function () { return WalletProposalValidator__factory_1.WalletProposalValidator__factory; } });
|
|
147
148
|
var Wallets__factory_1 = require("./factories/Wallets__factory");
|
|
148
149
|
Object.defineProperty(exports, "Wallets__factory", { enumerable: true, get: function () { return Wallets__factory_1.Wallets__factory; } });
|
|
150
|
+
var AbstractTBTCDepositor__factory_1 = require("./factories/AbstractTBTCDepositor__factory");
|
|
151
|
+
Object.defineProperty(exports, "AbstractTBTCDepositor__factory", { enumerable: true, get: function () { return AbstractTBTCDepositor__factory_1.AbstractTBTCDepositor__factory; } });
|
|
152
|
+
var IBridge__factory_1 = require("./factories/IBridge__factory");
|
|
153
|
+
Object.defineProperty(exports, "IBridge__factory", { enumerable: true, get: function () { return IBridge__factory_1.IBridge__factory; } });
|
|
154
|
+
var ITBTCVault__factory_1 = require("./factories/ITBTCVault__factory");
|
|
155
|
+
Object.defineProperty(exports, "ITBTCVault__factory", { enumerable: true, get: function () { return ITBTCVault__factory_1.ITBTCVault__factory; } });
|
|
149
156
|
var L2TBTC__factory_1 = require("./factories/L2TBTC__factory");
|
|
150
157
|
Object.defineProperty(exports, "L2TBTC__factory", { enumerable: true, get: function () { return L2TBTC__factory_1.L2TBTC__factory; } });
|
|
151
158
|
var IWormholeTokenBridge__factory_1 = require("./factories/IWormholeTokenBridge__factory");
|
|
@@ -182,6 +189,12 @@ var TestERC20__factory_1 = require("./factories/TestERC20__factory");
|
|
|
182
189
|
Object.defineProperty(exports, "TestERC20__factory", { enumerable: true, get: function () { return TestERC20__factory_1.TestERC20__factory; } });
|
|
183
190
|
var TestERC721__factory_1 = require("./factories/TestERC721__factory");
|
|
184
191
|
Object.defineProperty(exports, "TestERC721__factory", { enumerable: true, get: function () { return TestERC721__factory_1.TestERC721__factory; } });
|
|
192
|
+
var MockBridge__factory_1 = require("./factories/MockBridge__factory");
|
|
193
|
+
Object.defineProperty(exports, "MockBridge__factory", { enumerable: true, get: function () { return MockBridge__factory_1.MockBridge__factory; } });
|
|
194
|
+
var MockTBTCVault__factory_1 = require("./factories/MockTBTCVault__factory");
|
|
195
|
+
Object.defineProperty(exports, "MockTBTCVault__factory", { enumerable: true, get: function () { return MockTBTCVault__factory_1.MockTBTCVault__factory; } });
|
|
196
|
+
var TestTBTCDepositor__factory_1 = require("./factories/TestTBTCDepositor__factory");
|
|
197
|
+
Object.defineProperty(exports, "TestTBTCDepositor__factory", { enumerable: true, get: function () { return TestTBTCDepositor__factory_1.TestTBTCDepositor__factory; } });
|
|
185
198
|
var WormholeBridgeStub__factory_1 = require("./factories/WormholeBridgeStub__factory");
|
|
186
199
|
Object.defineProperty(exports, "WormholeBridgeStub__factory", { enumerable: true, get: function () { return WormholeBridgeStub__factory_1.WormholeBridgeStub__factory; } });
|
|
187
200
|
var TBTC__factory_1 = require("./factories/TBTC__factory");
|
package/package.json
CHANGED