Skip to content

bind.ContractTransactor/ethclient.SendTransactionConditional use a internal struct #2722

@RelicOfTesla

Description

@RelicOfTesla

SendTransactionConditional(ctx context.Context, tx *types.Transaction, opts ethapi.TransactionOpts) error

"github.com/ethereum/go-ethereum/internal/ethapi"

func (ec *Client) SendTransactionConditional(ctx context.Context, tx *types.Transaction, opts ethapi.TransactionOpts) error {

"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{}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions