hblockMock

package
v0.0.0-...-f679f10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) hblock.Contract

New creates a new mock

Types

type Option

type Option func(mock *hblockMock)

Option is an option passed to New

func WithGetBalance

func WithGetBalance(f func(ctx context.Context) (*big.Int, error)) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL