lotus/api/v0api/v0mocks/mock_full.go

3260 lines
140 KiB
Go
Raw Normal View History

2021-03-23 16:23:01 +00:00
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/filecoin-project/lotus/api/v0api (interfaces: FullNode)
// Package v0mocks is a generated GoMock package.
package v0mocks
import (
context "context"
reflect "reflect"
time "time"
2021-03-23 16:23:01 +00:00
address "github.com/filecoin-project/go-address"
bitfield "github.com/filecoin-project/go-bitfield"
datatransfer "github.com/filecoin-project/go-data-transfer"
retrievalmarket "github.com/filecoin-project/go-fil-markets/retrievalmarket"
2021-03-23 16:23:01 +00:00
storagemarket "github.com/filecoin-project/go-fil-markets/storagemarket"
auth "github.com/filecoin-project/go-jsonrpc/auth"
abi "github.com/filecoin-project/go-state-types/abi"
big "github.com/filecoin-project/go-state-types/big"
2022-04-20 21:34:28 +00:00
miner "github.com/filecoin-project/go-state-types/builtin/v8/miner"
paych "github.com/filecoin-project/go-state-types/builtin/v8/paych"
2021-03-23 16:23:01 +00:00
crypto "github.com/filecoin-project/go-state-types/crypto"
dline "github.com/filecoin-project/go-state-types/dline"
network "github.com/filecoin-project/go-state-types/network"
api "github.com/filecoin-project/lotus/api"
apitypes "github.com/filecoin-project/lotus/api/types"
2021-11-10 16:51:16 +00:00
v0api "github.com/filecoin-project/lotus/api/v0api"
2022-04-20 21:34:28 +00:00
miner0 "github.com/filecoin-project/lotus/chain/actors/builtin/miner"
2021-03-23 16:23:01 +00:00
types "github.com/filecoin-project/lotus/chain/types"
2021-08-17 13:15:36 +00:00
alerting "github.com/filecoin-project/lotus/journal/alerting"
2021-03-23 16:23:01 +00:00
marketevents "github.com/filecoin-project/lotus/markets/loggers"
dtypes "github.com/filecoin-project/lotus/node/modules/dtypes"
integrate DAG store and CARv2 in deal-making (#6671) This commit removes badger from the deal-making processes, and moves to a new architecture with the dagstore as the cental component on the miner-side, and CARv2s on the client-side. Every deal that has been handed off to the sealing subsystem becomes a shard in the dagstore. Shards are mounted via the LotusMount, which teaches the dagstore how to load the related piece when serving retrievals. When the miner starts the Lotus for the first time with this patch, we will perform a one-time migration of all active deals into the dagstore. This is a lightweight process, and it consists simply of registering the shards in the dagstore. Shards are backed by the unsealed copy of the piece. This is currently a CARv1. However, the dagstore keeps CARv2 indices for all pieces, so when it's time to acquire a shard to serve a retrieval, the unsealed CARv1 is joined with its index (safeguarded by the dagstore), to form a read-only blockstore, thus taking the place of the monolithic badger. Data transfers have been adjusted to interface directly with CARv2 files. On inbound transfers (client retrievals, miner storage deals), we stream the received data into a CARv2 ReadWrite blockstore. On outbound transfers (client storage deals, miner retrievals), we serve the data off a CARv2 ReadOnly blockstore. Client-side imports are managed by the refactored *imports.Manager component (when not using IPFS integration). Just like it before, we use the go-filestore library to avoid duplicating the data from the original file in the resulting UnixFS DAG (concretely the leaves). However, the target of those imports are what we call "ref-CARv2s": CARv2 files placed under the `$LOTUS_PATH/imports` directory, containing the intermediate nodes in full, and the leaves as positional references to the original file on disk. Client-side retrievals are placed into CARv2 files in the location: `$LOTUS_PATH/retrievals`. A new set of `Dagstore*` JSON-RPC operations and `lotus-miner dagstore` subcommands have been introduced on the miner-side to inspect and manage the dagstore. Despite moving to a CARv2-backed system, the IPFS integration has been respected, and it continues to be possible to make storage deals with data held in an IPFS node, and to perform retrievals directly into an IPFS node. NOTE: because the "staging" and "client" Badger blockstores are no longer used, existing imports on the client will be rendered useless. On startup, Lotus will enumerate all imports and print WARN statements on the log for each import that needs to be reimported. These log lines contain these messages: - import lacks carv2 path; import will not work; please reimport - import has missing/broken carv2; please reimport At the end, we will print a "sanity check completed" message indicating the count of imports found, and how many were deemed broken. Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com> Co-authored-by: Dirk McCormick <dirkmdev@gmail.com> Co-authored-by: Raúl Kripalani <raul@protocol.ai> Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
2021-08-16 22:34:32 +00:00
imports "github.com/filecoin-project/lotus/node/repo/imports"
2021-03-23 16:23:01 +00:00
gomock "github.com/golang/mock/gomock"
uuid "github.com/google/uuid"
blocks "github.com/ipfs/go-block-format"
2021-03-23 16:23:01 +00:00
cid "github.com/ipfs/go-cid"
metrics "github.com/libp2p/go-libp2p-core/metrics"
network0 "github.com/libp2p/go-libp2p-core/network"
peer "github.com/libp2p/go-libp2p-core/peer"
protocol "github.com/libp2p/go-libp2p-core/protocol"
)
2021-06-07 10:32:15 +00:00
// MockFullNode is a mock of FullNode interface.
2021-03-23 16:23:01 +00:00
type MockFullNode struct {
ctrl *gomock.Controller
recorder *MockFullNodeMockRecorder
}
2021-06-07 10:32:15 +00:00
// MockFullNodeMockRecorder is the mock recorder for MockFullNode.
2021-03-23 16:23:01 +00:00
type MockFullNodeMockRecorder struct {
mock *MockFullNode
}
2021-06-07 10:32:15 +00:00
// NewMockFullNode creates a new mock instance.
2021-03-23 16:23:01 +00:00
func NewMockFullNode(ctrl *gomock.Controller) *MockFullNode {
mock := &MockFullNode{ctrl: ctrl}
mock.recorder = &MockFullNodeMockRecorder{mock}
return mock
}
2021-06-07 10:32:15 +00:00
// EXPECT returns an object that allows the caller to indicate expected use.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) EXPECT() *MockFullNodeMockRecorder {
return m.recorder
}
2021-06-07 10:32:15 +00:00
// AuthNew mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) AuthNew(arg0 context.Context, arg1 []auth.Permission) ([]byte, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AuthNew", arg0, arg1)
ret0, _ := ret[0].([]byte)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// AuthNew indicates an expected call of AuthNew.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) AuthNew(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AuthNew", reflect.TypeOf((*MockFullNode)(nil).AuthNew), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// AuthVerify mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) AuthVerify(arg0 context.Context, arg1 string) ([]auth.Permission, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AuthVerify", arg0, arg1)
ret0, _ := ret[0].([]auth.Permission)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// AuthVerify indicates an expected call of AuthVerify.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) AuthVerify(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AuthVerify", reflect.TypeOf((*MockFullNode)(nil).AuthVerify), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// BeaconGetEntry mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) BeaconGetEntry(arg0 context.Context, arg1 abi.ChainEpoch) (*types.BeaconEntry, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BeaconGetEntry", arg0, arg1)
ret0, _ := ret[0].(*types.BeaconEntry)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// BeaconGetEntry indicates an expected call of BeaconGetEntry.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) BeaconGetEntry(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeaconGetEntry", reflect.TypeOf((*MockFullNode)(nil).BeaconGetEntry), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainDeleteObj mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainDeleteObj(arg0 context.Context, arg1 cid.Cid) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainDeleteObj", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ChainDeleteObj indicates an expected call of ChainDeleteObj.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainDeleteObj(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainDeleteObj", reflect.TypeOf((*MockFullNode)(nil).ChainDeleteObj), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainExport mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainExport(arg0 context.Context, arg1 abi.ChainEpoch, arg2 bool, arg3 types.TipSetKey) (<-chan []byte, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainExport", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(<-chan []byte)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainExport indicates an expected call of ChainExport.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainExport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainExport", reflect.TypeOf((*MockFullNode)(nil).ChainExport), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// ChainGetBlock mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetBlock(arg0 context.Context, arg1 cid.Cid) (*types.BlockHeader, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetBlock", arg0, arg1)
ret0, _ := ret[0].(*types.BlockHeader)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetBlock indicates an expected call of ChainGetBlock.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetBlock(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetBlock", reflect.TypeOf((*MockFullNode)(nil).ChainGetBlock), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetBlockMessages mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetBlockMessages(arg0 context.Context, arg1 cid.Cid) (*api.BlockMessages, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetBlockMessages", arg0, arg1)
ret0, _ := ret[0].(*api.BlockMessages)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetBlockMessages indicates an expected call of ChainGetBlockMessages.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetBlockMessages(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetBlockMessages", reflect.TypeOf((*MockFullNode)(nil).ChainGetBlockMessages), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetGenesis mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetGenesis(arg0 context.Context) (*types.TipSet, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetGenesis", arg0)
ret0, _ := ret[0].(*types.TipSet)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetGenesis indicates an expected call of ChainGetGenesis.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetGenesis(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetGenesis", reflect.TypeOf((*MockFullNode)(nil).ChainGetGenesis), arg0)
}
2021-06-07 10:32:15 +00:00
// ChainGetMessage mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetMessage(arg0 context.Context, arg1 cid.Cid) (*types.Message, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetMessage", arg0, arg1)
ret0, _ := ret[0].(*types.Message)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetMessage indicates an expected call of ChainGetMessage.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetMessage(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetMessage", reflect.TypeOf((*MockFullNode)(nil).ChainGetMessage), arg0, arg1)
}
2021-07-01 03:20:22 +00:00
// ChainGetMessagesInTipset mocks base method.
func (m *MockFullNode) ChainGetMessagesInTipset(arg0 context.Context, arg1 types.TipSetKey) ([]api.Message, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetMessagesInTipset", arg0, arg1)
ret0, _ := ret[0].([]api.Message)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ChainGetMessagesInTipset indicates an expected call of ChainGetMessagesInTipset.
func (mr *MockFullNodeMockRecorder) ChainGetMessagesInTipset(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetMessagesInTipset", reflect.TypeOf((*MockFullNode)(nil).ChainGetMessagesInTipset), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetNode mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetNode(arg0 context.Context, arg1 string) (*api.IpldObject, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetNode", arg0, arg1)
ret0, _ := ret[0].(*api.IpldObject)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetNode indicates an expected call of ChainGetNode.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetNode(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetNode", reflect.TypeOf((*MockFullNode)(nil).ChainGetNode), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetParentMessages mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetParentMessages(arg0 context.Context, arg1 cid.Cid) ([]api.Message, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetParentMessages", arg0, arg1)
ret0, _ := ret[0].([]api.Message)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetParentMessages indicates an expected call of ChainGetParentMessages.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetParentMessages(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetParentMessages", reflect.TypeOf((*MockFullNode)(nil).ChainGetParentMessages), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetParentReceipts mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetParentReceipts(arg0 context.Context, arg1 cid.Cid) ([]*types.MessageReceipt, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetParentReceipts", arg0, arg1)
ret0, _ := ret[0].([]*types.MessageReceipt)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetParentReceipts indicates an expected call of ChainGetParentReceipts.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetParentReceipts(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetParentReceipts", reflect.TypeOf((*MockFullNode)(nil).ChainGetParentReceipts), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetPath mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetPath(arg0 context.Context, arg1, arg2 types.TipSetKey) ([]*api.HeadChange, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetPath", arg0, arg1, arg2)
ret0, _ := ret[0].([]*api.HeadChange)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetPath indicates an expected call of ChainGetPath.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetPath(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetPath", reflect.TypeOf((*MockFullNode)(nil).ChainGetPath), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ChainGetRandomnessFromBeacon mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetRandomnessFromBeacon(arg0 context.Context, arg1 types.TipSetKey, arg2 crypto.DomainSeparationTag, arg3 abi.ChainEpoch, arg4 []byte) (abi.Randomness, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetRandomnessFromBeacon", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(abi.Randomness)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetRandomnessFromBeacon indicates an expected call of ChainGetRandomnessFromBeacon.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetRandomnessFromBeacon(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetRandomnessFromBeacon", reflect.TypeOf((*MockFullNode)(nil).ChainGetRandomnessFromBeacon), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// ChainGetRandomnessFromTickets mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetRandomnessFromTickets(arg0 context.Context, arg1 types.TipSetKey, arg2 crypto.DomainSeparationTag, arg3 abi.ChainEpoch, arg4 []byte) (abi.Randomness, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetRandomnessFromTickets", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(abi.Randomness)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetRandomnessFromTickets indicates an expected call of ChainGetRandomnessFromTickets.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetRandomnessFromTickets(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetRandomnessFromTickets", reflect.TypeOf((*MockFullNode)(nil).ChainGetRandomnessFromTickets), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// ChainGetTipSet mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetTipSet(arg0 context.Context, arg1 types.TipSetKey) (*types.TipSet, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetTipSet", arg0, arg1)
ret0, _ := ret[0].(*types.TipSet)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetTipSet indicates an expected call of ChainGetTipSet.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetTipSet(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetTipSet", reflect.TypeOf((*MockFullNode)(nil).ChainGetTipSet), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainGetTipSetByHeight mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainGetTipSetByHeight(arg0 context.Context, arg1 abi.ChainEpoch, arg2 types.TipSetKey) (*types.TipSet, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainGetTipSetByHeight", arg0, arg1, arg2)
ret0, _ := ret[0].(*types.TipSet)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainGetTipSetByHeight indicates an expected call of ChainGetTipSetByHeight.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainGetTipSetByHeight(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainGetTipSetByHeight", reflect.TypeOf((*MockFullNode)(nil).ChainGetTipSetByHeight), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ChainHasObj mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainHasObj(arg0 context.Context, arg1 cid.Cid) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainHasObj", arg0, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainHasObj indicates an expected call of ChainHasObj.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainHasObj(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainHasObj", reflect.TypeOf((*MockFullNode)(nil).ChainHasObj), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainHead mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainHead(arg0 context.Context) (*types.TipSet, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainHead", arg0)
ret0, _ := ret[0].(*types.TipSet)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainHead indicates an expected call of ChainHead.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainHead(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainHead", reflect.TypeOf((*MockFullNode)(nil).ChainHead), arg0)
}
2021-06-07 10:32:15 +00:00
// ChainNotify mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainNotify(arg0 context.Context) (<-chan []*api.HeadChange, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainNotify", arg0)
ret0, _ := ret[0].(<-chan []*api.HeadChange)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainNotify indicates an expected call of ChainNotify.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainNotify(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainNotify", reflect.TypeOf((*MockFullNode)(nil).ChainNotify), arg0)
}
// ChainPutObj mocks base method.
func (m *MockFullNode) ChainPutObj(arg0 context.Context, arg1 blocks.Block) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainPutObj", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// ChainPutObj indicates an expected call of ChainPutObj.
func (mr *MockFullNodeMockRecorder) ChainPutObj(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainPutObj", reflect.TypeOf((*MockFullNode)(nil).ChainPutObj), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainReadObj mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainReadObj(arg0 context.Context, arg1 cid.Cid) ([]byte, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainReadObj", arg0, arg1)
ret0, _ := ret[0].([]byte)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainReadObj indicates an expected call of ChainReadObj.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainReadObj(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainReadObj", reflect.TypeOf((*MockFullNode)(nil).ChainReadObj), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainSetHead mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainSetHead(arg0 context.Context, arg1 types.TipSetKey) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainSetHead", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ChainSetHead indicates an expected call of ChainSetHead.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainSetHead(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainSetHead", reflect.TypeOf((*MockFullNode)(nil).ChainSetHead), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ChainStatObj mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainStatObj(arg0 context.Context, arg1, arg2 cid.Cid) (api.ObjStat, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainStatObj", arg0, arg1, arg2)
ret0, _ := ret[0].(api.ObjStat)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainStatObj indicates an expected call of ChainStatObj.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainStatObj(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainStatObj", reflect.TypeOf((*MockFullNode)(nil).ChainStatObj), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ChainTipSetWeight mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ChainTipSetWeight(arg0 context.Context, arg1 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ChainTipSetWeight", arg0, arg1)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ChainTipSetWeight indicates an expected call of ChainTipSetWeight.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ChainTipSetWeight(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainTipSetWeight", reflect.TypeOf((*MockFullNode)(nil).ChainTipSetWeight), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientCalcCommP mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientCalcCommP(arg0 context.Context, arg1 string) (*api.CommPRet, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientCalcCommP", arg0, arg1)
ret0, _ := ret[0].(*api.CommPRet)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientCalcCommP indicates an expected call of ClientCalcCommP.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientCalcCommP(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientCalcCommP", reflect.TypeOf((*MockFullNode)(nil).ClientCalcCommP), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientCancelDataTransfer mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientCancelDataTransfer(arg0 context.Context, arg1 datatransfer.TransferID, arg2 peer.ID, arg3 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientCancelDataTransfer", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientCancelDataTransfer indicates an expected call of ClientCancelDataTransfer.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientCancelDataTransfer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientCancelDataTransfer", reflect.TypeOf((*MockFullNode)(nil).ClientCancelDataTransfer), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// ClientCancelRetrievalDeal mocks base method.
func (m *MockFullNode) ClientCancelRetrievalDeal(arg0 context.Context, arg1 retrievalmarket.DealID) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientCancelRetrievalDeal", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientCancelRetrievalDeal indicates an expected call of ClientCancelRetrievalDeal.
func (mr *MockFullNodeMockRecorder) ClientCancelRetrievalDeal(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientCancelRetrievalDeal", reflect.TypeOf((*MockFullNode)(nil).ClientCancelRetrievalDeal), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientDataTransferUpdates mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientDataTransferUpdates(arg0 context.Context) (<-chan api.DataTransferChannel, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientDataTransferUpdates", arg0)
ret0, _ := ret[0].(<-chan api.DataTransferChannel)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientDataTransferUpdates indicates an expected call of ClientDataTransferUpdates.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientDataTransferUpdates(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientDataTransferUpdates", reflect.TypeOf((*MockFullNode)(nil).ClientDataTransferUpdates), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientDealPieceCID mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientDealPieceCID(arg0 context.Context, arg1 cid.Cid) (api.DataCIDSize, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientDealPieceCID", arg0, arg1)
ret0, _ := ret[0].(api.DataCIDSize)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientDealPieceCID indicates an expected call of ClientDealPieceCID.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientDealPieceCID(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientDealPieceCID", reflect.TypeOf((*MockFullNode)(nil).ClientDealPieceCID), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientDealSize mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientDealSize(arg0 context.Context, arg1 cid.Cid) (api.DataSize, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientDealSize", arg0, arg1)
ret0, _ := ret[0].(api.DataSize)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientDealSize indicates an expected call of ClientDealSize.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientDealSize(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientDealSize", reflect.TypeOf((*MockFullNode)(nil).ClientDealSize), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientFindData mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientFindData(arg0 context.Context, arg1 cid.Cid, arg2 *cid.Cid) ([]api.QueryOffer, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientFindData", arg0, arg1, arg2)
ret0, _ := ret[0].([]api.QueryOffer)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientFindData indicates an expected call of ClientFindData.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientFindData(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientFindData", reflect.TypeOf((*MockFullNode)(nil).ClientFindData), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ClientGenCar mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientGenCar(arg0 context.Context, arg1 api.FileRef, arg2 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientGenCar", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientGenCar indicates an expected call of ClientGenCar.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientGenCar(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientGenCar", reflect.TypeOf((*MockFullNode)(nil).ClientGenCar), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ClientGetDealInfo mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientGetDealInfo(arg0 context.Context, arg1 cid.Cid) (*api.DealInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientGetDealInfo", arg0, arg1)
ret0, _ := ret[0].(*api.DealInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientGetDealInfo indicates an expected call of ClientGetDealInfo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientGetDealInfo(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientGetDealInfo", reflect.TypeOf((*MockFullNode)(nil).ClientGetDealInfo), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientGetDealStatus mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientGetDealStatus(arg0 context.Context, arg1 uint64) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientGetDealStatus", arg0, arg1)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientGetDealStatus indicates an expected call of ClientGetDealStatus.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientGetDealStatus(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientGetDealStatus", reflect.TypeOf((*MockFullNode)(nil).ClientGetDealStatus), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientGetDealUpdates mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientGetDealUpdates(arg0 context.Context) (<-chan api.DealInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientGetDealUpdates", arg0)
ret0, _ := ret[0].(<-chan api.DealInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientGetDealUpdates indicates an expected call of ClientGetDealUpdates.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientGetDealUpdates(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientGetDealUpdates", reflect.TypeOf((*MockFullNode)(nil).ClientGetDealUpdates), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientGetRetrievalUpdates mocks base method.
2021-05-27 22:00:31 +00:00
func (m *MockFullNode) ClientGetRetrievalUpdates(arg0 context.Context) (<-chan api.RetrievalInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientGetRetrievalUpdates", arg0)
ret0, _ := ret[0].(<-chan api.RetrievalInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientGetRetrievalUpdates indicates an expected call of ClientGetRetrievalUpdates.
2021-05-27 22:00:31 +00:00
func (mr *MockFullNodeMockRecorder) ClientGetRetrievalUpdates(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientGetRetrievalUpdates", reflect.TypeOf((*MockFullNode)(nil).ClientGetRetrievalUpdates), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientHasLocal mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientHasLocal(arg0 context.Context, arg1 cid.Cid) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientHasLocal", arg0, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientHasLocal indicates an expected call of ClientHasLocal.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientHasLocal(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientHasLocal", reflect.TypeOf((*MockFullNode)(nil).ClientHasLocal), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientImport mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientImport(arg0 context.Context, arg1 api.FileRef) (*api.ImportRes, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientImport", arg0, arg1)
ret0, _ := ret[0].(*api.ImportRes)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientImport indicates an expected call of ClientImport.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientImport(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientImport", reflect.TypeOf((*MockFullNode)(nil).ClientImport), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientListDataTransfers mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientListDataTransfers(arg0 context.Context) ([]api.DataTransferChannel, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientListDataTransfers", arg0)
ret0, _ := ret[0].([]api.DataTransferChannel)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientListDataTransfers indicates an expected call of ClientListDataTransfers.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientListDataTransfers(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientListDataTransfers", reflect.TypeOf((*MockFullNode)(nil).ClientListDataTransfers), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientListDeals mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientListDeals(arg0 context.Context) ([]api.DealInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientListDeals", arg0)
ret0, _ := ret[0].([]api.DealInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientListDeals indicates an expected call of ClientListDeals.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientListDeals(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientListDeals", reflect.TypeOf((*MockFullNode)(nil).ClientListDeals), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientListImports mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientListImports(arg0 context.Context) ([]api.Import, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientListImports", arg0)
ret0, _ := ret[0].([]api.Import)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientListImports indicates an expected call of ClientListImports.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientListImports(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientListImports", reflect.TypeOf((*MockFullNode)(nil).ClientListImports), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientListRetrievals mocks base method.
2021-05-27 22:00:31 +00:00
func (m *MockFullNode) ClientListRetrievals(arg0 context.Context) ([]api.RetrievalInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientListRetrievals", arg0)
ret0, _ := ret[0].([]api.RetrievalInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientListRetrievals indicates an expected call of ClientListRetrievals.
2021-05-27 22:00:31 +00:00
func (mr *MockFullNodeMockRecorder) ClientListRetrievals(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientListRetrievals", reflect.TypeOf((*MockFullNode)(nil).ClientListRetrievals), arg0)
}
2021-06-07 10:32:15 +00:00
// ClientMinerQueryOffer mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientMinerQueryOffer(arg0 context.Context, arg1 address.Address, arg2 cid.Cid, arg3 *cid.Cid) (api.QueryOffer, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientMinerQueryOffer", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(api.QueryOffer)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientMinerQueryOffer indicates an expected call of ClientMinerQueryOffer.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientMinerQueryOffer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientMinerQueryOffer", reflect.TypeOf((*MockFullNode)(nil).ClientMinerQueryOffer), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// ClientQueryAsk mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientQueryAsk(arg0 context.Context, arg1 peer.ID, arg2 address.Address) (*storagemarket.StorageAsk, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientQueryAsk", arg0, arg1, arg2)
ret0, _ := ret[0].(*storagemarket.StorageAsk)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientQueryAsk indicates an expected call of ClientQueryAsk.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientQueryAsk(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientQueryAsk", reflect.TypeOf((*MockFullNode)(nil).ClientQueryAsk), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ClientRemoveImport mocks base method.
integrate DAG store and CARv2 in deal-making (#6671) This commit removes badger from the deal-making processes, and moves to a new architecture with the dagstore as the cental component on the miner-side, and CARv2s on the client-side. Every deal that has been handed off to the sealing subsystem becomes a shard in the dagstore. Shards are mounted via the LotusMount, which teaches the dagstore how to load the related piece when serving retrievals. When the miner starts the Lotus for the first time with this patch, we will perform a one-time migration of all active deals into the dagstore. This is a lightweight process, and it consists simply of registering the shards in the dagstore. Shards are backed by the unsealed copy of the piece. This is currently a CARv1. However, the dagstore keeps CARv2 indices for all pieces, so when it's time to acquire a shard to serve a retrieval, the unsealed CARv1 is joined with its index (safeguarded by the dagstore), to form a read-only blockstore, thus taking the place of the monolithic badger. Data transfers have been adjusted to interface directly with CARv2 files. On inbound transfers (client retrievals, miner storage deals), we stream the received data into a CARv2 ReadWrite blockstore. On outbound transfers (client storage deals, miner retrievals), we serve the data off a CARv2 ReadOnly blockstore. Client-side imports are managed by the refactored *imports.Manager component (when not using IPFS integration). Just like it before, we use the go-filestore library to avoid duplicating the data from the original file in the resulting UnixFS DAG (concretely the leaves). However, the target of those imports are what we call "ref-CARv2s": CARv2 files placed under the `$LOTUS_PATH/imports` directory, containing the intermediate nodes in full, and the leaves as positional references to the original file on disk. Client-side retrievals are placed into CARv2 files in the location: `$LOTUS_PATH/retrievals`. A new set of `Dagstore*` JSON-RPC operations and `lotus-miner dagstore` subcommands have been introduced on the miner-side to inspect and manage the dagstore. Despite moving to a CARv2-backed system, the IPFS integration has been respected, and it continues to be possible to make storage deals with data held in an IPFS node, and to perform retrievals directly into an IPFS node. NOTE: because the "staging" and "client" Badger blockstores are no longer used, existing imports on the client will be rendered useless. On startup, Lotus will enumerate all imports and print WARN statements on the log for each import that needs to be reimported. These log lines contain these messages: - import lacks carv2 path; import will not work; please reimport - import has missing/broken carv2; please reimport At the end, we will print a "sanity check completed" message indicating the count of imports found, and how many were deemed broken. Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com> Co-authored-by: Dirk McCormick <dirkmdev@gmail.com> Co-authored-by: Raúl Kripalani <raul@protocol.ai> Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
2021-08-16 22:34:32 +00:00
func (m *MockFullNode) ClientRemoveImport(arg0 context.Context, arg1 imports.ID) error {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientRemoveImport", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientRemoveImport indicates an expected call of ClientRemoveImport.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientRemoveImport(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientRemoveImport", reflect.TypeOf((*MockFullNode)(nil).ClientRemoveImport), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientRestartDataTransfer mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientRestartDataTransfer(arg0 context.Context, arg1 datatransfer.TransferID, arg2 peer.ID, arg3 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientRestartDataTransfer", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientRestartDataTransfer indicates an expected call of ClientRestartDataTransfer.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientRestartDataTransfer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientRestartDataTransfer", reflect.TypeOf((*MockFullNode)(nil).ClientRestartDataTransfer), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// ClientRetrieve mocks base method.
2021-11-10 16:51:16 +00:00
func (m *MockFullNode) ClientRetrieve(arg0 context.Context, arg1 v0api.RetrievalOrder, arg2 *api.FileRef) error {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientRetrieve", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientRetrieve indicates an expected call of ClientRetrieve.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientRetrieve(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientRetrieve", reflect.TypeOf((*MockFullNode)(nil).ClientRetrieve), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ClientRetrieveTryRestartInsufficientFunds mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientRetrieveTryRestartInsufficientFunds(arg0 context.Context, arg1 address.Address) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientRetrieveTryRestartInsufficientFunds", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// ClientRetrieveTryRestartInsufficientFunds indicates an expected call of ClientRetrieveTryRestartInsufficientFunds.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientRetrieveTryRestartInsufficientFunds(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientRetrieveTryRestartInsufficientFunds", reflect.TypeOf((*MockFullNode)(nil).ClientRetrieveTryRestartInsufficientFunds), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientRetrieveWithEvents mocks base method.
2021-11-10 16:51:16 +00:00
func (m *MockFullNode) ClientRetrieveWithEvents(arg0 context.Context, arg1 v0api.RetrievalOrder, arg2 *api.FileRef) (<-chan marketevents.RetrievalEvent, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientRetrieveWithEvents", arg0, arg1, arg2)
ret0, _ := ret[0].(<-chan marketevents.RetrievalEvent)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientRetrieveWithEvents indicates an expected call of ClientRetrieveWithEvents.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientRetrieveWithEvents(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientRetrieveWithEvents", reflect.TypeOf((*MockFullNode)(nil).ClientRetrieveWithEvents), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// ClientStartDeal mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ClientStartDeal(arg0 context.Context, arg1 *api.StartDealParams) (*cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientStartDeal", arg0, arg1)
ret0, _ := ret[0].(*cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientStartDeal indicates an expected call of ClientStartDeal.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ClientStartDeal(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientStartDeal", reflect.TypeOf((*MockFullNode)(nil).ClientStartDeal), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// ClientStatelessDeal mocks base method.
func (m *MockFullNode) ClientStatelessDeal(arg0 context.Context, arg1 *api.StartDealParams) (*cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClientStatelessDeal", arg0, arg1)
ret0, _ := ret[0].(*cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ClientStatelessDeal indicates an expected call of ClientStatelessDeal.
func (mr *MockFullNodeMockRecorder) ClientStatelessDeal(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientStatelessDeal", reflect.TypeOf((*MockFullNode)(nil).ClientStatelessDeal), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// Closing mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) Closing(arg0 context.Context) (<-chan struct{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Closing", arg0)
ret0, _ := ret[0].(<-chan struct{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// Closing indicates an expected call of Closing.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) Closing(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Closing", reflect.TypeOf((*MockFullNode)(nil).Closing), arg0)
}
2021-06-07 10:32:15 +00:00
// CreateBackup mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) CreateBackup(arg0 context.Context, arg1 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateBackup", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// CreateBackup indicates an expected call of CreateBackup.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) CreateBackup(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBackup", reflect.TypeOf((*MockFullNode)(nil).CreateBackup), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// Discover mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) Discover(arg0 context.Context) (apitypes.OpenRPCDocument, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Discover", arg0)
ret0, _ := ret[0].(apitypes.OpenRPCDocument)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// Discover indicates an expected call of Discover.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) Discover(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Discover", reflect.TypeOf((*MockFullNode)(nil).Discover), arg0)
}
2021-06-07 10:32:15 +00:00
// GasEstimateFeeCap mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) GasEstimateFeeCap(arg0 context.Context, arg1 *types.Message, arg2 int64, arg3 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GasEstimateFeeCap", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// GasEstimateFeeCap indicates an expected call of GasEstimateFeeCap.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) GasEstimateFeeCap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GasEstimateFeeCap", reflect.TypeOf((*MockFullNode)(nil).GasEstimateFeeCap), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// GasEstimateGasLimit mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) GasEstimateGasLimit(arg0 context.Context, arg1 *types.Message, arg2 types.TipSetKey) (int64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GasEstimateGasLimit", arg0, arg1, arg2)
ret0, _ := ret[0].(int64)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// GasEstimateGasLimit indicates an expected call of GasEstimateGasLimit.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) GasEstimateGasLimit(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GasEstimateGasLimit", reflect.TypeOf((*MockFullNode)(nil).GasEstimateGasLimit), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// GasEstimateGasPremium mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) GasEstimateGasPremium(arg0 context.Context, arg1 uint64, arg2 address.Address, arg3 int64, arg4 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GasEstimateGasPremium", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// GasEstimateGasPremium indicates an expected call of GasEstimateGasPremium.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) GasEstimateGasPremium(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GasEstimateGasPremium", reflect.TypeOf((*MockFullNode)(nil).GasEstimateGasPremium), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// GasEstimateMessageGas mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, arg3 types.TipSetKey) (*types.Message, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GasEstimateMessageGas", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*types.Message)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// GasEstimateMessageGas indicates an expected call of GasEstimateMessageGas.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GasEstimateMessageGas", reflect.TypeOf((*MockFullNode)(nil).GasEstimateMessageGas), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// ID mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) ID(arg0 context.Context) (peer.ID, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ID", arg0)
ret0, _ := ret[0].(peer.ID)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// ID indicates an expected call of ID.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) ID(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ID", reflect.TypeOf((*MockFullNode)(nil).ID), arg0)
}
2021-08-17 13:15:36 +00:00
// LogAlerts mocks base method.
func (m *MockFullNode) LogAlerts(arg0 context.Context) ([]alerting.Alert, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogAlerts", arg0)
ret0, _ := ret[0].([]alerting.Alert)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// LogAlerts indicates an expected call of LogAlerts.
func (mr *MockFullNodeMockRecorder) LogAlerts(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogAlerts", reflect.TypeOf((*MockFullNode)(nil).LogAlerts), arg0)
}
2021-06-07 10:32:15 +00:00
// LogList mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) LogList(arg0 context.Context) ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogList", arg0)
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// LogList indicates an expected call of LogList.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) LogList(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogList", reflect.TypeOf((*MockFullNode)(nil).LogList), arg0)
}
2021-06-07 10:32:15 +00:00
// LogSetLevel mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) LogSetLevel(arg0 context.Context, arg1, arg2 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogSetLevel", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// LogSetLevel indicates an expected call of LogSetLevel.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) LogSetLevel(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogSetLevel", reflect.TypeOf((*MockFullNode)(nil).LogSetLevel), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MarketAddBalance mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MarketAddBalance(arg0 context.Context, arg1, arg2 address.Address, arg3 big.Int) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MarketAddBalance", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MarketAddBalance indicates an expected call of MarketAddBalance.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MarketAddBalance(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarketAddBalance", reflect.TypeOf((*MockFullNode)(nil).MarketAddBalance), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// MarketGetReserved mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MarketGetReserved(arg0 context.Context, arg1 address.Address) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MarketGetReserved", arg0, arg1)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MarketGetReserved indicates an expected call of MarketGetReserved.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MarketGetReserved(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarketGetReserved", reflect.TypeOf((*MockFullNode)(nil).MarketGetReserved), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MarketReleaseFunds mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MarketReleaseFunds(arg0 context.Context, arg1 address.Address, arg2 big.Int) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MarketReleaseFunds", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// MarketReleaseFunds indicates an expected call of MarketReleaseFunds.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MarketReleaseFunds(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarketReleaseFunds", reflect.TypeOf((*MockFullNode)(nil).MarketReleaseFunds), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MarketReserveFunds mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MarketReserveFunds(arg0 context.Context, arg1, arg2 address.Address, arg3 big.Int) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MarketReserveFunds", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MarketReserveFunds indicates an expected call of MarketReserveFunds.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MarketReserveFunds(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarketReserveFunds", reflect.TypeOf((*MockFullNode)(nil).MarketReserveFunds), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// MarketWithdraw mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MarketWithdraw(arg0 context.Context, arg1, arg2 address.Address, arg3 big.Int) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MarketWithdraw", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MarketWithdraw indicates an expected call of MarketWithdraw.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MarketWithdraw(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarketWithdraw", reflect.TypeOf((*MockFullNode)(nil).MarketWithdraw), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// MinerCreateBlock mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MinerCreateBlock(arg0 context.Context, arg1 *api.BlockTemplate) (*types.BlockMsg, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MinerCreateBlock", arg0, arg1)
ret0, _ := ret[0].(*types.BlockMsg)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MinerCreateBlock indicates an expected call of MinerCreateBlock.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MinerCreateBlock(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinerCreateBlock", reflect.TypeOf((*MockFullNode)(nil).MinerCreateBlock), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MinerGetBaseInfo mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MinerGetBaseInfo(arg0 context.Context, arg1 address.Address, arg2 abi.ChainEpoch, arg3 types.TipSetKey) (*api.MiningBaseInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MinerGetBaseInfo", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*api.MiningBaseInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MinerGetBaseInfo indicates an expected call of MinerGetBaseInfo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MinerGetBaseInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinerGetBaseInfo", reflect.TypeOf((*MockFullNode)(nil).MinerGetBaseInfo), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// MpoolBatchPush mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolBatchPush(arg0 context.Context, arg1 []*types.SignedMessage) ([]cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolBatchPush", arg0, arg1)
ret0, _ := ret[0].([]cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolBatchPush indicates an expected call of MpoolBatchPush.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolBatchPush(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolBatchPush", reflect.TypeOf((*MockFullNode)(nil).MpoolBatchPush), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolBatchPushMessage mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolBatchPushMessage(arg0 context.Context, arg1 []*types.Message, arg2 *api.MessageSendSpec) ([]*types.SignedMessage, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolBatchPushMessage", arg0, arg1, arg2)
ret0, _ := ret[0].([]*types.SignedMessage)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolBatchPushMessage indicates an expected call of MpoolBatchPushMessage.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolBatchPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolBatchPushMessage", reflect.TypeOf((*MockFullNode)(nil).MpoolBatchPushMessage), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MpoolBatchPushUntrusted mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolBatchPushUntrusted(arg0 context.Context, arg1 []*types.SignedMessage) ([]cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolBatchPushUntrusted", arg0, arg1)
ret0, _ := ret[0].([]cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolBatchPushUntrusted indicates an expected call of MpoolBatchPushUntrusted.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolBatchPushUntrusted(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolBatchPushUntrusted", reflect.TypeOf((*MockFullNode)(nil).MpoolBatchPushUntrusted), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolClear mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolClear(arg0 context.Context, arg1 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolClear", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// MpoolClear indicates an expected call of MpoolClear.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolClear(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolClear", reflect.TypeOf((*MockFullNode)(nil).MpoolClear), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolGetConfig mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolGetConfig(arg0 context.Context) (*types.MpoolConfig, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolGetConfig", arg0)
ret0, _ := ret[0].(*types.MpoolConfig)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolGetConfig indicates an expected call of MpoolGetConfig.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolGetConfig(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolGetConfig", reflect.TypeOf((*MockFullNode)(nil).MpoolGetConfig), arg0)
}
2021-06-07 10:32:15 +00:00
// MpoolGetNonce mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolGetNonce(arg0 context.Context, arg1 address.Address) (uint64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolGetNonce", arg0, arg1)
ret0, _ := ret[0].(uint64)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolGetNonce indicates an expected call of MpoolGetNonce.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolGetNonce(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolGetNonce", reflect.TypeOf((*MockFullNode)(nil).MpoolGetNonce), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolPending mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolPending(arg0 context.Context, arg1 types.TipSetKey) ([]*types.SignedMessage, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolPending", arg0, arg1)
ret0, _ := ret[0].([]*types.SignedMessage)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolPending indicates an expected call of MpoolPending.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolPending(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolPending", reflect.TypeOf((*MockFullNode)(nil).MpoolPending), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolPush mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolPush(arg0 context.Context, arg1 *types.SignedMessage) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolPush", arg0, arg1)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolPush indicates an expected call of MpoolPush.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolPush(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolPush", reflect.TypeOf((*MockFullNode)(nil).MpoolPush), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolPushMessage mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolPushMessage", arg0, arg1, arg2)
ret0, _ := ret[0].(*types.SignedMessage)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolPushMessage indicates an expected call of MpoolPushMessage.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolPushMessage", reflect.TypeOf((*MockFullNode)(nil).MpoolPushMessage), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MpoolPushUntrusted mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolPushUntrusted(arg0 context.Context, arg1 *types.SignedMessage) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolPushUntrusted", arg0, arg1)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolPushUntrusted indicates an expected call of MpoolPushUntrusted.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolPushUntrusted(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolPushUntrusted", reflect.TypeOf((*MockFullNode)(nil).MpoolPushUntrusted), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolSelect mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolSelect(arg0 context.Context, arg1 types.TipSetKey, arg2 float64) ([]*types.SignedMessage, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolSelect", arg0, arg1, arg2)
ret0, _ := ret[0].([]*types.SignedMessage)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolSelect indicates an expected call of MpoolSelect.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolSelect(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolSelect", reflect.TypeOf((*MockFullNode)(nil).MpoolSelect), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MpoolSetConfig mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolSetConfig(arg0 context.Context, arg1 *types.MpoolConfig) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolSetConfig", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// MpoolSetConfig indicates an expected call of MpoolSetConfig.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolSetConfig(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolSetConfig", reflect.TypeOf((*MockFullNode)(nil).MpoolSetConfig), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// MpoolSub mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MpoolSub(arg0 context.Context) (<-chan api.MpoolUpdate, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MpoolSub", arg0)
ret0, _ := ret[0].(<-chan api.MpoolUpdate)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MpoolSub indicates an expected call of MpoolSub.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MpoolSub(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MpoolSub", reflect.TypeOf((*MockFullNode)(nil).MpoolSub), arg0)
}
2021-06-07 10:32:15 +00:00
// MsigAddApprove mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigAddApprove(arg0 context.Context, arg1, arg2 address.Address, arg3 uint64, arg4, arg5 address.Address, arg6 bool) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigAddApprove", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigAddApprove indicates an expected call of MsigAddApprove.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigAddApprove(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigAddApprove", reflect.TypeOf((*MockFullNode)(nil).MsigAddApprove), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
}
2021-06-07 10:32:15 +00:00
// MsigAddCancel mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigAddCancel(arg0 context.Context, arg1, arg2 address.Address, arg3 uint64, arg4 address.Address, arg5 bool) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigAddCancel", arg0, arg1, arg2, arg3, arg4, arg5)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigAddCancel indicates an expected call of MsigAddCancel.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigAddCancel(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigAddCancel", reflect.TypeOf((*MockFullNode)(nil).MsigAddCancel), arg0, arg1, arg2, arg3, arg4, arg5)
}
2021-06-07 10:32:15 +00:00
// MsigAddPropose mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigAddPropose(arg0 context.Context, arg1, arg2, arg3 address.Address, arg4 bool) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigAddPropose", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigAddPropose indicates an expected call of MsigAddPropose.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigAddPropose(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigAddPropose", reflect.TypeOf((*MockFullNode)(nil).MsigAddPropose), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// MsigApprove mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigApprove(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3 address.Address) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigApprove", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigApprove indicates an expected call of MsigApprove.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigApprove(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigApprove", reflect.TypeOf((*MockFullNode)(nil).MsigApprove), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// MsigApproveTxnHash mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigApproveTxnHash(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3, arg4 address.Address, arg5 big.Int, arg6 address.Address, arg7 uint64, arg8 []byte) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigApproveTxnHash", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigApproveTxnHash indicates an expected call of MsigApproveTxnHash.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigApproveTxnHash(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigApproveTxnHash", reflect.TypeOf((*MockFullNode)(nil).MsigApproveTxnHash), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
}
2021-06-07 10:32:15 +00:00
// MsigCancel mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigCancel(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3 address.Address, arg4 big.Int, arg5 address.Address, arg6 uint64, arg7 []byte) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigCancel", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigCancel indicates an expected call of MsigCancel.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigCancel(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigCancel", reflect.TypeOf((*MockFullNode)(nil).MsigCancel), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
}
2021-06-07 10:32:15 +00:00
// MsigCreate mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigCreate(arg0 context.Context, arg1 uint64, arg2 []address.Address, arg3 abi.ChainEpoch, arg4 big.Int, arg5 address.Address, arg6 big.Int) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigCreate", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigCreate indicates an expected call of MsigCreate.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigCreate", reflect.TypeOf((*MockFullNode)(nil).MsigCreate), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
}
2021-06-07 10:32:15 +00:00
// MsigGetAvailableBalance mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigGetAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigGetAvailableBalance", arg0, arg1, arg2)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigGetAvailableBalance indicates an expected call of MsigGetAvailableBalance.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigGetAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigGetAvailableBalance", reflect.TypeOf((*MockFullNode)(nil).MsigGetAvailableBalance), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MsigGetPending mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigGetPending(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) ([]*api.MsigTransaction, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigGetPending", arg0, arg1, arg2)
ret0, _ := ret[0].([]*api.MsigTransaction)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigGetPending indicates an expected call of MsigGetPending.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigGetPending(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigGetPending", reflect.TypeOf((*MockFullNode)(nil).MsigGetPending), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MsigGetVested mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigGetVested(arg0 context.Context, arg1 address.Address, arg2, arg3 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigGetVested", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigGetVested indicates an expected call of MsigGetVested.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigGetVested(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigGetVested", reflect.TypeOf((*MockFullNode)(nil).MsigGetVested), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// MsigGetVestingSchedule mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigGetVestingSchedule(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MsigVesting, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigGetVestingSchedule", arg0, arg1, arg2)
ret0, _ := ret[0].(api.MsigVesting)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigGetVestingSchedule indicates an expected call of MsigGetVestingSchedule.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigGetVestingSchedule(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigGetVestingSchedule", reflect.TypeOf((*MockFullNode)(nil).MsigGetVestingSchedule), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// MsigPropose mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigPropose(arg0 context.Context, arg1, arg2 address.Address, arg3 big.Int, arg4 address.Address, arg5 uint64, arg6 []byte) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigPropose", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigPropose indicates an expected call of MsigPropose.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigPropose(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigPropose", reflect.TypeOf((*MockFullNode)(nil).MsigPropose), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
}
2021-06-07 10:32:15 +00:00
// MsigRemoveSigner mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigRemoveSigner(arg0 context.Context, arg1, arg2, arg3 address.Address, arg4 bool) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigRemoveSigner", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigRemoveSigner indicates an expected call of MsigRemoveSigner.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigRemoveSigner(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigRemoveSigner", reflect.TypeOf((*MockFullNode)(nil).MsigRemoveSigner), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// MsigSwapApprove mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigSwapApprove(arg0 context.Context, arg1, arg2 address.Address, arg3 uint64, arg4, arg5, arg6 address.Address) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigSwapApprove", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigSwapApprove indicates an expected call of MsigSwapApprove.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigSwapApprove(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigSwapApprove", reflect.TypeOf((*MockFullNode)(nil).MsigSwapApprove), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
}
2021-06-07 10:32:15 +00:00
// MsigSwapCancel mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigSwapCancel(arg0 context.Context, arg1, arg2 address.Address, arg3 uint64, arg4, arg5 address.Address) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigSwapCancel", arg0, arg1, arg2, arg3, arg4, arg5)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigSwapCancel indicates an expected call of MsigSwapCancel.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigSwapCancel(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigSwapCancel", reflect.TypeOf((*MockFullNode)(nil).MsigSwapCancel), arg0, arg1, arg2, arg3, arg4, arg5)
}
2021-06-07 10:32:15 +00:00
// MsigSwapPropose mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) MsigSwapPropose(arg0 context.Context, arg1, arg2, arg3, arg4 address.Address) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MsigSwapPropose", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// MsigSwapPropose indicates an expected call of MsigSwapPropose.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) MsigSwapPropose(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MsigSwapPropose", reflect.TypeOf((*MockFullNode)(nil).MsigSwapPropose), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// NetAddrsListen mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetAddrsListen(arg0 context.Context) (peer.AddrInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetAddrsListen", arg0)
ret0, _ := ret[0].(peer.AddrInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetAddrsListen indicates an expected call of NetAddrsListen.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetAddrsListen(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetAddrsListen", reflect.TypeOf((*MockFullNode)(nil).NetAddrsListen), arg0)
}
2021-06-07 10:32:15 +00:00
// NetAgentVersion mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetAgentVersion(arg0 context.Context, arg1 peer.ID) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetAgentVersion", arg0, arg1)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetAgentVersion indicates an expected call of NetAgentVersion.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetAgentVersion(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetAgentVersion", reflect.TypeOf((*MockFullNode)(nil).NetAgentVersion), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetAutoNatStatus mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetAutoNatStatus(arg0 context.Context) (api.NatInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetAutoNatStatus", arg0)
ret0, _ := ret[0].(api.NatInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetAutoNatStatus indicates an expected call of NetAutoNatStatus.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetAutoNatStatus(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetAutoNatStatus", reflect.TypeOf((*MockFullNode)(nil).NetAutoNatStatus), arg0)
}
2021-06-07 10:32:15 +00:00
// NetBandwidthStats mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetBandwidthStats(arg0 context.Context) (metrics.Stats, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetBandwidthStats", arg0)
ret0, _ := ret[0].(metrics.Stats)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetBandwidthStats indicates an expected call of NetBandwidthStats.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetBandwidthStats(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetBandwidthStats", reflect.TypeOf((*MockFullNode)(nil).NetBandwidthStats), arg0)
}
2021-06-07 10:32:15 +00:00
// NetBandwidthStatsByPeer mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetBandwidthStatsByPeer(arg0 context.Context) (map[string]metrics.Stats, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetBandwidthStatsByPeer", arg0)
ret0, _ := ret[0].(map[string]metrics.Stats)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetBandwidthStatsByPeer indicates an expected call of NetBandwidthStatsByPeer.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetBandwidthStatsByPeer(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetBandwidthStatsByPeer", reflect.TypeOf((*MockFullNode)(nil).NetBandwidthStatsByPeer), arg0)
}
2021-06-07 10:32:15 +00:00
// NetBandwidthStatsByProtocol mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetBandwidthStatsByProtocol(arg0 context.Context) (map[protocol.ID]metrics.Stats, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetBandwidthStatsByProtocol", arg0)
ret0, _ := ret[0].(map[protocol.ID]metrics.Stats)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetBandwidthStatsByProtocol indicates an expected call of NetBandwidthStatsByProtocol.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetBandwidthStatsByProtocol(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetBandwidthStatsByProtocol", reflect.TypeOf((*MockFullNode)(nil).NetBandwidthStatsByProtocol), arg0)
}
2021-06-07 10:32:15 +00:00
// NetBlockAdd mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetBlockAdd(arg0 context.Context, arg1 api.NetBlockList) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetBlockAdd", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// NetBlockAdd indicates an expected call of NetBlockAdd.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetBlockAdd(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetBlockAdd", reflect.TypeOf((*MockFullNode)(nil).NetBlockAdd), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetBlockList mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetBlockList(arg0 context.Context) (api.NetBlockList, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetBlockList", arg0)
ret0, _ := ret[0].(api.NetBlockList)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetBlockList indicates an expected call of NetBlockList.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetBlockList(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetBlockList", reflect.TypeOf((*MockFullNode)(nil).NetBlockList), arg0)
}
2021-06-07 10:32:15 +00:00
// NetBlockRemove mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetBlockRemove(arg0 context.Context, arg1 api.NetBlockList) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetBlockRemove", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// NetBlockRemove indicates an expected call of NetBlockRemove.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetBlockRemove(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetBlockRemove", reflect.TypeOf((*MockFullNode)(nil).NetBlockRemove), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetConnect mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetConnect(arg0 context.Context, arg1 peer.AddrInfo) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetConnect", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// NetConnect indicates an expected call of NetConnect.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetConnect(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetConnect", reflect.TypeOf((*MockFullNode)(nil).NetConnect), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetConnectedness mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetConnectedness(arg0 context.Context, arg1 peer.ID) (network0.Connectedness, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetConnectedness", arg0, arg1)
ret0, _ := ret[0].(network0.Connectedness)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetConnectedness indicates an expected call of NetConnectedness.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetConnectedness(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetConnectedness", reflect.TypeOf((*MockFullNode)(nil).NetConnectedness), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetDisconnect mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetDisconnect(arg0 context.Context, arg1 peer.ID) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetDisconnect", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// NetDisconnect indicates an expected call of NetDisconnect.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetDisconnect(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetDisconnect", reflect.TypeOf((*MockFullNode)(nil).NetDisconnect), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetFindPeer mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetFindPeer(arg0 context.Context, arg1 peer.ID) (peer.AddrInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetFindPeer", arg0, arg1)
ret0, _ := ret[0].(peer.AddrInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetFindPeer indicates an expected call of NetFindPeer.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetFindPeer(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetFindPeer", reflect.TypeOf((*MockFullNode)(nil).NetFindPeer), arg0, arg1)
}
2022-01-20 09:44:01 +00:00
// NetLimit mocks base method.
func (m *MockFullNode) NetLimit(arg0 context.Context, arg1 string) (api.NetLimit, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetLimit", arg0, arg1)
ret0, _ := ret[0].(api.NetLimit)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// NetLimit indicates an expected call of NetLimit.
func (mr *MockFullNodeMockRecorder) NetLimit(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetLimit", reflect.TypeOf((*MockFullNode)(nil).NetLimit), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetPeerInfo mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetPeerInfo(arg0 context.Context, arg1 peer.ID) (*api.ExtendedPeerInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetPeerInfo", arg0, arg1)
ret0, _ := ret[0].(*api.ExtendedPeerInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetPeerInfo indicates an expected call of NetPeerInfo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetPeerInfo(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetPeerInfo", reflect.TypeOf((*MockFullNode)(nil).NetPeerInfo), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetPeers mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetPeers(arg0 context.Context) ([]peer.AddrInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetPeers", arg0)
ret0, _ := ret[0].([]peer.AddrInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetPeers indicates an expected call of NetPeers.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetPeers(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetPeers", reflect.TypeOf((*MockFullNode)(nil).NetPeers), arg0)
}
// NetPing mocks base method.
func (m *MockFullNode) NetPing(arg0 context.Context, arg1 peer.ID) (time.Duration, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetPing", arg0, arg1)
ret0, _ := ret[0].(time.Duration)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// NetPing indicates an expected call of NetPing.
func (mr *MockFullNodeMockRecorder) NetPing(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetPing", reflect.TypeOf((*MockFullNode)(nil).NetPing), arg0, arg1)
}
2022-02-03 16:24:49 +00:00
// NetProtectAdd mocks base method.
func (m *MockFullNode) NetProtectAdd(arg0 context.Context, arg1 []peer.ID) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetProtectAdd", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// NetProtectAdd indicates an expected call of NetProtectAdd.
func (mr *MockFullNodeMockRecorder) NetProtectAdd(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetProtectAdd", reflect.TypeOf((*MockFullNode)(nil).NetProtectAdd), arg0, arg1)
}
// NetProtectList mocks base method.
func (m *MockFullNode) NetProtectList(arg0 context.Context) ([]peer.ID, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetProtectList", arg0)
ret0, _ := ret[0].([]peer.ID)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// NetProtectList indicates an expected call of NetProtectList.
func (mr *MockFullNodeMockRecorder) NetProtectList(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetProtectList", reflect.TypeOf((*MockFullNode)(nil).NetProtectList), arg0)
}
// NetProtectRemove mocks base method.
func (m *MockFullNode) NetProtectRemove(arg0 context.Context, arg1 []peer.ID) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetProtectRemove", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// NetProtectRemove indicates an expected call of NetProtectRemove.
func (mr *MockFullNodeMockRecorder) NetProtectRemove(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetProtectRemove", reflect.TypeOf((*MockFullNode)(nil).NetProtectRemove), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// NetPubsubScores mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) NetPubsubScores(arg0 context.Context) ([]api.PubsubScore, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetPubsubScores", arg0)
ret0, _ := ret[0].([]api.PubsubScore)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// NetPubsubScores indicates an expected call of NetPubsubScores.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) NetPubsubScores(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetPubsubScores", reflect.TypeOf((*MockFullNode)(nil).NetPubsubScores), arg0)
}
2022-01-20 09:44:01 +00:00
// NetSetLimit mocks base method.
func (m *MockFullNode) NetSetLimit(arg0 context.Context, arg1 string, arg2 api.NetLimit) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetSetLimit", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// NetSetLimit indicates an expected call of NetSetLimit.
func (mr *MockFullNodeMockRecorder) NetSetLimit(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetSetLimit", reflect.TypeOf((*MockFullNode)(nil).NetSetLimit), arg0, arg1, arg2)
}
// NetStat mocks base method.
func (m *MockFullNode) NetStat(arg0 context.Context, arg1 string) (api.NetStat, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NetStat", arg0, arg1)
ret0, _ := ret[0].(api.NetStat)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// NetStat indicates an expected call of NetStat.
func (mr *MockFullNodeMockRecorder) NetStat(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetStat", reflect.TypeOf((*MockFullNode)(nil).NetStat), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychAllocateLane mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychAllocateLane(arg0 context.Context, arg1 address.Address) (uint64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychAllocateLane", arg0, arg1)
ret0, _ := ret[0].(uint64)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychAllocateLane indicates an expected call of PaychAllocateLane.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychAllocateLane(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychAllocateLane", reflect.TypeOf((*MockFullNode)(nil).PaychAllocateLane), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychAvailableFunds mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychAvailableFunds(arg0 context.Context, arg1 address.Address) (*api.ChannelAvailableFunds, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychAvailableFunds", arg0, arg1)
ret0, _ := ret[0].(*api.ChannelAvailableFunds)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychAvailableFunds indicates an expected call of PaychAvailableFunds.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychAvailableFunds(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychAvailableFunds", reflect.TypeOf((*MockFullNode)(nil).PaychAvailableFunds), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychAvailableFundsByFromTo mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychAvailableFundsByFromTo(arg0 context.Context, arg1, arg2 address.Address) (*api.ChannelAvailableFunds, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychAvailableFundsByFromTo", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.ChannelAvailableFunds)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychAvailableFundsByFromTo indicates an expected call of PaychAvailableFundsByFromTo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychAvailableFundsByFromTo(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychAvailableFundsByFromTo", reflect.TypeOf((*MockFullNode)(nil).PaychAvailableFundsByFromTo), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// PaychCollect mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychCollect(arg0 context.Context, arg1 address.Address) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychCollect", arg0, arg1)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychCollect indicates an expected call of PaychCollect.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychCollect(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychCollect", reflect.TypeOf((*MockFullNode)(nil).PaychCollect), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychGet mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychGet(arg0 context.Context, arg1, arg2 address.Address, arg3 big.Int) (*api.ChannelInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychGet", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*api.ChannelInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychGet indicates an expected call of PaychGet.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychGet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychGet", reflect.TypeOf((*MockFullNode)(nil).PaychGet), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// PaychGetWaitReady mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychGetWaitReady(arg0 context.Context, arg1 cid.Cid) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychGetWaitReady", arg0, arg1)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychGetWaitReady indicates an expected call of PaychGetWaitReady.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychGetWaitReady(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychGetWaitReady", reflect.TypeOf((*MockFullNode)(nil).PaychGetWaitReady), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychList mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychList(arg0 context.Context) ([]address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychList", arg0)
ret0, _ := ret[0].([]address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychList indicates an expected call of PaychList.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychList(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychList", reflect.TypeOf((*MockFullNode)(nil).PaychList), arg0)
}
2021-06-07 10:32:15 +00:00
// PaychNewPayment mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychNewPayment(arg0 context.Context, arg1, arg2 address.Address, arg3 []api.VoucherSpec) (*api.PaymentInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychNewPayment", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*api.PaymentInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychNewPayment indicates an expected call of PaychNewPayment.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychNewPayment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychNewPayment", reflect.TypeOf((*MockFullNode)(nil).PaychNewPayment), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// PaychSettle mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychSettle(arg0 context.Context, arg1 address.Address) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychSettle", arg0, arg1)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychSettle indicates an expected call of PaychSettle.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychSettle(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychSettle", reflect.TypeOf((*MockFullNode)(nil).PaychSettle), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychStatus mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychStatus(arg0 context.Context, arg1 address.Address) (*api.PaychStatus, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychStatus", arg0, arg1)
ret0, _ := ret[0].(*api.PaychStatus)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychStatus indicates an expected call of PaychStatus.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychStatus(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychStatus", reflect.TypeOf((*MockFullNode)(nil).PaychStatus), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychVoucherAdd mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychVoucherAdd(arg0 context.Context, arg1 address.Address, arg2 *paych.SignedVoucher, arg3 []byte, arg4 big.Int) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychVoucherAdd", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychVoucherAdd indicates an expected call of PaychVoucherAdd.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychVoucherAdd(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychVoucherAdd", reflect.TypeOf((*MockFullNode)(nil).PaychVoucherAdd), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// PaychVoucherCheckSpendable mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychVoucherCheckSpendable(arg0 context.Context, arg1 address.Address, arg2 *paych.SignedVoucher, arg3, arg4 []byte) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychVoucherCheckSpendable", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychVoucherCheckSpendable indicates an expected call of PaychVoucherCheckSpendable.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychVoucherCheckSpendable(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychVoucherCheckSpendable", reflect.TypeOf((*MockFullNode)(nil).PaychVoucherCheckSpendable), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// PaychVoucherCheckValid mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychVoucherCheckValid(arg0 context.Context, arg1 address.Address, arg2 *paych.SignedVoucher) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychVoucherCheckValid", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// PaychVoucherCheckValid indicates an expected call of PaychVoucherCheckValid.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychVoucherCheckValid(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychVoucherCheckValid", reflect.TypeOf((*MockFullNode)(nil).PaychVoucherCheckValid), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// PaychVoucherCreate mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychVoucherCreate(arg0 context.Context, arg1 address.Address, arg2 big.Int, arg3 uint64) (*api.VoucherCreateResult, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychVoucherCreate", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*api.VoucherCreateResult)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychVoucherCreate indicates an expected call of PaychVoucherCreate.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychVoucherCreate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychVoucherCreate", reflect.TypeOf((*MockFullNode)(nil).PaychVoucherCreate), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// PaychVoucherList mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychVoucherList(arg0 context.Context, arg1 address.Address) ([]*paych.SignedVoucher, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychVoucherList", arg0, arg1)
ret0, _ := ret[0].([]*paych.SignedVoucher)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychVoucherList indicates an expected call of PaychVoucherList.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychVoucherList(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychVoucherList", reflect.TypeOf((*MockFullNode)(nil).PaychVoucherList), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// PaychVoucherSubmit mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) PaychVoucherSubmit(arg0 context.Context, arg1 address.Address, arg2 *paych.SignedVoucher, arg3, arg4 []byte) (cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PaychVoucherSubmit", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// PaychVoucherSubmit indicates an expected call of PaychVoucherSubmit.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) PaychVoucherSubmit(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PaychVoucherSubmit", reflect.TypeOf((*MockFullNode)(nil).PaychVoucherSubmit), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// Session mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) Session(arg0 context.Context) (uuid.UUID, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Session", arg0)
ret0, _ := ret[0].(uuid.UUID)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// Session indicates an expected call of Session.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) Session(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Session", reflect.TypeOf((*MockFullNode)(nil).Session), arg0)
}
2021-06-07 10:32:15 +00:00
// Shutdown mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) Shutdown(arg0 context.Context) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Shutdown", arg0)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// Shutdown indicates an expected call of Shutdown.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) Shutdown(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockFullNode)(nil).Shutdown), arg0)
}
2021-06-07 10:32:15 +00:00
// StateAccountKey mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateAccountKey", arg0, arg1, arg2)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateAccountKey indicates an expected call of StateAccountKey.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateAccountKey", reflect.TypeOf((*MockFullNode)(nil).StateAccountKey), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateAllMinerFaults mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateAllMinerFaults(arg0 context.Context, arg1 abi.ChainEpoch, arg2 types.TipSetKey) ([]*api.Fault, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateAllMinerFaults", arg0, arg1, arg2)
ret0, _ := ret[0].([]*api.Fault)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateAllMinerFaults indicates an expected call of StateAllMinerFaults.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateAllMinerFaults(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateAllMinerFaults", reflect.TypeOf((*MockFullNode)(nil).StateAllMinerFaults), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateCall mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateCall(arg0 context.Context, arg1 *types.Message, arg2 types.TipSetKey) (*api.InvocResult, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateCall", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.InvocResult)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateCall indicates an expected call of StateCall.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateCall(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateCall", reflect.TypeOf((*MockFullNode)(nil).StateCall), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateChangedActors mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateChangedActors(arg0 context.Context, arg1, arg2 cid.Cid) (map[string]types.Actor, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateChangedActors", arg0, arg1, arg2)
ret0, _ := ret[0].(map[string]types.Actor)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateChangedActors indicates an expected call of StateChangedActors.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateChangedActors(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateChangedActors", reflect.TypeOf((*MockFullNode)(nil).StateChangedActors), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateCirculatingSupply mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateCirculatingSupply(arg0 context.Context, arg1 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateCirculatingSupply", arg0, arg1)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateCirculatingSupply indicates an expected call of StateCirculatingSupply.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateCirculatingSupply(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateCirculatingSupply", reflect.TypeOf((*MockFullNode)(nil).StateCirculatingSupply), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateCompute mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateCompute(arg0 context.Context, arg1 abi.ChainEpoch, arg2 []*types.Message, arg3 types.TipSetKey) (*api.ComputeStateOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateCompute", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*api.ComputeStateOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateCompute indicates an expected call of StateCompute.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateCompute(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateCompute", reflect.TypeOf((*MockFullNode)(nil).StateCompute), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateDealProviderCollateralBounds mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateDealProviderCollateralBounds(arg0 context.Context, arg1 abi.PaddedPieceSize, arg2 bool, arg3 types.TipSetKey) (api.DealCollateralBounds, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateDealProviderCollateralBounds", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(api.DealCollateralBounds)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateDealProviderCollateralBounds indicates an expected call of StateDealProviderCollateralBounds.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateDealProviderCollateralBounds(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateDealProviderCollateralBounds", reflect.TypeOf((*MockFullNode)(nil).StateDealProviderCollateralBounds), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateDecodeParams mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateDecodeParams(arg0 context.Context, arg1 address.Address, arg2 abi.MethodNum, arg3 []byte, arg4 types.TipSetKey) (interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateDecodeParams", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateDecodeParams indicates an expected call of StateDecodeParams.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateDecodeParams(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateDecodeParams", reflect.TypeOf((*MockFullNode)(nil).StateDecodeParams), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// StateGetActor mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateGetActor(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*types.Actor, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateGetActor", arg0, arg1, arg2)
ret0, _ := ret[0].(*types.Actor)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateGetActor indicates an expected call of StateGetActor.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateGetActor(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateGetActor", reflect.TypeOf((*MockFullNode)(nil).StateGetActor), arg0, arg1, arg2)
}
2022-04-24 05:48:07 +00:00
// StateGetNetworkParams mocks base method.
func (m *MockFullNode) StateGetNetworkParams(arg0 context.Context) (*api.NetworkParams, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateGetNetworkParams", arg0)
ret0, _ := ret[0].(*api.NetworkParams)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// StateGetNetworkParams indicates an expected call of StateGetNetworkParams.
func (mr *MockFullNodeMockRecorder) StateGetNetworkParams(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateGetNetworkParams", reflect.TypeOf((*MockFullNode)(nil).StateGetNetworkParams), arg0)
}
// StateGetRandomnessFromBeacon mocks base method.
func (m *MockFullNode) StateGetRandomnessFromBeacon(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, arg3 []byte, arg4 types.TipSetKey) (abi.Randomness, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateGetRandomnessFromBeacon", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(abi.Randomness)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// StateGetRandomnessFromBeacon indicates an expected call of StateGetRandomnessFromBeacon.
func (mr *MockFullNodeMockRecorder) StateGetRandomnessFromBeacon(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateGetRandomnessFromBeacon", reflect.TypeOf((*MockFullNode)(nil).StateGetRandomnessFromBeacon), arg0, arg1, arg2, arg3, arg4)
}
// StateGetRandomnessFromTickets mocks base method.
func (m *MockFullNode) StateGetRandomnessFromTickets(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, arg3 []byte, arg4 types.TipSetKey) (abi.Randomness, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateGetRandomnessFromTickets", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(abi.Randomness)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// StateGetRandomnessFromTickets indicates an expected call of StateGetRandomnessFromTickets.
func (mr *MockFullNodeMockRecorder) StateGetRandomnessFromTickets(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateGetRandomnessFromTickets", reflect.TypeOf((*MockFullNode)(nil).StateGetRandomnessFromTickets), arg0, arg1, arg2, arg3, arg4)
}
2021-06-07 10:32:15 +00:00
// StateGetReceipt mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateGetReceipt(arg0 context.Context, arg1 cid.Cid, arg2 types.TipSetKey) (*types.MessageReceipt, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateGetReceipt", arg0, arg1, arg2)
ret0, _ := ret[0].(*types.MessageReceipt)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateGetReceipt indicates an expected call of StateGetReceipt.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateGetReceipt(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateGetReceipt", reflect.TypeOf((*MockFullNode)(nil).StateGetReceipt), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateListActors mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateListActors(arg0 context.Context, arg1 types.TipSetKey) ([]address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateListActors", arg0, arg1)
ret0, _ := ret[0].([]address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateListActors indicates an expected call of StateListActors.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateListActors(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateListActors", reflect.TypeOf((*MockFullNode)(nil).StateListActors), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateListMessages mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateListMessages(arg0 context.Context, arg1 *api.MessageMatch, arg2 types.TipSetKey, arg3 abi.ChainEpoch) ([]cid.Cid, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateListMessages", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].([]cid.Cid)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateListMessages indicates an expected call of StateListMessages.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateListMessages(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateListMessages", reflect.TypeOf((*MockFullNode)(nil).StateListMessages), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateListMiners mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateListMiners(arg0 context.Context, arg1 types.TipSetKey) ([]address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateListMiners", arg0, arg1)
ret0, _ := ret[0].([]address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateListMiners indicates an expected call of StateListMiners.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateListMiners(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateListMiners", reflect.TypeOf((*MockFullNode)(nil).StateListMiners), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateLookupID mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateLookupID", arg0, arg1, arg2)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateLookupID indicates an expected call of StateLookupID.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateLookupID", reflect.TypeOf((*MockFullNode)(nil).StateLookupID), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMarketBalance mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMarketBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MarketBalance, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMarketBalance", arg0, arg1, arg2)
ret0, _ := ret[0].(api.MarketBalance)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMarketBalance indicates an expected call of StateMarketBalance.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMarketBalance(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMarketBalance", reflect.TypeOf((*MockFullNode)(nil).StateMarketBalance), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMarketDeals mocks base method.
func (m *MockFullNode) StateMarketDeals(arg0 context.Context, arg1 types.TipSetKey) (map[string]*api.MarketDeal, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMarketDeals", arg0, arg1)
ret0, _ := ret[0].(map[string]*api.MarketDeal)
2021-03-23 16:23:01 +00:00
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMarketDeals indicates an expected call of StateMarketDeals.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMarketDeals(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMarketDeals", reflect.TypeOf((*MockFullNode)(nil).StateMarketDeals), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateMarketParticipants mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMarketParticipants(arg0 context.Context, arg1 types.TipSetKey) (map[string]api.MarketBalance, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMarketParticipants", arg0, arg1)
ret0, _ := ret[0].(map[string]api.MarketBalance)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMarketParticipants indicates an expected call of StateMarketParticipants.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMarketParticipants(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMarketParticipants", reflect.TypeOf((*MockFullNode)(nil).StateMarketParticipants), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateMarketStorageDeal mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMarketStorageDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*api.MarketDeal, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMarketStorageDeal", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.MarketDeal)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMarketStorageDeal indicates an expected call of StateMarketStorageDeal.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMarketStorageDeal(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMarketStorageDeal", reflect.TypeOf((*MockFullNode)(nil).StateMarketStorageDeal), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerActiveSectors mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerActiveSectors(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerActiveSectors", arg0, arg1, arg2)
ret0, _ := ret[0].([]*miner.SectorOnChainInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerActiveSectors indicates an expected call of StateMinerActiveSectors.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerActiveSectors(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerActiveSectors", reflect.TypeOf((*MockFullNode)(nil).StateMinerActiveSectors), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerAvailableBalance mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerAvailableBalance", arg0, arg1, arg2)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerAvailableBalance", reflect.TypeOf((*MockFullNode)(nil).StateMinerAvailableBalance), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerDeadlines mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerDeadlines(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) ([]api.Deadline, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerDeadlines", arg0, arg1, arg2)
ret0, _ := ret[0].([]api.Deadline)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerDeadlines indicates an expected call of StateMinerDeadlines.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerDeadlines(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerDeadlines", reflect.TypeOf((*MockFullNode)(nil).StateMinerDeadlines), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerFaults mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerFaults(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (bitfield.BitField, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerFaults", arg0, arg1, arg2)
ret0, _ := ret[0].(bitfield.BitField)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerFaults indicates an expected call of StateMinerFaults.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerFaults(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerFaults", reflect.TypeOf((*MockFullNode)(nil).StateMinerFaults), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerInfo mocks base method.
2022-04-20 21:34:28 +00:00
func (m *MockFullNode) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerInfo", arg0, arg1, arg2)
2022-04-20 21:34:28 +00:00
ret0, _ := ret[0].(api.MinerInfo)
2021-03-23 16:23:01 +00:00
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerInfo indicates an expected call of StateMinerInfo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerInfo", reflect.TypeOf((*MockFullNode)(nil).StateMinerInfo), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerInitialPledgeCollateral mocks base method.
2022-04-20 21:34:28 +00:00
func (m *MockFullNode) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 types.TipSetKey) (big.Int, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerInitialPledgeCollateral", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerInitialPledgeCollateral indicates an expected call of StateMinerInitialPledgeCollateral.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerInitialPledgeCollateral", reflect.TypeOf((*MockFullNode)(nil).StateMinerInitialPledgeCollateral), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateMinerPartitions mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerPartitions(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3 types.TipSetKey) ([]api.Partition, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerPartitions", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].([]api.Partition)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerPartitions indicates an expected call of StateMinerPartitions.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerPartitions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerPartitions", reflect.TypeOf((*MockFullNode)(nil).StateMinerPartitions), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateMinerPower mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerPower(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*api.MinerPower, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerPower", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.MinerPower)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerPower indicates an expected call of StateMinerPower.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerPower(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerPower", reflect.TypeOf((*MockFullNode)(nil).StateMinerPower), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerPreCommitDepositForPower mocks base method.
2022-04-20 21:34:28 +00:00
func (m *MockFullNode) StateMinerPreCommitDepositForPower(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 types.TipSetKey) (big.Int, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerPreCommitDepositForPower", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerPreCommitDepositForPower indicates an expected call of StateMinerPreCommitDepositForPower.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerPreCommitDepositForPower(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerPreCommitDepositForPower", reflect.TypeOf((*MockFullNode)(nil).StateMinerPreCommitDepositForPower), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateMinerProvingDeadline mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerProvingDeadline(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*dline.Info, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerProvingDeadline", arg0, arg1, arg2)
ret0, _ := ret[0].(*dline.Info)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerProvingDeadline indicates an expected call of StateMinerProvingDeadline.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerProvingDeadline(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerProvingDeadline", reflect.TypeOf((*MockFullNode)(nil).StateMinerProvingDeadline), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerRecoveries mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerRecoveries(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (bitfield.BitField, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerRecoveries", arg0, arg1, arg2)
ret0, _ := ret[0].(bitfield.BitField)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerRecoveries indicates an expected call of StateMinerRecoveries.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerRecoveries(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerRecoveries", reflect.TypeOf((*MockFullNode)(nil).StateMinerRecoveries), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerSectorAllocated mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerSectorAllocated(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerSectorAllocated", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerSectorAllocated indicates an expected call of StateMinerSectorAllocated.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerSectorAllocated(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerSectorAllocated", reflect.TypeOf((*MockFullNode)(nil).StateMinerSectorAllocated), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateMinerSectorCount mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerSectorCount(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerSectors, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerSectorCount", arg0, arg1, arg2)
ret0, _ := ret[0].(api.MinerSectors)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerSectorCount indicates an expected call of StateMinerSectorCount.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerSectorCount(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerSectorCount", reflect.TypeOf((*MockFullNode)(nil).StateMinerSectorCount), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateMinerSectors mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateMinerSectors(arg0 context.Context, arg1 address.Address, arg2 *bitfield.BitField, arg3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateMinerSectors", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].([]*miner.SectorOnChainInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateMinerSectors indicates an expected call of StateMinerSectors.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateMinerSectors(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateMinerSectors", reflect.TypeOf((*MockFullNode)(nil).StateMinerSectors), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateNetworkName mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateNetworkName(arg0 context.Context) (dtypes.NetworkName, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateNetworkName", arg0)
ret0, _ := ret[0].(dtypes.NetworkName)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateNetworkName indicates an expected call of StateNetworkName.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateNetworkName(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateNetworkName", reflect.TypeOf((*MockFullNode)(nil).StateNetworkName), arg0)
}
2021-06-07 10:32:15 +00:00
// StateNetworkVersion mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateNetworkVersion", arg0, arg1)
ret0, _ := ret[0].(network.Version)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateNetworkVersion indicates an expected call of StateNetworkVersion.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateNetworkVersion", reflect.TypeOf((*MockFullNode)(nil).StateNetworkVersion), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateReadState mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateReadState(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*api.ActorState, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateReadState", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.ActorState)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateReadState indicates an expected call of StateReadState.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateReadState(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateReadState", reflect.TypeOf((*MockFullNode)(nil).StateReadState), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateReplay mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateReplay(arg0 context.Context, arg1 types.TipSetKey, arg2 cid.Cid) (*api.InvocResult, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateReplay", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.InvocResult)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateReplay indicates an expected call of StateReplay.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateReplay(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateReplay", reflect.TypeOf((*MockFullNode)(nil).StateReplay), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateSearchMsg mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateSearchMsg(arg0 context.Context, arg1 cid.Cid) (*api.MsgLookup, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateSearchMsg", arg0, arg1)
ret0, _ := ret[0].(*api.MsgLookup)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateSearchMsg indicates an expected call of StateSearchMsg.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateSearchMsg(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateSearchMsg", reflect.TypeOf((*MockFullNode)(nil).StateSearchMsg), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateSearchMsgLimited mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateSearchMsgLimited(arg0 context.Context, arg1 cid.Cid, arg2 abi.ChainEpoch) (*api.MsgLookup, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateSearchMsgLimited", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.MsgLookup)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateSearchMsgLimited indicates an expected call of StateSearchMsgLimited.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateSearchMsgLimited(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateSearchMsgLimited", reflect.TypeOf((*MockFullNode)(nil).StateSearchMsgLimited), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateSectorExpiration mocks base method.
2022-04-20 21:34:28 +00:00
func (m *MockFullNode) StateSectorExpiration(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner0.SectorExpiration, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateSectorExpiration", arg0, arg1, arg2, arg3)
2022-04-20 21:34:28 +00:00
ret0, _ := ret[0].(*miner0.SectorExpiration)
2021-03-23 16:23:01 +00:00
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateSectorExpiration indicates an expected call of StateSectorExpiration.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateSectorExpiration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateSectorExpiration", reflect.TypeOf((*MockFullNode)(nil).StateSectorExpiration), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateSectorGetInfo mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateSectorGetInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner.SectorOnChainInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateSectorGetInfo", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*miner.SectorOnChainInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateSectorGetInfo indicates an expected call of StateSectorGetInfo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateSectorGetInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateSectorGetInfo", reflect.TypeOf((*MockFullNode)(nil).StateSectorGetInfo), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateSectorPartition mocks base method.
2022-04-20 21:34:28 +00:00
func (m *MockFullNode) StateSectorPartition(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner0.SectorLocation, error) {
2021-03-23 16:23:01 +00:00
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateSectorPartition", arg0, arg1, arg2, arg3)
2022-04-20 21:34:28 +00:00
ret0, _ := ret[0].(*miner0.SectorLocation)
2021-03-23 16:23:01 +00:00
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateSectorPartition indicates an expected call of StateSectorPartition.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateSectorPartition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateSectorPartition", reflect.TypeOf((*MockFullNode)(nil).StateSectorPartition), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateSectorPreCommitInfo mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (miner.SectorPreCommitOnChainInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateSectorPreCommitInfo", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(miner.SectorPreCommitOnChainInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateSectorPreCommitInfo indicates an expected call of StateSectorPreCommitInfo.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateSectorPreCommitInfo", reflect.TypeOf((*MockFullNode)(nil).StateSectorPreCommitInfo), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// StateVMCirculatingSupplyInternal mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateVMCirculatingSupplyInternal(arg0 context.Context, arg1 types.TipSetKey) (api.CirculatingSupply, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateVMCirculatingSupplyInternal", arg0, arg1)
ret0, _ := ret[0].(api.CirculatingSupply)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateVMCirculatingSupplyInternal indicates an expected call of StateVMCirculatingSupplyInternal.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateVMCirculatingSupplyInternal(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateVMCirculatingSupplyInternal", reflect.TypeOf((*MockFullNode)(nil).StateVMCirculatingSupplyInternal), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateVerifiedClientStatus mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateVerifiedClientStatus(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateVerifiedClientStatus", arg0, arg1, arg2)
ret0, _ := ret[0].(*big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateVerifiedClientStatus indicates an expected call of StateVerifiedClientStatus.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateVerifiedClientStatus(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateVerifiedClientStatus", reflect.TypeOf((*MockFullNode)(nil).StateVerifiedClientStatus), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateVerifiedRegistryRootKey mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateVerifiedRegistryRootKey(arg0 context.Context, arg1 types.TipSetKey) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateVerifiedRegistryRootKey", arg0, arg1)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateVerifiedRegistryRootKey indicates an expected call of StateVerifiedRegistryRootKey.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateVerifiedRegistryRootKey(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateVerifiedRegistryRootKey", reflect.TypeOf((*MockFullNode)(nil).StateVerifiedRegistryRootKey), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// StateVerifierStatus mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateVerifierStatus(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateVerifierStatus", arg0, arg1, arg2)
ret0, _ := ret[0].(*big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateVerifierStatus indicates an expected call of StateVerifierStatus.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateVerifierStatus(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateVerifierStatus", reflect.TypeOf((*MockFullNode)(nil).StateVerifierStatus), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateWaitMsg mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateWaitMsg(arg0 context.Context, arg1 cid.Cid, arg2 uint64) (*api.MsgLookup, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateWaitMsg", arg0, arg1, arg2)
ret0, _ := ret[0].(*api.MsgLookup)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateWaitMsg indicates an expected call of StateWaitMsg.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateWaitMsg(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateWaitMsg", reflect.TypeOf((*MockFullNode)(nil).StateWaitMsg), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// StateWaitMsgLimited mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) StateWaitMsgLimited(arg0 context.Context, arg1 cid.Cid, arg2 uint64, arg3 abi.ChainEpoch) (*api.MsgLookup, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StateWaitMsgLimited", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*api.MsgLookup)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// StateWaitMsgLimited indicates an expected call of StateWaitMsgLimited.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) StateWaitMsgLimited(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateWaitMsgLimited", reflect.TypeOf((*MockFullNode)(nil).StateWaitMsgLimited), arg0, arg1, arg2, arg3)
}
2021-06-07 10:32:15 +00:00
// SyncCheckBad mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncCheckBad(arg0 context.Context, arg1 cid.Cid) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncCheckBad", arg0, arg1)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// SyncCheckBad indicates an expected call of SyncCheckBad.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncCheckBad(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncCheckBad", reflect.TypeOf((*MockFullNode)(nil).SyncCheckBad), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// SyncCheckpoint mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncCheckpoint(arg0 context.Context, arg1 types.TipSetKey) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncCheckpoint", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// SyncCheckpoint indicates an expected call of SyncCheckpoint.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncCheckpoint(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncCheckpoint", reflect.TypeOf((*MockFullNode)(nil).SyncCheckpoint), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// SyncIncomingBlocks mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncIncomingBlocks(arg0 context.Context) (<-chan *types.BlockHeader, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncIncomingBlocks", arg0)
ret0, _ := ret[0].(<-chan *types.BlockHeader)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// SyncIncomingBlocks indicates an expected call of SyncIncomingBlocks.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncIncomingBlocks(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncIncomingBlocks", reflect.TypeOf((*MockFullNode)(nil).SyncIncomingBlocks), arg0)
}
2021-06-07 10:32:15 +00:00
// SyncMarkBad mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncMarkBad(arg0 context.Context, arg1 cid.Cid) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncMarkBad", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// SyncMarkBad indicates an expected call of SyncMarkBad.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncMarkBad(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncMarkBad", reflect.TypeOf((*MockFullNode)(nil).SyncMarkBad), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// SyncState mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncState(arg0 context.Context) (*api.SyncState, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncState", arg0)
ret0, _ := ret[0].(*api.SyncState)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// SyncState indicates an expected call of SyncState.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncState(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncState", reflect.TypeOf((*MockFullNode)(nil).SyncState), arg0)
}
2021-06-07 10:32:15 +00:00
// SyncSubmitBlock mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncSubmitBlock(arg0 context.Context, arg1 *types.BlockMsg) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncSubmitBlock", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// SyncSubmitBlock indicates an expected call of SyncSubmitBlock.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncSubmitBlock(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncSubmitBlock", reflect.TypeOf((*MockFullNode)(nil).SyncSubmitBlock), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// SyncUnmarkAllBad mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncUnmarkAllBad(arg0 context.Context) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncUnmarkAllBad", arg0)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// SyncUnmarkAllBad indicates an expected call of SyncUnmarkAllBad.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncUnmarkAllBad(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncUnmarkAllBad", reflect.TypeOf((*MockFullNode)(nil).SyncUnmarkAllBad), arg0)
}
2021-06-07 10:32:15 +00:00
// SyncUnmarkBad mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncUnmarkBad(arg0 context.Context, arg1 cid.Cid) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncUnmarkBad", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// SyncUnmarkBad indicates an expected call of SyncUnmarkBad.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncUnmarkBad(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncUnmarkBad", reflect.TypeOf((*MockFullNode)(nil).SyncUnmarkBad), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// SyncValidateTipset mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) SyncValidateTipset(arg0 context.Context, arg1 types.TipSetKey) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncValidateTipset", arg0, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// SyncValidateTipset indicates an expected call of SyncValidateTipset.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) SyncValidateTipset(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncValidateTipset", reflect.TypeOf((*MockFullNode)(nil).SyncValidateTipset), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// Version mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) Version(arg0 context.Context) (api.APIVersion, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Version", arg0)
ret0, _ := ret[0].(api.APIVersion)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// Version indicates an expected call of Version.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) Version(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Version", reflect.TypeOf((*MockFullNode)(nil).Version), arg0)
}
2021-06-07 10:32:15 +00:00
// WalletBalance mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletBalance(arg0 context.Context, arg1 address.Address) (big.Int, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletBalance", arg0, arg1)
ret0, _ := ret[0].(big.Int)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletBalance indicates an expected call of WalletBalance.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletBalance", reflect.TypeOf((*MockFullNode)(nil).WalletBalance), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletDefaultAddress mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletDefaultAddress(arg0 context.Context) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletDefaultAddress", arg0)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletDefaultAddress indicates an expected call of WalletDefaultAddress.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletDefaultAddress(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletDefaultAddress", reflect.TypeOf((*MockFullNode)(nil).WalletDefaultAddress), arg0)
}
2021-06-07 10:32:15 +00:00
// WalletDelete mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletDelete(arg0 context.Context, arg1 address.Address) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletDelete", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// WalletDelete indicates an expected call of WalletDelete.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletDelete(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletDelete", reflect.TypeOf((*MockFullNode)(nil).WalletDelete), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletExport mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletExport(arg0 context.Context, arg1 address.Address) (*types.KeyInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletExport", arg0, arg1)
ret0, _ := ret[0].(*types.KeyInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletExport indicates an expected call of WalletExport.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletExport(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletExport", reflect.TypeOf((*MockFullNode)(nil).WalletExport), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletHas mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletHas(arg0 context.Context, arg1 address.Address) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletHas", arg0, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletHas indicates an expected call of WalletHas.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletHas", reflect.TypeOf((*MockFullNode)(nil).WalletHas), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletImport mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletImport(arg0 context.Context, arg1 *types.KeyInfo) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletImport", arg0, arg1)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletImport indicates an expected call of WalletImport.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletImport(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletImport", reflect.TypeOf((*MockFullNode)(nil).WalletImport), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletList mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletList(arg0 context.Context) ([]address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletList", arg0)
ret0, _ := ret[0].([]address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletList indicates an expected call of WalletList.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletList(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletList", reflect.TypeOf((*MockFullNode)(nil).WalletList), arg0)
}
2021-06-07 10:32:15 +00:00
// WalletNew mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletNew(arg0 context.Context, arg1 types.KeyType) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletNew", arg0, arg1)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletNew indicates an expected call of WalletNew.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletNew(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletNew", reflect.TypeOf((*MockFullNode)(nil).WalletNew), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletSetDefault mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletSetDefault(arg0 context.Context, arg1 address.Address) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletSetDefault", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
2021-06-07 10:32:15 +00:00
// WalletSetDefault indicates an expected call of WalletSetDefault.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletSetDefault(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletSetDefault", reflect.TypeOf((*MockFullNode)(nil).WalletSetDefault), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletSign mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletSign(arg0 context.Context, arg1 address.Address, arg2 []byte) (*crypto.Signature, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletSign", arg0, arg1, arg2)
ret0, _ := ret[0].(*crypto.Signature)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletSign indicates an expected call of WalletSign.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletSign(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletSign", reflect.TypeOf((*MockFullNode)(nil).WalletSign), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// WalletSignMessage mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletSignMessage(arg0 context.Context, arg1 address.Address, arg2 *types.Message) (*types.SignedMessage, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletSignMessage", arg0, arg1, arg2)
ret0, _ := ret[0].(*types.SignedMessage)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletSignMessage indicates an expected call of WalletSignMessage.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletSignMessage(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletSignMessage", reflect.TypeOf((*MockFullNode)(nil).WalletSignMessage), arg0, arg1, arg2)
}
2021-06-07 10:32:15 +00:00
// WalletValidateAddress mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletValidateAddress(arg0 context.Context, arg1 string) (address.Address, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletValidateAddress", arg0, arg1)
ret0, _ := ret[0].(address.Address)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletValidateAddress indicates an expected call of WalletValidateAddress.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletValidateAddress(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletValidateAddress", reflect.TypeOf((*MockFullNode)(nil).WalletValidateAddress), arg0, arg1)
}
2021-06-07 10:32:15 +00:00
// WalletVerify mocks base method.
2021-03-23 16:23:01 +00:00
func (m *MockFullNode) WalletVerify(arg0 context.Context, arg1 address.Address, arg2 []byte, arg3 *crypto.Signature) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "WalletVerify", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
2021-06-07 10:32:15 +00:00
// WalletVerify indicates an expected call of WalletVerify.
2021-03-23 16:23:01 +00:00
func (mr *MockFullNodeMockRecorder) WalletVerify(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WalletVerify", reflect.TypeOf((*MockFullNode)(nil).WalletVerify), arg0, arg1, arg2, arg3)
}