@@ -297,7 +297,7 @@ var (
297
297
{{range .Calls}}
298
298
// {{.Normalized.Name}} is a free data retrieval call binding the contract method 0x{{printf "%x" .Original.ID}}.
299
299
//
300
- // Solidity: {{formatmethod .Original $structs }}
300
+ // Solidity: {{.Original.String }}
301
301
func (_{{$contract.Type}} *{{$contract.Type}}Caller) {{.Normalized.Name}}(opts *bind.CallOpts {{range .Normalized.Inputs}}, {{.Name}} {{bindtype .Type $structs}} {{end}}) ({{if .Structured}}struct{ {{range .Normalized.Outputs}}{{.Name}} {{bindtype .Type $structs}};{{end}} },{{else}}{{range .Normalized.Outputs}}{{bindtype .Type $structs}},{{end}}{{end}} error) {
302
302
{{if .Structured}}ret := new(struct{
303
303
{{range .Normalized.Outputs}}{{.Name}} {{bindtype .Type $structs}}
@@ -316,14 +316,14 @@ var (
316
316
317
317
// {{.Normalized.Name}} is a free data retrieval call binding the contract method 0x{{printf "%x" .Original.ID}}.
318
318
//
319
- // Solidity: {{formatmethod .Original $structs }}
319
+ // Solidity: {{.Original.String }}
320
320
func (_{{$contract.Type}} *{{$contract.Type}}Session) {{.Normalized.Name}}({{range $i, $_ := .Normalized.Inputs}}{{if ne $i 0}},{{end}} {{.Name}} {{bindtype .Type $structs}} {{end}}) ({{if .Structured}}struct{ {{range .Normalized.Outputs}}{{.Name}} {{bindtype .Type $structs}};{{end}} }, {{else}} {{range .Normalized.Outputs}}{{bindtype .Type $structs}},{{end}} {{end}} error) {
321
321
return _{{$contract.Type}}.Contract.{{.Normalized.Name}}(&_{{$contract.Type}}.CallOpts {{range .Normalized.Inputs}}, {{.Name}}{{end}})
322
322
}
323
323
324
324
// {{.Normalized.Name}} is a free data retrieval call binding the contract method 0x{{printf "%x" .Original.ID}}.
325
325
//
326
- // Solidity: {{formatmethod .Original $structs }}
326
+ // Solidity: {{.Original.String }}
327
327
func (_{{$contract.Type}} *{{$contract.Type}}CallerSession) {{.Normalized.Name}}({{range $i, $_ := .Normalized.Inputs}}{{if ne $i 0}},{{end}} {{.Name}} {{bindtype .Type $structs}} {{end}}) ({{if .Structured}}struct{ {{range .Normalized.Outputs}}{{.Name}} {{bindtype .Type $structs}};{{end}} }, {{else}} {{range .Normalized.Outputs}}{{bindtype .Type $structs}},{{end}} {{end}} error) {
328
328
return _{{$contract.Type}}.Contract.{{.Normalized.Name}}(&_{{$contract.Type}}.CallOpts {{range .Normalized.Inputs}}, {{.Name}}{{end}})
329
329
}
@@ -332,21 +332,21 @@ var (
332
332
{{range .Transacts}}
333
333
// {{.Normalized.Name}} is a paid mutator transaction binding the contract method 0x{{printf "%x" .Original.ID}}.
334
334
//
335
- // Solidity: {{formatmethod .Original $structs }}
335
+ // Solidity: {{.Original.String }}
336
336
func (_{{$contract.Type}} *{{$contract.Type}}Transactor) {{.Normalized.Name}}(opts *bind.TransactOpts {{range .Normalized.Inputs}}, {{.Name}} {{bindtype .Type $structs}} {{end}}) (*types.Transaction, error) {
337
337
return _{{$contract.Type}}.contract.Transact(opts, "{{.Original.Name}}" {{range .Normalized.Inputs}}, {{.Name}}{{end}})
338
338
}
339
339
340
340
// {{.Normalized.Name}} is a paid mutator transaction binding the contract method 0x{{printf "%x" .Original.ID}}.
341
341
//
342
- // Solidity: {{formatmethod .Original $structs }}
342
+ // Solidity: {{.Original.String }}
343
343
func (_{{$contract.Type}} *{{$contract.Type}}Session) {{.Normalized.Name}}({{range $i, $_ := .Normalized.Inputs}}{{if ne $i 0}},{{end}} {{.Name}} {{bindtype .Type $structs}} {{end}}) (*types.Transaction, error) {
344
344
return _{{$contract.Type}}.Contract.{{.Normalized.Name}}(&_{{$contract.Type}}.TransactOpts {{range $i, $_ := .Normalized.Inputs}}, {{.Name}}{{end}})
345
345
}
346
346
347
347
// {{.Normalized.Name}} is a paid mutator transaction binding the contract method 0x{{printf "%x" .Original.ID}}.
348
348
//
349
- // Solidity: {{formatmethod .Original $structs }}
349
+ // Solidity: {{.Original.String }}
350
350
func (_{{$contract.Type}} *{{$contract.Type}}TransactorSession) {{.Normalized.Name}}({{range $i, $_ := .Normalized.Inputs}}{{if ne $i 0}},{{end}} {{.Name}} {{bindtype .Type $structs}} {{end}}) (*types.Transaction, error) {
351
351
return _{{$contract.Type}}.Contract.{{.Normalized.Name}}(&_{{$contract.Type}}.TransactOpts {{range $i, $_ := .Normalized.Inputs}}, {{.Name}}{{end}})
352
352
}
@@ -355,21 +355,21 @@ var (
355
355
{{if .Fallback}}
356
356
// Fallback is a paid mutator transaction binding the contract fallback function.
357
357
//
358
- // Solidity: {{formatmethod .Fallback.Original $structs }}
358
+ // Solidity: {{.Fallback.Original.String }}
359
359
func (_{{$contract.Type}} *{{$contract.Type}}Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error) {
360
360
return _{{$contract.Type}}.contract.RawTransact(opts, calldata)
361
361
}
362
362
363
363
// Fallback is a paid mutator transaction binding the contract fallback function.
364
364
//
365
- // Solidity: {{formatmethod .Fallback.Original $structs }}
365
+ // Solidity: {{.Fallback.Original.String }}
366
366
func (_{{$contract.Type}} *{{$contract.Type}}Session) Fallback(calldata []byte) (*types.Transaction, error) {
367
367
return _{{$contract.Type}}.Contract.Fallback(&_{{$contract.Type}}.TransactOpts, calldata)
368
368
}
369
369
370
370
// Fallback is a paid mutator transaction binding the contract fallback function.
371
371
//
372
- // Solidity: {{formatmethod .Fallback.Original $structs }}
372
+ // Solidity: {{.Fallback.Original.String }}
373
373
func (_{{$contract.Type}} *{{$contract.Type}}TransactorSession) Fallback(calldata []byte) (*types.Transaction, error) {
374
374
return _{{$contract.Type}}.Contract.Fallback(&_{{$contract.Type}}.TransactOpts, calldata)
375
375
}
@@ -378,21 +378,21 @@ var (
378
378
{{if .Receive}}
379
379
// Receive is a paid mutator transaction binding the contract receive function.
380
380
//
381
- // Solidity: {{formatmethod .Receive.Original $structs }}
381
+ // Solidity: {{.Receive.Original.String }}
382
382
func (_{{$contract.Type}} *{{$contract.Type}}Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) {
383
383
return _{{$contract.Type}}.contract.RawTransact(opts, nil) // calldata is disallowed for receive function
384
384
}
385
385
386
386
// Receive is a paid mutator transaction binding the contract receive function.
387
387
//
388
- // Solidity: {{formatmethod .Receive.Original $structs }}
388
+ // Solidity: {{.Receive.Original.String }}
389
389
func (_{{$contract.Type}} *{{$contract.Type}}Session) Receive() (*types.Transaction, error) {
390
390
return _{{$contract.Type}}.Contract.Receive(&_{{$contract.Type}}.TransactOpts)
391
391
}
392
392
393
393
// Receive is a paid mutator transaction binding the contract receive function.
394
394
//
395
- // Solidity: {{formatmethod .Receive.Original $structs }}
395
+ // Solidity: {{.Receive.Original.String }}
396
396
func (_{{$contract.Type}} *{{$contract.Type}}TransactorSession) Receive() (*types.Transaction, error) {
397
397
return _{{$contract.Type}}.Contract.Receive(&_{{$contract.Type}}.TransactOpts)
398
398
}
@@ -471,7 +471,7 @@ var (
471
471
472
472
// Filter{{.Normalized.Name}} is a free log retrieval operation binding the contract event 0x{{printf "%x" .Original.ID}}.
473
473
//
474
- // Solidity: {{formatevent .Original $structs }}
474
+ // Solidity: {{.Original.String }}
475
475
func (_{{$contract.Type}} *{{$contract.Type}}Filterer) Filter{{.Normalized.Name}}(opts *bind.FilterOpts{{range .Normalized.Inputs}}{{if .Indexed}}, {{.Name}} []{{bindtype .Type $structs}}{{end}}{{end}}) (*{{$contract.Type}}{{.Normalized.Name}}Iterator, error) {
476
476
{{range .Normalized.Inputs}}
477
477
{{if .Indexed}}var {{.Name}}Rule []interface{}
@@ -488,7 +488,7 @@ var (
488
488
489
489
// Watch{{.Normalized.Name}} is a free log subscription operation binding the contract event 0x{{printf "%x" .Original.ID}}.
490
490
//
491
- // Solidity: {{formatevent .Original $structs }}
491
+ // Solidity: {{.Original.String }}
492
492
func (_{{$contract.Type}} *{{$contract.Type}}Filterer) Watch{{.Normalized.Name}}(opts *bind.WatchOpts, sink chan<- *{{$contract.Type}}{{.Normalized.Name}}{{range .Normalized.Inputs}}{{if .Indexed}}, {{.Name}} []{{bindtype .Type $structs}}{{end}}{{end}}) (event.Subscription, error) {
493
493
{{range .Normalized.Inputs}}
494
494
{{if .Indexed}}var {{.Name}}Rule []interface{}
@@ -530,7 +530,7 @@ var (
530
530
531
531
// Parse{{.Normalized.Name}} is a log parse operation binding the contract event 0x{{printf "%x" .Original.ID}}.
532
532
//
533
- // Solidity: {{formatevent .Original $structs }}
533
+ // Solidity: {{.Original.String }}
534
534
func (_{{$contract.Type}} *{{$contract.Type}}Filterer) Parse{{.Normalized.Name}}(log types.Log) (*{{$contract.Type}}{{.Normalized.Name}}, error) {
535
535
event := new({{$contract.Type}}{{.Normalized.Name}})
536
536
if err := _{{$contract.Type}}.contract.UnpackLog(event, "{{.Original.Name}}", log); err != nil {
@@ -662,7 +662,7 @@ import java.util.*;
662
662
{{if .Fallback}}
663
663
// Fallback is a paid mutator transaction binding the contract fallback function.
664
664
//
665
- // Solidity: {{formatmethod .Fallback.Original $structs }}
665
+ // Solidity: {{.Fallback.Original.String }}
666
666
public Transaction Fallback(TransactOpts opts, byte[] calldata) throws Exception {
667
667
return this.Contract.rawTransact(opts, calldata);
668
668
}
@@ -671,7 +671,7 @@ import java.util.*;
671
671
{{if .Receive}}
672
672
// Receive is a paid mutator transaction binding the contract receive function.
673
673
//
674
- // Solidity: {{formatmethod .Receive.Original $structs }}
674
+ // Solidity: {{.Receive.Original.String }}
675
675
public Transaction Receive(TransactOpts opts) throws Exception {
676
676
return this.Contract.rawTransact(opts, null);
677
677
}
0 commit comments