utils

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockStorageHelper

type BlockStorageHelper struct {
	mock.Mock
}

BlockStorageHelper is an autogenerated mock type for the BlockStorageHelper type

func (*BlockStorageHelper) GetBlockLazy

func (_m *BlockStorageHelper) GetBlockLazy(ctx context.Context, blockIdentifier *types.PartialBlockIdentifier) (*types.BlockResponse, error)

GetBlockLazy provides a mock function with given fields: ctx, blockIdentifier

type FetcherHelper

type FetcherHelper struct {
	mock.Mock
}

FetcherHelper is an autogenerated mock type for the FetcherHelper type

func (*FetcherHelper) AccountBalanceRetry

func (_m *FetcherHelper) AccountBalanceRetry(ctx context.Context, network *types.NetworkIdentifier, account *types.AccountIdentifier, block *types.PartialBlockIdentifier, currencies []*types.Currency) (*types.BlockIdentifier, []*types.Amount, map[string]interface{}, *fetcher.Error)

AccountBalanceRetry provides a mock function with given fields: ctx, network, account, block, currencies

func (*FetcherHelper) AccountCoinsRetry added in v0.7.10

func (_m *FetcherHelper) AccountCoinsRetry(ctx context.Context, network *types.NetworkIdentifier, account *types.AccountIdentifier, includeMempool bool, currencies []*types.Currency) (*types.BlockIdentifier, []*types.Coin, map[string]interface{}, *fetcher.Error)

AccountCoinsRetry provides a mock function with given fields: ctx, network, account, includeMempool, currencies

func (*FetcherHelper) NetworkList

func (_m *FetcherHelper) NetworkList(ctx context.Context, metadata map[string]interface{}) (*types.NetworkListResponse, *fetcher.Error)

NetworkList provides a mock function with given fields: ctx, metadata

func (*FetcherHelper) NetworkStatusRetry

func (_m *FetcherHelper) NetworkStatusRetry(ctx context.Context, network *types.NetworkIdentifier, metadata map[string]interface{}) (*types.NetworkStatusResponse, *fetcher.Error)

NetworkStatusRetry provides a mock function with given fields: ctx, network, metadata

Jump to

Keyboard shortcuts

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