mocks

package
v0.0.0-...-3606b63 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain33Client

type Chain33Client struct {
	mock.Mock
}

Chain33Client is an autogenerated mock type for the Chain33Client type

func (*Chain33Client) CloseQueue

func (_m *Chain33Client) CloseQueue(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Reply, error)

CloseQueue provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) CreateNoBalanceTransaction

func (_m *Chain33Client) CreateNoBalanceTransaction(ctx context.Context, in *types.NoBalanceTx, opts ...grpc.CallOption) (*types.ReplySignRawTx, error)

CreateNoBalanceTransaction provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) CreateNoBalanceTxs

func (_m *Chain33Client) CreateNoBalanceTxs(ctx context.Context, in *types.NoBalanceTxs, opts ...grpc.CallOption) (*types.ReplySignRawTx, error)

CreateNoBalanceTxs provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) CreateRawTransaction

func (_m *Chain33Client) CreateRawTransaction(ctx context.Context, in *types.CreateTx, opts ...grpc.CallOption) (*types.UnsignTx, error)

CreateRawTransaction provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) CreateRawTxGroup

func (_m *Chain33Client) CreateRawTxGroup(ctx context.Context, in *types.CreateTransactionGroup, opts ...grpc.CallOption) (*types.UnsignTx, error)

CreateRawTxGroup provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) CreateTransaction

func (_m *Chain33Client) CreateTransaction(ctx context.Context, in *types.CreateTxIn, opts ...grpc.CallOption) (*types.UnsignTx, error)

CreateTransaction provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) DumpPrivkey

func (_m *Chain33Client) DumpPrivkey(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*types.ReplyString, error)

DumpPrivkey provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) ExecWallet

func (_m *Chain33Client) ExecWallet(ctx context.Context, in *types.ChainExecutor, opts ...grpc.CallOption) (*types.Reply, error)

ExecWallet provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GenSeed

func (_m *Chain33Client) GenSeed(ctx context.Context, in *types.GenSeedLang, opts ...grpc.CallOption) (*types.ReplySeed, error)

GenSeed provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetAccounts

func (_m *Chain33Client) GetAccounts(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.WalletAccounts, error)

GetAccounts provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetAddrOverview

func (_m *Chain33Client) GetAddrOverview(ctx context.Context, in *types.ReqAddr, opts ...grpc.CallOption) (*types.AddrOverview, error)

GetAddrOverview provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetAllExecBalance

func (_m *Chain33Client) GetAllExecBalance(ctx context.Context, in *types.ReqAllExecBalance, opts ...grpc.CallOption) (*types.AllExecBalance, error)

GetAllExecBalance provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetBalance

func (_m *Chain33Client) GetBalance(ctx context.Context, in *types.ReqBalance, opts ...grpc.CallOption) (*types.Accounts, error)

GetBalance provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetBlockByHashes

func (_m *Chain33Client) GetBlockByHashes(ctx context.Context, in *types.ReqHashes, opts ...grpc.CallOption) (*types.BlockDetails, error)

GetBlockByHashes provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetBlockBySeq

func (_m *Chain33Client) GetBlockBySeq(ctx context.Context, in *types.Int64, opts ...grpc.CallOption) (*types.BlockSeq, error)

GetBlockBySeq provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetBlockHash

func (_m *Chain33Client) GetBlockHash(ctx context.Context, in *types.ReqInt, opts ...grpc.CallOption) (*types.ReplyHash, error)

GetBlockHash provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetBlockOverview

func (_m *Chain33Client) GetBlockOverview(ctx context.Context, in *types.ReqHash, opts ...grpc.CallOption) (*types.BlockOverview, error)

GetBlockOverview provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetBlocks

func (_m *Chain33Client) GetBlocks(ctx context.Context, in *types.ReqBlocks, opts ...grpc.CallOption) (*types.Reply, error)

GetBlocks provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetFatalFailure

func (_m *Chain33Client) GetFatalFailure(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Int32, error)

GetFatalFailure provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetFork

func (_m *Chain33Client) GetFork(ctx context.Context, in *types.ReqKey, opts ...grpc.CallOption) (*types.Int64, error)

GetFork provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetHexTxByHash

func (_m *Chain33Client) GetHexTxByHash(ctx context.Context, in *types.ReqHash, opts ...grpc.CallOption) (*types.HexTx, error)

GetHexTxByHash provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetLastBlockSequence

func (_m *Chain33Client) GetLastBlockSequence(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Int64, error)

GetLastBlockSequence provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetLastHeader

func (_m *Chain33Client) GetLastHeader(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Header, error)

GetLastHeader provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetLastMemPool

func (_m *Chain33Client) GetLastMemPool(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.ReplyTxList, error)

GetLastMemPool provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetMemPool

func (_m *Chain33Client) GetMemPool(ctx context.Context, in *types.ReqGetMempool, opts ...grpc.CallOption) (*types.ReplyTxList, error)

GetMemPool provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetParaTxByTitle

func (_m *Chain33Client) GetParaTxByTitle(ctx context.Context, in *types.ReqParaTxByTitle, opts ...grpc.CallOption) (*types.ParaTxDetails, error)

GetParaTxByTitle provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetPeerInfo

func (_m *Chain33Client) GetPeerInfo(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.PeerList, error)

GetPeerInfo provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetProperFee

func (_m *Chain33Client) GetProperFee(ctx context.Context, in *types.ReqProperFee, opts ...grpc.CallOption) (*types.ReplyProperFee, error)

GetProperFee provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetSeed

func (_m *Chain33Client) GetSeed(ctx context.Context, in *types.GetSeedByPw, opts ...grpc.CallOption) (*types.ReplySeed, error)

GetSeed provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetSequenceByHash

func (_m *Chain33Client) GetSequenceByHash(ctx context.Context, in *types.ReqHash, opts ...grpc.CallOption) (*types.Int64, error)

GetSequenceByHash provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetTransactionByAddr

func (_m *Chain33Client) GetTransactionByAddr(ctx context.Context, in *types.ReqAddr, opts ...grpc.CallOption) (*types.ReplyTxInfos, error)

GetTransactionByAddr provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetTransactionByHashes

func (_m *Chain33Client) GetTransactionByHashes(ctx context.Context, in *types.ReqHashes, opts ...grpc.CallOption) (*types.TransactionDetails, error)

GetTransactionByHashes provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) GetWalletStatus

func (_m *Chain33Client) GetWalletStatus(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.WalletStatus, error)

GetWalletStatus provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) ImportPrivkey

ImportPrivkey provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) IsNtpClockSync

func (_m *Chain33Client) IsNtpClockSync(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Reply, error)

IsNtpClockSync provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) IsSync

func (_m *Chain33Client) IsSync(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Reply, error)

IsSync provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) Lock

func (_m *Chain33Client) Lock(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.Reply, error)

Lock provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) MergeBalance

MergeBalance provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) NetInfo

func (_m *Chain33Client) NetInfo(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.NodeNetInfo, error)

NetInfo provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) NewAccount

func (_m *Chain33Client) NewAccount(ctx context.Context, in *types.ReqNewAccount, opts ...grpc.CallOption) (*types.WalletAccount, error)

NewAccount provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) QueryChain

func (_m *Chain33Client) QueryChain(ctx context.Context, in *types.ChainExecutor, opts ...grpc.CallOption) (*types.Reply, error)

QueryChain provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) QueryConsensus

func (_m *Chain33Client) QueryConsensus(ctx context.Context, in *types.ChainExecutor, opts ...grpc.CallOption) (*types.Reply, error)

QueryConsensus provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) QueryRandNum

func (_m *Chain33Client) QueryRandNum(ctx context.Context, in *types.ReqRandHash, opts ...grpc.CallOption) (*types.ReplyHash, error)

QueryRandNum provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) QueryTransaction

func (_m *Chain33Client) QueryTransaction(ctx context.Context, in *types.ReqHash, opts ...grpc.CallOption) (*types.TransactionDetail, error)

QueryTransaction provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SaveSeed

func (_m *Chain33Client) SaveSeed(ctx context.Context, in *types.SaveSeedByPw, opts ...grpc.CallOption) (*types.Reply, error)

SaveSeed provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SendToAddress

func (_m *Chain33Client) SendToAddress(ctx context.Context, in *types.ReqWalletSendToAddress, opts ...grpc.CallOption) (*types.ReplyHash, error)

SendToAddress provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SendTransaction

func (_m *Chain33Client) SendTransaction(ctx context.Context, in *types.Transaction, opts ...grpc.CallOption) (*types.Reply, error)

SendTransaction provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SetLabl

SetLabl provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SetPasswd

func (_m *Chain33Client) SetPasswd(ctx context.Context, in *types.ReqWalletSetPasswd, opts ...grpc.CallOption) (*types.Reply, error)

SetPasswd provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SetTxFee

func (_m *Chain33Client) SetTxFee(ctx context.Context, in *types.ReqWalletSetFee, opts ...grpc.CallOption) (*types.Reply, error)

SetTxFee provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) SignRawTx

func (_m *Chain33Client) SignRawTx(ctx context.Context, in *types.ReqSignRawTx, opts ...grpc.CallOption) (*types.ReplySignRawTx, error)

SignRawTx provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) UnLock

func (_m *Chain33Client) UnLock(ctx context.Context, in *types.WalletUnLock, opts ...grpc.CallOption) (*types.Reply, error)

UnLock provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) Version

func (_m *Chain33Client) Version(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.VersionInfo, error)

Version provides a mock function with given fields: ctx, in, opts

func (*Chain33Client) WalletTransactionList

func (_m *Chain33Client) WalletTransactionList(ctx context.Context, in *types.ReqWalletTransactionList, opts ...grpc.CallOption) (*types.WalletTxDetails, error)

WalletTransactionList provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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