/
testmessagebus.abigen.go
7682 lines (6602 loc) · 424 KB
/
testmessagebus.abigen.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 testmessagebus
import (
"errors"
"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 (
_ = errors.New
_ = big.NewInt
_ = strings.NewReader
_ = ethereum.NotFound
_ = bind.Bind
_ = common.Big1
_ = types.BloomLookup
_ = event.NewSubscription
_ = abi.ConvertType
)
// AddressUpgradeableMetaData contains all meta data concerning the AddressUpgradeable contract.
var AddressUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122080a8feece8aebd5a29ba816e7ad476af307ac260e3acdf96fefde8ba65c780f564736f6c63430008000033",
}
// AddressUpgradeableABI is the input ABI used to generate the binding from.
// Deprecated: Use AddressUpgradeableMetaData.ABI instead.
var AddressUpgradeableABI = AddressUpgradeableMetaData.ABI
// AddressUpgradeableBin is the compiled bytecode used for deploying new contracts.
// Deprecated: Use AddressUpgradeableMetaData.Bin instead.
var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin
// DeployAddressUpgradeable deploys a new Ethereum contract, binding an instance of AddressUpgradeable to it.
func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressUpgradeable, error) {
parsed, err := AddressUpgradeableMetaData.GetAbi()
if err != nil {
return common.Address{}, nil, nil, err
}
if parsed == nil {
return common.Address{}, nil, nil, errors.New("GetABI returned nil")
}
address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(AddressUpgradeableBin), backend)
if err != nil {
return common.Address{}, nil, nil, err
}
return address, tx, &AddressUpgradeable{AddressUpgradeableCaller: AddressUpgradeableCaller{contract: contract}, AddressUpgradeableTransactor: AddressUpgradeableTransactor{contract: contract}, AddressUpgradeableFilterer: AddressUpgradeableFilterer{contract: contract}}, nil
}
// AddressUpgradeable is an auto generated Go binding around an Ethereum contract.
type AddressUpgradeable struct {
AddressUpgradeableCaller // Read-only binding to the contract
AddressUpgradeableTransactor // Write-only binding to the contract
AddressUpgradeableFilterer // Log filterer for contract events
}
// AddressUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
type AddressUpgradeableCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// AddressUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
type AddressUpgradeableTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// AddressUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type AddressUpgradeableFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// AddressUpgradeableSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type AddressUpgradeableSession struct {
Contract *AddressUpgradeable // 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
}
// AddressUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type AddressUpgradeableCallerSession struct {
Contract *AddressUpgradeableCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// AddressUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type AddressUpgradeableTransactorSession struct {
Contract *AddressUpgradeableTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// AddressUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
type AddressUpgradeableRaw struct {
Contract *AddressUpgradeable // Generic contract binding to access the raw methods on
}
// AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type AddressUpgradeableCallerRaw struct {
Contract *AddressUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
// AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type AddressUpgradeableTransactorRaw struct {
Contract *AddressUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
// NewAddressUpgradeable creates a new instance of AddressUpgradeable, bound to a specific deployed contract.
func NewAddressUpgradeable(address common.Address, backend bind.ContractBackend) (*AddressUpgradeable, error) {
contract, err := bindAddressUpgradeable(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &AddressUpgradeable{AddressUpgradeableCaller: AddressUpgradeableCaller{contract: contract}, AddressUpgradeableTransactor: AddressUpgradeableTransactor{contract: contract}, AddressUpgradeableFilterer: AddressUpgradeableFilterer{contract: contract}}, nil
}
// NewAddressUpgradeableCaller creates a new read-only instance of AddressUpgradeable, bound to a specific deployed contract.
func NewAddressUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*AddressUpgradeableCaller, error) {
contract, err := bindAddressUpgradeable(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &AddressUpgradeableCaller{contract: contract}, nil
}
// NewAddressUpgradeableTransactor creates a new write-only instance of AddressUpgradeable, bound to a specific deployed contract.
func NewAddressUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressUpgradeableTransactor, error) {
contract, err := bindAddressUpgradeable(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &AddressUpgradeableTransactor{contract: contract}, nil
}
// NewAddressUpgradeableFilterer creates a new log filterer instance of AddressUpgradeable, bound to a specific deployed contract.
func NewAddressUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressUpgradeableFilterer, error) {
contract, err := bindAddressUpgradeable(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &AddressUpgradeableFilterer{contract: contract}, nil
}
// bindAddressUpgradeable binds a generic wrapper to an already deployed contract.
func bindAddressUpgradeable(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := AddressUpgradeableMetaData.GetAbi()
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 (_AddressUpgradeable *AddressUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _AddressUpgradeable.Contract.AddressUpgradeableCaller.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 (_AddressUpgradeable *AddressUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _AddressUpgradeable.Contract.AddressUpgradeableTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_AddressUpgradeable *AddressUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _AddressUpgradeable.Contract.AddressUpgradeableTransactor.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 (_AddressUpgradeable *AddressUpgradeableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _AddressUpgradeable.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 (_AddressUpgradeable *AddressUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _AddressUpgradeable.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _AddressUpgradeable.Contract.contract.Transact(opts, method, params...)
}
// ContextChainIdUpgradeableMetaData contains all meta data concerning the ContextChainIdUpgradeable contract.
var ContextChainIdUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
}
// ContextChainIdUpgradeableABI is the input ABI used to generate the binding from.
// Deprecated: Use ContextChainIdUpgradeableMetaData.ABI instead.
var ContextChainIdUpgradeableABI = ContextChainIdUpgradeableMetaData.ABI
// ContextChainIdUpgradeable is an auto generated Go binding around an Ethereum contract.
type ContextChainIdUpgradeable struct {
ContextChainIdUpgradeableCaller // Read-only binding to the contract
ContextChainIdUpgradeableTransactor // Write-only binding to the contract
ContextChainIdUpgradeableFilterer // Log filterer for contract events
}
// ContextChainIdUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
type ContextChainIdUpgradeableCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ContextChainIdUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
type ContextChainIdUpgradeableTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ContextChainIdUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type ContextChainIdUpgradeableFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ContextChainIdUpgradeableSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type ContextChainIdUpgradeableSession struct {
Contract *ContextChainIdUpgradeable // 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
}
// ContextChainIdUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type ContextChainIdUpgradeableCallerSession struct {
Contract *ContextChainIdUpgradeableCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// ContextChainIdUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type ContextChainIdUpgradeableTransactorSession struct {
Contract *ContextChainIdUpgradeableTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// ContextChainIdUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
type ContextChainIdUpgradeableRaw struct {
Contract *ContextChainIdUpgradeable // Generic contract binding to access the raw methods on
}
// ContextChainIdUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type ContextChainIdUpgradeableCallerRaw struct {
Contract *ContextChainIdUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
// ContextChainIdUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type ContextChainIdUpgradeableTransactorRaw struct {
Contract *ContextChainIdUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
// NewContextChainIdUpgradeable creates a new instance of ContextChainIdUpgradeable, bound to a specific deployed contract.
func NewContextChainIdUpgradeable(address common.Address, backend bind.ContractBackend) (*ContextChainIdUpgradeable, error) {
contract, err := bindContextChainIdUpgradeable(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &ContextChainIdUpgradeable{ContextChainIdUpgradeableCaller: ContextChainIdUpgradeableCaller{contract: contract}, ContextChainIdUpgradeableTransactor: ContextChainIdUpgradeableTransactor{contract: contract}, ContextChainIdUpgradeableFilterer: ContextChainIdUpgradeableFilterer{contract: contract}}, nil
}
// NewContextChainIdUpgradeableCaller creates a new read-only instance of ContextChainIdUpgradeable, bound to a specific deployed contract.
func NewContextChainIdUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ContextChainIdUpgradeableCaller, error) {
contract, err := bindContextChainIdUpgradeable(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &ContextChainIdUpgradeableCaller{contract: contract}, nil
}
// NewContextChainIdUpgradeableTransactor creates a new write-only instance of ContextChainIdUpgradeable, bound to a specific deployed contract.
func NewContextChainIdUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextChainIdUpgradeableTransactor, error) {
contract, err := bindContextChainIdUpgradeable(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &ContextChainIdUpgradeableTransactor{contract: contract}, nil
}
// NewContextChainIdUpgradeableFilterer creates a new log filterer instance of ContextChainIdUpgradeable, bound to a specific deployed contract.
func NewContextChainIdUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextChainIdUpgradeableFilterer, error) {
contract, err := bindContextChainIdUpgradeable(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &ContextChainIdUpgradeableFilterer{contract: contract}, nil
}
// bindContextChainIdUpgradeable binds a generic wrapper to an already deployed contract.
func bindContextChainIdUpgradeable(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := ContextChainIdUpgradeableMetaData.GetAbi()
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 (_ContextChainIdUpgradeable *ContextChainIdUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _ContextChainIdUpgradeable.Contract.ContextChainIdUpgradeableCaller.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 (_ContextChainIdUpgradeable *ContextChainIdUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ContextChainIdUpgradeable.Contract.ContextChainIdUpgradeableTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_ContextChainIdUpgradeable *ContextChainIdUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _ContextChainIdUpgradeable.Contract.ContextChainIdUpgradeableTransactor.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 (_ContextChainIdUpgradeable *ContextChainIdUpgradeableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _ContextChainIdUpgradeable.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 (_ContextChainIdUpgradeable *ContextChainIdUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ContextChainIdUpgradeable.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_ContextChainIdUpgradeable *ContextChainIdUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _ContextChainIdUpgradeable.Contract.contract.Transact(opts, method, params...)
}
// ContextUpgradeableMetaData contains all meta data concerning the ContextUpgradeable contract.
var ContextUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
}
// ContextUpgradeableABI is the input ABI used to generate the binding from.
// Deprecated: Use ContextUpgradeableMetaData.ABI instead.
var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI
// ContextUpgradeable is an auto generated Go binding around an Ethereum contract.
type ContextUpgradeable struct {
ContextUpgradeableCaller // Read-only binding to the contract
ContextUpgradeableTransactor // Write-only binding to the contract
ContextUpgradeableFilterer // Log filterer for contract events
}
// ContextUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
type ContextUpgradeableCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ContextUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
type ContextUpgradeableTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ContextUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type ContextUpgradeableFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ContextUpgradeableSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type ContextUpgradeableSession struct {
Contract *ContextUpgradeable // 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
}
// ContextUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type ContextUpgradeableCallerSession struct {
Contract *ContextUpgradeableCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// ContextUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type ContextUpgradeableTransactorSession struct {
Contract *ContextUpgradeableTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// ContextUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
type ContextUpgradeableRaw struct {
Contract *ContextUpgradeable // Generic contract binding to access the raw methods on
}
// ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type ContextUpgradeableCallerRaw struct {
Contract *ContextUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
// ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type ContextUpgradeableTransactorRaw struct {
Contract *ContextUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
// NewContextUpgradeable creates a new instance of ContextUpgradeable, bound to a specific deployed contract.
func NewContextUpgradeable(address common.Address, backend bind.ContractBackend) (*ContextUpgradeable, error) {
contract, err := bindContextUpgradeable(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &ContextUpgradeable{ContextUpgradeableCaller: ContextUpgradeableCaller{contract: contract}, ContextUpgradeableTransactor: ContextUpgradeableTransactor{contract: contract}, ContextUpgradeableFilterer: ContextUpgradeableFilterer{contract: contract}}, nil
}
// NewContextUpgradeableCaller creates a new read-only instance of ContextUpgradeable, bound to a specific deployed contract.
func NewContextUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ContextUpgradeableCaller, error) {
contract, err := bindContextUpgradeable(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &ContextUpgradeableCaller{contract: contract}, nil
}
// NewContextUpgradeableTransactor creates a new write-only instance of ContextUpgradeable, bound to a specific deployed contract.
func NewContextUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextUpgradeableTransactor, error) {
contract, err := bindContextUpgradeable(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &ContextUpgradeableTransactor{contract: contract}, nil
}
// NewContextUpgradeableFilterer creates a new log filterer instance of ContextUpgradeable, bound to a specific deployed contract.
func NewContextUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextUpgradeableFilterer, error) {
contract, err := bindContextUpgradeable(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &ContextUpgradeableFilterer{contract: contract}, nil
}
// bindContextUpgradeable binds a generic wrapper to an already deployed contract.
func bindContextUpgradeable(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := ContextUpgradeableMetaData.GetAbi()
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 (_ContextUpgradeable *ContextUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _ContextUpgradeable.Contract.ContextUpgradeableCaller.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 (_ContextUpgradeable *ContextUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ContextUpgradeable.Contract.ContextUpgradeableTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_ContextUpgradeable *ContextUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _ContextUpgradeable.Contract.ContextUpgradeableTransactor.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 (_ContextUpgradeable *ContextUpgradeableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _ContextUpgradeable.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 (_ContextUpgradeable *ContextUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ContextUpgradeable.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _ContextUpgradeable.Contract.contract.Transact(opts, method, params...)
}
// IAuthVerifierMetaData contains all meta data concerning the IAuthVerifier contract.
var IAuthVerifierMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_authData\",\"type\":\"bytes\"}],\"name\":\"msgAuth\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"authenticated\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_nodegroup\",\"type\":\"address\"}],\"name\":\"setNodeGroup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Sigs: map[string]string{
"8b1b3a2d": "msgAuth(bytes)",
"f6ea2c90": "setNodeGroup(address)",
},
}
// IAuthVerifierABI is the input ABI used to generate the binding from.
// Deprecated: Use IAuthVerifierMetaData.ABI instead.
var IAuthVerifierABI = IAuthVerifierMetaData.ABI
// Deprecated: Use IAuthVerifierMetaData.Sigs instead.
// IAuthVerifierFuncSigs maps the 4-byte function signature to its string representation.
var IAuthVerifierFuncSigs = IAuthVerifierMetaData.Sigs
// IAuthVerifier is an auto generated Go binding around an Ethereum contract.
type IAuthVerifier struct {
IAuthVerifierCaller // Read-only binding to the contract
IAuthVerifierTransactor // Write-only binding to the contract
IAuthVerifierFilterer // Log filterer for contract events
}
// IAuthVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
type IAuthVerifierCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IAuthVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
type IAuthVerifierTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IAuthVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type IAuthVerifierFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IAuthVerifierSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type IAuthVerifierSession struct {
Contract *IAuthVerifier // 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
}
// IAuthVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type IAuthVerifierCallerSession struct {
Contract *IAuthVerifierCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// IAuthVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type IAuthVerifierTransactorSession struct {
Contract *IAuthVerifierTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// IAuthVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
type IAuthVerifierRaw struct {
Contract *IAuthVerifier // Generic contract binding to access the raw methods on
}
// IAuthVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type IAuthVerifierCallerRaw struct {
Contract *IAuthVerifierCaller // Generic read-only contract binding to access the raw methods on
}
// IAuthVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type IAuthVerifierTransactorRaw struct {
Contract *IAuthVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
// NewIAuthVerifier creates a new instance of IAuthVerifier, bound to a specific deployed contract.
func NewIAuthVerifier(address common.Address, backend bind.ContractBackend) (*IAuthVerifier, error) {
contract, err := bindIAuthVerifier(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &IAuthVerifier{IAuthVerifierCaller: IAuthVerifierCaller{contract: contract}, IAuthVerifierTransactor: IAuthVerifierTransactor{contract: contract}, IAuthVerifierFilterer: IAuthVerifierFilterer{contract: contract}}, nil
}
// NewIAuthVerifierCaller creates a new read-only instance of IAuthVerifier, bound to a specific deployed contract.
func NewIAuthVerifierCaller(address common.Address, caller bind.ContractCaller) (*IAuthVerifierCaller, error) {
contract, err := bindIAuthVerifier(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &IAuthVerifierCaller{contract: contract}, nil
}
// NewIAuthVerifierTransactor creates a new write-only instance of IAuthVerifier, bound to a specific deployed contract.
func NewIAuthVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*IAuthVerifierTransactor, error) {
contract, err := bindIAuthVerifier(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &IAuthVerifierTransactor{contract: contract}, nil
}
// NewIAuthVerifierFilterer creates a new log filterer instance of IAuthVerifier, bound to a specific deployed contract.
func NewIAuthVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*IAuthVerifierFilterer, error) {
contract, err := bindIAuthVerifier(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &IAuthVerifierFilterer{contract: contract}, nil
}
// bindIAuthVerifier binds a generic wrapper to an already deployed contract.
func bindIAuthVerifier(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := IAuthVerifierMetaData.GetAbi()
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 (_IAuthVerifier *IAuthVerifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _IAuthVerifier.Contract.IAuthVerifierCaller.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 (_IAuthVerifier *IAuthVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _IAuthVerifier.Contract.IAuthVerifierTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_IAuthVerifier *IAuthVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _IAuthVerifier.Contract.IAuthVerifierTransactor.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 (_IAuthVerifier *IAuthVerifierCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _IAuthVerifier.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 (_IAuthVerifier *IAuthVerifierTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _IAuthVerifier.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_IAuthVerifier *IAuthVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _IAuthVerifier.Contract.contract.Transact(opts, method, params...)
}
// MsgAuth is a free data retrieval call binding the contract method 0x8b1b3a2d.
//
// Solidity: function msgAuth(bytes _authData) view returns(bool authenticated)
func (_IAuthVerifier *IAuthVerifierCaller) MsgAuth(opts *bind.CallOpts, _authData []byte) (bool, error) {
var out []interface{}
err := _IAuthVerifier.contract.Call(opts, &out, "msgAuth", _authData)
if err != nil {
return *new(bool), err
}
out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
return out0, err
}
// MsgAuth is a free data retrieval call binding the contract method 0x8b1b3a2d.
//
// Solidity: function msgAuth(bytes _authData) view returns(bool authenticated)
func (_IAuthVerifier *IAuthVerifierSession) MsgAuth(_authData []byte) (bool, error) {
return _IAuthVerifier.Contract.MsgAuth(&_IAuthVerifier.CallOpts, _authData)
}
// MsgAuth is a free data retrieval call binding the contract method 0x8b1b3a2d.
//
// Solidity: function msgAuth(bytes _authData) view returns(bool authenticated)
func (_IAuthVerifier *IAuthVerifierCallerSession) MsgAuth(_authData []byte) (bool, error) {
return _IAuthVerifier.Contract.MsgAuth(&_IAuthVerifier.CallOpts, _authData)
}
// SetNodeGroup is a paid mutator transaction binding the contract method 0xf6ea2c90.
//
// Solidity: function setNodeGroup(address _nodegroup) returns()
func (_IAuthVerifier *IAuthVerifierTransactor) SetNodeGroup(opts *bind.TransactOpts, _nodegroup common.Address) (*types.Transaction, error) {
return _IAuthVerifier.contract.Transact(opts, "setNodeGroup", _nodegroup)
}
// SetNodeGroup is a paid mutator transaction binding the contract method 0xf6ea2c90.
//
// Solidity: function setNodeGroup(address _nodegroup) returns()
func (_IAuthVerifier *IAuthVerifierSession) SetNodeGroup(_nodegroup common.Address) (*types.Transaction, error) {
return _IAuthVerifier.Contract.SetNodeGroup(&_IAuthVerifier.TransactOpts, _nodegroup)
}
// SetNodeGroup is a paid mutator transaction binding the contract method 0xf6ea2c90.
//
// Solidity: function setNodeGroup(address _nodegroup) returns()
func (_IAuthVerifier *IAuthVerifierTransactorSession) SetNodeGroup(_nodegroup common.Address) (*types.Transaction, error) {
return _IAuthVerifier.Contract.SetNodeGroup(&_IAuthVerifier.TransactOpts, _nodegroup)
}
// IGasFeePricingMetaData contains all meta data concerning the IGasFeePricing contract.
var IGasFeePricingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_options\",\"type\":\"bytes\"}],\"name\":\"estimateGasFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasUnitPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasTokenPriceRatio\",\"type\":\"uint256\"}],\"name\":\"setCostPerChain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Sigs: map[string]string{
"47feadc1": "estimateGasFee(uint256,bytes)",
"e32192b7": "setCostPerChain(uint256,uint256,uint256)",
},
}
// IGasFeePricingABI is the input ABI used to generate the binding from.
// Deprecated: Use IGasFeePricingMetaData.ABI instead.
var IGasFeePricingABI = IGasFeePricingMetaData.ABI
// Deprecated: Use IGasFeePricingMetaData.Sigs instead.
// IGasFeePricingFuncSigs maps the 4-byte function signature to its string representation.
var IGasFeePricingFuncSigs = IGasFeePricingMetaData.Sigs
// IGasFeePricing is an auto generated Go binding around an Ethereum contract.
type IGasFeePricing struct {
IGasFeePricingCaller // Read-only binding to the contract
IGasFeePricingTransactor // Write-only binding to the contract
IGasFeePricingFilterer // Log filterer for contract events
}
// IGasFeePricingCaller is an auto generated read-only Go binding around an Ethereum contract.
type IGasFeePricingCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IGasFeePricingTransactor is an auto generated write-only Go binding around an Ethereum contract.
type IGasFeePricingTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IGasFeePricingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type IGasFeePricingFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IGasFeePricingSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type IGasFeePricingSession struct {
Contract *IGasFeePricing // 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
}
// IGasFeePricingCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type IGasFeePricingCallerSession struct {
Contract *IGasFeePricingCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// IGasFeePricingTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type IGasFeePricingTransactorSession struct {
Contract *IGasFeePricingTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// IGasFeePricingRaw is an auto generated low-level Go binding around an Ethereum contract.
type IGasFeePricingRaw struct {
Contract *IGasFeePricing // Generic contract binding to access the raw methods on
}
// IGasFeePricingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type IGasFeePricingCallerRaw struct {
Contract *IGasFeePricingCaller // Generic read-only contract binding to access the raw methods on
}
// IGasFeePricingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type IGasFeePricingTransactorRaw struct {
Contract *IGasFeePricingTransactor // Generic write-only contract binding to access the raw methods on
}
// NewIGasFeePricing creates a new instance of IGasFeePricing, bound to a specific deployed contract.
func NewIGasFeePricing(address common.Address, backend bind.ContractBackend) (*IGasFeePricing, error) {
contract, err := bindIGasFeePricing(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &IGasFeePricing{IGasFeePricingCaller: IGasFeePricingCaller{contract: contract}, IGasFeePricingTransactor: IGasFeePricingTransactor{contract: contract}, IGasFeePricingFilterer: IGasFeePricingFilterer{contract: contract}}, nil
}
// NewIGasFeePricingCaller creates a new read-only instance of IGasFeePricing, bound to a specific deployed contract.
func NewIGasFeePricingCaller(address common.Address, caller bind.ContractCaller) (*IGasFeePricingCaller, error) {
contract, err := bindIGasFeePricing(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &IGasFeePricingCaller{contract: contract}, nil
}
// NewIGasFeePricingTransactor creates a new write-only instance of IGasFeePricing, bound to a specific deployed contract.
func NewIGasFeePricingTransactor(address common.Address, transactor bind.ContractTransactor) (*IGasFeePricingTransactor, error) {
contract, err := bindIGasFeePricing(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &IGasFeePricingTransactor{contract: contract}, nil
}
// NewIGasFeePricingFilterer creates a new log filterer instance of IGasFeePricing, bound to a specific deployed contract.
func NewIGasFeePricingFilterer(address common.Address, filterer bind.ContractFilterer) (*IGasFeePricingFilterer, error) {
contract, err := bindIGasFeePricing(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &IGasFeePricingFilterer{contract: contract}, nil
}
// bindIGasFeePricing binds a generic wrapper to an already deployed contract.
func bindIGasFeePricing(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := IGasFeePricingMetaData.GetAbi()
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 (_IGasFeePricing *IGasFeePricingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _IGasFeePricing.Contract.IGasFeePricingCaller.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 (_IGasFeePricing *IGasFeePricingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _IGasFeePricing.Contract.IGasFeePricingTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_IGasFeePricing *IGasFeePricingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _IGasFeePricing.Contract.IGasFeePricingTransactor.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 (_IGasFeePricing *IGasFeePricingCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _IGasFeePricing.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 (_IGasFeePricing *IGasFeePricingTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _IGasFeePricing.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_IGasFeePricing *IGasFeePricingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _IGasFeePricing.Contract.contract.Transact(opts, method, params...)
}
// EstimateGasFee is a paid mutator transaction binding the contract method 0x47feadc1.
//
// Solidity: function estimateGasFee(uint256 _dstChainId, bytes _options) returns(uint256)
func (_IGasFeePricing *IGasFeePricingTransactor) EstimateGasFee(opts *bind.TransactOpts, _dstChainId *big.Int, _options []byte) (*types.Transaction, error) {
return _IGasFeePricing.contract.Transact(opts, "estimateGasFee", _dstChainId, _options)
}
// EstimateGasFee is a paid mutator transaction binding the contract method 0x47feadc1.
//
// Solidity: function estimateGasFee(uint256 _dstChainId, bytes _options) returns(uint256)
func (_IGasFeePricing *IGasFeePricingSession) EstimateGasFee(_dstChainId *big.Int, _options []byte) (*types.Transaction, error) {
return _IGasFeePricing.Contract.EstimateGasFee(&_IGasFeePricing.TransactOpts, _dstChainId, _options)
}
// EstimateGasFee is a paid mutator transaction binding the contract method 0x47feadc1.
//
// Solidity: function estimateGasFee(uint256 _dstChainId, bytes _options) returns(uint256)
func (_IGasFeePricing *IGasFeePricingTransactorSession) EstimateGasFee(_dstChainId *big.Int, _options []byte) (*types.Transaction, error) {
return _IGasFeePricing.Contract.EstimateGasFee(&_IGasFeePricing.TransactOpts, _dstChainId, _options)
}
// SetCostPerChain is a paid mutator transaction binding the contract method 0xe32192b7.
//
// Solidity: function setCostPerChain(uint256 _dstChainId, uint256 _gasUnitPrice, uint256 _gasTokenPriceRatio) returns()
func (_IGasFeePricing *IGasFeePricingTransactor) SetCostPerChain(opts *bind.TransactOpts, _dstChainId *big.Int, _gasUnitPrice *big.Int, _gasTokenPriceRatio *big.Int) (*types.Transaction, error) {
return _IGasFeePricing.contract.Transact(opts, "setCostPerChain", _dstChainId, _gasUnitPrice, _gasTokenPriceRatio)
}
// SetCostPerChain is a paid mutator transaction binding the contract method 0xe32192b7.
//
// Solidity: function setCostPerChain(uint256 _dstChainId, uint256 _gasUnitPrice, uint256 _gasTokenPriceRatio) returns()
func (_IGasFeePricing *IGasFeePricingSession) SetCostPerChain(_dstChainId *big.Int, _gasUnitPrice *big.Int, _gasTokenPriceRatio *big.Int) (*types.Transaction, error) {
return _IGasFeePricing.Contract.SetCostPerChain(&_IGasFeePricing.TransactOpts, _dstChainId, _gasUnitPrice, _gasTokenPriceRatio)
}
// SetCostPerChain is a paid mutator transaction binding the contract method 0xe32192b7.
//
// Solidity: function setCostPerChain(uint256 _dstChainId, uint256 _gasUnitPrice, uint256 _gasTokenPriceRatio) returns()
func (_IGasFeePricing *IGasFeePricingTransactorSession) SetCostPerChain(_dstChainId *big.Int, _gasUnitPrice *big.Int, _gasTokenPriceRatio *big.Int) (*types.Transaction, error) {
return _IGasFeePricing.Contract.SetCostPerChain(&_IGasFeePricing.TransactOpts, _dstChainId, _gasUnitPrice, _gasTokenPriceRatio)
}
// ISynMessagingReceiverMetaData contains all meta data concerning the ISynMessagingReceiver contract.
var ISynMessagingReceiverMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Sigs: map[string]string{
"a6060871": "executeMessage(bytes32,uint256,bytes,address)",
},
}
// ISynMessagingReceiverABI is the input ABI used to generate the binding from.
// Deprecated: Use ISynMessagingReceiverMetaData.ABI instead.
var ISynMessagingReceiverABI = ISynMessagingReceiverMetaData.ABI
// Deprecated: Use ISynMessagingReceiverMetaData.Sigs instead.
// ISynMessagingReceiverFuncSigs maps the 4-byte function signature to its string representation.
var ISynMessagingReceiverFuncSigs = ISynMessagingReceiverMetaData.Sigs
// ISynMessagingReceiver is an auto generated Go binding around an Ethereum contract.
type ISynMessagingReceiver struct {
ISynMessagingReceiverCaller // Read-only binding to the contract
ISynMessagingReceiverTransactor // Write-only binding to the contract
ISynMessagingReceiverFilterer // Log filterer for contract events
}
// ISynMessagingReceiverCaller is an auto generated read-only Go binding around an Ethereum contract.
type ISynMessagingReceiverCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ISynMessagingReceiverTransactor is an auto generated write-only Go binding around an Ethereum contract.
type ISynMessagingReceiverTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ISynMessagingReceiverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type ISynMessagingReceiverFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// ISynMessagingReceiverSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type ISynMessagingReceiverSession struct {
Contract *ISynMessagingReceiver // 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
}
// ISynMessagingReceiverCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type ISynMessagingReceiverCallerSession struct {
Contract *ISynMessagingReceiverCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// ISynMessagingReceiverTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type ISynMessagingReceiverTransactorSession struct {
Contract *ISynMessagingReceiverTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// ISynMessagingReceiverRaw is an auto generated low-level Go binding around an Ethereum contract.
type ISynMessagingReceiverRaw struct {
Contract *ISynMessagingReceiver // Generic contract binding to access the raw methods on
}
// ISynMessagingReceiverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type ISynMessagingReceiverCallerRaw struct {
Contract *ISynMessagingReceiverCaller // Generic read-only contract binding to access the raw methods on
}
// ISynMessagingReceiverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type ISynMessagingReceiverTransactorRaw struct {
Contract *ISynMessagingReceiverTransactor // Generic write-only contract binding to access the raw methods on
}
// NewISynMessagingReceiver creates a new instance of ISynMessagingReceiver, bound to a specific deployed contract.
func NewISynMessagingReceiver(address common.Address, backend bind.ContractBackend) (*ISynMessagingReceiver, error) {
contract, err := bindISynMessagingReceiver(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &ISynMessagingReceiver{ISynMessagingReceiverCaller: ISynMessagingReceiverCaller{contract: contract}, ISynMessagingReceiverTransactor: ISynMessagingReceiverTransactor{contract: contract}, ISynMessagingReceiverFilterer: ISynMessagingReceiverFilterer{contract: contract}}, nil