utils

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockStorageHelper added in v0.6.8

type BlockStorageHelper struct {
	mock.Mock
}

BlockStorageHelper is an autogenerated mock type for the BlockStorageHelper type

func NewBlockStorageHelper added in v0.7.11

func NewBlockStorageHelper(t mockConstructorTestingTNewBlockStorageHelper) *BlockStorageHelper

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

func (*BlockStorageHelper) GetBlockLazy added in v0.6.8

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 NewFetcherHelper added in v0.7.11

func NewFetcherHelper(t mockConstructorTestingTNewFetcherHelper) *FetcherHelper

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

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.6

func (_m *FetcherHelper) AccountCoinsRetry(ctx context.Context, network *types.NetworkIdentifier, acct *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, acct, 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