Documentation ¶
Index ¶
- func New(opts ...Option) transaction.Service
- type Call
- type Option
- func WithABICall(abi *abi.ABI, to common.Address, result []byte, method string, ...) Option
- func WithABICallSequence(calls ...Call) Option
- func WithABISend(abi *abi.ABI, txHash common.Hash, expectedAddress common.Address, ...) Option
- func WithCallFunc(...) Option
- func WithCancelTransactionFunc(f func(ctx context.Context, originalTxHash common.Hash) (common.Hash, error)) Option
- func WithSendFunc(...) Option
- func WithTransactionFeeFunc(f func(ctx context.Context, txHash common.Hash) (*big.Int, error)) Option
- func WithWaitForReceiptFunc(...) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Option) transaction.Service
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is the option passed to the mock service
func WithABICall ¶
func WithABICallSequence ¶
func WithABISend ¶
func WithCallFunc ¶
func WithSendFunc ¶
func WithTransactionFeeFunc ¶
Click to show internal directories.
Click to hide internal directories.