@keep-network/tbtc-v2 0.1.1-dev.1 → 0.1.1-dev.13

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 (29) hide show
  1. package/artifacts/TBTC.json +18 -18
  2. package/artifacts/TBTCToken.json +18 -18
  3. package/artifacts/VendingMachine.json +19 -19
  4. package/artifacts/solcInputs/ae2bc16e265d94d570ec143fe628377f.json +134 -0
  5. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  6. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.json +2 -2
  7. package/build/contracts/bank/Bank.sol/Bank.dbg.json +4 -0
  8. package/build/contracts/bank/Bank.sol/Bank.json +537 -0
  9. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +4 -0
  10. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +10 -0
  11. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +4 -0
  12. package/build/contracts/bridge/Bridge.sol/Bridge.json +473 -0
  13. package/build/contracts/bridge/Bridge.sol/IRelay.dbg.json +4 -0
  14. package/build/contracts/bridge/Bridge.sol/IRelay.json +37 -0
  15. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  16. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.json +2 -2
  17. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  18. package/build/contracts/token/TBTC.sol/TBTC.json +2 -2
  19. package/build/contracts/vault/IVault.sol/IVault.dbg.json +4 -0
  20. package/build/contracts/vault/IVault.sol/IVault.json +47 -0
  21. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +4 -0
  22. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +181 -0
  23. package/contracts/bank/Bank.sol +389 -0
  24. package/contracts/bridge/BitcoinTx.sol +125 -0
  25. package/contracts/bridge/Bridge.sol +803 -0
  26. package/contracts/vault/IVault.sol +60 -0
  27. package/contracts/vault/TBTCVault.sol +146 -0
  28. package/package.json +4 -3
  29. package/artifacts/solcInputs/0c46d22cee2363c42c8bb0664dc1be66.json +0 -104
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../build-info/2f8e64c05fa8c4f2f2c708eabb3c81a3.json"
3
+ "buildInfo": "../../build-info/8be27c4d48269d05d79233c0efe1df98.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "GovernanceUtils",
4
4
  "sourceName": "contracts/GovernanceUtils.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200508e4ac33f9b16a4b0b5d3e0b4331fe3460bec133684812a5a410a07988436e64736f6c63430008040033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200508e4ac33f9b16a4b0b5d3e0b4331fe3460bec133684812a5a410a07988436e64736f6c63430008040033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220021d5f7dce0d564428a850f806e9eb91222c1ad6e21d86b394fc540a89ff9bec64736f6c63430008040033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220021d5f7dce0d564428a850f806e9eb91222c1ad6e21d86b394fc540a89ff9bec64736f6c63430008040033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/8be27c4d48269d05d79233c0efe1df98.json"
4
+ }
@@ -0,0 +1,537 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Bank",
4
+ "sourceName": "contracts/bank/Bank.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "anonymous": false,
13
+ "inputs": [
14
+ {
15
+ "indexed": true,
16
+ "internalType": "address",
17
+ "name": "owner",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "indexed": true,
22
+ "internalType": "address",
23
+ "name": "spender",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "indexed": false,
28
+ "internalType": "uint256",
29
+ "name": "amount",
30
+ "type": "uint256"
31
+ }
32
+ ],
33
+ "name": "BalanceApproved",
34
+ "type": "event"
35
+ },
36
+ {
37
+ "anonymous": false,
38
+ "inputs": [
39
+ {
40
+ "indexed": true,
41
+ "internalType": "address",
42
+ "name": "owner",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "indexed": false,
47
+ "internalType": "uint256",
48
+ "name": "amount",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "name": "BalanceDecreased",
53
+ "type": "event"
54
+ },
55
+ {
56
+ "anonymous": false,
57
+ "inputs": [
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "owner",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint256",
67
+ "name": "amount",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "BalanceIncreased",
72
+ "type": "event"
73
+ },
74
+ {
75
+ "anonymous": false,
76
+ "inputs": [
77
+ {
78
+ "indexed": true,
79
+ "internalType": "address",
80
+ "name": "from",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "indexed": true,
85
+ "internalType": "address",
86
+ "name": "to",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "indexed": false,
91
+ "internalType": "uint256",
92
+ "name": "amount",
93
+ "type": "uint256"
94
+ }
95
+ ],
96
+ "name": "BalanceTransferred",
97
+ "type": "event"
98
+ },
99
+ {
100
+ "anonymous": false,
101
+ "inputs": [
102
+ {
103
+ "indexed": false,
104
+ "internalType": "address",
105
+ "name": "newBridge",
106
+ "type": "address"
107
+ }
108
+ ],
109
+ "name": "BridgeUpdated",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": true,
117
+ "internalType": "address",
118
+ "name": "previousOwner",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "indexed": true,
123
+ "internalType": "address",
124
+ "name": "newOwner",
125
+ "type": "address"
126
+ }
127
+ ],
128
+ "name": "OwnershipTransferred",
129
+ "type": "event"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "DOMAIN_SEPARATOR",
134
+ "outputs": [
135
+ {
136
+ "internalType": "bytes32",
137
+ "name": "",
138
+ "type": "bytes32"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "PERMIT_TYPEHASH",
147
+ "outputs": [
148
+ {
149
+ "internalType": "bytes32",
150
+ "name": "",
151
+ "type": "bytes32"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "address",
161
+ "name": "",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "internalType": "address",
166
+ "name": "",
167
+ "type": "address"
168
+ }
169
+ ],
170
+ "name": "allowance",
171
+ "outputs": [
172
+ {
173
+ "internalType": "uint256",
174
+ "name": "",
175
+ "type": "uint256"
176
+ }
177
+ ],
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "address",
185
+ "name": "spender",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "internalType": "uint256",
190
+ "name": "amount",
191
+ "type": "uint256"
192
+ }
193
+ ],
194
+ "name": "approveBalance",
195
+ "outputs": [],
196
+ "stateMutability": "nonpayable",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "vault",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "uint256",
208
+ "name": "amount",
209
+ "type": "uint256"
210
+ }
211
+ ],
212
+ "name": "approveBalanceAndCall",
213
+ "outputs": [],
214
+ "stateMutability": "nonpayable",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "internalType": "address",
221
+ "name": "",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "balanceOf",
226
+ "outputs": [
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "",
230
+ "type": "uint256"
231
+ }
232
+ ],
233
+ "stateMutability": "view",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "bridge",
239
+ "outputs": [
240
+ {
241
+ "internalType": "address",
242
+ "name": "",
243
+ "type": "address"
244
+ }
245
+ ],
246
+ "stateMutability": "view",
247
+ "type": "function"
248
+ },
249
+ {
250
+ "inputs": [],
251
+ "name": "cachedChainId",
252
+ "outputs": [
253
+ {
254
+ "internalType": "uint256",
255
+ "name": "",
256
+ "type": "uint256"
257
+ }
258
+ ],
259
+ "stateMutability": "view",
260
+ "type": "function"
261
+ },
262
+ {
263
+ "inputs": [],
264
+ "name": "cachedDomainSeparator",
265
+ "outputs": [
266
+ {
267
+ "internalType": "bytes32",
268
+ "name": "",
269
+ "type": "bytes32"
270
+ }
271
+ ],
272
+ "stateMutability": "view",
273
+ "type": "function"
274
+ },
275
+ {
276
+ "inputs": [
277
+ {
278
+ "internalType": "uint256",
279
+ "name": "amount",
280
+ "type": "uint256"
281
+ }
282
+ ],
283
+ "name": "decreaseBalance",
284
+ "outputs": [],
285
+ "stateMutability": "nonpayable",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [
290
+ {
291
+ "internalType": "address",
292
+ "name": "spender",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "subtractedValue",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "name": "decreaseBalanceAllowance",
302
+ "outputs": [],
303
+ "stateMutability": "nonpayable",
304
+ "type": "function"
305
+ },
306
+ {
307
+ "inputs": [
308
+ {
309
+ "internalType": "address",
310
+ "name": "recipient",
311
+ "type": "address"
312
+ },
313
+ {
314
+ "internalType": "uint256",
315
+ "name": "amount",
316
+ "type": "uint256"
317
+ }
318
+ ],
319
+ "name": "increaseBalance",
320
+ "outputs": [],
321
+ "stateMutability": "nonpayable",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [
326
+ {
327
+ "internalType": "address",
328
+ "name": "spender",
329
+ "type": "address"
330
+ },
331
+ {
332
+ "internalType": "uint256",
333
+ "name": "addedValue",
334
+ "type": "uint256"
335
+ }
336
+ ],
337
+ "name": "increaseBalanceAllowance",
338
+ "outputs": [],
339
+ "stateMutability": "nonpayable",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "address",
346
+ "name": "vault",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "internalType": "address[]",
351
+ "name": "depositors",
352
+ "type": "address[]"
353
+ },
354
+ {
355
+ "internalType": "uint256[]",
356
+ "name": "depositedAmounts",
357
+ "type": "uint256[]"
358
+ }
359
+ ],
360
+ "name": "increaseBalanceAndCall",
361
+ "outputs": [],
362
+ "stateMutability": "nonpayable",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [
367
+ {
368
+ "internalType": "address[]",
369
+ "name": "recipients",
370
+ "type": "address[]"
371
+ },
372
+ {
373
+ "internalType": "uint256[]",
374
+ "name": "amounts",
375
+ "type": "uint256[]"
376
+ }
377
+ ],
378
+ "name": "increaseBalances",
379
+ "outputs": [],
380
+ "stateMutability": "nonpayable",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "",
388
+ "type": "address"
389
+ }
390
+ ],
391
+ "name": "nonce",
392
+ "outputs": [
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "",
396
+ "type": "uint256"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "owner",
405
+ "outputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "owner",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "internalType": "address",
424
+ "name": "spender",
425
+ "type": "address"
426
+ },
427
+ {
428
+ "internalType": "uint256",
429
+ "name": "amount",
430
+ "type": "uint256"
431
+ },
432
+ {
433
+ "internalType": "uint256",
434
+ "name": "deadline",
435
+ "type": "uint256"
436
+ },
437
+ {
438
+ "internalType": "uint8",
439
+ "name": "v",
440
+ "type": "uint8"
441
+ },
442
+ {
443
+ "internalType": "bytes32",
444
+ "name": "r",
445
+ "type": "bytes32"
446
+ },
447
+ {
448
+ "internalType": "bytes32",
449
+ "name": "s",
450
+ "type": "bytes32"
451
+ }
452
+ ],
453
+ "name": "permit",
454
+ "outputs": [],
455
+ "stateMutability": "nonpayable",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [],
460
+ "name": "renounceOwnership",
461
+ "outputs": [],
462
+ "stateMutability": "nonpayable",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "address",
469
+ "name": "recipient",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "amount",
475
+ "type": "uint256"
476
+ }
477
+ ],
478
+ "name": "transferBalance",
479
+ "outputs": [],
480
+ "stateMutability": "nonpayable",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "inputs": [
485
+ {
486
+ "internalType": "address",
487
+ "name": "spender",
488
+ "type": "address"
489
+ },
490
+ {
491
+ "internalType": "address",
492
+ "name": "recipient",
493
+ "type": "address"
494
+ },
495
+ {
496
+ "internalType": "uint256",
497
+ "name": "amount",
498
+ "type": "uint256"
499
+ }
500
+ ],
501
+ "name": "transferBalanceFrom",
502
+ "outputs": [],
503
+ "stateMutability": "nonpayable",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "newOwner",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "name": "transferOwnership",
515
+ "outputs": [],
516
+ "stateMutability": "nonpayable",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [
521
+ {
522
+ "internalType": "address",
523
+ "name": "_bridge",
524
+ "type": "address"
525
+ }
526
+ ],
527
+ "name": "updateBridge",
528
+ "outputs": [],
529
+ "stateMutability": "nonpayable",
530
+ "type": "function"
531
+ }
532
+ ],
533
+ "bytecode": "0x60c060405234801561001057600080fd5b5061001a336100f9565b466080526100f16040805180820182526009815268544254432042616e6b60b81b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b60a052610149565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160a0516117ec61017c6000396000818161032d015261065d0152600081816102ce015261063401526117ec6000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063b4f94b2e1161008c578063dd62ed3e11610066578063dd62ed3e14610375578063e78cea92146103a0578063f2fde38b146103b357600080fd5b8063b4f94b2e14610328578063bb7e61bc1461034f578063d505accf1461036257600080fd5b8063771da5c5116100bd578063771da5c5146102c95780637c6db49c146102f05780638da5cb5b1461030357600080fd5b806370a082311461028157806370ae92d2146102a1578063715018a6146102c157600080fd5b8063392aee43116101455780635b86f5991161011f5780635b86f599146102485780635bfd99b91461025b5780636eb382121461026e57600080fd5b8063392aee431461020f57806346b05e091461022257806356a6d9ef1461023557600080fd5b8063266a123a11610176578063266a123a146101ba57806330adf81f146101cd5780633644e5151461020757600080fd5b80630b6d324c1461019257806315b9b92a146101a7575b600080fd5b6101a56101a0366004611616565b6103c6565b005b6101a56101b5366004611616565b610477565b6101a56101c836600461163f565b6104ff565b6101f47f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6040519081526020015b60405180910390f35b6101f4610630565b6101a561021d3660046116a8565b610780565b6101a5610230366004611616565b6107dc565b6101a5610243366004611616565b6107eb565b6101a5610256366004611616565b6107f6565b6101a5610269366004611616565b61085a565b6101a561027c366004611499565b610895565b6101f461028f366004611499565b60026020526000908152604090205481565b6101f46102af366004611499565b60046020526000908152604090205481565b6101a56109a6565b6101f47f000000000000000000000000000000000000000000000000000000000000000081565b6101a56102fe3660046114ec565b610a0c565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016101fe565b6101f47f000000000000000000000000000000000000000000000000000000000000000081565b6101a561035d366004611598565b610acd565b6101a5610370366004611527565b610c58565b6101f46103833660046114ba565b600360209081526000928352604080842090915290825290205481565b600154610310906001600160a01b031681565b6101a56103c1366004611499565b610f68565b3360009081526003602090815260408083206001600160a01b0386168452909152902054818110156104655760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f742064656372656173652062616c616e636520616c6c6f77616e60448201527f63652062656c6f77207a65726f0000000000000000000000000000000000000060648201526084015b60405180910390fd5b610472338484840361104a565b505050565b61048233838361104a565b6040517f53794137000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b03831690635379413790604401600060405180830381600087803b1580156104e357600080fd5b505af11580156104f7573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031633146105595760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206272696467650000000000000000604482015260640161045c565b8281146105a85760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e677468604482015260640161045c565b60005b83811015610629576106178585838181106105d657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906105eb9190611499565b84848481811061060b57634e487b7160e01b600052603260045260246000fd5b90506020020135611127565b8061062181611785565b9150506105ab565b5050505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561067f57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080518082018252600981527f544254432042616e6b000000000000000000000000000000000000000000000060209182015281518083018352600181527f31000000000000000000000000000000000000000000000000000000000000009082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b336000908152600260205260408120805483929061079f90849061176e565b909155505060405181815233907f9c6be7c4260e52ea2e41d7f17932147ab78756f1bb2247a2554796d969741aff9060200160405180910390a250565b6107e733838361104a565b5050565b6107e7338383611215565b6001546001600160a01b031633146108505760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206272696467650000000000000000604482015260640161045c565b6107e78282611127565b3360008181526003602090815260408083206001600160a01b03871684529091529020546107e791908490610890908590611756565b61104a565b6000546001600160a01b031633146108ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b6001600160a01b0381166109455760405162461bcd60e51b815260206004820152601e60248201527f4272696467652061646472657373206d757374206e6f74206265203078300000604482015260640161045c565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fe1694c0b21fdceff6411daed547c7463c2341b9695387bc82595b5b9b1851d4a9060200160405180910390a150565b6000546001600160a01b03163314610a005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b610a0a60006113d6565b565b6001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610abc5781811015610aaf5760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6360448201527f6500000000000000000000000000000000000000000000000000000000000000606482015260840161045c565b610abc843384840361104a565b610ac7848484611215565b50505050565b6001546001600160a01b03163314610b275760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206272696467650000000000000000604482015260640161045c565b828114610b765760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e677468604482015260640161045c565b6000805b82811015610bc857838382818110610ba257634e487b7160e01b600052603260045260246000fd5b9050602002013582610bb49190611756565b915080610bc081611785565b915050610b7a565b50610bd38682611127565b6040517f461c63730000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063461c637390610c1e9088908890889088906004016116c0565b600060405180830381600087803b158015610c3857600080fd5b505af1158015610c4c573d6000803e3d6000fd5b50505050505050505050565b42841015610ca85760405162461bcd60e51b815260206004820152601260248201527f5065726d697373696f6e20657870697265640000000000000000000000000000604482015260640161045c565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115610d185760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202773272076616c75650000000000604482015260640161045c565b8260ff16601b1480610d2d57508260ff16601c145b610d795760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202776272076616c75650000000000604482015260640161045c565b6000610d83610630565b6001600160a01b038916600090815260046020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92909190610dd183611785565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610e659291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610ed0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f065750886001600160a01b0316816001600160a01b0316145b610f525760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e6174757265000000000000000000000000000000604482015260640161045c565b610f5d89898961104a565b505050505050505050565b6000546001600160a01b03163314610fc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b6001600160a01b03811661103e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161045c565b611047816113d6565b50565b6001600160a01b0382166110c65760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f7420617070726f766520746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161045c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f2fe5e8e7796010737e636f63b35a0383dc160b68483984f2df987c78e842b405910160405180910390a3505050565b6001600160a01b0382163014156111a65760405162461bcd60e51b815260206004820152602160248201527f43616e206e6f7420696e6372656173652062616c616e636520666f722042616e60448201527f6b00000000000000000000000000000000000000000000000000000000000000606482015260840161045c565b6001600160a01b038216600090815260026020526040812080548392906111ce908490611756565b90915550506040518181526001600160a01b038316907f7a702e80a9c183a6ce9d6732991df2e914555ba35a364a70aed2433984e7544b9060200160405180910390a25050565b6001600160a01b0382166112775760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161045c565b6001600160a01b0382163014156112dc5760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f207468652042616e6b206164646044820152637265737360e01b606482015260840161045c565b6001600160a01b038316600090815260026020526040902054818110156113455760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e636500604482015260640161045c565b6001600160a01b0380851660009081526002602052604080822085850390559185168152908120805484929061137c908490611756565b92505081905550826001600160a01b0316846001600160a01b03167f4163d0b06696468b3d7903f482bcd0097bd38a9a9086157479fd6c6561d24261846040516113c891815260200190565b60405180910390a350505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461144a57600080fd5b919050565b60008083601f840112611460578182fd5b50813567ffffffffffffffff811115611477578182fd5b6020830191508360208260051b850101111561149257600080fd5b9250929050565b6000602082840312156114aa578081fd5b6114b382611433565b9392505050565b600080604083850312156114cc578081fd5b6114d583611433565b91506114e360208401611433565b90509250929050565b600080600060608486031215611500578081fd5b61150984611433565b925061151760208501611433565b9150604084013590509250925092565b600080600080600080600060e0888a031215611541578283fd5b61154a88611433565b965061155860208901611433565b95506040880135945060608801359350608088013560ff8116811461157b578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806000806000606086880312156115af578081fd5b6115b886611433565b9450602086013567ffffffffffffffff808211156115d4578283fd5b6115e089838a0161144f565b909650945060408801359150808211156115f8578283fd5b506116058882890161144f565b969995985093965092949392505050565b60008060408385031215611628578182fd5b61163183611433565b946020939093013593505050565b60008060008060408587031215611654578384fd5b843567ffffffffffffffff8082111561166b578586fd5b6116778883890161144f565b9096509450602087013591508082111561168f578384fd5b5061169c8782880161144f565b95989497509550505050565b6000602082840312156116b9578081fd5b5035919050565b6040808252810184905260008560608301825b87811015611701576001600160a01b036116ec84611433565b168252602092830192909101906001016116d3565b5083810360208501528481527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851115611739578283fd5b8460051b9150818660208301370160200190815295945050505050565b60008219821115611769576117696117a0565b500190565b600082821015611780576117806117a0565b500390565b6000600019821415611799576117996117a0565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220a07433beb5ba9871850746c06099fbfc01f90ce402ad9f4f551fbd00a28d9d8064736f6c63430008040033",
534
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063b4f94b2e1161008c578063dd62ed3e11610066578063dd62ed3e14610375578063e78cea92146103a0578063f2fde38b146103b357600080fd5b8063b4f94b2e14610328578063bb7e61bc1461034f578063d505accf1461036257600080fd5b8063771da5c5116100bd578063771da5c5146102c95780637c6db49c146102f05780638da5cb5b1461030357600080fd5b806370a082311461028157806370ae92d2146102a1578063715018a6146102c157600080fd5b8063392aee43116101455780635b86f5991161011f5780635b86f599146102485780635bfd99b91461025b5780636eb382121461026e57600080fd5b8063392aee431461020f57806346b05e091461022257806356a6d9ef1461023557600080fd5b8063266a123a11610176578063266a123a146101ba57806330adf81f146101cd5780633644e5151461020757600080fd5b80630b6d324c1461019257806315b9b92a146101a7575b600080fd5b6101a56101a0366004611616565b6103c6565b005b6101a56101b5366004611616565b610477565b6101a56101c836600461163f565b6104ff565b6101f47f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6040519081526020015b60405180910390f35b6101f4610630565b6101a561021d3660046116a8565b610780565b6101a5610230366004611616565b6107dc565b6101a5610243366004611616565b6107eb565b6101a5610256366004611616565b6107f6565b6101a5610269366004611616565b61085a565b6101a561027c366004611499565b610895565b6101f461028f366004611499565b60026020526000908152604090205481565b6101f46102af366004611499565b60046020526000908152604090205481565b6101a56109a6565b6101f47f000000000000000000000000000000000000000000000000000000000000000081565b6101a56102fe3660046114ec565b610a0c565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016101fe565b6101f47f000000000000000000000000000000000000000000000000000000000000000081565b6101a561035d366004611598565b610acd565b6101a5610370366004611527565b610c58565b6101f46103833660046114ba565b600360209081526000928352604080842090915290825290205481565b600154610310906001600160a01b031681565b6101a56103c1366004611499565b610f68565b3360009081526003602090815260408083206001600160a01b0386168452909152902054818110156104655760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f742064656372656173652062616c616e636520616c6c6f77616e60448201527f63652062656c6f77207a65726f0000000000000000000000000000000000000060648201526084015b60405180910390fd5b610472338484840361104a565b505050565b61048233838361104a565b6040517f53794137000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b03831690635379413790604401600060405180830381600087803b1580156104e357600080fd5b505af11580156104f7573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031633146105595760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206272696467650000000000000000604482015260640161045c565b8281146105a85760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e677468604482015260640161045c565b60005b83811015610629576106178585838181106105d657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906105eb9190611499565b84848481811061060b57634e487b7160e01b600052603260045260246000fd5b90506020020135611127565b8061062181611785565b9150506105ab565b5050505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561067f57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080518082018252600981527f544254432042616e6b000000000000000000000000000000000000000000000060209182015281518083018352600181527f31000000000000000000000000000000000000000000000000000000000000009082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fa1cc9cffb2f2444066e5c95caef7925ee7ef97efc6002db29d3637e98e2f0dd2818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b336000908152600260205260408120805483929061079f90849061176e565b909155505060405181815233907f9c6be7c4260e52ea2e41d7f17932147ab78756f1bb2247a2554796d969741aff9060200160405180910390a250565b6107e733838361104a565b5050565b6107e7338383611215565b6001546001600160a01b031633146108505760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206272696467650000000000000000604482015260640161045c565b6107e78282611127565b3360008181526003602090815260408083206001600160a01b03871684529091529020546107e791908490610890908590611756565b61104a565b6000546001600160a01b031633146108ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b6001600160a01b0381166109455760405162461bcd60e51b815260206004820152601e60248201527f4272696467652061646472657373206d757374206e6f74206265203078300000604482015260640161045c565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fe1694c0b21fdceff6411daed547c7463c2341b9695387bc82595b5b9b1851d4a9060200160405180910390a150565b6000546001600160a01b03163314610a005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b610a0a60006113d6565b565b6001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610abc5781811015610aaf5760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6360448201527f6500000000000000000000000000000000000000000000000000000000000000606482015260840161045c565b610abc843384840361104a565b610ac7848484611215565b50505050565b6001546001600160a01b03163314610b275760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206272696467650000000000000000604482015260640161045c565b828114610b765760405162461bcd60e51b815260206004820181905260248201527f417272617973206d7573742068617665207468652073616d65206c656e677468604482015260640161045c565b6000805b82811015610bc857838382818110610ba257634e487b7160e01b600052603260045260246000fd5b9050602002013582610bb49190611756565b915080610bc081611785565b915050610b7a565b50610bd38682611127565b6040517f461c63730000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063461c637390610c1e9088908890889088906004016116c0565b600060405180830381600087803b158015610c3857600080fd5b505af1158015610c4c573d6000803e3d6000fd5b50505050505050505050565b42841015610ca85760405162461bcd60e51b815260206004820152601260248201527f5065726d697373696f6e20657870697265640000000000000000000000000000604482015260640161045c565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115610d185760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202773272076616c75650000000000604482015260640161045c565b8260ff16601b1480610d2d57508260ff16601c145b610d795760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207369676e6174757265202776272076616c75650000000000604482015260640161045c565b6000610d83610630565b6001600160a01b038916600090815260046020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92909190610dd183611785565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610e659291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610ed0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f065750886001600160a01b0316816001600160a01b0316145b610f525760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e6174757265000000000000000000000000000000604482015260640161045c565b610f5d89898961104a565b505050505050505050565b6000546001600160a01b03163314610fc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b6001600160a01b03811661103e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161045c565b611047816113d6565b50565b6001600160a01b0382166110c65760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f7420617070726f766520746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161045c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f2fe5e8e7796010737e636f63b35a0383dc160b68483984f2df987c78e842b405910160405180910390a3505050565b6001600160a01b0382163014156111a65760405162461bcd60e51b815260206004820152602160248201527f43616e206e6f7420696e6372656173652062616c616e636520666f722042616e60448201527f6b00000000000000000000000000000000000000000000000000000000000000606482015260840161045c565b6001600160a01b038216600090815260026020526040812080548392906111ce908490611756565b90915550506040518181526001600160a01b038316907f7a702e80a9c183a6ce9d6732991df2e914555ba35a364a70aed2433984e7544b9060200160405180910390a25050565b6001600160a01b0382166112775760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161045c565b6001600160a01b0382163014156112dc5760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f207468652042616e6b206164646044820152637265737360e01b606482015260840161045c565b6001600160a01b038316600090815260026020526040902054818110156113455760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657220616d6f756e7420657863656564732062616c616e636500604482015260640161045c565b6001600160a01b0380851660009081526002602052604080822085850390559185168152908120805484929061137c908490611756565b92505081905550826001600160a01b0316846001600160a01b03167f4163d0b06696468b3d7903f482bcd0097bd38a9a9086157479fd6c6561d24261846040516113c891815260200190565b60405180910390a350505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461144a57600080fd5b919050565b60008083601f840112611460578182fd5b50813567ffffffffffffffff811115611477578182fd5b6020830191508360208260051b850101111561149257600080fd5b9250929050565b6000602082840312156114aa578081fd5b6114b382611433565b9392505050565b600080604083850312156114cc578081fd5b6114d583611433565b91506114e360208401611433565b90509250929050565b600080600060608486031215611500578081fd5b61150984611433565b925061151760208501611433565b9150604084013590509250925092565b600080600080600080600060e0888a031215611541578283fd5b61154a88611433565b965061155860208901611433565b95506040880135945060608801359350608088013560ff8116811461157b578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806000806000606086880312156115af578081fd5b6115b886611433565b9450602086013567ffffffffffffffff808211156115d4578283fd5b6115e089838a0161144f565b909650945060408801359150808211156115f8578283fd5b506116058882890161144f565b969995985093965092949392505050565b60008060408385031215611628578182fd5b61163183611433565b946020939093013593505050565b60008060008060408587031215611654578384fd5b843567ffffffffffffffff8082111561166b578586fd5b6116778883890161144f565b9096509450602087013591508082111561168f578384fd5b5061169c8782880161144f565b95989497509550505050565b6000602082840312156116b9578081fd5b5035919050565b6040808252810184905260008560608301825b87811015611701576001600160a01b036116ec84611433565b168252602092830192909101906001016116d3565b5083810360208501528481527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851115611739578283fd5b8460051b9150818660208301370160200190815295945050505050565b60008219821115611769576117696117a0565b500190565b600082821015611780576117806117a0565b500390565b6000600019821415611799576117996117a0565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220a07433beb5ba9871850746c06099fbfc01f90ce402ad9f4f551fbd00a28d9d8064736f6c63430008040033",
535
+ "linkReferences": {},
536
+ "deployedLinkReferences": {}
537
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/8be27c4d48269d05d79233c0efe1df98.json"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BitcoinTx",
4
+ "sourceName": "contracts/bridge/BitcoinTx.sol",
5
+ "abi": [],
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c2d3d711739609a6696595f0ff540c0ef30380fb3700ccc12dc35de4766cf74364736f6c63430008040033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c2d3d711739609a6696595f0ff540c0ef30380fb3700ccc12dc35de4766cf74364736f6c63430008040033",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/8be27c4d48269d05d79233c0efe1df98.json"
4
+ }