forked from hyperledger-labs/yui-ibc-solidity
/
ibcidentifier.go
730 lines (578 loc) · 40.6 KB
/
ibcidentifier.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
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package ibcidentifier
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
_ = bind.Bind
_ = common.Big1
_ = types.BloomLookup
_ = event.NewSubscription
)
// IbcidentifierABI is the input ABI used to generate the binding from.
const IbcidentifierABI = "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"clientId\",\"type\":\"string\"}],\"name\":\"clientCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"clientId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"revisionNumber\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revisionHeight\",\"type\":\"uint64\"}],\"name\":\"consensusCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"connectionId\",\"type\":\"string\"}],\"name\":\"connectionCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"channelCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"packetCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"packetAcknowledgementCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"packetReceiptCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"nextSequenceRecvCommitmentKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"clientId\",\"type\":\"string\"}],\"name\":\"clientStateCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"clientId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"revisionNumber\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revisionHeight\",\"type\":\"uint64\"}],\"name\":\"consensusStateCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"connectionId\",\"type\":\"string\"}],\"name\":\"connectionCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"channelCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"packetCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"packetAcknowledgementCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"packetReceiptCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"nextSequenceRecvCommitmentSlot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"}],\"name\":\"portCapabilityPath\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"channelCapabilityPath\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true}]"
// Ibcidentifier is an auto generated Go binding around an Ethereum contract.
type Ibcidentifier struct {
IbcidentifierCaller // Read-only binding to the contract
IbcidentifierTransactor // Write-only binding to the contract
IbcidentifierFilterer // Log filterer for contract events
}
// IbcidentifierCaller is an auto generated read-only Go binding around an Ethereum contract.
type IbcidentifierCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IbcidentifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
type IbcidentifierTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IbcidentifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type IbcidentifierFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// IbcidentifierSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type IbcidentifierSession struct {
Contract *Ibcidentifier // 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
}
// IbcidentifierCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type IbcidentifierCallerSession struct {
Contract *IbcidentifierCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// IbcidentifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type IbcidentifierTransactorSession struct {
Contract *IbcidentifierTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// IbcidentifierRaw is an auto generated low-level Go binding around an Ethereum contract.
type IbcidentifierRaw struct {
Contract *Ibcidentifier // Generic contract binding to access the raw methods on
}
// IbcidentifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type IbcidentifierCallerRaw struct {
Contract *IbcidentifierCaller // Generic read-only contract binding to access the raw methods on
}
// IbcidentifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type IbcidentifierTransactorRaw struct {
Contract *IbcidentifierTransactor // Generic write-only contract binding to access the raw methods on
}
// NewIbcidentifier creates a new instance of Ibcidentifier, bound to a specific deployed contract.
func NewIbcidentifier(address common.Address, backend bind.ContractBackend) (*Ibcidentifier, error) {
contract, err := bindIbcidentifier(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &Ibcidentifier{IbcidentifierCaller: IbcidentifierCaller{contract: contract}, IbcidentifierTransactor: IbcidentifierTransactor{contract: contract}, IbcidentifierFilterer: IbcidentifierFilterer{contract: contract}}, nil
}
// NewIbcidentifierCaller creates a new read-only instance of Ibcidentifier, bound to a specific deployed contract.
func NewIbcidentifierCaller(address common.Address, caller bind.ContractCaller) (*IbcidentifierCaller, error) {
contract, err := bindIbcidentifier(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &IbcidentifierCaller{contract: contract}, nil
}
// NewIbcidentifierTransactor creates a new write-only instance of Ibcidentifier, bound to a specific deployed contract.
func NewIbcidentifierTransactor(address common.Address, transactor bind.ContractTransactor) (*IbcidentifierTransactor, error) {
contract, err := bindIbcidentifier(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &IbcidentifierTransactor{contract: contract}, nil
}
// NewIbcidentifierFilterer creates a new log filterer instance of Ibcidentifier, bound to a specific deployed contract.
func NewIbcidentifierFilterer(address common.Address, filterer bind.ContractFilterer) (*IbcidentifierFilterer, error) {
contract, err := bindIbcidentifier(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &IbcidentifierFilterer{contract: contract}, nil
}
// bindIbcidentifier binds a generic wrapper to an already deployed contract.
func bindIbcidentifier(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := abi.JSON(strings.NewReader(IbcidentifierABI))
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 (_Ibcidentifier *IbcidentifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _Ibcidentifier.Contract.IbcidentifierCaller.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 (_Ibcidentifier *IbcidentifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Ibcidentifier.Contract.IbcidentifierTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_Ibcidentifier *IbcidentifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _Ibcidentifier.Contract.IbcidentifierTransactor.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 (_Ibcidentifier *IbcidentifierCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _Ibcidentifier.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 (_Ibcidentifier *IbcidentifierTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Ibcidentifier.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_Ibcidentifier *IbcidentifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _Ibcidentifier.Contract.contract.Transact(opts, method, params...)
}
// ChannelCapabilityPath is a free data retrieval call binding the contract method 0x3bc3339f.
//
// Solidity: function channelCapabilityPath(string portId, string channelId) pure returns(bytes)
func (_Ibcidentifier *IbcidentifierCaller) ChannelCapabilityPath(opts *bind.CallOpts, portId string, channelId string) ([]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "channelCapabilityPath", portId, channelId)
if err != nil {
return *new([]byte), err
}
out0 := *abi.ConvertType(out[0], new([]byte)).(*[]byte)
return out0, err
}
// ChannelCapabilityPath is a free data retrieval call binding the contract method 0x3bc3339f.
//
// Solidity: function channelCapabilityPath(string portId, string channelId) pure returns(bytes)
func (_Ibcidentifier *IbcidentifierSession) ChannelCapabilityPath(portId string, channelId string) ([]byte, error) {
return _Ibcidentifier.Contract.ChannelCapabilityPath(&_Ibcidentifier.CallOpts, portId, channelId)
}
// ChannelCapabilityPath is a free data retrieval call binding the contract method 0x3bc3339f.
//
// Solidity: function channelCapabilityPath(string portId, string channelId) pure returns(bytes)
func (_Ibcidentifier *IbcidentifierCallerSession) ChannelCapabilityPath(portId string, channelId string) ([]byte, error) {
return _Ibcidentifier.Contract.ChannelCapabilityPath(&_Ibcidentifier.CallOpts, portId, channelId)
}
// ChannelCommitmentKey is a free data retrieval call binding the contract method 0xc6c9159c.
//
// Solidity: function channelCommitmentKey(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ChannelCommitmentKey(opts *bind.CallOpts, portId string, channelId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "channelCommitmentKey", portId, channelId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ChannelCommitmentKey is a free data retrieval call binding the contract method 0xc6c9159c.
//
// Solidity: function channelCommitmentKey(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ChannelCommitmentKey(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ChannelCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId)
}
// ChannelCommitmentKey is a free data retrieval call binding the contract method 0xc6c9159c.
//
// Solidity: function channelCommitmentKey(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ChannelCommitmentKey(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ChannelCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId)
}
// ChannelCommitmentSlot is a free data retrieval call binding the contract method 0x3560a02d.
//
// Solidity: function channelCommitmentSlot(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ChannelCommitmentSlot(opts *bind.CallOpts, portId string, channelId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "channelCommitmentSlot", portId, channelId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ChannelCommitmentSlot is a free data retrieval call binding the contract method 0x3560a02d.
//
// Solidity: function channelCommitmentSlot(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ChannelCommitmentSlot(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ChannelCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId)
}
// ChannelCommitmentSlot is a free data retrieval call binding the contract method 0x3560a02d.
//
// Solidity: function channelCommitmentSlot(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ChannelCommitmentSlot(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ChannelCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId)
}
// ClientCommitmentKey is a free data retrieval call binding the contract method 0xc7ddc606.
//
// Solidity: function clientCommitmentKey(string clientId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ClientCommitmentKey(opts *bind.CallOpts, clientId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "clientCommitmentKey", clientId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ClientCommitmentKey is a free data retrieval call binding the contract method 0xc7ddc606.
//
// Solidity: function clientCommitmentKey(string clientId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ClientCommitmentKey(clientId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ClientCommitmentKey(&_Ibcidentifier.CallOpts, clientId)
}
// ClientCommitmentKey is a free data retrieval call binding the contract method 0xc7ddc606.
//
// Solidity: function clientCommitmentKey(string clientId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ClientCommitmentKey(clientId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ClientCommitmentKey(&_Ibcidentifier.CallOpts, clientId)
}
// ClientStateCommitmentSlot is a free data retrieval call binding the contract method 0xb0cbb120.
//
// Solidity: function clientStateCommitmentSlot(string clientId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ClientStateCommitmentSlot(opts *bind.CallOpts, clientId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "clientStateCommitmentSlot", clientId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ClientStateCommitmentSlot is a free data retrieval call binding the contract method 0xb0cbb120.
//
// Solidity: function clientStateCommitmentSlot(string clientId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ClientStateCommitmentSlot(clientId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ClientStateCommitmentSlot(&_Ibcidentifier.CallOpts, clientId)
}
// ClientStateCommitmentSlot is a free data retrieval call binding the contract method 0xb0cbb120.
//
// Solidity: function clientStateCommitmentSlot(string clientId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ClientStateCommitmentSlot(clientId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ClientStateCommitmentSlot(&_Ibcidentifier.CallOpts, clientId)
}
// ConnectionCommitmentKey is a free data retrieval call binding the contract method 0xa9dd3eb3.
//
// Solidity: function connectionCommitmentKey(string connectionId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ConnectionCommitmentKey(opts *bind.CallOpts, connectionId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "connectionCommitmentKey", connectionId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ConnectionCommitmentKey is a free data retrieval call binding the contract method 0xa9dd3eb3.
//
// Solidity: function connectionCommitmentKey(string connectionId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ConnectionCommitmentKey(connectionId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ConnectionCommitmentKey(&_Ibcidentifier.CallOpts, connectionId)
}
// ConnectionCommitmentKey is a free data retrieval call binding the contract method 0xa9dd3eb3.
//
// Solidity: function connectionCommitmentKey(string connectionId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ConnectionCommitmentKey(connectionId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ConnectionCommitmentKey(&_Ibcidentifier.CallOpts, connectionId)
}
// ConnectionCommitmentSlot is a free data retrieval call binding the contract method 0x8b89bf24.
//
// Solidity: function connectionCommitmentSlot(string connectionId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ConnectionCommitmentSlot(opts *bind.CallOpts, connectionId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "connectionCommitmentSlot", connectionId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ConnectionCommitmentSlot is a free data retrieval call binding the contract method 0x8b89bf24.
//
// Solidity: function connectionCommitmentSlot(string connectionId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ConnectionCommitmentSlot(connectionId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ConnectionCommitmentSlot(&_Ibcidentifier.CallOpts, connectionId)
}
// ConnectionCommitmentSlot is a free data retrieval call binding the contract method 0x8b89bf24.
//
// Solidity: function connectionCommitmentSlot(string connectionId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ConnectionCommitmentSlot(connectionId string) ([32]byte, error) {
return _Ibcidentifier.Contract.ConnectionCommitmentSlot(&_Ibcidentifier.CallOpts, connectionId)
}
// ConsensusCommitmentKey is a free data retrieval call binding the contract method 0x7af6aa78.
//
// Solidity: function consensusCommitmentKey(string clientId, uint64 revisionNumber, uint64 revisionHeight) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ConsensusCommitmentKey(opts *bind.CallOpts, clientId string, revisionNumber uint64, revisionHeight uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "consensusCommitmentKey", clientId, revisionNumber, revisionHeight)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ConsensusCommitmentKey is a free data retrieval call binding the contract method 0x7af6aa78.
//
// Solidity: function consensusCommitmentKey(string clientId, uint64 revisionNumber, uint64 revisionHeight) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ConsensusCommitmentKey(clientId string, revisionNumber uint64, revisionHeight uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.ConsensusCommitmentKey(&_Ibcidentifier.CallOpts, clientId, revisionNumber, revisionHeight)
}
// ConsensusCommitmentKey is a free data retrieval call binding the contract method 0x7af6aa78.
//
// Solidity: function consensusCommitmentKey(string clientId, uint64 revisionNumber, uint64 revisionHeight) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ConsensusCommitmentKey(clientId string, revisionNumber uint64, revisionHeight uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.ConsensusCommitmentKey(&_Ibcidentifier.CallOpts, clientId, revisionNumber, revisionHeight)
}
// ConsensusStateCommitmentSlot is a free data retrieval call binding the contract method 0xc138de23.
//
// Solidity: function consensusStateCommitmentSlot(string clientId, uint64 revisionNumber, uint64 revisionHeight) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) ConsensusStateCommitmentSlot(opts *bind.CallOpts, clientId string, revisionNumber uint64, revisionHeight uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "consensusStateCommitmentSlot", clientId, revisionNumber, revisionHeight)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ConsensusStateCommitmentSlot is a free data retrieval call binding the contract method 0xc138de23.
//
// Solidity: function consensusStateCommitmentSlot(string clientId, uint64 revisionNumber, uint64 revisionHeight) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) ConsensusStateCommitmentSlot(clientId string, revisionNumber uint64, revisionHeight uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.ConsensusStateCommitmentSlot(&_Ibcidentifier.CallOpts, clientId, revisionNumber, revisionHeight)
}
// ConsensusStateCommitmentSlot is a free data retrieval call binding the contract method 0xc138de23.
//
// Solidity: function consensusStateCommitmentSlot(string clientId, uint64 revisionNumber, uint64 revisionHeight) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) ConsensusStateCommitmentSlot(clientId string, revisionNumber uint64, revisionHeight uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.ConsensusStateCommitmentSlot(&_Ibcidentifier.CallOpts, clientId, revisionNumber, revisionHeight)
}
// NextSequenceRecvCommitmentKey is a free data retrieval call binding the contract method 0xfceb03ab.
//
// Solidity: function nextSequenceRecvCommitmentKey(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) NextSequenceRecvCommitmentKey(opts *bind.CallOpts, portId string, channelId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "nextSequenceRecvCommitmentKey", portId, channelId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// NextSequenceRecvCommitmentKey is a free data retrieval call binding the contract method 0xfceb03ab.
//
// Solidity: function nextSequenceRecvCommitmentKey(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) NextSequenceRecvCommitmentKey(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.NextSequenceRecvCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId)
}
// NextSequenceRecvCommitmentKey is a free data retrieval call binding the contract method 0xfceb03ab.
//
// Solidity: function nextSequenceRecvCommitmentKey(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) NextSequenceRecvCommitmentKey(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.NextSequenceRecvCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId)
}
// NextSequenceRecvCommitmentSlot is a free data retrieval call binding the contract method 0x5370d4d3.
//
// Solidity: function nextSequenceRecvCommitmentSlot(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) NextSequenceRecvCommitmentSlot(opts *bind.CallOpts, portId string, channelId string) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "nextSequenceRecvCommitmentSlot", portId, channelId)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// NextSequenceRecvCommitmentSlot is a free data retrieval call binding the contract method 0x5370d4d3.
//
// Solidity: function nextSequenceRecvCommitmentSlot(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) NextSequenceRecvCommitmentSlot(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.NextSequenceRecvCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId)
}
// NextSequenceRecvCommitmentSlot is a free data retrieval call binding the contract method 0x5370d4d3.
//
// Solidity: function nextSequenceRecvCommitmentSlot(string portId, string channelId) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) NextSequenceRecvCommitmentSlot(portId string, channelId string) ([32]byte, error) {
return _Ibcidentifier.Contract.NextSequenceRecvCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId)
}
// PacketAcknowledgementCommitmentKey is a free data retrieval call binding the contract method 0xe334f11b.
//
// Solidity: function packetAcknowledgementCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) PacketAcknowledgementCommitmentKey(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "packetAcknowledgementCommitmentKey", portId, channelId, sequence)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// PacketAcknowledgementCommitmentKey is a free data retrieval call binding the contract method 0xe334f11b.
//
// Solidity: function packetAcknowledgementCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) PacketAcknowledgementCommitmentKey(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketAcknowledgementCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketAcknowledgementCommitmentKey is a free data retrieval call binding the contract method 0xe334f11b.
//
// Solidity: function packetAcknowledgementCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) PacketAcknowledgementCommitmentKey(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketAcknowledgementCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketAcknowledgementCommitmentSlot is a free data retrieval call binding the contract method 0xc50839ec.
//
// Solidity: function packetAcknowledgementCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) PacketAcknowledgementCommitmentSlot(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "packetAcknowledgementCommitmentSlot", portId, channelId, sequence)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// PacketAcknowledgementCommitmentSlot is a free data retrieval call binding the contract method 0xc50839ec.
//
// Solidity: function packetAcknowledgementCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) PacketAcknowledgementCommitmentSlot(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketAcknowledgementCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketAcknowledgementCommitmentSlot is a free data retrieval call binding the contract method 0xc50839ec.
//
// Solidity: function packetAcknowledgementCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) PacketAcknowledgementCommitmentSlot(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketAcknowledgementCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketCommitmentKey is a free data retrieval call binding the contract method 0xdae1b0f8.
//
// Solidity: function packetCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) PacketCommitmentKey(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "packetCommitmentKey", portId, channelId, sequence)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// PacketCommitmentKey is a free data retrieval call binding the contract method 0xdae1b0f8.
//
// Solidity: function packetCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) PacketCommitmentKey(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketCommitmentKey is a free data retrieval call binding the contract method 0xdae1b0f8.
//
// Solidity: function packetCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) PacketCommitmentKey(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketCommitmentSlot is a free data retrieval call binding the contract method 0xb0db45ba.
//
// Solidity: function packetCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) PacketCommitmentSlot(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "packetCommitmentSlot", portId, channelId, sequence)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// PacketCommitmentSlot is a free data retrieval call binding the contract method 0xb0db45ba.
//
// Solidity: function packetCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) PacketCommitmentSlot(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketCommitmentSlot is a free data retrieval call binding the contract method 0xb0db45ba.
//
// Solidity: function packetCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) PacketCommitmentSlot(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketReceiptCommitmentKey is a free data retrieval call binding the contract method 0x83c28eac.
//
// Solidity: function packetReceiptCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) PacketReceiptCommitmentKey(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "packetReceiptCommitmentKey", portId, channelId, sequence)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// PacketReceiptCommitmentKey is a free data retrieval call binding the contract method 0x83c28eac.
//
// Solidity: function packetReceiptCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) PacketReceiptCommitmentKey(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketReceiptCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketReceiptCommitmentKey is a free data retrieval call binding the contract method 0x83c28eac.
//
// Solidity: function packetReceiptCommitmentKey(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) PacketReceiptCommitmentKey(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketReceiptCommitmentKey(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketReceiptCommitmentSlot is a free data retrieval call binding the contract method 0x24cf0804.
//
// Solidity: function packetReceiptCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCaller) PacketReceiptCommitmentSlot(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "packetReceiptCommitmentSlot", portId, channelId, sequence)
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// PacketReceiptCommitmentSlot is a free data retrieval call binding the contract method 0x24cf0804.
//
// Solidity: function packetReceiptCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierSession) PacketReceiptCommitmentSlot(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketReceiptCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PacketReceiptCommitmentSlot is a free data retrieval call binding the contract method 0x24cf0804.
//
// Solidity: function packetReceiptCommitmentSlot(string portId, string channelId, uint64 sequence) pure returns(bytes32)
func (_Ibcidentifier *IbcidentifierCallerSession) PacketReceiptCommitmentSlot(portId string, channelId string, sequence uint64) ([32]byte, error) {
return _Ibcidentifier.Contract.PacketReceiptCommitmentSlot(&_Ibcidentifier.CallOpts, portId, channelId, sequence)
}
// PortCapabilityPath is a free data retrieval call binding the contract method 0x2570dae0.
//
// Solidity: function portCapabilityPath(string portId) pure returns(bytes)
func (_Ibcidentifier *IbcidentifierCaller) PortCapabilityPath(opts *bind.CallOpts, portId string) ([]byte, error) {
var out []interface{}
err := _Ibcidentifier.contract.Call(opts, &out, "portCapabilityPath", portId)
if err != nil {
return *new([]byte), err
}
out0 := *abi.ConvertType(out[0], new([]byte)).(*[]byte)
return out0, err
}
// PortCapabilityPath is a free data retrieval call binding the contract method 0x2570dae0.
//
// Solidity: function portCapabilityPath(string portId) pure returns(bytes)
func (_Ibcidentifier *IbcidentifierSession) PortCapabilityPath(portId string) ([]byte, error) {
return _Ibcidentifier.Contract.PortCapabilityPath(&_Ibcidentifier.CallOpts, portId)
}
// PortCapabilityPath is a free data retrieval call binding the contract method 0x2570dae0.
//
// Solidity: function portCapabilityPath(string portId) pure returns(bytes)
func (_Ibcidentifier *IbcidentifierCallerSession) PortCapabilityPath(portId string) ([]byte, error) {
return _Ibcidentifier.Contract.PortCapabilityPath(&_Ibcidentifier.CallOpts, portId)
}