Documentation ¶
Index ¶
- func New(opts ...Option) postagecontract.Interface
- type Option
- func WithCreateBatchFunc(...) Option
- func WithDiluteBatchFunc(f func(ctx context.Context, batchID []byte, newDepth uint8) error) Option
- func WithExpiresBatchesFunc(f func(ctx context.Context) error) Option
- func WithTopUpBatchFunc(f func(ctx context.Context, batchID []byte, amount *big.Int) error) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*contractMock)
Option is a an option passed to New
func WithCreateBatchFunc ¶
func WithDiluteBatchFunc ¶ added in v1.2.0
func WithExpiresBatchesFunc ¶ added in v1.10.0
Click to show internal directories.
Click to hide internal directories.