@keep-network/tbtc-v2 1.3.0-dev.0 → 1.3.0-dev.1
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/KeepRegistry.json +1 -1
- package/artifacts/KeepStake.json +2 -2
- package/artifacts/KeepToken.json +2 -2
- package/artifacts/KeepTokenStaking.json +1 -1
- package/artifacts/LightRelay.json +18 -18
- package/artifacts/MaintainerProxy.json +19 -19
- package/artifacts/MovingFunds.json +2 -2
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- 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/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/VendingMachineV2.json +3 -3
- package/artifacts/VendingMachineV3.json +3 -3
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{8445e3932e9b9683df0e9fb9258d7b11.json → eaed73ec5af35f1b3d40df457dd99d0b.json} +3 -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/WalletCoordinator.sol/WalletCoordinator.dbg.json +4 -0
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +727 -0
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- 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/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/bridge/WalletCoordinator.sol +648 -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 +7083 -7083
- 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/WalletCoordinator.sol/WalletCoordinator.json +25433 -0
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +3002 -3002
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +2472 -2472
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2393 -2393
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +1922 -1922
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +1874 -1874
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +8122 -8122
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +1922 -1922
- 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/SystemTestRelay.sol/SystemTestRelay.json +568 -568
- 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/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 +3476 -3476
- package/export/typechain/WalletCoordinator.js +2 -0
- package/export/typechain/factories/WalletCoordinator__factory.js +806 -0
- package/export/typechain/index.js +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,806 @@
|
|
|
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.WalletCoordinator__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: false,
|
|
54
|
+
internalType: "uint32",
|
|
55
|
+
name: "depositMinAge",
|
|
56
|
+
type: "uint32",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
name: "DepositMinAgeUpdated",
|
|
60
|
+
type: "event",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
anonymous: false,
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
indexed: false,
|
|
67
|
+
internalType: "uint32",
|
|
68
|
+
name: "depositRefundSafetyMargin",
|
|
69
|
+
type: "uint32",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "DepositRefundSafetyMarginUpdated",
|
|
73
|
+
type: "event",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
anonymous: false,
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "uint16",
|
|
81
|
+
name: "depositSweepMaxSize",
|
|
82
|
+
type: "uint16",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
name: "DepositSweepMaxSizeUpdated",
|
|
86
|
+
type: "event",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
anonymous: false,
|
|
90
|
+
inputs: [
|
|
91
|
+
{
|
|
92
|
+
indexed: false,
|
|
93
|
+
internalType: "uint32",
|
|
94
|
+
name: "depositSweepProposalSubmissionGasOffset",
|
|
95
|
+
type: "uint32",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
name: "DepositSweepProposalSubmissionGasOffsetUpdated",
|
|
99
|
+
type: "event",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
anonymous: false,
|
|
103
|
+
inputs: [
|
|
104
|
+
{
|
|
105
|
+
components: [
|
|
106
|
+
{
|
|
107
|
+
internalType: "bytes20",
|
|
108
|
+
name: "walletPubKeyHash",
|
|
109
|
+
type: "bytes20",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
components: [
|
|
113
|
+
{
|
|
114
|
+
internalType: "bytes32",
|
|
115
|
+
name: "fundingTxHash",
|
|
116
|
+
type: "bytes32",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint32",
|
|
120
|
+
name: "fundingOutputIndex",
|
|
121
|
+
type: "uint32",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
125
|
+
name: "depositsKeys",
|
|
126
|
+
type: "tuple[]",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
internalType: "uint256",
|
|
130
|
+
name: "sweepTxFee",
|
|
131
|
+
type: "uint256",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
indexed: false,
|
|
135
|
+
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
136
|
+
name: "proposal",
|
|
137
|
+
type: "tuple",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
indexed: true,
|
|
141
|
+
internalType: "address",
|
|
142
|
+
name: "proposalSubmitter",
|
|
143
|
+
type: "address",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
name: "DepositSweepProposalSubmitted",
|
|
147
|
+
type: "event",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
anonymous: false,
|
|
151
|
+
inputs: [
|
|
152
|
+
{
|
|
153
|
+
indexed: false,
|
|
154
|
+
internalType: "uint32",
|
|
155
|
+
name: "depositSweepProposalValidity",
|
|
156
|
+
type: "uint32",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
name: "DepositSweepProposalValidityUpdated",
|
|
160
|
+
type: "event",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
anonymous: false,
|
|
164
|
+
inputs: [
|
|
165
|
+
{
|
|
166
|
+
indexed: false,
|
|
167
|
+
internalType: "uint8",
|
|
168
|
+
name: "version",
|
|
169
|
+
type: "uint8",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
name: "Initialized",
|
|
173
|
+
type: "event",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
anonymous: false,
|
|
177
|
+
inputs: [
|
|
178
|
+
{
|
|
179
|
+
indexed: true,
|
|
180
|
+
internalType: "address",
|
|
181
|
+
name: "previousOwner",
|
|
182
|
+
type: "address",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
indexed: true,
|
|
186
|
+
internalType: "address",
|
|
187
|
+
name: "newOwner",
|
|
188
|
+
type: "address",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
name: "OwnershipTransferred",
|
|
192
|
+
type: "event",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
anonymous: false,
|
|
196
|
+
inputs: [
|
|
197
|
+
{
|
|
198
|
+
indexed: true,
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "proposalSubmitter",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
name: "ProposalSubmitterAdded",
|
|
205
|
+
type: "event",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
anonymous: false,
|
|
209
|
+
inputs: [
|
|
210
|
+
{
|
|
211
|
+
indexed: true,
|
|
212
|
+
internalType: "address",
|
|
213
|
+
name: "proposalSubmitter",
|
|
214
|
+
type: "address",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
name: "ProposalSubmitterRemoved",
|
|
218
|
+
type: "event",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
anonymous: false,
|
|
222
|
+
inputs: [
|
|
223
|
+
{
|
|
224
|
+
indexed: false,
|
|
225
|
+
internalType: "address",
|
|
226
|
+
name: "newReimbursementPool",
|
|
227
|
+
type: "address",
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
name: "ReimbursementPoolUpdated",
|
|
231
|
+
type: "event",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
anonymous: false,
|
|
235
|
+
inputs: [
|
|
236
|
+
{
|
|
237
|
+
indexed: true,
|
|
238
|
+
internalType: "bytes20",
|
|
239
|
+
name: "walletPubKeyHash",
|
|
240
|
+
type: "bytes20",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
name: "WalletManuallyUnlocked",
|
|
244
|
+
type: "event",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
inputs: [
|
|
248
|
+
{
|
|
249
|
+
internalType: "address",
|
|
250
|
+
name: "proposalSubmitter",
|
|
251
|
+
type: "address",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
name: "addProposalSubmitter",
|
|
255
|
+
outputs: [],
|
|
256
|
+
stateMutability: "nonpayable",
|
|
257
|
+
type: "function",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [],
|
|
261
|
+
name: "bridge",
|
|
262
|
+
outputs: [
|
|
263
|
+
{
|
|
264
|
+
internalType: "contract Bridge",
|
|
265
|
+
name: "",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
stateMutability: "view",
|
|
270
|
+
type: "function",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
inputs: [],
|
|
274
|
+
name: "depositMinAge",
|
|
275
|
+
outputs: [
|
|
276
|
+
{
|
|
277
|
+
internalType: "uint32",
|
|
278
|
+
name: "",
|
|
279
|
+
type: "uint32",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
stateMutability: "view",
|
|
283
|
+
type: "function",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [],
|
|
287
|
+
name: "depositRefundSafetyMargin",
|
|
288
|
+
outputs: [
|
|
289
|
+
{
|
|
290
|
+
internalType: "uint32",
|
|
291
|
+
name: "",
|
|
292
|
+
type: "uint32",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
stateMutability: "view",
|
|
296
|
+
type: "function",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
inputs: [],
|
|
300
|
+
name: "depositSweepMaxSize",
|
|
301
|
+
outputs: [
|
|
302
|
+
{
|
|
303
|
+
internalType: "uint16",
|
|
304
|
+
name: "",
|
|
305
|
+
type: "uint16",
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
stateMutability: "view",
|
|
309
|
+
type: "function",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
inputs: [],
|
|
313
|
+
name: "depositSweepProposalSubmissionGasOffset",
|
|
314
|
+
outputs: [
|
|
315
|
+
{
|
|
316
|
+
internalType: "uint32",
|
|
317
|
+
name: "",
|
|
318
|
+
type: "uint32",
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
stateMutability: "view",
|
|
322
|
+
type: "function",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
inputs: [],
|
|
326
|
+
name: "depositSweepProposalValidity",
|
|
327
|
+
outputs: [
|
|
328
|
+
{
|
|
329
|
+
internalType: "uint32",
|
|
330
|
+
name: "",
|
|
331
|
+
type: "uint32",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
stateMutability: "view",
|
|
335
|
+
type: "function",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
inputs: [
|
|
339
|
+
{
|
|
340
|
+
internalType: "contract Bridge",
|
|
341
|
+
name: "_bridge",
|
|
342
|
+
type: "address",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
name: "initialize",
|
|
346
|
+
outputs: [],
|
|
347
|
+
stateMutability: "nonpayable",
|
|
348
|
+
type: "function",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
inputs: [
|
|
352
|
+
{
|
|
353
|
+
internalType: "address",
|
|
354
|
+
name: "",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
name: "isProposalSubmitter",
|
|
359
|
+
outputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: "bool",
|
|
362
|
+
name: "",
|
|
363
|
+
type: "bool",
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
stateMutability: "view",
|
|
367
|
+
type: "function",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
inputs: [],
|
|
371
|
+
name: "owner",
|
|
372
|
+
outputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "address",
|
|
375
|
+
name: "",
|
|
376
|
+
type: "address",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
stateMutability: "view",
|
|
380
|
+
type: "function",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [],
|
|
384
|
+
name: "reimbursementPool",
|
|
385
|
+
outputs: [
|
|
386
|
+
{
|
|
387
|
+
internalType: "contract ReimbursementPool",
|
|
388
|
+
name: "",
|
|
389
|
+
type: "address",
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
stateMutability: "view",
|
|
393
|
+
type: "function",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
inputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "address",
|
|
399
|
+
name: "proposalSubmitter",
|
|
400
|
+
type: "address",
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
name: "removeProposalSubmitter",
|
|
404
|
+
outputs: [],
|
|
405
|
+
stateMutability: "nonpayable",
|
|
406
|
+
type: "function",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
inputs: [],
|
|
410
|
+
name: "renounceOwnership",
|
|
411
|
+
outputs: [],
|
|
412
|
+
stateMutability: "nonpayable",
|
|
413
|
+
type: "function",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
inputs: [
|
|
417
|
+
{
|
|
418
|
+
components: [
|
|
419
|
+
{
|
|
420
|
+
internalType: "bytes20",
|
|
421
|
+
name: "walletPubKeyHash",
|
|
422
|
+
type: "bytes20",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
components: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "bytes32",
|
|
428
|
+
name: "fundingTxHash",
|
|
429
|
+
type: "bytes32",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
internalType: "uint32",
|
|
433
|
+
name: "fundingOutputIndex",
|
|
434
|
+
type: "uint32",
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
438
|
+
name: "depositsKeys",
|
|
439
|
+
type: "tuple[]",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "sweepTxFee",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
448
|
+
name: "proposal",
|
|
449
|
+
type: "tuple",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
components: [
|
|
453
|
+
{
|
|
454
|
+
internalType: "uint32[]",
|
|
455
|
+
name: "walletMembersIDs",
|
|
456
|
+
type: "uint32[]",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
internalType: "uint256",
|
|
460
|
+
name: "walletMemberIndex",
|
|
461
|
+
type: "uint256",
|
|
462
|
+
},
|
|
463
|
+
],
|
|
464
|
+
internalType: "struct WalletCoordinator.WalletMemberContext",
|
|
465
|
+
name: "walletMemberContext",
|
|
466
|
+
type: "tuple",
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
name: "submitDepositSweepProposal",
|
|
470
|
+
outputs: [],
|
|
471
|
+
stateMutability: "nonpayable",
|
|
472
|
+
type: "function",
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
inputs: [
|
|
476
|
+
{
|
|
477
|
+
components: [
|
|
478
|
+
{
|
|
479
|
+
internalType: "bytes20",
|
|
480
|
+
name: "walletPubKeyHash",
|
|
481
|
+
type: "bytes20",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
components: [
|
|
485
|
+
{
|
|
486
|
+
internalType: "bytes32",
|
|
487
|
+
name: "fundingTxHash",
|
|
488
|
+
type: "bytes32",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
internalType: "uint32",
|
|
492
|
+
name: "fundingOutputIndex",
|
|
493
|
+
type: "uint32",
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
497
|
+
name: "depositsKeys",
|
|
498
|
+
type: "tuple[]",
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
internalType: "uint256",
|
|
502
|
+
name: "sweepTxFee",
|
|
503
|
+
type: "uint256",
|
|
504
|
+
},
|
|
505
|
+
],
|
|
506
|
+
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
507
|
+
name: "proposal",
|
|
508
|
+
type: "tuple",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
components: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "uint32[]",
|
|
514
|
+
name: "walletMembersIDs",
|
|
515
|
+
type: "uint32[]",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
internalType: "uint256",
|
|
519
|
+
name: "walletMemberIndex",
|
|
520
|
+
type: "uint256",
|
|
521
|
+
},
|
|
522
|
+
],
|
|
523
|
+
internalType: "struct WalletCoordinator.WalletMemberContext",
|
|
524
|
+
name: "walletMemberContext",
|
|
525
|
+
type: "tuple",
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
name: "submitDepositSweepProposalWithReimbursement",
|
|
529
|
+
outputs: [],
|
|
530
|
+
stateMutability: "nonpayable",
|
|
531
|
+
type: "function",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
inputs: [
|
|
535
|
+
{
|
|
536
|
+
internalType: "address",
|
|
537
|
+
name: "newOwner",
|
|
538
|
+
type: "address",
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
name: "transferOwnership",
|
|
542
|
+
outputs: [],
|
|
543
|
+
stateMutability: "nonpayable",
|
|
544
|
+
type: "function",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
inputs: [
|
|
548
|
+
{
|
|
549
|
+
internalType: "bytes20",
|
|
550
|
+
name: "walletPubKeyHash",
|
|
551
|
+
type: "bytes20",
|
|
552
|
+
},
|
|
553
|
+
],
|
|
554
|
+
name: "unlockWallet",
|
|
555
|
+
outputs: [],
|
|
556
|
+
stateMutability: "nonpayable",
|
|
557
|
+
type: "function",
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
inputs: [
|
|
561
|
+
{
|
|
562
|
+
internalType: "uint32",
|
|
563
|
+
name: "_depositMinAge",
|
|
564
|
+
type: "uint32",
|
|
565
|
+
},
|
|
566
|
+
],
|
|
567
|
+
name: "updateDepositMinAge",
|
|
568
|
+
outputs: [],
|
|
569
|
+
stateMutability: "nonpayable",
|
|
570
|
+
type: "function",
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
inputs: [
|
|
574
|
+
{
|
|
575
|
+
internalType: "uint32",
|
|
576
|
+
name: "_depositRefundSafetyMargin",
|
|
577
|
+
type: "uint32",
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
name: "updateDepositRefundSafetyMargin",
|
|
581
|
+
outputs: [],
|
|
582
|
+
stateMutability: "nonpayable",
|
|
583
|
+
type: "function",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
inputs: [
|
|
587
|
+
{
|
|
588
|
+
internalType: "uint16",
|
|
589
|
+
name: "_depositSweepMaxSize",
|
|
590
|
+
type: "uint16",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
name: "updateDepositSweepMaxSize",
|
|
594
|
+
outputs: [],
|
|
595
|
+
stateMutability: "nonpayable",
|
|
596
|
+
type: "function",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
inputs: [
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint32",
|
|
602
|
+
name: "_depositSweepProposalSubmissionGasOffset",
|
|
603
|
+
type: "uint32",
|
|
604
|
+
},
|
|
605
|
+
],
|
|
606
|
+
name: "updateDepositSweepProposalSubmissionGasOffset",
|
|
607
|
+
outputs: [],
|
|
608
|
+
stateMutability: "nonpayable",
|
|
609
|
+
type: "function",
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
inputs: [
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint32",
|
|
615
|
+
name: "_depositSweepProposalValidity",
|
|
616
|
+
type: "uint32",
|
|
617
|
+
},
|
|
618
|
+
],
|
|
619
|
+
name: "updateDepositSweepProposalValidity",
|
|
620
|
+
outputs: [],
|
|
621
|
+
stateMutability: "nonpayable",
|
|
622
|
+
type: "function",
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
inputs: [
|
|
626
|
+
{
|
|
627
|
+
internalType: "contract ReimbursementPool",
|
|
628
|
+
name: "_reimbursementPool",
|
|
629
|
+
type: "address",
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
name: "updateReimbursementPool",
|
|
633
|
+
outputs: [],
|
|
634
|
+
stateMutability: "nonpayable",
|
|
635
|
+
type: "function",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
inputs: [
|
|
639
|
+
{
|
|
640
|
+
components: [
|
|
641
|
+
{
|
|
642
|
+
internalType: "bytes20",
|
|
643
|
+
name: "walletPubKeyHash",
|
|
644
|
+
type: "bytes20",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
components: [
|
|
648
|
+
{
|
|
649
|
+
internalType: "bytes32",
|
|
650
|
+
name: "fundingTxHash",
|
|
651
|
+
type: "bytes32",
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
internalType: "uint32",
|
|
655
|
+
name: "fundingOutputIndex",
|
|
656
|
+
type: "uint32",
|
|
657
|
+
},
|
|
658
|
+
],
|
|
659
|
+
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
660
|
+
name: "depositsKeys",
|
|
661
|
+
type: "tuple[]",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
internalType: "uint256",
|
|
665
|
+
name: "sweepTxFee",
|
|
666
|
+
type: "uint256",
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
670
|
+
name: "proposal",
|
|
671
|
+
type: "tuple",
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
components: [
|
|
675
|
+
{
|
|
676
|
+
components: [
|
|
677
|
+
{
|
|
678
|
+
internalType: "bytes4",
|
|
679
|
+
name: "version",
|
|
680
|
+
type: "bytes4",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
internalType: "bytes",
|
|
684
|
+
name: "inputVector",
|
|
685
|
+
type: "bytes",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
internalType: "bytes",
|
|
689
|
+
name: "outputVector",
|
|
690
|
+
type: "bytes",
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
internalType: "bytes4",
|
|
694
|
+
name: "locktime",
|
|
695
|
+
type: "bytes4",
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
internalType: "struct BitcoinTx.Info",
|
|
699
|
+
name: "fundingTx",
|
|
700
|
+
type: "tuple",
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
internalType: "bytes8",
|
|
704
|
+
name: "blindingFactor",
|
|
705
|
+
type: "bytes8",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
internalType: "bytes20",
|
|
709
|
+
name: "walletPubKeyHash",
|
|
710
|
+
type: "bytes20",
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
internalType: "bytes20",
|
|
714
|
+
name: "refundPubKeyHash",
|
|
715
|
+
type: "bytes20",
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
internalType: "bytes4",
|
|
719
|
+
name: "refundLocktime",
|
|
720
|
+
type: "bytes4",
|
|
721
|
+
},
|
|
722
|
+
],
|
|
723
|
+
internalType: "struct WalletCoordinator.DepositExtraInfo[]",
|
|
724
|
+
name: "depositsExtraInfo",
|
|
725
|
+
type: "tuple[]",
|
|
726
|
+
},
|
|
727
|
+
],
|
|
728
|
+
name: "validateDepositSweepProposal",
|
|
729
|
+
outputs: [],
|
|
730
|
+
stateMutability: "view",
|
|
731
|
+
type: "function",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
inputs: [
|
|
735
|
+
{
|
|
736
|
+
internalType: "bytes20",
|
|
737
|
+
name: "",
|
|
738
|
+
type: "bytes20",
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
name: "walletLock",
|
|
742
|
+
outputs: [
|
|
743
|
+
{
|
|
744
|
+
internalType: "uint32",
|
|
745
|
+
name: "",
|
|
746
|
+
type: "uint32",
|
|
747
|
+
},
|
|
748
|
+
],
|
|
749
|
+
stateMutability: "view",
|
|
750
|
+
type: "function",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
inputs: [],
|
|
754
|
+
name: "walletRegistry",
|
|
755
|
+
outputs: [
|
|
756
|
+
{
|
|
757
|
+
internalType: "contract IWalletRegistry",
|
|
758
|
+
name: "",
|
|
759
|
+
type: "address",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
stateMutability: "view",
|
|
763
|
+
type: "function",
|
|
764
|
+
},
|
|
765
|
+
];
|
|
766
|
+
var _bytecode = "0x608060405234801561001057600080fd5b50613268806100206000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c80638e323a99116100ee578063bc20a08011610097578063c4d66de811610071578063c4d66de8146103c4578063e78cea92146103d7578063f2fde38b146103ea578063f74b37bd146103fd57600080fd5b8063bc20a08014610387578063c09975cd1461039e578063c1790d77146103b157600080fd5b8063ab7aa6ad116100c8578063ab7aa6ad14610340578063acaac70514610353578063b82bc3991461037457600080fd5b80638e323a99146103075780639039bc1c1461031a5780639f41e13b1461032d57600080fd5b806331d8c6221161015b578063715018a611610135578063715018a6146102b45780637698fa97146102bc5780637b35b4e6146102cf5780638da5cb5b146102e257600080fd5b806331d8c622146102775780633a4159c81461028e5780636ff913c3146102a157600080fd5b8063213f7df71161018c578063213f7df71461020b57806323a1c3071461023e5780632c259d2b1461025157600080fd5b806308553292146101b35780630dc1b8df146101e35780631c6710dd146101f8575b600080fd5b609b546101c99062010000900463ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b6101f66101f1366004612531565b610414565b005b6101f6610206366004612566565b61048f565b61022e6102193660046125e6565b60976020526000908152604090205460ff1681565b60405190151581526020016101da565b6101f661024c366004612531565b610780565b6101c961025f366004612625565b60986020526000908152604090205463ffffffff1681565b609a546101c990600160e01b900463ffffffff1681565b6101f661029c3660046125e6565b6107f4565b6101f66102af366004612531565b6108d3565b6101f6610943565b6101f66102ca366004612640565b610957565b6101f66102dd3660046125e6565b611013565b6033546001600160a01b03165b6040516001600160a01b0390911681526020016101da565b6101f66103153660046125e6565b6110e7565b6101f6610328366004612625565b6111ca565b6101f661033b3660046126da565b611224565b609a546102ef906001600160a01b031681565b609b546103619061ffff1681565b60405161ffff90911681526020016101da565b6101f6610382366004612531565b611270565b609a546101c990600160c01b900463ffffffff1681565b6065546102ef906001600160a01b031681565b6101f66103bf366004612566565b6112ca565b6101f66103d23660046125e6565b61136e565b6099546102ef906001600160a01b031681565b6101f66103f83660046125e6565b6115f0565b609a546101c990600160a01b900463ffffffff1681565b61041c611680565b609a80547fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b63ffffffff8416908102919091179091556040519081527feda69d960fc800ae7f67255cd8b42b338c24e1a655053127fff8bf88a2480d3f906020015b60405180910390a150565b61049c6020830183612625565b33600090815260976020526040812054839160ff90911690816105da576099546040517fe65e19d50000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff19861660048201526000916001600160a01b03169063e65e19d59060240161012060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906127b6565b51609a549091506001600160a01b031663df07ce598261056f8780612859565b3389602001356040518663ffffffff1660e01b81526004016105959594939291906128a3565b602060405180830381865afa1580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d6919061290c565b9150505b81806105e35750805b61065a5760405162461bcd60e51b815260206004820152603a60248201527f43616c6c6572206973206e65697468657220612070726f706f73616c2073756260448201527f6d6974746572206e6f7220612077616c6c6574206d656d62657200000000000060648201526084015b60405180910390fd5b6106676020870187612625565b6bffffffffffffffffffffffff19811660009081526098602052604090205463ffffffff1642116106da5760405162461bcd60e51b815260206004820152600d60248201527f57616c6c6574206c6f636b6564000000000000000000000000000000000000006044820152606401610651565b609a546106f490600160a01b900463ffffffff1642612944565b6098600061070560208b018b612625565b6bffffffffffffffffffffffff1916815260208101919091526040908101600020805463ffffffff191663ffffffff93909316929092179091555133907fe17b4ed4828b9f018ca549cfd5f662e5551408093b1db16d94b9cd242e6df1719061076f908a90612968565b60405180910390a250505050505050565b610788611680565b609a80547fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff16600160a01b63ffffffff8416908102919091179091556040519081527f085a81d11ac3cf6033d185eccdfc414b8a20da29a555406c068a0a1fdac8afea90602001610484565b6107fc611680565b6001600160a01b03811660009081526097602052604090205460ff1661088a5760405162461bcd60e51b815260206004820152602860248201527f546869732061646472657373206973206e6f7420612070726f706f73616c207360448201527f75626d69747465720000000000000000000000000000000000000000000000006064820152608401610651565b6001600160a01b038116600081815260976020526040808220805460ff19169055517f4017c4f3f844d24f56ade93af205a7ed01bf7f858b90f4b62206be460af2d2269190a250565b6108db611680565b609a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16600160e01b63ffffffff8416908102919091179091556040519081527fcb0c11e4086618176ceab0afd46b7fa25688cf2a6566ed4845f1fb530571faee90602001610484565b61094b611680565b61095560006116da565b565b60016099546001600160a01b031663e65e19d56109776020870187612625565b6040516001600160e01b031960e084901b1681526bffffffffffffffffffffffff19909116600482015260240161012060405180830381865afa1580156109c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e691906127b6565b60e0015160058111156109fb576109fb612a39565b14610a485760405162461bcd60e51b815260206004820152601b60248201527f57616c6c6574206973206e6f7420696e204c69766520737461746500000000006044820152606401610651565b6000610a576020850185612a4f565b905011610aa65760405162461bcd60e51b815260206004820152601860248201527f53776565702062656c6f7720746865206d696e2073697a6500000000000000006044820152606401610651565b609b5461ffff16610aba6020850185612a4f565b90501115610b0a5760405162461bcd60e51b815260206004820152601a60248201527f5377656570206578636565647320746865206d61782073697a650000000000006044820152606401610651565b80610b186020850185612a4f565b905014610b8d5760405162461bcd60e51b815260206004820152602e60248201527f45616368206465706f736974206b6579206d7573742068617665206d6174636860448201527f696e6720657874726120646174610000000000000000000000000000000000006064820152608401610651565b610ba96040840135610ba26020860186612a4f565b9050611739565b6000805b610bba6020860186612a4f565b905081101561100c576000610bd26020870187612a4f565b83818110610be257610be2612a99565b905060400201803603810190610bf89190612aaf565b90506000858584818110610c0e57610c0e612a99565b9050602002810190610c209190612b05565b610c2990612bf3565b60995483516020808601516040519495506000946001600160a01b039094169363b02c43d093610c72939092910191825260e01b6001600160e01b031916602082015260240190565b60408051808303601f1901815290829052805160209091012060e083901b6001600160e01b0319168252600482015260240160c060405180830381865afa158015610cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce59190612cf5565b9050806040015163ffffffff16600003610d415760405162461bcd60e51b815260206004820152601460248201527f4465706f736974206e6f742072657665616c65640000000000000000000000006044820152606401610651565b609a546040820151610d6091600160c01b900463ffffffff1690612944565b63ffffffff164211610db45760405162461bcd60e51b815260206004820181905260248201527f4465706f736974206d696e20616765206e6f74206163686965766564207965746044820152606401610651565b60a081015163ffffffff1615610e0c5760405162461bcd60e51b815260206004820152601560248201527f4465706f73697420616c726561647920737765707400000000000000000000006044820152606401610651565b610e1b838260000151846118dd565b608082015160009060d881901c63ff00ff001662ff00ff60e89290921c9190911617601081811b91901c17609a54909150610e6390600160e01b900463ffffffff1682612d9c565b63ffffffff164210610edd5760405162461bcd60e51b815260206004820152602d60248201527f4465706f73697420726566756e6420736166657479206d617267696e2069732060448201527f6e6f7420707265736572766564000000000000000000000000000000000000006064820152608401610651565b610eea60208a018a612625565b6bffffffffffffffffffffffff191683604001516bffffffffffffffffffffffff191614610f805760405162461bcd60e51b815260206004820152602660248201527f4465706f73697420636f6e74726f6c6c656420627920646966666572656e742060448201527f77616c6c657400000000000000000000000000000000000000000000000000006064820152608401610651565b84600003610f9057816060015195505b856001600160a01b031682606001516001600160a01b031614610ff55760405162461bcd60e51b815260206004820152601f60248201527f4465706f736974207461726765747320646966666572656e74207661756c74006044820152606401610651565b50505050808061100490612db9565b915050610bad565b5050505050565b336110266033546001600160a01b031690565b6001600160a01b03161461107c5760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610651565b6040516001600160a01b03821681527f0e2d2343d31b085b7c4e56d1c8a6ec79f7ab07460386f1c9a1756239fe2533ac9060200160405180910390a16065805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6110ef611680565b6001600160a01b03811660009081526097602052604090205460ff161561117e5760405162461bcd60e51b815260206004820152602c60248201527f54686973206164647265737320697320616c726561647920612070726f706f7360448201527f616c207375626d697474657200000000000000000000000000000000000000006064820152608401610651565b6001600160a01b038116600081815260976020526040808220805460ff19166001179055517fe7005265f76a2d6482aaa3a0e969edd45868e3210ff126216a0425f83af1ef209190a250565b6111d2611680565b6bffffffffffffffffffffffff198116600081815260986020526040808220805463ffffffff19169055517f5ea2f0397ee52fe8e2e6460e92b334c996f3580dc76c022d41b290cb985f41e69190a250565b61122c611680565b609b805461ffff191661ffff83169081179091556040519081527fcc7b63f885d59808f386320218caf8e6bdaa095b61927dea4e59f9cf6954beab90602001610484565b611278611680565b609b805465ffffffff000019166201000063ffffffff8416908102919091179091556040519081527fafb79fa073ff248ba2f1cd9798891f4ee776a03c9f860eccdebcb1837305a19790602001610484565b60005a90506112d9838361048f565b606554609b546001600160a01b0390911690637ad226dc9062010000900463ffffffff165a6113089085612dd2565b6113129190612de5565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401600060405180830381600087803b15801561135157600080fd5b505af1158015611365573d6000803e3d6000fd5b50505050505050565b600054610100900460ff161580801561138e5750600054600160ff909116105b806113a85750303b1580156113a8575060005460ff166001145b61141a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610651565b6000805460ff19166001179055801561143d576000805461ff0019166101001790555b611445611b3b565b6099805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155604080517fa9de2f3a000000000000000000000000000000000000000000000000000000008152905163a9de2f3a916004808201926080929091908290030181865afa1580156114c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e89190612df8565b6065805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03928316179055609a80549290911677ffffffffffffffffffffffffffffffffffffffffffffffff199092169190911775384000000000000000000000000000000000000000001777ffffffffffffffffffffffffffffffffffffffffffffffff167e01518000001c200000000000000000000000000000000000000000000000001790555050609b805465ffffffffffff19166361a8000517905580156115ec576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6115f8611680565b6001600160a01b0381166116745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610651565b61167d816116da565b50565b6033546001600160a01b031633146109555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610651565b603380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082116117af5760405162461bcd60e51b815260206004820152602760248201527f50726f706f736564207472616e73616374696f6e206665652063616e6e6f742060448201527f6265207a65726f000000000000000000000000000000000000000000000000006064820152608401610651565b60006117bb8284612e6d565b90506000826117ca8386612dd2565b6117d49190612e81565b90506000609960009054906101000a90046001600160a01b03166001600160a01b031663c42b64d06040518163ffffffff1660e01b8152600401608060405180830381865afa15801561182b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184f9190612e95565b5092505067ffffffffffffffff8216905061186a8484612de5565b111561100c5760405162461bcd60e51b8152602060048201526024808201527f50726f706f736564207472616e73616374696f6e2066656520697320746f6f2060448201527f68696768000000000000000000000000000000000000000000000000000000006064820152608401610651565b80518051602080830151604080850151606090950151905160009561191f9561190b95909493919201612f10565b604051602081830303815290604052611bae565b845190915081146119985760405162461bcd60e51b815260206004820152602960248201527f457874726120696e666f2066756e64696e67207478206861736820646f65732060448201527f6e6f74206d6174636800000000000000000000000000000000000000000000006064820152608401610651565b60008383602001518460400151856060015186608001516040516020016119c3959493929190612f46565b604051602081830303815290604052905060006119fb866020015163ffffffff16856000015160400151611bd590919063ffffffff16565b90506000611a0882611db9565b905080516014148015611a4a5750611a1f83611dd3565b6bffffffffffffffffffffffff1916611a39826000611dfa565b6bffffffffffffffffffffffff1916145b15611a585750505050505050565b80516020148015611abf5750600283604051611a7491906131db565b602060405180830381855afa158015611a91573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611ab491906131e7565b611abd82611e10565b145b15611acd5750505050505050565b60405162461bcd60e51b815260206004820152602f60248201527f457874726120696e666f2066756e64696e67206f75747075742073637269707460448201527f20646f6573206e6f74206d6174636800000000000000000000000000000000006064820152608401610651565b600054610100900460ff16611ba65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610651565b610955611e2b565b60006020600083516020850160025afa50602060006020600060025afa5050600051919050565b6060600080611be385611e9f565b909250905060018201611c5e5760405162461bcd60e51b815260206004820152602260248201527f52656164206f76657272756e20647572696e6720566172496e7420706172736960448201527f6e670000000000000000000000000000000000000000000000000000000000006064820152608401610651565b808410611cad5760405162461bcd60e51b815260206004820152601160248201527f566f75742072656164206f76657272756e0000000000000000000000000000006044820152606401610651565b600080611cbb846001612de5565b905060005b86811015611d4357611cd28883611eb6565b92506000198303611d255760405162461bcd60e51b815260206004820152601a60248201527f42616420566172496e7420696e207363726970745075626b65790000000000006044820152606401610651565b611d2f8383612de5565b915080611d3b81612db9565b915050611cc0565b50611d4e8782611eb6565b91506000198203611da15760405162461bcd60e51b815260206004820152601a60248201527f42616420566172496e7420696e207363726970745075626b65790000000000006044820152606401610651565b611dac878284611f23565b9450505050505b92915050565b6060611db3826008808551611dce9190612dd2565b611ff0565b60006020600083516020850160025afa50602060006020600060035afa5050600c51919050565b6000611e098383016020015190565b9392505050565b60008151600003611e2357506000919050565b506020015190565b600054610100900460ff16611e965760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610651565b610955336116da565b600080611ead8360006122f5565b91509150915091565b6000611ec3826009612de5565b83511015611ed45750600019611db3565b600080611eeb85611ee6866008612de5565b6122f5565b909250905060018201611f045760001992505050611db3565b80611f10836009612de5565b611f1a9190612de5565b95945050505050565b606081600003611f425750604080516020810190915260008152611e09565b6000611f4e8385612de5565b90508381118015611f60575080855110155b611fac5760405162461bcd60e51b815260206004820152601360248201527f536c696365206f7574206f6620626f756e6473000000000000000000000000006044820152606401610651565b604051915082604083010160405282825283850182038460208701018481015b80821015611fe557815183830152602082019150611fcc565b505050509392505050565b6060600084848151811061200657612006612a99565b016020015160f81c90508261201c826001613200565b60ff161461203a575050604080516020810190915260008152611e09565b84612046856001612de5565b8151811061205657612056612a99565b016020015160f81c6000036121155760028160ff161015612087575050604080516020810190915260008152611e09565b600085612095866002612de5565b815181106120a5576120a5612a99565b016020015160f81c90506120ba600283613219565b60ff16811415806120d85750806020141580156120d8575080601414155b156120f6576040518060200160405280600081525092505050611e09565b61210c612104866003612de5565b879083611f23565b92505050611e09565b60006121218686611dfa565b90507fffffff000000000000000000000000000000000000000000000000000000000081167f1976a90000000000000000000000000000000000000000000000000000000000036122355785612178866003612de5565b8151811061218857612188612a99565b60209101015160f81c601414158061220057506121bb60026121aa8688612de5565b6121b49190612dd2565b8790611dfa565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f88ac00000000000000000000000000000000000000000000000000000000000014155b1561221e576040518060200160405280600081525092505050611e09565b61210c61222c866004612de5565b87906014611f23565b7fffffff000000000000000000000000000000000000000000000000000000000081167f17a9140000000000000000000000000000000000000000000000000000000000036122dc5785600161228b8688612de5565b6122959190612dd2565b815181106122a5576122a5612a99565b60209101015160f81c6087146122ce576040518060200160405280600081525092505050611e09565b61210c61222c866003612de5565b5050506040805160208101909152600081529392505050565b60008060006123048585612499565b90508060ff1660000361233957600085858151811061232557612325612a99565b016020015190935060f81c91506124929050565b83612345826001613200565b60ff166123529190612de5565b855110156123695760001960009250925050612492565b60008160ff166002036123ad576123a261238e612387876001612de5565b8890611dfa565b62ffff0060e882901c1660f89190911c1790565b61ffff169050612488565b8160ff166004036123fc576123ef6123c9612387876001612de5565b60d881901c63ff00ff001662ff00ff60e89290921c9190911617601081811b91901c1790565b63ffffffff169050612488565b8160ff166008036124885761247b612418612387876001612de5565b60c01c64ff000000ff600882811c91821665ff000000ff009390911b92831617601090811b67ffffffffffffffff1666ff00ff00ff00ff9290921667ff00ff00ff00ff009093169290921790911c65ffff0000ffff1617602081811c91901b1790565b67ffffffffffffffff1690505b60ff909116925090505b9250929050565b60008282815181106124ad576124ad612a99565b016020015160f81c60ff036124c457506008611db3565b8282815181106124d6576124d6612a99565b016020015160f81c60fe036124ed57506004611db3565b8282815181106124ff576124ff612a99565b016020015160f81c60fd0361251657506002611db3565b50600092915050565b63ffffffff8116811461167d57600080fd5b60006020828403121561254357600080fd5b8135611e098161251f565b60006060828403121561256057600080fd5b50919050565b6000806040838503121561257957600080fd5b823567ffffffffffffffff8082111561259157600080fd5b61259d8683870161254e565b935060208501359150808211156125b357600080fd5b508301604081860312156125c657600080fd5b809150509250929050565b6001600160a01b038116811461167d57600080fd5b6000602082840312156125f857600080fd5b8135611e09816125d1565b80356bffffffffffffffffffffffff198116811461262057600080fd5b919050565b60006020828403121561263757600080fd5b611e0982612603565b60008060006040848603121561265557600080fd5b833567ffffffffffffffff8082111561266d57600080fd5b6126798783880161254e565b9450602086013591508082111561268f57600080fd5b818601915086601f8301126126a357600080fd5b8135818111156126b257600080fd5b8760208260051b85010111156126c757600080fd5b6020830194508093505050509250925092565b6000602082840312156126ec57600080fd5b813561ffff81168114611e0957600080fd5b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff81118282101715612738576127386126fe565b60405290565b60405160a0810167ffffffffffffffff81118282101715612738576127386126fe565b6040516080810167ffffffffffffffff81118282101715612738576127386126fe565b805167ffffffffffffffff8116811461262057600080fd5b80516126208161251f565b80516006811061262057600080fd5b600061012082840312156127c957600080fd5b6127d1612714565b82518152602083015160208201526127eb60408401612784565b60408201526127fc6060840161279c565b606082015261280d6080840161279c565b608082015261281e60a0840161279c565b60a082015261282f60c0840161279c565b60c082015261284060e084016127a7565b60e0820152610100928301519281019290925250919050565b6000808335601e1984360301811261287057600080fd5b83018035915067ffffffffffffffff82111561288b57600080fd5b6020019150600581901b360382131561249257600080fd5b85815260806020808301829052908201859052600090869060a08401835b888110156128ec5783356128d48161251f565b63ffffffff16825292820192908201906001016128c1565b506001600160a01b03969096166040850152505050606001529392505050565b60006020828403121561291e57600080fd5b81518015158114611e0957600080fd5b634e487b7160e01b600052601160045260246000fd5b63ffffffff8181168382160190808211156129615761296161292e565b5092915050565b60006020808352608083016bffffffffffffffffffffffff1961298a86612603565b168285015281850135601e198636030181126129a557600080fd5b8501828101903567ffffffffffffffff8111156129c157600080fd5b8060061b36038213156129d357600080fd5b60406060818801528382855260a088019050839450600093505b82841015612a22578435815285850135612a068161251f565b63ffffffff1681870152938101936001939093019281016129ed565b970135606096909601959095525093949350505050565b634e487b7160e01b600052602160045260246000fd5b6000808335601e19843603018112612a6657600080fd5b83018035915067ffffffffffffffff821115612a8157600080fd5b6020019150600681901b360382131561249257600080fd5b634e487b7160e01b600052603260045260246000fd5b600060408284031215612ac157600080fd5b6040516040810181811067ffffffffffffffff82111715612ae457612ae46126fe565b604052823581526020830135612af98161251f565b60208201529392505050565b60008235609e19833603018112612b1b57600080fd5b9190910192915050565b80356001600160e01b03198116811461262057600080fd5b600082601f830112612b4e57600080fd5b813567ffffffffffffffff80821115612b6957612b696126fe565b604051601f8301601f19908116603f01168101908282118183101715612b9157612b916126fe565b81604052838152866020858801011115612baa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803577ffffffffffffffffffffffffffffffffffffffffffffffff198116811461262057600080fd5b600060a08236031215612c0557600080fd5b612c0d61273e565b823567ffffffffffffffff80821115612c2557600080fd5b818501915060808236031215612c3a57600080fd5b612c42612761565b612c4b83612b25565b8152602083013582811115612c5f57600080fd5b612c6b36828601612b3d565b602083015250604083013582811115612c8357600080fd5b612c8f36828601612b3d565b604083015250612ca160608401612b25565b6060820152835250612cb7905060208401612bca565b6020820152612cc860408401612603565b6040820152612cd960608401612603565b6060820152612cea60808401612b25565b608082015292915050565b600060c08284031215612d0757600080fd5b60405160c0810181811067ffffffffffffffff82111715612d2a57612d2a6126fe565b6040528251612d38816125d1565b8152612d4660208401612784565b60208201526040830151612d598161251f565b60408201526060830151612d6c816125d1565b6060820152612d7d60808401612784565b608082015260a0830151612d908161251f565b60a08201529392505050565b63ffffffff8281168282160390808211156129615761296161292e565b600060018201612dcb57612dcb61292e565b5060010190565b81810381811115611db357611db361292e565b80820180821115611db357611db361292e565b60008060008060808587031215612e0e57600080fd5b8451612e19816125d1565b6020860151909450612e2a816125d1565b6040860151909350612e3b816125d1565b6060860151909250612e4c816125d1565b939692955090935050565b634e487b7160e01b600052601260045260246000fd5b600082612e7c57612e7c612e57565b500690565b600082612e9057612e90612e57565b500490565b60008060008060808587031215612eab57600080fd5b612eb485612784565b9350612ec260208601612784565b9250612ed060408601612784565b91506060850151612e4c8161251f565b6000815160005b81811015612f015760208185018101518683015201612ee7565b50600093019283525090919050565b60006001600160e01b03198087168352612f36612f306004850188612ee0565b86612ee0565b9316835250506004019392505050565b600560fa1b8152606086901b6bffffffffffffffffffffffff19166001820152607560f81b60158201527f0800000000000000000000000000000000000000000000000000000000000000601682015277ffffffffffffffffffffffffffffffffffffffffffffffff1985166017820152607560f81b601f8201526000613030613023612ffa602085015b7f7600000000000000000000000000000000000000000000000000000000000000815260010190565b7fa900000000000000000000000000000000000000000000000000000000000000815260010190565b600560fa1b815260010190565b6bffffffffffffffffffffffff19861681527f870000000000000000000000000000000000000000000000000000000000000060148201527f630000000000000000000000000000000000000000000000000000000000000060158201526130f4613023612ffa612fd16130cb601686015b7fac00000000000000000000000000000000000000000000000000000000000000815260010190565b7f6700000000000000000000000000000000000000000000000000000000000000815260010190565b6bffffffffffffffffffffffff19861681527f880000000000000000000000000000000000000000000000000000000000000060148201527f040000000000000000000000000000000000000000000000000000000000000060158201529050601681016001600160e01b0319851681527fb1000000000000000000000000000000000000000000000000000000000000006004820152607560f81b600582015290506131cf6131a6600683016130a2565b7f6800000000000000000000000000000000000000000000000000000000000000815260010190565b98975050505050505050565b6000611e098284612ee0565b6000602082840312156131f957600080fd5b5051919050565b60ff8181168382160190811115611db357611db361292e565b60ff8281168282160390811115611db357611db361292e56fea264697066735822122082b9f7c9bb74d8dda3a516bc8ded5742bf53db33d7bb0bcf28ca32e5d4176cae64736f6c63430008110033";
|
|
767
|
+
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
768
|
+
var WalletCoordinator__factory = /** @class */ (function (_super) {
|
|
769
|
+
__extends(WalletCoordinator__factory, _super);
|
|
770
|
+
function WalletCoordinator__factory() {
|
|
771
|
+
var args = [];
|
|
772
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
773
|
+
args[_i] = arguments[_i];
|
|
774
|
+
}
|
|
775
|
+
var _this = this;
|
|
776
|
+
if (isSuperArgs(args)) {
|
|
777
|
+
_this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
|
|
778
|
+
}
|
|
779
|
+
else {
|
|
780
|
+
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
|
781
|
+
}
|
|
782
|
+
return _this;
|
|
783
|
+
}
|
|
784
|
+
WalletCoordinator__factory.prototype.deploy = function (overrides) {
|
|
785
|
+
return _super.prototype.deploy.call(this, overrides || {});
|
|
786
|
+
};
|
|
787
|
+
WalletCoordinator__factory.prototype.getDeployTransaction = function (overrides) {
|
|
788
|
+
return _super.prototype.getDeployTransaction.call(this, overrides || {});
|
|
789
|
+
};
|
|
790
|
+
WalletCoordinator__factory.prototype.attach = function (address) {
|
|
791
|
+
return _super.prototype.attach.call(this, address);
|
|
792
|
+
};
|
|
793
|
+
WalletCoordinator__factory.prototype.connect = function (signer) {
|
|
794
|
+
return _super.prototype.connect.call(this, signer);
|
|
795
|
+
};
|
|
796
|
+
WalletCoordinator__factory.createInterface = function () {
|
|
797
|
+
return new ethers_1.utils.Interface(_abi);
|
|
798
|
+
};
|
|
799
|
+
WalletCoordinator__factory.connect = function (address, signerOrProvider) {
|
|
800
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
801
|
+
};
|
|
802
|
+
WalletCoordinator__factory.bytecode = _bytecode;
|
|
803
|
+
WalletCoordinator__factory.abi = _abi;
|
|
804
|
+
return WalletCoordinator__factory;
|
|
805
|
+
}(ethers_1.ContractFactory));
|
|
806
|
+
exports.WalletCoordinator__factory = WalletCoordinator__factory;
|