services

package
v0.0.0-...-fd95350 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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

Jump to

Keyboard shortcuts

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