Documentation ¶
Overview ¶
Package mock_apicoreservice is a generated GoMock package.
Index ¶
- type MockCoreService
- func (m *MockCoreService) Account(addr address.Address) (*iotextypes.AccountMeta, *iotextypes.BlockIdentifier, error)
- func (m *MockCoreService) Action(actionHash string, checkPending bool) (*iotexapi.ActionInfo, error)
- func (m *MockCoreService) ActionByActionHash(h hash.Hash256) (action.SealedEnvelope, hash.Hash256, uint64, uint32, error)
- func (m *MockCoreService) Actions(start, count uint64) ([]*iotexapi.ActionInfo, error)
- func (m *MockCoreService) ActionsByAddress(addr address.Address, start, count uint64) ([]*iotexapi.ActionInfo, error)
- func (m *MockCoreService) ActionsInActPool(actHashes []string) ([]action.SealedEnvelope, error)
- func (m *MockCoreService) BlockByHash(arg0 string) (*block.Store, error)
- func (m *MockCoreService) BlockHashByBlockHeight(blkHeight uint64) (hash.Hash256, error)
- func (m *MockCoreService) BlockMetaByHash(blkHash string) (*iotextypes.BlockMeta, error)
- func (m *MockCoreService) BlockMetas(start, count uint64) ([]*iotextypes.BlockMeta, error)
- func (m *MockCoreService) ChainID() uint32
- func (m *MockCoreService) ChainListener() apitypes.Listener
- func (m *MockCoreService) ChainMeta() (*iotextypes.ChainMeta, string, error)
- func (m *MockCoreService) EVMNetworkID() uint32
- func (m *MockCoreService) EXPECT() *MockCoreServiceMockRecorder
- func (m *MockCoreService) ElectionBuckets(epochNum uint64) ([]*iotextypes.ElectionBucket, error)
- func (m *MockCoreService) EpochMeta(epochNum uint64) (*iotextypes.EpochData, uint64, []*iotexapi.BlockProducerInfo, error)
- func (m *MockCoreService) EstimateExecutionGasConsumption(ctx context.Context, sc *action.Execution, callerAddr address.Address) (uint64, error)
- func (m *MockCoreService) EstimateGasForAction(ctx context.Context, in *iotextypes.Action) (uint64, error)
- func (m *MockCoreService) EstimateGasForNonExecution(arg0 action.Action) (uint64, error)
- func (m *MockCoreService) LogsInBlockByHash(filter *logfilter.LogFilter, blockHash hash.Hash256) ([]*action.Log, error)
- func (m *MockCoreService) LogsInRange(filter *logfilter.LogFilter, start, end, paginationSize uint64) ([]*action.Log, []hash.Hash256, error)
- func (m *MockCoreService) PendingNonce(arg0 address.Address) (uint64, error)
- func (m *MockCoreService) RawBlocks(startHeight, count uint64, withReceipts, withTransactionLogs bool) ([]*iotexapi.BlockInfo, error)
- func (m *MockCoreService) ReadContract(ctx context.Context, callerAddr address.Address, sc *action.Execution) (string, *iotextypes.Receipt, error)
- func (m *MockCoreService) ReadContractStorage(ctx context.Context, addr address.Address, key []byte) ([]byte, error)
- func (m *MockCoreService) ReadState(protocolID, height string, methodName []byte, arguments [][]byte) (*iotexapi.ReadStateResponse, error)
- func (m *MockCoreService) ReceiptByActionHash(h hash.Hash256) (*action.Receipt, error)
- func (m *MockCoreService) ReceiveBlock(blk *block.Block) error
- func (m *MockCoreService) SendAction(ctx context.Context, in *iotextypes.Action) (string, error)
- func (m *MockCoreService) ServerMeta() (string, string, string, string, string)
- func (m *MockCoreService) SimulateExecution(arg0 context.Context, arg1 address.Address, arg2 *action.Execution) ([]byte, *action.Receipt, error)
- func (m *MockCoreService) Start(ctx context.Context) error
- func (m *MockCoreService) Stop(ctx context.Context) error
- func (m *MockCoreService) SuggestGasPrice() (uint64, error)
- func (m *MockCoreService) SyncingProgress() (uint64, uint64, uint64)
- func (m *MockCoreService) TipHeight() uint64
- func (m *MockCoreService) TransactionLogByActionHash(actHash string) (*iotextypes.TransactionLog, error)
- func (m *MockCoreService) TransactionLogByBlockHeight(blockHeight uint64) (*iotextypes.BlockIdentifier, *iotextypes.TransactionLogs, error)
- func (m *MockCoreService) UnconfirmedActionsByAddress(address string, start, count uint64) ([]*iotexapi.ActionInfo, error)
- type MockCoreServiceMockRecorder
- func (mr *MockCoreServiceMockRecorder) Account(addr interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) Action(actionHash, checkPending interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ActionByActionHash(h interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) Actions(start, count interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ActionsByAddress(addr, start, count interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ActionsInActPool(actHashes interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) BlockByHash(arg0 interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) BlockHashByBlockHeight(blkHeight interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) BlockMetaByHash(blkHash interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) BlockMetas(start, count interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ChainID() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ChainListener() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ChainMeta() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) EVMNetworkID() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ElectionBuckets(epochNum interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) EpochMeta(epochNum interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) EstimateExecutionGasConsumption(ctx, sc, callerAddr interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) EstimateGasForAction(ctx, in interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) EstimateGasForNonExecution(arg0 interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) LogsInBlockByHash(filter, blockHash interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) LogsInRange(filter, start, end, paginationSize interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) PendingNonce(arg0 interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) RawBlocks(startHeight, count, withReceipts, withTransactionLogs interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ReadContract(ctx, callerAddr, sc interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ReadContractStorage(ctx, addr, key interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ReadState(protocolID, height, methodName, arguments interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ReceiptByActionHash(h interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ReceiveBlock(blk interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) SendAction(ctx, in interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) ServerMeta() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) SimulateExecution(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) Start(ctx interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) Stop(ctx interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) SuggestGasPrice() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) SyncingProgress() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) TipHeight() *gomock.Call
- func (mr *MockCoreServiceMockRecorder) TransactionLogByActionHash(actHash interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) TransactionLogByBlockHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockCoreServiceMockRecorder) UnconfirmedActionsByAddress(address, start, count interface{}) *gomock.Call
- type MockintrinsicGasCalculator
- type MockintrinsicGasCalculatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoreService ¶
type MockCoreService struct {
// contains filtered or unexported fields
}
MockCoreService is a mock of CoreService interface.
func NewMockCoreService ¶
func NewMockCoreService(ctrl *gomock.Controller) *MockCoreService
NewMockCoreService creates a new mock instance.
func (*MockCoreService) Account ¶
func (m *MockCoreService) Account(addr address.Address) (*iotextypes.AccountMeta, *iotextypes.BlockIdentifier, error)
Account mocks base method.
func (*MockCoreService) Action ¶
func (m *MockCoreService) Action(actionHash string, checkPending bool) (*iotexapi.ActionInfo, error)
Action mocks base method.
func (*MockCoreService) ActionByActionHash ¶
func (m *MockCoreService) ActionByActionHash(h hash.Hash256) (action.SealedEnvelope, hash.Hash256, uint64, uint32, error)
ActionByActionHash mocks base method.
func (*MockCoreService) Actions ¶
func (m *MockCoreService) Actions(start, count uint64) ([]*iotexapi.ActionInfo, error)
Actions mocks base method.
func (*MockCoreService) ActionsByAddress ¶
func (m *MockCoreService) ActionsByAddress(addr address.Address, start, count uint64) ([]*iotexapi.ActionInfo, error)
ActionsByAddress mocks base method.
func (*MockCoreService) ActionsInActPool ¶ added in v1.8.2
func (m *MockCoreService) ActionsInActPool(actHashes []string) ([]action.SealedEnvelope, error)
ActionsInActPool mocks base method.
func (*MockCoreService) BlockByHash ¶ added in v1.8.2
func (m *MockCoreService) BlockByHash(arg0 string) (*block.Store, error)
BlockByHash mocks base method.
func (*MockCoreService) BlockHashByBlockHeight ¶ added in v1.8.1
func (m *MockCoreService) BlockHashByBlockHeight(blkHeight uint64) (hash.Hash256, error)
BlockHashByBlockHeight mocks base method.
func (*MockCoreService) BlockMetaByHash ¶
func (m *MockCoreService) BlockMetaByHash(blkHash string) (*iotextypes.BlockMeta, error)
BlockMetaByHash mocks base method.
func (*MockCoreService) BlockMetas ¶
func (m *MockCoreService) BlockMetas(start, count uint64) ([]*iotextypes.BlockMeta, error)
BlockMetas mocks base method.
func (*MockCoreService) ChainID ¶
func (m *MockCoreService) ChainID() uint32
ChainID mocks base method.
func (*MockCoreService) ChainListener ¶ added in v1.8.1
func (m *MockCoreService) ChainListener() apitypes.Listener
ChainListener mocks base method.
func (*MockCoreService) ChainMeta ¶
func (m *MockCoreService) ChainMeta() (*iotextypes.ChainMeta, string, error)
ChainMeta mocks base method.
func (*MockCoreService) EVMNetworkID ¶
func (m *MockCoreService) EVMNetworkID() uint32
EVMNetworkID mocks base method.
func (*MockCoreService) EXPECT ¶
func (m *MockCoreService) EXPECT() *MockCoreServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreService) ElectionBuckets ¶
func (m *MockCoreService) ElectionBuckets(epochNum uint64) ([]*iotextypes.ElectionBucket, error)
ElectionBuckets mocks base method.
func (*MockCoreService) EpochMeta ¶
func (m *MockCoreService) EpochMeta(epochNum uint64) (*iotextypes.EpochData, uint64, []*iotexapi.BlockProducerInfo, error)
EpochMeta mocks base method.
func (*MockCoreService) EstimateExecutionGasConsumption ¶
func (m *MockCoreService) EstimateExecutionGasConsumption(ctx context.Context, sc *action.Execution, callerAddr address.Address) (uint64, error)
EstimateExecutionGasConsumption mocks base method.
func (*MockCoreService) EstimateGasForAction ¶
func (m *MockCoreService) EstimateGasForAction(ctx context.Context, in *iotextypes.Action) (uint64, error)
EstimateGasForAction mocks base method.
func (*MockCoreService) EstimateGasForNonExecution ¶ added in v1.8.0
func (m *MockCoreService) EstimateGasForNonExecution(arg0 action.Action) (uint64, error)
EstimateGasForNonExecution mocks base method.
func (*MockCoreService) LogsInBlockByHash ¶
func (m *MockCoreService) LogsInBlockByHash(filter *logfilter.LogFilter, blockHash hash.Hash256) ([]*action.Log, error)
LogsInBlockByHash mocks base method.
func (*MockCoreService) LogsInRange ¶
func (m *MockCoreService) LogsInRange(filter *logfilter.LogFilter, start, end, paginationSize uint64) ([]*action.Log, []hash.Hash256, error)
LogsInRange mocks base method.
func (*MockCoreService) PendingNonce ¶
func (m *MockCoreService) PendingNonce(arg0 address.Address) (uint64, error)
PendingNonce mocks base method.
func (*MockCoreService) RawBlocks ¶
func (m *MockCoreService) RawBlocks(startHeight, count uint64, withReceipts, withTransactionLogs bool) ([]*iotexapi.BlockInfo, error)
RawBlocks mocks base method.
func (*MockCoreService) ReadContract ¶
func (m *MockCoreService) ReadContract(ctx context.Context, callerAddr address.Address, sc *action.Execution) (string, *iotextypes.Receipt, error)
ReadContract mocks base method.
func (*MockCoreService) ReadContractStorage ¶
func (m *MockCoreService) ReadContractStorage(ctx context.Context, addr address.Address, key []byte) ([]byte, error)
ReadContractStorage mocks base method.
func (*MockCoreService) ReadState ¶
func (m *MockCoreService) ReadState(protocolID, height string, methodName []byte, arguments [][]byte) (*iotexapi.ReadStateResponse, error)
ReadState mocks base method.
func (*MockCoreService) ReceiptByActionHash ¶
ReceiptByActionHash mocks base method.
func (*MockCoreService) ReceiveBlock ¶ added in v1.8.0
func (m *MockCoreService) ReceiveBlock(blk *block.Block) error
ReceiveBlock mocks base method.
func (*MockCoreService) SendAction ¶
func (m *MockCoreService) SendAction(ctx context.Context, in *iotextypes.Action) (string, error)
SendAction mocks base method.
func (*MockCoreService) ServerMeta ¶
ServerMeta mocks base method.
func (*MockCoreService) SimulateExecution ¶
func (m *MockCoreService) SimulateExecution(arg0 context.Context, arg1 address.Address, arg2 *action.Execution) ([]byte, *action.Receipt, error)
SimulateExecution mocks base method.
func (*MockCoreService) Start ¶
func (m *MockCoreService) Start(ctx context.Context) error
Start mocks base method.
func (*MockCoreService) Stop ¶
func (m *MockCoreService) Stop(ctx context.Context) error
Stop mocks base method.
func (*MockCoreService) SuggestGasPrice ¶
func (m *MockCoreService) SuggestGasPrice() (uint64, error)
SuggestGasPrice mocks base method.
func (*MockCoreService) SyncingProgress ¶ added in v1.8.0
func (m *MockCoreService) SyncingProgress() (uint64, uint64, uint64)
SyncingProgress mocks base method.
func (*MockCoreService) TipHeight ¶
func (m *MockCoreService) TipHeight() uint64
TipHeight mocks base method.
func (*MockCoreService) TransactionLogByActionHash ¶
func (m *MockCoreService) TransactionLogByActionHash(actHash string) (*iotextypes.TransactionLog, error)
TransactionLogByActionHash mocks base method.
func (*MockCoreService) TransactionLogByBlockHeight ¶
func (m *MockCoreService) TransactionLogByBlockHeight(blockHeight uint64) (*iotextypes.BlockIdentifier, *iotextypes.TransactionLogs, error)
TransactionLogByBlockHeight mocks base method.
func (*MockCoreService) UnconfirmedActionsByAddress ¶
func (m *MockCoreService) UnconfirmedActionsByAddress(address string, start, count uint64) ([]*iotexapi.ActionInfo, error)
UnconfirmedActionsByAddress mocks base method.
type MockCoreServiceMockRecorder ¶
type MockCoreServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreServiceMockRecorder is the mock recorder for MockCoreService.
func (*MockCoreServiceMockRecorder) Account ¶
func (mr *MockCoreServiceMockRecorder) Account(addr interface{}) *gomock.Call
Account indicates an expected call of Account.
func (*MockCoreServiceMockRecorder) Action ¶
func (mr *MockCoreServiceMockRecorder) Action(actionHash, checkPending interface{}) *gomock.Call
Action indicates an expected call of Action.
func (*MockCoreServiceMockRecorder) ActionByActionHash ¶
func (mr *MockCoreServiceMockRecorder) ActionByActionHash(h interface{}) *gomock.Call
ActionByActionHash indicates an expected call of ActionByActionHash.
func (*MockCoreServiceMockRecorder) Actions ¶
func (mr *MockCoreServiceMockRecorder) Actions(start, count interface{}) *gomock.Call
Actions indicates an expected call of Actions.
func (*MockCoreServiceMockRecorder) ActionsByAddress ¶
func (mr *MockCoreServiceMockRecorder) ActionsByAddress(addr, start, count interface{}) *gomock.Call
ActionsByAddress indicates an expected call of ActionsByAddress.
func (*MockCoreServiceMockRecorder) ActionsInActPool ¶ added in v1.8.2
func (mr *MockCoreServiceMockRecorder) ActionsInActPool(actHashes interface{}) *gomock.Call
ActionsInActPool indicates an expected call of ActionsInActPool.
func (*MockCoreServiceMockRecorder) BlockByHash ¶ added in v1.8.2
func (mr *MockCoreServiceMockRecorder) BlockByHash(arg0 interface{}) *gomock.Call
BlockByHash indicates an expected call of BlockByHash.
func (*MockCoreServiceMockRecorder) BlockHashByBlockHeight ¶ added in v1.8.1
func (mr *MockCoreServiceMockRecorder) BlockHashByBlockHeight(blkHeight interface{}) *gomock.Call
BlockHashByBlockHeight indicates an expected call of BlockHashByBlockHeight.
func (*MockCoreServiceMockRecorder) BlockMetaByHash ¶
func (mr *MockCoreServiceMockRecorder) BlockMetaByHash(blkHash interface{}) *gomock.Call
BlockMetaByHash indicates an expected call of BlockMetaByHash.
func (*MockCoreServiceMockRecorder) BlockMetas ¶
func (mr *MockCoreServiceMockRecorder) BlockMetas(start, count interface{}) *gomock.Call
BlockMetas indicates an expected call of BlockMetas.
func (*MockCoreServiceMockRecorder) ChainID ¶
func (mr *MockCoreServiceMockRecorder) ChainID() *gomock.Call
ChainID indicates an expected call of ChainID.
func (*MockCoreServiceMockRecorder) ChainListener ¶ added in v1.8.1
func (mr *MockCoreServiceMockRecorder) ChainListener() *gomock.Call
ChainListener indicates an expected call of ChainListener.
func (*MockCoreServiceMockRecorder) ChainMeta ¶
func (mr *MockCoreServiceMockRecorder) ChainMeta() *gomock.Call
ChainMeta indicates an expected call of ChainMeta.
func (*MockCoreServiceMockRecorder) EVMNetworkID ¶
func (mr *MockCoreServiceMockRecorder) EVMNetworkID() *gomock.Call
EVMNetworkID indicates an expected call of EVMNetworkID.
func (*MockCoreServiceMockRecorder) ElectionBuckets ¶
func (mr *MockCoreServiceMockRecorder) ElectionBuckets(epochNum interface{}) *gomock.Call
ElectionBuckets indicates an expected call of ElectionBuckets.
func (*MockCoreServiceMockRecorder) EpochMeta ¶
func (mr *MockCoreServiceMockRecorder) EpochMeta(epochNum interface{}) *gomock.Call
EpochMeta indicates an expected call of EpochMeta.
func (*MockCoreServiceMockRecorder) EstimateExecutionGasConsumption ¶
func (mr *MockCoreServiceMockRecorder) EstimateExecutionGasConsumption(ctx, sc, callerAddr interface{}) *gomock.Call
EstimateExecutionGasConsumption indicates an expected call of EstimateExecutionGasConsumption.
func (*MockCoreServiceMockRecorder) EstimateGasForAction ¶
func (mr *MockCoreServiceMockRecorder) EstimateGasForAction(ctx, in interface{}) *gomock.Call
EstimateGasForAction indicates an expected call of EstimateGasForAction.
func (*MockCoreServiceMockRecorder) EstimateGasForNonExecution ¶ added in v1.8.0
func (mr *MockCoreServiceMockRecorder) EstimateGasForNonExecution(arg0 interface{}) *gomock.Call
EstimateGasForNonExecution indicates an expected call of EstimateGasForNonExecution.
func (*MockCoreServiceMockRecorder) LogsInBlockByHash ¶
func (mr *MockCoreServiceMockRecorder) LogsInBlockByHash(filter, blockHash interface{}) *gomock.Call
LogsInBlockByHash indicates an expected call of LogsInBlockByHash.
func (*MockCoreServiceMockRecorder) LogsInRange ¶
func (mr *MockCoreServiceMockRecorder) LogsInRange(filter, start, end, paginationSize interface{}) *gomock.Call
LogsInRange indicates an expected call of LogsInRange.
func (*MockCoreServiceMockRecorder) PendingNonce ¶
func (mr *MockCoreServiceMockRecorder) PendingNonce(arg0 interface{}) *gomock.Call
PendingNonce indicates an expected call of PendingNonce.
func (*MockCoreServiceMockRecorder) RawBlocks ¶
func (mr *MockCoreServiceMockRecorder) RawBlocks(startHeight, count, withReceipts, withTransactionLogs interface{}) *gomock.Call
RawBlocks indicates an expected call of RawBlocks.
func (*MockCoreServiceMockRecorder) ReadContract ¶
func (mr *MockCoreServiceMockRecorder) ReadContract(ctx, callerAddr, sc interface{}) *gomock.Call
ReadContract indicates an expected call of ReadContract.
func (*MockCoreServiceMockRecorder) ReadContractStorage ¶
func (mr *MockCoreServiceMockRecorder) ReadContractStorage(ctx, addr, key interface{}) *gomock.Call
ReadContractStorage indicates an expected call of ReadContractStorage.
func (*MockCoreServiceMockRecorder) ReadState ¶
func (mr *MockCoreServiceMockRecorder) ReadState(protocolID, height, methodName, arguments interface{}) *gomock.Call
ReadState indicates an expected call of ReadState.
func (*MockCoreServiceMockRecorder) ReceiptByActionHash ¶
func (mr *MockCoreServiceMockRecorder) ReceiptByActionHash(h interface{}) *gomock.Call
ReceiptByActionHash indicates an expected call of ReceiptByActionHash.
func (*MockCoreServiceMockRecorder) ReceiveBlock ¶ added in v1.8.0
func (mr *MockCoreServiceMockRecorder) ReceiveBlock(blk interface{}) *gomock.Call
ReceiveBlock indicates an expected call of ReceiveBlock.
func (*MockCoreServiceMockRecorder) SendAction ¶
func (mr *MockCoreServiceMockRecorder) SendAction(ctx, in interface{}) *gomock.Call
SendAction indicates an expected call of SendAction.
func (*MockCoreServiceMockRecorder) ServerMeta ¶
func (mr *MockCoreServiceMockRecorder) ServerMeta() *gomock.Call
ServerMeta indicates an expected call of ServerMeta.
func (*MockCoreServiceMockRecorder) SimulateExecution ¶
func (mr *MockCoreServiceMockRecorder) SimulateExecution(arg0, arg1, arg2 interface{}) *gomock.Call
SimulateExecution indicates an expected call of SimulateExecution.
func (*MockCoreServiceMockRecorder) Start ¶
func (mr *MockCoreServiceMockRecorder) Start(ctx interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockCoreServiceMockRecorder) Stop ¶
func (mr *MockCoreServiceMockRecorder) Stop(ctx interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockCoreServiceMockRecorder) SuggestGasPrice ¶
func (mr *MockCoreServiceMockRecorder) SuggestGasPrice() *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.
func (*MockCoreServiceMockRecorder) SyncingProgress ¶ added in v1.8.0
func (mr *MockCoreServiceMockRecorder) SyncingProgress() *gomock.Call
SyncingProgress indicates an expected call of SyncingProgress.
func (*MockCoreServiceMockRecorder) TipHeight ¶
func (mr *MockCoreServiceMockRecorder) TipHeight() *gomock.Call
TipHeight indicates an expected call of TipHeight.
func (*MockCoreServiceMockRecorder) TransactionLogByActionHash ¶
func (mr *MockCoreServiceMockRecorder) TransactionLogByActionHash(actHash interface{}) *gomock.Call
TransactionLogByActionHash indicates an expected call of TransactionLogByActionHash.
func (*MockCoreServiceMockRecorder) TransactionLogByBlockHeight ¶
func (mr *MockCoreServiceMockRecorder) TransactionLogByBlockHeight(blockHeight interface{}) *gomock.Call
TransactionLogByBlockHeight indicates an expected call of TransactionLogByBlockHeight.
func (*MockCoreServiceMockRecorder) UnconfirmedActionsByAddress ¶
func (mr *MockCoreServiceMockRecorder) UnconfirmedActionsByAddress(address, start, count interface{}) *gomock.Call
UnconfirmedActionsByAddress indicates an expected call of UnconfirmedActionsByAddress.
type MockintrinsicGasCalculator ¶ added in v1.8.0
type MockintrinsicGasCalculator struct {
// contains filtered or unexported fields
}
MockintrinsicGasCalculator is a mock of intrinsicGasCalculator interface.
func NewMockintrinsicGasCalculator ¶ added in v1.8.0
func NewMockintrinsicGasCalculator(ctrl *gomock.Controller) *MockintrinsicGasCalculator
NewMockintrinsicGasCalculator creates a new mock instance.
func (*MockintrinsicGasCalculator) EXPECT ¶ added in v1.8.0
func (m *MockintrinsicGasCalculator) EXPECT() *MockintrinsicGasCalculatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockintrinsicGasCalculator) IntrinsicGas ¶ added in v1.8.0
func (m *MockintrinsicGasCalculator) IntrinsicGas() (uint64, error)
IntrinsicGas mocks base method.
type MockintrinsicGasCalculatorMockRecorder ¶ added in v1.8.0
type MockintrinsicGasCalculatorMockRecorder struct {
// contains filtered or unexported fields
}
MockintrinsicGasCalculatorMockRecorder is the mock recorder for MockintrinsicGasCalculator.
func (*MockintrinsicGasCalculatorMockRecorder) IntrinsicGas ¶ added in v1.8.0
func (mr *MockintrinsicGasCalculatorMockRecorder) IntrinsicGas() *gomock.Call
IntrinsicGas indicates an expected call of IntrinsicGas.