services

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v1.2.0

func NewClient(t NewClientT) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Client) Account

func (_m *Client) Account(_a0 context.Context, _a1 types.AccAddress) (authtypes.AccountI, error)

Account provides a mock function with given fields: _a0, _a1

func (*Client) Balance

Balance provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Client) Block

Block provides a mock function with given fields: _a0, _a1

func (*Client) EstimateGas

func (_m *Client) EstimateGas(_a0 context.Context, _a1 signing.Tx, _a2 float64) (uint64, error)

EstimateGas provides a mock function with given fields: _a0, _a1, _a2

func (*Client) PostTx

func (_m *Client) PostTx(ctx context.Context, txBytes []byte) (*rosetta_sdk_gotypes.TransactionIdentifier, error)

PostTx provides a mock function with given fields: ctx, txBytes

func (*Client) Status

Status provides a mock function with given fields: _a0

type NewClientT added in v1.2.0

type NewClientT interface {
	mock.TestingT
	Cleanup(func())
}

Jump to

Keyboard shortcuts

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