@keep-network/tbtc-v2 0.1.1-dev.5 → 0.1.1-dev.50

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.
Files changed (95) hide show
  1. package/README.adoc +12 -0
  2. package/artifacts/Bank.json +752 -0
  3. package/artifacts/Bridge.json +3271 -0
  4. package/artifacts/Deposit.json +117 -0
  5. package/artifacts/EcdsaDkgValidator.json +532 -0
  6. package/artifacts/EcdsaInactivity.json +156 -0
  7. package/artifacts/Fraud.json +153 -0
  8. package/artifacts/KeepRegistry.json +99 -0
  9. package/artifacts/KeepStake.json +286 -0
  10. package/artifacts/KeepToken.json +711 -0
  11. package/artifacts/KeepTokenStaking.json +483 -0
  12. package/artifacts/MovingFunds.json +160 -0
  13. package/artifacts/NuCypherStakingEscrow.json +256 -0
  14. package/artifacts/NuCypherToken.json +711 -0
  15. package/artifacts/RandomBeaconStub.json +141 -0
  16. package/artifacts/Redemption.json +161 -0
  17. package/artifacts/ReimbursementPool.json +509 -0
  18. package/artifacts/Relay.json +123 -0
  19. package/artifacts/SortitionPool.json +944 -0
  20. package/artifacts/Sweep.json +76 -0
  21. package/artifacts/T.json +1148 -0
  22. package/artifacts/TBTC.json +27 -26
  23. package/artifacts/TBTCToken.json +27 -26
  24. package/artifacts/TokenStaking.json +2288 -0
  25. package/artifacts/TokenholderGovernor.json +1795 -0
  26. package/artifacts/TokenholderTimelock.json +1058 -0
  27. package/artifacts/VendingMachine.json +30 -29
  28. package/artifacts/VendingMachineKeep.json +400 -0
  29. package/artifacts/VendingMachineNuCypher.json +400 -0
  30. package/artifacts/WalletRegistry.json +2709 -0
  31. package/artifacts/WalletRegistryGovernance.json +2364 -0
  32. package/artifacts/Wallets.json +186 -0
  33. package/artifacts/solcInputs/b0c3ed0992bd570aaaee717425c37538.json +218 -0
  34. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  35. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.json +2 -2
  36. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  37. package/build/contracts/bank/Bank.sol/Bank.json +20 -2
  38. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +4 -0
  39. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +10 -0
  40. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  41. package/build/contracts/bridge/Bridge.sol/Bridge.json +2093 -77
  42. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +4 -0
  43. package/build/contracts/bridge/BridgeState.sol/BridgeState.json +166 -0
  44. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +4 -0
  45. package/build/contracts/bridge/Deposit.sol/Deposit.json +72 -0
  46. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +4 -0
  47. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.json +10 -0
  48. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +4 -0
  49. package/build/contracts/bridge/Fraud.sol/Fraud.json +86 -0
  50. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +4 -0
  51. package/build/contracts/bridge/IRelay.sol/IRelay.json +37 -0
  52. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +4 -0
  53. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.json +81 -0
  54. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +4 -0
  55. package/build/contracts/bridge/Redemption.sol/OutboundTx.json +10 -0
  56. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +4 -0
  57. package/build/contracts/bridge/Redemption.sol/Redemption.json +92 -0
  58. package/build/contracts/bridge/Sweep.sol/Sweep.dbg.json +4 -0
  59. package/build/contracts/bridge/Sweep.sol/Sweep.json +30 -0
  60. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  61. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.json +2 -2
  62. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +4 -0
  63. package/build/contracts/bridge/Wallets.sol/Wallets.json +112 -0
  64. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  65. package/build/contracts/token/TBTC.sol/TBTC.json +2 -2
  66. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  67. package/build/contracts/vault/IVault.sol/IVault.json +19 -1
  68. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  69. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +36 -18
  70. package/contracts/GovernanceUtils.sol +1 -1
  71. package/contracts/bank/Bank.sol +34 -18
  72. package/contracts/bridge/BitcoinTx.sol +234 -0
  73. package/contracts/bridge/Bridge.sol +1274 -126
  74. package/contracts/bridge/BridgeState.sol +538 -0
  75. package/contracts/bridge/Deposit.sol +266 -0
  76. package/contracts/bridge/EcdsaLib.sol +45 -0
  77. package/contracts/bridge/Fraud.sol +488 -0
  78. package/contracts/bridge/IRelay.sol +28 -0
  79. package/contracts/bridge/MovingFunds.sol +511 -0
  80. package/contracts/bridge/Redemption.sol +846 -0
  81. package/contracts/bridge/Sweep.sol +514 -0
  82. package/contracts/bridge/VendingMachine.sol +1 -1
  83. package/contracts/bridge/Wallets.sol +551 -0
  84. package/contracts/token/TBTC.sol +1 -1
  85. package/contracts/vault/IVault.sol +32 -10
  86. package/contracts/vault/TBTCVault.sol +20 -2
  87. package/deploy/00_resolve_relay.ts +28 -0
  88. package/deploy/04_deploy_bank.ts +27 -0
  89. package/deploy/05_deploy_bridge.ts +64 -0
  90. package/deploy/06_bank_update_bridge.ts +19 -0
  91. package/deploy/07_transfer_ownership.ts +15 -0
  92. package/deploy/08_transfer_governance.ts +20 -0
  93. package/export.json +15173 -472
  94. package/package.json +27 -23
  95. package/artifacts/solcInputs/d71966212a658480bad5748ad85b1396.json +0 -116
@@ -4,14 +4,64 @@
4
4
  "sourceName": "contracts/bridge/Bridge.sol",
5
5
  "abi": [
6
6
  {
7
- "anonymous": false,
8
7
  "inputs": [
9
8
  {
10
- "indexed": false,
9
+ "internalType": "address",
10
+ "name": "_bank",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "_relay",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "_treasury",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "_ecdsaWalletRegistry",
26
+ "type": "address"
27
+ },
28
+ {
11
29
  "internalType": "uint256",
12
- "name": "depositId",
30
+ "name": "_txProofDifficultyFactor",
13
31
  "type": "uint256"
32
+ }
33
+ ],
34
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint64",
43
+ "name": "depositDustThreshold",
44
+ "type": "uint64"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint64",
49
+ "name": "depositTreasuryFeeDivisor",
50
+ "type": "uint64"
14
51
  },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "uint64",
55
+ "name": "depositTxMaxFee",
56
+ "type": "uint64"
57
+ }
58
+ ],
59
+ "name": "DepositParametersUpdated",
60
+ "type": "event"
61
+ },
62
+ {
63
+ "anonymous": false,
64
+ "inputs": [
15
65
  {
16
66
  "indexed": false,
17
67
  "internalType": "bytes32",
@@ -20,9 +70,9 @@
20
70
  },
21
71
  {
22
72
  "indexed": false,
23
- "internalType": "uint8",
73
+ "internalType": "uint32",
24
74
  "name": "fundingOutputIndex",
25
- "type": "uint8"
75
+ "type": "uint32"
26
76
  },
27
77
  {
28
78
  "indexed": false,
@@ -33,20 +83,32 @@
33
83
  {
34
84
  "indexed": false,
35
85
  "internalType": "uint64",
36
- "name": "blindingFactor",
86
+ "name": "amount",
37
87
  "type": "uint64"
38
88
  },
39
89
  {
40
90
  "indexed": false,
41
- "internalType": "bytes",
42
- "name": "refundPubKey",
43
- "type": "bytes"
91
+ "internalType": "bytes8",
92
+ "name": "blindingFactor",
93
+ "type": "bytes8"
44
94
  },
45
95
  {
46
96
  "indexed": false,
47
- "internalType": "uint64",
48
- "name": "amount",
49
- "type": "uint64"
97
+ "internalType": "bytes20",
98
+ "name": "walletPubKeyHash",
99
+ "type": "bytes20"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "bytes20",
104
+ "name": "refundPubKeyHash",
105
+ "type": "bytes20"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "bytes4",
110
+ "name": "refundLocktime",
111
+ "type": "bytes4"
50
112
  },
51
113
  {
52
114
  "indexed": false,
@@ -59,118 +121,2072 @@
59
121
  "type": "event"
60
122
  },
61
123
  {
124
+ "anonymous": false,
62
125
  "inputs": [
63
126
  {
64
- "internalType": "bytes32",
65
- "name": "fundingTxHash",
66
- "type": "bytes32"
127
+ "indexed": false,
128
+ "internalType": "bytes20",
129
+ "name": "walletPubKeyHash",
130
+ "type": "bytes20"
67
131
  },
68
132
  {
69
- "internalType": "uint8",
70
- "name": "fundingOutputIndex",
71
- "type": "uint8"
72
- },
133
+ "indexed": false,
134
+ "internalType": "bytes32",
135
+ "name": "sweepTxHash",
136
+ "type": "bytes32"
137
+ }
138
+ ],
139
+ "name": "DepositsSwept",
140
+ "type": "event"
141
+ },
142
+ {
143
+ "anonymous": false,
144
+ "inputs": [
73
145
  {
74
- "internalType": "uint64",
75
- "name": "blindingFactor",
76
- "type": "uint64"
146
+ "indexed": false,
147
+ "internalType": "bytes20",
148
+ "name": "walletPubKeyHash",
149
+ "type": "bytes20"
77
150
  },
78
151
  {
79
- "internalType": "bytes",
80
- "name": "refundPubKey",
81
- "type": "bytes"
82
- },
152
+ "indexed": false,
153
+ "internalType": "bytes32",
154
+ "name": "sighash",
155
+ "type": "bytes32"
156
+ }
157
+ ],
158
+ "name": "FraudChallengeDefeatTimedOut",
159
+ "type": "event"
160
+ },
161
+ {
162
+ "anonymous": false,
163
+ "inputs": [
83
164
  {
84
- "internalType": "uint64",
85
- "name": "amount",
86
- "type": "uint64"
165
+ "indexed": false,
166
+ "internalType": "bytes20",
167
+ "name": "walletPubKeyHash",
168
+ "type": "bytes20"
87
169
  },
88
170
  {
89
- "internalType": "address",
90
- "name": "vault",
91
- "type": "address"
171
+ "indexed": false,
172
+ "internalType": "bytes32",
173
+ "name": "sighash",
174
+ "type": "bytes32"
92
175
  }
93
176
  ],
94
- "name": "revealDeposit",
95
- "outputs": [],
96
- "stateMutability": "nonpayable",
97
- "type": "function"
177
+ "name": "FraudChallengeDefeated",
178
+ "type": "event"
98
179
  },
99
180
  {
181
+ "anonymous": false,
100
182
  "inputs": [
101
183
  {
102
- "internalType": "bytes4",
103
- "name": "txVersion",
104
- "type": "bytes4"
184
+ "indexed": false,
185
+ "internalType": "bytes20",
186
+ "name": "walletPubKeyHash",
187
+ "type": "bytes20"
105
188
  },
106
189
  {
107
- "internalType": "bytes",
108
- "name": "txInputVector",
109
- "type": "bytes"
190
+ "indexed": false,
191
+ "internalType": "bytes32",
192
+ "name": "sighash",
193
+ "type": "bytes32"
110
194
  },
111
195
  {
112
- "internalType": "bytes",
113
- "name": "txOutput",
114
- "type": "bytes"
196
+ "indexed": false,
197
+ "internalType": "uint8",
198
+ "name": "v",
199
+ "type": "uint8"
115
200
  },
116
201
  {
117
- "internalType": "bytes4",
118
- "name": "txLocktime",
119
- "type": "bytes4"
202
+ "indexed": false,
203
+ "internalType": "bytes32",
204
+ "name": "r",
205
+ "type": "bytes32"
120
206
  },
121
207
  {
122
- "internalType": "bytes",
123
- "name": "merkleProof",
124
- "type": "bytes"
208
+ "indexed": false,
209
+ "internalType": "bytes32",
210
+ "name": "s",
211
+ "type": "bytes32"
212
+ }
213
+ ],
214
+ "name": "FraudChallengeSubmitted",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint256",
223
+ "name": "fraudSlashingAmount",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "indexed": false,
228
+ "internalType": "uint256",
229
+ "name": "fraudNotifierRewardMultiplier",
230
+ "type": "uint256"
125
231
  },
126
232
  {
233
+ "indexed": false,
127
234
  "internalType": "uint256",
128
- "name": "txIndexInBlock",
235
+ "name": "fraudChallengeDefeatTimeout",
129
236
  "type": "uint256"
130
237
  },
131
238
  {
132
- "internalType": "bytes",
133
- "name": "bitcoinHeaders",
134
- "type": "bytes"
239
+ "indexed": false,
240
+ "internalType": "uint256",
241
+ "name": "fraudChallengeDepositAmount",
242
+ "type": "uint256"
135
243
  }
136
244
  ],
137
- "name": "sweep",
138
- "outputs": [],
139
- "stateMutability": "nonpayable",
140
- "type": "function"
245
+ "name": "FraudParametersUpdated",
246
+ "type": "event"
141
247
  },
142
248
  {
249
+ "anonymous": false,
143
250
  "inputs": [
144
251
  {
145
- "internalType": "uint256",
146
- "name": "",
147
- "type": "uint256"
252
+ "indexed": false,
253
+ "internalType": "address",
254
+ "name": "oldGovernance",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "indexed": false,
259
+ "internalType": "address",
260
+ "name": "newGovernance",
261
+ "type": "address"
148
262
  }
149
263
  ],
150
- "name": "unswept",
151
- "outputs": [
264
+ "name": "GovernanceTransferred",
265
+ "type": "event"
266
+ },
267
+ {
268
+ "anonymous": false,
269
+ "inputs": [
152
270
  {
153
- "internalType": "uint64",
154
- "name": "amount",
155
- "type": "uint64"
271
+ "indexed": false,
272
+ "internalType": "bytes20",
273
+ "name": "walletPubKeyHash",
274
+ "type": "bytes20"
275
+ }
276
+ ],
277
+ "name": "MovingFundsBelowDustReported",
278
+ "type": "event"
279
+ },
280
+ {
281
+ "anonymous": false,
282
+ "inputs": [
283
+ {
284
+ "indexed": false,
285
+ "internalType": "bytes20",
286
+ "name": "walletPubKeyHash",
287
+ "type": "bytes20"
288
+ },
289
+ {
290
+ "indexed": false,
291
+ "internalType": "bytes20[]",
292
+ "name": "targetWallets",
293
+ "type": "bytes20[]"
156
294
  },
157
295
  {
296
+ "indexed": false,
158
297
  "internalType": "address",
159
- "name": "vault",
298
+ "name": "submitter",
160
299
  "type": "address"
300
+ }
301
+ ],
302
+ "name": "MovingFundsCommitmentSubmitted",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "bytes20",
311
+ "name": "walletPubKeyHash",
312
+ "type": "bytes20"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "bytes32",
317
+ "name": "movingFundsTxHash",
318
+ "type": "bytes32"
319
+ }
320
+ ],
321
+ "name": "MovingFundsCompleted",
322
+ "type": "event"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": false,
329
+ "internalType": "uint64",
330
+ "name": "movingFundsTxMaxTotalFee",
331
+ "type": "uint64"
161
332
  },
162
333
  {
334
+ "indexed": false,
163
335
  "internalType": "uint32",
164
- "name": "revealedAt",
336
+ "name": "movingFundsTimeout",
165
337
  "type": "uint32"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "uint64",
342
+ "name": "movingFundsDustThreshold",
343
+ "type": "uint64"
166
344
  }
167
345
  ],
168
- "stateMutability": "view",
169
- "type": "function"
170
- }
171
- ],
172
- "bytecode": "0x608060405234801561001057600080fd5b506109f0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632c3e1d121461004657806342b1f1a41461006257806343c6de291461007e575b600080fd5b610060600480360381019061005b91906103df565b6100b0565b005b61007c60048036038101906100779190610486565b610238565b005b61009860048036038101906100939190610584565b610241565b6040516100a793929190610735565b60405180910390f35b60008787336040516020016100c793929190610657565b6040516020818303038152906040528051906020012060001c905060008060008381526020019081526020016000209050600081600001601c9054906101000a900463ffffffff1663ffffffff1614610155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014c9061068e565b60405180910390fd5b838160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550828160000160086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504281600001601c6101000a81548163ffffffff021916908363ffffffff1602179055507fed7e2a3180a53ccf8540bf67f1679359557837b4c2350f3c7f1d1409eaac3739828a8a338b8b8b8b8b604051610225999897969594939291906106ae565b60405180910390a1505050505050505050565b50505050505050565b60006020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600001601c9054906101000a900463ffffffff16905083565b60006102c26102bd84610791565b61076c565b9050828152602081018484840111156102da57600080fd5b6102e5848285610887565b509392505050565b6000813590506102fc81610930565b92915050565b60008135905061031181610947565b92915050565b6000813590506103268161095e565b92915050565b60008083601f84011261033e57600080fd5b8235905067ffffffffffffffff81111561035757600080fd5b60208301915083600182028301111561036f57600080fd5b9250929050565b600082601f83011261038757600080fd5b81356103978482602086016102af565b91505092915050565b6000813590506103af81610975565b92915050565b6000813590506103c48161098c565b92915050565b6000813590506103d9816109a3565b92915050565b600080600080600080600060c0888a0312156103fa57600080fd5b60006104088a828b01610302565b97505060206104198a828b016103ca565b965050604061042a8a828b016103b5565b955050606088013567ffffffffffffffff81111561044757600080fd5b6104538a828b0161032c565b945094505060806104668a828b016103b5565b92505060a06104778a828b016102ed565b91505092959891949750929550565b600080600080600080600060e0888a0312156104a157600080fd5b60006104af8a828b01610317565b975050602088013567ffffffffffffffff8111156104cc57600080fd5b6104d88a828b01610376565b965050604088013567ffffffffffffffff8111156104f557600080fd5b6105018a828b01610376565b95505060606105128a828b01610317565b945050608088013567ffffffffffffffff81111561052f57600080fd5b61053b8a828b01610376565b93505060a061054c8a828b016103a0565b92505060c088013567ffffffffffffffff81111561056957600080fd5b6105758a828b01610376565b91505092959891949750929550565b60006020828403121561059657600080fd5b60006105a4848285016103a0565b91505092915050565b6105b6816107e4565b82525050565b6105c5816107f6565b82525050565b60006105d783856107c2565b93506105e4838584610887565b6105ed836108f6565b840190509392505050565b60006106056018836107d3565b915061061082610907565b602082019050919050565b6106248161084c565b82525050565b61063381610856565b82525050565b61064281610866565b82525050565b6106518161087a565b82525050565b600060608201905061066c60008301866105bc565b6106796020830185610648565b61068660408301846105ad565b949350505050565b600060208201905081810360008301526106a7816105f8565b9050919050565b6000610100820190506106c4600083018c61061b565b6106d1602083018b6105bc565b6106de604083018a610648565b6106eb60608301896105ad565b6106f86080830188610639565b81810360a083015261070b8186886105cb565b905061071a60c0830185610639565b61072760e08301846105ad565b9a9950505050505050505050565b600060608201905061074a6000830186610639565b61075760208301856105ad565b610764604083018461062a565b949350505050565b6000610776610787565b90506107828282610896565b919050565b6000604051905090565b600067ffffffffffffffff8211156107ac576107ab6108c7565b5b6107b5826108f6565b9050602081019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006107ef8261082c565b9050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b61089f826108f6565b810181811067ffffffffffffffff821117156108be576108bd6108c7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4465706f73697420616c72656164792072657665616c65640000000000000000600082015250565b610939816107e4565b811461094457600080fd5b50565b610950816107f6565b811461095b57600080fd5b50565b61096781610800565b811461097257600080fd5b50565b61097e8161084c565b811461098957600080fd5b50565b61099581610866565b81146109a057600080fd5b50565b6109ac8161087a565b81146109b757600080fd5b5056fea26469706673582212207d1e61f37f8d0f4d2e819ea92984d0f23b9d069fd850451fb407141395ccff2864736f6c63430008040033",
173
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80632c3e1d121461004657806342b1f1a41461006257806343c6de291461007e575b600080fd5b610060600480360381019061005b91906103df565b6100b0565b005b61007c60048036038101906100779190610486565b610238565b005b61009860048036038101906100939190610584565b610241565b6040516100a793929190610735565b60405180910390f35b60008787336040516020016100c793929190610657565b6040516020818303038152906040528051906020012060001c905060008060008381526020019081526020016000209050600081600001601c9054906101000a900463ffffffff1663ffffffff1614610155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014c9061068e565b60405180910390fd5b838160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550828160000160086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504281600001601c6101000a81548163ffffffff021916908363ffffffff1602179055507fed7e2a3180a53ccf8540bf67f1679359557837b4c2350f3c7f1d1409eaac3739828a8a338b8b8b8b8b604051610225999897969594939291906106ae565b60405180910390a1505050505050505050565b50505050505050565b60006020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600001601c9054906101000a900463ffffffff16905083565b60006102c26102bd84610791565b61076c565b9050828152602081018484840111156102da57600080fd5b6102e5848285610887565b509392505050565b6000813590506102fc81610930565b92915050565b60008135905061031181610947565b92915050565b6000813590506103268161095e565b92915050565b60008083601f84011261033e57600080fd5b8235905067ffffffffffffffff81111561035757600080fd5b60208301915083600182028301111561036f57600080fd5b9250929050565b600082601f83011261038757600080fd5b81356103978482602086016102af565b91505092915050565b6000813590506103af81610975565b92915050565b6000813590506103c48161098c565b92915050565b6000813590506103d9816109a3565b92915050565b600080600080600080600060c0888a0312156103fa57600080fd5b60006104088a828b01610302565b97505060206104198a828b016103ca565b965050604061042a8a828b016103b5565b955050606088013567ffffffffffffffff81111561044757600080fd5b6104538a828b0161032c565b945094505060806104668a828b016103b5565b92505060a06104778a828b016102ed565b91505092959891949750929550565b600080600080600080600060e0888a0312156104a157600080fd5b60006104af8a828b01610317565b975050602088013567ffffffffffffffff8111156104cc57600080fd5b6104d88a828b01610376565b965050604088013567ffffffffffffffff8111156104f557600080fd5b6105018a828b01610376565b95505060606105128a828b01610317565b945050608088013567ffffffffffffffff81111561052f57600080fd5b61053b8a828b01610376565b93505060a061054c8a828b016103a0565b92505060c088013567ffffffffffffffff81111561056957600080fd5b6105758a828b01610376565b91505092959891949750929550565b60006020828403121561059657600080fd5b60006105a4848285016103a0565b91505092915050565b6105b6816107e4565b82525050565b6105c5816107f6565b82525050565b60006105d783856107c2565b93506105e4838584610887565b6105ed836108f6565b840190509392505050565b60006106056018836107d3565b915061061082610907565b602082019050919050565b6106248161084c565b82525050565b61063381610856565b82525050565b61064281610866565b82525050565b6106518161087a565b82525050565b600060608201905061066c60008301866105bc565b6106796020830185610648565b61068660408301846105ad565b949350505050565b600060208201905081810360008301526106a7816105f8565b9050919050565b6000610100820190506106c4600083018c61061b565b6106d1602083018b6105bc565b6106de604083018a610648565b6106eb60608301896105ad565b6106f86080830188610639565b81810360a083015261070b8186886105cb565b905061071a60c0830185610639565b61072760e08301846105ad565b9a9950505050505050505050565b600060608201905061074a6000830186610639565b61075760208301856105ad565b610764604083018461062a565b949350505050565b6000610776610787565b90506107828282610896565b919050565b6000604051905090565b600067ffffffffffffffff8211156107ac576107ab6108c7565b5b6107b5826108f6565b9050602081019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006107ef8261082c565b9050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b61089f826108f6565b810181811067ffffffffffffffff821117156108be576108bd6108c7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4465706f73697420616c72656164792072657665616c65640000000000000000600082015250565b610939816107e4565b811461094457600080fd5b50565b610950816107f6565b811461095b57600080fd5b50565b61096781610800565b811461097257600080fd5b50565b61097e8161084c565b811461098957600080fd5b50565b61099581610866565b81146109a057600080fd5b50565b6109ac8161087a565b81146109b757600080fd5b5056fea26469706673582212207d1e61f37f8d0f4d2e819ea92984d0f23b9d069fd850451fb407141395ccff2864736f6c63430008040033",
174
- "linkReferences": {},
175
- "deployedLinkReferences": {}
346
+ "name": "MovingFundsParametersUpdated",
347
+ "type": "event"
348
+ },
349
+ {
350
+ "anonymous": false,
351
+ "inputs": [
352
+ {
353
+ "indexed": false,
354
+ "internalType": "bytes20",
355
+ "name": "walletPubKeyHash",
356
+ "type": "bytes20"
357
+ }
358
+ ],
359
+ "name": "MovingFundsTimedOut",
360
+ "type": "event"
361
+ },
362
+ {
363
+ "anonymous": false,
364
+ "inputs": [
365
+ {
366
+ "indexed": true,
367
+ "internalType": "bytes32",
368
+ "name": "ecdsaWalletID",
369
+ "type": "bytes32"
370
+ },
371
+ {
372
+ "indexed": true,
373
+ "internalType": "bytes20",
374
+ "name": "walletPubKeyHash",
375
+ "type": "bytes20"
376
+ }
377
+ ],
378
+ "name": "NewWalletRegistered",
379
+ "type": "event"
380
+ },
381
+ {
382
+ "anonymous": false,
383
+ "inputs": [],
384
+ "name": "NewWalletRequested",
385
+ "type": "event"
386
+ },
387
+ {
388
+ "anonymous": false,
389
+ "inputs": [
390
+ {
391
+ "indexed": false,
392
+ "internalType": "uint64",
393
+ "name": "redemptionDustThreshold",
394
+ "type": "uint64"
395
+ },
396
+ {
397
+ "indexed": false,
398
+ "internalType": "uint64",
399
+ "name": "redemptionTreasuryFeeDivisor",
400
+ "type": "uint64"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "uint64",
405
+ "name": "redemptionTxMaxFee",
406
+ "type": "uint64"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "uint256",
411
+ "name": "redemptionTimeout",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "name": "RedemptionParametersUpdated",
416
+ "type": "event"
417
+ },
418
+ {
419
+ "anonymous": false,
420
+ "inputs": [
421
+ {
422
+ "indexed": false,
423
+ "internalType": "bytes20",
424
+ "name": "walletPubKeyHash",
425
+ "type": "bytes20"
426
+ },
427
+ {
428
+ "indexed": false,
429
+ "internalType": "bytes",
430
+ "name": "redeemerOutputScript",
431
+ "type": "bytes"
432
+ },
433
+ {
434
+ "indexed": false,
435
+ "internalType": "address",
436
+ "name": "redeemer",
437
+ "type": "address"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "uint64",
442
+ "name": "requestedAmount",
443
+ "type": "uint64"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "uint64",
448
+ "name": "treasuryFee",
449
+ "type": "uint64"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "uint64",
454
+ "name": "txMaxFee",
455
+ "type": "uint64"
456
+ }
457
+ ],
458
+ "name": "RedemptionRequested",
459
+ "type": "event"
460
+ },
461
+ {
462
+ "anonymous": false,
463
+ "inputs": [
464
+ {
465
+ "indexed": false,
466
+ "internalType": "bytes20",
467
+ "name": "walletPubKeyHash",
468
+ "type": "bytes20"
469
+ },
470
+ {
471
+ "indexed": false,
472
+ "internalType": "bytes",
473
+ "name": "redeemerOutputScript",
474
+ "type": "bytes"
475
+ }
476
+ ],
477
+ "name": "RedemptionTimedOut",
478
+ "type": "event"
479
+ },
480
+ {
481
+ "anonymous": false,
482
+ "inputs": [
483
+ {
484
+ "indexed": false,
485
+ "internalType": "bytes20",
486
+ "name": "walletPubKeyHash",
487
+ "type": "bytes20"
488
+ },
489
+ {
490
+ "indexed": false,
491
+ "internalType": "bytes32",
492
+ "name": "redemptionTxHash",
493
+ "type": "bytes32"
494
+ }
495
+ ],
496
+ "name": "RedemptionsCompleted",
497
+ "type": "event"
498
+ },
499
+ {
500
+ "anonymous": false,
501
+ "inputs": [
502
+ {
503
+ "indexed": true,
504
+ "internalType": "address",
505
+ "name": "vault",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "indexed": false,
510
+ "internalType": "bool",
511
+ "name": "isTrusted",
512
+ "type": "bool"
513
+ }
514
+ ],
515
+ "name": "VaultStatusUpdated",
516
+ "type": "event"
517
+ },
518
+ {
519
+ "anonymous": false,
520
+ "inputs": [
521
+ {
522
+ "indexed": true,
523
+ "internalType": "bytes32",
524
+ "name": "ecdsaWalletID",
525
+ "type": "bytes32"
526
+ },
527
+ {
528
+ "indexed": true,
529
+ "internalType": "bytes20",
530
+ "name": "walletPubKeyHash",
531
+ "type": "bytes20"
532
+ }
533
+ ],
534
+ "name": "WalletClosed",
535
+ "type": "event"
536
+ },
537
+ {
538
+ "anonymous": false,
539
+ "inputs": [
540
+ {
541
+ "indexed": true,
542
+ "internalType": "bytes32",
543
+ "name": "ecdsaWalletID",
544
+ "type": "bytes32"
545
+ },
546
+ {
547
+ "indexed": true,
548
+ "internalType": "bytes20",
549
+ "name": "walletPubKeyHash",
550
+ "type": "bytes20"
551
+ }
552
+ ],
553
+ "name": "WalletClosing",
554
+ "type": "event"
555
+ },
556
+ {
557
+ "anonymous": false,
558
+ "inputs": [
559
+ {
560
+ "indexed": true,
561
+ "internalType": "bytes32",
562
+ "name": "ecdsaWalletID",
563
+ "type": "bytes32"
564
+ },
565
+ {
566
+ "indexed": true,
567
+ "internalType": "bytes20",
568
+ "name": "walletPubKeyHash",
569
+ "type": "bytes20"
570
+ }
571
+ ],
572
+ "name": "WalletMovingFunds",
573
+ "type": "event"
574
+ },
575
+ {
576
+ "anonymous": false,
577
+ "inputs": [
578
+ {
579
+ "indexed": false,
580
+ "internalType": "uint32",
581
+ "name": "walletCreationPeriod",
582
+ "type": "uint32"
583
+ },
584
+ {
585
+ "indexed": false,
586
+ "internalType": "uint64",
587
+ "name": "walletMinBtcBalance",
588
+ "type": "uint64"
589
+ },
590
+ {
591
+ "indexed": false,
592
+ "internalType": "uint64",
593
+ "name": "walletMaxBtcBalance",
594
+ "type": "uint64"
595
+ },
596
+ {
597
+ "indexed": false,
598
+ "internalType": "uint32",
599
+ "name": "walletMaxAge",
600
+ "type": "uint32"
601
+ },
602
+ {
603
+ "indexed": false,
604
+ "internalType": "uint64",
605
+ "name": "walletMaxBtcTransfer",
606
+ "type": "uint64"
607
+ },
608
+ {
609
+ "indexed": false,
610
+ "internalType": "uint32",
611
+ "name": "walletClosingPeriod",
612
+ "type": "uint32"
613
+ }
614
+ ],
615
+ "name": "WalletParametersUpdated",
616
+ "type": "event"
617
+ },
618
+ {
619
+ "anonymous": false,
620
+ "inputs": [
621
+ {
622
+ "indexed": true,
623
+ "internalType": "bytes32",
624
+ "name": "ecdsaWalletID",
625
+ "type": "bytes32"
626
+ },
627
+ {
628
+ "indexed": true,
629
+ "internalType": "bytes20",
630
+ "name": "walletPubKeyHash",
631
+ "type": "bytes20"
632
+ }
633
+ ],
634
+ "name": "WalletTerminated",
635
+ "type": "event"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "bytes32",
641
+ "name": "ecdsaWalletID",
642
+ "type": "bytes32"
643
+ },
644
+ {
645
+ "internalType": "bytes32",
646
+ "name": "publicKeyX",
647
+ "type": "bytes32"
648
+ },
649
+ {
650
+ "internalType": "bytes32",
651
+ "name": "publicKeyY",
652
+ "type": "bytes32"
653
+ }
654
+ ],
655
+ "name": "__ecdsaWalletCreatedCallback",
656
+ "outputs": [],
657
+ "stateMutability": "nonpayable",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [
662
+ {
663
+ "internalType": "bytes32",
664
+ "name": "",
665
+ "type": "bytes32"
666
+ },
667
+ {
668
+ "internalType": "bytes32",
669
+ "name": "publicKeyX",
670
+ "type": "bytes32"
671
+ },
672
+ {
673
+ "internalType": "bytes32",
674
+ "name": "publicKeyY",
675
+ "type": "bytes32"
676
+ }
677
+ ],
678
+ "name": "__ecdsaWalletHeartbeatFailedCallback",
679
+ "outputs": [],
680
+ "stateMutability": "nonpayable",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [],
685
+ "name": "activeWalletPubKeyHash",
686
+ "outputs": [
687
+ {
688
+ "internalType": "bytes20",
689
+ "name": "",
690
+ "type": "bytes20"
691
+ }
692
+ ],
693
+ "stateMutability": "view",
694
+ "type": "function"
695
+ },
696
+ {
697
+ "inputs": [],
698
+ "name": "contractReferences",
699
+ "outputs": [
700
+ {
701
+ "internalType": "contract Bank",
702
+ "name": "bank",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "internalType": "contract IRelay",
707
+ "name": "relay",
708
+ "type": "address"
709
+ },
710
+ {
711
+ "internalType": "contract IWalletRegistry",
712
+ "name": "ecdsaWalletRegistry",
713
+ "type": "address"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "bytes",
723
+ "name": "walletPublicKey",
724
+ "type": "bytes"
725
+ },
726
+ {
727
+ "internalType": "bytes",
728
+ "name": "preimage",
729
+ "type": "bytes"
730
+ },
731
+ {
732
+ "internalType": "bool",
733
+ "name": "witness",
734
+ "type": "bool"
735
+ }
736
+ ],
737
+ "name": "defeatFraudChallenge",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [],
744
+ "name": "depositParameters",
745
+ "outputs": [
746
+ {
747
+ "internalType": "uint64",
748
+ "name": "depositDustThreshold",
749
+ "type": "uint64"
750
+ },
751
+ {
752
+ "internalType": "uint64",
753
+ "name": "depositTreasuryFeeDivisor",
754
+ "type": "uint64"
755
+ },
756
+ {
757
+ "internalType": "uint64",
758
+ "name": "depositTxMaxFee",
759
+ "type": "uint64"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "uint256",
769
+ "name": "depositKey",
770
+ "type": "uint256"
771
+ }
772
+ ],
773
+ "name": "deposits",
774
+ "outputs": [
775
+ {
776
+ "components": [
777
+ {
778
+ "internalType": "address",
779
+ "name": "depositor",
780
+ "type": "address"
781
+ },
782
+ {
783
+ "internalType": "uint64",
784
+ "name": "amount",
785
+ "type": "uint64"
786
+ },
787
+ {
788
+ "internalType": "uint32",
789
+ "name": "revealedAt",
790
+ "type": "uint32"
791
+ },
792
+ {
793
+ "internalType": "address",
794
+ "name": "vault",
795
+ "type": "address"
796
+ },
797
+ {
798
+ "internalType": "uint64",
799
+ "name": "treasuryFee",
800
+ "type": "uint64"
801
+ },
802
+ {
803
+ "internalType": "uint32",
804
+ "name": "sweptAt",
805
+ "type": "uint32"
806
+ }
807
+ ],
808
+ "internalType": "struct Deposit.DepositRequest",
809
+ "name": "",
810
+ "type": "tuple"
811
+ }
812
+ ],
813
+ "stateMutability": "view",
814
+ "type": "function"
815
+ },
816
+ {
817
+ "inputs": [
818
+ {
819
+ "internalType": "uint256",
820
+ "name": "challengeKey",
821
+ "type": "uint256"
822
+ }
823
+ ],
824
+ "name": "fraudChallenges",
825
+ "outputs": [
826
+ {
827
+ "components": [
828
+ {
829
+ "internalType": "address",
830
+ "name": "challenger",
831
+ "type": "address"
832
+ },
833
+ {
834
+ "internalType": "uint256",
835
+ "name": "depositAmount",
836
+ "type": "uint256"
837
+ },
838
+ {
839
+ "internalType": "uint32",
840
+ "name": "reportedAt",
841
+ "type": "uint32"
842
+ },
843
+ {
844
+ "internalType": "bool",
845
+ "name": "resolved",
846
+ "type": "bool"
847
+ }
848
+ ],
849
+ "internalType": "struct Fraud.FraudChallenge",
850
+ "name": "",
851
+ "type": "tuple"
852
+ }
853
+ ],
854
+ "stateMutability": "view",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [],
859
+ "name": "fraudParameters",
860
+ "outputs": [
861
+ {
862
+ "internalType": "uint256",
863
+ "name": "fraudSlashingAmount",
864
+ "type": "uint256"
865
+ },
866
+ {
867
+ "internalType": "uint256",
868
+ "name": "fraudNotifierRewardMultiplier",
869
+ "type": "uint256"
870
+ },
871
+ {
872
+ "internalType": "uint256",
873
+ "name": "fraudChallengeDefeatTimeout",
874
+ "type": "uint256"
875
+ },
876
+ {
877
+ "internalType": "uint256",
878
+ "name": "fraudChallengeDepositAmount",
879
+ "type": "uint256"
880
+ }
881
+ ],
882
+ "stateMutability": "view",
883
+ "type": "function"
884
+ },
885
+ {
886
+ "inputs": [],
887
+ "name": "governance",
888
+ "outputs": [
889
+ {
890
+ "internalType": "address",
891
+ "name": "",
892
+ "type": "address"
893
+ }
894
+ ],
895
+ "stateMutability": "view",
896
+ "type": "function"
897
+ },
898
+ {
899
+ "inputs": [
900
+ {
901
+ "internalType": "address",
902
+ "name": "vault",
903
+ "type": "address"
904
+ }
905
+ ],
906
+ "name": "isVaultTrusted",
907
+ "outputs": [
908
+ {
909
+ "internalType": "bool",
910
+ "name": "",
911
+ "type": "bool"
912
+ }
913
+ ],
914
+ "stateMutability": "view",
915
+ "type": "function"
916
+ },
917
+ {
918
+ "inputs": [],
919
+ "name": "liveWalletsCount",
920
+ "outputs": [
921
+ {
922
+ "internalType": "uint32",
923
+ "name": "",
924
+ "type": "uint32"
925
+ }
926
+ ],
927
+ "stateMutability": "view",
928
+ "type": "function"
929
+ },
930
+ {
931
+ "inputs": [],
932
+ "name": "movingFundsParameters",
933
+ "outputs": [
934
+ {
935
+ "internalType": "uint64",
936
+ "name": "movingFundsTxMaxTotalFee",
937
+ "type": "uint64"
938
+ },
939
+ {
940
+ "internalType": "uint32",
941
+ "name": "movingFundsTimeout",
942
+ "type": "uint32"
943
+ },
944
+ {
945
+ "internalType": "uint64",
946
+ "name": "movingFundsDustThreshold",
947
+ "type": "uint64"
948
+ }
949
+ ],
950
+ "stateMutability": "view",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [
955
+ {
956
+ "internalType": "bytes20",
957
+ "name": "walletPubKeyHash",
958
+ "type": "bytes20"
959
+ },
960
+ {
961
+ "components": [
962
+ {
963
+ "internalType": "bytes32",
964
+ "name": "txHash",
965
+ "type": "bytes32"
966
+ },
967
+ {
968
+ "internalType": "uint32",
969
+ "name": "txOutputIndex",
970
+ "type": "uint32"
971
+ },
972
+ {
973
+ "internalType": "uint64",
974
+ "name": "txOutputValue",
975
+ "type": "uint64"
976
+ }
977
+ ],
978
+ "internalType": "struct BitcoinTx.UTXO",
979
+ "name": "walletMainUtxo",
980
+ "type": "tuple"
981
+ }
982
+ ],
983
+ "name": "notifyCloseableWallet",
984
+ "outputs": [],
985
+ "stateMutability": "nonpayable",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "bytes",
992
+ "name": "walletPublicKey",
993
+ "type": "bytes"
994
+ },
995
+ {
996
+ "internalType": "bytes32",
997
+ "name": "sighash",
998
+ "type": "bytes32"
999
+ }
1000
+ ],
1001
+ "name": "notifyFraudChallengeDefeatTimeout",
1002
+ "outputs": [],
1003
+ "stateMutability": "nonpayable",
1004
+ "type": "function"
1005
+ },
1006
+ {
1007
+ "inputs": [
1008
+ {
1009
+ "internalType": "bytes20",
1010
+ "name": "walletPubKeyHash",
1011
+ "type": "bytes20"
1012
+ },
1013
+ {
1014
+ "components": [
1015
+ {
1016
+ "internalType": "bytes32",
1017
+ "name": "txHash",
1018
+ "type": "bytes32"
1019
+ },
1020
+ {
1021
+ "internalType": "uint32",
1022
+ "name": "txOutputIndex",
1023
+ "type": "uint32"
1024
+ },
1025
+ {
1026
+ "internalType": "uint64",
1027
+ "name": "txOutputValue",
1028
+ "type": "uint64"
1029
+ }
1030
+ ],
1031
+ "internalType": "struct BitcoinTx.UTXO",
1032
+ "name": "mainUtxo",
1033
+ "type": "tuple"
1034
+ }
1035
+ ],
1036
+ "name": "notifyMovingFundsBelowDust",
1037
+ "outputs": [],
1038
+ "stateMutability": "nonpayable",
1039
+ "type": "function"
1040
+ },
1041
+ {
1042
+ "inputs": [
1043
+ {
1044
+ "internalType": "bytes20",
1045
+ "name": "walletPubKeyHash",
1046
+ "type": "bytes20"
1047
+ }
1048
+ ],
1049
+ "name": "notifyMovingFundsTimeout",
1050
+ "outputs": [],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "bytes20",
1058
+ "name": "walletPubKeyHash",
1059
+ "type": "bytes20"
1060
+ },
1061
+ {
1062
+ "internalType": "bytes",
1063
+ "name": "redeemerOutputScript",
1064
+ "type": "bytes"
1065
+ }
1066
+ ],
1067
+ "name": "notifyRedemptionTimeout",
1068
+ "outputs": [],
1069
+ "stateMutability": "nonpayable",
1070
+ "type": "function"
1071
+ },
1072
+ {
1073
+ "inputs": [
1074
+ {
1075
+ "internalType": "bytes20",
1076
+ "name": "walletPubKeyHash",
1077
+ "type": "bytes20"
1078
+ }
1079
+ ],
1080
+ "name": "notifyWalletClosingPeriodElapsed",
1081
+ "outputs": [],
1082
+ "stateMutability": "nonpayable",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "uint256",
1089
+ "name": "redemptionKey",
1090
+ "type": "uint256"
1091
+ }
1092
+ ],
1093
+ "name": "pendingRedemptions",
1094
+ "outputs": [
1095
+ {
1096
+ "components": [
1097
+ {
1098
+ "internalType": "address",
1099
+ "name": "redeemer",
1100
+ "type": "address"
1101
+ },
1102
+ {
1103
+ "internalType": "uint64",
1104
+ "name": "requestedAmount",
1105
+ "type": "uint64"
1106
+ },
1107
+ {
1108
+ "internalType": "uint64",
1109
+ "name": "treasuryFee",
1110
+ "type": "uint64"
1111
+ },
1112
+ {
1113
+ "internalType": "uint64",
1114
+ "name": "txMaxFee",
1115
+ "type": "uint64"
1116
+ },
1117
+ {
1118
+ "internalType": "uint32",
1119
+ "name": "requestedAt",
1120
+ "type": "uint32"
1121
+ }
1122
+ ],
1123
+ "internalType": "struct Redemption.RedemptionRequest",
1124
+ "name": "",
1125
+ "type": "tuple"
1126
+ }
1127
+ ],
1128
+ "stateMutability": "view",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [],
1133
+ "name": "redemptionParameters",
1134
+ "outputs": [
1135
+ {
1136
+ "internalType": "uint64",
1137
+ "name": "redemptionDustThreshold",
1138
+ "type": "uint64"
1139
+ },
1140
+ {
1141
+ "internalType": "uint64",
1142
+ "name": "redemptionTreasuryFeeDivisor",
1143
+ "type": "uint64"
1144
+ },
1145
+ {
1146
+ "internalType": "uint64",
1147
+ "name": "redemptionTxMaxFee",
1148
+ "type": "uint64"
1149
+ },
1150
+ {
1151
+ "internalType": "uint256",
1152
+ "name": "redemptionTimeout",
1153
+ "type": "uint256"
1154
+ }
1155
+ ],
1156
+ "stateMutability": "view",
1157
+ "type": "function"
1158
+ },
1159
+ {
1160
+ "inputs": [
1161
+ {
1162
+ "components": [
1163
+ {
1164
+ "internalType": "bytes32",
1165
+ "name": "txHash",
1166
+ "type": "bytes32"
1167
+ },
1168
+ {
1169
+ "internalType": "uint32",
1170
+ "name": "txOutputIndex",
1171
+ "type": "uint32"
1172
+ },
1173
+ {
1174
+ "internalType": "uint64",
1175
+ "name": "txOutputValue",
1176
+ "type": "uint64"
1177
+ }
1178
+ ],
1179
+ "internalType": "struct BitcoinTx.UTXO",
1180
+ "name": "activeWalletMainUtxo",
1181
+ "type": "tuple"
1182
+ }
1183
+ ],
1184
+ "name": "requestNewWallet",
1185
+ "outputs": [],
1186
+ "stateMutability": "nonpayable",
1187
+ "type": "function"
1188
+ },
1189
+ {
1190
+ "inputs": [
1191
+ {
1192
+ "internalType": "bytes20",
1193
+ "name": "walletPubKeyHash",
1194
+ "type": "bytes20"
1195
+ },
1196
+ {
1197
+ "components": [
1198
+ {
1199
+ "internalType": "bytes32",
1200
+ "name": "txHash",
1201
+ "type": "bytes32"
1202
+ },
1203
+ {
1204
+ "internalType": "uint32",
1205
+ "name": "txOutputIndex",
1206
+ "type": "uint32"
1207
+ },
1208
+ {
1209
+ "internalType": "uint64",
1210
+ "name": "txOutputValue",
1211
+ "type": "uint64"
1212
+ }
1213
+ ],
1214
+ "internalType": "struct BitcoinTx.UTXO",
1215
+ "name": "mainUtxo",
1216
+ "type": "tuple"
1217
+ },
1218
+ {
1219
+ "internalType": "bytes",
1220
+ "name": "redeemerOutputScript",
1221
+ "type": "bytes"
1222
+ },
1223
+ {
1224
+ "internalType": "uint64",
1225
+ "name": "amount",
1226
+ "type": "uint64"
1227
+ }
1228
+ ],
1229
+ "name": "requestRedemption",
1230
+ "outputs": [],
1231
+ "stateMutability": "nonpayable",
1232
+ "type": "function"
1233
+ },
1234
+ {
1235
+ "inputs": [
1236
+ {
1237
+ "components": [
1238
+ {
1239
+ "internalType": "bytes4",
1240
+ "name": "version",
1241
+ "type": "bytes4"
1242
+ },
1243
+ {
1244
+ "internalType": "bytes",
1245
+ "name": "inputVector",
1246
+ "type": "bytes"
1247
+ },
1248
+ {
1249
+ "internalType": "bytes",
1250
+ "name": "outputVector",
1251
+ "type": "bytes"
1252
+ },
1253
+ {
1254
+ "internalType": "bytes4",
1255
+ "name": "locktime",
1256
+ "type": "bytes4"
1257
+ }
1258
+ ],
1259
+ "internalType": "struct BitcoinTx.Info",
1260
+ "name": "fundingTx",
1261
+ "type": "tuple"
1262
+ },
1263
+ {
1264
+ "components": [
1265
+ {
1266
+ "internalType": "uint32",
1267
+ "name": "fundingOutputIndex",
1268
+ "type": "uint32"
1269
+ },
1270
+ {
1271
+ "internalType": "address",
1272
+ "name": "depositor",
1273
+ "type": "address"
1274
+ },
1275
+ {
1276
+ "internalType": "bytes8",
1277
+ "name": "blindingFactor",
1278
+ "type": "bytes8"
1279
+ },
1280
+ {
1281
+ "internalType": "bytes20",
1282
+ "name": "walletPubKeyHash",
1283
+ "type": "bytes20"
1284
+ },
1285
+ {
1286
+ "internalType": "bytes20",
1287
+ "name": "refundPubKeyHash",
1288
+ "type": "bytes20"
1289
+ },
1290
+ {
1291
+ "internalType": "bytes4",
1292
+ "name": "refundLocktime",
1293
+ "type": "bytes4"
1294
+ },
1295
+ {
1296
+ "internalType": "address",
1297
+ "name": "vault",
1298
+ "type": "address"
1299
+ }
1300
+ ],
1301
+ "internalType": "struct Deposit.DepositRevealInfo",
1302
+ "name": "reveal",
1303
+ "type": "tuple"
1304
+ }
1305
+ ],
1306
+ "name": "revealDeposit",
1307
+ "outputs": [],
1308
+ "stateMutability": "nonpayable",
1309
+ "type": "function"
1310
+ },
1311
+ {
1312
+ "inputs": [
1313
+ {
1314
+ "internalType": "address",
1315
+ "name": "vault",
1316
+ "type": "address"
1317
+ },
1318
+ {
1319
+ "internalType": "bool",
1320
+ "name": "isTrusted",
1321
+ "type": "bool"
1322
+ }
1323
+ ],
1324
+ "name": "setVaultStatus",
1325
+ "outputs": [],
1326
+ "stateMutability": "nonpayable",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [
1331
+ {
1332
+ "internalType": "uint256",
1333
+ "name": "utxoKey",
1334
+ "type": "uint256"
1335
+ }
1336
+ ],
1337
+ "name": "spentMainUTXOs",
1338
+ "outputs": [
1339
+ {
1340
+ "internalType": "bool",
1341
+ "name": "",
1342
+ "type": "bool"
1343
+ }
1344
+ ],
1345
+ "stateMutability": "view",
1346
+ "type": "function"
1347
+ },
1348
+ {
1349
+ "inputs": [
1350
+ {
1351
+ "internalType": "bytes",
1352
+ "name": "walletPublicKey",
1353
+ "type": "bytes"
1354
+ },
1355
+ {
1356
+ "internalType": "bytes32",
1357
+ "name": "sighash",
1358
+ "type": "bytes32"
1359
+ },
1360
+ {
1361
+ "components": [
1362
+ {
1363
+ "internalType": "bytes32",
1364
+ "name": "r",
1365
+ "type": "bytes32"
1366
+ },
1367
+ {
1368
+ "internalType": "bytes32",
1369
+ "name": "s",
1370
+ "type": "bytes32"
1371
+ },
1372
+ {
1373
+ "internalType": "uint8",
1374
+ "name": "v",
1375
+ "type": "uint8"
1376
+ }
1377
+ ],
1378
+ "internalType": "struct BitcoinTx.RSVSignature",
1379
+ "name": "signature",
1380
+ "type": "tuple"
1381
+ }
1382
+ ],
1383
+ "name": "submitFraudChallenge",
1384
+ "outputs": [],
1385
+ "stateMutability": "payable",
1386
+ "type": "function"
1387
+ },
1388
+ {
1389
+ "inputs": [
1390
+ {
1391
+ "internalType": "bytes20",
1392
+ "name": "walletPubKeyHash",
1393
+ "type": "bytes20"
1394
+ },
1395
+ {
1396
+ "components": [
1397
+ {
1398
+ "internalType": "bytes32",
1399
+ "name": "txHash",
1400
+ "type": "bytes32"
1401
+ },
1402
+ {
1403
+ "internalType": "uint32",
1404
+ "name": "txOutputIndex",
1405
+ "type": "uint32"
1406
+ },
1407
+ {
1408
+ "internalType": "uint64",
1409
+ "name": "txOutputValue",
1410
+ "type": "uint64"
1411
+ }
1412
+ ],
1413
+ "internalType": "struct BitcoinTx.UTXO",
1414
+ "name": "walletMainUtxo",
1415
+ "type": "tuple"
1416
+ },
1417
+ {
1418
+ "internalType": "uint32[]",
1419
+ "name": "walletMembersIDs",
1420
+ "type": "uint32[]"
1421
+ },
1422
+ {
1423
+ "internalType": "uint256",
1424
+ "name": "walletMemberIndex",
1425
+ "type": "uint256"
1426
+ },
1427
+ {
1428
+ "internalType": "bytes20[]",
1429
+ "name": "targetWallets",
1430
+ "type": "bytes20[]"
1431
+ }
1432
+ ],
1433
+ "name": "submitMovingFundsCommitment",
1434
+ "outputs": [],
1435
+ "stateMutability": "nonpayable",
1436
+ "type": "function"
1437
+ },
1438
+ {
1439
+ "inputs": [
1440
+ {
1441
+ "components": [
1442
+ {
1443
+ "internalType": "bytes4",
1444
+ "name": "version",
1445
+ "type": "bytes4"
1446
+ },
1447
+ {
1448
+ "internalType": "bytes",
1449
+ "name": "inputVector",
1450
+ "type": "bytes"
1451
+ },
1452
+ {
1453
+ "internalType": "bytes",
1454
+ "name": "outputVector",
1455
+ "type": "bytes"
1456
+ },
1457
+ {
1458
+ "internalType": "bytes4",
1459
+ "name": "locktime",
1460
+ "type": "bytes4"
1461
+ }
1462
+ ],
1463
+ "internalType": "struct BitcoinTx.Info",
1464
+ "name": "movingFundsTx",
1465
+ "type": "tuple"
1466
+ },
1467
+ {
1468
+ "components": [
1469
+ {
1470
+ "internalType": "bytes",
1471
+ "name": "merkleProof",
1472
+ "type": "bytes"
1473
+ },
1474
+ {
1475
+ "internalType": "uint256",
1476
+ "name": "txIndexInBlock",
1477
+ "type": "uint256"
1478
+ },
1479
+ {
1480
+ "internalType": "bytes",
1481
+ "name": "bitcoinHeaders",
1482
+ "type": "bytes"
1483
+ }
1484
+ ],
1485
+ "internalType": "struct BitcoinTx.Proof",
1486
+ "name": "movingFundsProof",
1487
+ "type": "tuple"
1488
+ },
1489
+ {
1490
+ "components": [
1491
+ {
1492
+ "internalType": "bytes32",
1493
+ "name": "txHash",
1494
+ "type": "bytes32"
1495
+ },
1496
+ {
1497
+ "internalType": "uint32",
1498
+ "name": "txOutputIndex",
1499
+ "type": "uint32"
1500
+ },
1501
+ {
1502
+ "internalType": "uint64",
1503
+ "name": "txOutputValue",
1504
+ "type": "uint64"
1505
+ }
1506
+ ],
1507
+ "internalType": "struct BitcoinTx.UTXO",
1508
+ "name": "mainUtxo",
1509
+ "type": "tuple"
1510
+ },
1511
+ {
1512
+ "internalType": "bytes20",
1513
+ "name": "walletPubKeyHash",
1514
+ "type": "bytes20"
1515
+ }
1516
+ ],
1517
+ "name": "submitMovingFundsProof",
1518
+ "outputs": [],
1519
+ "stateMutability": "nonpayable",
1520
+ "type": "function"
1521
+ },
1522
+ {
1523
+ "inputs": [
1524
+ {
1525
+ "components": [
1526
+ {
1527
+ "internalType": "bytes4",
1528
+ "name": "version",
1529
+ "type": "bytes4"
1530
+ },
1531
+ {
1532
+ "internalType": "bytes",
1533
+ "name": "inputVector",
1534
+ "type": "bytes"
1535
+ },
1536
+ {
1537
+ "internalType": "bytes",
1538
+ "name": "outputVector",
1539
+ "type": "bytes"
1540
+ },
1541
+ {
1542
+ "internalType": "bytes4",
1543
+ "name": "locktime",
1544
+ "type": "bytes4"
1545
+ }
1546
+ ],
1547
+ "internalType": "struct BitcoinTx.Info",
1548
+ "name": "redemptionTx",
1549
+ "type": "tuple"
1550
+ },
1551
+ {
1552
+ "components": [
1553
+ {
1554
+ "internalType": "bytes",
1555
+ "name": "merkleProof",
1556
+ "type": "bytes"
1557
+ },
1558
+ {
1559
+ "internalType": "uint256",
1560
+ "name": "txIndexInBlock",
1561
+ "type": "uint256"
1562
+ },
1563
+ {
1564
+ "internalType": "bytes",
1565
+ "name": "bitcoinHeaders",
1566
+ "type": "bytes"
1567
+ }
1568
+ ],
1569
+ "internalType": "struct BitcoinTx.Proof",
1570
+ "name": "redemptionProof",
1571
+ "type": "tuple"
1572
+ },
1573
+ {
1574
+ "components": [
1575
+ {
1576
+ "internalType": "bytes32",
1577
+ "name": "txHash",
1578
+ "type": "bytes32"
1579
+ },
1580
+ {
1581
+ "internalType": "uint32",
1582
+ "name": "txOutputIndex",
1583
+ "type": "uint32"
1584
+ },
1585
+ {
1586
+ "internalType": "uint64",
1587
+ "name": "txOutputValue",
1588
+ "type": "uint64"
1589
+ }
1590
+ ],
1591
+ "internalType": "struct BitcoinTx.UTXO",
1592
+ "name": "mainUtxo",
1593
+ "type": "tuple"
1594
+ },
1595
+ {
1596
+ "internalType": "bytes20",
1597
+ "name": "walletPubKeyHash",
1598
+ "type": "bytes20"
1599
+ }
1600
+ ],
1601
+ "name": "submitRedemptionProof",
1602
+ "outputs": [],
1603
+ "stateMutability": "nonpayable",
1604
+ "type": "function"
1605
+ },
1606
+ {
1607
+ "inputs": [
1608
+ {
1609
+ "components": [
1610
+ {
1611
+ "internalType": "bytes4",
1612
+ "name": "version",
1613
+ "type": "bytes4"
1614
+ },
1615
+ {
1616
+ "internalType": "bytes",
1617
+ "name": "inputVector",
1618
+ "type": "bytes"
1619
+ },
1620
+ {
1621
+ "internalType": "bytes",
1622
+ "name": "outputVector",
1623
+ "type": "bytes"
1624
+ },
1625
+ {
1626
+ "internalType": "bytes4",
1627
+ "name": "locktime",
1628
+ "type": "bytes4"
1629
+ }
1630
+ ],
1631
+ "internalType": "struct BitcoinTx.Info",
1632
+ "name": "sweepTx",
1633
+ "type": "tuple"
1634
+ },
1635
+ {
1636
+ "components": [
1637
+ {
1638
+ "internalType": "bytes",
1639
+ "name": "merkleProof",
1640
+ "type": "bytes"
1641
+ },
1642
+ {
1643
+ "internalType": "uint256",
1644
+ "name": "txIndexInBlock",
1645
+ "type": "uint256"
1646
+ },
1647
+ {
1648
+ "internalType": "bytes",
1649
+ "name": "bitcoinHeaders",
1650
+ "type": "bytes"
1651
+ }
1652
+ ],
1653
+ "internalType": "struct BitcoinTx.Proof",
1654
+ "name": "sweepProof",
1655
+ "type": "tuple"
1656
+ },
1657
+ {
1658
+ "components": [
1659
+ {
1660
+ "internalType": "bytes32",
1661
+ "name": "txHash",
1662
+ "type": "bytes32"
1663
+ },
1664
+ {
1665
+ "internalType": "uint32",
1666
+ "name": "txOutputIndex",
1667
+ "type": "uint32"
1668
+ },
1669
+ {
1670
+ "internalType": "uint64",
1671
+ "name": "txOutputValue",
1672
+ "type": "uint64"
1673
+ }
1674
+ ],
1675
+ "internalType": "struct BitcoinTx.UTXO",
1676
+ "name": "mainUtxo",
1677
+ "type": "tuple"
1678
+ }
1679
+ ],
1680
+ "name": "submitSweepProof",
1681
+ "outputs": [],
1682
+ "stateMutability": "nonpayable",
1683
+ "type": "function"
1684
+ },
1685
+ {
1686
+ "inputs": [
1687
+ {
1688
+ "internalType": "uint256",
1689
+ "name": "redemptionKey",
1690
+ "type": "uint256"
1691
+ }
1692
+ ],
1693
+ "name": "timedOutRedemptions",
1694
+ "outputs": [
1695
+ {
1696
+ "components": [
1697
+ {
1698
+ "internalType": "address",
1699
+ "name": "redeemer",
1700
+ "type": "address"
1701
+ },
1702
+ {
1703
+ "internalType": "uint64",
1704
+ "name": "requestedAmount",
1705
+ "type": "uint64"
1706
+ },
1707
+ {
1708
+ "internalType": "uint64",
1709
+ "name": "treasuryFee",
1710
+ "type": "uint64"
1711
+ },
1712
+ {
1713
+ "internalType": "uint64",
1714
+ "name": "txMaxFee",
1715
+ "type": "uint64"
1716
+ },
1717
+ {
1718
+ "internalType": "uint32",
1719
+ "name": "requestedAt",
1720
+ "type": "uint32"
1721
+ }
1722
+ ],
1723
+ "internalType": "struct Redemption.RedemptionRequest",
1724
+ "name": "",
1725
+ "type": "tuple"
1726
+ }
1727
+ ],
1728
+ "stateMutability": "view",
1729
+ "type": "function"
1730
+ },
1731
+ {
1732
+ "inputs": [
1733
+ {
1734
+ "internalType": "address",
1735
+ "name": "newGovernance",
1736
+ "type": "address"
1737
+ }
1738
+ ],
1739
+ "name": "transferGovernance",
1740
+ "outputs": [],
1741
+ "stateMutability": "nonpayable",
1742
+ "type": "function"
1743
+ },
1744
+ {
1745
+ "inputs": [],
1746
+ "name": "treasury",
1747
+ "outputs": [
1748
+ {
1749
+ "internalType": "address",
1750
+ "name": "",
1751
+ "type": "address"
1752
+ }
1753
+ ],
1754
+ "stateMutability": "view",
1755
+ "type": "function"
1756
+ },
1757
+ {
1758
+ "inputs": [],
1759
+ "name": "txProofDifficultyFactor",
1760
+ "outputs": [
1761
+ {
1762
+ "internalType": "uint256",
1763
+ "name": "",
1764
+ "type": "uint256"
1765
+ }
1766
+ ],
1767
+ "stateMutability": "view",
1768
+ "type": "function"
1769
+ },
1770
+ {
1771
+ "inputs": [
1772
+ {
1773
+ "internalType": "uint64",
1774
+ "name": "depositDustThreshold",
1775
+ "type": "uint64"
1776
+ },
1777
+ {
1778
+ "internalType": "uint64",
1779
+ "name": "depositTreasuryFeeDivisor",
1780
+ "type": "uint64"
1781
+ },
1782
+ {
1783
+ "internalType": "uint64",
1784
+ "name": "depositTxMaxFee",
1785
+ "type": "uint64"
1786
+ }
1787
+ ],
1788
+ "name": "updateDepositParameters",
1789
+ "outputs": [],
1790
+ "stateMutability": "nonpayable",
1791
+ "type": "function"
1792
+ },
1793
+ {
1794
+ "inputs": [
1795
+ {
1796
+ "internalType": "uint256",
1797
+ "name": "fraudSlashingAmount",
1798
+ "type": "uint256"
1799
+ },
1800
+ {
1801
+ "internalType": "uint256",
1802
+ "name": "fraudNotifierRewardMultiplier",
1803
+ "type": "uint256"
1804
+ },
1805
+ {
1806
+ "internalType": "uint256",
1807
+ "name": "fraudChallengeDefeatTimeout",
1808
+ "type": "uint256"
1809
+ },
1810
+ {
1811
+ "internalType": "uint256",
1812
+ "name": "fraudChallengeDepositAmount",
1813
+ "type": "uint256"
1814
+ }
1815
+ ],
1816
+ "name": "updateFraudParameters",
1817
+ "outputs": [],
1818
+ "stateMutability": "nonpayable",
1819
+ "type": "function"
1820
+ },
1821
+ {
1822
+ "inputs": [
1823
+ {
1824
+ "internalType": "uint64",
1825
+ "name": "movingFundsTxMaxTotalFee",
1826
+ "type": "uint64"
1827
+ },
1828
+ {
1829
+ "internalType": "uint32",
1830
+ "name": "movingFundsTimeout",
1831
+ "type": "uint32"
1832
+ },
1833
+ {
1834
+ "internalType": "uint64",
1835
+ "name": "movingFundsDustThreshold",
1836
+ "type": "uint64"
1837
+ }
1838
+ ],
1839
+ "name": "updateMovingFundsParameters",
1840
+ "outputs": [],
1841
+ "stateMutability": "nonpayable",
1842
+ "type": "function"
1843
+ },
1844
+ {
1845
+ "inputs": [
1846
+ {
1847
+ "internalType": "uint64",
1848
+ "name": "redemptionDustThreshold",
1849
+ "type": "uint64"
1850
+ },
1851
+ {
1852
+ "internalType": "uint64",
1853
+ "name": "redemptionTreasuryFeeDivisor",
1854
+ "type": "uint64"
1855
+ },
1856
+ {
1857
+ "internalType": "uint64",
1858
+ "name": "redemptionTxMaxFee",
1859
+ "type": "uint64"
1860
+ },
1861
+ {
1862
+ "internalType": "uint256",
1863
+ "name": "redemptionTimeout",
1864
+ "type": "uint256"
1865
+ }
1866
+ ],
1867
+ "name": "updateRedemptionParameters",
1868
+ "outputs": [],
1869
+ "stateMutability": "nonpayable",
1870
+ "type": "function"
1871
+ },
1872
+ {
1873
+ "inputs": [
1874
+ {
1875
+ "internalType": "uint32",
1876
+ "name": "walletCreationPeriod",
1877
+ "type": "uint32"
1878
+ },
1879
+ {
1880
+ "internalType": "uint64",
1881
+ "name": "walletMinBtcBalance",
1882
+ "type": "uint64"
1883
+ },
1884
+ {
1885
+ "internalType": "uint64",
1886
+ "name": "walletMaxBtcBalance",
1887
+ "type": "uint64"
1888
+ },
1889
+ {
1890
+ "internalType": "uint32",
1891
+ "name": "walletMaxAge",
1892
+ "type": "uint32"
1893
+ },
1894
+ {
1895
+ "internalType": "uint64",
1896
+ "name": "walletMaxBtcTransfer",
1897
+ "type": "uint64"
1898
+ },
1899
+ {
1900
+ "internalType": "uint32",
1901
+ "name": "walletClosingPeriod",
1902
+ "type": "uint32"
1903
+ }
1904
+ ],
1905
+ "name": "updateWalletParameters",
1906
+ "outputs": [],
1907
+ "stateMutability": "nonpayable",
1908
+ "type": "function"
1909
+ },
1910
+ {
1911
+ "inputs": [],
1912
+ "name": "walletParameters",
1913
+ "outputs": [
1914
+ {
1915
+ "internalType": "uint32",
1916
+ "name": "walletCreationPeriod",
1917
+ "type": "uint32"
1918
+ },
1919
+ {
1920
+ "internalType": "uint64",
1921
+ "name": "walletMinBtcBalance",
1922
+ "type": "uint64"
1923
+ },
1924
+ {
1925
+ "internalType": "uint64",
1926
+ "name": "walletMaxBtcBalance",
1927
+ "type": "uint64"
1928
+ },
1929
+ {
1930
+ "internalType": "uint32",
1931
+ "name": "walletMaxAge",
1932
+ "type": "uint32"
1933
+ },
1934
+ {
1935
+ "internalType": "uint64",
1936
+ "name": "walletMaxBtcTransfer",
1937
+ "type": "uint64"
1938
+ },
1939
+ {
1940
+ "internalType": "uint32",
1941
+ "name": "walletClosingPeriod",
1942
+ "type": "uint32"
1943
+ }
1944
+ ],
1945
+ "stateMutability": "view",
1946
+ "type": "function"
1947
+ },
1948
+ {
1949
+ "inputs": [
1950
+ {
1951
+ "internalType": "bytes20",
1952
+ "name": "walletPubKeyHash",
1953
+ "type": "bytes20"
1954
+ }
1955
+ ],
1956
+ "name": "wallets",
1957
+ "outputs": [
1958
+ {
1959
+ "components": [
1960
+ {
1961
+ "internalType": "bytes32",
1962
+ "name": "ecdsaWalletID",
1963
+ "type": "bytes32"
1964
+ },
1965
+ {
1966
+ "internalType": "bytes32",
1967
+ "name": "mainUtxoHash",
1968
+ "type": "bytes32"
1969
+ },
1970
+ {
1971
+ "internalType": "uint64",
1972
+ "name": "pendingRedemptionsValue",
1973
+ "type": "uint64"
1974
+ },
1975
+ {
1976
+ "internalType": "uint32",
1977
+ "name": "createdAt",
1978
+ "type": "uint32"
1979
+ },
1980
+ {
1981
+ "internalType": "uint32",
1982
+ "name": "movingFundsRequestedAt",
1983
+ "type": "uint32"
1984
+ },
1985
+ {
1986
+ "internalType": "uint32",
1987
+ "name": "closingStartedAt",
1988
+ "type": "uint32"
1989
+ },
1990
+ {
1991
+ "internalType": "enum Wallets.WalletState",
1992
+ "name": "state",
1993
+ "type": "uint8"
1994
+ },
1995
+ {
1996
+ "internalType": "bytes32",
1997
+ "name": "movingFundsTargetWalletsCommitmentHash",
1998
+ "type": "bytes32"
1999
+ }
2000
+ ],
2001
+ "internalType": "struct Wallets.Wallet",
2002
+ "name": "",
2003
+ "type": "tuple"
2004
+ }
2005
+ ],
2006
+ "stateMutability": "view",
2007
+ "type": "function"
2008
+ }
2009
+ ],
2010
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162003a1a38038062003a1a833981016040819052620000349162000383565b6001600160a01b038516620000905760405162461bcd60e51b815260206004820152601b60248201527f42616e6b20616464726573732063616e6e6f74206265207a65726f000000000060448201526064015b60405180910390fd5b600180546001600160a01b0319166001600160a01b03878116919091179091558416620001005760405162461bcd60e51b815260206004820152601c60248201527f52656c617920616464726573732063616e6e6f74206265207a65726f00000000604482015260640162000087565b600280546001600160a01b0319166001600160a01b03868116919091179091558216620001855760405162461bcd60e51b815260206004820152602c60248201527f45434453412057616c6c6574205265676973747279206164647265737320636160448201526b6e6e6f74206265207a65726f60a01b606482015260840162000087565b600380546001600160a01b0319166001600160a01b03848116919091179091558316620001f55760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265207a65726f00604482015260640162000087565b6005805460048390556001600160a01b0385166001600160e01b031991821617613d0960a61b17909155600680546001600160801b031990811669271000000000000007d090811790925560098054600a80549093169093179091556202a300600b559116760f42400000000000004e2000093a80000000000000271017905569021e19e0c9bab2400000600e556064600f5562093a80601055671bc16d674ec80000601155601480546001600160c01b03191676eff100000000003b9aca000000000005f5e10000093a80179055601580546001600160c01b0316621dcd6560c91b179055601680546234bc0063ffffffff19909116179055620002fa3362000305565b5050505050620003ea565b600080546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80910160405180910390a15050565b80516001600160a01b03811681146200037e57600080fd5b919050565b600080600080600060a086880312156200039c57600080fd5b620003a78662000366565b9450620003b76020870162000366565b9350620003c76040870162000366565b9250620003d76060870162000366565b9150608086015190509295509295909350565b61362080620003fa6000396000f3fe6080604052600436106102d15760003560e01c806377145f2111610179578063bbeac4bf116100d6578063d38bfff41161008a578063ded1d24a11610064578063ded1d24a14610cfb578063e53c0b5514610d2c578063e65e19d514610d6557600080fd5b8063d38bfff414610c9b578063d6eccdf014610cbb578063d95027b714610cdb57600080fd5b8063c42b64d0116100bb578063c42b64d014610c0f578063c8b5d2db14610c5b578063cdeade1814610c7b57600080fd5b8063bbeac4bf14610ba4578063be05abe314610bc457600080fd5b8063a9de2f3a1161012d578063b02c43d011610112578063b02c43d0146109e6578063b2146cd614610b44578063b34b321614610b8457600080fd5b8063a9de2f3a14610986578063abaeed8f146109c657600080fd5b806396db25371161015e57806396db253714610926578063a145e2d514610946578063a8fa0f421461096657600080fd5b806377145f21146108e65780638c3992dd1461090657600080fd5b8063575e42791161023257806361ccf97a116101e65780636d02b43c116101c05780636d02b43c146108255780636e70ce411461083857806375b922d1146108ad57600080fd5b806361ccf97a1461074757806361d027b3146107e757806367f272471461080557600080fd5b80635aa6e675116102175780635aa6e675146106cf5780635c0b48121461070757806360d712fc1461072757600080fd5b8063575e42791461068f57806359a9d90a146106af57600080fd5b80632bb818c211610289578063319a33a91161026e578063319a33a91461057057806333e957cb146105905780633dce98121461066f57600080fd5b80632bb818c2146105325780632f429b641461055057600080fd5b80630b6ba19d116102ba5780630b6ba19d1461042257806317c96400146104e057806324028c111461050057600080fd5b806303d952f7146102d657806307f7d22314610400575b600080fd5b3480156102e257600080fd5b506103946102f13660046127c4565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600c6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b6040516103f79190600060a0820190506001600160a01b038351168252602083015167ffffffffffffffff8082166020850152806040860151166040850152806060860151166060850152505063ffffffff608084015116608083015292915050565b60405180910390f35b34801561040c57600080fd5b5061042061041b366004612817565b610d92565b005b34801561042e57600080fd5b5061039461043d3660046127c4565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600d6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b3480156104ec57600080fd5b506104206104fb366004612863565b610e1b565b34801561050c57600080fd5b50601554600160a01b900463ffffffff1660405163ffffffff90911681526020016103f7565b34801561053e57600080fd5b506004546040519081526020016103f7565b34801561055c57600080fd5b5061042061056b3660046128b8565b610e8c565b34801561057c57600080fd5b5061042061058b36600461293e565b610f19565b34801561059c57600080fd5b5061062b6105ab3660046127c4565b60408051608081018252600080825260208201819052918101829052606081019190915250600090815260126020908152604091829020825160808101845281546001600160a01b031681526001820154928101929092526002015463ffffffff81169282019290925264010000000090910460ff161515606082015290565b6040516103f7919081516001600160a01b031681526020808301519082015260408083015163ffffffff169082015260609182015115159181019190915260800190565b34801561067b57600080fd5b5061042061068a366004612960565b610fae565b34801561069b57600080fd5b506104206106aa366004612817565b61103e565b3480156106bb57600080fd5b506104206106ca36600461298c565b611093565b3480156106db57600080fd5b506000546106ef906001600160a01b031681565b6040516001600160a01b0390911681526020016103f7565b34801561071357600080fd5b506104206107223660046129f8565b6110ea565b34801561073357600080fd5b50610420610742366004612a7a565b61113f565b34801561075357600080fd5b506107a260145460155460165463ffffffff8084169467ffffffffffffffff6401000000008604811695600160601b8104821695600160a01b909104841694600160c01b909104909116921690565b6040805163ffffffff978816815267ffffffffffffffff96871660208201529486169085015291851660608401529092166080820152911660a082015260c0016103f7565b3480156107f357600080fd5b506005546001600160a01b03166106ef565b34801561081157600080fd5b50610420610820366004612aed565b6111f8565b610420610833366004612b40565b61124f565b34801561084457600080fd5b50610877600954600a54600b5467ffffffffffffffff600160a01b90930483169382841693600160401b90930490921691565b6040516103f7949392919067ffffffffffffffff9485168152928416602084015292166040820152606081019190915260800190565b3480156108b957600080fd5b50600e54600f546010546011546040805194855260208501939093529183015260608201526080016103f7565b3480156108f257600080fd5b50610420610901366004612b93565b6112a8565b34801561091257600080fd5b50610420610921366004612c28565b61133a565b34801561093257600080fd5b50610420610941366004612c54565b6113a1565b34801561095257600080fd5b50610420610961366004612c9f565b61140f565b34801561097257600080fd5b50610420610981366004612960565b611462565b34801561099257600080fd5b50600154600254600354604080516001600160a01b03948516815292841660208401529216918101919091526060016103f7565b3480156109d257600080fd5b506104206109e1366004612d00565b6114c8565b3480156109f257600080fd5b50610ace610a013660046127c4565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915250600090815260076020908152604091829020825160c08101845281546001600160a01b03808216835267ffffffffffffffff600160a01b80840482169685019690965263ffffffff7c0100000000000000000000000000000000000000000000000000000000938490048116978501979097526001949094015490811660608401529384049092166080820152910490911660a082015290565b6040516103f79190600060c0820190506001600160a01b03808451168352602084015167ffffffffffffffff80821660208601526040860151915063ffffffff80831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b348015610b5057600080fd5b50610b74610b5f3660046127c4565b60009081526013602052604090205460ff1690565b60405190151581526020016103f7565b348015610b9057600080fd5b50610420610b9f3660046128b8565b611560565b348015610bb057600080fd5b50610420610bbf366004612d9c565b6115b9565b348015610bd057600080fd5b506009546040805167ffffffffffffffff808416825263ffffffff600160401b8504166020830152600160601b909304909216908201526060016103f7565b348015610c1b57600080fd5b5060055460065460408051600160a01b90930467ffffffffffffffff90811684528083166020850152600160401b909204909116908201526060016103f7565b348015610c6757600080fd5b50610420610c7636600461293e565b611621565b348015610c8757600080fd5b50610420610c96366004612dce565b61162f565b348015610ca757600080fd5b50610420610cb6366004612e42565b611699565b348015610cc757600080fd5b50610420610cd6366004612e5d565b611778565b348015610ce757600080fd5b50610420610cf6366004612ec8565b6117d3565b348015610d0757600080fd5b5060155460601b6040516bffffffffffffffffffffffff1990911681526020016103f7565b348015610d3857600080fd5b50610b74610d47366004612e42565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610d7157600080fd5b50610d85610d8036600461293e565b61182a565b6040516103f79190612f2a565b6040517f260b6cde00000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063260b6cde90610de79060019086908690600401612ff5565b60006040518083038186803b158015610dff57600080fd5b505af4158015610e13573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610e7a5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e63650000000060448201526064015b60405180910390fd5b610e876001848484611934565b505050565b6040517e92bac900000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__906292bac990610ee39060019088908890889088906004016131b1565b60006040518083038186803b158015610efb57600080fd5b505af4158015610f0f573d6000803e3d6000fd5b5050505050505050565b6040517fb45b31d5000000000000000000000000000000000000000000000000000000008152600160048201526bffffffffffffffffffffffff198216602482015273__$edce581bb06331cf4dae1387760565e5d1$__9063b45b31d5906044015b60006040518083038186803b158015610f9357600080fd5b505af4158015610fa7573d6000803e3d6000fd5b5050505050565b6040517fc87de7f400000000000000000000000000000000000000000000000000000000815260016004820152602481018390526044810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063c87de7f4906064015b60006040518083038186803b15801561102157600080fd5b505af4158015611035573d6000803e3d6000fd5b50505050505050565b6040517f99b0b84700000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__906399b0b84790610de79060019086908690600401612ff5565b6040517f510fc50a00000000000000000000000000000000000000000000000000000000815273__$61f169726e973bba1227e0c23d2755f88e$__9063510fc50a906110099060019087908790879060040161320b565b6040517faea7fd0b00000000000000000000000000000000000000000000000000000000815273__$894ce12e79ca3e5683c1b49e363f37fa22$__9063aea7fd0b90610de7906001908690869060040161324f565b6000546001600160a01b031633146111995760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9065599c12c4294d9e2201638226d0d0beb95c228f468c4e7c2bdb8322b6066f910160405180910390a25050565b6040517f13d0c66800000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__906313d0c668906110099060019087908790879060040161338c565b6040517f3b5d9f2400000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__90633b5d9f2490610ee39060019088908890889088906004016133bb565b6040517f624526fe00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__9063624526fe906113039060019089908990899089908990600401613415565b60006040518083038186803b15801561131b57600080fd5b505af415801561132f573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146113945760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b610e876001848484611b6c565b6000546001600160a01b031633146113fb5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b611409600185858585611d92565b50505050565b6040517fd079fbb100000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063d079fbb190610f7b906001908590600401613458565b6040517f4afbe4c90000000000000000000000000000000000000000000000000000000081526001600482015260248101849052604481018390526064810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__90634afbe4c990608401611009565b6040517fc8f7794300000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063c8f7794390611527906001908b908b908b908b908b908b908b9060040161346c565b60006040518083038186803b15801561153f57600080fd5b505af4158015611553573d6000803e3d6000fd5b5050505050505050505050565b6040517fa164de6e00000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__9063a164de6e90610ee39060019088908890889088906004016131b1565b6000546001600160a01b031633146116135760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b61140960018585858561204f565b61162c60018261219d565b50565b6000546001600160a01b031633146116895760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b610e1360018787878787876122fa565b6000546001600160a01b031633146116f35760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b6001600160a01b03811661176f5760405162461bcd60e51b815260206004820152602260248201527f4e657720676f7665726e616e636520697320746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610e71565b61162c81612642565b6040517f7333b36900000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__90637333b369906113039060019089908990899089908990600401613530565b6040517f72c9c91c00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__906372c9c91c9061100990600190879087908790600401613589565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526bffffffffffffffffffffffff19821660009081526017602090815260409182902082516101008101845281548152600182015492810192909252600281015467ffffffffffffffff81169383019390935263ffffffff600160401b840481166060840152600160601b840481166080840152600160801b84041660a0830152909160c083019060ff600160a01b90910416600581111561190e5761190e612f14565b600581111561191f5761191f612f14565b81526020016003820154815250509050919050565b60008367ffffffffffffffff16116119b45760405162461bcd60e51b815260206004820152603060248201527f4465706f7369742064757374207468726573686f6c64206d757374206265206760448201527f726561746572207468616e207a65726f000000000000000000000000000000006064820152608401610e71565b60008267ffffffffffffffff1611611a345760405162461bcd60e51b815260206004820152603660248201527f4465706f736974207472656173757279206665652064697669736f72206d757360448201527f742062652067726561746572207468616e207a65726f000000000000000000006064820152608401610e71565b60008167ffffffffffffffff1611611ab45760405162461bcd60e51b815260206004820152603560248201527f4465706f736974207472616e73616374696f6e206d617820666565206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e71565b6004840180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff868116918202929092179092556005860180548583166fffffffffffffffffffffffffffffffff199091168117600160401b938616938402179091556040805193845260208401919091528201527f1ced468902ca566e746a3c8c9516af81f8de9f1021c365083be9f2625ebfb7b5906060015b60405180910390a150505050565b60008367ffffffffffffffff1611611bee576040805162461bcd60e51b81526020600482015260248101919091527f4d6f76696e672066756e6473207472616e73616374696f6e206d617820746f7460448201527f616c20666565206d7573742062652067726561746572207468616e207a65726f6064820152608401610e71565b60008263ffffffff1611611c6a5760405162461bcd60e51b815260206004820152602e60248201527f4d6f76696e672066756e64732074696d656f7574206d7573742062652067726560448201527f61746572207468616e207a65726f0000000000000000000000000000000000006064820152608401610e71565b60008167ffffffffffffffff1611611cea5760405162461bcd60e51b815260206004820152603560248201527f4d6f76696e672066756e64732064757374207468726573686f6c64206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e71565b60088401805467ffffffffffffffff838116600160601b81027fffffffffffffffffffffffff0000000000000000ffffffffffffffffffffffff63ffffffff8816600160401b81026bffffffffffffffffffffffff19909616948a16948517959095171617909355604080519182526020820192909252908101919091527f3bc8e35585937de0df227d080c3587c7aadd7630aa377299d63a5bb67fc07d8a90606001611b5e565b60008467ffffffffffffffff1611611e125760405162461bcd60e51b815260206004820152603360248201527f526564656d7074696f6e2064757374207468726573686f6c64206d757374206260448201527f652067726561746572207468616e207a65726f000000000000000000000000006064820152608401610e71565b60008367ffffffffffffffff1611611e925760405162461bcd60e51b815260206004820152603960248201527f526564656d7074696f6e207472656173757279206665652064697669736f722060448201527f6d7573742062652067726561746572207468616e207a65726f000000000000006064820152608401610e71565b60008267ffffffffffffffff1611611f125760405162461bcd60e51b815260206004820152603860248201527f526564656d7074696f6e207472616e73616374696f6e206d617820666565206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e71565b60008111611f885760405162461bcd60e51b815260206004820152602c60248201527f526564656d7074696f6e2074696d656f7574206d75737420626520677265617460448201527f6572207468616e207a65726f00000000000000000000000000000000000000006064820152608401610e71565b6008850180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff878116918202929092179092556009870180548683166fffffffffffffffffffffffffffffffff199091168117600160401b93871693840217909155600a8801849055604080519384526020840191909152820152606081018290527f92c7dd8c8e389aa6dd2d4ed3d2f1848abbaef487207c28f4c5c4990c5116ff1f906080015b60405180910390a15050505050565b60648311156120c65760405162461bcd60e51b815260206004820152603e60248201527f4672617564206e6f74696669657220726577617264206d756c7469706c69657260448201527f206d75737420626520696e207468652072616e6765205b302c203130305d00006064820152608401610e71565b6000821161213c5760405162461bcd60e51b815260206004820152603860248201527f4672617564206368616c6c656e6765206465666561742074696d656f7574206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e71565b600d8501849055600e8501839055600f8501829055601085018190556040805185815260208101859052908101839052606081018290527f3d5b171ef2601a0b7e9eb653999f8e932fb569e8f84526e1eea05c053063a1d690608001612040565b6bffffffffffffffffffffffff1981166000908152601683016020526040902060036002820154600160a01b900460ff1660058111156121df576121df612f14565b146122525760405162461bcd60e51b815260206004820152602560248201527f45434453412077616c6c6574206d75737420626520696e20436c6f73696e672060448201527f73746174650000000000000000000000000000000000000000000000000000006064820152608401610e71565b601583015460028201546122769163ffffffff90811691600160801b9004166135b4565b63ffffffff1642116122f05760405162461bcd60e51b815260206004820152602260248201527f436c6f73696e6720706572696f6420686173206e6f7420656c6170736564207960448201527f65740000000000000000000000000000000000000000000000000000000000006064820152608401610e71565b610e8783836126bb565b60008567ffffffffffffffff161161237a5760405162461bcd60e51b815260206004820152603460248201527f57616c6c6574206d696e696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e207a65726f0000000000000000000000006064820152608401610e71565b8467ffffffffffffffff168467ffffffffffffffff16116124035760405162461bcd60e51b815260206004820152603b60248201527f57616c6c6574206d6178696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e20746865206d696e696d756d00000000006064820152608401610e71565b60008267ffffffffffffffff16116124835760405162461bcd60e51b815260206004820152603560248201527f57616c6c6574206d6178696d756d20425443207472616e73666572206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e71565b60008163ffffffff16116124ff5760405162461bcd60e51b815260206004820152602f60248201527f57616c6c657420636c6f73696e6720706572696f64206d75737420626520677260448201527f6561746572207468616e207a65726f00000000000000000000000000000000006064820152608401610e71565b60138701805463ffffffff8881166bffffffffffffffffffffffff19909216821764010000000067ffffffffffffffff8a8116918202929092177fffffffffffffffff000000000000000000000000ffffffffffffffffffffffff16600160601b8a84169081027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff1691909117600160a01b8a86169081029190911790965560148d01805477ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b948a1694850217905560158d01805463ffffffff19169488169485179055604080519586526020860192909252908401526060830193909352608082019290925260a08101919091527f1057480b8647a24ff5b4e5b9cab9039e959d4207393663f3139050458c5f24ca9060c00160405180910390a150505050505050565b600080546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80910160405180910390a15050565b6bffffffffffffffffffffffff19811660008181526016840160205260408082206002810180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674040000000000000000000000000000000000000000179055805491519093927f47b159947c3066cb253f60e8f046cfd747411788a545cb189679e3fa1467b28d91a3600283015481546040517f343bb9270000000000000000000000000000000000000000000000000000000081526001600160a01b039092169163343bb927916127969160040190815260200190565b600060405180830381600087803b1580156127b057600080fd5b505af1158015611035573d6000803e3d6000fd5b6000602082840312156127d657600080fd5b5035919050565b80356bffffffffffffffffffffffff19811681146127fa57600080fd5b919050565b60006060828403121561281157600080fd5b50919050565b6000806080838503121561282a57600080fd5b612833836127dd565b915061284284602085016127ff565b90509250929050565b803567ffffffffffffffff811681146127fa57600080fd5b60008060006060848603121561287857600080fd5b6128818461284b565b925061288f6020850161284b565b915061289d6040850161284b565b90509250925092565b60006080828403121561281157600080fd5b60008060008060c085870312156128ce57600080fd5b843567ffffffffffffffff808211156128e657600080fd5b6128f2888389016128a6565b9550602087013591508082111561290857600080fd5b50612915878288016127ff565b93505061292586604087016127ff565b915061293360a086016127dd565b905092959194509250565b60006020828403121561295057600080fd5b612959826127dd565b9392505050565b60008060006060848603121561297557600080fd5b505081359360208301359350604090920135919050565b600080600060a084860312156129a157600080fd5b833567ffffffffffffffff808211156129b957600080fd5b6129c5878388016128a6565b945060208601359150808211156129db57600080fd5b506129e8868287016127ff565b92505061289d85604086016127ff565b600080828403610100811215612a0d57600080fd5b833567ffffffffffffffff811115612a2457600080fd5b612a30868287016128a6565b93505060e0601f1982011215612a4557600080fd5b506020830190509250929050565b80356001600160a01b03811681146127fa57600080fd5b803580151581146127fa57600080fd5b60008060408385031215612a8d57600080fd5b612a9683612a53565b915061284260208401612a6a565b60008083601f840112612ab657600080fd5b50813567ffffffffffffffff811115612ace57600080fd5b602083019150836020828501011115612ae657600080fd5b9250929050565b600080600060408486031215612b0257600080fd5b612b0b846127dd565b9250602084013567ffffffffffffffff811115612b2757600080fd5b612b3386828701612aa4565b9497909650939450505050565b60008060008060a08587031215612b5657600080fd5b843567ffffffffffffffff811115612b6d57600080fd5b612b7987828801612aa4565b9095509350506020850135915061293386604087016127ff565b600080600080600060608688031215612bab57600080fd5b853567ffffffffffffffff80821115612bc357600080fd5b612bcf89838a01612aa4565b90975095506020880135915080821115612be857600080fd5b50612bf588828901612aa4565b9094509250612c08905060408701612a6a565b90509295509295909350565b803563ffffffff811681146127fa57600080fd5b600080600060608486031215612c3d57600080fd5b612c468461284b565b925061288f60208501612c14565b60008060008060808587031215612c6a57600080fd5b612c738561284b565b9350612c816020860161284b565b9250612c8f6040860161284b565b9396929550929360600135925050565b600060608284031215612cb157600080fd5b61295983836127ff565b60008083601f840112612ccd57600080fd5b50813567ffffffffffffffff811115612ce557600080fd5b6020830191508360208260051b8501011115612ae657600080fd5b600080600080600080600060e0888a031215612d1b57600080fd5b612d24886127dd565b9650612d338960208a016127ff565b9550608088013567ffffffffffffffff80821115612d5057600080fd5b612d5c8b838c01612cbb565b909750955060a08a0135945060c08a0135915080821115612d7c57600080fd5b50612d898a828b01612cbb565b989b979a50959850939692959293505050565b60008060008060808587031215612db257600080fd5b5050823594602084013594506040840135936060013592509050565b60008060008060008060c08789031215612de757600080fd5b612df087612c14565b9550612dfe6020880161284b565b9450612e0c6040880161284b565b9350612e1a60608801612c14565b9250612e286080880161284b565b9150612e3660a08801612c14565b90509295509295509295565b600060208284031215612e5457600080fd5b61295982612a53565b600080600080600060c08688031215612e7557600080fd5b612e7e866127dd565b9450612e8d87602088016127ff565b9350608086013567ffffffffffffffff811115612ea957600080fd5b612eb588828901612aa4565b9094509250612c08905060a0870161284b565b600080600060408486031215612edd57600080fd5b833567ffffffffffffffff811115612ef457600080fd5b612f0086828701612aa4565b909790965060209590950135949350505050565b634e487b7160e01b600052602160045260246000fd5b600061010082019050825182526020830151602083015267ffffffffffffffff6040840151166040830152606083015163ffffffff80821660608501528060808601511660808501528060a08601511660a0850152505060c083015160068110612fa457634e487b7160e01b600052602160045260246000fd5b8060c08401525060e083015160e083015292915050565b8035825263ffffffff612fd060208301612c14565b16602083015267ffffffffffffffff612feb6040830161284b565b1660408301525050565b8381526bffffffffffffffffffffffff198316602082015260a0810161301e6040830184612fbb565b949350505050565b80357fffffffff00000000000000000000000000000000000000000000000000000000811681146127fa57600080fd5b6000808335601e1984360301811261306d57600080fd5b830160208101925035905067ffffffffffffffff81111561308d57600080fd5b803603831315612ae657600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60007fffffffff00000000000000000000000000000000000000000000000000000000806130f284613026565b1684526131026020840184613056565b6080602087015261311760808701828461309c565b9150506131276040850185613056565b868303604088015261313a83828461309c565b925050508161314b60608601613026565b166060860152809250505092915050565b60006131688283613056565b6060855261317a60608601828461309c565b915050602083013560208501526131946040840184613056565b85830360408701526131a783828461309c565b9695505050505050565b85815260e0602082015260006131ca60e08301876130c5565b82810360408401526131dc818761315c565b9150506131ec6060830185612fbb565b6bffffffffffffffffffffffff19831660c08301529695505050505050565b84815260c06020820152600061322460c08301866130c5565b8281036040840152613236818661315c565b9150506132466060830184612fbb565b95945050505050565b6000610120858352806020840152613269818401866130c5565b91505063ffffffff61327a84612c14565b1660408301526001600160a01b0361329460208501612a53565b16606083015260408301357fffffffffffffffff000000000000000000000000000000000000000000000000811681146132cd57600080fd5b7fffffffffffffffff000000000000000000000000000000000000000000000000166080830152613300606084016127dd565b6bffffffffffffffffffffffff191660a0830152613320608084016127dd565b6bffffffffffffffffffffffff191660c083015261334060a08401613026565b7fffffffff000000000000000000000000000000000000000000000000000000001660e083015261337360c08401612a53565b6001600160a01b03811661010084015250949350505050565b8481526bffffffffffffffffffffffff19841660208201526060604082015260006131a760608301848661309c565b85815260c0602082015260006133d560c08301868861309c565b90508360408301528235606083015260208301356080830152604083013560ff811680821461340357600080fd5b8060a085015250509695505050505050565b86815260806020820152600061342f60808301878961309c565b828103604084015261344281868861309c565b9150508215156060830152979650505050505050565b828152608081016129596020830184612fbb565b60006101008083018b845260206bffffffffffffffffffffffff19808d168287015261349b604087018d612fbb565b60a08601939093529088905261012084019189919060005b8a8110156134dc5763ffffffff6134c985612c14565b16855293820193928201926001016134b3565b5060c0860189905285840360e087015286845287938201925060005b8781101561351d578161350a866127dd565b16845293820193928201926001016134f8565b50919d9c50505050505050505050505050565b8681526bffffffffffffffffffffffff19861660208201526135556040820186612fbb565b60e060a0820152600061356c60e08301858761309c565b905067ffffffffffffffff831660c0830152979650505050505050565b8481526060602082015260006135a360608301858761309c565b905082604083015295945050505050565b600063ffffffff8083168185168083038211156135e157634e487b7160e01b600052601160045260246000fd5b0194935050505056fea2646970667358221220420024f6a4ed3c10fa5a8e765bfaac4177ec2ab875a0ee3fbc23650f15bca4b764736f6c63430008090033",
2011
+ "deployedBytecode": "0x6080604052600436106102d15760003560e01c806377145f2111610179578063bbeac4bf116100d6578063d38bfff41161008a578063ded1d24a11610064578063ded1d24a14610cfb578063e53c0b5514610d2c578063e65e19d514610d6557600080fd5b8063d38bfff414610c9b578063d6eccdf014610cbb578063d95027b714610cdb57600080fd5b8063c42b64d0116100bb578063c42b64d014610c0f578063c8b5d2db14610c5b578063cdeade1814610c7b57600080fd5b8063bbeac4bf14610ba4578063be05abe314610bc457600080fd5b8063a9de2f3a1161012d578063b02c43d011610112578063b02c43d0146109e6578063b2146cd614610b44578063b34b321614610b8457600080fd5b8063a9de2f3a14610986578063abaeed8f146109c657600080fd5b806396db25371161015e57806396db253714610926578063a145e2d514610946578063a8fa0f421461096657600080fd5b806377145f21146108e65780638c3992dd1461090657600080fd5b8063575e42791161023257806361ccf97a116101e65780636d02b43c116101c05780636d02b43c146108255780636e70ce411461083857806375b922d1146108ad57600080fd5b806361ccf97a1461074757806361d027b3146107e757806367f272471461080557600080fd5b80635aa6e675116102175780635aa6e675146106cf5780635c0b48121461070757806360d712fc1461072757600080fd5b8063575e42791461068f57806359a9d90a146106af57600080fd5b80632bb818c211610289578063319a33a91161026e578063319a33a91461057057806333e957cb146105905780633dce98121461066f57600080fd5b80632bb818c2146105325780632f429b641461055057600080fd5b80630b6ba19d116102ba5780630b6ba19d1461042257806317c96400146104e057806324028c111461050057600080fd5b806303d952f7146102d657806307f7d22314610400575b600080fd5b3480156102e257600080fd5b506103946102f13660046127c4565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600c6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b6040516103f79190600060a0820190506001600160a01b038351168252602083015167ffffffffffffffff8082166020850152806040860151166040850152806060860151166060850152505063ffffffff608084015116608083015292915050565b60405180910390f35b34801561040c57600080fd5b5061042061041b366004612817565b610d92565b005b34801561042e57600080fd5b5061039461043d3660046127c4565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600d6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b3480156104ec57600080fd5b506104206104fb366004612863565b610e1b565b34801561050c57600080fd5b50601554600160a01b900463ffffffff1660405163ffffffff90911681526020016103f7565b34801561053e57600080fd5b506004546040519081526020016103f7565b34801561055c57600080fd5b5061042061056b3660046128b8565b610e8c565b34801561057c57600080fd5b5061042061058b36600461293e565b610f19565b34801561059c57600080fd5b5061062b6105ab3660046127c4565b60408051608081018252600080825260208201819052918101829052606081019190915250600090815260126020908152604091829020825160808101845281546001600160a01b031681526001820154928101929092526002015463ffffffff81169282019290925264010000000090910460ff161515606082015290565b6040516103f7919081516001600160a01b031681526020808301519082015260408083015163ffffffff169082015260609182015115159181019190915260800190565b34801561067b57600080fd5b5061042061068a366004612960565b610fae565b34801561069b57600080fd5b506104206106aa366004612817565b61103e565b3480156106bb57600080fd5b506104206106ca36600461298c565b611093565b3480156106db57600080fd5b506000546106ef906001600160a01b031681565b6040516001600160a01b0390911681526020016103f7565b34801561071357600080fd5b506104206107223660046129f8565b6110ea565b34801561073357600080fd5b50610420610742366004612a7a565b61113f565b34801561075357600080fd5b506107a260145460155460165463ffffffff8084169467ffffffffffffffff6401000000008604811695600160601b8104821695600160a01b909104841694600160c01b909104909116921690565b6040805163ffffffff978816815267ffffffffffffffff96871660208201529486169085015291851660608401529092166080820152911660a082015260c0016103f7565b3480156107f357600080fd5b506005546001600160a01b03166106ef565b34801561081157600080fd5b50610420610820366004612aed565b6111f8565b610420610833366004612b40565b61124f565b34801561084457600080fd5b50610877600954600a54600b5467ffffffffffffffff600160a01b90930483169382841693600160401b90930490921691565b6040516103f7949392919067ffffffffffffffff9485168152928416602084015292166040820152606081019190915260800190565b3480156108b957600080fd5b50600e54600f546010546011546040805194855260208501939093529183015260608201526080016103f7565b3480156108f257600080fd5b50610420610901366004612b93565b6112a8565b34801561091257600080fd5b50610420610921366004612c28565b61133a565b34801561093257600080fd5b50610420610941366004612c54565b6113a1565b34801561095257600080fd5b50610420610961366004612c9f565b61140f565b34801561097257600080fd5b50610420610981366004612960565b611462565b34801561099257600080fd5b50600154600254600354604080516001600160a01b03948516815292841660208401529216918101919091526060016103f7565b3480156109d257600080fd5b506104206109e1366004612d00565b6114c8565b3480156109f257600080fd5b50610ace610a013660046127c4565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915250600090815260076020908152604091829020825160c08101845281546001600160a01b03808216835267ffffffffffffffff600160a01b80840482169685019690965263ffffffff7c0100000000000000000000000000000000000000000000000000000000938490048116978501979097526001949094015490811660608401529384049092166080820152910490911660a082015290565b6040516103f79190600060c0820190506001600160a01b03808451168352602084015167ffffffffffffffff80821660208601526040860151915063ffffffff80831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b348015610b5057600080fd5b50610b74610b5f3660046127c4565b60009081526013602052604090205460ff1690565b60405190151581526020016103f7565b348015610b9057600080fd5b50610420610b9f3660046128b8565b611560565b348015610bb057600080fd5b50610420610bbf366004612d9c565b6115b9565b348015610bd057600080fd5b506009546040805167ffffffffffffffff808416825263ffffffff600160401b8504166020830152600160601b909304909216908201526060016103f7565b348015610c1b57600080fd5b5060055460065460408051600160a01b90930467ffffffffffffffff90811684528083166020850152600160401b909204909116908201526060016103f7565b348015610c6757600080fd5b50610420610c7636600461293e565b611621565b348015610c8757600080fd5b50610420610c96366004612dce565b61162f565b348015610ca757600080fd5b50610420610cb6366004612e42565b611699565b348015610cc757600080fd5b50610420610cd6366004612e5d565b611778565b348015610ce757600080fd5b50610420610cf6366004612ec8565b6117d3565b348015610d0757600080fd5b5060155460601b6040516bffffffffffffffffffffffff1990911681526020016103f7565b348015610d3857600080fd5b50610b74610d47366004612e42565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610d7157600080fd5b50610d85610d8036600461293e565b61182a565b6040516103f79190612f2a565b6040517f260b6cde00000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063260b6cde90610de79060019086908690600401612ff5565b60006040518083038186803b158015610dff57600080fd5b505af4158015610e13573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610e7a5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e63650000000060448201526064015b60405180910390fd5b610e876001848484611934565b505050565b6040517e92bac900000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__906292bac990610ee39060019088908890889088906004016131b1565b60006040518083038186803b158015610efb57600080fd5b505af4158015610f0f573d6000803e3d6000fd5b5050505050505050565b6040517fb45b31d5000000000000000000000000000000000000000000000000000000008152600160048201526bffffffffffffffffffffffff198216602482015273__$edce581bb06331cf4dae1387760565e5d1$__9063b45b31d5906044015b60006040518083038186803b158015610f9357600080fd5b505af4158015610fa7573d6000803e3d6000fd5b5050505050565b6040517fc87de7f400000000000000000000000000000000000000000000000000000000815260016004820152602481018390526044810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063c87de7f4906064015b60006040518083038186803b15801561102157600080fd5b505af4158015611035573d6000803e3d6000fd5b50505050505050565b6040517f99b0b84700000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__906399b0b84790610de79060019086908690600401612ff5565b6040517f510fc50a00000000000000000000000000000000000000000000000000000000815273__$61f169726e973bba1227e0c23d2755f88e$__9063510fc50a906110099060019087908790879060040161320b565b6040517faea7fd0b00000000000000000000000000000000000000000000000000000000815273__$894ce12e79ca3e5683c1b49e363f37fa22$__9063aea7fd0b90610de7906001908690869060040161324f565b6000546001600160a01b031633146111995760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9065599c12c4294d9e2201638226d0d0beb95c228f468c4e7c2bdb8322b6066f910160405180910390a25050565b6040517f13d0c66800000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__906313d0c668906110099060019087908790879060040161338c565b6040517f3b5d9f2400000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__90633b5d9f2490610ee39060019088908890889088906004016133bb565b6040517f624526fe00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__9063624526fe906113039060019089908990899089908990600401613415565b60006040518083038186803b15801561131b57600080fd5b505af415801561132f573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146113945760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b610e876001848484611b6c565b6000546001600160a01b031633146113fb5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b611409600185858585611d92565b50505050565b6040517fd079fbb100000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063d079fbb190610f7b906001908590600401613458565b6040517f4afbe4c90000000000000000000000000000000000000000000000000000000081526001600482015260248101849052604481018390526064810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__90634afbe4c990608401611009565b6040517fc8f7794300000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063c8f7794390611527906001908b908b908b908b908b908b908b9060040161346c565b60006040518083038186803b15801561153f57600080fd5b505af4158015611553573d6000803e3d6000fd5b5050505050505050505050565b6040517fa164de6e00000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__9063a164de6e90610ee39060019088908890889088906004016131b1565b6000546001600160a01b031633146116135760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b61140960018585858561204f565b61162c60018261219d565b50565b6000546001600160a01b031633146116895760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b610e1360018787878787876122fa565b6000546001600160a01b031633146116f35760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e71565b6001600160a01b03811661176f5760405162461bcd60e51b815260206004820152602260248201527f4e657720676f7665726e616e636520697320746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610e71565b61162c81612642565b6040517f7333b36900000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__90637333b369906113039060019089908990899089908990600401613530565b6040517f72c9c91c00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__906372c9c91c9061100990600190879087908790600401613589565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526bffffffffffffffffffffffff19821660009081526017602090815260409182902082516101008101845281548152600182015492810192909252600281015467ffffffffffffffff81169383019390935263ffffffff600160401b840481166060840152600160601b840481166080840152600160801b84041660a0830152909160c083019060ff600160a01b90910416600581111561190e5761190e612f14565b600581111561191f5761191f612f14565b81526020016003820154815250509050919050565b60008367ffffffffffffffff16116119b45760405162461bcd60e51b815260206004820152603060248201527f4465706f7369742064757374207468726573686f6c64206d757374206265206760448201527f726561746572207468616e207a65726f000000000000000000000000000000006064820152608401610e71565b60008267ffffffffffffffff1611611a345760405162461bcd60e51b815260206004820152603660248201527f4465706f736974207472656173757279206665652064697669736f72206d757360448201527f742062652067726561746572207468616e207a65726f000000000000000000006064820152608401610e71565b60008167ffffffffffffffff1611611ab45760405162461bcd60e51b815260206004820152603560248201527f4465706f736974207472616e73616374696f6e206d617820666565206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e71565b6004840180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff868116918202929092179092556005860180548583166fffffffffffffffffffffffffffffffff199091168117600160401b938616938402179091556040805193845260208401919091528201527f1ced468902ca566e746a3c8c9516af81f8de9f1021c365083be9f2625ebfb7b5906060015b60405180910390a150505050565b60008367ffffffffffffffff1611611bee576040805162461bcd60e51b81526020600482015260248101919091527f4d6f76696e672066756e6473207472616e73616374696f6e206d617820746f7460448201527f616c20666565206d7573742062652067726561746572207468616e207a65726f6064820152608401610e71565b60008263ffffffff1611611c6a5760405162461bcd60e51b815260206004820152602e60248201527f4d6f76696e672066756e64732074696d656f7574206d7573742062652067726560448201527f61746572207468616e207a65726f0000000000000000000000000000000000006064820152608401610e71565b60008167ffffffffffffffff1611611cea5760405162461bcd60e51b815260206004820152603560248201527f4d6f76696e672066756e64732064757374207468726573686f6c64206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e71565b60088401805467ffffffffffffffff838116600160601b81027fffffffffffffffffffffffff0000000000000000ffffffffffffffffffffffff63ffffffff8816600160401b81026bffffffffffffffffffffffff19909616948a16948517959095171617909355604080519182526020820192909252908101919091527f3bc8e35585937de0df227d080c3587c7aadd7630aa377299d63a5bb67fc07d8a90606001611b5e565b60008467ffffffffffffffff1611611e125760405162461bcd60e51b815260206004820152603360248201527f526564656d7074696f6e2064757374207468726573686f6c64206d757374206260448201527f652067726561746572207468616e207a65726f000000000000000000000000006064820152608401610e71565b60008367ffffffffffffffff1611611e925760405162461bcd60e51b815260206004820152603960248201527f526564656d7074696f6e207472656173757279206665652064697669736f722060448201527f6d7573742062652067726561746572207468616e207a65726f000000000000006064820152608401610e71565b60008267ffffffffffffffff1611611f125760405162461bcd60e51b815260206004820152603860248201527f526564656d7074696f6e207472616e73616374696f6e206d617820666565206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e71565b60008111611f885760405162461bcd60e51b815260206004820152602c60248201527f526564656d7074696f6e2074696d656f7574206d75737420626520677265617460448201527f6572207468616e207a65726f00000000000000000000000000000000000000006064820152608401610e71565b6008850180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff878116918202929092179092556009870180548683166fffffffffffffffffffffffffffffffff199091168117600160401b93871693840217909155600a8801849055604080519384526020840191909152820152606081018290527f92c7dd8c8e389aa6dd2d4ed3d2f1848abbaef487207c28f4c5c4990c5116ff1f906080015b60405180910390a15050505050565b60648311156120c65760405162461bcd60e51b815260206004820152603e60248201527f4672617564206e6f74696669657220726577617264206d756c7469706c69657260448201527f206d75737420626520696e207468652072616e6765205b302c203130305d00006064820152608401610e71565b6000821161213c5760405162461bcd60e51b815260206004820152603860248201527f4672617564206368616c6c656e6765206465666561742074696d656f7574206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e71565b600d8501849055600e8501839055600f8501829055601085018190556040805185815260208101859052908101839052606081018290527f3d5b171ef2601a0b7e9eb653999f8e932fb569e8f84526e1eea05c053063a1d690608001612040565b6bffffffffffffffffffffffff1981166000908152601683016020526040902060036002820154600160a01b900460ff1660058111156121df576121df612f14565b146122525760405162461bcd60e51b815260206004820152602560248201527f45434453412077616c6c6574206d75737420626520696e20436c6f73696e672060448201527f73746174650000000000000000000000000000000000000000000000000000006064820152608401610e71565b601583015460028201546122769163ffffffff90811691600160801b9004166135b4565b63ffffffff1642116122f05760405162461bcd60e51b815260206004820152602260248201527f436c6f73696e6720706572696f6420686173206e6f7420656c6170736564207960448201527f65740000000000000000000000000000000000000000000000000000000000006064820152608401610e71565b610e8783836126bb565b60008567ffffffffffffffff161161237a5760405162461bcd60e51b815260206004820152603460248201527f57616c6c6574206d696e696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e207a65726f0000000000000000000000006064820152608401610e71565b8467ffffffffffffffff168467ffffffffffffffff16116124035760405162461bcd60e51b815260206004820152603b60248201527f57616c6c6574206d6178696d756d204254432062616c616e6365206d7573742060448201527f62652067726561746572207468616e20746865206d696e696d756d00000000006064820152608401610e71565b60008267ffffffffffffffff16116124835760405162461bcd60e51b815260206004820152603560248201527f57616c6c6574206d6178696d756d20425443207472616e73666572206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e71565b60008163ffffffff16116124ff5760405162461bcd60e51b815260206004820152602f60248201527f57616c6c657420636c6f73696e6720706572696f64206d75737420626520677260448201527f6561746572207468616e207a65726f00000000000000000000000000000000006064820152608401610e71565b60138701805463ffffffff8881166bffffffffffffffffffffffff19909216821764010000000067ffffffffffffffff8a8116918202929092177fffffffffffffffff000000000000000000000000ffffffffffffffffffffffff16600160601b8a84169081027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff1691909117600160a01b8a86169081029190911790965560148d01805477ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b948a1694850217905560158d01805463ffffffff19169488169485179055604080519586526020860192909252908401526060830193909352608082019290925260a08101919091527f1057480b8647a24ff5b4e5b9cab9039e959d4207393663f3139050458c5f24ca9060c00160405180910390a150505050505050565b600080546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80910160405180910390a15050565b6bffffffffffffffffffffffff19811660008181526016840160205260408082206002810180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674040000000000000000000000000000000000000000179055805491519093927f47b159947c3066cb253f60e8f046cfd747411788a545cb189679e3fa1467b28d91a3600283015481546040517f343bb9270000000000000000000000000000000000000000000000000000000081526001600160a01b039092169163343bb927916127969160040190815260200190565b600060405180830381600087803b1580156127b057600080fd5b505af1158015611035573d6000803e3d6000fd5b6000602082840312156127d657600080fd5b5035919050565b80356bffffffffffffffffffffffff19811681146127fa57600080fd5b919050565b60006060828403121561281157600080fd5b50919050565b6000806080838503121561282a57600080fd5b612833836127dd565b915061284284602085016127ff565b90509250929050565b803567ffffffffffffffff811681146127fa57600080fd5b60008060006060848603121561287857600080fd5b6128818461284b565b925061288f6020850161284b565b915061289d6040850161284b565b90509250925092565b60006080828403121561281157600080fd5b60008060008060c085870312156128ce57600080fd5b843567ffffffffffffffff808211156128e657600080fd5b6128f2888389016128a6565b9550602087013591508082111561290857600080fd5b50612915878288016127ff565b93505061292586604087016127ff565b915061293360a086016127dd565b905092959194509250565b60006020828403121561295057600080fd5b612959826127dd565b9392505050565b60008060006060848603121561297557600080fd5b505081359360208301359350604090920135919050565b600080600060a084860312156129a157600080fd5b833567ffffffffffffffff808211156129b957600080fd5b6129c5878388016128a6565b945060208601359150808211156129db57600080fd5b506129e8868287016127ff565b92505061289d85604086016127ff565b600080828403610100811215612a0d57600080fd5b833567ffffffffffffffff811115612a2457600080fd5b612a30868287016128a6565b93505060e0601f1982011215612a4557600080fd5b506020830190509250929050565b80356001600160a01b03811681146127fa57600080fd5b803580151581146127fa57600080fd5b60008060408385031215612a8d57600080fd5b612a9683612a53565b915061284260208401612a6a565b60008083601f840112612ab657600080fd5b50813567ffffffffffffffff811115612ace57600080fd5b602083019150836020828501011115612ae657600080fd5b9250929050565b600080600060408486031215612b0257600080fd5b612b0b846127dd565b9250602084013567ffffffffffffffff811115612b2757600080fd5b612b3386828701612aa4565b9497909650939450505050565b60008060008060a08587031215612b5657600080fd5b843567ffffffffffffffff811115612b6d57600080fd5b612b7987828801612aa4565b9095509350506020850135915061293386604087016127ff565b600080600080600060608688031215612bab57600080fd5b853567ffffffffffffffff80821115612bc357600080fd5b612bcf89838a01612aa4565b90975095506020880135915080821115612be857600080fd5b50612bf588828901612aa4565b9094509250612c08905060408701612a6a565b90509295509295909350565b803563ffffffff811681146127fa57600080fd5b600080600060608486031215612c3d57600080fd5b612c468461284b565b925061288f60208501612c14565b60008060008060808587031215612c6a57600080fd5b612c738561284b565b9350612c816020860161284b565b9250612c8f6040860161284b565b9396929550929360600135925050565b600060608284031215612cb157600080fd5b61295983836127ff565b60008083601f840112612ccd57600080fd5b50813567ffffffffffffffff811115612ce557600080fd5b6020830191508360208260051b8501011115612ae657600080fd5b600080600080600080600060e0888a031215612d1b57600080fd5b612d24886127dd565b9650612d338960208a016127ff565b9550608088013567ffffffffffffffff80821115612d5057600080fd5b612d5c8b838c01612cbb565b909750955060a08a0135945060c08a0135915080821115612d7c57600080fd5b50612d898a828b01612cbb565b989b979a50959850939692959293505050565b60008060008060808587031215612db257600080fd5b5050823594602084013594506040840135936060013592509050565b60008060008060008060c08789031215612de757600080fd5b612df087612c14565b9550612dfe6020880161284b565b9450612e0c6040880161284b565b9350612e1a60608801612c14565b9250612e286080880161284b565b9150612e3660a08801612c14565b90509295509295509295565b600060208284031215612e5457600080fd5b61295982612a53565b600080600080600060c08688031215612e7557600080fd5b612e7e866127dd565b9450612e8d87602088016127ff565b9350608086013567ffffffffffffffff811115612ea957600080fd5b612eb588828901612aa4565b9094509250612c08905060a0870161284b565b600080600060408486031215612edd57600080fd5b833567ffffffffffffffff811115612ef457600080fd5b612f0086828701612aa4565b909790965060209590950135949350505050565b634e487b7160e01b600052602160045260246000fd5b600061010082019050825182526020830151602083015267ffffffffffffffff6040840151166040830152606083015163ffffffff80821660608501528060808601511660808501528060a08601511660a0850152505060c083015160068110612fa457634e487b7160e01b600052602160045260246000fd5b8060c08401525060e083015160e083015292915050565b8035825263ffffffff612fd060208301612c14565b16602083015267ffffffffffffffff612feb6040830161284b565b1660408301525050565b8381526bffffffffffffffffffffffff198316602082015260a0810161301e6040830184612fbb565b949350505050565b80357fffffffff00000000000000000000000000000000000000000000000000000000811681146127fa57600080fd5b6000808335601e1984360301811261306d57600080fd5b830160208101925035905067ffffffffffffffff81111561308d57600080fd5b803603831315612ae657600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60007fffffffff00000000000000000000000000000000000000000000000000000000806130f284613026565b1684526131026020840184613056565b6080602087015261311760808701828461309c565b9150506131276040850185613056565b868303604088015261313a83828461309c565b925050508161314b60608601613026565b166060860152809250505092915050565b60006131688283613056565b6060855261317a60608601828461309c565b915050602083013560208501526131946040840184613056565b85830360408701526131a783828461309c565b9695505050505050565b85815260e0602082015260006131ca60e08301876130c5565b82810360408401526131dc818761315c565b9150506131ec6060830185612fbb565b6bffffffffffffffffffffffff19831660c08301529695505050505050565b84815260c06020820152600061322460c08301866130c5565b8281036040840152613236818661315c565b9150506132466060830184612fbb565b95945050505050565b6000610120858352806020840152613269818401866130c5565b91505063ffffffff61327a84612c14565b1660408301526001600160a01b0361329460208501612a53565b16606083015260408301357fffffffffffffffff000000000000000000000000000000000000000000000000811681146132cd57600080fd5b7fffffffffffffffff000000000000000000000000000000000000000000000000166080830152613300606084016127dd565b6bffffffffffffffffffffffff191660a0830152613320608084016127dd565b6bffffffffffffffffffffffff191660c083015261334060a08401613026565b7fffffffff000000000000000000000000000000000000000000000000000000001660e083015261337360c08401612a53565b6001600160a01b03811661010084015250949350505050565b8481526bffffffffffffffffffffffff19841660208201526060604082015260006131a760608301848661309c565b85815260c0602082015260006133d560c08301868861309c565b90508360408301528235606083015260208301356080830152604083013560ff811680821461340357600080fd5b8060a085015250509695505050505050565b86815260806020820152600061342f60808301878961309c565b828103604084015261344281868861309c565b9150508215156060830152979650505050505050565b828152608081016129596020830184612fbb565b60006101008083018b845260206bffffffffffffffffffffffff19808d168287015261349b604087018d612fbb565b60a08601939093529088905261012084019189919060005b8a8110156134dc5763ffffffff6134c985612c14565b16855293820193928201926001016134b3565b5060c0860189905285840360e087015286845287938201925060005b8781101561351d578161350a866127dd565b16845293820193928201926001016134f8565b50919d9c50505050505050505050505050565b8681526bffffffffffffffffffffffff19861660208201526135556040820186612fbb565b60e060a0820152600061356c60e08301858761309c565b905067ffffffffffffffff831660c0830152979650505050505050565b8481526060602082015260006135a360608301858761309c565b905082604083015295945050505050565b600063ffffffff8083168185168083038211156135e157634e487b7160e01b600052601160045260246000fd5b0194935050505056fea2646970667358221220420024f6a4ed3c10fa5a8e765bfaac4177ec2ab875a0ee3fbc23650f15bca4b764736f6c63430008090033",
2012
+ "linkReferences": {
2013
+ "contracts/bridge/Deposit.sol": {
2014
+ "Deposit": [
2015
+ {
2016
+ "length": 20,
2017
+ "start": 5388
2018
+ }
2019
+ ]
2020
+ },
2021
+ "contracts/bridge/Fraud.sol": {
2022
+ "Fraud": [
2023
+ {
2024
+ "length": 20,
2025
+ "start": 5745
2026
+ },
2027
+ {
2028
+ "length": 20,
2029
+ "start": 5834
2030
+ },
2031
+ {
2032
+ "length": 20,
2033
+ "start": 7157
2034
+ }
2035
+ ]
2036
+ },
2037
+ "contracts/bridge/MovingFunds.sol": {
2038
+ "MovingFunds": [
2039
+ {
2040
+ "length": 20,
2041
+ "start": 4532
2042
+ },
2043
+ {
2044
+ "length": 20,
2045
+ "start": 4781
2046
+ },
2047
+ {
2048
+ "length": 20,
2049
+ "start": 4951
2050
+ },
2051
+ {
2052
+ "length": 20,
2053
+ "start": 6378
2054
+ }
2055
+ ]
2056
+ },
2057
+ "contracts/bridge/Redemption.sol": {
2058
+ "Redemption": [
2059
+ {
2060
+ "length": 20,
2061
+ "start": 5658
2062
+ },
2063
+ {
2064
+ "length": 20,
2065
+ "start": 6530
2066
+ },
2067
+ {
2068
+ "length": 20,
2069
+ "start": 7066
2070
+ }
2071
+ ]
2072
+ },
2073
+ "contracts/bridge/Sweep.sol": {
2074
+ "Sweep": [
2075
+ {
2076
+ "length": 20,
2077
+ "start": 5301
2078
+ }
2079
+ ]
2080
+ },
2081
+ "contracts/bridge/Wallets.sol": {
2082
+ "Wallets": [
2083
+ {
2084
+ "length": 20,
2085
+ "start": 5093
2086
+ },
2087
+ {
2088
+ "length": 20,
2089
+ "start": 5216
2090
+ },
2091
+ {
2092
+ "length": 20,
2093
+ "start": 6193
2094
+ },
2095
+ {
2096
+ "length": 20,
2097
+ "start": 6304
2098
+ }
2099
+ ]
2100
+ }
2101
+ },
2102
+ "deployedLinkReferences": {
2103
+ "contracts/bridge/Deposit.sol": {
2104
+ "Deposit": [
2105
+ {
2106
+ "length": 20,
2107
+ "start": 4370
2108
+ }
2109
+ ]
2110
+ },
2111
+ "contracts/bridge/Fraud.sol": {
2112
+ "Fraud": [
2113
+ {
2114
+ "length": 20,
2115
+ "start": 4727
2116
+ },
2117
+ {
2118
+ "length": 20,
2119
+ "start": 4816
2120
+ },
2121
+ {
2122
+ "length": 20,
2123
+ "start": 6139
2124
+ }
2125
+ ]
2126
+ },
2127
+ "contracts/bridge/MovingFunds.sol": {
2128
+ "MovingFunds": [
2129
+ {
2130
+ "length": 20,
2131
+ "start": 3514
2132
+ },
2133
+ {
2134
+ "length": 20,
2135
+ "start": 3763
2136
+ },
2137
+ {
2138
+ "length": 20,
2139
+ "start": 3933
2140
+ },
2141
+ {
2142
+ "length": 20,
2143
+ "start": 5360
2144
+ }
2145
+ ]
2146
+ },
2147
+ "contracts/bridge/Redemption.sol": {
2148
+ "Redemption": [
2149
+ {
2150
+ "length": 20,
2151
+ "start": 4640
2152
+ },
2153
+ {
2154
+ "length": 20,
2155
+ "start": 5512
2156
+ },
2157
+ {
2158
+ "length": 20,
2159
+ "start": 6048
2160
+ }
2161
+ ]
2162
+ },
2163
+ "contracts/bridge/Sweep.sol": {
2164
+ "Sweep": [
2165
+ {
2166
+ "length": 20,
2167
+ "start": 4283
2168
+ }
2169
+ ]
2170
+ },
2171
+ "contracts/bridge/Wallets.sol": {
2172
+ "Wallets": [
2173
+ {
2174
+ "length": 20,
2175
+ "start": 4075
2176
+ },
2177
+ {
2178
+ "length": 20,
2179
+ "start": 4198
2180
+ },
2181
+ {
2182
+ "length": 20,
2183
+ "start": 5175
2184
+ },
2185
+ {
2186
+ "length": 20,
2187
+ "start": 5286
2188
+ }
2189
+ ]
2190
+ }
2191
+ }
176
2192
  }