@keep-network/tbtc-v2 1.6.0-dev.5 → 1.6.0-dev.6
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/LightRelayMaintainerProxy.json +17 -17
- 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/WalletProposalValidator.json +389 -0
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{d2d7e276da75d7184610fe11a4a103b7.json → d46fa1d8846c35adf326ab51a3910266.json} +2 -2
- 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 +4 -0
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +287 -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/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/bridge/{WalletCoordinator.sol → WalletProposalValidator.sol} +55 -448
- package/deploy/39_deploy_wallet_proposal_validator.ts +33 -0
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +22 -22
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +6 -6
- package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +22598 -0
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +47 -47
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +58 -58
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +59 -59
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +2 -2
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +2 -2
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +135 -135
- package/export/deploy/39_deploy_wallet_proposal_validator.js +82 -0
- package/export/hardhat.config.js +0 -6
- package/export/typechain/factories/WalletProposalValidator__factory.js +366 -0
- package/export/typechain/index.js +3 -3
- package/package.json +1 -1
- package/artifacts/WalletCoordinator.json +0 -1107
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.dbg.json +0 -4
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -1042
- package/deploy/34_deploy_wallet_coordinator.ts +0 -43
- package/deploy/35_add_coordinator_address.ts +0 -20
- package/deploy/36_transfer_wallet_coordinator_ownership.ts +0 -19
- package/deploy/81_upgrade_wallet_coordinator_v2.ts +0 -99
- package/export/artifacts/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -33310
- package/export/deploy/34_deploy_wallet_coordinator.js +0 -115
- package/export/deploy/35_add_coordinator_address.js +0 -60
- package/export/deploy/36_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/81_upgrade_wallet_coordinator_v2.js +0 -140
- package/export/typechain/factories/WalletCoordinator__factory.js +0 -1121
- /package/deploy/{37_deploy_light_relay_maintainer_proxy.ts → 34_deploy_light_relay_maintainer_proxy.ts} +0 -0
- /package/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.ts → 35_authorize_maintainer_in_light_relay_maintainer_proxy.ts} +0 -0
- /package/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.ts → 36_transfer_light_relay_maintainer_proxy_ownership.ts} +0 -0
- /package/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts} +0 -0
- /package/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.ts → 38_authorize_light_relay_maintainer_proxy_in_light_relay.ts} +0 -0
- /package/export/deploy/{37_deploy_light_relay_maintainer_proxy.js → 34_deploy_light_relay_maintainer_proxy.js} +0 -0
- /package/export/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.js → 35_authorize_maintainer_in_light_relay_maintainer_proxy.js} +0 -0
- /package/export/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.js → 36_transfer_light_relay_maintainer_proxy_ownership.js} +0 -0
- /package/export/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js} +0 -0
- /package/export/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.js → 38_authorize_light_relay_maintainer_proxy_in_light_relay.js} +0 -0
- /package/export/typechain/{WalletCoordinator.js → WalletProposalValidator.js} +0 -0
|
@@ -1,1121 +0,0 @@
|
|
|
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: true,
|
|
54
|
-
internalType: "address",
|
|
55
|
-
name: "coordinator",
|
|
56
|
-
type: "address",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
name: "CoordinatorAdded",
|
|
60
|
-
type: "event",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
anonymous: false,
|
|
64
|
-
inputs: [
|
|
65
|
-
{
|
|
66
|
-
indexed: true,
|
|
67
|
-
internalType: "address",
|
|
68
|
-
name: "coordinator",
|
|
69
|
-
type: "address",
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
name: "CoordinatorRemoved",
|
|
73
|
-
type: "event",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
anonymous: false,
|
|
77
|
-
inputs: [
|
|
78
|
-
{
|
|
79
|
-
indexed: false,
|
|
80
|
-
internalType: "uint32",
|
|
81
|
-
name: "depositSweepProposalValidity",
|
|
82
|
-
type: "uint32",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
indexed: false,
|
|
86
|
-
internalType: "uint32",
|
|
87
|
-
name: "depositMinAge",
|
|
88
|
-
type: "uint32",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
indexed: false,
|
|
92
|
-
internalType: "uint32",
|
|
93
|
-
name: "depositRefundSafetyMargin",
|
|
94
|
-
type: "uint32",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
indexed: false,
|
|
98
|
-
internalType: "uint16",
|
|
99
|
-
name: "depositSweepMaxSize",
|
|
100
|
-
type: "uint16",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
indexed: false,
|
|
104
|
-
internalType: "uint32",
|
|
105
|
-
name: "depositSweepProposalSubmissionGasOffset",
|
|
106
|
-
type: "uint32",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
name: "DepositSweepProposalParametersUpdated",
|
|
110
|
-
type: "event",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
anonymous: false,
|
|
114
|
-
inputs: [
|
|
115
|
-
{
|
|
116
|
-
components: [
|
|
117
|
-
{
|
|
118
|
-
internalType: "bytes20",
|
|
119
|
-
name: "walletPubKeyHash",
|
|
120
|
-
type: "bytes20",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
components: [
|
|
124
|
-
{
|
|
125
|
-
internalType: "bytes32",
|
|
126
|
-
name: "fundingTxHash",
|
|
127
|
-
type: "bytes32",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
internalType: "uint32",
|
|
131
|
-
name: "fundingOutputIndex",
|
|
132
|
-
type: "uint32",
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
136
|
-
name: "depositsKeys",
|
|
137
|
-
type: "tuple[]",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
internalType: "uint256",
|
|
141
|
-
name: "sweepTxFee",
|
|
142
|
-
type: "uint256",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
internalType: "uint256[]",
|
|
146
|
-
name: "depositsRevealBlocks",
|
|
147
|
-
type: "uint256[]",
|
|
148
|
-
},
|
|
149
|
-
],
|
|
150
|
-
indexed: false,
|
|
151
|
-
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
152
|
-
name: "proposal",
|
|
153
|
-
type: "tuple",
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
indexed: true,
|
|
157
|
-
internalType: "address",
|
|
158
|
-
name: "coordinator",
|
|
159
|
-
type: "address",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
name: "DepositSweepProposalSubmitted",
|
|
163
|
-
type: "event",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
anonymous: false,
|
|
167
|
-
inputs: [
|
|
168
|
-
{
|
|
169
|
-
indexed: false,
|
|
170
|
-
internalType: "uint32",
|
|
171
|
-
name: "heartbeatRequestValidity",
|
|
172
|
-
type: "uint32",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
indexed: false,
|
|
176
|
-
internalType: "uint32",
|
|
177
|
-
name: "heartbeatRequestGasOffset",
|
|
178
|
-
type: "uint32",
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
name: "HeartbeatRequestParametersUpdated",
|
|
182
|
-
type: "event",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
anonymous: false,
|
|
186
|
-
inputs: [
|
|
187
|
-
{
|
|
188
|
-
indexed: false,
|
|
189
|
-
internalType: "bytes20",
|
|
190
|
-
name: "walletPubKeyHash",
|
|
191
|
-
type: "bytes20",
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
indexed: false,
|
|
195
|
-
internalType: "bytes",
|
|
196
|
-
name: "message",
|
|
197
|
-
type: "bytes",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
indexed: true,
|
|
201
|
-
internalType: "address",
|
|
202
|
-
name: "coordinator",
|
|
203
|
-
type: "address",
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
|
-
name: "HeartbeatRequestSubmitted",
|
|
207
|
-
type: "event",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
anonymous: false,
|
|
211
|
-
inputs: [
|
|
212
|
-
{
|
|
213
|
-
indexed: false,
|
|
214
|
-
internalType: "uint8",
|
|
215
|
-
name: "version",
|
|
216
|
-
type: "uint8",
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
name: "Initialized",
|
|
220
|
-
type: "event",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
anonymous: false,
|
|
224
|
-
inputs: [
|
|
225
|
-
{
|
|
226
|
-
indexed: true,
|
|
227
|
-
internalType: "address",
|
|
228
|
-
name: "previousOwner",
|
|
229
|
-
type: "address",
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
indexed: true,
|
|
233
|
-
internalType: "address",
|
|
234
|
-
name: "newOwner",
|
|
235
|
-
type: "address",
|
|
236
|
-
},
|
|
237
|
-
],
|
|
238
|
-
name: "OwnershipTransferred",
|
|
239
|
-
type: "event",
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
anonymous: false,
|
|
243
|
-
inputs: [
|
|
244
|
-
{
|
|
245
|
-
indexed: false,
|
|
246
|
-
internalType: "uint32",
|
|
247
|
-
name: "redemptionProposalValidity",
|
|
248
|
-
type: "uint32",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
indexed: false,
|
|
252
|
-
internalType: "uint32",
|
|
253
|
-
name: "redemptionRequestMinAge",
|
|
254
|
-
type: "uint32",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
indexed: false,
|
|
258
|
-
internalType: "uint32",
|
|
259
|
-
name: "redemptionRequestTimeoutSafetyMargin",
|
|
260
|
-
type: "uint32",
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
indexed: false,
|
|
264
|
-
internalType: "uint16",
|
|
265
|
-
name: "redemptionMaxSize",
|
|
266
|
-
type: "uint16",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
indexed: false,
|
|
270
|
-
internalType: "uint32",
|
|
271
|
-
name: "redemptionProposalSubmissionGasOffset",
|
|
272
|
-
type: "uint32",
|
|
273
|
-
},
|
|
274
|
-
],
|
|
275
|
-
name: "RedemptionProposalParametersUpdated",
|
|
276
|
-
type: "event",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
anonymous: false,
|
|
280
|
-
inputs: [
|
|
281
|
-
{
|
|
282
|
-
components: [
|
|
283
|
-
{
|
|
284
|
-
internalType: "bytes20",
|
|
285
|
-
name: "walletPubKeyHash",
|
|
286
|
-
type: "bytes20",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
internalType: "bytes[]",
|
|
290
|
-
name: "redeemersOutputScripts",
|
|
291
|
-
type: "bytes[]",
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
internalType: "uint256",
|
|
295
|
-
name: "redemptionTxFee",
|
|
296
|
-
type: "uint256",
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
indexed: false,
|
|
300
|
-
internalType: "struct WalletCoordinator.RedemptionProposal",
|
|
301
|
-
name: "proposal",
|
|
302
|
-
type: "tuple",
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
indexed: true,
|
|
306
|
-
internalType: "address",
|
|
307
|
-
name: "coordinator",
|
|
308
|
-
type: "address",
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
name: "RedemptionProposalSubmitted",
|
|
312
|
-
type: "event",
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
anonymous: false,
|
|
316
|
-
inputs: [
|
|
317
|
-
{
|
|
318
|
-
indexed: false,
|
|
319
|
-
internalType: "address",
|
|
320
|
-
name: "newReimbursementPool",
|
|
321
|
-
type: "address",
|
|
322
|
-
},
|
|
323
|
-
],
|
|
324
|
-
name: "ReimbursementPoolUpdated",
|
|
325
|
-
type: "event",
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
anonymous: false,
|
|
329
|
-
inputs: [
|
|
330
|
-
{
|
|
331
|
-
indexed: true,
|
|
332
|
-
internalType: "bytes20",
|
|
333
|
-
name: "walletPubKeyHash",
|
|
334
|
-
type: "bytes20",
|
|
335
|
-
},
|
|
336
|
-
],
|
|
337
|
-
name: "WalletManuallyUnlocked",
|
|
338
|
-
type: "event",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
inputs: [
|
|
342
|
-
{
|
|
343
|
-
internalType: "address",
|
|
344
|
-
name: "coordinator",
|
|
345
|
-
type: "address",
|
|
346
|
-
},
|
|
347
|
-
],
|
|
348
|
-
name: "addCoordinator",
|
|
349
|
-
outputs: [],
|
|
350
|
-
stateMutability: "nonpayable",
|
|
351
|
-
type: "function",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
inputs: [],
|
|
355
|
-
name: "bridge",
|
|
356
|
-
outputs: [
|
|
357
|
-
{
|
|
358
|
-
internalType: "contract Bridge",
|
|
359
|
-
name: "",
|
|
360
|
-
type: "address",
|
|
361
|
-
},
|
|
362
|
-
],
|
|
363
|
-
stateMutability: "view",
|
|
364
|
-
type: "function",
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
inputs: [],
|
|
368
|
-
name: "depositMinAge",
|
|
369
|
-
outputs: [
|
|
370
|
-
{
|
|
371
|
-
internalType: "uint32",
|
|
372
|
-
name: "",
|
|
373
|
-
type: "uint32",
|
|
374
|
-
},
|
|
375
|
-
],
|
|
376
|
-
stateMutability: "view",
|
|
377
|
-
type: "function",
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
inputs: [],
|
|
381
|
-
name: "depositRefundSafetyMargin",
|
|
382
|
-
outputs: [
|
|
383
|
-
{
|
|
384
|
-
internalType: "uint32",
|
|
385
|
-
name: "",
|
|
386
|
-
type: "uint32",
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
stateMutability: "view",
|
|
390
|
-
type: "function",
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
inputs: [],
|
|
394
|
-
name: "depositSweepMaxSize",
|
|
395
|
-
outputs: [
|
|
396
|
-
{
|
|
397
|
-
internalType: "uint16",
|
|
398
|
-
name: "",
|
|
399
|
-
type: "uint16",
|
|
400
|
-
},
|
|
401
|
-
],
|
|
402
|
-
stateMutability: "view",
|
|
403
|
-
type: "function",
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
inputs: [],
|
|
407
|
-
name: "depositSweepProposalSubmissionGasOffset",
|
|
408
|
-
outputs: [
|
|
409
|
-
{
|
|
410
|
-
internalType: "uint32",
|
|
411
|
-
name: "",
|
|
412
|
-
type: "uint32",
|
|
413
|
-
},
|
|
414
|
-
],
|
|
415
|
-
stateMutability: "view",
|
|
416
|
-
type: "function",
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
inputs: [],
|
|
420
|
-
name: "depositSweepProposalValidity",
|
|
421
|
-
outputs: [
|
|
422
|
-
{
|
|
423
|
-
internalType: "uint32",
|
|
424
|
-
name: "",
|
|
425
|
-
type: "uint32",
|
|
426
|
-
},
|
|
427
|
-
],
|
|
428
|
-
stateMutability: "view",
|
|
429
|
-
type: "function",
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
inputs: [],
|
|
433
|
-
name: "heartbeatRequestGasOffset",
|
|
434
|
-
outputs: [
|
|
435
|
-
{
|
|
436
|
-
internalType: "uint32",
|
|
437
|
-
name: "",
|
|
438
|
-
type: "uint32",
|
|
439
|
-
},
|
|
440
|
-
],
|
|
441
|
-
stateMutability: "view",
|
|
442
|
-
type: "function",
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
inputs: [],
|
|
446
|
-
name: "heartbeatRequestValidity",
|
|
447
|
-
outputs: [
|
|
448
|
-
{
|
|
449
|
-
internalType: "uint32",
|
|
450
|
-
name: "",
|
|
451
|
-
type: "uint32",
|
|
452
|
-
},
|
|
453
|
-
],
|
|
454
|
-
stateMutability: "view",
|
|
455
|
-
type: "function",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
inputs: [
|
|
459
|
-
{
|
|
460
|
-
internalType: "contract Bridge",
|
|
461
|
-
name: "_bridge",
|
|
462
|
-
type: "address",
|
|
463
|
-
},
|
|
464
|
-
],
|
|
465
|
-
name: "initialize",
|
|
466
|
-
outputs: [],
|
|
467
|
-
stateMutability: "nonpayable",
|
|
468
|
-
type: "function",
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
inputs: [
|
|
472
|
-
{
|
|
473
|
-
internalType: "address",
|
|
474
|
-
name: "",
|
|
475
|
-
type: "address",
|
|
476
|
-
},
|
|
477
|
-
],
|
|
478
|
-
name: "isCoordinator",
|
|
479
|
-
outputs: [
|
|
480
|
-
{
|
|
481
|
-
internalType: "bool",
|
|
482
|
-
name: "",
|
|
483
|
-
type: "bool",
|
|
484
|
-
},
|
|
485
|
-
],
|
|
486
|
-
stateMutability: "view",
|
|
487
|
-
type: "function",
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
inputs: [],
|
|
491
|
-
name: "owner",
|
|
492
|
-
outputs: [
|
|
493
|
-
{
|
|
494
|
-
internalType: "address",
|
|
495
|
-
name: "",
|
|
496
|
-
type: "address",
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
stateMutability: "view",
|
|
500
|
-
type: "function",
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
inputs: [],
|
|
504
|
-
name: "redemptionMaxSize",
|
|
505
|
-
outputs: [
|
|
506
|
-
{
|
|
507
|
-
internalType: "uint16",
|
|
508
|
-
name: "",
|
|
509
|
-
type: "uint16",
|
|
510
|
-
},
|
|
511
|
-
],
|
|
512
|
-
stateMutability: "view",
|
|
513
|
-
type: "function",
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
inputs: [],
|
|
517
|
-
name: "redemptionProposalSubmissionGasOffset",
|
|
518
|
-
outputs: [
|
|
519
|
-
{
|
|
520
|
-
internalType: "uint32",
|
|
521
|
-
name: "",
|
|
522
|
-
type: "uint32",
|
|
523
|
-
},
|
|
524
|
-
],
|
|
525
|
-
stateMutability: "view",
|
|
526
|
-
type: "function",
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
inputs: [],
|
|
530
|
-
name: "redemptionProposalValidity",
|
|
531
|
-
outputs: [
|
|
532
|
-
{
|
|
533
|
-
internalType: "uint32",
|
|
534
|
-
name: "",
|
|
535
|
-
type: "uint32",
|
|
536
|
-
},
|
|
537
|
-
],
|
|
538
|
-
stateMutability: "view",
|
|
539
|
-
type: "function",
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
inputs: [],
|
|
543
|
-
name: "redemptionRequestMinAge",
|
|
544
|
-
outputs: [
|
|
545
|
-
{
|
|
546
|
-
internalType: "uint32",
|
|
547
|
-
name: "",
|
|
548
|
-
type: "uint32",
|
|
549
|
-
},
|
|
550
|
-
],
|
|
551
|
-
stateMutability: "view",
|
|
552
|
-
type: "function",
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
inputs: [],
|
|
556
|
-
name: "redemptionRequestTimeoutSafetyMargin",
|
|
557
|
-
outputs: [
|
|
558
|
-
{
|
|
559
|
-
internalType: "uint32",
|
|
560
|
-
name: "",
|
|
561
|
-
type: "uint32",
|
|
562
|
-
},
|
|
563
|
-
],
|
|
564
|
-
stateMutability: "view",
|
|
565
|
-
type: "function",
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
inputs: [],
|
|
569
|
-
name: "reimbursementPool",
|
|
570
|
-
outputs: [
|
|
571
|
-
{
|
|
572
|
-
internalType: "contract ReimbursementPool",
|
|
573
|
-
name: "",
|
|
574
|
-
type: "address",
|
|
575
|
-
},
|
|
576
|
-
],
|
|
577
|
-
stateMutability: "view",
|
|
578
|
-
type: "function",
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
inputs: [
|
|
582
|
-
{
|
|
583
|
-
internalType: "address",
|
|
584
|
-
name: "coordinator",
|
|
585
|
-
type: "address",
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
name: "removeCoordinator",
|
|
589
|
-
outputs: [],
|
|
590
|
-
stateMutability: "nonpayable",
|
|
591
|
-
type: "function",
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
inputs: [],
|
|
595
|
-
name: "renounceOwnership",
|
|
596
|
-
outputs: [],
|
|
597
|
-
stateMutability: "nonpayable",
|
|
598
|
-
type: "function",
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
inputs: [
|
|
602
|
-
{
|
|
603
|
-
internalType: "bytes20",
|
|
604
|
-
name: "walletPubKeyHash",
|
|
605
|
-
type: "bytes20",
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
internalType: "bytes",
|
|
609
|
-
name: "message",
|
|
610
|
-
type: "bytes",
|
|
611
|
-
},
|
|
612
|
-
],
|
|
613
|
-
name: "requestHeartbeat",
|
|
614
|
-
outputs: [],
|
|
615
|
-
stateMutability: "nonpayable",
|
|
616
|
-
type: "function",
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
inputs: [
|
|
620
|
-
{
|
|
621
|
-
internalType: "bytes20",
|
|
622
|
-
name: "walletPubKeyHash",
|
|
623
|
-
type: "bytes20",
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
internalType: "bytes",
|
|
627
|
-
name: "message",
|
|
628
|
-
type: "bytes",
|
|
629
|
-
},
|
|
630
|
-
],
|
|
631
|
-
name: "requestHeartbeatWithReimbursement",
|
|
632
|
-
outputs: [],
|
|
633
|
-
stateMutability: "nonpayable",
|
|
634
|
-
type: "function",
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
inputs: [
|
|
638
|
-
{
|
|
639
|
-
components: [
|
|
640
|
-
{
|
|
641
|
-
internalType: "bytes20",
|
|
642
|
-
name: "walletPubKeyHash",
|
|
643
|
-
type: "bytes20",
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
components: [
|
|
647
|
-
{
|
|
648
|
-
internalType: "bytes32",
|
|
649
|
-
name: "fundingTxHash",
|
|
650
|
-
type: "bytes32",
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
internalType: "uint32",
|
|
654
|
-
name: "fundingOutputIndex",
|
|
655
|
-
type: "uint32",
|
|
656
|
-
},
|
|
657
|
-
],
|
|
658
|
-
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
659
|
-
name: "depositsKeys",
|
|
660
|
-
type: "tuple[]",
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
internalType: "uint256",
|
|
664
|
-
name: "sweepTxFee",
|
|
665
|
-
type: "uint256",
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
internalType: "uint256[]",
|
|
669
|
-
name: "depositsRevealBlocks",
|
|
670
|
-
type: "uint256[]",
|
|
671
|
-
},
|
|
672
|
-
],
|
|
673
|
-
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
674
|
-
name: "proposal",
|
|
675
|
-
type: "tuple",
|
|
676
|
-
},
|
|
677
|
-
],
|
|
678
|
-
name: "submitDepositSweepProposal",
|
|
679
|
-
outputs: [],
|
|
680
|
-
stateMutability: "nonpayable",
|
|
681
|
-
type: "function",
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
inputs: [
|
|
685
|
-
{
|
|
686
|
-
components: [
|
|
687
|
-
{
|
|
688
|
-
internalType: "bytes20",
|
|
689
|
-
name: "walletPubKeyHash",
|
|
690
|
-
type: "bytes20",
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
components: [
|
|
694
|
-
{
|
|
695
|
-
internalType: "bytes32",
|
|
696
|
-
name: "fundingTxHash",
|
|
697
|
-
type: "bytes32",
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
internalType: "uint32",
|
|
701
|
-
name: "fundingOutputIndex",
|
|
702
|
-
type: "uint32",
|
|
703
|
-
},
|
|
704
|
-
],
|
|
705
|
-
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
706
|
-
name: "depositsKeys",
|
|
707
|
-
type: "tuple[]",
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
internalType: "uint256",
|
|
711
|
-
name: "sweepTxFee",
|
|
712
|
-
type: "uint256",
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
internalType: "uint256[]",
|
|
716
|
-
name: "depositsRevealBlocks",
|
|
717
|
-
type: "uint256[]",
|
|
718
|
-
},
|
|
719
|
-
],
|
|
720
|
-
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
721
|
-
name: "proposal",
|
|
722
|
-
type: "tuple",
|
|
723
|
-
},
|
|
724
|
-
],
|
|
725
|
-
name: "submitDepositSweepProposalWithReimbursement",
|
|
726
|
-
outputs: [],
|
|
727
|
-
stateMutability: "nonpayable",
|
|
728
|
-
type: "function",
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
inputs: [
|
|
732
|
-
{
|
|
733
|
-
components: [
|
|
734
|
-
{
|
|
735
|
-
internalType: "bytes20",
|
|
736
|
-
name: "walletPubKeyHash",
|
|
737
|
-
type: "bytes20",
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
internalType: "bytes[]",
|
|
741
|
-
name: "redeemersOutputScripts",
|
|
742
|
-
type: "bytes[]",
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
internalType: "uint256",
|
|
746
|
-
name: "redemptionTxFee",
|
|
747
|
-
type: "uint256",
|
|
748
|
-
},
|
|
749
|
-
],
|
|
750
|
-
internalType: "struct WalletCoordinator.RedemptionProposal",
|
|
751
|
-
name: "proposal",
|
|
752
|
-
type: "tuple",
|
|
753
|
-
},
|
|
754
|
-
],
|
|
755
|
-
name: "submitRedemptionProposal",
|
|
756
|
-
outputs: [],
|
|
757
|
-
stateMutability: "nonpayable",
|
|
758
|
-
type: "function",
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
inputs: [
|
|
762
|
-
{
|
|
763
|
-
components: [
|
|
764
|
-
{
|
|
765
|
-
internalType: "bytes20",
|
|
766
|
-
name: "walletPubKeyHash",
|
|
767
|
-
type: "bytes20",
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
internalType: "bytes[]",
|
|
771
|
-
name: "redeemersOutputScripts",
|
|
772
|
-
type: "bytes[]",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
internalType: "uint256",
|
|
776
|
-
name: "redemptionTxFee",
|
|
777
|
-
type: "uint256",
|
|
778
|
-
},
|
|
779
|
-
],
|
|
780
|
-
internalType: "struct WalletCoordinator.RedemptionProposal",
|
|
781
|
-
name: "proposal",
|
|
782
|
-
type: "tuple",
|
|
783
|
-
},
|
|
784
|
-
],
|
|
785
|
-
name: "submitRedemptionProposalWithReimbursement",
|
|
786
|
-
outputs: [],
|
|
787
|
-
stateMutability: "nonpayable",
|
|
788
|
-
type: "function",
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
inputs: [
|
|
792
|
-
{
|
|
793
|
-
internalType: "address",
|
|
794
|
-
name: "newOwner",
|
|
795
|
-
type: "address",
|
|
796
|
-
},
|
|
797
|
-
],
|
|
798
|
-
name: "transferOwnership",
|
|
799
|
-
outputs: [],
|
|
800
|
-
stateMutability: "nonpayable",
|
|
801
|
-
type: "function",
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
inputs: [
|
|
805
|
-
{
|
|
806
|
-
internalType: "bytes20",
|
|
807
|
-
name: "walletPubKeyHash",
|
|
808
|
-
type: "bytes20",
|
|
809
|
-
},
|
|
810
|
-
],
|
|
811
|
-
name: "unlockWallet",
|
|
812
|
-
outputs: [],
|
|
813
|
-
stateMutability: "nonpayable",
|
|
814
|
-
type: "function",
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
inputs: [
|
|
818
|
-
{
|
|
819
|
-
internalType: "uint32",
|
|
820
|
-
name: "_depositSweepProposalValidity",
|
|
821
|
-
type: "uint32",
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
internalType: "uint32",
|
|
825
|
-
name: "_depositMinAge",
|
|
826
|
-
type: "uint32",
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
internalType: "uint32",
|
|
830
|
-
name: "_depositRefundSafetyMargin",
|
|
831
|
-
type: "uint32",
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
internalType: "uint16",
|
|
835
|
-
name: "_depositSweepMaxSize",
|
|
836
|
-
type: "uint16",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "uint32",
|
|
840
|
-
name: "_depositSweepProposalSubmissionGasOffset",
|
|
841
|
-
type: "uint32",
|
|
842
|
-
},
|
|
843
|
-
],
|
|
844
|
-
name: "updateDepositSweepProposalParameters",
|
|
845
|
-
outputs: [],
|
|
846
|
-
stateMutability: "nonpayable",
|
|
847
|
-
type: "function",
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
inputs: [
|
|
851
|
-
{
|
|
852
|
-
internalType: "uint32",
|
|
853
|
-
name: "_heartbeatRequestValidity",
|
|
854
|
-
type: "uint32",
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
internalType: "uint32",
|
|
858
|
-
name: "_heartbeatRequestGasOffset",
|
|
859
|
-
type: "uint32",
|
|
860
|
-
},
|
|
861
|
-
],
|
|
862
|
-
name: "updateHeartbeatRequestParameters",
|
|
863
|
-
outputs: [],
|
|
864
|
-
stateMutability: "nonpayable",
|
|
865
|
-
type: "function",
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
inputs: [
|
|
869
|
-
{
|
|
870
|
-
internalType: "uint32",
|
|
871
|
-
name: "_redemptionProposalValidity",
|
|
872
|
-
type: "uint32",
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
internalType: "uint32",
|
|
876
|
-
name: "_redemptionRequestMinAge",
|
|
877
|
-
type: "uint32",
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
internalType: "uint32",
|
|
881
|
-
name: "_redemptionRequestTimeoutSafetyMargin",
|
|
882
|
-
type: "uint32",
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
internalType: "uint16",
|
|
886
|
-
name: "_redemptionMaxSize",
|
|
887
|
-
type: "uint16",
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
internalType: "uint32",
|
|
891
|
-
name: "_redemptionProposalSubmissionGasOffset",
|
|
892
|
-
type: "uint32",
|
|
893
|
-
},
|
|
894
|
-
],
|
|
895
|
-
name: "updateRedemptionProposalParameters",
|
|
896
|
-
outputs: [],
|
|
897
|
-
stateMutability: "nonpayable",
|
|
898
|
-
type: "function",
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
inputs: [
|
|
902
|
-
{
|
|
903
|
-
internalType: "contract ReimbursementPool",
|
|
904
|
-
name: "_reimbursementPool",
|
|
905
|
-
type: "address",
|
|
906
|
-
},
|
|
907
|
-
],
|
|
908
|
-
name: "updateReimbursementPool",
|
|
909
|
-
outputs: [],
|
|
910
|
-
stateMutability: "nonpayable",
|
|
911
|
-
type: "function",
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
inputs: [
|
|
915
|
-
{
|
|
916
|
-
components: [
|
|
917
|
-
{
|
|
918
|
-
internalType: "bytes20",
|
|
919
|
-
name: "walletPubKeyHash",
|
|
920
|
-
type: "bytes20",
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
components: [
|
|
924
|
-
{
|
|
925
|
-
internalType: "bytes32",
|
|
926
|
-
name: "fundingTxHash",
|
|
927
|
-
type: "bytes32",
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
internalType: "uint32",
|
|
931
|
-
name: "fundingOutputIndex",
|
|
932
|
-
type: "uint32",
|
|
933
|
-
},
|
|
934
|
-
],
|
|
935
|
-
internalType: "struct WalletCoordinator.DepositKey[]",
|
|
936
|
-
name: "depositsKeys",
|
|
937
|
-
type: "tuple[]",
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
internalType: "uint256",
|
|
941
|
-
name: "sweepTxFee",
|
|
942
|
-
type: "uint256",
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
internalType: "uint256[]",
|
|
946
|
-
name: "depositsRevealBlocks",
|
|
947
|
-
type: "uint256[]",
|
|
948
|
-
},
|
|
949
|
-
],
|
|
950
|
-
internalType: "struct WalletCoordinator.DepositSweepProposal",
|
|
951
|
-
name: "proposal",
|
|
952
|
-
type: "tuple",
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
components: [
|
|
956
|
-
{
|
|
957
|
-
components: [
|
|
958
|
-
{
|
|
959
|
-
internalType: "bytes4",
|
|
960
|
-
name: "version",
|
|
961
|
-
type: "bytes4",
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
internalType: "bytes",
|
|
965
|
-
name: "inputVector",
|
|
966
|
-
type: "bytes",
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
internalType: "bytes",
|
|
970
|
-
name: "outputVector",
|
|
971
|
-
type: "bytes",
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
internalType: "bytes4",
|
|
975
|
-
name: "locktime",
|
|
976
|
-
type: "bytes4",
|
|
977
|
-
},
|
|
978
|
-
],
|
|
979
|
-
internalType: "struct BitcoinTx.Info",
|
|
980
|
-
name: "fundingTx",
|
|
981
|
-
type: "tuple",
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
internalType: "bytes8",
|
|
985
|
-
name: "blindingFactor",
|
|
986
|
-
type: "bytes8",
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
internalType: "bytes20",
|
|
990
|
-
name: "walletPubKeyHash",
|
|
991
|
-
type: "bytes20",
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
internalType: "bytes20",
|
|
995
|
-
name: "refundPubKeyHash",
|
|
996
|
-
type: "bytes20",
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
internalType: "bytes4",
|
|
1000
|
-
name: "refundLocktime",
|
|
1001
|
-
type: "bytes4",
|
|
1002
|
-
},
|
|
1003
|
-
],
|
|
1004
|
-
internalType: "struct WalletCoordinator.DepositExtraInfo[]",
|
|
1005
|
-
name: "depositsExtraInfo",
|
|
1006
|
-
type: "tuple[]",
|
|
1007
|
-
},
|
|
1008
|
-
],
|
|
1009
|
-
name: "validateDepositSweepProposal",
|
|
1010
|
-
outputs: [
|
|
1011
|
-
{
|
|
1012
|
-
internalType: "bool",
|
|
1013
|
-
name: "",
|
|
1014
|
-
type: "bool",
|
|
1015
|
-
},
|
|
1016
|
-
],
|
|
1017
|
-
stateMutability: "view",
|
|
1018
|
-
type: "function",
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
inputs: [
|
|
1022
|
-
{
|
|
1023
|
-
components: [
|
|
1024
|
-
{
|
|
1025
|
-
internalType: "bytes20",
|
|
1026
|
-
name: "walletPubKeyHash",
|
|
1027
|
-
type: "bytes20",
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
internalType: "bytes[]",
|
|
1031
|
-
name: "redeemersOutputScripts",
|
|
1032
|
-
type: "bytes[]",
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
internalType: "uint256",
|
|
1036
|
-
name: "redemptionTxFee",
|
|
1037
|
-
type: "uint256",
|
|
1038
|
-
},
|
|
1039
|
-
],
|
|
1040
|
-
internalType: "struct WalletCoordinator.RedemptionProposal",
|
|
1041
|
-
name: "proposal",
|
|
1042
|
-
type: "tuple",
|
|
1043
|
-
},
|
|
1044
|
-
],
|
|
1045
|
-
name: "validateRedemptionProposal",
|
|
1046
|
-
outputs: [
|
|
1047
|
-
{
|
|
1048
|
-
internalType: "bool",
|
|
1049
|
-
name: "",
|
|
1050
|
-
type: "bool",
|
|
1051
|
-
},
|
|
1052
|
-
],
|
|
1053
|
-
stateMutability: "view",
|
|
1054
|
-
type: "function",
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
inputs: [
|
|
1058
|
-
{
|
|
1059
|
-
internalType: "bytes20",
|
|
1060
|
-
name: "",
|
|
1061
|
-
type: "bytes20",
|
|
1062
|
-
},
|
|
1063
|
-
],
|
|
1064
|
-
name: "walletLock",
|
|
1065
|
-
outputs: [
|
|
1066
|
-
{
|
|
1067
|
-
internalType: "uint32",
|
|
1068
|
-
name: "expiresAt",
|
|
1069
|
-
type: "uint32",
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
internalType: "enum WalletCoordinator.WalletAction",
|
|
1073
|
-
name: "cause",
|
|
1074
|
-
type: "uint8",
|
|
1075
|
-
},
|
|
1076
|
-
],
|
|
1077
|
-
stateMutability: "view",
|
|
1078
|
-
type: "function",
|
|
1079
|
-
},
|
|
1080
|
-
];
|
|
1081
|
-
var _bytecode = "0x608060405234801561001057600080fd5b5061457a806100206000396000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c80638aea2ac211610145578063bc20a080116100bd578063e78cea921161008c578063f5aceab611610071578063f5aceab614610558578063f74b37bd1461056b578063fbd6d77e1461058257600080fd5b8063e78cea9214610532578063f2fde38b1461054557600080fd5b8063bc20a080146104e9578063c09975cd146104f9578063c4d66de81461050c578063e64007d01461051f57600080fd5b8063930b489811610114578063acaac705116100f9578063acaac70514610499578063aec32099146104b3578063b39e1016146104d657600080fd5b8063930b48981461046b578063a34fff591461048257600080fd5b80638aea2ac2146104095780638cb5a0c0146104205780638da5cb5b146104335780639039bc1c1461045857600080fd5b80635486032e116101d8578063715018a6116101a75780637b35b4e61161018c5780637b35b4e6146103cc5780637fbf9b39146103df57806385a0924c146103f657600080fd5b8063715018a6146103b15780637405d7bf146103b957600080fd5b80635486032e1461034c5780636348c4391461035f5780636511064d146103725780636980f9fe1461038957600080fd5b80632c259d2b116102145780632c259d2b146102c9578063300226ae1461030a57806331d8c6221461032157806334173c2d1461033957600080fd5b806308553292146102465780630fde6c761461027e5780631b9783ff146102a1578063265a513e146102b6575b600080fd5b609a54610264906a0100000000000000000000900463ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b61029161028c36600461343a565b610595565b6040519015158152602001610275565b6102b46102af366004613487565b610d6b565b005b6102b46102c436600461343a565b610ec4565b6102fc6102d736600461351c565b60986020526000908152604090205463ffffffff811690640100000000900460ff1682565b60405161027592919061354d565b609a5461026490600160701b900463ffffffff1681565b609a5461026490640100000000900463ffffffff1681565b6102b4610347366004613585565b610f67565b6102b461035a366004613487565b61100e565b6102b461036d366004613585565b61110a565b609a5461026490600160901b900463ffffffff1681565b609a5461039e90600160d01b900461ffff1681565b60405161ffff9091168152602001610275565b6102b46112fc565b6102916103c7366004613620565b611310565b6102b46103da3660046136bc565b611aea565b60995461026490600160a01b900463ffffffff1681565b6102b46104043660046136d9565b611bbe565b609a5461026490600160b01b900463ffffffff1681565b6102b461042e3660046136bc565b611c70565b6033546001600160a01b03165b6040516001600160a01b039091168152602001610275565b6102b461046636600461351c565b611d4f565b609a5461026490600160e01b900463ffffffff1681565b60995461026490600160c01b900463ffffffff1681565b609a5461039e9068010000000000000000900461ffff1681565b6102916104c13660046136bc565b60976020526000908152604090205460ff1681565b6102b46104e4366004613712565b611e07565b609a546102649063ffffffff1681565b606554610440906001600160a01b031681565b6102b461051a3660046136bc565b611e4c565b6102b461052d36600461343a565b612083565b609954610440906001600160a01b031681565b6102b46105533660046136bc565b612234565b6102b4610566366004613712565b6122c4565b60995461026490600160e01b900463ffffffff1681565b6102b46105903660046136bc565b612469565b600060016099546001600160a01b031663e65e19d56105b7602086018661351c565b6040516001600160e01b031960e084901b1681526001600160601b0319909116600482015260240161012060405180830381865afa1580156105fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106219190613807565b60e00151600581111561063657610636613537565b146106885760405162461bcd60e51b815260206004820152601b60248201527f57616c6c6574206973206e6f7420696e204c697665207374617465000000000060448201526064015b60405180910390fd5b600061069760208401846138aa565b915050806106e75760405162461bcd60e51b815260206004820152601d60248201527f526564656d7074696f6e2062656c6f7720746865206d696e2073697a65000000604482015260640161067f565b609a54600160d01b900461ffff168111156107445760405162461bcd60e51b815260206004820152601f60248201527f526564656d7074696f6e206578636565647320746865206d61782073697a6500604482015260640161067f565b600080609960009054906101000a90046001600160a01b03166001600160a01b0316636e70ce416040518163ffffffff1660e01b815260040160e060405180830381865afa15801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be91906138f4565b505094509450505050600085604001351161082b5760405162461bcd60e51b815260206004820152602760248201527f50726f706f736564207472616e73616374696f6e206665652063616e6e6f74206044820152666265207a65726f60c81b606482015260840161067f565b8167ffffffffffffffff16856040013511156108955760405162461bcd60e51b8152602060048201526024808201527f50726f706f736564207472616e73616374696f6e2066656520697320746f6f206044820152630d0d2ced60e31b606482015260840161067f565b60006108a58460408801356139ab565b90506000846108b88360408a01356139d5565b6108c291906139e8565b905060008567ffffffffffffffff8111156108df576108df61374f565b604051908082528060200260200182016040528015610908578160200160208202803683370190505b50905060005b86811015610d5c57600061092560208b018b6138aa565b83818110610935576109356139fc565b90506020028101906109479190613a12565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525084516020808701919091209596509094935061099892508e0190508d61351c565b6040516020016109bc9291909182526001600160601b031916602082015260340190565b60408051808303601f190181529082905280516020909101206099547f03d952f7000000000000000000000000000000000000000000000000000000008352600483018290529092506000916001600160a01b03909116906303d952f79060240160a060405180830381865afa158015610a3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5e9190613a59565b9050806080015163ffffffff16600003610aba5760405162461bcd60e51b815260206004820181905260248201527f4e6f7420612070656e64696e6720726564656d7074696f6e2072657175657374604482015260640161067f565b609a546080820151610ad991600160901b900463ffffffff1690613aeb565b63ffffffff164211610b535760405162461bcd60e51b815260206004820152602b60248201527f526564656d7074696f6e2072657175657374206d696e20616765206e6f74206160448201527f6368696576656420796574000000000000000000000000000000000000000000606482015260840161067f565b6000888260800151610b659190613aeb565b609a54909150610b8290600160b01b900463ffffffff1682613b0f565b63ffffffff164210610bfc5760405162461bcd60e51b815260206004820152603960248201527f526564656d7074696f6e20726571756573742074696d656f757420736166657460448201527f79206d617267696e206973206e6f742070726573657276656400000000000000606482015260840161067f565b86610c0860018d6139d5565b8603610c1b57610c188982613b2c565b90505b826060015167ffffffffffffffff16811115610c9f5760405162461bcd60e51b815260206004820152603660248201527f50726f706f736564207472616e73616374696f6e207065722d7265717565737460448201527f2066656520736861726520697320746f6f206869676800000000000000000000606482015260840161067f565b60005b86811015610d245784888281518110610cbd57610cbd6139fc565b602002602001015103610d125760405162461bcd60e51b815260206004820152601260248201527f4475706c69636174656420726571756573740000000000000000000000000000604482015260640161067f565b80610d1c81613b3f565b915050610ca2565b5083878781518110610d3857610d386139fc565b60200260200101818152505050505050508080610d5490613b3f565b91505061090e565b50600198975050505050505050565b610d7361254c565b609a80547fffffffffffffffffffff0000000000000000ffffffffffffffffffffffffffff16600160701b63ffffffff8881169182027fffffffffffffffffffff00000000ffffffffffffffffffffffffffffffffffff1692909217600160901b888416908102919091177fffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b8885169081027fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffff1691909117600160d01b61ffff8916908102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16600160e01b9588169586021790955560408051938452602084019290925290820152606081019290925260808201527fa16bb3cf10d251033dcfb3ff6f9601243766f6a3e397b30eb76d69f3fad339c29060a0015b60405180910390a15050505050565b60005a9050610ed282612083565b606554609a546001600160a01b0390911690637ad226dc90600160e01b900463ffffffff165a610f0290856139d5565b610f0c9190613b2c565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401600060405180830381600087803b158015610f4b57600080fd5b505af1158015610f5f573d6000803e3d6000fd5b505050505050565b60005a9050610f7784848461110a565b6065546099546001600160a01b0390911690637ad226dc90600160c01b900463ffffffff165a610fa790856139d5565b610fb19190613b2c565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401600060405180830381600087803b158015610ff057600080fd5b505af1158015611004573d6000803e3d6000fd5b5050505050505050565b61101661254c565b609980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16600160e01b63ffffffff88811691820292909217909255609a805487831667ffffffffffffffff199091168117640100000000888516908102919091176dffffffffffff000000000000000019166801000000000000000061ffff89169081026dffffffff000000000000000000001916919091176a01000000000000000000009588169586021790935560408051958652602086019290925290840152606083015260808201527fc36fe6b9d74f864b5e345edc3435eb451a80669ec78c8357cc15e3a1d3897a739060a001610eb5565b3360009081526097602052604090205460ff166111695760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f74206120636f6f7264696e61746f720000000000604482015260640161067f565b6001600160601b03198316600090815260986020526040902054839063ffffffff1642116111c95760405162461bcd60e51b815260206004820152600d60248201526c15d85b1b195d081b1bd8dad959609a1b604482015260640161067f565b6111d383836125a6565b61121f5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420612076616c696420686561727462656174206d657373616765000000604482015260640161067f565b60408051808201909152609954819061124590600160a01b900463ffffffff1642613aeb565b63ffffffff168152602001600190526001600160601b0319851660009081526098602090815260409091208251815463ffffffff90911663ffffffff19821681178355928401519192839164ffffffffff1916176401000000008360058111156112b1576112b1613537565b0217905550506040513391507f46f4f1fc7a1c5c364372f2e4398c3657d5e5cc35ea286f9972459376b29b1384906112ee90879087908790613b81565b60405180910390a250505050565b61130461254c565b61130e6000612630565b565b600060016099546001600160a01b031663e65e19d5611332602088018861351c565b6040516001600160e01b031960e084901b1681526001600160601b0319909116600482015260240161012060405180830381865afa158015611378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139c9190613807565b60e0015160058111156113b1576113b1613537565b146113fe5760405162461bcd60e51b815260206004820152601b60248201527f57616c6c6574206973206e6f7420696e204c6976652073746174650000000000604482015260640161067f565b600061140d6020860186613baa565b90501161145c5760405162461bcd60e51b815260206004820152601860248201527f53776565702062656c6f7720746865206d696e2073697a650000000000000000604482015260640161067f565b609a5468010000000000000000900461ffff1661147c6020860186613baa565b905011156114cc5760405162461bcd60e51b815260206004820152601a60248201527f5377656570206578636565647320746865206d61782073697a65000000000000604482015260640161067f565b816114da6020860186613baa565b90501461154f5760405162461bcd60e51b815260206004820152602e60248201527f45616368206465706f736974206b6579206d7573742068617665206d6174636860448201527f696e672065787472612064617461000000000000000000000000000000000000606482015260840161067f565b61156b60408501356115646020870187613baa565b905061268f565b60008061157b6020870187613baa565b905067ffffffffffffffff8111156115955761159561374f565b6040519080825280602002602001820160405280156115be578160200160208202803683370190505b50905060005b6115d16020880188613baa565b9050811015611adb5760006115e96020890189613baa565b838181106115f9576115f96139fc565b90506040020180360381019061160f9190613bf4565b90506000878784818110611625576116256139fc565b90506020028101906116379190613c4a565b61164090613d38565b825160208085015160405193945060009361167293920191825260e01b6001600160e01b031916602082015260240190565b60408051808303601f190181529082905280516020909101206099547fb02c43d0000000000000000000000000000000000000000000000000000000008352600483018290529092506000916001600160a01b039091169063b02c43d09060240160c060405180830381865afa1580156116f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117149190613e3a565b9050806040015163ffffffff166000036117705760405162461bcd60e51b815260206004820152601460248201527f4465706f736974206e6f742072657665616c6564000000000000000000000000604482015260640161067f565b609a5460408201516117889163ffffffff1690613aeb565b63ffffffff1642116117dc5760405162461bcd60e51b815260206004820181905260248201527f4465706f736974206d696e20616765206e6f7420616368696576656420796574604482015260640161067f565b60a081015163ffffffff16156118345760405162461bcd60e51b815260206004820152601560248201527f4465706f73697420616c72656164792073776570740000000000000000000000604482015260640161067f565b6118438482600001518561280b565b608083015160009060d881901c63ff00ff001662ff00ff60e89290921c9190911617601081811b91901c17609a5490915061188c90640100000000900463ffffffff1682613b0f565b63ffffffff1642106119065760405162461bcd60e51b815260206004820152602d60248201527f4465706f73697420726566756e6420736166657479206d617267696e2069732060448201527f6e6f742070726573657276656400000000000000000000000000000000000000606482015260840161067f565b61191360208d018d61351c565b6bffffffffffffffffffffffff191684604001516bffffffffffffffffffffffff1916146119a95760405162461bcd60e51b815260206004820152602660248201527f4465706f73697420636f6e74726f6c6c656420627920646966666572656e742060448201527f77616c6c65740000000000000000000000000000000000000000000000000000606482015260840161067f565b856000036119b957816060015197505b876001600160a01b031682606001516001600160a01b031614611a1e5760405162461bcd60e51b815260206004820152601f60248201527f4465706f736974207461726765747320646966666572656e74207661756c7400604482015260640161067f565b60005b86811015611aa35783888281518110611a3c57611a3c6139fc565b602002602001015103611a915760405162461bcd60e51b815260206004820152601260248201527f4475706c696361746564206465706f7369740000000000000000000000000000604482015260640161067f565b80611a9b81613b3f565b915050611a21565b5082878781518110611ab757611ab76139fc565b60200260200101818152505050505050508080611ad390613b3f565b9150506115c4565b506001925050505b9392505050565b33611afd6033546001600160a01b031690565b6001600160a01b031614611b535760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015260640161067f565b6040516001600160a01b03821681527f0e2d2343d31b085b7c4e56d1c8a6ec79f7ab07460386f1c9a1756239fe2533ac9060200160405180910390a16065805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b611bc661254c565b609980547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b63ffffffff8581169182027fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1692909217600160c01b928516928302179092556040805192835260208301919091527fe67c0a182190bf283264290d7208533d5936483c98baee174eeac036b081360a91015b60405180910390a15050565b611c7861254c565b6001600160a01b03811660009081526097602052604090205460ff16611d065760405162461bcd60e51b815260206004820152602160248201527f546869732061646472657373206973206e6f74206120636f6f7264696e61746f60448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161067f565b6001600160a01b038116600081815260976020526040808220805460ff19169055517fcf15831020102bbbe0547b0c3460aa49715f2646e0911760d2b069e0fb2f62a19190a250565b611d5761254c565b60408051808201909152600080825260208201526001600160601b0319821660009081526098602090815260409091208251815463ffffffff90911663ffffffff19821681178355928401519192839164ffffffffff191617640100000000836005811115611dc857611dc8613537565b0217905550506040516001600160601b0319831691507f5ea2f0397ee52fe8e2e6460e92b334c996f3580dc76c022d41b290cb985f41e690600090a250565b60005a9050611e15826122c4565b606554609a546001600160a01b0390911690637ad226dc906a0100000000000000000000900463ffffffff165a610f0290856139d5565b600054610100900460ff1615808015611e6c5750600054600160ff909116105b80611e865750303b158015611e86575060005460ff166001145b611ef85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161067f565b6000805460ff191660011790558015611f1b576000805461ff0019166101001790555b611f23612a5f565b6099805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155604080517fa9de2f3a000000000000000000000000000000000000000000000000000000008152905163a9de2f3a916004808201926080929091908290030181865afa158015611fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc69190613ee1565b6065805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03928316179055609980549091167d38400000271000000e10000000000000000000000000000000000000000017905550507d4e20001400001c200000025800001c2000004e2000050001518000001c20609a5550801561207f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602001611c64565b5050565b3360009081526097602052604090205460ff166120e25760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f74206120636f6f7264696e61746f720000000000604482015260640161067f565b6120ef602082018261351c565b6001600160601b0319811660009081526098602052604090205463ffffffff16421161214d5760405162461bcd60e51b815260206004820152600d60248201526c15d85b1b195d081b1bd8dad959609a1b604482015260640161067f565b60408051808201909152609a54819061217390600160701b900463ffffffff1642613aeb565b63ffffffff1681526020016003905260986000612193602086018661351c565b6001600160601b03191681526020808201929092526040016000208251815463ffffffff90911663ffffffff19821681178355928401519192839164ffffffffff1916176401000000008360058111156121ef576121ef613537565b0217905550506040513391507f315f9ad8d0b7518ff779e5acc7c069df04df94325d86b685227473ebd452bb7090612228908590613f89565b60405180910390a25050565b61223c61254c565b6001600160a01b0381166122b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161067f565b6122c181612630565b50565b3360009081526097602052604090205460ff166123235760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f74206120636f6f7264696e61746f720000000000604482015260640161067f565b612330602082018261351c565b6001600160601b0319811660009081526098602052604090205463ffffffff16421161238e5760405162461bcd60e51b815260206004820152600d60248201526c15d85b1b195d081b1bd8dad959609a1b604482015260640161067f565b6040805180820190915260995481906123b490600160e01b900463ffffffff1642613aeb565b63ffffffff16815260200160029052609860006123d4602086018661351c565b6001600160601b03191681526020808201929092526040016000208251815463ffffffff90911663ffffffff19821681178355928401519192839164ffffffffff19161764010000000083600581111561243057612430613537565b0217905550506040513391507f80936884707d12c5d8bb32b32fa91535e4f4200316fb138241181fb647d39fa490612228908590614102565b61247161254c565b6001600160a01b03811660009081526097602052604090205460ff16156125005760405162461bcd60e51b815260206004820152602560248201527f54686973206164647265737320697320616c7265616479206120636f6f72646960448201527f6e61746f72000000000000000000000000000000000000000000000000000000606482015260840161067f565b6001600160a01b038116600081815260976020526040808220805460ff19166001179055517f56e6c5206d2baab7a01569b19d84b5963ca9f96e10f55076b5e5987fbf780cf59190a250565b6033546001600160a01b0316331461130e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161067f565b6000601082146125b85750600061262a565b6125fc600084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293925050612ad29050565b77ffffffffffffffffffffffffffffffffffffffffffffffff19908116146126265750600061262a565b5060015b92915050565b603380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082116126ef5760405162461bcd60e51b815260206004820152602760248201527f50726f706f736564207472616e73616374696f6e206665652063616e6e6f74206044820152666265207a65726f60c81b606482015260840161067f565b60006126fb82846139ab565b905060008261270a83866139d5565b61271491906139e8565b90506000609960009054906101000a90046001600160a01b03166001600160a01b031663c42b64d06040518163ffffffff1660e01b8152600401608060405180830381865afa15801561276b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278f91906141b6565b5092505067ffffffffffffffff821690506127aa8484613b2c565b11156128045760405162461bcd60e51b8152602060048201526024808201527f50726f706f736564207472616e73616374696f6e2066656520697320746f6f206044820152630d0d2ced60e31b606482015260840161067f565b5050505050565b80518051602080830151604080850151606090950151905160009561284d9561283995909493919201614231565b604051602081830303815290604052612ae1565b845190915081146128c65760405162461bcd60e51b815260206004820152602960248201527f457874726120696e666f2066756e64696e67207478206861736820646f65732060448201527f6e6f74206d617463680000000000000000000000000000000000000000000000606482015260840161067f565b60008383602001518460400151856060015186608001516040516020016128f1959493929190614267565b60405160208183030381529060405290506000612929866020015163ffffffff16856000015160400151612b0890919063ffffffff16565b9050600061293682612cea565b90508051601414801561296e575061294d83612d04565b6001600160601b031916612962826000612ad2565b6001600160601b031916145b1561297c5750505050505050565b805160201480156129e3575060028360405161299891906144ed565b602060405180830381855afa1580156129b5573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906129d891906144f9565b6129e182612d2b565b145b156129f15750505050505050565b60405162461bcd60e51b815260206004820152602f60248201527f457874726120696e666f2066756e64696e67206f75747075742073637269707460448201527f20646f6573206e6f74206d617463680000000000000000000000000000000000606482015260840161067f565b600054610100900460ff16612aca5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161067f565b61130e612d46565b6000611ae38383016020015190565b60006020600083516020850160025afa50602060006020600060025afa5050600051919050565b6060600080612b1685612dba565b909250905060018201612b915760405162461bcd60e51b815260206004820152602260248201527f52656164206f76657272756e20647572696e6720566172496e7420706172736960448201527f6e67000000000000000000000000000000000000000000000000000000000000606482015260840161067f565b808410612be05760405162461bcd60e51b815260206004820152601160248201527f566f75742072656164206f76657272756e000000000000000000000000000000604482015260640161067f565b600080612bee846001613b2c565b905060005b86811015612c7657612c058883612dd1565b92506000198303612c585760405162461bcd60e51b815260206004820152601a60248201527f42616420566172496e7420696e207363726970745075626b6579000000000000604482015260640161067f565b612c628383613b2c565b915080612c6e81613b3f565b915050612bf3565b50612c818782612dd1565b91506000198203612cd45760405162461bcd60e51b815260206004820152601a60248201527f42616420566172496e7420696e207363726970745075626b6579000000000000604482015260640161067f565b612cdf878284612e3e565b979650505050505050565b606061262a826008808551612cff91906139d5565b612f0b565b60006020600083516020850160025afa50602060006020600060035afa5050600c51919050565b60008151600003612d3e57506000919050565b506020015190565b600054610100900460ff16612db15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161067f565b61130e33612630565b600080612dc8836000613210565b91509150915091565b6000612dde826009613b2c565b83511015612def575060001961262a565b600080612e0685612e01866008613b2c565b613210565b909250905060018201612e1f576000199250505061262a565b80612e2b836009613b2c565b612e359190613b2c565b95945050505050565b606081600003612e5d5750604080516020810190915260008152611ae3565b6000612e698385613b2c565b90508381118015612e7b575080855110155b612ec75760405162461bcd60e51b815260206004820152601360248201527f536c696365206f7574206f6620626f756e647300000000000000000000000000604482015260640161067f565b604051915082604083010160405282825283850182038460208701018481015b80821015612f0057815183830152602082019150612ee7565b505050509392505050565b60606000848481518110612f2157612f216139fc565b016020015160f81c905082612f37826001614512565b60ff1614612f55575050604080516020810190915260008152611ae3565b84612f61856001613b2c565b81518110612f7157612f716139fc565b016020015160f81c6000036130305760028160ff161015612fa2575050604080516020810190915260008152611ae3565b600085612fb0866002613b2c565b81518110612fc057612fc06139fc565b016020015160f81c9050612fd560028361452b565b60ff1681141580612ff3575080602014158015612ff3575080601414155b15613011576040518060200160405280600081525092505050611ae3565b61302761301f866003613b2c565b879083612e3e565b92505050611ae3565b600061303c8686612ad2565b90507fffffff000000000000000000000000000000000000000000000000000000000081167f1976a90000000000000000000000000000000000000000000000000000000000036131505785613093866003613b2c565b815181106130a3576130a36139fc565b60209101015160f81c601414158061311b57506130d660026130c58688613b2c565b6130cf91906139d5565b8790612ad2565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f88ac00000000000000000000000000000000000000000000000000000000000014155b15613139576040518060200160405280600081525092505050611ae3565b613027613147866004613b2c565b87906014612e3e565b7fffffff000000000000000000000000000000000000000000000000000000000081167f17a9140000000000000000000000000000000000000000000000000000000000036131f7578560016131a68688613b2c565b6131b091906139d5565b815181106131c0576131c06139fc565b60209101015160f81c6087146131e9576040518060200160405280600081525092505050611ae3565b613027613147866003613b2c565b5050506040805160208101909152600081529392505050565b600080600061321f85856133b4565b90508060ff16600003613254576000858581518110613240576132406139fc565b016020015190935060f81c91506133ad9050565b83613260826001614512565b60ff1661326d9190613b2c565b8551101561328457600019600092509250506133ad565b60008160ff166002036132c8576132bd6132a96132a2876001613b2c565b8890612ad2565b62ffff0060e882901c1660f89190911c1790565b61ffff1690506133a3565b8160ff166004036133175761330a6132e46132a2876001613b2c565b60d881901c63ff00ff001662ff00ff60e89290921c9190911617601081811b91901c1790565b63ffffffff1690506133a3565b8160ff166008036133a3576133966133336132a2876001613b2c565b60c01c64ff000000ff600882811c91821665ff000000ff009390911b92831617601090811b67ffffffffffffffff1666ff00ff00ff00ff9290921667ff00ff00ff00ff009093169290921790911c65ffff0000ffff1617602081811c91901b1790565b67ffffffffffffffff1690505b60ff909116925090505b9250929050565b60008282815181106133c8576133c86139fc565b016020015160f81c60ff036133df5750600861262a565b8282815181106133f1576133f16139fc565b016020015160f81c60fe036134085750600461262a565b82828151811061341a5761341a6139fc565b016020015160f81c60fd036134315750600261262a565b50600092915050565b60006020828403121561344c57600080fd5b813567ffffffffffffffff81111561346357600080fd5b820160608185031215611ae357600080fd5b63ffffffff811681146122c157600080fd5b600080600080600060a0868803121561349f57600080fd5b85356134aa81613475565b945060208601356134ba81613475565b935060408601356134ca81613475565b9250606086013561ffff811681146134e157600080fd5b915060808601356134f181613475565b809150509295509295909350565b80356001600160601b03198116811461351757600080fd5b919050565b60006020828403121561352e57600080fd5b611ae3826134ff565b634e487b7160e01b600052602160045260246000fd5b63ffffffff83168152604081016006831061357857634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b60008060006040848603121561359a57600080fd5b6135a3846134ff565b9250602084013567ffffffffffffffff808211156135c057600080fd5b818601915086601f8301126135d457600080fd5b8135818111156135e357600080fd5b8760208285010111156135f557600080fd5b6020830194508093505050509250925092565b60006080828403121561361a57600080fd5b50919050565b60008060006040848603121561363557600080fd5b833567ffffffffffffffff8082111561364d57600080fd5b61365987838801613608565b9450602086013591508082111561366f57600080fd5b818601915086601f83011261368357600080fd5b81358181111561369257600080fd5b8760208260051b85010111156135f557600080fd5b6001600160a01b03811681146122c157600080fd5b6000602082840312156136ce57600080fd5b8135611ae3816136a7565b600080604083850312156136ec57600080fd5b82356136f781613475565b9150602083013561370781613475565b809150509250929050565b60006020828403121561372457600080fd5b813567ffffffffffffffff81111561373b57600080fd5b61374784828501613608565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156137895761378961374f565b60405290565b60405160a0810167ffffffffffffffff811182821017156137895761378961374f565b6040516080810167ffffffffffffffff811182821017156137895761378961374f565b805167ffffffffffffffff8116811461351757600080fd5b805161351781613475565b80516006811061351757600080fd5b6000610120828403121561381a57600080fd5b613822613765565b825181526020830151602082015261383c604084016137d5565b604082015261384d606084016137ed565b606082015261385e608084016137ed565b608082015261386f60a084016137ed565b60a082015261388060c084016137ed565b60c082015261389160e084016137f8565b60e0820152610100928301519281019290925250919050565b6000808335601e198436030181126138c157600080fd5b83018035915067ffffffffffffffff8211156138dc57600080fd5b6020019150600581901b36038213156133ad57600080fd5b600080600080600080600060e0888a03121561390f57600080fd5b613918886137d5565b9650613926602089016137d5565b9550613934604089016137d5565b9450613942606089016137d5565b9350608088015161395281613475565b60a08901519093506bffffffffffffffffffffffff8116811461397457600080fd5b60c089015190925061398581613475565b8091505092959891949750929550565b634e487b7160e01b600052601260045260246000fd5b6000826139ba576139ba613995565b500690565b634e487b7160e01b600052601160045260246000fd5b8181038181111561262a5761262a6139bf565b6000826139f7576139f7613995565b500490565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112613a2957600080fd5b83018035915067ffffffffffffffff821115613a4457600080fd5b6020019150368190038213156133ad57600080fd5b600060a08284031215613a6b57600080fd5b60405160a0810181811067ffffffffffffffff82111715613a8e57613a8e61374f565b6040528251613a9c816136a7565b8152613aaa602084016137d5565b6020820152613abb604084016137d5565b6040820152613acc606084016137d5565b60608201526080830151613adf81613475565b60808201529392505050565b63ffffffff818116838216019080821115613b0857613b086139bf565b5092915050565b63ffffffff828116828216039080821115613b0857613b086139bf565b8082018082111561262a5761262a6139bf565b600060018201613b5157613b516139bf565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6bffffffffffffffffffffffff1984168152604060208201526000612e35604083018486613b58565b6000808335601e19843603018112613bc157600080fd5b83018035915067ffffffffffffffff821115613bdc57600080fd5b6020019150600681901b36038213156133ad57600080fd5b600060408284031215613c0657600080fd5b6040516040810181811067ffffffffffffffff82111715613c2957613c2961374f565b604052823581526020830135613c3e81613475565b60208201529392505050565b60008235609e19833603018112613c6057600080fd5b9190910192915050565b80356001600160e01b03198116811461351757600080fd5b600082601f830112613c9357600080fd5b813567ffffffffffffffff80821115613cae57613cae61374f565b604051601f8301601f19908116603f01168101908282118183101715613cd657613cd661374f565b81604052838152866020858801011115613cef57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803577ffffffffffffffffffffffffffffffffffffffffffffffff198116811461351757600080fd5b600060a08236031215613d4a57600080fd5b613d5261378f565b823567ffffffffffffffff80821115613d6a57600080fd5b818501915060808236031215613d7f57600080fd5b613d876137b2565b613d9083613c6a565b8152602083013582811115613da457600080fd5b613db036828601613c82565b602083015250604083013582811115613dc857600080fd5b613dd436828601613c82565b604083015250613de660608401613c6a565b6060820152835250613dfc905060208401613d0f565b6020820152613e0d604084016134ff565b6040820152613e1e606084016134ff565b6060820152613e2f60808401613c6a565b608082015292915050565b600060c08284031215613e4c57600080fd5b60405160c0810181811067ffffffffffffffff82111715613e6f57613e6f61374f565b6040528251613e7d816136a7565b8152613e8b602084016137d5565b60208201526040830151613e9e81613475565b60408201526060830151613eb1816136a7565b6060820152613ec2608084016137d5565b608082015260a0830151613ed581613475565b60a08201529392505050565b60008060008060808587031215613ef757600080fd5b8451613f02816136a7565b6020860151909450613f13816136a7565b6040860151909350613f24816136a7565b6060860151909250613f35816136a7565b939692955090935050565b6000808335601e19843603018112613f5757600080fd5b830160208101925035905067ffffffffffffffff811115613f7757600080fd5b8060051b36038213156133ad57600080fd5b60006020808352608083016bffffffffffffffffffffffff19613fab866134ff565b1682850152613fbc82860186613f40565b606060408701528281845260a08701905060a08260051b88010193508260005b8381101561404c57888603609f19018352813536869003601e1901811261400257600080fd5b8501878101903567ffffffffffffffff81111561401e57600080fd5b80360382131561402d57600080fd5b614038888284613b58565b975050509186019190860190600101613fdc565b505050505060408501356060850152809250505092915050565b8183526000602080850194508260005b858110156140ac57813587528282013561408f81613475565b63ffffffff16878401526040968701969190910190600101614076565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156140e957600080fd5b8260051b80836020870137939093016020019392505050565b602081526001600160601b0319614118836134ff565b16602082015260006020830135601e1984360301811261413757600080fd5b830160208101903567ffffffffffffffff81111561415457600080fd5b8060061b360382131561416657600080fd5b6080604085015261417b60a085018284614066565b915050604084013560608401526141956060850185613f40565b848303601f190160808601526141ac8382846140b7565b9695505050505050565b600080600080608085870312156141cc57600080fd5b6141d5856137d5565b93506141e3602086016137d5565b92506141f1604086016137d5565b91506060850151613f3581613475565b6000815160005b818110156142225760208185018101518683015201614208565b50600093019283525090919050565b60006001600160e01b031980871683526142576142516004850188614201565b86614201565b9316835250506004019392505050565b600560fa1b8152606086901b6001600160601b0319166001820152607560f81b60158201527f0800000000000000000000000000000000000000000000000000000000000000601682015277ffffffffffffffffffffffffffffffffffffffffffffffff1985166017820152607560f81b601f820152600061434c61433f614316602085015b7f7600000000000000000000000000000000000000000000000000000000000000815260010190565b7fa900000000000000000000000000000000000000000000000000000000000000815260010190565b600560fa1b815260010190565b6001600160601b0319861681527f870000000000000000000000000000000000000000000000000000000000000060148201527f6300000000000000000000000000000000000000000000000000000000000000601582015261440b61433f6143166142ed6143e2601686015b7fac00000000000000000000000000000000000000000000000000000000000000815260010190565b7f6700000000000000000000000000000000000000000000000000000000000000815260010190565b6001600160601b0319861681527f880000000000000000000000000000000000000000000000000000000000000060148201527f040000000000000000000000000000000000000000000000000000000000000060158201529050601681016001600160e01b0319851681527fb1000000000000000000000000000000000000000000000000000000000000006004820152607560f81b600582015290506144e16144b8600683016143b9565b7f6800000000000000000000000000000000000000000000000000000000000000815260010190565b98975050505050505050565b6000611ae38284614201565b60006020828403121561450b57600080fd5b5051919050565b60ff818116838216019081111561262a5761262a6139bf565b60ff828116828216039081111561262a5761262a6139bf56fea2646970667358221220dcfc9249761d93343db3d91dd7ad3618c9d5784f3b8b3bfd147e0d536ddb085e64736f6c63430008110033";
|
|
1082
|
-
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
1083
|
-
var WalletCoordinator__factory = /** @class */ (function (_super) {
|
|
1084
|
-
__extends(WalletCoordinator__factory, _super);
|
|
1085
|
-
function WalletCoordinator__factory() {
|
|
1086
|
-
var args = [];
|
|
1087
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1088
|
-
args[_i] = arguments[_i];
|
|
1089
|
-
}
|
|
1090
|
-
var _this = this;
|
|
1091
|
-
if (isSuperArgs(args)) {
|
|
1092
|
-
_this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
|
|
1093
|
-
}
|
|
1094
|
-
else {
|
|
1095
|
-
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
|
1096
|
-
}
|
|
1097
|
-
return _this;
|
|
1098
|
-
}
|
|
1099
|
-
WalletCoordinator__factory.prototype.deploy = function (overrides) {
|
|
1100
|
-
return _super.prototype.deploy.call(this, overrides || {});
|
|
1101
|
-
};
|
|
1102
|
-
WalletCoordinator__factory.prototype.getDeployTransaction = function (overrides) {
|
|
1103
|
-
return _super.prototype.getDeployTransaction.call(this, overrides || {});
|
|
1104
|
-
};
|
|
1105
|
-
WalletCoordinator__factory.prototype.attach = function (address) {
|
|
1106
|
-
return _super.prototype.attach.call(this, address);
|
|
1107
|
-
};
|
|
1108
|
-
WalletCoordinator__factory.prototype.connect = function (signer) {
|
|
1109
|
-
return _super.prototype.connect.call(this, signer);
|
|
1110
|
-
};
|
|
1111
|
-
WalletCoordinator__factory.createInterface = function () {
|
|
1112
|
-
return new ethers_1.utils.Interface(_abi);
|
|
1113
|
-
};
|
|
1114
|
-
WalletCoordinator__factory.connect = function (address, signerOrProvider) {
|
|
1115
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
1116
|
-
};
|
|
1117
|
-
WalletCoordinator__factory.bytecode = _bytecode;
|
|
1118
|
-
WalletCoordinator__factory.abi = _abi;
|
|
1119
|
-
return WalletCoordinator__factory;
|
|
1120
|
-
}(ethers_1.ContractFactory));
|
|
1121
|
-
exports.WalletCoordinator__factory = WalletCoordinator__factory;
|