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

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 +3307 -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 +154 -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/dcf2fc19e497270603c798faeb0a9ba9.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 +2114 -77
  42. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +4 -0
  43. package/build/contracts/bridge/BridgeState.sol/BridgeState.json +172 -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 +1298 -126
  74. package/contracts/bridge/BridgeState.sol +553 -0
  75. package/contracts/bridge/Deposit.sol +266 -0
  76. package/contracts/bridge/EcdsaLib.sol +45 -0
  77. package/contracts/bridge/Fraud.sol +504 -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 +552 -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 +15194 -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,2093 @@
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": "uint96",
223
+ "name": "fraudSlashingAmount",
224
+ "type": "uint96"
125
225
  },
126
226
  {
227
+ "indexed": false,
127
228
  "internalType": "uint256",
128
- "name": "txIndexInBlock",
229
+ "name": "fraudNotifierRewardMultiplier",
129
230
  "type": "uint256"
130
231
  },
131
232
  {
132
- "internalType": "bytes",
133
- "name": "bitcoinHeaders",
134
- "type": "bytes"
233
+ "indexed": false,
234
+ "internalType": "uint256",
235
+ "name": "fraudChallengeDefeatTimeout",
236
+ "type": "uint256"
237
+ },
238
+ {
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": "walletCreationMinBtcBalance",
588
+ "type": "uint64"
589
+ },
590
+ {
591
+ "indexed": false,
592
+ "internalType": "uint64",
593
+ "name": "walletCreationMaxBtcBalance",
594
+ "type": "uint64"
595
+ },
596
+ {
597
+ "indexed": false,
598
+ "internalType": "uint64",
599
+ "name": "walletClosureMinBtcBalance",
600
+ "type": "uint64"
601
+ },
602
+ {
603
+ "indexed": false,
604
+ "internalType": "uint32",
605
+ "name": "walletMaxAge",
606
+ "type": "uint32"
607
+ },
608
+ {
609
+ "indexed": false,
610
+ "internalType": "uint64",
611
+ "name": "walletMaxBtcTransfer",
612
+ "type": "uint64"
613
+ },
614
+ {
615
+ "indexed": false,
616
+ "internalType": "uint32",
617
+ "name": "walletClosingPeriod",
618
+ "type": "uint32"
619
+ }
620
+ ],
621
+ "name": "WalletParametersUpdated",
622
+ "type": "event"
623
+ },
624
+ {
625
+ "anonymous": false,
626
+ "inputs": [
627
+ {
628
+ "indexed": true,
629
+ "internalType": "bytes32",
630
+ "name": "ecdsaWalletID",
631
+ "type": "bytes32"
632
+ },
633
+ {
634
+ "indexed": true,
635
+ "internalType": "bytes20",
636
+ "name": "walletPubKeyHash",
637
+ "type": "bytes20"
638
+ }
639
+ ],
640
+ "name": "WalletTerminated",
641
+ "type": "event"
642
+ },
643
+ {
644
+ "inputs": [
645
+ {
646
+ "internalType": "bytes32",
647
+ "name": "ecdsaWalletID",
648
+ "type": "bytes32"
649
+ },
650
+ {
651
+ "internalType": "bytes32",
652
+ "name": "publicKeyX",
653
+ "type": "bytes32"
654
+ },
655
+ {
656
+ "internalType": "bytes32",
657
+ "name": "publicKeyY",
658
+ "type": "bytes32"
659
+ }
660
+ ],
661
+ "name": "__ecdsaWalletCreatedCallback",
662
+ "outputs": [],
663
+ "stateMutability": "nonpayable",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ {
669
+ "internalType": "bytes32",
670
+ "name": "",
671
+ "type": "bytes32"
672
+ },
673
+ {
674
+ "internalType": "bytes32",
675
+ "name": "publicKeyX",
676
+ "type": "bytes32"
677
+ },
678
+ {
679
+ "internalType": "bytes32",
680
+ "name": "publicKeyY",
681
+ "type": "bytes32"
682
+ }
683
+ ],
684
+ "name": "__ecdsaWalletHeartbeatFailedCallback",
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [],
691
+ "name": "activeWalletPubKeyHash",
692
+ "outputs": [
693
+ {
694
+ "internalType": "bytes20",
695
+ "name": "",
696
+ "type": "bytes20"
697
+ }
698
+ ],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [],
704
+ "name": "contractReferences",
705
+ "outputs": [
706
+ {
707
+ "internalType": "contract Bank",
708
+ "name": "bank",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "internalType": "contract IRelay",
713
+ "name": "relay",
714
+ "type": "address"
715
+ },
716
+ {
717
+ "internalType": "contract IWalletRegistry",
718
+ "name": "ecdsaWalletRegistry",
719
+ "type": "address"
720
+ }
721
+ ],
722
+ "stateMutability": "view",
723
+ "type": "function"
724
+ },
725
+ {
726
+ "inputs": [
727
+ {
728
+ "internalType": "bytes",
729
+ "name": "walletPublicKey",
730
+ "type": "bytes"
731
+ },
732
+ {
733
+ "internalType": "bytes",
734
+ "name": "preimage",
735
+ "type": "bytes"
736
+ },
737
+ {
738
+ "internalType": "bool",
739
+ "name": "witness",
740
+ "type": "bool"
741
+ }
742
+ ],
743
+ "name": "defeatFraudChallenge",
744
+ "outputs": [],
745
+ "stateMutability": "nonpayable",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [],
750
+ "name": "depositParameters",
751
+ "outputs": [
752
+ {
753
+ "internalType": "uint64",
754
+ "name": "depositDustThreshold",
755
+ "type": "uint64"
756
+ },
757
+ {
758
+ "internalType": "uint64",
759
+ "name": "depositTreasuryFeeDivisor",
760
+ "type": "uint64"
761
+ },
762
+ {
763
+ "internalType": "uint64",
764
+ "name": "depositTxMaxFee",
765
+ "type": "uint64"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "uint256",
775
+ "name": "depositKey",
776
+ "type": "uint256"
777
+ }
778
+ ],
779
+ "name": "deposits",
780
+ "outputs": [
781
+ {
782
+ "components": [
783
+ {
784
+ "internalType": "address",
785
+ "name": "depositor",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "uint64",
790
+ "name": "amount",
791
+ "type": "uint64"
792
+ },
793
+ {
794
+ "internalType": "uint32",
795
+ "name": "revealedAt",
796
+ "type": "uint32"
797
+ },
798
+ {
799
+ "internalType": "address",
800
+ "name": "vault",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "uint64",
805
+ "name": "treasuryFee",
806
+ "type": "uint64"
807
+ },
808
+ {
809
+ "internalType": "uint32",
810
+ "name": "sweptAt",
811
+ "type": "uint32"
812
+ }
813
+ ],
814
+ "internalType": "struct Deposit.DepositRequest",
815
+ "name": "",
816
+ "type": "tuple"
817
+ }
818
+ ],
819
+ "stateMutability": "view",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "uint256",
826
+ "name": "challengeKey",
827
+ "type": "uint256"
828
+ }
829
+ ],
830
+ "name": "fraudChallenges",
831
+ "outputs": [
832
+ {
833
+ "components": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "challenger",
837
+ "type": "address"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "depositAmount",
842
+ "type": "uint256"
843
+ },
844
+ {
845
+ "internalType": "uint32",
846
+ "name": "reportedAt",
847
+ "type": "uint32"
848
+ },
849
+ {
850
+ "internalType": "bool",
851
+ "name": "resolved",
852
+ "type": "bool"
853
+ }
854
+ ],
855
+ "internalType": "struct Fraud.FraudChallenge",
856
+ "name": "",
857
+ "type": "tuple"
858
+ }
859
+ ],
860
+ "stateMutability": "view",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "fraudParameters",
866
+ "outputs": [
867
+ {
868
+ "internalType": "uint96",
869
+ "name": "fraudSlashingAmount",
870
+ "type": "uint96"
871
+ },
872
+ {
873
+ "internalType": "uint256",
874
+ "name": "fraudNotifierRewardMultiplier",
875
+ "type": "uint256"
876
+ },
877
+ {
878
+ "internalType": "uint256",
879
+ "name": "fraudChallengeDefeatTimeout",
880
+ "type": "uint256"
881
+ },
882
+ {
883
+ "internalType": "uint256",
884
+ "name": "fraudChallengeDepositAmount",
885
+ "type": "uint256"
886
+ }
887
+ ],
888
+ "stateMutability": "view",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [],
893
+ "name": "governance",
894
+ "outputs": [
895
+ {
896
+ "internalType": "address",
897
+ "name": "",
898
+ "type": "address"
899
+ }
900
+ ],
901
+ "stateMutability": "view",
902
+ "type": "function"
903
+ },
904
+ {
905
+ "inputs": [
906
+ {
907
+ "internalType": "address",
908
+ "name": "vault",
909
+ "type": "address"
910
+ }
911
+ ],
912
+ "name": "isVaultTrusted",
913
+ "outputs": [
914
+ {
915
+ "internalType": "bool",
916
+ "name": "",
917
+ "type": "bool"
918
+ }
919
+ ],
920
+ "stateMutability": "view",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [],
925
+ "name": "liveWalletsCount",
926
+ "outputs": [
927
+ {
928
+ "internalType": "uint32",
929
+ "name": "",
930
+ "type": "uint32"
931
+ }
932
+ ],
933
+ "stateMutability": "view",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "inputs": [],
938
+ "name": "movingFundsParameters",
939
+ "outputs": [
940
+ {
941
+ "internalType": "uint64",
942
+ "name": "movingFundsTxMaxTotalFee",
943
+ "type": "uint64"
944
+ },
945
+ {
946
+ "internalType": "uint32",
947
+ "name": "movingFundsTimeout",
948
+ "type": "uint32"
949
+ },
950
+ {
951
+ "internalType": "uint64",
952
+ "name": "movingFundsDustThreshold",
953
+ "type": "uint64"
954
+ }
955
+ ],
956
+ "stateMutability": "view",
957
+ "type": "function"
958
+ },
959
+ {
960
+ "inputs": [
961
+ {
962
+ "internalType": "bytes20",
963
+ "name": "walletPubKeyHash",
964
+ "type": "bytes20"
965
+ },
966
+ {
967
+ "components": [
968
+ {
969
+ "internalType": "bytes32",
970
+ "name": "txHash",
971
+ "type": "bytes32"
972
+ },
973
+ {
974
+ "internalType": "uint32",
975
+ "name": "txOutputIndex",
976
+ "type": "uint32"
977
+ },
978
+ {
979
+ "internalType": "uint64",
980
+ "name": "txOutputValue",
981
+ "type": "uint64"
982
+ }
983
+ ],
984
+ "internalType": "struct BitcoinTx.UTXO",
985
+ "name": "walletMainUtxo",
986
+ "type": "tuple"
987
+ }
988
+ ],
989
+ "name": "notifyCloseableWallet",
990
+ "outputs": [],
991
+ "stateMutability": "nonpayable",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [
996
+ {
997
+ "internalType": "bytes",
998
+ "name": "walletPublicKey",
999
+ "type": "bytes"
1000
+ },
1001
+ {
1002
+ "internalType": "uint32[]",
1003
+ "name": "walletMembersIDs",
1004
+ "type": "uint32[]"
1005
+ },
1006
+ {
1007
+ "internalType": "bytes32",
1008
+ "name": "sighash",
1009
+ "type": "bytes32"
1010
+ }
1011
+ ],
1012
+ "name": "notifyFraudChallengeDefeatTimeout",
1013
+ "outputs": [],
1014
+ "stateMutability": "nonpayable",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "inputs": [
1019
+ {
1020
+ "internalType": "bytes20",
1021
+ "name": "walletPubKeyHash",
1022
+ "type": "bytes20"
1023
+ },
1024
+ {
1025
+ "components": [
1026
+ {
1027
+ "internalType": "bytes32",
1028
+ "name": "txHash",
1029
+ "type": "bytes32"
1030
+ },
1031
+ {
1032
+ "internalType": "uint32",
1033
+ "name": "txOutputIndex",
1034
+ "type": "uint32"
1035
+ },
1036
+ {
1037
+ "internalType": "uint64",
1038
+ "name": "txOutputValue",
1039
+ "type": "uint64"
1040
+ }
1041
+ ],
1042
+ "internalType": "struct BitcoinTx.UTXO",
1043
+ "name": "mainUtxo",
1044
+ "type": "tuple"
1045
+ }
1046
+ ],
1047
+ "name": "notifyMovingFundsBelowDust",
1048
+ "outputs": [],
1049
+ "stateMutability": "nonpayable",
1050
+ "type": "function"
1051
+ },
1052
+ {
1053
+ "inputs": [
1054
+ {
1055
+ "internalType": "bytes20",
1056
+ "name": "walletPubKeyHash",
1057
+ "type": "bytes20"
1058
+ }
1059
+ ],
1060
+ "name": "notifyMovingFundsTimeout",
1061
+ "outputs": [],
1062
+ "stateMutability": "nonpayable",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "inputs": [
1067
+ {
1068
+ "internalType": "bytes20",
1069
+ "name": "walletPubKeyHash",
1070
+ "type": "bytes20"
1071
+ },
1072
+ {
1073
+ "internalType": "bytes",
1074
+ "name": "redeemerOutputScript",
1075
+ "type": "bytes"
1076
+ }
1077
+ ],
1078
+ "name": "notifyRedemptionTimeout",
1079
+ "outputs": [],
1080
+ "stateMutability": "nonpayable",
1081
+ "type": "function"
1082
+ },
1083
+ {
1084
+ "inputs": [
1085
+ {
1086
+ "internalType": "bytes20",
1087
+ "name": "walletPubKeyHash",
1088
+ "type": "bytes20"
1089
+ }
1090
+ ],
1091
+ "name": "notifyWalletClosingPeriodElapsed",
1092
+ "outputs": [],
1093
+ "stateMutability": "nonpayable",
1094
+ "type": "function"
1095
+ },
1096
+ {
1097
+ "inputs": [
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "redemptionKey",
1101
+ "type": "uint256"
1102
+ }
1103
+ ],
1104
+ "name": "pendingRedemptions",
1105
+ "outputs": [
1106
+ {
1107
+ "components": [
1108
+ {
1109
+ "internalType": "address",
1110
+ "name": "redeemer",
1111
+ "type": "address"
1112
+ },
1113
+ {
1114
+ "internalType": "uint64",
1115
+ "name": "requestedAmount",
1116
+ "type": "uint64"
1117
+ },
1118
+ {
1119
+ "internalType": "uint64",
1120
+ "name": "treasuryFee",
1121
+ "type": "uint64"
1122
+ },
1123
+ {
1124
+ "internalType": "uint64",
1125
+ "name": "txMaxFee",
1126
+ "type": "uint64"
1127
+ },
1128
+ {
1129
+ "internalType": "uint32",
1130
+ "name": "requestedAt",
1131
+ "type": "uint32"
1132
+ }
1133
+ ],
1134
+ "internalType": "struct Redemption.RedemptionRequest",
1135
+ "name": "",
1136
+ "type": "tuple"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view",
1140
+ "type": "function"
1141
+ },
1142
+ {
1143
+ "inputs": [],
1144
+ "name": "redemptionParameters",
1145
+ "outputs": [
1146
+ {
1147
+ "internalType": "uint64",
1148
+ "name": "redemptionDustThreshold",
1149
+ "type": "uint64"
1150
+ },
1151
+ {
1152
+ "internalType": "uint64",
1153
+ "name": "redemptionTreasuryFeeDivisor",
1154
+ "type": "uint64"
1155
+ },
1156
+ {
1157
+ "internalType": "uint64",
1158
+ "name": "redemptionTxMaxFee",
1159
+ "type": "uint64"
1160
+ },
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "redemptionTimeout",
1164
+ "type": "uint256"
1165
+ }
1166
+ ],
1167
+ "stateMutability": "view",
1168
+ "type": "function"
1169
+ },
1170
+ {
1171
+ "inputs": [
1172
+ {
1173
+ "components": [
1174
+ {
1175
+ "internalType": "bytes32",
1176
+ "name": "txHash",
1177
+ "type": "bytes32"
1178
+ },
1179
+ {
1180
+ "internalType": "uint32",
1181
+ "name": "txOutputIndex",
1182
+ "type": "uint32"
1183
+ },
1184
+ {
1185
+ "internalType": "uint64",
1186
+ "name": "txOutputValue",
1187
+ "type": "uint64"
1188
+ }
1189
+ ],
1190
+ "internalType": "struct BitcoinTx.UTXO",
1191
+ "name": "activeWalletMainUtxo",
1192
+ "type": "tuple"
1193
+ }
1194
+ ],
1195
+ "name": "requestNewWallet",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "bytes20",
1204
+ "name": "walletPubKeyHash",
1205
+ "type": "bytes20"
1206
+ },
1207
+ {
1208
+ "components": [
1209
+ {
1210
+ "internalType": "bytes32",
1211
+ "name": "txHash",
1212
+ "type": "bytes32"
1213
+ },
1214
+ {
1215
+ "internalType": "uint32",
1216
+ "name": "txOutputIndex",
1217
+ "type": "uint32"
1218
+ },
1219
+ {
1220
+ "internalType": "uint64",
1221
+ "name": "txOutputValue",
1222
+ "type": "uint64"
1223
+ }
1224
+ ],
1225
+ "internalType": "struct BitcoinTx.UTXO",
1226
+ "name": "mainUtxo",
1227
+ "type": "tuple"
1228
+ },
1229
+ {
1230
+ "internalType": "bytes",
1231
+ "name": "redeemerOutputScript",
1232
+ "type": "bytes"
1233
+ },
1234
+ {
1235
+ "internalType": "uint64",
1236
+ "name": "amount",
1237
+ "type": "uint64"
1238
+ }
1239
+ ],
1240
+ "name": "requestRedemption",
1241
+ "outputs": [],
1242
+ "stateMutability": "nonpayable",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [
1247
+ {
1248
+ "components": [
1249
+ {
1250
+ "internalType": "bytes4",
1251
+ "name": "version",
1252
+ "type": "bytes4"
1253
+ },
1254
+ {
1255
+ "internalType": "bytes",
1256
+ "name": "inputVector",
1257
+ "type": "bytes"
1258
+ },
1259
+ {
1260
+ "internalType": "bytes",
1261
+ "name": "outputVector",
1262
+ "type": "bytes"
1263
+ },
1264
+ {
1265
+ "internalType": "bytes4",
1266
+ "name": "locktime",
1267
+ "type": "bytes4"
1268
+ }
1269
+ ],
1270
+ "internalType": "struct BitcoinTx.Info",
1271
+ "name": "fundingTx",
1272
+ "type": "tuple"
1273
+ },
1274
+ {
1275
+ "components": [
1276
+ {
1277
+ "internalType": "uint32",
1278
+ "name": "fundingOutputIndex",
1279
+ "type": "uint32"
1280
+ },
1281
+ {
1282
+ "internalType": "address",
1283
+ "name": "depositor",
1284
+ "type": "address"
1285
+ },
1286
+ {
1287
+ "internalType": "bytes8",
1288
+ "name": "blindingFactor",
1289
+ "type": "bytes8"
1290
+ },
1291
+ {
1292
+ "internalType": "bytes20",
1293
+ "name": "walletPubKeyHash",
1294
+ "type": "bytes20"
1295
+ },
1296
+ {
1297
+ "internalType": "bytes20",
1298
+ "name": "refundPubKeyHash",
1299
+ "type": "bytes20"
1300
+ },
1301
+ {
1302
+ "internalType": "bytes4",
1303
+ "name": "refundLocktime",
1304
+ "type": "bytes4"
1305
+ },
1306
+ {
1307
+ "internalType": "address",
1308
+ "name": "vault",
1309
+ "type": "address"
1310
+ }
1311
+ ],
1312
+ "internalType": "struct Deposit.DepositRevealInfo",
1313
+ "name": "reveal",
1314
+ "type": "tuple"
1315
+ }
1316
+ ],
1317
+ "name": "revealDeposit",
1318
+ "outputs": [],
1319
+ "stateMutability": "nonpayable",
1320
+ "type": "function"
1321
+ },
1322
+ {
1323
+ "inputs": [
1324
+ {
1325
+ "internalType": "address",
1326
+ "name": "vault",
1327
+ "type": "address"
1328
+ },
1329
+ {
1330
+ "internalType": "bool",
1331
+ "name": "isTrusted",
1332
+ "type": "bool"
1333
+ }
1334
+ ],
1335
+ "name": "setVaultStatus",
1336
+ "outputs": [],
1337
+ "stateMutability": "nonpayable",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
1342
+ {
1343
+ "internalType": "uint256",
1344
+ "name": "utxoKey",
1345
+ "type": "uint256"
1346
+ }
1347
+ ],
1348
+ "name": "spentMainUTXOs",
1349
+ "outputs": [
1350
+ {
1351
+ "internalType": "bool",
1352
+ "name": "",
1353
+ "type": "bool"
1354
+ }
1355
+ ],
1356
+ "stateMutability": "view",
1357
+ "type": "function"
1358
+ },
1359
+ {
1360
+ "inputs": [
1361
+ {
1362
+ "internalType": "bytes",
1363
+ "name": "walletPublicKey",
1364
+ "type": "bytes"
1365
+ },
1366
+ {
1367
+ "internalType": "bytes32",
1368
+ "name": "sighash",
1369
+ "type": "bytes32"
1370
+ },
1371
+ {
1372
+ "components": [
1373
+ {
1374
+ "internalType": "bytes32",
1375
+ "name": "r",
1376
+ "type": "bytes32"
1377
+ },
1378
+ {
1379
+ "internalType": "bytes32",
1380
+ "name": "s",
1381
+ "type": "bytes32"
1382
+ },
1383
+ {
1384
+ "internalType": "uint8",
1385
+ "name": "v",
1386
+ "type": "uint8"
1387
+ }
1388
+ ],
1389
+ "internalType": "struct BitcoinTx.RSVSignature",
1390
+ "name": "signature",
1391
+ "type": "tuple"
1392
+ }
1393
+ ],
1394
+ "name": "submitFraudChallenge",
1395
+ "outputs": [],
1396
+ "stateMutability": "payable",
1397
+ "type": "function"
1398
+ },
1399
+ {
1400
+ "inputs": [
1401
+ {
1402
+ "internalType": "bytes20",
1403
+ "name": "walletPubKeyHash",
1404
+ "type": "bytes20"
1405
+ },
1406
+ {
1407
+ "components": [
1408
+ {
1409
+ "internalType": "bytes32",
1410
+ "name": "txHash",
1411
+ "type": "bytes32"
1412
+ },
1413
+ {
1414
+ "internalType": "uint32",
1415
+ "name": "txOutputIndex",
1416
+ "type": "uint32"
1417
+ },
1418
+ {
1419
+ "internalType": "uint64",
1420
+ "name": "txOutputValue",
1421
+ "type": "uint64"
1422
+ }
1423
+ ],
1424
+ "internalType": "struct BitcoinTx.UTXO",
1425
+ "name": "walletMainUtxo",
1426
+ "type": "tuple"
1427
+ },
1428
+ {
1429
+ "internalType": "uint32[]",
1430
+ "name": "walletMembersIDs",
1431
+ "type": "uint32[]"
1432
+ },
1433
+ {
1434
+ "internalType": "uint256",
1435
+ "name": "walletMemberIndex",
1436
+ "type": "uint256"
1437
+ },
1438
+ {
1439
+ "internalType": "bytes20[]",
1440
+ "name": "targetWallets",
1441
+ "type": "bytes20[]"
1442
+ }
1443
+ ],
1444
+ "name": "submitMovingFundsCommitment",
1445
+ "outputs": [],
1446
+ "stateMutability": "nonpayable",
1447
+ "type": "function"
1448
+ },
1449
+ {
1450
+ "inputs": [
1451
+ {
1452
+ "components": [
1453
+ {
1454
+ "internalType": "bytes4",
1455
+ "name": "version",
1456
+ "type": "bytes4"
1457
+ },
1458
+ {
1459
+ "internalType": "bytes",
1460
+ "name": "inputVector",
1461
+ "type": "bytes"
1462
+ },
1463
+ {
1464
+ "internalType": "bytes",
1465
+ "name": "outputVector",
1466
+ "type": "bytes"
1467
+ },
1468
+ {
1469
+ "internalType": "bytes4",
1470
+ "name": "locktime",
1471
+ "type": "bytes4"
1472
+ }
1473
+ ],
1474
+ "internalType": "struct BitcoinTx.Info",
1475
+ "name": "movingFundsTx",
1476
+ "type": "tuple"
1477
+ },
1478
+ {
1479
+ "components": [
1480
+ {
1481
+ "internalType": "bytes",
1482
+ "name": "merkleProof",
1483
+ "type": "bytes"
1484
+ },
1485
+ {
1486
+ "internalType": "uint256",
1487
+ "name": "txIndexInBlock",
1488
+ "type": "uint256"
1489
+ },
1490
+ {
1491
+ "internalType": "bytes",
1492
+ "name": "bitcoinHeaders",
1493
+ "type": "bytes"
1494
+ }
1495
+ ],
1496
+ "internalType": "struct BitcoinTx.Proof",
1497
+ "name": "movingFundsProof",
1498
+ "type": "tuple"
1499
+ },
1500
+ {
1501
+ "components": [
1502
+ {
1503
+ "internalType": "bytes32",
1504
+ "name": "txHash",
1505
+ "type": "bytes32"
1506
+ },
1507
+ {
1508
+ "internalType": "uint32",
1509
+ "name": "txOutputIndex",
1510
+ "type": "uint32"
1511
+ },
1512
+ {
1513
+ "internalType": "uint64",
1514
+ "name": "txOutputValue",
1515
+ "type": "uint64"
1516
+ }
1517
+ ],
1518
+ "internalType": "struct BitcoinTx.UTXO",
1519
+ "name": "mainUtxo",
1520
+ "type": "tuple"
1521
+ },
1522
+ {
1523
+ "internalType": "bytes20",
1524
+ "name": "walletPubKeyHash",
1525
+ "type": "bytes20"
1526
+ }
1527
+ ],
1528
+ "name": "submitMovingFundsProof",
1529
+ "outputs": [],
1530
+ "stateMutability": "nonpayable",
1531
+ "type": "function"
1532
+ },
1533
+ {
1534
+ "inputs": [
1535
+ {
1536
+ "components": [
1537
+ {
1538
+ "internalType": "bytes4",
1539
+ "name": "version",
1540
+ "type": "bytes4"
1541
+ },
1542
+ {
1543
+ "internalType": "bytes",
1544
+ "name": "inputVector",
1545
+ "type": "bytes"
1546
+ },
1547
+ {
1548
+ "internalType": "bytes",
1549
+ "name": "outputVector",
1550
+ "type": "bytes"
1551
+ },
1552
+ {
1553
+ "internalType": "bytes4",
1554
+ "name": "locktime",
1555
+ "type": "bytes4"
1556
+ }
1557
+ ],
1558
+ "internalType": "struct BitcoinTx.Info",
1559
+ "name": "redemptionTx",
1560
+ "type": "tuple"
1561
+ },
1562
+ {
1563
+ "components": [
1564
+ {
1565
+ "internalType": "bytes",
1566
+ "name": "merkleProof",
1567
+ "type": "bytes"
1568
+ },
1569
+ {
1570
+ "internalType": "uint256",
1571
+ "name": "txIndexInBlock",
1572
+ "type": "uint256"
1573
+ },
1574
+ {
1575
+ "internalType": "bytes",
1576
+ "name": "bitcoinHeaders",
1577
+ "type": "bytes"
1578
+ }
1579
+ ],
1580
+ "internalType": "struct BitcoinTx.Proof",
1581
+ "name": "redemptionProof",
1582
+ "type": "tuple"
1583
+ },
1584
+ {
1585
+ "components": [
1586
+ {
1587
+ "internalType": "bytes32",
1588
+ "name": "txHash",
1589
+ "type": "bytes32"
1590
+ },
1591
+ {
1592
+ "internalType": "uint32",
1593
+ "name": "txOutputIndex",
1594
+ "type": "uint32"
1595
+ },
1596
+ {
1597
+ "internalType": "uint64",
1598
+ "name": "txOutputValue",
1599
+ "type": "uint64"
1600
+ }
1601
+ ],
1602
+ "internalType": "struct BitcoinTx.UTXO",
1603
+ "name": "mainUtxo",
1604
+ "type": "tuple"
1605
+ },
1606
+ {
1607
+ "internalType": "bytes20",
1608
+ "name": "walletPubKeyHash",
1609
+ "type": "bytes20"
1610
+ }
1611
+ ],
1612
+ "name": "submitRedemptionProof",
1613
+ "outputs": [],
1614
+ "stateMutability": "nonpayable",
1615
+ "type": "function"
1616
+ },
1617
+ {
1618
+ "inputs": [
1619
+ {
1620
+ "components": [
1621
+ {
1622
+ "internalType": "bytes4",
1623
+ "name": "version",
1624
+ "type": "bytes4"
1625
+ },
1626
+ {
1627
+ "internalType": "bytes",
1628
+ "name": "inputVector",
1629
+ "type": "bytes"
1630
+ },
1631
+ {
1632
+ "internalType": "bytes",
1633
+ "name": "outputVector",
1634
+ "type": "bytes"
1635
+ },
1636
+ {
1637
+ "internalType": "bytes4",
1638
+ "name": "locktime",
1639
+ "type": "bytes4"
1640
+ }
1641
+ ],
1642
+ "internalType": "struct BitcoinTx.Info",
1643
+ "name": "sweepTx",
1644
+ "type": "tuple"
1645
+ },
1646
+ {
1647
+ "components": [
1648
+ {
1649
+ "internalType": "bytes",
1650
+ "name": "merkleProof",
1651
+ "type": "bytes"
1652
+ },
1653
+ {
1654
+ "internalType": "uint256",
1655
+ "name": "txIndexInBlock",
1656
+ "type": "uint256"
1657
+ },
1658
+ {
1659
+ "internalType": "bytes",
1660
+ "name": "bitcoinHeaders",
1661
+ "type": "bytes"
1662
+ }
1663
+ ],
1664
+ "internalType": "struct BitcoinTx.Proof",
1665
+ "name": "sweepProof",
1666
+ "type": "tuple"
1667
+ },
1668
+ {
1669
+ "components": [
1670
+ {
1671
+ "internalType": "bytes32",
1672
+ "name": "txHash",
1673
+ "type": "bytes32"
1674
+ },
1675
+ {
1676
+ "internalType": "uint32",
1677
+ "name": "txOutputIndex",
1678
+ "type": "uint32"
1679
+ },
1680
+ {
1681
+ "internalType": "uint64",
1682
+ "name": "txOutputValue",
1683
+ "type": "uint64"
1684
+ }
1685
+ ],
1686
+ "internalType": "struct BitcoinTx.UTXO",
1687
+ "name": "mainUtxo",
1688
+ "type": "tuple"
1689
+ }
1690
+ ],
1691
+ "name": "submitSweepProof",
1692
+ "outputs": [],
1693
+ "stateMutability": "nonpayable",
1694
+ "type": "function"
1695
+ },
1696
+ {
1697
+ "inputs": [
1698
+ {
1699
+ "internalType": "uint256",
1700
+ "name": "redemptionKey",
1701
+ "type": "uint256"
1702
+ }
1703
+ ],
1704
+ "name": "timedOutRedemptions",
1705
+ "outputs": [
1706
+ {
1707
+ "components": [
1708
+ {
1709
+ "internalType": "address",
1710
+ "name": "redeemer",
1711
+ "type": "address"
1712
+ },
1713
+ {
1714
+ "internalType": "uint64",
1715
+ "name": "requestedAmount",
1716
+ "type": "uint64"
1717
+ },
1718
+ {
1719
+ "internalType": "uint64",
1720
+ "name": "treasuryFee",
1721
+ "type": "uint64"
1722
+ },
1723
+ {
1724
+ "internalType": "uint64",
1725
+ "name": "txMaxFee",
1726
+ "type": "uint64"
1727
+ },
1728
+ {
1729
+ "internalType": "uint32",
1730
+ "name": "requestedAt",
1731
+ "type": "uint32"
1732
+ }
1733
+ ],
1734
+ "internalType": "struct Redemption.RedemptionRequest",
1735
+ "name": "",
1736
+ "type": "tuple"
1737
+ }
1738
+ ],
1739
+ "stateMutability": "view",
1740
+ "type": "function"
1741
+ },
1742
+ {
1743
+ "inputs": [
1744
+ {
1745
+ "internalType": "address",
1746
+ "name": "newGovernance",
1747
+ "type": "address"
1748
+ }
1749
+ ],
1750
+ "name": "transferGovernance",
1751
+ "outputs": [],
1752
+ "stateMutability": "nonpayable",
1753
+ "type": "function"
1754
+ },
1755
+ {
1756
+ "inputs": [],
1757
+ "name": "treasury",
1758
+ "outputs": [
1759
+ {
1760
+ "internalType": "address",
1761
+ "name": "",
1762
+ "type": "address"
1763
+ }
1764
+ ],
1765
+ "stateMutability": "view",
1766
+ "type": "function"
1767
+ },
1768
+ {
1769
+ "inputs": [],
1770
+ "name": "txProofDifficultyFactor",
1771
+ "outputs": [
1772
+ {
1773
+ "internalType": "uint256",
1774
+ "name": "",
1775
+ "type": "uint256"
1776
+ }
1777
+ ],
1778
+ "stateMutability": "view",
1779
+ "type": "function"
1780
+ },
1781
+ {
1782
+ "inputs": [
1783
+ {
1784
+ "internalType": "uint64",
1785
+ "name": "depositDustThreshold",
1786
+ "type": "uint64"
1787
+ },
1788
+ {
1789
+ "internalType": "uint64",
1790
+ "name": "depositTreasuryFeeDivisor",
1791
+ "type": "uint64"
1792
+ },
1793
+ {
1794
+ "internalType": "uint64",
1795
+ "name": "depositTxMaxFee",
1796
+ "type": "uint64"
1797
+ }
1798
+ ],
1799
+ "name": "updateDepositParameters",
1800
+ "outputs": [],
1801
+ "stateMutability": "nonpayable",
1802
+ "type": "function"
1803
+ },
1804
+ {
1805
+ "inputs": [
1806
+ {
1807
+ "internalType": "uint96",
1808
+ "name": "fraudSlashingAmount",
1809
+ "type": "uint96"
1810
+ },
1811
+ {
1812
+ "internalType": "uint256",
1813
+ "name": "fraudNotifierRewardMultiplier",
1814
+ "type": "uint256"
1815
+ },
1816
+ {
1817
+ "internalType": "uint256",
1818
+ "name": "fraudChallengeDefeatTimeout",
1819
+ "type": "uint256"
1820
+ },
1821
+ {
1822
+ "internalType": "uint256",
1823
+ "name": "fraudChallengeDepositAmount",
1824
+ "type": "uint256"
1825
+ }
1826
+ ],
1827
+ "name": "updateFraudParameters",
1828
+ "outputs": [],
1829
+ "stateMutability": "nonpayable",
1830
+ "type": "function"
1831
+ },
1832
+ {
1833
+ "inputs": [
1834
+ {
1835
+ "internalType": "uint64",
1836
+ "name": "movingFundsTxMaxTotalFee",
1837
+ "type": "uint64"
1838
+ },
1839
+ {
1840
+ "internalType": "uint32",
1841
+ "name": "movingFundsTimeout",
1842
+ "type": "uint32"
1843
+ },
1844
+ {
1845
+ "internalType": "uint64",
1846
+ "name": "movingFundsDustThreshold",
1847
+ "type": "uint64"
1848
+ }
1849
+ ],
1850
+ "name": "updateMovingFundsParameters",
1851
+ "outputs": [],
1852
+ "stateMutability": "nonpayable",
1853
+ "type": "function"
1854
+ },
1855
+ {
1856
+ "inputs": [
1857
+ {
1858
+ "internalType": "uint64",
1859
+ "name": "redemptionDustThreshold",
1860
+ "type": "uint64"
1861
+ },
1862
+ {
1863
+ "internalType": "uint64",
1864
+ "name": "redemptionTreasuryFeeDivisor",
1865
+ "type": "uint64"
1866
+ },
1867
+ {
1868
+ "internalType": "uint64",
1869
+ "name": "redemptionTxMaxFee",
1870
+ "type": "uint64"
1871
+ },
1872
+ {
1873
+ "internalType": "uint256",
1874
+ "name": "redemptionTimeout",
1875
+ "type": "uint256"
1876
+ }
1877
+ ],
1878
+ "name": "updateRedemptionParameters",
1879
+ "outputs": [],
1880
+ "stateMutability": "nonpayable",
1881
+ "type": "function"
1882
+ },
1883
+ {
1884
+ "inputs": [
1885
+ {
1886
+ "internalType": "uint32",
1887
+ "name": "walletCreationPeriod",
1888
+ "type": "uint32"
1889
+ },
1890
+ {
1891
+ "internalType": "uint64",
1892
+ "name": "walletCreationMinBtcBalance",
1893
+ "type": "uint64"
1894
+ },
1895
+ {
1896
+ "internalType": "uint64",
1897
+ "name": "walletCreationMaxBtcBalance",
1898
+ "type": "uint64"
1899
+ },
1900
+ {
1901
+ "internalType": "uint64",
1902
+ "name": "walletClosureMinBtcBalance",
1903
+ "type": "uint64"
1904
+ },
1905
+ {
1906
+ "internalType": "uint32",
1907
+ "name": "walletMaxAge",
1908
+ "type": "uint32"
1909
+ },
1910
+ {
1911
+ "internalType": "uint64",
1912
+ "name": "walletMaxBtcTransfer",
1913
+ "type": "uint64"
1914
+ },
1915
+ {
1916
+ "internalType": "uint32",
1917
+ "name": "walletClosingPeriod",
1918
+ "type": "uint32"
1919
+ }
1920
+ ],
1921
+ "name": "updateWalletParameters",
1922
+ "outputs": [],
1923
+ "stateMutability": "nonpayable",
1924
+ "type": "function"
1925
+ },
1926
+ {
1927
+ "inputs": [],
1928
+ "name": "walletParameters",
1929
+ "outputs": [
1930
+ {
1931
+ "internalType": "uint32",
1932
+ "name": "walletCreationPeriod",
1933
+ "type": "uint32"
1934
+ },
1935
+ {
1936
+ "internalType": "uint64",
1937
+ "name": "walletCreationMinBtcBalance",
1938
+ "type": "uint64"
1939
+ },
1940
+ {
1941
+ "internalType": "uint64",
1942
+ "name": "walletCreationMaxBtcBalance",
1943
+ "type": "uint64"
1944
+ },
1945
+ {
1946
+ "internalType": "uint64",
1947
+ "name": "walletClosureMinBtcBalance",
1948
+ "type": "uint64"
1949
+ },
1950
+ {
1951
+ "internalType": "uint32",
1952
+ "name": "walletMaxAge",
1953
+ "type": "uint32"
1954
+ },
1955
+ {
1956
+ "internalType": "uint64",
1957
+ "name": "walletMaxBtcTransfer",
1958
+ "type": "uint64"
1959
+ },
1960
+ {
1961
+ "internalType": "uint32",
1962
+ "name": "walletClosingPeriod",
1963
+ "type": "uint32"
1964
+ }
1965
+ ],
1966
+ "stateMutability": "view",
1967
+ "type": "function"
1968
+ },
1969
+ {
1970
+ "inputs": [
1971
+ {
1972
+ "internalType": "bytes20",
1973
+ "name": "walletPubKeyHash",
1974
+ "type": "bytes20"
1975
+ }
1976
+ ],
1977
+ "name": "wallets",
1978
+ "outputs": [
1979
+ {
1980
+ "components": [
1981
+ {
1982
+ "internalType": "bytes32",
1983
+ "name": "ecdsaWalletID",
1984
+ "type": "bytes32"
1985
+ },
1986
+ {
1987
+ "internalType": "bytes32",
1988
+ "name": "mainUtxoHash",
1989
+ "type": "bytes32"
1990
+ },
1991
+ {
1992
+ "internalType": "uint64",
1993
+ "name": "pendingRedemptionsValue",
1994
+ "type": "uint64"
1995
+ },
1996
+ {
1997
+ "internalType": "uint32",
1998
+ "name": "createdAt",
1999
+ "type": "uint32"
2000
+ },
2001
+ {
2002
+ "internalType": "uint32",
2003
+ "name": "movingFundsRequestedAt",
2004
+ "type": "uint32"
2005
+ },
2006
+ {
2007
+ "internalType": "uint32",
2008
+ "name": "closingStartedAt",
2009
+ "type": "uint32"
2010
+ },
2011
+ {
2012
+ "internalType": "enum Wallets.WalletState",
2013
+ "name": "state",
2014
+ "type": "uint8"
2015
+ },
2016
+ {
2017
+ "internalType": "bytes32",
2018
+ "name": "movingFundsTargetWalletsCommitmentHash",
2019
+ "type": "bytes32"
2020
+ }
2021
+ ],
2022
+ "internalType": "struct Wallets.Wallet",
2023
+ "name": "",
2024
+ "type": "tuple"
2025
+ }
2026
+ ],
2027
+ "stateMutability": "view",
2028
+ "type": "function"
2029
+ }
2030
+ ],
2031
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162003b3f38038062003b3f83398101604081905262000034916200038c565b6001600160a01b038516620000905760405162461bcd60e51b815260206004820152601b60248201527f42616e6b20616464726573732063616e6e6f74206265207a65726f000000000060448201526064015b60405180910390fd5b600180546001600160a01b0319166001600160a01b03878116919091179091558416620001005760405162461bcd60e51b815260206004820152601c60248201527f52656c617920616464726573732063616e6e6f74206265207a65726f00000000604482015260640162000087565b600280546001600160a01b0319166001600160a01b03868116919091179091558216620001855760405162461bcd60e51b815260206004820152602c60248201527f45434453412057616c6c6574205265676973747279206164647265737320636160448201526b6e6e6f74206265207a65726f60a01b606482015260840162000087565b600380546001600160a01b0319166001600160a01b03848116919091179091558316620001f55760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265207a65726f00604482015260640162000087565b600580546004839055613d0960a61b6001600160e01b03199182166001600160a01b03871617179091556006805469271000000000000007d06001600160801b0319918216811790925560098054600a80549093169093179091556202a300600b55760f42400000000000004e2000093a80000000000000271091909216179055600e80546001600160601b03191669021e19e0c9bab24000001790556064600f5562093a80601055671bc16d674ec800006011557eeff1000000000002faf08000000002540be4000000000005f5e10000093a8060145560158054621dcd6560c91b6001600160c01b039091161790556016805463ffffffff19166234bc0017905562000303336200030e565b5050505050620003f3565b600080546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80910160405180910390a15050565b80516001600160a01b03811681146200038757600080fd5b919050565b600080600080600060a08688031215620003a557600080fd5b620003b0866200036f565b9450620003c0602087016200036f565b9350620003d0604087016200036f565b9250620003e0606087016200036f565b9150608086015190509295509295909350565b61373c80620004036000396000f3fe6080604052600436106102d15760003560e01c80636e70ce4111610179578063b02c43d0116100d6578063c8b5d2db1161008a578063ded1d24a11610064578063ded1d24a14610cee578063e53c0b5514610d1f578063e65e19d514610d5857600080fd5b8063c8b5d2db14610c8e578063d38bfff414610cae578063d6eccdf014610cce57600080fd5b8063b34b3216116100bb578063b34b321614610bd7578063be05abe314610bf7578063c42b64d014610c4257600080fd5b8063b02c43d014610a52578063b2146cd614610b9757600080fd5b806396db25371161012d578063a8fa0f4211610112578063a8fa0f42146109d2578063a9de2f3a146109f2578063abaeed8f14610a3257600080fd5b806396db253714610992578063a145e2d5146109b257600080fd5b806377145f211161015e57806377145f2114610932578063883d6a11146109525780638c3992dd1461097257600080fd5b80636e70ce411461087557806375b922d1146108ea57600080fd5b80633dce9812116102325780635c0b4812116101e657806361d027b3116101c057806361d027b31461082457806367f27247146108425780636d02b43c1461086257600080fd5b80635c0b48121461074757806360d712fc1461076757806361ccf97a1461078757600080fd5b8063575e427911610217578063575e4279146106cf57806359a9d90a146106ef5780635aa6e6751461070f57600080fd5b80633dce98121461068f5780634fb1b4c6146106af57600080fd5b806324028c11116102895780632f429b641161026e5780632f429b6414610570578063319a33a91461059057806333e957cb146105b057600080fd5b806324028c11146105205780632bb818c21461055257600080fd5b80630b6ba19d116102ba5780630b6ba19d1461042257806310760882146104e057806317c964001461050057600080fd5b806303d952f7146102d657806307f7d22314610400575b600080fd5b3480156102e257600080fd5b506103946102f1366004612866565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600c6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b6040516103f79190600060a0820190506001600160a01b038351168252602083015167ffffffffffffffff8082166020850152806040860151166040850152806060860151166060850152505063ffffffff608084015116608083015292915050565b60405180910390f35b34801561040c57600080fd5b5061042061041b3660046128b9565b610d85565b005b34801561042e57600080fd5b5061039461043d366004612866565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600d6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b3480156104ec57600080fd5b506104206104fb3660046128ed565b610e0e565b34801561050c57600080fd5b5061042061051b366004612951565b610e81565b34801561052c57600080fd5b50601554600160a01b900463ffffffff1660405163ffffffff90911681526020016103f7565b34801561055e57600080fd5b506004546040519081526020016103f7565b34801561057c57600080fd5b5061042061058b3660046129a6565b610eed565b34801561059c57600080fd5b506104206105ab366004612a2c565b610f7a565b3480156105bc57600080fd5b5061064b6105cb366004612866565b60408051608081018252600080825260208201819052918101829052606081019190915250600090815260126020908152604091829020825160808101845281546001600160a01b031681526001820154928101929092526002015463ffffffff81169282019290925264010000000090910460ff161515606082015290565b6040516103f7919081516001600160a01b031681526020808301519082015260408083015163ffffffff169082015260609182015115159181019190915260800190565b34801561069b57600080fd5b506104206106aa366004612a4e565b61100f565b3480156106bb57600080fd5b506104206106ca366004612b08565b61109f565b3480156106db57600080fd5b506104206106ea3660046128b9565b611131565b3480156106fb57600080fd5b5061042061070a366004612b7c565b611186565b34801561071b57600080fd5b5060005461072f906001600160a01b031681565b6040516001600160a01b0390911681526020016103f7565b34801561075357600080fd5b50610420610762366004612be8565b6111dd565b34801561077357600080fd5b50610420610782366004612c6a565b611232565b34801561079357600080fd5b506014546015546016546040805163ffffffff808616825267ffffffffffffffff640100000000870481166020840152600160601b8704811693830193909352600160a01b860483166060830152600160e01b9095048516608082015278010000000000000000000000000000000000000000000000009093041660a08301529190911660c082015260e0016103f7565b34801561083057600080fd5b506005546001600160a01b031661072f565b34801561084e57600080fd5b5061042061085d366004612c94565b6112eb565b610420610870366004612ce7565b611342565b34801561088157600080fd5b506108b4600954600a54600b5467ffffffffffffffff600160a01b90930483169382841693600160401b90930490921691565b6040516103f7949392919067ffffffffffffffff9485168152928416602084015292166040820152606081019190915260800190565b3480156108f657600080fd5b50600e54600f54601054601154604080516bffffffffffffffffffffffff909516855260208501939093529183015260608201526080016103f7565b34801561093e57600080fd5b5061042061094d366004612d3a565b61139b565b34801561095e57600080fd5b5061042061096d366004612dcf565b6113f6565b34801561097e57600080fd5b5061042061098d366004612e55565b611461565b34801561099e57600080fd5b506104206109ad366004612e81565b6114c8565b3480156109be57600080fd5b506104206109cd366004612ecc565b611530565b3480156109de57600080fd5b506104206109ed366004612a4e565b611583565b3480156109fe57600080fd5b50600154600254600354604080516001600160a01b03948516815292841660208401529216918101919091526060016103f7565b348015610a3e57600080fd5b50610420610a4d366004612ee8565b6115e9565b348015610a5e57600080fd5b50610b21610a6d366004612866565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915250600090815260076020908152604091829020825160c08101845281546001600160a01b03808216835267ffffffffffffffff600160a01b80840482169685019690965263ffffffff600160e01b938490048116978501979097526001949094015490811660608401529384049092166080820152910490911660a082015290565b6040516103f79190600060c0820190506001600160a01b03808451168352602084015167ffffffffffffffff80821660208601526040860151915063ffffffff80831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b348015610ba357600080fd5b50610bc7610bb2366004612866565b60009081526013602052604090205460ff1690565b60405190151581526020016103f7565b348015610be357600080fd5b50610420610bf23660046129a6565b611681565b348015610c0357600080fd5b506009546040805167ffffffffffffffff808416825263ffffffff600160401b8504166020830152600160601b909304909216908201526060016103f7565b348015610c4e57600080fd5b5060055460065460408051600160a01b90930467ffffffffffffffff90811684528083166020850152600160401b909204909116908201526060016103f7565b348015610c9a57600080fd5b50610420610ca9366004612a2c565b6116da565b348015610cba57600080fd5b50610420610cc9366004612f84565b6116e8565b348015610cda57600080fd5b50610420610ce9366004612f9f565b6117c7565b348015610cfa57600080fd5b5060155460601b6040516bffffffffffffffffffffffff1990911681526020016103f7565b348015610d2b57600080fd5b50610bc7610d3a366004612f84565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610d6457600080fd5b50610d78610d73366004612a2c565b611822565b6040516103f79190613020565b6040517f260b6cde00000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063260b6cde90610dda90600190869086906004016130eb565b60006040518083038186803b158015610df257600080fd5b505af4158015610e06573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610e6d5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e63650000000060448201526064015b60405180910390fd5b610e7b60018585858561192c565b50505050565b6000546001600160a01b03163314610edb5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b610ee86001848484611aa7565b505050565b6040517e92bac900000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__906292bac990610f449060019088908890889088906004016132a7565b60006040518083038186803b158015610f5c57600080fd5b505af4158015610f70573d6000803e3d6000fd5b5050505050505050565b6040517fb45b31d5000000000000000000000000000000000000000000000000000000008152600160048201526bffffffffffffffffffffffff198216602482015273__$edce581bb06331cf4dae1387760565e5d1$__9063b45b31d5906044015b60006040518083038186803b158015610ff457600080fd5b505af4158015611008573d6000803e3d6000fd5b5050505050565b6040517fc87de7f400000000000000000000000000000000000000000000000000000000815260016004820152602481018390526044810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063c87de7f4906064015b60006040518083038186803b15801561108257600080fd5b505af4158015611096573d6000803e3d6000fd5b50505050505050565b6040517f89b43a8600000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__906389b43a86906110fa9060019089908990899089908990600401613345565b60006040518083038186803b15801561111257600080fd5b505af4158015611126573d6000803e3d6000fd5b505050505050505050565b6040517f99b0b84700000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__906399b0b84790610dda90600190869086906004016130eb565b6040517f510fc50a00000000000000000000000000000000000000000000000000000000815273__$61f169726e973bba1227e0c23d2755f88e$__9063510fc50a9061106a90600190879087908790600401613386565b6040517faea7fd0b00000000000000000000000000000000000000000000000000000000815273__$894ce12e79ca3e5683c1b49e363f37fa22$__9063aea7fd0b90610dda90600190869086906004016133ca565b6000546001600160a01b0316331461128c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9065599c12c4294d9e2201638226d0d0beb95c228f468c4e7c2bdb8322b6066f910160405180910390a25050565b6040517f13d0c66800000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__906313d0c6689061106a90600190879087908790600401613507565b6040517f3b5d9f2400000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__90633b5d9f2490610f44906001908890889088908890600401613536565b6040517f624526fe00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__9063624526fe906110fa9060019089908990899089908990600401613590565b6000546001600160a01b031633146114505760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b611096600188888888888888611cdf565b6000546001600160a01b031633146114bb5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b610ee860018484846120af565b6000546001600160a01b031633146115225760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b610e7b6001858585856122d5565b6040517fd079fbb100000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063d079fbb190610fdc9060019085906004016135d3565b6040517f4afbe4c90000000000000000000000000000000000000000000000000000000081526001600482015260248101849052604481018390526064810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__90634afbe4c99060840161106a565b6040517fc8f7794300000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063c8f7794390611648906001908b908b908b908b908b908b908b906004016135e7565b60006040518083038186803b15801561166057600080fd5b505af4158015611674573d6000803e3d6000fd5b5050505050505050505050565b6040517fa164de6e00000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__9063a164de6e90610f449060019088908890889088906004016132a7565b6116e5600182612587565b50565b6000546001600160a01b031633146117425760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b6001600160a01b0381166117be5760405162461bcd60e51b815260206004820152602260248201527f4e657720676f7665726e616e636520697320746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610e64565b6116e5816126e4565b6040517f7333b36900000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__90637333b369906110fa9060019089908990899089908990600401613677565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526bffffffffffffffffffffffff19821660009081526017602090815260409182902082516101008101845281548152600182015492810192909252600281015467ffffffffffffffff81169383019390935263ffffffff600160401b840481166060840152600160601b840481166080840152600160801b84041660a0830152909160c083019060ff600160a01b9091041660058111156119065761190661300a565b60058111156119175761191761300a565b81526020016003820154815250509050919050565b60648311156119a35760405162461bcd60e51b815260206004820152603e60248201527f4672617564206e6f74696669657220726577617264206d756c7469706c69657260448201527f206d75737420626520696e207468652072616e6765205b302c203130305d00006064820152608401610e64565b60008211611a195760405162461bcd60e51b815260206004820152603860248201527f4672617564206368616c6c656e6765206465666561742074696d656f7574206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e64565b600d850180546bffffffffffffffffffffffff19166bffffffffffffffffffffffff8616908117909155600e8601849055600f86018390556010860182905560408051918252602082018590528101839052606081018290527f05a00d49ab61707f55232992ae68b57d8ed6e071aa0f9b88f992f19215a5f086906080015b60405180910390a15050505050565b60008367ffffffffffffffff1611611b275760405162461bcd60e51b815260206004820152603060248201527f4465706f7369742064757374207468726573686f6c64206d757374206265206760448201527f726561746572207468616e207a65726f000000000000000000000000000000006064820152608401610e64565b60008267ffffffffffffffff1611611ba75760405162461bcd60e51b815260206004820152603660248201527f4465706f736974207472656173757279206665652064697669736f72206d757360448201527f742062652067726561746572207468616e207a65726f000000000000000000006064820152608401610e64565b60008167ffffffffffffffff1611611c275760405162461bcd60e51b815260206004820152603560248201527f4465706f736974207472616e73616374696f6e206d617820666565206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e64565b6004840180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff868116918202929092179092556005860180548583166fffffffffffffffffffffffffffffffff199091168117600160401b938616938402179091556040805193845260208401919091528201527f1ced468902ca566e746a3c8c9516af81f8de9f1021c365083be9f2625ebfb7b5906060015b60405180910390a150505050565b8567ffffffffffffffff168567ffffffffffffffff1611611d8e5760405162461bcd60e51b815260206004820152605960248201527f57616c6c6574206372656174696f6e206d6178696d756d204254432062616c6160448201527f6e6365206d7573742062652067726561746572207468616e207468652063726560648201527f6174696f6e206d696e696d756d204254432062616c616e636500000000000000608482015260a401610e64565b60008467ffffffffffffffff1611611e0e5760405162461bcd60e51b815260206004820152603c60248201527f57616c6c657420636c6f73757265206d696e696d756d204254432062616c616e60448201527f6365206d7573742062652067726561746572207468616e207a65726f000000006064820152608401610e64565b60008267ffffffffffffffff1611611e8e5760405162461bcd60e51b815260206004820152603560248201527f57616c6c6574206d6178696d756d20425443207472616e73666572206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e64565b60008163ffffffff1611611f0a5760405162461bcd60e51b815260206004820152602f60248201527f57616c6c657420636c6f73696e6720706572696f64206d75737420626520677260448201527f6561746572207468616e207a65726f00000000000000000000000000000000006064820152608401610e64565b868860130160006101000a81548163ffffffff021916908363ffffffff160217905550858860130160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508488601301600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550838860130160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508288601301601c6101000a81548163ffffffff021916908363ffffffff160217905550818860140160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550808860150160006101000a81548163ffffffff021916908363ffffffff1602179055507fc7d3a9af08692aeae771c329fddd95c7237a9f76fec996325f3959eeff07d4ac8787878787878760405161209d979695949392919063ffffffff978816815267ffffffffffffffff968716602082015294861660408601529285166060850152908516608084015290921660a0820152911660c082015260e00190565b60405180910390a15050505050505050565b60008367ffffffffffffffff1611612131576040805162461bcd60e51b81526020600482015260248101919091527f4d6f76696e672066756e6473207472616e73616374696f6e206d617820746f7460448201527f616c20666565206d7573742062652067726561746572207468616e207a65726f6064820152608401610e64565b60008263ffffffff16116121ad5760405162461bcd60e51b815260206004820152602e60248201527f4d6f76696e672066756e64732074696d656f7574206d7573742062652067726560448201527f61746572207468616e207a65726f0000000000000000000000000000000000006064820152608401610e64565b60008167ffffffffffffffff161161222d5760405162461bcd60e51b815260206004820152603560248201527f4d6f76696e672066756e64732064757374207468726573686f6c64206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e64565b60088401805467ffffffffffffffff838116600160601b81027fffffffffffffffffffffffff0000000000000000ffffffffffffffffffffffff63ffffffff8816600160401b81026bffffffffffffffffffffffff19909616948a16948517959095171617909355604080519182526020820192909252908101919091527f3bc8e35585937de0df227d080c3587c7aadd7630aa377299d63a5bb67fc07d8a90606001611cd1565b60008467ffffffffffffffff16116123555760405162461bcd60e51b815260206004820152603360248201527f526564656d7074696f6e2064757374207468726573686f6c64206d757374206260448201527f652067726561746572207468616e207a65726f000000000000000000000000006064820152608401610e64565b60008367ffffffffffffffff16116123d55760405162461bcd60e51b815260206004820152603960248201527f526564656d7074696f6e207472656173757279206665652064697669736f722060448201527f6d7573742062652067726561746572207468616e207a65726f000000000000006064820152608401610e64565b60008267ffffffffffffffff16116124555760405162461bcd60e51b815260206004820152603860248201527f526564656d7074696f6e207472616e73616374696f6e206d617820666565206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e64565b600081116124cb5760405162461bcd60e51b815260206004820152602c60248201527f526564656d7074696f6e2074696d656f7574206d75737420626520677265617460448201527f6572207468616e207a65726f00000000000000000000000000000000000000006064820152608401610e64565b6008850180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff878116918202929092179092556009870180548683166fffffffffffffffffffffffffffffffff199091168117600160401b93871693840217909155600a8801849055604080519384526020840191909152820152606081018290527f92c7dd8c8e389aa6dd2d4ed3d2f1848abbaef487207c28f4c5c4990c5116ff1f90608001611a98565b6bffffffffffffffffffffffff1981166000908152601683016020526040902060036002820154600160a01b900460ff1660058111156125c9576125c961300a565b1461263c5760405162461bcd60e51b815260206004820152602560248201527f45434453412077616c6c6574206d75737420626520696e20436c6f73696e672060448201527f73746174650000000000000000000000000000000000000000000000000000006064820152608401610e64565b601583015460028201546126609163ffffffff90811691600160801b9004166136d0565b63ffffffff1642116126da5760405162461bcd60e51b815260206004820152602260248201527f436c6f73696e6720706572696f6420686173206e6f7420656c6170736564207960448201527f65740000000000000000000000000000000000000000000000000000000000006064820152608401610e64565b610ee8838361275d565b600080546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80910160405180910390a15050565b6bffffffffffffffffffffffff19811660008181526016840160205260408082206002810180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674040000000000000000000000000000000000000000179055805491519093927f47b159947c3066cb253f60e8f046cfd747411788a545cb189679e3fa1467b28d91a3600283015481546040517f343bb9270000000000000000000000000000000000000000000000000000000081526001600160a01b039092169163343bb927916128389160040190815260200190565b600060405180830381600087803b15801561285257600080fd5b505af1158015611096573d6000803e3d6000fd5b60006020828403121561287857600080fd5b5035919050565b80356bffffffffffffffffffffffff198116811461289c57600080fd5b919050565b6000606082840312156128b357600080fd5b50919050565b600080608083850312156128cc57600080fd5b6128d58361287f565b91506128e484602085016128a1565b90509250929050565b6000806000806080858703121561290357600080fd5b84356bffffffffffffffffffffffff8116811461291f57600080fd5b966020860135965060408601359560600135945092505050565b803567ffffffffffffffff8116811461289c57600080fd5b60008060006060848603121561296657600080fd5b61296f84612939565b925061297d60208501612939565b915061298b60408501612939565b90509250925092565b6000608082840312156128b357600080fd5b60008060008060c085870312156129bc57600080fd5b843567ffffffffffffffff808211156129d457600080fd5b6129e088838901612994565b955060208701359150808211156129f657600080fd5b50612a03878288016128a1565b935050612a1386604087016128a1565b9150612a2160a0860161287f565b905092959194509250565b600060208284031215612a3e57600080fd5b612a478261287f565b9392505050565b600080600060608486031215612a6357600080fd5b505081359360208301359350604090920135919050565b60008083601f840112612a8c57600080fd5b50813567ffffffffffffffff811115612aa457600080fd5b602083019150836020828501011115612abc57600080fd5b9250929050565b60008083601f840112612ad557600080fd5b50813567ffffffffffffffff811115612aed57600080fd5b6020830191508360208260051b8501011115612abc57600080fd5b600080600080600060608688031215612b2057600080fd5b853567ffffffffffffffff80821115612b3857600080fd5b612b4489838a01612a7a565b90975095506020880135915080821115612b5d57600080fd5b50612b6a88828901612ac3565b96999598509660400135949350505050565b600080600060a08486031215612b9157600080fd5b833567ffffffffffffffff80821115612ba957600080fd5b612bb587838801612994565b94506020860135915080821115612bcb57600080fd5b50612bd8868287016128a1565b92505061298b85604086016128a1565b600080828403610100811215612bfd57600080fd5b833567ffffffffffffffff811115612c1457600080fd5b612c2086828701612994565b93505060e0601f1982011215612c3557600080fd5b506020830190509250929050565b80356001600160a01b038116811461289c57600080fd5b8035801515811461289c57600080fd5b60008060408385031215612c7d57600080fd5b612c8683612c43565b91506128e460208401612c5a565b600080600060408486031215612ca957600080fd5b612cb28461287f565b9250602084013567ffffffffffffffff811115612cce57600080fd5b612cda86828701612a7a565b9497909650939450505050565b60008060008060a08587031215612cfd57600080fd5b843567ffffffffffffffff811115612d1457600080fd5b612d2087828801612a7a565b90955093505060208501359150612a2186604087016128a1565b600080600080600060608688031215612d5257600080fd5b853567ffffffffffffffff80821115612d6a57600080fd5b612d7689838a01612a7a565b90975095506020880135915080821115612d8f57600080fd5b50612d9c88828901612a7a565b9094509250612daf905060408701612c5a565b90509295509295909350565b803563ffffffff8116811461289c57600080fd5b600080600080600080600060e0888a031215612dea57600080fd5b612df388612dbb565b9650612e0160208901612939565b9550612e0f60408901612939565b9450612e1d60608901612939565b9350612e2b60808901612dbb565b9250612e3960a08901612939565b9150612e4760c08901612dbb565b905092959891949750929550565b600080600060608486031215612e6a57600080fd5b612e7384612939565b925061297d60208501612dbb565b60008060008060808587031215612e9757600080fd5b612ea085612939565b9350612eae60208601612939565b9250612ebc60408601612939565b9396929550929360600135925050565b600060608284031215612ede57600080fd5b612a4783836128a1565b600080600080600080600060e0888a031215612f0357600080fd5b612f0c8861287f565b9650612f1b8960208a016128a1565b9550608088013567ffffffffffffffff80821115612f3857600080fd5b612f448b838c01612ac3565b909750955060a08a0135945060c08a0135915080821115612f6457600080fd5b50612f718a828b01612ac3565b989b979a50959850939692959293505050565b600060208284031215612f9657600080fd5b612a4782612c43565b600080600080600060c08688031215612fb757600080fd5b612fc08661287f565b9450612fcf87602088016128a1565b9350608086013567ffffffffffffffff811115612feb57600080fd5b612ff788828901612a7a565b9094509250612daf905060a08701612939565b634e487b7160e01b600052602160045260246000fd5b600061010082019050825182526020830151602083015267ffffffffffffffff6040840151166040830152606083015163ffffffff80821660608501528060808601511660808501528060a08601511660a0850152505060c08301516006811061309a57634e487b7160e01b600052602160045260246000fd5b8060c08401525060e083015160e083015292915050565b8035825263ffffffff6130c660208301612dbb565b16602083015267ffffffffffffffff6130e160408301612939565b1660408301525050565b8381526bffffffffffffffffffffffff198316602082015260a0810161311460408301846130b1565b949350505050565b80357fffffffff000000000000000000000000000000000000000000000000000000008116811461289c57600080fd5b6000808335601e1984360301811261316357600080fd5b830160208101925035905067ffffffffffffffff81111561318357600080fd5b803603831315612abc57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60007fffffffff00000000000000000000000000000000000000000000000000000000806131e88461311c565b1684526131f8602084018461314c565b6080602087015261320d608087018284613192565b91505061321d604085018561314c565b8683036040880152613230838284613192565b92505050816132416060860161311c565b166060860152809250505092915050565b600061325e828361314c565b60608552613270606086018284613192565b9150506020830135602085015261328a604084018461314c565b858303604087015261329d838284613192565b9695505050505050565b85815260e0602082015260006132c060e08301876131bb565b82810360408401526132d28187613252565b9150506132e260608301856130b1565b6bffffffffffffffffffffffff19831660c08301529695505050505050565b8183526000602080850194508260005b8581101561333a5763ffffffff61332783612dbb565b1687529582019590820190600101613311565b509495945050505050565b86815260806020820152600061335f608083018789613192565b8281036040840152613372818688613301565b915050826060830152979650505050505050565b84815260c06020820152600061339f60c08301866131bb565b82810360408401526133b18186613252565b9150506133c160608301846130b1565b95945050505050565b60006101208583528060208401526133e4818401866131bb565b91505063ffffffff6133f584612dbb565b1660408301526001600160a01b0361340f60208501612c43565b16606083015260408301357fffffffffffffffff0000000000000000000000000000000000000000000000008116811461344857600080fd5b7fffffffffffffffff00000000000000000000000000000000000000000000000016608083015261347b6060840161287f565b6bffffffffffffffffffffffff191660a083015261349b6080840161287f565b6bffffffffffffffffffffffff191660c08301526134bb60a0840161311c565b7fffffffff000000000000000000000000000000000000000000000000000000001660e08301526134ee60c08401612c43565b6001600160a01b03811661010084015250949350505050565b8481526bffffffffffffffffffffffff198416602082015260606040820152600061329d606083018486613192565b85815260c06020820152600061355060c083018688613192565b90508360408301528235606083015260208301356080830152604083013560ff811680821461357e57600080fd5b8060a085015250509695505050505050565b8681526080602082015260006135aa608083018789613192565b82810360408401526135bd818688613192565b9150508215156060830152979650505050505050565b82815260808101612a4760208301846130b1565b60006101008a835260206bffffffffffffffffffffffff19808c1682860152613613604086018c6130b1565b8260a08601526136268386018a8c613301565b60c0860189905285810360e0870152868152879350820160005b8781101561366557826136528661287f565b1682529383019390830190600101613640565b509d9c50505050505050505050505050565b8681526bffffffffffffffffffffffff198616602082015261369c60408201866130b1565b60e060a082015260006136b360e083018587613192565b905067ffffffffffffffff831660c0830152979650505050505050565b600063ffffffff8083168185168083038211156136fd57634e487b7160e01b600052601160045260246000fd5b0194935050505056fea2646970667358221220840c031e770db78ad0c28b91bda8facaa31dd61b85d6a2eed88660291d63af2d64736f6c63430008090033",
2032
+ "deployedBytecode": "0x6080604052600436106102d15760003560e01c80636e70ce4111610179578063b02c43d0116100d6578063c8b5d2db1161008a578063ded1d24a11610064578063ded1d24a14610cee578063e53c0b5514610d1f578063e65e19d514610d5857600080fd5b8063c8b5d2db14610c8e578063d38bfff414610cae578063d6eccdf014610cce57600080fd5b8063b34b3216116100bb578063b34b321614610bd7578063be05abe314610bf7578063c42b64d014610c4257600080fd5b8063b02c43d014610a52578063b2146cd614610b9757600080fd5b806396db25371161012d578063a8fa0f4211610112578063a8fa0f42146109d2578063a9de2f3a146109f2578063abaeed8f14610a3257600080fd5b806396db253714610992578063a145e2d5146109b257600080fd5b806377145f211161015e57806377145f2114610932578063883d6a11146109525780638c3992dd1461097257600080fd5b80636e70ce411461087557806375b922d1146108ea57600080fd5b80633dce9812116102325780635c0b4812116101e657806361d027b3116101c057806361d027b31461082457806367f27247146108425780636d02b43c1461086257600080fd5b80635c0b48121461074757806360d712fc1461076757806361ccf97a1461078757600080fd5b8063575e427911610217578063575e4279146106cf57806359a9d90a146106ef5780635aa6e6751461070f57600080fd5b80633dce98121461068f5780634fb1b4c6146106af57600080fd5b806324028c11116102895780632f429b641161026e5780632f429b6414610570578063319a33a91461059057806333e957cb146105b057600080fd5b806324028c11146105205780632bb818c21461055257600080fd5b80630b6ba19d116102ba5780630b6ba19d1461042257806310760882146104e057806317c964001461050057600080fd5b806303d952f7146102d657806307f7d22314610400575b600080fd5b3480156102e257600080fd5b506103946102f1366004612866565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600c6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b6040516103f79190600060a0820190506001600160a01b038351168252602083015167ffffffffffffffff8082166020850152806040860151166040850152806060860151166060850152505063ffffffff608084015116608083015292915050565b60405180910390f35b34801561040c57600080fd5b5061042061041b3660046128b9565b610d85565b005b34801561042e57600080fd5b5061039461043d366004612866565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506000908152600d6020908152604091829020825160a08101845281546001600160a01b0381168252600160a01b900467ffffffffffffffff9081169382019390935260019091015480831693820193909352600160401b83049091166060820152600160801b90910463ffffffff16608082015290565b3480156104ec57600080fd5b506104206104fb3660046128ed565b610e0e565b34801561050c57600080fd5b5061042061051b366004612951565b610e81565b34801561052c57600080fd5b50601554600160a01b900463ffffffff1660405163ffffffff90911681526020016103f7565b34801561055e57600080fd5b506004546040519081526020016103f7565b34801561057c57600080fd5b5061042061058b3660046129a6565b610eed565b34801561059c57600080fd5b506104206105ab366004612a2c565b610f7a565b3480156105bc57600080fd5b5061064b6105cb366004612866565b60408051608081018252600080825260208201819052918101829052606081019190915250600090815260126020908152604091829020825160808101845281546001600160a01b031681526001820154928101929092526002015463ffffffff81169282019290925264010000000090910460ff161515606082015290565b6040516103f7919081516001600160a01b031681526020808301519082015260408083015163ffffffff169082015260609182015115159181019190915260800190565b34801561069b57600080fd5b506104206106aa366004612a4e565b61100f565b3480156106bb57600080fd5b506104206106ca366004612b08565b61109f565b3480156106db57600080fd5b506104206106ea3660046128b9565b611131565b3480156106fb57600080fd5b5061042061070a366004612b7c565b611186565b34801561071b57600080fd5b5060005461072f906001600160a01b031681565b6040516001600160a01b0390911681526020016103f7565b34801561075357600080fd5b50610420610762366004612be8565b6111dd565b34801561077357600080fd5b50610420610782366004612c6a565b611232565b34801561079357600080fd5b506014546015546016546040805163ffffffff808616825267ffffffffffffffff640100000000870481166020840152600160601b8704811693830193909352600160a01b860483166060830152600160e01b9095048516608082015278010000000000000000000000000000000000000000000000009093041660a08301529190911660c082015260e0016103f7565b34801561083057600080fd5b506005546001600160a01b031661072f565b34801561084e57600080fd5b5061042061085d366004612c94565b6112eb565b610420610870366004612ce7565b611342565b34801561088157600080fd5b506108b4600954600a54600b5467ffffffffffffffff600160a01b90930483169382841693600160401b90930490921691565b6040516103f7949392919067ffffffffffffffff9485168152928416602084015292166040820152606081019190915260800190565b3480156108f657600080fd5b50600e54600f54601054601154604080516bffffffffffffffffffffffff909516855260208501939093529183015260608201526080016103f7565b34801561093e57600080fd5b5061042061094d366004612d3a565b61139b565b34801561095e57600080fd5b5061042061096d366004612dcf565b6113f6565b34801561097e57600080fd5b5061042061098d366004612e55565b611461565b34801561099e57600080fd5b506104206109ad366004612e81565b6114c8565b3480156109be57600080fd5b506104206109cd366004612ecc565b611530565b3480156109de57600080fd5b506104206109ed366004612a4e565b611583565b3480156109fe57600080fd5b50600154600254600354604080516001600160a01b03948516815292841660208401529216918101919091526060016103f7565b348015610a3e57600080fd5b50610420610a4d366004612ee8565b6115e9565b348015610a5e57600080fd5b50610b21610a6d366004612866565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915250600090815260076020908152604091829020825160c08101845281546001600160a01b03808216835267ffffffffffffffff600160a01b80840482169685019690965263ffffffff600160e01b938490048116978501979097526001949094015490811660608401529384049092166080820152910490911660a082015290565b6040516103f79190600060c0820190506001600160a01b03808451168352602084015167ffffffffffffffff80821660208601526040860151915063ffffffff80831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b348015610ba357600080fd5b50610bc7610bb2366004612866565b60009081526013602052604090205460ff1690565b60405190151581526020016103f7565b348015610be357600080fd5b50610420610bf23660046129a6565b611681565b348015610c0357600080fd5b506009546040805167ffffffffffffffff808416825263ffffffff600160401b8504166020830152600160601b909304909216908201526060016103f7565b348015610c4e57600080fd5b5060055460065460408051600160a01b90930467ffffffffffffffff90811684528083166020850152600160401b909204909116908201526060016103f7565b348015610c9a57600080fd5b50610420610ca9366004612a2c565b6116da565b348015610cba57600080fd5b50610420610cc9366004612f84565b6116e8565b348015610cda57600080fd5b50610420610ce9366004612f9f565b6117c7565b348015610cfa57600080fd5b5060155460601b6040516bffffffffffffffffffffffff1990911681526020016103f7565b348015610d2b57600080fd5b50610bc7610d3a366004612f84565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610d6457600080fd5b50610d78610d73366004612a2c565b611822565b6040516103f79190613020565b6040517f260b6cde00000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063260b6cde90610dda90600190869086906004016130eb565b60006040518083038186803b158015610df257600080fd5b505af4158015610e06573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610e6d5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e63650000000060448201526064015b60405180910390fd5b610e7b60018585858561192c565b50505050565b6000546001600160a01b03163314610edb5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b610ee86001848484611aa7565b505050565b6040517e92bac900000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__906292bac990610f449060019088908890889088906004016132a7565b60006040518083038186803b158015610f5c57600080fd5b505af4158015610f70573d6000803e3d6000fd5b5050505050505050565b6040517fb45b31d5000000000000000000000000000000000000000000000000000000008152600160048201526bffffffffffffffffffffffff198216602482015273__$edce581bb06331cf4dae1387760565e5d1$__9063b45b31d5906044015b60006040518083038186803b158015610ff457600080fd5b505af4158015611008573d6000803e3d6000fd5b5050505050565b6040517fc87de7f400000000000000000000000000000000000000000000000000000000815260016004820152602481018390526044810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063c87de7f4906064015b60006040518083038186803b15801561108257600080fd5b505af4158015611096573d6000803e3d6000fd5b50505050505050565b6040517f89b43a8600000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__906389b43a86906110fa9060019089908990899089908990600401613345565b60006040518083038186803b15801561111257600080fd5b505af4158015611126573d6000803e3d6000fd5b505050505050505050565b6040517f99b0b84700000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__906399b0b84790610dda90600190869086906004016130eb565b6040517f510fc50a00000000000000000000000000000000000000000000000000000000815273__$61f169726e973bba1227e0c23d2755f88e$__9063510fc50a9061106a90600190879087908790600401613386565b6040517faea7fd0b00000000000000000000000000000000000000000000000000000000815273__$894ce12e79ca3e5683c1b49e363f37fa22$__9063aea7fd0b90610dda90600190869086906004016133ca565b6000546001600160a01b0316331461128c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9065599c12c4294d9e2201638226d0d0beb95c228f468c4e7c2bdb8322b6066f910160405180910390a25050565b6040517f13d0c66800000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__906313d0c6689061106a90600190879087908790600401613507565b6040517f3b5d9f2400000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__90633b5d9f2490610f44906001908890889088908890600401613536565b6040517f624526fe00000000000000000000000000000000000000000000000000000000815273__$a542940934c03bae9a39609192cb25cc3c$__9063624526fe906110fa9060019089908990899089908990600401613590565b6000546001600160a01b031633146114505760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b611096600188888888888888611cdf565b6000546001600160a01b031633146114bb5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b610ee860018484846120af565b6000546001600160a01b031633146115225760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b610e7b6001858585856122d5565b6040517fd079fbb100000000000000000000000000000000000000000000000000000000815273__$0f118c52967a3847a37f0a2ef02ffcee04$__9063d079fbb190610fdc9060019085906004016135d3565b6040517f4afbe4c90000000000000000000000000000000000000000000000000000000081526001600482015260248101849052604481018390526064810182905273__$0f118c52967a3847a37f0a2ef02ffcee04$__90634afbe4c99060840161106a565b6040517fc8f7794300000000000000000000000000000000000000000000000000000000815273__$edce581bb06331cf4dae1387760565e5d1$__9063c8f7794390611648906001908b908b908b908b908b908b908b906004016135e7565b60006040518083038186803b15801561166057600080fd5b505af4158015611674573d6000803e3d6000fd5b5050505050505050505050565b6040517fa164de6e00000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__9063a164de6e90610f449060019088908890889088906004016132a7565b6116e5600182612587565b50565b6000546001600160a01b031633146117425760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520676f7665726e616e6365000000006044820152606401610e64565b6001600160a01b0381166117be5760405162461bcd60e51b815260206004820152602260248201527f4e657720676f7665726e616e636520697320746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610e64565b6116e5816126e4565b6040517f7333b36900000000000000000000000000000000000000000000000000000000815273__$9935b6ea18e0c526c293569ddd26842c9b$__90637333b369906110fa9060019089908990899089908990600401613677565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526bffffffffffffffffffffffff19821660009081526017602090815260409182902082516101008101845281548152600182015492810192909252600281015467ffffffffffffffff81169383019390935263ffffffff600160401b840481166060840152600160601b840481166080840152600160801b84041660a0830152909160c083019060ff600160a01b9091041660058111156119065761190661300a565b60058111156119175761191761300a565b81526020016003820154815250509050919050565b60648311156119a35760405162461bcd60e51b815260206004820152603e60248201527f4672617564206e6f74696669657220726577617264206d756c7469706c69657260448201527f206d75737420626520696e207468652072616e6765205b302c203130305d00006064820152608401610e64565b60008211611a195760405162461bcd60e51b815260206004820152603860248201527f4672617564206368616c6c656e6765206465666561742074696d656f7574206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e64565b600d850180546bffffffffffffffffffffffff19166bffffffffffffffffffffffff8616908117909155600e8601849055600f86018390556010860182905560408051918252602082018590528101839052606081018290527f05a00d49ab61707f55232992ae68b57d8ed6e071aa0f9b88f992f19215a5f086906080015b60405180910390a15050505050565b60008367ffffffffffffffff1611611b275760405162461bcd60e51b815260206004820152603060248201527f4465706f7369742064757374207468726573686f6c64206d757374206265206760448201527f726561746572207468616e207a65726f000000000000000000000000000000006064820152608401610e64565b60008267ffffffffffffffff1611611ba75760405162461bcd60e51b815260206004820152603660248201527f4465706f736974207472656173757279206665652064697669736f72206d757360448201527f742062652067726561746572207468616e207a65726f000000000000000000006064820152608401610e64565b60008167ffffffffffffffff1611611c275760405162461bcd60e51b815260206004820152603560248201527f4465706f736974207472616e73616374696f6e206d617820666565206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e64565b6004840180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff868116918202929092179092556005860180548583166fffffffffffffffffffffffffffffffff199091168117600160401b938616938402179091556040805193845260208401919091528201527f1ced468902ca566e746a3c8c9516af81f8de9f1021c365083be9f2625ebfb7b5906060015b60405180910390a150505050565b8567ffffffffffffffff168567ffffffffffffffff1611611d8e5760405162461bcd60e51b815260206004820152605960248201527f57616c6c6574206372656174696f6e206d6178696d756d204254432062616c6160448201527f6e6365206d7573742062652067726561746572207468616e207468652063726560648201527f6174696f6e206d696e696d756d204254432062616c616e636500000000000000608482015260a401610e64565b60008467ffffffffffffffff1611611e0e5760405162461bcd60e51b815260206004820152603c60248201527f57616c6c657420636c6f73757265206d696e696d756d204254432062616c616e60448201527f6365206d7573742062652067726561746572207468616e207a65726f000000006064820152608401610e64565b60008267ffffffffffffffff1611611e8e5760405162461bcd60e51b815260206004820152603560248201527f57616c6c6574206d6178696d756d20425443207472616e73666572206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e64565b60008163ffffffff1611611f0a5760405162461bcd60e51b815260206004820152602f60248201527f57616c6c657420636c6f73696e6720706572696f64206d75737420626520677260448201527f6561746572207468616e207a65726f00000000000000000000000000000000006064820152608401610e64565b868860130160006101000a81548163ffffffff021916908363ffffffff160217905550858860130160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508488601301600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550838860130160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508288601301601c6101000a81548163ffffffff021916908363ffffffff160217905550818860140160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550808860150160006101000a81548163ffffffff021916908363ffffffff1602179055507fc7d3a9af08692aeae771c329fddd95c7237a9f76fec996325f3959eeff07d4ac8787878787878760405161209d979695949392919063ffffffff978816815267ffffffffffffffff968716602082015294861660408601529285166060850152908516608084015290921660a0820152911660c082015260e00190565b60405180910390a15050505050505050565b60008367ffffffffffffffff1611612131576040805162461bcd60e51b81526020600482015260248101919091527f4d6f76696e672066756e6473207472616e73616374696f6e206d617820746f7460448201527f616c20666565206d7573742062652067726561746572207468616e207a65726f6064820152608401610e64565b60008263ffffffff16116121ad5760405162461bcd60e51b815260206004820152602e60248201527f4d6f76696e672066756e64732074696d656f7574206d7573742062652067726560448201527f61746572207468616e207a65726f0000000000000000000000000000000000006064820152608401610e64565b60008167ffffffffffffffff161161222d5760405162461bcd60e51b815260206004820152603560248201527f4d6f76696e672066756e64732064757374207468726573686f6c64206d75737460448201527f2062652067726561746572207468616e207a65726f00000000000000000000006064820152608401610e64565b60088401805467ffffffffffffffff838116600160601b81027fffffffffffffffffffffffff0000000000000000ffffffffffffffffffffffff63ffffffff8816600160401b81026bffffffffffffffffffffffff19909616948a16948517959095171617909355604080519182526020820192909252908101919091527f3bc8e35585937de0df227d080c3587c7aadd7630aa377299d63a5bb67fc07d8a90606001611cd1565b60008467ffffffffffffffff16116123555760405162461bcd60e51b815260206004820152603360248201527f526564656d7074696f6e2064757374207468726573686f6c64206d757374206260448201527f652067726561746572207468616e207a65726f000000000000000000000000006064820152608401610e64565b60008367ffffffffffffffff16116123d55760405162461bcd60e51b815260206004820152603960248201527f526564656d7074696f6e207472656173757279206665652064697669736f722060448201527f6d7573742062652067726561746572207468616e207a65726f000000000000006064820152608401610e64565b60008267ffffffffffffffff16116124555760405162461bcd60e51b815260206004820152603860248201527f526564656d7074696f6e207472616e73616374696f6e206d617820666565206d60448201527f7573742062652067726561746572207468616e207a65726f00000000000000006064820152608401610e64565b600081116124cb5760405162461bcd60e51b815260206004820152602c60248201527f526564656d7074696f6e2074696d656f7574206d75737420626520677265617460448201527f6572207468616e207a65726f00000000000000000000000000000000000000006064820152608401610e64565b6008850180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff878116918202929092179092556009870180548683166fffffffffffffffffffffffffffffffff199091168117600160401b93871693840217909155600a8801849055604080519384526020840191909152820152606081018290527f92c7dd8c8e389aa6dd2d4ed3d2f1848abbaef487207c28f4c5c4990c5116ff1f90608001611a98565b6bffffffffffffffffffffffff1981166000908152601683016020526040902060036002820154600160a01b900460ff1660058111156125c9576125c961300a565b1461263c5760405162461bcd60e51b815260206004820152602560248201527f45434453412077616c6c6574206d75737420626520696e20436c6f73696e672060448201527f73746174650000000000000000000000000000000000000000000000000000006064820152608401610e64565b601583015460028201546126609163ffffffff90811691600160801b9004166136d0565b63ffffffff1642116126da5760405162461bcd60e51b815260206004820152602260248201527f436c6f73696e6720706572696f6420686173206e6f7420656c6170736564207960448201527f65740000000000000000000000000000000000000000000000000000000000006064820152608401610e64565b610ee8838361275d565b600080546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80910160405180910390a15050565b6bffffffffffffffffffffffff19811660008181526016840160205260408082206002810180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674040000000000000000000000000000000000000000179055805491519093927f47b159947c3066cb253f60e8f046cfd747411788a545cb189679e3fa1467b28d91a3600283015481546040517f343bb9270000000000000000000000000000000000000000000000000000000081526001600160a01b039092169163343bb927916128389160040190815260200190565b600060405180830381600087803b15801561285257600080fd5b505af1158015611096573d6000803e3d6000fd5b60006020828403121561287857600080fd5b5035919050565b80356bffffffffffffffffffffffff198116811461289c57600080fd5b919050565b6000606082840312156128b357600080fd5b50919050565b600080608083850312156128cc57600080fd5b6128d58361287f565b91506128e484602085016128a1565b90509250929050565b6000806000806080858703121561290357600080fd5b84356bffffffffffffffffffffffff8116811461291f57600080fd5b966020860135965060408601359560600135945092505050565b803567ffffffffffffffff8116811461289c57600080fd5b60008060006060848603121561296657600080fd5b61296f84612939565b925061297d60208501612939565b915061298b60408501612939565b90509250925092565b6000608082840312156128b357600080fd5b60008060008060c085870312156129bc57600080fd5b843567ffffffffffffffff808211156129d457600080fd5b6129e088838901612994565b955060208701359150808211156129f657600080fd5b50612a03878288016128a1565b935050612a1386604087016128a1565b9150612a2160a0860161287f565b905092959194509250565b600060208284031215612a3e57600080fd5b612a478261287f565b9392505050565b600080600060608486031215612a6357600080fd5b505081359360208301359350604090920135919050565b60008083601f840112612a8c57600080fd5b50813567ffffffffffffffff811115612aa457600080fd5b602083019150836020828501011115612abc57600080fd5b9250929050565b60008083601f840112612ad557600080fd5b50813567ffffffffffffffff811115612aed57600080fd5b6020830191508360208260051b8501011115612abc57600080fd5b600080600080600060608688031215612b2057600080fd5b853567ffffffffffffffff80821115612b3857600080fd5b612b4489838a01612a7a565b90975095506020880135915080821115612b5d57600080fd5b50612b6a88828901612ac3565b96999598509660400135949350505050565b600080600060a08486031215612b9157600080fd5b833567ffffffffffffffff80821115612ba957600080fd5b612bb587838801612994565b94506020860135915080821115612bcb57600080fd5b50612bd8868287016128a1565b92505061298b85604086016128a1565b600080828403610100811215612bfd57600080fd5b833567ffffffffffffffff811115612c1457600080fd5b612c2086828701612994565b93505060e0601f1982011215612c3557600080fd5b506020830190509250929050565b80356001600160a01b038116811461289c57600080fd5b8035801515811461289c57600080fd5b60008060408385031215612c7d57600080fd5b612c8683612c43565b91506128e460208401612c5a565b600080600060408486031215612ca957600080fd5b612cb28461287f565b9250602084013567ffffffffffffffff811115612cce57600080fd5b612cda86828701612a7a565b9497909650939450505050565b60008060008060a08587031215612cfd57600080fd5b843567ffffffffffffffff811115612d1457600080fd5b612d2087828801612a7a565b90955093505060208501359150612a2186604087016128a1565b600080600080600060608688031215612d5257600080fd5b853567ffffffffffffffff80821115612d6a57600080fd5b612d7689838a01612a7a565b90975095506020880135915080821115612d8f57600080fd5b50612d9c88828901612a7a565b9094509250612daf905060408701612c5a565b90509295509295909350565b803563ffffffff8116811461289c57600080fd5b600080600080600080600060e0888a031215612dea57600080fd5b612df388612dbb565b9650612e0160208901612939565b9550612e0f60408901612939565b9450612e1d60608901612939565b9350612e2b60808901612dbb565b9250612e3960a08901612939565b9150612e4760c08901612dbb565b905092959891949750929550565b600080600060608486031215612e6a57600080fd5b612e7384612939565b925061297d60208501612dbb565b60008060008060808587031215612e9757600080fd5b612ea085612939565b9350612eae60208601612939565b9250612ebc60408601612939565b9396929550929360600135925050565b600060608284031215612ede57600080fd5b612a4783836128a1565b600080600080600080600060e0888a031215612f0357600080fd5b612f0c8861287f565b9650612f1b8960208a016128a1565b9550608088013567ffffffffffffffff80821115612f3857600080fd5b612f448b838c01612ac3565b909750955060a08a0135945060c08a0135915080821115612f6457600080fd5b50612f718a828b01612ac3565b989b979a50959850939692959293505050565b600060208284031215612f9657600080fd5b612a4782612c43565b600080600080600060c08688031215612fb757600080fd5b612fc08661287f565b9450612fcf87602088016128a1565b9350608086013567ffffffffffffffff811115612feb57600080fd5b612ff788828901612a7a565b9094509250612daf905060a08701612939565b634e487b7160e01b600052602160045260246000fd5b600061010082019050825182526020830151602083015267ffffffffffffffff6040840151166040830152606083015163ffffffff80821660608501528060808601511660808501528060a08601511660a0850152505060c08301516006811061309a57634e487b7160e01b600052602160045260246000fd5b8060c08401525060e083015160e083015292915050565b8035825263ffffffff6130c660208301612dbb565b16602083015267ffffffffffffffff6130e160408301612939565b1660408301525050565b8381526bffffffffffffffffffffffff198316602082015260a0810161311460408301846130b1565b949350505050565b80357fffffffff000000000000000000000000000000000000000000000000000000008116811461289c57600080fd5b6000808335601e1984360301811261316357600080fd5b830160208101925035905067ffffffffffffffff81111561318357600080fd5b803603831315612abc57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60007fffffffff00000000000000000000000000000000000000000000000000000000806131e88461311c565b1684526131f8602084018461314c565b6080602087015261320d608087018284613192565b91505061321d604085018561314c565b8683036040880152613230838284613192565b92505050816132416060860161311c565b166060860152809250505092915050565b600061325e828361314c565b60608552613270606086018284613192565b9150506020830135602085015261328a604084018461314c565b858303604087015261329d838284613192565b9695505050505050565b85815260e0602082015260006132c060e08301876131bb565b82810360408401526132d28187613252565b9150506132e260608301856130b1565b6bffffffffffffffffffffffff19831660c08301529695505050505050565b8183526000602080850194508260005b8581101561333a5763ffffffff61332783612dbb565b1687529582019590820190600101613311565b509495945050505050565b86815260806020820152600061335f608083018789613192565b8281036040840152613372818688613301565b915050826060830152979650505050505050565b84815260c06020820152600061339f60c08301866131bb565b82810360408401526133b18186613252565b9150506133c160608301846130b1565b95945050505050565b60006101208583528060208401526133e4818401866131bb565b91505063ffffffff6133f584612dbb565b1660408301526001600160a01b0361340f60208501612c43565b16606083015260408301357fffffffffffffffff0000000000000000000000000000000000000000000000008116811461344857600080fd5b7fffffffffffffffff00000000000000000000000000000000000000000000000016608083015261347b6060840161287f565b6bffffffffffffffffffffffff191660a083015261349b6080840161287f565b6bffffffffffffffffffffffff191660c08301526134bb60a0840161311c565b7fffffffff000000000000000000000000000000000000000000000000000000001660e08301526134ee60c08401612c43565b6001600160a01b03811661010084015250949350505050565b8481526bffffffffffffffffffffffff198416602082015260606040820152600061329d606083018486613192565b85815260c06020820152600061355060c083018688613192565b90508360408301528235606083015260208301356080830152604083013560ff811680821461357e57600080fd5b8060a085015250509695505050505050565b8681526080602082015260006135aa608083018789613192565b82810360408401526135bd818688613192565b9150508215156060830152979650505050505050565b82815260808101612a4760208301846130b1565b60006101008a835260206bffffffffffffffffffffffff19808c1682860152613613604086018c6130b1565b8260a08601526136268386018a8c613301565b60c0860189905285810360e0870152868152879350820160005b8781101561366557826136528661287f565b1682529383019390830190600101613640565b509d9c50505050505050505050505050565b8681526bffffffffffffffffffffffff198616602082015261369c60408201866130b1565b60e060a082015260006136b360e083018587613192565b905067ffffffffffffffff831660c0830152979650505050505050565b600063ffffffff8083168185168083038211156136fd57634e487b7160e01b600052601160045260246000fd5b0194935050505056fea2646970667358221220840c031e770db78ad0c28b91bda8facaa31dd61b85d6a2eed88660291d63af2d64736f6c63430008090033",
2033
+ "linkReferences": {
2034
+ "contracts/bridge/Deposit.sol": {
2035
+ "Deposit": [
2036
+ {
2037
+ "length": 20,
2038
+ "start": 5640
2039
+ }
2040
+ ]
2041
+ },
2042
+ "contracts/bridge/Fraud.sol": {
2043
+ "Fraud": [
2044
+ {
2045
+ "length": 20,
2046
+ "start": 5322
2047
+ },
2048
+ {
2049
+ "length": 20,
2050
+ "start": 5997
2051
+ },
2052
+ {
2053
+ "length": 20,
2054
+ "start": 6086
2055
+ }
2056
+ ]
2057
+ },
2058
+ "contracts/bridge/MovingFunds.sol": {
2059
+ "MovingFunds": [
2060
+ {
2061
+ "length": 20,
2062
+ "start": 4528
2063
+ },
2064
+ {
2065
+ "length": 20,
2066
+ "start": 4887
2067
+ },
2068
+ {
2069
+ "length": 20,
2070
+ "start": 5057
2071
+ },
2072
+ {
2073
+ "length": 20,
2074
+ "start": 6676
2075
+ }
2076
+ ]
2077
+ },
2078
+ "contracts/bridge/Redemption.sol": {
2079
+ "Redemption": [
2080
+ {
2081
+ "length": 20,
2082
+ "start": 5910
2083
+ },
2084
+ {
2085
+ "length": 20,
2086
+ "start": 6828
2087
+ },
2088
+ {
2089
+ "length": 20,
2090
+ "start": 7154
2091
+ }
2092
+ ]
2093
+ },
2094
+ "contracts/bridge/Sweep.sol": {
2095
+ "Sweep": [
2096
+ {
2097
+ "length": 20,
2098
+ "start": 5553
2099
+ }
2100
+ ]
2101
+ },
2102
+ "contracts/bridge/Wallets.sol": {
2103
+ "Wallets": [
2104
+ {
2105
+ "length": 20,
2106
+ "start": 5199
2107
+ },
2108
+ {
2109
+ "length": 20,
2110
+ "start": 5468
2111
+ },
2112
+ {
2113
+ "length": 20,
2114
+ "start": 6491
2115
+ },
2116
+ {
2117
+ "length": 20,
2118
+ "start": 6602
2119
+ }
2120
+ ]
2121
+ }
2122
+ },
2123
+ "deployedLinkReferences": {
2124
+ "contracts/bridge/Deposit.sol": {
2125
+ "Deposit": [
2126
+ {
2127
+ "length": 20,
2128
+ "start": 4613
2129
+ }
2130
+ ]
2131
+ },
2132
+ "contracts/bridge/Fraud.sol": {
2133
+ "Fraud": [
2134
+ {
2135
+ "length": 20,
2136
+ "start": 4295
2137
+ },
2138
+ {
2139
+ "length": 20,
2140
+ "start": 4970
2141
+ },
2142
+ {
2143
+ "length": 20,
2144
+ "start": 5059
2145
+ }
2146
+ ]
2147
+ },
2148
+ "contracts/bridge/MovingFunds.sol": {
2149
+ "MovingFunds": [
2150
+ {
2151
+ "length": 20,
2152
+ "start": 3501
2153
+ },
2154
+ {
2155
+ "length": 20,
2156
+ "start": 3860
2157
+ },
2158
+ {
2159
+ "length": 20,
2160
+ "start": 4030
2161
+ },
2162
+ {
2163
+ "length": 20,
2164
+ "start": 5649
2165
+ }
2166
+ ]
2167
+ },
2168
+ "contracts/bridge/Redemption.sol": {
2169
+ "Redemption": [
2170
+ {
2171
+ "length": 20,
2172
+ "start": 4883
2173
+ },
2174
+ {
2175
+ "length": 20,
2176
+ "start": 5801
2177
+ },
2178
+ {
2179
+ "length": 20,
2180
+ "start": 6127
2181
+ }
2182
+ ]
2183
+ },
2184
+ "contracts/bridge/Sweep.sol": {
2185
+ "Sweep": [
2186
+ {
2187
+ "length": 20,
2188
+ "start": 4526
2189
+ }
2190
+ ]
2191
+ },
2192
+ "contracts/bridge/Wallets.sol": {
2193
+ "Wallets": [
2194
+ {
2195
+ "length": 20,
2196
+ "start": 4172
2197
+ },
2198
+ {
2199
+ "length": 20,
2200
+ "start": 4441
2201
+ },
2202
+ {
2203
+ "length": 20,
2204
+ "start": 5464
2205
+ },
2206
+ {
2207
+ "length": 20,
2208
+ "start": 5575
2209
+ }
2210
+ ]
2211
+ }
2212
+ }
176
2213
  }