-
Notifications
You must be signed in to change notification settings - Fork 1.8k
bind.ContractTransactor/ethclient.SendTransactionConditional use a internal struct #2722
Copy link
Copy link
Closed
Description
bsc/accounts/abi/bind/backend.go
Line 104 in ec318b9
| SendTransactionConditional(ctx context.Context, tx *types.Transaction, opts ethapi.TransactionOpts) error |
bsc/accounts/abi/bind/backend.go
Line 27 in ec318b9
| "github.com/ethereum/go-ethereum/internal/ethapi" |
Line 740 in ec318b9
| func (ec *Client) SendTransactionConditional(ctx context.Context, tx *types.Transaction, opts ethapi.TransactionOpts) error { |
Line 32 in ec318b9
| "github.com/ethereum/go-ethereum/internal/ethapi" |
Can not call SendTransactionConditional , or derive ethclient class.
I need to make some modifications to this interface, such as log or frequency limiting and other, I will derive new classes, and then pass in erc20.NewErc20(..., WrapEthClient{}) // var _ bind.ContractBackend = WrapEthClient{}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels