This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
/
TBTCSystem.go
5145 lines (4536 loc) · 233 KB
/
TBTCSystem.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package abi
import (
"math/big"
"strings"
ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
)
// Reference imports to suppress errors if they are not otherwise used.
var (
_ = big.NewInt
_ = strings.NewReader
_ = ethereum.NotFound
_ = abi.U256
_ = bind.Bind
_ = common.Big1
_ = types.BloomLookup
_ = event.NewSubscription
)
// TBTCSystemABI is the input ABI used to generate the binding from.
const TBTCSystemABI = "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_relay\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_allowNewDeposits\",\"type\":\"bool\"}],\"name\":\"AllowNewDepositsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_initialCollateralizedPercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_undercollateralizedThresholdPercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_severelyUndercollateralizedThresholdPercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"CollateralizationThresholdsUpdateStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_initialCollateralizedPercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_undercollateralizedThresholdPercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_severelyUndercollateralizedThresholdPercent\",\"type\":\"uint16\"}],\"name\":\"CollateralizationThresholdsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"CourtesyCalled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_keepAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Created\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"EthBtcPriceFeedAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"EthBtcPriceFeedAdditionStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"ExitedCourtesyCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"FraudDuringSetup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Funded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_abortOutputScript\",\"type\":\"bytes\"}],\"name\":\"FunderAbortRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_r\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_s\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"GotRedemptionSignature\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_keepStakedFactory\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_fullyBackedFactory\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_factorySelector\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"KeepFactoriesUpdateStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_keepStakedFactory\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_fullyBackedFactory\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_factorySelector\",\"type\":\"address\"}],\"name\":\"KeepFactoriesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Liquidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64[]\",\"name\":\"_lotSizes\",\"type\":\"uint64[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"LotSizesUpdateStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64[]\",\"name\":\"_lotSizes\",\"type\":\"uint64[]\"}],\"name\":\"LotSizesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Redeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_requester\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_utxoValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_redeemerOutputScript\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_requestedFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_outpoint\",\"type\":\"bytes\"}],\"name\":\"RedemptionRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_signingGroupPubkeyX\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_signingGroupPubkeyY\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"RegisteredPubkey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"SetupFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_signerFeeDivisor\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"SignerFeeDivisorUpdateStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"_signerFeeDivisor\",\"type\":\"uint16\"}],\"name\":\"SignerFeeDivisorUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_depositContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_wasFraud\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"StartedLiquidation\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"approvedToLog\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_initialCollateralizedPercent\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_undercollateralizedThresholdPercent\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_severelyUndercollateralizedThresholdPercent\",\"type\":\"uint16\"}],\"name\":\"beginCollateralizationThresholdsUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIMedianizer\",\"name\":\"_ethBtcPriceFeed\",\"type\":\"address\"}],\"name\":\"beginEthBtcPriceFeedAddition\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_keepStakedFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_fullyBackedFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_factorySelector\",\"type\":\"address\"}],\"name\":\"beginKeepFactoriesUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint64[]\",\"name\":\"_lotSizes\",\"type\":\"uint64[]\"}],\"name\":\"beginLotSizesUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_signerFeeDivisor\",\"type\":\"uint16\"}],\"name\":\"beginSignerFeeDivisorUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"emergencyPauseNewDeposits\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"fetchBitcoinPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"fetchRelayCurrentDifficulty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"fetchRelayPreviousDifficulty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finalizeCollateralizationThresholdsUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finalizeEthBtcPriceFeedAddition\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finalizeKeepFactoriesUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finalizeLotSizesUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finalizeSignerFeeDivisorUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAllowNewDeposits\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAllowedLotSizes\",\"outputs\":[{\"internalType\":\"uint64[]\",\"name\":\"\",\"type\":\"uint64[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getGovernanceTimeDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getInitialCollateralizedPercent\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getKeepFactoriesUpgradeabilityPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getMaximumLotSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getMinimumLotSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getNewDepositFeeEstimate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getPriceFeedGovernanceTimeDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingCollateralizationThresholdsUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingEthBtcPriceFeedAdditionTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingKeepFactoriesUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingKeepFactoriesUpgradeabilityTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingLotSizesUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingPauseTerm\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRemainingSignerFeeDivisorUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getSeverelyUndercollateralizedThresholdPercent\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getSignerFeeDivisor\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getUndercollateralizedThresholdPercent\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIBondedECDSAKeepFactory\",\"name\":\"_defaultKeepFactory\",\"type\":\"address\"},{\"internalType\":\"contractDepositFactory\",\"name\":\"_depositFactory\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"_masterDepositAddress\",\"type\":\"address\"},{\"internalType\":\"contractTBTCToken\",\"name\":\"_tbtcToken\",\"type\":\"address\"},{\"internalType\":\"contractTBTCDepositToken\",\"name\":\"_tbtcDepositToken\",\"type\":\"address\"},{\"internalType\":\"contractFeeRebateToken\",\"name\":\"_feeRebateToken\",\"type\":\"address\"},{\"internalType\":\"contractVendingMachine\",\"name\":\"_vendingMachine\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_keepThreshold\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_keepSize\",\"type\":\"uint16\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_requestedLotSizeSatoshis\",\"type\":\"uint64\"}],\"name\":\"isAllowedLotSize\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"keepSize\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"keepThreshold\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"logCourtesyCalled\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_keepAddress\",\"type\":\"address\"}],\"name\":\"logCreated\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"logExitedCourtesyCall\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"logFraudDuringSetup\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"logFunded\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_abortOutputScript\",\"type\":\"bytes\"}],\"name\":\"logFunderRequestedAbort\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_digest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_s\",\"type\":\"bytes32\"}],\"name\":\"logGotRedemptionSignature\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"logLiquidated\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"logRedeemed\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_requester\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_utxoValue\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_redeemerOutputScript\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_requestedFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_outpoint\",\"type\":\"bytes\"}],\"name\":\"logRedemptionRequested\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_signingGroupPubkeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_signingGroupPubkeyY\",\"type\":\"bytes32\"}],\"name\":\"logRegisteredPubkey\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"logSetupFailed\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_wasFraud\",\"type\":\"bool\"}],\"name\":\"logStartedLiquidation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"priceFeed\",\"outputs\":[{\"internalType\":\"contractISatWeiPriceFeed\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"refreshMinimumBondableValue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"relay\",\"outputs\":[{\"internalType\":\"contractIRelay\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_requestedLotSizeSatoshis\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"_maxSecuredLifetime\",\"type\":\"uint256\"}],\"name\":\"requestNewKeep\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"resumeNewDeposits\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]"
// TBTCSystem is an auto generated Go binding around an Ethereum contract.
type TBTCSystem struct {
TBTCSystemCaller // Read-only binding to the contract
TBTCSystemTransactor // Write-only binding to the contract
TBTCSystemFilterer // Log filterer for contract events
}
// TBTCSystemCaller is an auto generated read-only Go binding around an Ethereum contract.
type TBTCSystemCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// TBTCSystemTransactor is an auto generated write-only Go binding around an Ethereum contract.
type TBTCSystemTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// TBTCSystemFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type TBTCSystemFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// TBTCSystemSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type TBTCSystemSession struct {
Contract *TBTCSystem // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// TBTCSystemCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type TBTCSystemCallerSession struct {
Contract *TBTCSystemCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// TBTCSystemTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type TBTCSystemTransactorSession struct {
Contract *TBTCSystemTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// TBTCSystemRaw is an auto generated low-level Go binding around an Ethereum contract.
type TBTCSystemRaw struct {
Contract *TBTCSystem // Generic contract binding to access the raw methods on
}
// TBTCSystemCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type TBTCSystemCallerRaw struct {
Contract *TBTCSystemCaller // Generic read-only contract binding to access the raw methods on
}
// TBTCSystemTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type TBTCSystemTransactorRaw struct {
Contract *TBTCSystemTransactor // Generic write-only contract binding to access the raw methods on
}
// NewTBTCSystem creates a new instance of TBTCSystem, bound to a specific deployed contract.
func NewTBTCSystem(address common.Address, backend bind.ContractBackend) (*TBTCSystem, error) {
contract, err := bindTBTCSystem(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &TBTCSystem{TBTCSystemCaller: TBTCSystemCaller{contract: contract}, TBTCSystemTransactor: TBTCSystemTransactor{contract: contract}, TBTCSystemFilterer: TBTCSystemFilterer{contract: contract}}, nil
}
// NewTBTCSystemCaller creates a new read-only instance of TBTCSystem, bound to a specific deployed contract.
func NewTBTCSystemCaller(address common.Address, caller bind.ContractCaller) (*TBTCSystemCaller, error) {
contract, err := bindTBTCSystem(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &TBTCSystemCaller{contract: contract}, nil
}
// NewTBTCSystemTransactor creates a new write-only instance of TBTCSystem, bound to a specific deployed contract.
func NewTBTCSystemTransactor(address common.Address, transactor bind.ContractTransactor) (*TBTCSystemTransactor, error) {
contract, err := bindTBTCSystem(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &TBTCSystemTransactor{contract: contract}, nil
}
// NewTBTCSystemFilterer creates a new log filterer instance of TBTCSystem, bound to a specific deployed contract.
func NewTBTCSystemFilterer(address common.Address, filterer bind.ContractFilterer) (*TBTCSystemFilterer, error) {
contract, err := bindTBTCSystem(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &TBTCSystemFilterer{contract: contract}, nil
}
// bindTBTCSystem binds a generic wrapper to an already deployed contract.
func bindTBTCSystem(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := abi.JSON(strings.NewReader(TBTCSystemABI))
if err != nil {
return nil, err
}
return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
}
// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func (_TBTCSystem *TBTCSystemRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
return _TBTCSystem.Contract.TBTCSystemCaller.contract.Call(opts, result, method, params...)
}
// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_TBTCSystem *TBTCSystemRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _TBTCSystem.Contract.TBTCSystemTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_TBTCSystem *TBTCSystemRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _TBTCSystem.Contract.TBTCSystemTransactor.contract.Transact(opts, method, params...)
}
// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func (_TBTCSystem *TBTCSystemCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
return _TBTCSystem.Contract.contract.Call(opts, result, method, params...)
}
// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_TBTCSystem *TBTCSystemTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _TBTCSystem.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_TBTCSystem *TBTCSystemTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _TBTCSystem.Contract.contract.Transact(opts, method, params...)
}
// ApprovedToLog is a free data retrieval call binding the contract method 0x9ffb3862.
//
// Solidity: function approvedToLog(address _caller) constant returns(bool)
func (_TBTCSystem *TBTCSystemCaller) ApprovedToLog(opts *bind.CallOpts, _caller common.Address) (bool, error) {
var (
ret0 = new(bool)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "approvedToLog", _caller)
return *ret0, err
}
// ApprovedToLog is a free data retrieval call binding the contract method 0x9ffb3862.
//
// Solidity: function approvedToLog(address _caller) constant returns(bool)
func (_TBTCSystem *TBTCSystemSession) ApprovedToLog(_caller common.Address) (bool, error) {
return _TBTCSystem.Contract.ApprovedToLog(&_TBTCSystem.CallOpts, _caller)
}
// ApprovedToLog is a free data retrieval call binding the contract method 0x9ffb3862.
//
// Solidity: function approvedToLog(address _caller) constant returns(bool)
func (_TBTCSystem *TBTCSystemCallerSession) ApprovedToLog(_caller common.Address) (bool, error) {
return _TBTCSystem.Contract.ApprovedToLog(&_TBTCSystem.CallOpts, _caller)
}
// FetchBitcoinPrice is a free data retrieval call binding the contract method 0xa6c1691c.
//
// Solidity: function fetchBitcoinPrice() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) FetchBitcoinPrice(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "fetchBitcoinPrice")
return *ret0, err
}
// FetchBitcoinPrice is a free data retrieval call binding the contract method 0xa6c1691c.
//
// Solidity: function fetchBitcoinPrice() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) FetchBitcoinPrice() (*big.Int, error) {
return _TBTCSystem.Contract.FetchBitcoinPrice(&_TBTCSystem.CallOpts)
}
// FetchBitcoinPrice is a free data retrieval call binding the contract method 0xa6c1691c.
//
// Solidity: function fetchBitcoinPrice() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) FetchBitcoinPrice() (*big.Int, error) {
return _TBTCSystem.Contract.FetchBitcoinPrice(&_TBTCSystem.CallOpts)
}
// FetchRelayCurrentDifficulty is a free data retrieval call binding the contract method 0xdab70cb1.
//
// Solidity: function fetchRelayCurrentDifficulty() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) FetchRelayCurrentDifficulty(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "fetchRelayCurrentDifficulty")
return *ret0, err
}
// FetchRelayCurrentDifficulty is a free data retrieval call binding the contract method 0xdab70cb1.
//
// Solidity: function fetchRelayCurrentDifficulty() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) FetchRelayCurrentDifficulty() (*big.Int, error) {
return _TBTCSystem.Contract.FetchRelayCurrentDifficulty(&_TBTCSystem.CallOpts)
}
// FetchRelayCurrentDifficulty is a free data retrieval call binding the contract method 0xdab70cb1.
//
// Solidity: function fetchRelayCurrentDifficulty() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) FetchRelayCurrentDifficulty() (*big.Int, error) {
return _TBTCSystem.Contract.FetchRelayCurrentDifficulty(&_TBTCSystem.CallOpts)
}
// FetchRelayPreviousDifficulty is a free data retrieval call binding the contract method 0x402b783d.
//
// Solidity: function fetchRelayPreviousDifficulty() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) FetchRelayPreviousDifficulty(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "fetchRelayPreviousDifficulty")
return *ret0, err
}
// FetchRelayPreviousDifficulty is a free data retrieval call binding the contract method 0x402b783d.
//
// Solidity: function fetchRelayPreviousDifficulty() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) FetchRelayPreviousDifficulty() (*big.Int, error) {
return _TBTCSystem.Contract.FetchRelayPreviousDifficulty(&_TBTCSystem.CallOpts)
}
// FetchRelayPreviousDifficulty is a free data retrieval call binding the contract method 0x402b783d.
//
// Solidity: function fetchRelayPreviousDifficulty() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) FetchRelayPreviousDifficulty() (*big.Int, error) {
return _TBTCSystem.Contract.FetchRelayPreviousDifficulty(&_TBTCSystem.CallOpts)
}
// GetAllowNewDeposits is a free data retrieval call binding the contract method 0x0d7eb1c4.
//
// Solidity: function getAllowNewDeposits() constant returns(bool)
func (_TBTCSystem *TBTCSystemCaller) GetAllowNewDeposits(opts *bind.CallOpts) (bool, error) {
var (
ret0 = new(bool)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getAllowNewDeposits")
return *ret0, err
}
// GetAllowNewDeposits is a free data retrieval call binding the contract method 0x0d7eb1c4.
//
// Solidity: function getAllowNewDeposits() constant returns(bool)
func (_TBTCSystem *TBTCSystemSession) GetAllowNewDeposits() (bool, error) {
return _TBTCSystem.Contract.GetAllowNewDeposits(&_TBTCSystem.CallOpts)
}
// GetAllowNewDeposits is a free data retrieval call binding the contract method 0x0d7eb1c4.
//
// Solidity: function getAllowNewDeposits() constant returns(bool)
func (_TBTCSystem *TBTCSystemCallerSession) GetAllowNewDeposits() (bool, error) {
return _TBTCSystem.Contract.GetAllowNewDeposits(&_TBTCSystem.CallOpts)
}
// GetAllowedLotSizes is a free data retrieval call binding the contract method 0x086c9edd.
//
// Solidity: function getAllowedLotSizes() constant returns(uint64[])
func (_TBTCSystem *TBTCSystemCaller) GetAllowedLotSizes(opts *bind.CallOpts) ([]uint64, error) {
var (
ret0 = new([]uint64)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getAllowedLotSizes")
return *ret0, err
}
// GetAllowedLotSizes is a free data retrieval call binding the contract method 0x086c9edd.
//
// Solidity: function getAllowedLotSizes() constant returns(uint64[])
func (_TBTCSystem *TBTCSystemSession) GetAllowedLotSizes() ([]uint64, error) {
return _TBTCSystem.Contract.GetAllowedLotSizes(&_TBTCSystem.CallOpts)
}
// GetAllowedLotSizes is a free data retrieval call binding the contract method 0x086c9edd.
//
// Solidity: function getAllowedLotSizes() constant returns(uint64[])
func (_TBTCSystem *TBTCSystemCallerSession) GetAllowedLotSizes() ([]uint64, error) {
return _TBTCSystem.Contract.GetAllowedLotSizes(&_TBTCSystem.CallOpts)
}
// GetGovernanceTimeDelay is a free data retrieval call binding the contract method 0xf2e72347.
//
// Solidity: function getGovernanceTimeDelay() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetGovernanceTimeDelay(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getGovernanceTimeDelay")
return *ret0, err
}
// GetGovernanceTimeDelay is a free data retrieval call binding the contract method 0xf2e72347.
//
// Solidity: function getGovernanceTimeDelay() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetGovernanceTimeDelay() (*big.Int, error) {
return _TBTCSystem.Contract.GetGovernanceTimeDelay(&_TBTCSystem.CallOpts)
}
// GetGovernanceTimeDelay is a free data retrieval call binding the contract method 0xf2e72347.
//
// Solidity: function getGovernanceTimeDelay() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetGovernanceTimeDelay() (*big.Int, error) {
return _TBTCSystem.Contract.GetGovernanceTimeDelay(&_TBTCSystem.CallOpts)
}
// GetInitialCollateralizedPercent is a free data retrieval call binding the contract method 0x987ecea7.
//
// Solidity: function getInitialCollateralizedPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCaller) GetInitialCollateralizedPercent(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getInitialCollateralizedPercent")
return *ret0, err
}
// GetInitialCollateralizedPercent is a free data retrieval call binding the contract method 0x987ecea7.
//
// Solidity: function getInitialCollateralizedPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemSession) GetInitialCollateralizedPercent() (uint16, error) {
return _TBTCSystem.Contract.GetInitialCollateralizedPercent(&_TBTCSystem.CallOpts)
}
// GetInitialCollateralizedPercent is a free data retrieval call binding the contract method 0x987ecea7.
//
// Solidity: function getInitialCollateralizedPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCallerSession) GetInitialCollateralizedPercent() (uint16, error) {
return _TBTCSystem.Contract.GetInitialCollateralizedPercent(&_TBTCSystem.CallOpts)
}
// GetKeepFactoriesUpgradeabilityPeriod is a free data retrieval call binding the contract method 0xe5a6d77d.
//
// Solidity: function getKeepFactoriesUpgradeabilityPeriod() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetKeepFactoriesUpgradeabilityPeriod(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getKeepFactoriesUpgradeabilityPeriod")
return *ret0, err
}
// GetKeepFactoriesUpgradeabilityPeriod is a free data retrieval call binding the contract method 0xe5a6d77d.
//
// Solidity: function getKeepFactoriesUpgradeabilityPeriod() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetKeepFactoriesUpgradeabilityPeriod() (*big.Int, error) {
return _TBTCSystem.Contract.GetKeepFactoriesUpgradeabilityPeriod(&_TBTCSystem.CallOpts)
}
// GetKeepFactoriesUpgradeabilityPeriod is a free data retrieval call binding the contract method 0xe5a6d77d.
//
// Solidity: function getKeepFactoriesUpgradeabilityPeriod() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetKeepFactoriesUpgradeabilityPeriod() (*big.Int, error) {
return _TBTCSystem.Contract.GetKeepFactoriesUpgradeabilityPeriod(&_TBTCSystem.CallOpts)
}
// GetMaximumLotSize is a free data retrieval call binding the contract method 0x2753d84b.
//
// Solidity: function getMaximumLotSize() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetMaximumLotSize(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getMaximumLotSize")
return *ret0, err
}
// GetMaximumLotSize is a free data retrieval call binding the contract method 0x2753d84b.
//
// Solidity: function getMaximumLotSize() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetMaximumLotSize() (*big.Int, error) {
return _TBTCSystem.Contract.GetMaximumLotSize(&_TBTCSystem.CallOpts)
}
// GetMaximumLotSize is a free data retrieval call binding the contract method 0x2753d84b.
//
// Solidity: function getMaximumLotSize() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetMaximumLotSize() (*big.Int, error) {
return _TBTCSystem.Contract.GetMaximumLotSize(&_TBTCSystem.CallOpts)
}
// GetMinimumLotSize is a free data retrieval call binding the contract method 0x34d534a9.
//
// Solidity: function getMinimumLotSize() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetMinimumLotSize(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getMinimumLotSize")
return *ret0, err
}
// GetMinimumLotSize is a free data retrieval call binding the contract method 0x34d534a9.
//
// Solidity: function getMinimumLotSize() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetMinimumLotSize() (*big.Int, error) {
return _TBTCSystem.Contract.GetMinimumLotSize(&_TBTCSystem.CallOpts)
}
// GetMinimumLotSize is a free data retrieval call binding the contract method 0x34d534a9.
//
// Solidity: function getMinimumLotSize() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetMinimumLotSize() (*big.Int, error) {
return _TBTCSystem.Contract.GetMinimumLotSize(&_TBTCSystem.CallOpts)
}
// GetNewDepositFeeEstimate is a free data retrieval call binding the contract method 0x2d00f1ee.
//
// Solidity: function getNewDepositFeeEstimate() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetNewDepositFeeEstimate(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getNewDepositFeeEstimate")
return *ret0, err
}
// GetNewDepositFeeEstimate is a free data retrieval call binding the contract method 0x2d00f1ee.
//
// Solidity: function getNewDepositFeeEstimate() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetNewDepositFeeEstimate() (*big.Int, error) {
return _TBTCSystem.Contract.GetNewDepositFeeEstimate(&_TBTCSystem.CallOpts)
}
// GetNewDepositFeeEstimate is a free data retrieval call binding the contract method 0x2d00f1ee.
//
// Solidity: function getNewDepositFeeEstimate() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetNewDepositFeeEstimate() (*big.Int, error) {
return _TBTCSystem.Contract.GetNewDepositFeeEstimate(&_TBTCSystem.CallOpts)
}
// GetPriceFeedGovernanceTimeDelay is a free data retrieval call binding the contract method 0xae7f4a5f.
//
// Solidity: function getPriceFeedGovernanceTimeDelay() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetPriceFeedGovernanceTimeDelay(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getPriceFeedGovernanceTimeDelay")
return *ret0, err
}
// GetPriceFeedGovernanceTimeDelay is a free data retrieval call binding the contract method 0xae7f4a5f.
//
// Solidity: function getPriceFeedGovernanceTimeDelay() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetPriceFeedGovernanceTimeDelay() (*big.Int, error) {
return _TBTCSystem.Contract.GetPriceFeedGovernanceTimeDelay(&_TBTCSystem.CallOpts)
}
// GetPriceFeedGovernanceTimeDelay is a free data retrieval call binding the contract method 0xae7f4a5f.
//
// Solidity: function getPriceFeedGovernanceTimeDelay() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetPriceFeedGovernanceTimeDelay() (*big.Int, error) {
return _TBTCSystem.Contract.GetPriceFeedGovernanceTimeDelay(&_TBTCSystem.CallOpts)
}
// GetRemainingCollateralizationThresholdsUpdateTime is a free data retrieval call binding the contract method 0xc074d550.
//
// Solidity: function getRemainingCollateralizationThresholdsUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingCollateralizationThresholdsUpdateTime(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingCollateralizationThresholdsUpdateTime")
return *ret0, err
}
// GetRemainingCollateralizationThresholdsUpdateTime is a free data retrieval call binding the contract method 0xc074d550.
//
// Solidity: function getRemainingCollateralizationThresholdsUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingCollateralizationThresholdsUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingCollateralizationThresholdsUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingCollateralizationThresholdsUpdateTime is a free data retrieval call binding the contract method 0xc074d550.
//
// Solidity: function getRemainingCollateralizationThresholdsUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingCollateralizationThresholdsUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingCollateralizationThresholdsUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingEthBtcPriceFeedAdditionTime is a free data retrieval call binding the contract method 0x0af488f9.
//
// Solidity: function getRemainingEthBtcPriceFeedAdditionTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingEthBtcPriceFeedAdditionTime(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingEthBtcPriceFeedAdditionTime")
return *ret0, err
}
// GetRemainingEthBtcPriceFeedAdditionTime is a free data retrieval call binding the contract method 0x0af488f9.
//
// Solidity: function getRemainingEthBtcPriceFeedAdditionTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingEthBtcPriceFeedAdditionTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingEthBtcPriceFeedAdditionTime(&_TBTCSystem.CallOpts)
}
// GetRemainingEthBtcPriceFeedAdditionTime is a free data retrieval call binding the contract method 0x0af488f9.
//
// Solidity: function getRemainingEthBtcPriceFeedAdditionTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingEthBtcPriceFeedAdditionTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingEthBtcPriceFeedAdditionTime(&_TBTCSystem.CallOpts)
}
// GetRemainingKeepFactoriesUpdateTime is a free data retrieval call binding the contract method 0x57535088.
//
// Solidity: function getRemainingKeepFactoriesUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingKeepFactoriesUpdateTime(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingKeepFactoriesUpdateTime")
return *ret0, err
}
// GetRemainingKeepFactoriesUpdateTime is a free data retrieval call binding the contract method 0x57535088.
//
// Solidity: function getRemainingKeepFactoriesUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingKeepFactoriesUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingKeepFactoriesUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingKeepFactoriesUpdateTime is a free data retrieval call binding the contract method 0x57535088.
//
// Solidity: function getRemainingKeepFactoriesUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingKeepFactoriesUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingKeepFactoriesUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingKeepFactoriesUpgradeabilityTime is a free data retrieval call binding the contract method 0xb196b5a3.
//
// Solidity: function getRemainingKeepFactoriesUpgradeabilityTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingKeepFactoriesUpgradeabilityTime(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingKeepFactoriesUpgradeabilityTime")
return *ret0, err
}
// GetRemainingKeepFactoriesUpgradeabilityTime is a free data retrieval call binding the contract method 0xb196b5a3.
//
// Solidity: function getRemainingKeepFactoriesUpgradeabilityTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingKeepFactoriesUpgradeabilityTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingKeepFactoriesUpgradeabilityTime(&_TBTCSystem.CallOpts)
}
// GetRemainingKeepFactoriesUpgradeabilityTime is a free data retrieval call binding the contract method 0xb196b5a3.
//
// Solidity: function getRemainingKeepFactoriesUpgradeabilityTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingKeepFactoriesUpgradeabilityTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingKeepFactoriesUpgradeabilityTime(&_TBTCSystem.CallOpts)
}
// GetRemainingLotSizesUpdateTime is a free data retrieval call binding the contract method 0x3ee850bc.
//
// Solidity: function getRemainingLotSizesUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingLotSizesUpdateTime(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingLotSizesUpdateTime")
return *ret0, err
}
// GetRemainingLotSizesUpdateTime is a free data retrieval call binding the contract method 0x3ee850bc.
//
// Solidity: function getRemainingLotSizesUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingLotSizesUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingLotSizesUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingLotSizesUpdateTime is a free data retrieval call binding the contract method 0x3ee850bc.
//
// Solidity: function getRemainingLotSizesUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingLotSizesUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingLotSizesUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingPauseTerm is a free data retrieval call binding the contract method 0x013b0f30.
//
// Solidity: function getRemainingPauseTerm() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingPauseTerm(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingPauseTerm")
return *ret0, err
}
// GetRemainingPauseTerm is a free data retrieval call binding the contract method 0x013b0f30.
//
// Solidity: function getRemainingPauseTerm() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingPauseTerm() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingPauseTerm(&_TBTCSystem.CallOpts)
}
// GetRemainingPauseTerm is a free data retrieval call binding the contract method 0x013b0f30.
//
// Solidity: function getRemainingPauseTerm() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingPauseTerm() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingPauseTerm(&_TBTCSystem.CallOpts)
}
// GetRemainingSignerFeeDivisorUpdateTime is a free data retrieval call binding the contract method 0xb792a38e.
//
// Solidity: function getRemainingSignerFeeDivisorUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCaller) GetRemainingSignerFeeDivisorUpdateTime(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getRemainingSignerFeeDivisorUpdateTime")
return *ret0, err
}
// GetRemainingSignerFeeDivisorUpdateTime is a free data retrieval call binding the contract method 0xb792a38e.
//
// Solidity: function getRemainingSignerFeeDivisorUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemSession) GetRemainingSignerFeeDivisorUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingSignerFeeDivisorUpdateTime(&_TBTCSystem.CallOpts)
}
// GetRemainingSignerFeeDivisorUpdateTime is a free data retrieval call binding the contract method 0xb792a38e.
//
// Solidity: function getRemainingSignerFeeDivisorUpdateTime() constant returns(uint256)
func (_TBTCSystem *TBTCSystemCallerSession) GetRemainingSignerFeeDivisorUpdateTime() (*big.Int, error) {
return _TBTCSystem.Contract.GetRemainingSignerFeeDivisorUpdateTime(&_TBTCSystem.CallOpts)
}
// GetSeverelyUndercollateralizedThresholdPercent is a free data retrieval call binding the contract method 0x6f4fef62.
//
// Solidity: function getSeverelyUndercollateralizedThresholdPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCaller) GetSeverelyUndercollateralizedThresholdPercent(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getSeverelyUndercollateralizedThresholdPercent")
return *ret0, err
}
// GetSeverelyUndercollateralizedThresholdPercent is a free data retrieval call binding the contract method 0x6f4fef62.
//
// Solidity: function getSeverelyUndercollateralizedThresholdPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemSession) GetSeverelyUndercollateralizedThresholdPercent() (uint16, error) {
return _TBTCSystem.Contract.GetSeverelyUndercollateralizedThresholdPercent(&_TBTCSystem.CallOpts)
}
// GetSeverelyUndercollateralizedThresholdPercent is a free data retrieval call binding the contract method 0x6f4fef62.
//
// Solidity: function getSeverelyUndercollateralizedThresholdPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCallerSession) GetSeverelyUndercollateralizedThresholdPercent() (uint16, error) {
return _TBTCSystem.Contract.GetSeverelyUndercollateralizedThresholdPercent(&_TBTCSystem.CallOpts)
}
// GetSignerFeeDivisor is a free data retrieval call binding the contract method 0x60e98d59.
//
// Solidity: function getSignerFeeDivisor() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCaller) GetSignerFeeDivisor(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getSignerFeeDivisor")
return *ret0, err
}
// GetSignerFeeDivisor is a free data retrieval call binding the contract method 0x60e98d59.
//
// Solidity: function getSignerFeeDivisor() constant returns(uint16)
func (_TBTCSystem *TBTCSystemSession) GetSignerFeeDivisor() (uint16, error) {
return _TBTCSystem.Contract.GetSignerFeeDivisor(&_TBTCSystem.CallOpts)
}
// GetSignerFeeDivisor is a free data retrieval call binding the contract method 0x60e98d59.
//
// Solidity: function getSignerFeeDivisor() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCallerSession) GetSignerFeeDivisor() (uint16, error) {
return _TBTCSystem.Contract.GetSignerFeeDivisor(&_TBTCSystem.CallOpts)
}
// GetUndercollateralizedThresholdPercent is a free data retrieval call binding the contract method 0xa2cd75da.
//
// Solidity: function getUndercollateralizedThresholdPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCaller) GetUndercollateralizedThresholdPercent(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "getUndercollateralizedThresholdPercent")
return *ret0, err
}
// GetUndercollateralizedThresholdPercent is a free data retrieval call binding the contract method 0xa2cd75da.
//
// Solidity: function getUndercollateralizedThresholdPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemSession) GetUndercollateralizedThresholdPercent() (uint16, error) {
return _TBTCSystem.Contract.GetUndercollateralizedThresholdPercent(&_TBTCSystem.CallOpts)
}
// GetUndercollateralizedThresholdPercent is a free data retrieval call binding the contract method 0xa2cd75da.
//
// Solidity: function getUndercollateralizedThresholdPercent() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCallerSession) GetUndercollateralizedThresholdPercent() (uint16, error) {
return _TBTCSystem.Contract.GetUndercollateralizedThresholdPercent(&_TBTCSystem.CallOpts)
}
// IsAllowedLotSize is a free data retrieval call binding the contract method 0xa28b79f1.
//
// Solidity: function isAllowedLotSize(uint64 _requestedLotSizeSatoshis) constant returns(bool)
func (_TBTCSystem *TBTCSystemCaller) IsAllowedLotSize(opts *bind.CallOpts, _requestedLotSizeSatoshis uint64) (bool, error) {
var (
ret0 = new(bool)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "isAllowedLotSize", _requestedLotSizeSatoshis)
return *ret0, err
}
// IsAllowedLotSize is a free data retrieval call binding the contract method 0xa28b79f1.
//
// Solidity: function isAllowedLotSize(uint64 _requestedLotSizeSatoshis) constant returns(bool)
func (_TBTCSystem *TBTCSystemSession) IsAllowedLotSize(_requestedLotSizeSatoshis uint64) (bool, error) {
return _TBTCSystem.Contract.IsAllowedLotSize(&_TBTCSystem.CallOpts, _requestedLotSizeSatoshis)
}
// IsAllowedLotSize is a free data retrieval call binding the contract method 0xa28b79f1.
//
// Solidity: function isAllowedLotSize(uint64 _requestedLotSizeSatoshis) constant returns(bool)
func (_TBTCSystem *TBTCSystemCallerSession) IsAllowedLotSize(_requestedLotSizeSatoshis uint64) (bool, error) {
return _TBTCSystem.Contract.IsAllowedLotSize(&_TBTCSystem.CallOpts, _requestedLotSizeSatoshis)
}
// IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
//
// Solidity: function isOwner() constant returns(bool)
func (_TBTCSystem *TBTCSystemCaller) IsOwner(opts *bind.CallOpts) (bool, error) {
var (
ret0 = new(bool)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "isOwner")
return *ret0, err
}
// IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
//
// Solidity: function isOwner() constant returns(bool)
func (_TBTCSystem *TBTCSystemSession) IsOwner() (bool, error) {
return _TBTCSystem.Contract.IsOwner(&_TBTCSystem.CallOpts)
}
// IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
//
// Solidity: function isOwner() constant returns(bool)
func (_TBTCSystem *TBTCSystemCallerSession) IsOwner() (bool, error) {
return _TBTCSystem.Contract.IsOwner(&_TBTCSystem.CallOpts)
}
// KeepSize is a free data retrieval call binding the contract method 0x64bdb667.
//
// Solidity: function keepSize() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCaller) KeepSize(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "keepSize")
return *ret0, err
}
// KeepSize is a free data retrieval call binding the contract method 0x64bdb667.
//
// Solidity: function keepSize() constant returns(uint16)
func (_TBTCSystem *TBTCSystemSession) KeepSize() (uint16, error) {
return _TBTCSystem.Contract.KeepSize(&_TBTCSystem.CallOpts)
}
// KeepSize is a free data retrieval call binding the contract method 0x64bdb667.
//
// Solidity: function keepSize() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCallerSession) KeepSize() (uint16, error) {
return _TBTCSystem.Contract.KeepSize(&_TBTCSystem.CallOpts)
}
// KeepThreshold is a free data retrieval call binding the contract method 0xe5426d2e.
//
// Solidity: function keepThreshold() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCaller) KeepThreshold(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "keepThreshold")
return *ret0, err
}
// KeepThreshold is a free data retrieval call binding the contract method 0xe5426d2e.
//
// Solidity: function keepThreshold() constant returns(uint16)
func (_TBTCSystem *TBTCSystemSession) KeepThreshold() (uint16, error) {
return _TBTCSystem.Contract.KeepThreshold(&_TBTCSystem.CallOpts)
}
// KeepThreshold is a free data retrieval call binding the contract method 0xe5426d2e.
//
// Solidity: function keepThreshold() constant returns(uint16)
func (_TBTCSystem *TBTCSystemCallerSession) KeepThreshold() (uint16, error) {
return _TBTCSystem.Contract.KeepThreshold(&_TBTCSystem.CallOpts)
}
// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
//
// Solidity: function owner() constant returns(address)
func (_TBTCSystem *TBTCSystemCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
var (
ret0 = new(common.Address)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "owner")
return *ret0, err
}
// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
//
// Solidity: function owner() constant returns(address)
func (_TBTCSystem *TBTCSystemSession) Owner() (common.Address, error) {
return _TBTCSystem.Contract.Owner(&_TBTCSystem.CallOpts)
}
// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
//
// Solidity: function owner() constant returns(address)
func (_TBTCSystem *TBTCSystemCallerSession) Owner() (common.Address, error) {
return _TBTCSystem.Contract.Owner(&_TBTCSystem.CallOpts)
}
// PriceFeed is a free data retrieval call binding the contract method 0x741bef1a.
//
// Solidity: function priceFeed() constant returns(address)
func (_TBTCSystem *TBTCSystemCaller) PriceFeed(opts *bind.CallOpts) (common.Address, error) {
var (
ret0 = new(common.Address)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "priceFeed")
return *ret0, err
}
// PriceFeed is a free data retrieval call binding the contract method 0x741bef1a.
//
// Solidity: function priceFeed() constant returns(address)
func (_TBTCSystem *TBTCSystemSession) PriceFeed() (common.Address, error) {
return _TBTCSystem.Contract.PriceFeed(&_TBTCSystem.CallOpts)
}
// PriceFeed is a free data retrieval call binding the contract method 0x741bef1a.
//
// Solidity: function priceFeed() constant returns(address)
func (_TBTCSystem *TBTCSystemCallerSession) PriceFeed() (common.Address, error) {
return _TBTCSystem.Contract.PriceFeed(&_TBTCSystem.CallOpts)
}
// Relay is a free data retrieval call binding the contract method 0xb59589d1.
//
// Solidity: function relay() constant returns(address)
func (_TBTCSystem *TBTCSystemCaller) Relay(opts *bind.CallOpts) (common.Address, error) {
var (
ret0 = new(common.Address)
)
out := ret0
err := _TBTCSystem.contract.Call(opts, out, "relay")
return *ret0, err
}
// Relay is a free data retrieval call binding the contract method 0xb59589d1.
//
// Solidity: function relay() constant returns(address)
func (_TBTCSystem *TBTCSystemSession) Relay() (common.Address, error) {
return _TBTCSystem.Contract.Relay(&_TBTCSystem.CallOpts)
}
// Relay is a free data retrieval call binding the contract method 0xb59589d1.
//
// Solidity: function relay() constant returns(address)
func (_TBTCSystem *TBTCSystemCallerSession) Relay() (common.Address, error) {
return _TBTCSystem.Contract.Relay(&_TBTCSystem.CallOpts)
}
// BeginCollateralizationThresholdsUpdate is a paid mutator transaction binding the contract method 0xdde3fdd2.
//
// Solidity: function beginCollateralizationThresholdsUpdate(uint16 _initialCollateralizedPercent, uint16 _undercollateralizedThresholdPercent, uint16 _severelyUndercollateralizedThresholdPercent) returns()
func (_TBTCSystem *TBTCSystemTransactor) BeginCollateralizationThresholdsUpdate(opts *bind.TransactOpts, _initialCollateralizedPercent uint16, _undercollateralizedThresholdPercent uint16, _severelyUndercollateralizedThresholdPercent uint16) (*types.Transaction, error) {
return _TBTCSystem.contract.Transact(opts, "beginCollateralizationThresholdsUpdate", _initialCollateralizedPercent, _undercollateralizedThresholdPercent, _severelyUndercollateralizedThresholdPercent)
}
// BeginCollateralizationThresholdsUpdate is a paid mutator transaction binding the contract method 0xdde3fdd2.
//
// Solidity: function beginCollateralizationThresholdsUpdate(uint16 _initialCollateralizedPercent, uint16 _undercollateralizedThresholdPercent, uint16 _severelyUndercollateralizedThresholdPercent) returns()
func (_TBTCSystem *TBTCSystemSession) BeginCollateralizationThresholdsUpdate(_initialCollateralizedPercent uint16, _undercollateralizedThresholdPercent uint16, _severelyUndercollateralizedThresholdPercent uint16) (*types.Transaction, error) {
return _TBTCSystem.Contract.BeginCollateralizationThresholdsUpdate(&_TBTCSystem.TransactOpts, _initialCollateralizedPercent, _undercollateralizedThresholdPercent, _severelyUndercollateralizedThresholdPercent)
}
// BeginCollateralizationThresholdsUpdate is a paid mutator transaction binding the contract method 0xdde3fdd2.
//
// Solidity: function beginCollateralizationThresholdsUpdate(uint16 _initialCollateralizedPercent, uint16 _undercollateralizedThresholdPercent, uint16 _severelyUndercollateralizedThresholdPercent) returns()
func (_TBTCSystem *TBTCSystemTransactorSession) BeginCollateralizationThresholdsUpdate(_initialCollateralizedPercent uint16, _undercollateralizedThresholdPercent uint16, _severelyUndercollateralizedThresholdPercent uint16) (*types.Transaction, error) {
return _TBTCSystem.Contract.BeginCollateralizationThresholdsUpdate(&_TBTCSystem.TransactOpts, _initialCollateralizedPercent, _undercollateralizedThresholdPercent, _severelyUndercollateralizedThresholdPercent)
}
// BeginEthBtcPriceFeedAddition is a paid mutator transaction binding the contract method 0x07a3d659.
//
// Solidity: function beginEthBtcPriceFeedAddition(address _ethBtcPriceFeed) returns()
func (_TBTCSystem *TBTCSystemTransactor) BeginEthBtcPriceFeedAddition(opts *bind.TransactOpts, _ethBtcPriceFeed common.Address) (*types.Transaction, error) {
return _TBTCSystem.contract.Transact(opts, "beginEthBtcPriceFeedAddition", _ethBtcPriceFeed)
}
// BeginEthBtcPriceFeedAddition is a paid mutator transaction binding the contract method 0x07a3d659.
//
// Solidity: function beginEthBtcPriceFeedAddition(address _ethBtcPriceFeed) returns()
func (_TBTCSystem *TBTCSystemSession) BeginEthBtcPriceFeedAddition(_ethBtcPriceFeed common.Address) (*types.Transaction, error) {
return _TBTCSystem.Contract.BeginEthBtcPriceFeedAddition(&_TBTCSystem.TransactOpts, _ethBtcPriceFeed)
}
// BeginEthBtcPriceFeedAddition is a paid mutator transaction binding the contract method 0x07a3d659.
//
// Solidity: function beginEthBtcPriceFeedAddition(address _ethBtcPriceFeed) returns()
func (_TBTCSystem *TBTCSystemTransactorSession) BeginEthBtcPriceFeedAddition(_ethBtcPriceFeed common.Address) (*types.Transaction, error) {
return _TBTCSystem.Contract.BeginEthBtcPriceFeedAddition(&_TBTCSystem.TransactOpts, _ethBtcPriceFeed)
}
// BeginKeepFactoriesUpdate is a paid mutator transaction binding the contract method 0xeae6191f.
//
// Solidity: function beginKeepFactoriesUpdate(address _keepStakedFactory, address _fullyBackedFactory, address _factorySelector) returns()
func (_TBTCSystem *TBTCSystemTransactor) BeginKeepFactoriesUpdate(opts *bind.TransactOpts, _keepStakedFactory common.Address, _fullyBackedFactory common.Address, _factorySelector common.Address) (*types.Transaction, error) {