mock

package
v0.0.0-...-ba036dd Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcClientMock

type GrpcClientMock struct {
	*mock.Mock
}

func NewGrpcClientMock

func NewGrpcClientMock() *GrpcClientMock

func (*GrpcClientMock) QueryContract

func (g *GrpcClientMock) QueryContract(addr string, query []byte, height uint64) ([]byte, error)

QueryContract implements xpla.GrpcClient

func (*GrpcClientMock) QueryIbcDenomTrace

func (g *GrpcClientMock) QueryIbcDenomTrace(hash string) (*ibc_types.DenomTrace, error)

QueryIbcDenomTrace implements xpla.GrpcClient

func (*GrpcClientMock) SyncedHeight

func (g *GrpcClientMock) SyncedHeight() (uint64, error)

SyncedHeight implements xpla.GrpcClient

Jump to

Keyboard shortcuts

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