Documentation
¶
Index ¶
- type RpcClient
- func (_m *RpcClient) BanNetworkPeer(ctx context.Context, peerID string) error
- func (_m *RpcClient) BanNetworkPoint(ctx context.Context, address string) error
- func (_m *RpcClient) Broadcast(ctx context.Context, o *codec.Op) (tezos.OpHash, error)
- func (_m *RpcClient) BroadcastOperation(ctx context.Context, body []byte) (tezos.OpHash, error)
- func (_m *RpcClient) Client() *http.Client
- func (_m *RpcClient) Close()
- func (_m *RpcClient) Complete(ctx context.Context, o *codec.Op, key tezos.Key) error
- func (_m *RpcClient) ConnectToNetworkPoint(ctx context.Context, address string, timeout time.Duration) error
- func (_m *RpcClient) Do(req *http.Request, v interface{}) error
- func (_m *RpcClient) DoAsync(req *http.Request, mon rpc.Monitor) error
- func (_m *RpcClient) ForgeOperation(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
- func (_m *RpcClient) Get(ctx context.Context, urlpath string, result interface{}) error
- func (_m *RpcClient) GetActiveBigmapInfo(ctx context.Context, bigmap int64) (*rpc.BigmapInfo, error)
- func (_m *RpcClient) GetActiveBigmapValue(ctx context.Context, bigmap int64, hash tezos.ExprHash) (micheline.Prim, error)
- func (_m *RpcClient) GetAsync(ctx context.Context, urlpath string, mon rpc.Monitor) error
- func (_m *RpcClient) GetBigmapInfo(ctx context.Context, bigmap int64, id rpc.BlockID) (*rpc.BigmapInfo, error)
- func (_m *RpcClient) GetBigmapValue(ctx context.Context, bigmap int64, hash tezos.ExprHash, id rpc.BlockID) (micheline.Prim, error)
- func (_m *RpcClient) GetBlock(ctx context.Context, id rpc.BlockID) (*rpc.Block, error)
- func (_m *RpcClient) GetBlockHash(ctx context.Context, id rpc.BlockID) (tezos.BlockHash, error)
- func (_m *RpcClient) GetBlockHeader(ctx context.Context, id rpc.BlockID) (*rpc.BlockHeader, error)
- func (_m *RpcClient) GetBlockHeight(ctx context.Context, height int64) (*rpc.Block, error)
- func (_m *RpcClient) GetBlockMetadata(ctx context.Context, id rpc.BlockID) (*rpc.BlockMetadata, error)
- func (_m *RpcClient) GetBlockOperation(ctx context.Context, id rpc.BlockID, l int, n int) (*rpc.Operation, error)
- func (_m *RpcClient) GetBlockOperationHash(ctx context.Context, id rpc.BlockID, l int, n int) (tezos.OpHash, error)
- func (_m *RpcClient) GetBlockOperationHashes(ctx context.Context, id rpc.BlockID) ([][]tezos.OpHash, error)
- func (_m *RpcClient) GetBlockOperationList(ctx context.Context, id rpc.BlockID, l int) ([]rpc.Operation, error)
- func (_m *RpcClient) GetBlockOperationListHashes(ctx context.Context, id rpc.BlockID, l int) ([]tezos.OpHash, error)
- func (_m *RpcClient) GetBlockOperations(ctx context.Context, id rpc.BlockID) ([][]rpc.Operation, error)
- func (_m *RpcClient) GetBlockPredHashes(ctx context.Context, hash tezos.BlockHash, count int) ([]tezos.BlockHash, error)
- func (_m *RpcClient) GetChainId(ctx context.Context) (tezos.ChainIdHash, error)
- func (_m *RpcClient) GetConstants(ctx context.Context, id rpc.BlockID) (rpc.Constants, error)
- func (_m *RpcClient) GetContract(ctx context.Context, addr tezos.Address, id rpc.BlockID) (*rpc.ContractInfo, error)
- func (_m *RpcClient) GetContractBalance(ctx context.Context, addr tezos.Address, id rpc.BlockID) (tezos.Z, error)
- func (_m *RpcClient) GetContractEntrypoints(ctx context.Context, addr tezos.Address) (map[string]micheline.Type, error)
- func (_m *RpcClient) GetContractExt(ctx context.Context, addr tezos.Address, id rpc.BlockID) (*rpc.ContractInfo, error)
- func (_m *RpcClient) GetContractScript(ctx context.Context, addr tezos.Address) (*micheline.Script, error)
- func (_m *RpcClient) GetContractStorage(ctx context.Context, addr tezos.Address, id rpc.BlockID) (micheline.Prim, error)
- func (_m *RpcClient) GetContractStorageNormalized(ctx context.Context, addr tezos.Address, id rpc.BlockID, ...) (micheline.Prim, error)
- func (_m *RpcClient) GetCustomConstants(ctx context.Context, id rpc.BlockID, resp interface{}) error
- func (_m *RpcClient) GetDelegate(ctx context.Context, addr tezos.Address, id rpc.BlockID) (*rpc.Delegate, error)
- func (_m *RpcClient) GetDelegateBalance(ctx context.Context, addr tezos.Address, id rpc.BlockID) (int64, error)
- func (_m *RpcClient) GetGenesisBlock(ctx context.Context) (*rpc.Block, error)
- func (_m *RpcClient) GetHeadBlock(ctx context.Context) (*rpc.Block, error)
- func (_m *RpcClient) GetInvalidBlock(ctx context.Context, blockID tezos.BlockHash) (*rpc.InvalidBlock, error)
- func (_m *RpcClient) GetInvalidBlocks(ctx context.Context) ([]*rpc.InvalidBlock, error)
- func (_m *RpcClient) GetManagerKey(ctx context.Context, addr tezos.Address, id rpc.BlockID) (tezos.Key, error)
- func (_m *RpcClient) GetMempool(ctx context.Context) (*rpc.Mempool, error)
- func (_m *RpcClient) GetNetworkConnections(ctx context.Context) ([]*rpc.NetworkConnection, error)
- func (_m *RpcClient) GetNetworkPeer(ctx context.Context, peerID string) (*rpc.NetworkPeer, error)
- func (_m *RpcClient) GetNetworkPeerBanned(ctx context.Context, peerID string) (bool, error)
- func (_m *RpcClient) GetNetworkPeerLog(ctx context.Context, peerID string) ([]*rpc.NetworkPeerLogEntry, error)
- func (_m *RpcClient) GetNetworkPeers(ctx context.Context, filter string) ([]*rpc.NetworkPeer, error)
- func (_m *RpcClient) GetNetworkPoint(ctx context.Context, address string) (*rpc.NetworkPoint, error)
- func (_m *RpcClient) GetNetworkPointBanned(ctx context.Context, address string) (bool, error)
- func (_m *RpcClient) GetNetworkPointLog(ctx context.Context, address string) ([]*rpc.NetworkPointLogEntry, error)
- func (_m *RpcClient) GetNetworkPoints(ctx context.Context, filter string) ([]*rpc.NetworkPoint, error)
- func (_m *RpcClient) GetNetworkStats(ctx context.Context) (*rpc.NetworkStats, error)
- func (_m *RpcClient) GetNormalizedScript(ctx context.Context, addr tezos.Address, mode rpc.UnparsingMode) (*micheline.Script, error)
- func (_m *RpcClient) GetParams(ctx context.Context, id rpc.BlockID) (*tezos.Params, error)
- func (_m *RpcClient) GetRollSnapshotInfoCycle(ctx context.Context, id rpc.BlockID, cycle int64) (*rpc.RollSnapshotInfo, error)
- func (_m *RpcClient) GetSnapshotIndexCycle(ctx context.Context, id rpc.BlockID, cycle int64) (*rpc.SnapshotIndex, error)
- func (_m *RpcClient) GetStakingSnapshotInfoCycle(ctx context.Context, id rpc.BlockID, cycle int64) (*rpc.StakingSnapshotInfo, error)
- func (_m *RpcClient) GetStatus(ctx context.Context) (rpc.Status, error)
- func (_m *RpcClient) GetTipHeader(ctx context.Context) (*rpc.BlockHeader, error)
- func (_m *RpcClient) GetTips(ctx context.Context, depth int, head tezos.BlockHash) ([][]tezos.BlockHash, error)
- func (_m *RpcClient) GetVersionInfo(ctx context.Context) (rpc.VersionInfo, error)
- func (_m *RpcClient) GetVoteProposal(ctx context.Context, id rpc.BlockID) (tezos.ProtocolHash, error)
- func (_m *RpcClient) GetVoteQuorum(ctx context.Context, id rpc.BlockID) (int, error)
- func (_m *RpcClient) GetVoteResult(ctx context.Context, id rpc.BlockID) (rpc.BallotSummary, error)
- func (_m *RpcClient) Init(ctx context.Context) error
- func (_m *RpcClient) ListActiveBigmapKeys(ctx context.Context, bigmap int64) ([]tezos.ExprHash, error)
- func (_m *RpcClient) ListActiveBigmapValues(ctx context.Context, bigmap int64, id rpc.BlockID) ([]micheline.Prim, error)
- func (_m *RpcClient) ListActiveDelegates(ctx context.Context, id rpc.BlockID) (rpc.DelegateList, error)
- func (_m *RpcClient) ListBakingRights(ctx context.Context, id rpc.BlockID, max int) ([]rpc.BakingRight, error)
- func (_m *RpcClient) ListBakingRightsCycle(ctx context.Context, id rpc.BlockID, cycle int64, max int) ([]rpc.BakingRight, error)
- func (_m *RpcClient) ListBallots(ctx context.Context, id rpc.BlockID) (rpc.BallotList, error)
- func (_m *RpcClient) ListBigmapKeys(ctx context.Context, bigmap int64, id rpc.BlockID) ([]tezos.ExprHash, error)
- func (_m *RpcClient) ListBigmapValues(ctx context.Context, bigmap int64, id rpc.BlockID) ([]micheline.Prim, error)
- func (_m *RpcClient) ListContracts(ctx context.Context, id rpc.BlockID) (rpc.Contracts, error)
- func (_m *RpcClient) ListEndorsingRights(ctx context.Context, id rpc.BlockID) ([]rpc.EndorsingRight, error)
- func (_m *RpcClient) ListEndorsingRightsCycle(ctx context.Context, id rpc.BlockID, cycle int64) ([]rpc.EndorsingRight, error)
- func (_m *RpcClient) ListProposals(ctx context.Context, id rpc.BlockID) (rpc.ProposalList, error)
- func (_m *RpcClient) ListSnapshotRollOwners(ctx context.Context, id rpc.BlockID, cycle int64, index int64) (*rpc.SnapshotOwners, error)
- func (_m *RpcClient) ListVoters(ctx context.Context, id rpc.BlockID) (rpc.VoterList, error)
- func (_m *RpcClient) Listen()
- func (_m *RpcClient) MonitorBlockHeader(ctx context.Context, monitor *rpc.BlockHeaderMonitor) error
- func (_m *RpcClient) MonitorBootstrapped(ctx context.Context, monitor *rpc.BootstrapMonitor) error
- func (_m *RpcClient) MonitorMempool(ctx context.Context, monitor *rpc.MempoolMonitor) error
- func (_m *RpcClient) MonitorNetworkPeerLog(ctx context.Context, peerID string, monitor *rpc.NetworkPeerMonitor) error
- func (_m *RpcClient) MonitorNetworkPointLog(ctx context.Context, address string, monitor *rpc.NetworkPointMonitor) error
- func (_m *RpcClient) NewRequest(ctx context.Context, method string, urlStr string, body interface{}) (*http.Request, error)
- func (_m *RpcClient) Post(ctx context.Context, urlpath string, body interface{}, result interface{}) error
- func (_m *RpcClient) Put(ctx context.Context, urlpath string, body interface{}, result interface{}) error
- func (_m *RpcClient) ResolveChainConfig(ctx context.Context) error
- func (_m *RpcClient) RunCallback(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
- func (_m *RpcClient) RunCode(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
- func (_m *RpcClient) RunOperation(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
- func (_m *RpcClient) RunView(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
- func (_m *RpcClient) Send(ctx context.Context, op *codec.Op, opts *rpc.CallOptions) (*rpc.Receipt, error)
- func (_m *RpcClient) Simulate(ctx context.Context, o *codec.Op, opts *rpc.CallOptions) (*rpc.Receipt, error)
- func (_m *RpcClient) TraceCode(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
- func (_m *RpcClient) TrustNetworkPeer(ctx context.Context, peerID string) error
- func (_m *RpcClient) TrustNetworkPoint(ctx context.Context, address string) error
- func (_m *RpcClient) UseIpfsUrl(uri string) error
- func (_m *RpcClient) Validate(ctx context.Context, o *codec.Op) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcClient ¶
RpcClient is an autogenerated mock type for the RpcClient type
func NewRpcClient ¶
NewRpcClient creates a new instance of RpcClient. 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 (*RpcClient) BanNetworkPeer ¶
BanNetworkPeer provides a mock function with given fields: ctx, peerID
func (*RpcClient) BanNetworkPoint ¶
BanNetworkPoint provides a mock function with given fields: ctx, address
func (*RpcClient) BroadcastOperation ¶
BroadcastOperation provides a mock function with given fields: ctx, body
func (*RpcClient) Close ¶
func (_m *RpcClient) Close()
Close provides a mock function with given fields:
func (*RpcClient) ConnectToNetworkPoint ¶
func (_m *RpcClient) ConnectToNetworkPoint(ctx context.Context, address string, timeout time.Duration) error
ConnectToNetworkPoint provides a mock function with given fields: ctx, address, timeout
func (*RpcClient) ForgeOperation ¶
func (_m *RpcClient) ForgeOperation(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
ForgeOperation provides a mock function with given fields: ctx, id, body, resp
func (*RpcClient) GetActiveBigmapInfo ¶
func (_m *RpcClient) GetActiveBigmapInfo(ctx context.Context, bigmap int64) (*rpc.BigmapInfo, error)
GetActiveBigmapInfo provides a mock function with given fields: ctx, bigmap
func (*RpcClient) GetActiveBigmapValue ¶
func (_m *RpcClient) GetActiveBigmapValue(ctx context.Context, bigmap int64, hash tezos.ExprHash) (micheline.Prim, error)
GetActiveBigmapValue provides a mock function with given fields: ctx, bigmap, hash
func (*RpcClient) GetBigmapInfo ¶
func (_m *RpcClient) GetBigmapInfo(ctx context.Context, bigmap int64, id rpc.BlockID) (*rpc.BigmapInfo, error)
GetBigmapInfo provides a mock function with given fields: ctx, bigmap, id
func (*RpcClient) GetBigmapValue ¶
func (_m *RpcClient) GetBigmapValue(ctx context.Context, bigmap int64, hash tezos.ExprHash, id rpc.BlockID) (micheline.Prim, error)
GetBigmapValue provides a mock function with given fields: ctx, bigmap, hash, id
func (*RpcClient) GetBlockHash ¶
GetBlockHash provides a mock function with given fields: ctx, id
func (*RpcClient) GetBlockHeader ¶
GetBlockHeader provides a mock function with given fields: ctx, id
func (*RpcClient) GetBlockHeight ¶
GetBlockHeight provides a mock function with given fields: ctx, height
func (*RpcClient) GetBlockMetadata ¶
func (_m *RpcClient) GetBlockMetadata(ctx context.Context, id rpc.BlockID) (*rpc.BlockMetadata, error)
GetBlockMetadata provides a mock function with given fields: ctx, id
func (*RpcClient) GetBlockOperation ¶
func (_m *RpcClient) GetBlockOperation(ctx context.Context, id rpc.BlockID, l int, n int) (*rpc.Operation, error)
GetBlockOperation provides a mock function with given fields: ctx, id, l, n
func (*RpcClient) GetBlockOperationHash ¶
func (_m *RpcClient) GetBlockOperationHash(ctx context.Context, id rpc.BlockID, l int, n int) (tezos.OpHash, error)
GetBlockOperationHash provides a mock function with given fields: ctx, id, l, n
func (*RpcClient) GetBlockOperationHashes ¶
func (_m *RpcClient) GetBlockOperationHashes(ctx context.Context, id rpc.BlockID) ([][]tezos.OpHash, error)
GetBlockOperationHashes provides a mock function with given fields: ctx, id
func (*RpcClient) GetBlockOperationList ¶
func (_m *RpcClient) GetBlockOperationList(ctx context.Context, id rpc.BlockID, l int) ([]rpc.Operation, error)
GetBlockOperationList provides a mock function with given fields: ctx, id, l
func (*RpcClient) GetBlockOperationListHashes ¶
func (_m *RpcClient) GetBlockOperationListHashes(ctx context.Context, id rpc.BlockID, l int) ([]tezos.OpHash, error)
GetBlockOperationListHashes provides a mock function with given fields: ctx, id, l
func (*RpcClient) GetBlockOperations ¶
func (_m *RpcClient) GetBlockOperations(ctx context.Context, id rpc.BlockID) ([][]rpc.Operation, error)
GetBlockOperations provides a mock function with given fields: ctx, id
func (*RpcClient) GetBlockPredHashes ¶
func (_m *RpcClient) GetBlockPredHashes(ctx context.Context, hash tezos.BlockHash, count int) ([]tezos.BlockHash, error)
GetBlockPredHashes provides a mock function with given fields: ctx, hash, count
func (*RpcClient) GetChainId ¶
GetChainId provides a mock function with given fields: ctx
func (*RpcClient) GetConstants ¶
GetConstants provides a mock function with given fields: ctx, id
func (*RpcClient) GetContract ¶
func (_m *RpcClient) GetContract(ctx context.Context, addr tezos.Address, id rpc.BlockID) (*rpc.ContractInfo, error)
GetContract provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetContractBalance ¶
func (_m *RpcClient) GetContractBalance(ctx context.Context, addr tezos.Address, id rpc.BlockID) (tezos.Z, error)
GetContractBalance provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetContractEntrypoints ¶
func (_m *RpcClient) GetContractEntrypoints(ctx context.Context, addr tezos.Address) (map[string]micheline.Type, error)
GetContractEntrypoints provides a mock function with given fields: ctx, addr
func (*RpcClient) GetContractExt ¶
func (_m *RpcClient) GetContractExt(ctx context.Context, addr tezos.Address, id rpc.BlockID) (*rpc.ContractInfo, error)
GetContractExt provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetContractScript ¶
func (_m *RpcClient) GetContractScript(ctx context.Context, addr tezos.Address) (*micheline.Script, error)
GetContractScript provides a mock function with given fields: ctx, addr
func (*RpcClient) GetContractStorage ¶
func (_m *RpcClient) GetContractStorage(ctx context.Context, addr tezos.Address, id rpc.BlockID) (micheline.Prim, error)
GetContractStorage provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetContractStorageNormalized ¶
func (_m *RpcClient) GetContractStorageNormalized(ctx context.Context, addr tezos.Address, id rpc.BlockID, mode rpc.UnparsingMode) (micheline.Prim, error)
GetContractStorageNormalized provides a mock function with given fields: ctx, addr, id, mode
func (*RpcClient) GetCustomConstants ¶
func (_m *RpcClient) GetCustomConstants(ctx context.Context, id rpc.BlockID, resp interface{}) error
GetCustomConstants provides a mock function with given fields: ctx, id, resp
func (*RpcClient) GetDelegate ¶
func (_m *RpcClient) GetDelegate(ctx context.Context, addr tezos.Address, id rpc.BlockID) (*rpc.Delegate, error)
GetDelegate provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetDelegateBalance ¶
func (_m *RpcClient) GetDelegateBalance(ctx context.Context, addr tezos.Address, id rpc.BlockID) (int64, error)
GetDelegateBalance provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetGenesisBlock ¶
GetGenesisBlock provides a mock function with given fields: ctx
func (*RpcClient) GetHeadBlock ¶
GetHeadBlock provides a mock function with given fields: ctx
func (*RpcClient) GetInvalidBlock ¶
func (_m *RpcClient) GetInvalidBlock(ctx context.Context, blockID tezos.BlockHash) (*rpc.InvalidBlock, error)
GetInvalidBlock provides a mock function with given fields: ctx, blockID
func (*RpcClient) GetInvalidBlocks ¶
GetInvalidBlocks provides a mock function with given fields: ctx
func (*RpcClient) GetManagerKey ¶
func (_m *RpcClient) GetManagerKey(ctx context.Context, addr tezos.Address, id rpc.BlockID) (tezos.Key, error)
GetManagerKey provides a mock function with given fields: ctx, addr, id
func (*RpcClient) GetMempool ¶
GetMempool provides a mock function with given fields: ctx
func (*RpcClient) GetNetworkConnections ¶
GetNetworkConnections provides a mock function with given fields: ctx
func (*RpcClient) GetNetworkPeer ¶
GetNetworkPeer provides a mock function with given fields: ctx, peerID
func (*RpcClient) GetNetworkPeerBanned ¶
GetNetworkPeerBanned provides a mock function with given fields: ctx, peerID
func (*RpcClient) GetNetworkPeerLog ¶
func (_m *RpcClient) GetNetworkPeerLog(ctx context.Context, peerID string) ([]*rpc.NetworkPeerLogEntry, error)
GetNetworkPeerLog provides a mock function with given fields: ctx, peerID
func (*RpcClient) GetNetworkPeers ¶
func (_m *RpcClient) GetNetworkPeers(ctx context.Context, filter string) ([]*rpc.NetworkPeer, error)
GetNetworkPeers provides a mock function with given fields: ctx, filter
func (*RpcClient) GetNetworkPoint ¶
func (_m *RpcClient) GetNetworkPoint(ctx context.Context, address string) (*rpc.NetworkPoint, error)
GetNetworkPoint provides a mock function with given fields: ctx, address
func (*RpcClient) GetNetworkPointBanned ¶
GetNetworkPointBanned provides a mock function with given fields: ctx, address
func (*RpcClient) GetNetworkPointLog ¶
func (_m *RpcClient) GetNetworkPointLog(ctx context.Context, address string) ([]*rpc.NetworkPointLogEntry, error)
GetNetworkPointLog provides a mock function with given fields: ctx, address
func (*RpcClient) GetNetworkPoints ¶
func (_m *RpcClient) GetNetworkPoints(ctx context.Context, filter string) ([]*rpc.NetworkPoint, error)
GetNetworkPoints provides a mock function with given fields: ctx, filter
func (*RpcClient) GetNetworkStats ¶
GetNetworkStats provides a mock function with given fields: ctx
func (*RpcClient) GetNormalizedScript ¶
func (_m *RpcClient) GetNormalizedScript(ctx context.Context, addr tezos.Address, mode rpc.UnparsingMode) (*micheline.Script, error)
GetNormalizedScript provides a mock function with given fields: ctx, addr, mode
func (*RpcClient) GetRollSnapshotInfoCycle ¶
func (_m *RpcClient) GetRollSnapshotInfoCycle(ctx context.Context, id rpc.BlockID, cycle int64) (*rpc.RollSnapshotInfo, error)
GetRollSnapshotInfoCycle provides a mock function with given fields: ctx, id, cycle
func (*RpcClient) GetSnapshotIndexCycle ¶
func (_m *RpcClient) GetSnapshotIndexCycle(ctx context.Context, id rpc.BlockID, cycle int64) (*rpc.SnapshotIndex, error)
GetSnapshotIndexCycle provides a mock function with given fields: ctx, id, cycle
func (*RpcClient) GetStakingSnapshotInfoCycle ¶
func (_m *RpcClient) GetStakingSnapshotInfoCycle(ctx context.Context, id rpc.BlockID, cycle int64) (*rpc.StakingSnapshotInfo, error)
GetStakingSnapshotInfoCycle provides a mock function with given fields: ctx, id, cycle
func (*RpcClient) GetTipHeader ¶
GetTipHeader provides a mock function with given fields: ctx
func (*RpcClient) GetTips ¶
func (_m *RpcClient) GetTips(ctx context.Context, depth int, head tezos.BlockHash) ([][]tezos.BlockHash, error)
GetTips provides a mock function with given fields: ctx, depth, head
func (*RpcClient) GetVersionInfo ¶
GetVersionInfo provides a mock function with given fields: ctx
func (*RpcClient) GetVoteProposal ¶
func (_m *RpcClient) GetVoteProposal(ctx context.Context, id rpc.BlockID) (tezos.ProtocolHash, error)
GetVoteProposal provides a mock function with given fields: ctx, id
func (*RpcClient) GetVoteQuorum ¶
GetVoteQuorum provides a mock function with given fields: ctx, id
func (*RpcClient) GetVoteResult ¶
GetVoteResult provides a mock function with given fields: ctx, id
func (*RpcClient) ListActiveBigmapKeys ¶
func (_m *RpcClient) ListActiveBigmapKeys(ctx context.Context, bigmap int64) ([]tezos.ExprHash, error)
ListActiveBigmapKeys provides a mock function with given fields: ctx, bigmap
func (*RpcClient) ListActiveBigmapValues ¶
func (_m *RpcClient) ListActiveBigmapValues(ctx context.Context, bigmap int64, id rpc.BlockID) ([]micheline.Prim, error)
ListActiveBigmapValues provides a mock function with given fields: ctx, bigmap, id
func (*RpcClient) ListActiveDelegates ¶
func (_m *RpcClient) ListActiveDelegates(ctx context.Context, id rpc.BlockID) (rpc.DelegateList, error)
ListActiveDelegates provides a mock function with given fields: ctx, id
func (*RpcClient) ListBakingRights ¶
func (_m *RpcClient) ListBakingRights(ctx context.Context, id rpc.BlockID, max int) ([]rpc.BakingRight, error)
ListBakingRights provides a mock function with given fields: ctx, id, max
func (*RpcClient) ListBakingRightsCycle ¶
func (_m *RpcClient) ListBakingRightsCycle(ctx context.Context, id rpc.BlockID, cycle int64, max int) ([]rpc.BakingRight, error)
ListBakingRightsCycle provides a mock function with given fields: ctx, id, cycle, max
func (*RpcClient) ListBallots ¶
ListBallots provides a mock function with given fields: ctx, id
func (*RpcClient) ListBigmapKeys ¶
func (_m *RpcClient) ListBigmapKeys(ctx context.Context, bigmap int64, id rpc.BlockID) ([]tezos.ExprHash, error)
ListBigmapKeys provides a mock function with given fields: ctx, bigmap, id
func (*RpcClient) ListBigmapValues ¶
func (_m *RpcClient) ListBigmapValues(ctx context.Context, bigmap int64, id rpc.BlockID) ([]micheline.Prim, error)
ListBigmapValues provides a mock function with given fields: ctx, bigmap, id
func (*RpcClient) ListContracts ¶
ListContracts provides a mock function with given fields: ctx, id
func (*RpcClient) ListEndorsingRights ¶
func (_m *RpcClient) ListEndorsingRights(ctx context.Context, id rpc.BlockID) ([]rpc.EndorsingRight, error)
ListEndorsingRights provides a mock function with given fields: ctx, id
func (*RpcClient) ListEndorsingRightsCycle ¶
func (_m *RpcClient) ListEndorsingRightsCycle(ctx context.Context, id rpc.BlockID, cycle int64) ([]rpc.EndorsingRight, error)
ListEndorsingRightsCycle provides a mock function with given fields: ctx, id, cycle
func (*RpcClient) ListProposals ¶
ListProposals provides a mock function with given fields: ctx, id
func (*RpcClient) ListSnapshotRollOwners ¶
func (_m *RpcClient) ListSnapshotRollOwners(ctx context.Context, id rpc.BlockID, cycle int64, index int64) (*rpc.SnapshotOwners, error)
ListSnapshotRollOwners provides a mock function with given fields: ctx, id, cycle, index
func (*RpcClient) ListVoters ¶
ListVoters provides a mock function with given fields: ctx, id
func (*RpcClient) Listen ¶
func (_m *RpcClient) Listen()
Listen provides a mock function with given fields:
func (*RpcClient) MonitorBlockHeader ¶
MonitorBlockHeader provides a mock function with given fields: ctx, monitor
func (*RpcClient) MonitorBootstrapped ¶
MonitorBootstrapped provides a mock function with given fields: ctx, monitor
func (*RpcClient) MonitorMempool ¶
MonitorMempool provides a mock function with given fields: ctx, monitor
func (*RpcClient) MonitorNetworkPeerLog ¶
func (_m *RpcClient) MonitorNetworkPeerLog(ctx context.Context, peerID string, monitor *rpc.NetworkPeerMonitor) error
MonitorNetworkPeerLog provides a mock function with given fields: ctx, peerID, monitor
func (*RpcClient) MonitorNetworkPointLog ¶
func (_m *RpcClient) MonitorNetworkPointLog(ctx context.Context, address string, monitor *rpc.NetworkPointMonitor) error
MonitorNetworkPointLog provides a mock function with given fields: ctx, address, monitor
func (*RpcClient) NewRequest ¶
func (_m *RpcClient) NewRequest(ctx context.Context, method string, urlStr string, body interface{}) (*http.Request, error)
NewRequest provides a mock function with given fields: ctx, method, urlStr, body
func (*RpcClient) Post ¶
func (_m *RpcClient) Post(ctx context.Context, urlpath string, body interface{}, result interface{}) error
Post provides a mock function with given fields: ctx, urlpath, body, result
func (*RpcClient) Put ¶
func (_m *RpcClient) Put(ctx context.Context, urlpath string, body interface{}, result interface{}) error
Put provides a mock function with given fields: ctx, urlpath, body, result
func (*RpcClient) ResolveChainConfig ¶
ResolveChainConfig provides a mock function with given fields: ctx
func (*RpcClient) RunCallback ¶
func (_m *RpcClient) RunCallback(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
RunCallback provides a mock function with given fields: ctx, id, body, resp
func (*RpcClient) RunCode ¶
func (_m *RpcClient) RunCode(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
RunCode provides a mock function with given fields: ctx, id, body, resp
func (*RpcClient) RunOperation ¶
func (_m *RpcClient) RunOperation(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
RunOperation provides a mock function with given fields: ctx, id, body, resp
func (*RpcClient) RunView ¶
func (_m *RpcClient) RunView(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
RunView provides a mock function with given fields: ctx, id, body, resp
func (*RpcClient) Send ¶
func (_m *RpcClient) Send(ctx context.Context, op *codec.Op, opts *rpc.CallOptions) (*rpc.Receipt, error)
Send provides a mock function with given fields: ctx, op, opts
func (*RpcClient) Simulate ¶
func (_m *RpcClient) Simulate(ctx context.Context, o *codec.Op, opts *rpc.CallOptions) (*rpc.Receipt, error)
Simulate provides a mock function with given fields: ctx, o, opts
func (*RpcClient) TraceCode ¶
func (_m *RpcClient) TraceCode(ctx context.Context, id rpc.BlockID, body interface{}, resp interface{}) error
TraceCode provides a mock function with given fields: ctx, id, body, resp
func (*RpcClient) TrustNetworkPeer ¶
TrustNetworkPeer provides a mock function with given fields: ctx, peerID
func (*RpcClient) TrustNetworkPoint ¶
TrustNetworkPoint provides a mock function with given fields: ctx, address
func (*RpcClient) UseIpfsUrl ¶
UseIpfsUrl provides a mock function with given fields: uri