@@ -47,7 +47,7 @@ type ContractEvent interface {
47
47
// provided filter opts are invalid or the backend is closed.
48
48
//
49
49
// FilterEvents is intended to be used with contract event unpack methods in
50
- // bindings generated with the abigen --v2 flag. In this case, it should be
50
+ // bindings generated with the abigen --v2 flag. It should be
51
51
// preferred over BoundContract.FilterLogs.
52
52
func FilterEvents [Ev ContractEvent ](c * BoundContract , opts * FilterOpts , unpack func (* types.Log ) (* Ev , error ), topics ... []any ) (* EventIterator [Ev ], error ) {
53
53
var e Ev
@@ -67,7 +67,7 @@ func FilterEvents[Ev ContractEvent](c *BoundContract, opts *FilterOpts, unpack f
67
67
// invalid or the backend is closed.
68
68
//
69
69
// WatchEvents is intended to be used with contract event unpack methods in
70
- // bindings generated with the abigen --v2 flag. In this case, it should be
70
+ // bindings generated with the abigen --v2 flag. It should be
71
71
// preferred over BoundContract.WatchLogs.
72
72
func WatchEvents [Ev ContractEvent ](c * BoundContract , opts * WatchOpts , unpack func (* types.Log ) (* Ev , error ), sink chan <- * Ev , topics ... []any ) (event.Subscription , error ) {
73
73
var e Ev
@@ -178,8 +178,8 @@ func (it *EventIterator[T]) Close() error {
178
178
// doesn't revert.
179
179
//
180
180
// Call is intended to be used with contract method unpack methods in
181
- // bindings generated with the abigen --v2 flag. In this case, it should be
182
- // preferred over BoundContract.Call.
181
+ // bindings generated with the abigen --v2 flag. It should be
182
+ // preferred over BoundContract.Call
183
183
func Call [T any ](c * BoundContract , opts * CallOpts , calldata []byte , unpack func ([]byte ) (T , error )) (T , error ) {
184
184
var defaultResult T
185
185
packedOutput , err := c .CallRaw (opts , calldata )
@@ -216,7 +216,7 @@ func Transact(c *BoundContract, opt *TransactOpts, data []byte) (*types.Transact
216
216
// if the creation failed.
217
217
//
218
218
// To initiate the deployment of multiple contracts with one method call, see the
219
- // LinkAndDeploy method.
219
+ // [ LinkAndDeploy] method.
220
220
func DeployContract (opts * TransactOpts , bytecode []byte , backend ContractBackend , constructorInput []byte ) (common.Address , * types.Transaction , error ) {
221
221
c := NewBoundContract (common.Address {}, abi.ABI {}, backend , backend , backend )
222
222
0 commit comments