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 WithBttBalanceAt(...) Option
- func WithCallFunc(...) Option
- func WithCancelTransactionFunc(f func(ctx context.Context, originalTxHash common.Hash) (common.Hash, error)) Option
- func WithEthereumAddress(f func(ctx context.Context) (addr common.Address)) Option
- func WithMyBttBalance(f func(ctx context.Context) (*big.Int, error)) Option
- func WithOverlayEthAddress(f func(ctx context.Context) (addr common.Address)) Option
- func WithPendingTransactionsFunc(f func() ([]common.Hash, error)) Option
- func WithResendTransactionFunc(f func(ctx context.Context, txHash common.Hash) error) Option
- func WithSendFunc(...) Option
- func WithSenderAddress(f func(ctx context.Context) (addr common.Address)) Option
- func WithStoredTransactionFunc(f func(txHash common.Hash) (*transaction.StoredTransaction, 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 Chequebook service
func WithABICall ¶
func WithABICallSequence ¶
func WithABISend ¶
func WithBttBalanceAt ¶
func WithCallFunc ¶
func WithEthereumAddress ¶
func WithOverlayEthAddress ¶
func WithSendFunc ¶
func WithSenderAddress ¶
func WithStoredTransactionFunc ¶
func WithStoredTransactionFunc(f func(txHash common.Hash) (*transaction.StoredTransaction, error)) Option
Click to show internal directories.
Click to hide internal directories.