Documentation
¶
Index ¶
- type ERC20
- func (_m *ERC20) Allowance(ctx context.Context, owner common.Address, spender common.Address) big.Int
- func (_m *ERC20) Approve(ctx context.Context, spender common.Address, amount big.Int) error
- func (_m *ERC20) BalanceOf(ctx context.Context, address common.Address) big.Int
- func (_m *ERC20) Decimals(ctx context.Context) uint8
- func (_m *ERC20) EXPECT() *ERC20_Expecter
- func (_m *ERC20) Name(ctx context.Context) string
- func (_m *ERC20) Symbol(ctx context.Context) string
- func (_m *ERC20) TotalSupply(ctx context.Context) big.Int
- func (_m *ERC20) TransferFrom(ctx context.Context, idempotencyKey string, from common.Address, ...) error
- type ERC20_Allowance_Call
- func (_c *ERC20_Allowance_Call) Return(_a0 big.Int) *ERC20_Allowance_Call
- func (_c *ERC20_Allowance_Call) Run(run func(ctx context.Context, owner common.Address, spender common.Address)) *ERC20_Allowance_Call
- func (_c *ERC20_Allowance_Call) RunAndReturn(run func(context.Context, common.Address, common.Address) big.Int) *ERC20_Allowance_Call
- type ERC20_Approve_Call
- func (_c *ERC20_Approve_Call) Return(_a0 error) *ERC20_Approve_Call
- func (_c *ERC20_Approve_Call) Run(run func(ctx context.Context, spender common.Address, amount big.Int)) *ERC20_Approve_Call
- func (_c *ERC20_Approve_Call) RunAndReturn(run func(context.Context, common.Address, big.Int) error) *ERC20_Approve_Call
- type ERC20_BalanceOf_Call
- func (_c *ERC20_BalanceOf_Call) Return(_a0 big.Int) *ERC20_BalanceOf_Call
- func (_c *ERC20_BalanceOf_Call) Run(run func(ctx context.Context, address common.Address)) *ERC20_BalanceOf_Call
- func (_c *ERC20_BalanceOf_Call) RunAndReturn(run func(context.Context, common.Address) big.Int) *ERC20_BalanceOf_Call
- type ERC20_Decimals_Call
- type ERC20_Expecter
- func (_e *ERC20_Expecter) Allowance(ctx interface{}, owner interface{}, spender interface{}) *ERC20_Allowance_Call
- func (_e *ERC20_Expecter) Approve(ctx interface{}, spender interface{}, amount interface{}) *ERC20_Approve_Call
- func (_e *ERC20_Expecter) BalanceOf(ctx interface{}, address interface{}) *ERC20_BalanceOf_Call
- func (_e *ERC20_Expecter) Decimals(ctx interface{}) *ERC20_Decimals_Call
- func (_e *ERC20_Expecter) Name(ctx interface{}) *ERC20_Name_Call
- func (_e *ERC20_Expecter) Symbol(ctx interface{}) *ERC20_Symbol_Call
- func (_e *ERC20_Expecter) TotalSupply(ctx interface{}) *ERC20_TotalSupply_Call
- func (_e *ERC20_Expecter) TransferFrom(ctx interface{}, idempotencyKey interface{}, from interface{}, to interface{}, ...) *ERC20_TransferFrom_Call
- type ERC20_Name_Call
- type ERC20_Symbol_Call
- type ERC20_TotalSupply_Call
- type ERC20_TransferFrom_Call
- type Native
- type Native_Expecter
- type Native_GetBalance_Call
- func (_c *Native_GetBalance_Call) Return(_a0 big.Int, _a1 error) *Native_GetBalance_Call
- func (_c *Native_GetBalance_Call) Run(run func(ctx context.Context, address common.Address)) *Native_GetBalance_Call
- func (_c *Native_GetBalance_Call) RunAndReturn(run func(context.Context, common.Address) (big.Int, error)) *Native_GetBalance_Call
- type Native_Transfer_Call
- type PendingBlock
- func (_m *PendingBlock) Abort(ctx context.Context) error
- func (_m *PendingBlock) AddEvmLog(ctx context.Context, log *ethrpc.EvmLog) error
- func (_m *PendingBlock) AddEvmTransaction(ctx context.Context, tx *ethrpc.EvmTransaction) error
- func (_m *PendingBlock) ClaimMempoolEntries(ctx context.Context, maxTxsPerBlock int) ([]ethrpc.MempoolEntry, error)
- func (_m *PendingBlock) EXPECT() *PendingBlock_Expecter
- func (_m *PendingBlock) Finalize(ctx context.Context) error
- func (_m *PendingBlock) Hash() []byte
- func (_m *PendingBlock) Number() uint64
- type PendingBlock_Abort_Call
- type PendingBlock_AddEvmLog_Call
- func (_c *PendingBlock_AddEvmLog_Call) Return(_a0 error) *PendingBlock_AddEvmLog_Call
- func (_c *PendingBlock_AddEvmLog_Call) Run(run func(ctx context.Context, log *ethrpc.EvmLog)) *PendingBlock_AddEvmLog_Call
- func (_c *PendingBlock_AddEvmLog_Call) RunAndReturn(run func(context.Context, *ethrpc.EvmLog) error) *PendingBlock_AddEvmLog_Call
- type PendingBlock_AddEvmTransaction_Call
- func (_c *PendingBlock_AddEvmTransaction_Call) Return(_a0 error) *PendingBlock_AddEvmTransaction_Call
- func (_c *PendingBlock_AddEvmTransaction_Call) Run(run func(ctx context.Context, tx *ethrpc.EvmTransaction)) *PendingBlock_AddEvmTransaction_Call
- func (_c *PendingBlock_AddEvmTransaction_Call) RunAndReturn(run func(context.Context, *ethrpc.EvmTransaction) error) *PendingBlock_AddEvmTransaction_Call
- type PendingBlock_ClaimMempoolEntries_Call
- func (_c *PendingBlock_ClaimMempoolEntries_Call) Return(_a0 []ethrpc.MempoolEntry, _a1 error) *PendingBlock_ClaimMempoolEntries_Call
- func (_c *PendingBlock_ClaimMempoolEntries_Call) Run(run func(ctx context.Context, maxTxsPerBlock int)) *PendingBlock_ClaimMempoolEntries_Call
- func (_c *PendingBlock_ClaimMempoolEntries_Call) RunAndReturn(run func(context.Context, int) ([]ethrpc.MempoolEntry, error)) *PendingBlock_ClaimMempoolEntries_Call
- type PendingBlock_Expecter
- func (_e *PendingBlock_Expecter) Abort(ctx interface{}) *PendingBlock_Abort_Call
- func (_e *PendingBlock_Expecter) AddEvmLog(ctx interface{}, log interface{}) *PendingBlock_AddEvmLog_Call
- func (_e *PendingBlock_Expecter) AddEvmTransaction(ctx interface{}, tx interface{}) *PendingBlock_AddEvmTransaction_Call
- func (_e *PendingBlock_Expecter) ClaimMempoolEntries(ctx interface{}, maxTxsPerBlock interface{}) *PendingBlock_ClaimMempoolEntries_Call
- func (_e *PendingBlock_Expecter) Finalize(ctx interface{}) *PendingBlock_Finalize_Call
- func (_e *PendingBlock_Expecter) Hash() *PendingBlock_Hash_Call
- func (_e *PendingBlock_Expecter) Number() *PendingBlock_Number_Call
- type PendingBlock_Finalize_Call
- type PendingBlock_Hash_Call
- type PendingBlock_Number_Call
- type Service
- func (_m *Service) BlockNumber(ctx context.Context) (hexutil.Uint64, error)
- func (_m *Service) Call(ctx context.Context, args *ethrpc.CallArgs) (hexutil.Bytes, error)
- func (_m *Service) ChainID(ctx context.Context) hexutil.Uint64
- func (_m *Service) EXPECT() *Service_Expecter
- func (_m *Service) EstimateGas(ctx context.Context, args *ethrpc.CallArgs) (hexutil.Uint64, error)
- func (_m *Service) GasPrice(ctx context.Context) (*hexutil.Big, error)
- func (_m *Service) GetBalance(ctx context.Context, address common.Address) (*hexutil.Big, error)
- func (_m *Service) GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (*ethrpc.RPCBlock, error)
- func (_m *Service) GetBlockByNumber(ctx context.Context, blockNr ethrpc.BlockNumberOrHash, fullTx bool) (*ethrpc.RPCBlock, error)
- func (_m *Service) GetCode(ctx context.Context, address common.Address) (hexutil.Bytes, error)
- func (_m *Service) GetLogs(ctx context.Context, query ethrpc.FilterQuery) ([]*types.Log, error)
- func (_m *Service) GetTransactionByHash(ctx context.Context, hash common.Hash) (*ethrpc.RPCTransaction, error)
- func (_m *Service) GetTransactionCount(ctx context.Context, address common.Address) (hexutil.Uint64, error)
- func (_m *Service) GetTransactionReceipt(ctx context.Context, hash common.Hash) (*ethrpc.RPCReceipt, error)
- func (_m *Service) MaxPriorityFeePerGas(ctx context.Context) (*hexutil.Big, error)
- func (_m *Service) SendRawTransaction(ctx context.Context, data hexutil.Bytes) (common.Hash, error)
- func (_m *Service) Syncing(ctx context.Context) bool
- type Service_BlockNumber_Call
- func (_c *Service_BlockNumber_Call) Return(_a0 hexutil.Uint64, _a1 error) *Service_BlockNumber_Call
- func (_c *Service_BlockNumber_Call) Run(run func(ctx context.Context)) *Service_BlockNumber_Call
- func (_c *Service_BlockNumber_Call) RunAndReturn(run func(context.Context) (hexutil.Uint64, error)) *Service_BlockNumber_Call
- type Service_Call_Call
- func (_c *Service_Call_Call) Return(_a0 hexutil.Bytes, _a1 error) *Service_Call_Call
- func (_c *Service_Call_Call) Run(run func(ctx context.Context, args *ethrpc.CallArgs)) *Service_Call_Call
- func (_c *Service_Call_Call) RunAndReturn(run func(context.Context, *ethrpc.CallArgs) (hexutil.Bytes, error)) *Service_Call_Call
- type Service_ChainID_Call
- type Service_EstimateGas_Call
- func (_c *Service_EstimateGas_Call) Return(_a0 hexutil.Uint64, _a1 error) *Service_EstimateGas_Call
- func (_c *Service_EstimateGas_Call) Run(run func(ctx context.Context, args *ethrpc.CallArgs)) *Service_EstimateGas_Call
- func (_c *Service_EstimateGas_Call) RunAndReturn(run func(context.Context, *ethrpc.CallArgs) (hexutil.Uint64, error)) *Service_EstimateGas_Call
- type Service_Expecter
- func (_e *Service_Expecter) BlockNumber(ctx interface{}) *Service_BlockNumber_Call
- func (_e *Service_Expecter) Call(ctx interface{}, args interface{}) *Service_Call_Call
- func (_e *Service_Expecter) ChainID(ctx interface{}) *Service_ChainID_Call
- func (_e *Service_Expecter) EstimateGas(ctx interface{}, args interface{}) *Service_EstimateGas_Call
- func (_e *Service_Expecter) GasPrice(ctx interface{}) *Service_GasPrice_Call
- func (_e *Service_Expecter) GetBalance(ctx interface{}, address interface{}) *Service_GetBalance_Call
- func (_e *Service_Expecter) GetBlockByHash(ctx interface{}, hash interface{}, fullTx interface{}) *Service_GetBlockByHash_Call
- func (_e *Service_Expecter) GetBlockByNumber(ctx interface{}, blockNr interface{}, fullTx interface{}) *Service_GetBlockByNumber_Call
- func (_e *Service_Expecter) GetCode(ctx interface{}, address interface{}) *Service_GetCode_Call
- func (_e *Service_Expecter) GetLogs(ctx interface{}, query interface{}) *Service_GetLogs_Call
- func (_e *Service_Expecter) GetTransactionByHash(ctx interface{}, hash interface{}) *Service_GetTransactionByHash_Call
- func (_e *Service_Expecter) GetTransactionCount(ctx interface{}, address interface{}) *Service_GetTransactionCount_Call
- func (_e *Service_Expecter) GetTransactionReceipt(ctx interface{}, hash interface{}) *Service_GetTransactionReceipt_Call
- func (_e *Service_Expecter) MaxPriorityFeePerGas(ctx interface{}) *Service_MaxPriorityFeePerGas_Call
- func (_e *Service_Expecter) SendRawTransaction(ctx interface{}, data interface{}) *Service_SendRawTransaction_Call
- func (_e *Service_Expecter) Syncing(ctx interface{}) *Service_Syncing_Call
- type Service_GasPrice_Call
- func (_c *Service_GasPrice_Call) Return(_a0 *hexutil.Big, _a1 error) *Service_GasPrice_Call
- func (_c *Service_GasPrice_Call) Run(run func(ctx context.Context)) *Service_GasPrice_Call
- func (_c *Service_GasPrice_Call) RunAndReturn(run func(context.Context) (*hexutil.Big, error)) *Service_GasPrice_Call
- type Service_GetBalance_Call
- func (_c *Service_GetBalance_Call) Return(_a0 *hexutil.Big, _a1 error) *Service_GetBalance_Call
- func (_c *Service_GetBalance_Call) Run(run func(ctx context.Context, address common.Address)) *Service_GetBalance_Call
- func (_c *Service_GetBalance_Call) RunAndReturn(run func(context.Context, common.Address) (*hexutil.Big, error)) *Service_GetBalance_Call
- type Service_GetBlockByHash_Call
- func (_c *Service_GetBlockByHash_Call) Return(_a0 *ethrpc.RPCBlock, _a1 error) *Service_GetBlockByHash_Call
- func (_c *Service_GetBlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash, fullTx bool)) *Service_GetBlockByHash_Call
- func (_c *Service_GetBlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash, bool) (*ethrpc.RPCBlock, error)) *Service_GetBlockByHash_Call
- type Service_GetBlockByNumber_Call
- func (_c *Service_GetBlockByNumber_Call) Return(_a0 *ethrpc.RPCBlock, _a1 error) *Service_GetBlockByNumber_Call
- func (_c *Service_GetBlockByNumber_Call) Run(run func(ctx context.Context, blockNr ethrpc.BlockNumberOrHash, fullTx bool)) *Service_GetBlockByNumber_Call
- func (_c *Service_GetBlockByNumber_Call) RunAndReturn(...) *Service_GetBlockByNumber_Call
- type Service_GetCode_Call
- func (_c *Service_GetCode_Call) Return(_a0 hexutil.Bytes, _a1 error) *Service_GetCode_Call
- func (_c *Service_GetCode_Call) Run(run func(ctx context.Context, address common.Address)) *Service_GetCode_Call
- func (_c *Service_GetCode_Call) RunAndReturn(run func(context.Context, common.Address) (hexutil.Bytes, error)) *Service_GetCode_Call
- type Service_GetLogs_Call
- func (_c *Service_GetLogs_Call) Return(_a0 []*types.Log, _a1 error) *Service_GetLogs_Call
- func (_c *Service_GetLogs_Call) Run(run func(ctx context.Context, query ethrpc.FilterQuery)) *Service_GetLogs_Call
- func (_c *Service_GetLogs_Call) RunAndReturn(run func(context.Context, ethrpc.FilterQuery) ([]*types.Log, error)) *Service_GetLogs_Call
- type Service_GetTransactionByHash_Call
- func (_c *Service_GetTransactionByHash_Call) Return(_a0 *ethrpc.RPCTransaction, _a1 error) *Service_GetTransactionByHash_Call
- func (_c *Service_GetTransactionByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *Service_GetTransactionByHash_Call
- func (_c *Service_GetTransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*ethrpc.RPCTransaction, error)) *Service_GetTransactionByHash_Call
- type Service_GetTransactionCount_Call
- func (_c *Service_GetTransactionCount_Call) Return(_a0 hexutil.Uint64, _a1 error) *Service_GetTransactionCount_Call
- func (_c *Service_GetTransactionCount_Call) Run(run func(ctx context.Context, address common.Address)) *Service_GetTransactionCount_Call
- func (_c *Service_GetTransactionCount_Call) RunAndReturn(run func(context.Context, common.Address) (hexutil.Uint64, error)) *Service_GetTransactionCount_Call
- type Service_GetTransactionReceipt_Call
- func (_c *Service_GetTransactionReceipt_Call) Return(_a0 *ethrpc.RPCReceipt, _a1 error) *Service_GetTransactionReceipt_Call
- func (_c *Service_GetTransactionReceipt_Call) Run(run func(ctx context.Context, hash common.Hash)) *Service_GetTransactionReceipt_Call
- func (_c *Service_GetTransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*ethrpc.RPCReceipt, error)) *Service_GetTransactionReceipt_Call
- type Service_MaxPriorityFeePerGas_Call
- func (_c *Service_MaxPriorityFeePerGas_Call) Return(_a0 *hexutil.Big, _a1 error) *Service_MaxPriorityFeePerGas_Call
- func (_c *Service_MaxPriorityFeePerGas_Call) Run(run func(ctx context.Context)) *Service_MaxPriorityFeePerGas_Call
- func (_c *Service_MaxPriorityFeePerGas_Call) RunAndReturn(run func(context.Context) (*hexutil.Big, error)) *Service_MaxPriorityFeePerGas_Call
- type Service_SendRawTransaction_Call
- func (_c *Service_SendRawTransaction_Call) Return(_a0 common.Hash, _a1 error) *Service_SendRawTransaction_Call
- func (_c *Service_SendRawTransaction_Call) Run(run func(ctx context.Context, data hexutil.Bytes)) *Service_SendRawTransaction_Call
- func (_c *Service_SendRawTransaction_Call) RunAndReturn(run func(context.Context, hexutil.Bytes) (common.Hash, error)) *Service_SendRawTransaction_Call
- type Service_Syncing_Call
- type Store
- func (_m *Store) EXPECT() *Store_Expecter
- func (_m *Store) GetBlockNumberByHash(ctx context.Context, blockHash []byte) (uint64, error)
- func (_m *Store) GetEvmLogs(ctx context.Context, address []byte, topic0 []byte, fromBlock uint64, ...) ([]*ethrpc.EvmLog, error)
- func (_m *Store) GetEvmLogsByTxHash(ctx context.Context, txHash []byte) ([]*ethrpc.EvmLog, error)
- func (_m *Store) GetEvmTransaction(ctx context.Context, txHash []byte) (*ethrpc.EvmTransaction, error)
- func (_m *Store) GetEvmTransactionCount(ctx context.Context, fromAddress string) (uint64, error)
- func (_m *Store) GetLatestEvmBlockNumber(ctx context.Context) (uint64, error)
- func (_m *Store) InsertMempoolEntry(ctx context.Context, entry *ethrpc.MempoolEntry) error
- type Store_Expecter
- func (_e *Store_Expecter) GetBlockNumberByHash(ctx interface{}, blockHash interface{}) *Store_GetBlockNumberByHash_Call
- func (_e *Store_Expecter) GetEvmLogs(ctx interface{}, address interface{}, topic0 interface{}, ...) *Store_GetEvmLogs_Call
- func (_e *Store_Expecter) GetEvmLogsByTxHash(ctx interface{}, txHash interface{}) *Store_GetEvmLogsByTxHash_Call
- func (_e *Store_Expecter) GetEvmTransaction(ctx interface{}, txHash interface{}) *Store_GetEvmTransaction_Call
- func (_e *Store_Expecter) GetEvmTransactionCount(ctx interface{}, fromAddress interface{}) *Store_GetEvmTransactionCount_Call
- func (_e *Store_Expecter) GetLatestEvmBlockNumber(ctx interface{}) *Store_GetLatestEvmBlockNumber_Call
- func (_e *Store_Expecter) InsertMempoolEntry(ctx interface{}, entry interface{}) *Store_InsertMempoolEntry_Call
- type Store_GetBlockNumberByHash_Call
- func (_c *Store_GetBlockNumberByHash_Call) Return(_a0 uint64, _a1 error) *Store_GetBlockNumberByHash_Call
- func (_c *Store_GetBlockNumberByHash_Call) Run(run func(ctx context.Context, blockHash []byte)) *Store_GetBlockNumberByHash_Call
- func (_c *Store_GetBlockNumberByHash_Call) RunAndReturn(run func(context.Context, []byte) (uint64, error)) *Store_GetBlockNumberByHash_Call
- type Store_GetEvmLogsByTxHash_Call
- func (_c *Store_GetEvmLogsByTxHash_Call) Return(_a0 []*ethrpc.EvmLog, _a1 error) *Store_GetEvmLogsByTxHash_Call
- func (_c *Store_GetEvmLogsByTxHash_Call) Run(run func(ctx context.Context, txHash []byte)) *Store_GetEvmLogsByTxHash_Call
- func (_c *Store_GetEvmLogsByTxHash_Call) RunAndReturn(run func(context.Context, []byte) ([]*ethrpc.EvmLog, error)) *Store_GetEvmLogsByTxHash_Call
- type Store_GetEvmLogs_Call
- type Store_GetEvmTransactionCount_Call
- func (_c *Store_GetEvmTransactionCount_Call) Return(_a0 uint64, _a1 error) *Store_GetEvmTransactionCount_Call
- func (_c *Store_GetEvmTransactionCount_Call) Run(run func(ctx context.Context, fromAddress string)) *Store_GetEvmTransactionCount_Call
- func (_c *Store_GetEvmTransactionCount_Call) RunAndReturn(run func(context.Context, string) (uint64, error)) *Store_GetEvmTransactionCount_Call
- type Store_GetEvmTransaction_Call
- func (_c *Store_GetEvmTransaction_Call) Return(_a0 *ethrpc.EvmTransaction, _a1 error) *Store_GetEvmTransaction_Call
- func (_c *Store_GetEvmTransaction_Call) Run(run func(ctx context.Context, txHash []byte)) *Store_GetEvmTransaction_Call
- func (_c *Store_GetEvmTransaction_Call) RunAndReturn(run func(context.Context, []byte) (*ethrpc.EvmTransaction, error)) *Store_GetEvmTransaction_Call
- type Store_GetLatestEvmBlockNumber_Call
- func (_c *Store_GetLatestEvmBlockNumber_Call) Return(_a0 uint64, _a1 error) *Store_GetLatestEvmBlockNumber_Call
- func (_c *Store_GetLatestEvmBlockNumber_Call) Run(run func(ctx context.Context)) *Store_GetLatestEvmBlockNumber_Call
- func (_c *Store_GetLatestEvmBlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *Store_GetLatestEvmBlockNumber_Call
- type Store_InsertMempoolEntry_Call
- func (_c *Store_InsertMempoolEntry_Call) Return(_a0 error) *Store_InsertMempoolEntry_Call
- func (_c *Store_InsertMempoolEntry_Call) Run(run func(ctx context.Context, entry *ethrpc.MempoolEntry)) *Store_InsertMempoolEntry_Call
- func (_c *Store_InsertMempoolEntry_Call) RunAndReturn(run func(context.Context, *ethrpc.MempoolEntry) error) *Store_InsertMempoolEntry_Call
- type TokenService
- type TokenService_ERC20_Call
- func (_c *TokenService_ERC20_Call) Return(_a0 token.ERC20, _a1 error) *TokenService_ERC20_Call
- func (_c *TokenService_ERC20_Call) Run(run func(address common.Address)) *TokenService_ERC20_Call
- func (_c *TokenService_ERC20_Call) RunAndReturn(run func(common.Address) (token.ERC20, error)) *TokenService_ERC20_Call
- type TokenService_Expecter
- type TokenService_Native_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20 ¶
ERC20 is an autogenerated mock type for the ERC20 type
func NewERC20 ¶
NewERC20 creates a new instance of ERC20. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ERC20) Allowance ¶
func (_m *ERC20) Allowance(ctx context.Context, owner common.Address, spender common.Address) big.Int
Allowance provides a mock function with given fields: ctx, owner, spender
func (*ERC20) EXPECT ¶
func (_m *ERC20) EXPECT() *ERC20_Expecter
func (*ERC20) TotalSupply ¶
TotalSupply provides a mock function with given fields: ctx
type ERC20_Allowance_Call ¶
ERC20_Allowance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Allowance'
func (*ERC20_Allowance_Call) Return ¶
func (_c *ERC20_Allowance_Call) Return(_a0 big.Int) *ERC20_Allowance_Call
func (*ERC20_Allowance_Call) Run ¶
func (_c *ERC20_Allowance_Call) Run(run func(ctx context.Context, owner common.Address, spender common.Address)) *ERC20_Allowance_Call
func (*ERC20_Allowance_Call) RunAndReturn ¶
func (_c *ERC20_Allowance_Call) RunAndReturn(run func(context.Context, common.Address, common.Address) big.Int) *ERC20_Allowance_Call
type ERC20_Approve_Call ¶
ERC20_Approve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Approve'
func (*ERC20_Approve_Call) Return ¶
func (_c *ERC20_Approve_Call) Return(_a0 error) *ERC20_Approve_Call
func (*ERC20_Approve_Call) Run ¶
func (_c *ERC20_Approve_Call) Run(run func(ctx context.Context, spender common.Address, amount big.Int)) *ERC20_Approve_Call
func (*ERC20_Approve_Call) RunAndReturn ¶
func (_c *ERC20_Approve_Call) RunAndReturn(run func(context.Context, common.Address, big.Int) error) *ERC20_Approve_Call
type ERC20_BalanceOf_Call ¶
ERC20_BalanceOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BalanceOf'
func (*ERC20_BalanceOf_Call) Return ¶
func (_c *ERC20_BalanceOf_Call) Return(_a0 big.Int) *ERC20_BalanceOf_Call
func (*ERC20_BalanceOf_Call) Run ¶
func (_c *ERC20_BalanceOf_Call) Run(run func(ctx context.Context, address common.Address)) *ERC20_BalanceOf_Call
func (*ERC20_BalanceOf_Call) RunAndReturn ¶
func (_c *ERC20_BalanceOf_Call) RunAndReturn(run func(context.Context, common.Address) big.Int) *ERC20_BalanceOf_Call
type ERC20_Decimals_Call ¶
ERC20_Decimals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decimals'
func (*ERC20_Decimals_Call) Return ¶
func (_c *ERC20_Decimals_Call) Return(_a0 uint8) *ERC20_Decimals_Call
func (*ERC20_Decimals_Call) Run ¶
func (_c *ERC20_Decimals_Call) Run(run func(ctx context.Context)) *ERC20_Decimals_Call
func (*ERC20_Decimals_Call) RunAndReturn ¶
func (_c *ERC20_Decimals_Call) RunAndReturn(run func(context.Context) uint8) *ERC20_Decimals_Call
type ERC20_Expecter ¶
type ERC20_Expecter struct {
// contains filtered or unexported fields
}
func (*ERC20_Expecter) Allowance ¶
func (_e *ERC20_Expecter) Allowance(ctx interface{}, owner interface{}, spender interface{}) *ERC20_Allowance_Call
Allowance is a helper method to define mock.On call
- ctx context.Context
- owner common.Address
- spender common.Address
func (*ERC20_Expecter) Approve ¶
func (_e *ERC20_Expecter) Approve(ctx interface{}, spender interface{}, amount interface{}) *ERC20_Approve_Call
Approve is a helper method to define mock.On call
- ctx context.Context
- spender common.Address
- amount big.Int
func (*ERC20_Expecter) BalanceOf ¶
func (_e *ERC20_Expecter) BalanceOf(ctx interface{}, address interface{}) *ERC20_BalanceOf_Call
BalanceOf is a helper method to define mock.On call
- ctx context.Context
- address common.Address
func (*ERC20_Expecter) Decimals ¶
func (_e *ERC20_Expecter) Decimals(ctx interface{}) *ERC20_Decimals_Call
Decimals is a helper method to define mock.On call
- ctx context.Context
func (*ERC20_Expecter) Name ¶
func (_e *ERC20_Expecter) Name(ctx interface{}) *ERC20_Name_Call
Name is a helper method to define mock.On call
- ctx context.Context
func (*ERC20_Expecter) Symbol ¶
func (_e *ERC20_Expecter) Symbol(ctx interface{}) *ERC20_Symbol_Call
Symbol is a helper method to define mock.On call
- ctx context.Context
func (*ERC20_Expecter) TotalSupply ¶
func (_e *ERC20_Expecter) TotalSupply(ctx interface{}) *ERC20_TotalSupply_Call
TotalSupply is a helper method to define mock.On call
- ctx context.Context
func (*ERC20_Expecter) TransferFrom ¶
func (_e *ERC20_Expecter) TransferFrom(ctx interface{}, idempotencyKey interface{}, from interface{}, to interface{}, amount interface{}) *ERC20_TransferFrom_Call
TransferFrom is a helper method to define mock.On call
- ctx context.Context
- idempotencyKey string
- from common.Address
- to common.Address
- amount big.Int
type ERC20_Name_Call ¶
ERC20_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*ERC20_Name_Call) Return ¶
func (_c *ERC20_Name_Call) Return(_a0 string) *ERC20_Name_Call
func (*ERC20_Name_Call) Run ¶
func (_c *ERC20_Name_Call) Run(run func(ctx context.Context)) *ERC20_Name_Call
func (*ERC20_Name_Call) RunAndReturn ¶
func (_c *ERC20_Name_Call) RunAndReturn(run func(context.Context) string) *ERC20_Name_Call
type ERC20_Symbol_Call ¶
ERC20_Symbol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Symbol'
func (*ERC20_Symbol_Call) Return ¶
func (_c *ERC20_Symbol_Call) Return(_a0 string) *ERC20_Symbol_Call
func (*ERC20_Symbol_Call) Run ¶
func (_c *ERC20_Symbol_Call) Run(run func(ctx context.Context)) *ERC20_Symbol_Call
func (*ERC20_Symbol_Call) RunAndReturn ¶
func (_c *ERC20_Symbol_Call) RunAndReturn(run func(context.Context) string) *ERC20_Symbol_Call
type ERC20_TotalSupply_Call ¶
ERC20_TotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalSupply'
func (*ERC20_TotalSupply_Call) Return ¶
func (_c *ERC20_TotalSupply_Call) Return(_a0 big.Int) *ERC20_TotalSupply_Call
func (*ERC20_TotalSupply_Call) Run ¶
func (_c *ERC20_TotalSupply_Call) Run(run func(ctx context.Context)) *ERC20_TotalSupply_Call
func (*ERC20_TotalSupply_Call) RunAndReturn ¶
func (_c *ERC20_TotalSupply_Call) RunAndReturn(run func(context.Context) big.Int) *ERC20_TotalSupply_Call
type ERC20_TransferFrom_Call ¶
ERC20_TransferFrom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferFrom'
func (*ERC20_TransferFrom_Call) Return ¶
func (_c *ERC20_TransferFrom_Call) Return(_a0 error) *ERC20_TransferFrom_Call
func (*ERC20_TransferFrom_Call) RunAndReturn ¶
type Native ¶
Native is an autogenerated mock type for the Native type
func NewNative ¶
NewNative creates a new instance of Native. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Native) EXPECT ¶
func (_m *Native) EXPECT() *Native_Expecter
func (*Native) GetBalance ¶
GetBalance provides a mock function with given fields: ctx, address
type Native_Expecter ¶
type Native_Expecter struct {
// contains filtered or unexported fields
}
func (*Native_Expecter) GetBalance ¶
func (_e *Native_Expecter) GetBalance(ctx interface{}, address interface{}) *Native_GetBalance_Call
GetBalance is a helper method to define mock.On call
- ctx context.Context
- address common.Address
func (*Native_Expecter) Transfer ¶
func (_e *Native_Expecter) Transfer(ctx interface{}, from interface{}, to interface{}, amount interface{}) *Native_Transfer_Call
Transfer is a helper method to define mock.On call
- ctx context.Context
- from common.Address
- to common.Address
- amount big.Int
type Native_GetBalance_Call ¶
Native_GetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalance'
func (*Native_GetBalance_Call) Return ¶
func (_c *Native_GetBalance_Call) Return(_a0 big.Int, _a1 error) *Native_GetBalance_Call
func (*Native_GetBalance_Call) Run ¶
func (_c *Native_GetBalance_Call) Run(run func(ctx context.Context, address common.Address)) *Native_GetBalance_Call
func (*Native_GetBalance_Call) RunAndReturn ¶
func (_c *Native_GetBalance_Call) RunAndReturn(run func(context.Context, common.Address) (big.Int, error)) *Native_GetBalance_Call
type Native_Transfer_Call ¶
Native_Transfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transfer'
func (*Native_Transfer_Call) Return ¶
func (_c *Native_Transfer_Call) Return(_a0 error) *Native_Transfer_Call
func (*Native_Transfer_Call) Run ¶
func (_c *Native_Transfer_Call) Run(run func(ctx context.Context, from common.Address, to common.Address, amount big.Int)) *Native_Transfer_Call
func (*Native_Transfer_Call) RunAndReturn ¶
type PendingBlock ¶
PendingBlock is an autogenerated mock type for the PendingBlock type
func NewPendingBlock ¶
func NewPendingBlock(t interface {
mock.TestingT
Cleanup(func())
}) *PendingBlock
NewPendingBlock creates a new instance of PendingBlock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PendingBlock) Abort ¶
func (_m *PendingBlock) Abort(ctx context.Context) error
Abort provides a mock function with given fields: ctx
func (*PendingBlock) AddEvmTransaction ¶
func (_m *PendingBlock) AddEvmTransaction(ctx context.Context, tx *ethrpc.EvmTransaction) error
AddEvmTransaction provides a mock function with given fields: ctx, tx
func (*PendingBlock) ClaimMempoolEntries ¶
func (_m *PendingBlock) ClaimMempoolEntries(ctx context.Context, maxTxsPerBlock int) ([]ethrpc.MempoolEntry, error)
ClaimMempoolEntries provides a mock function with given fields: ctx, maxTxsPerBlock
func (*PendingBlock) EXPECT ¶
func (_m *PendingBlock) EXPECT() *PendingBlock_Expecter
func (*PendingBlock) Finalize ¶
func (_m *PendingBlock) Finalize(ctx context.Context) error
Finalize provides a mock function with given fields: ctx
func (*PendingBlock) Hash ¶
func (_m *PendingBlock) Hash() []byte
Hash provides a mock function with no fields
func (*PendingBlock) Number ¶
func (_m *PendingBlock) Number() uint64
Number provides a mock function with no fields
type PendingBlock_Abort_Call ¶
PendingBlock_Abort_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Abort'
func (*PendingBlock_Abort_Call) Return ¶
func (_c *PendingBlock_Abort_Call) Return(_a0 error) *PendingBlock_Abort_Call
func (*PendingBlock_Abort_Call) Run ¶
func (_c *PendingBlock_Abort_Call) Run(run func(ctx context.Context)) *PendingBlock_Abort_Call
func (*PendingBlock_Abort_Call) RunAndReturn ¶
func (_c *PendingBlock_Abort_Call) RunAndReturn(run func(context.Context) error) *PendingBlock_Abort_Call
type PendingBlock_AddEvmLog_Call ¶
PendingBlock_AddEvmLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddEvmLog'
func (*PendingBlock_AddEvmLog_Call) Return ¶
func (_c *PendingBlock_AddEvmLog_Call) Return(_a0 error) *PendingBlock_AddEvmLog_Call
func (*PendingBlock_AddEvmLog_Call) Run ¶
func (_c *PendingBlock_AddEvmLog_Call) Run(run func(ctx context.Context, log *ethrpc.EvmLog)) *PendingBlock_AddEvmLog_Call
func (*PendingBlock_AddEvmLog_Call) RunAndReturn ¶
func (_c *PendingBlock_AddEvmLog_Call) RunAndReturn(run func(context.Context, *ethrpc.EvmLog) error) *PendingBlock_AddEvmLog_Call
type PendingBlock_AddEvmTransaction_Call ¶
PendingBlock_AddEvmTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddEvmTransaction'
func (*PendingBlock_AddEvmTransaction_Call) Return ¶
func (_c *PendingBlock_AddEvmTransaction_Call) Return(_a0 error) *PendingBlock_AddEvmTransaction_Call
func (*PendingBlock_AddEvmTransaction_Call) Run ¶
func (_c *PendingBlock_AddEvmTransaction_Call) Run(run func(ctx context.Context, tx *ethrpc.EvmTransaction)) *PendingBlock_AddEvmTransaction_Call
func (*PendingBlock_AddEvmTransaction_Call) RunAndReturn ¶
func (_c *PendingBlock_AddEvmTransaction_Call) RunAndReturn(run func(context.Context, *ethrpc.EvmTransaction) error) *PendingBlock_AddEvmTransaction_Call
type PendingBlock_ClaimMempoolEntries_Call ¶
PendingBlock_ClaimMempoolEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClaimMempoolEntries'
func (*PendingBlock_ClaimMempoolEntries_Call) Return ¶
func (_c *PendingBlock_ClaimMempoolEntries_Call) Return(_a0 []ethrpc.MempoolEntry, _a1 error) *PendingBlock_ClaimMempoolEntries_Call
func (*PendingBlock_ClaimMempoolEntries_Call) Run ¶
func (_c *PendingBlock_ClaimMempoolEntries_Call) Run(run func(ctx context.Context, maxTxsPerBlock int)) *PendingBlock_ClaimMempoolEntries_Call
func (*PendingBlock_ClaimMempoolEntries_Call) RunAndReturn ¶
func (_c *PendingBlock_ClaimMempoolEntries_Call) RunAndReturn(run func(context.Context, int) ([]ethrpc.MempoolEntry, error)) *PendingBlock_ClaimMempoolEntries_Call
type PendingBlock_Expecter ¶
type PendingBlock_Expecter struct {
// contains filtered or unexported fields
}
func (*PendingBlock_Expecter) Abort ¶
func (_e *PendingBlock_Expecter) Abort(ctx interface{}) *PendingBlock_Abort_Call
Abort is a helper method to define mock.On call
- ctx context.Context
func (*PendingBlock_Expecter) AddEvmLog ¶
func (_e *PendingBlock_Expecter) AddEvmLog(ctx interface{}, log interface{}) *PendingBlock_AddEvmLog_Call
AddEvmLog is a helper method to define mock.On call
- ctx context.Context
- log *ethrpc.EvmLog
func (*PendingBlock_Expecter) AddEvmTransaction ¶
func (_e *PendingBlock_Expecter) AddEvmTransaction(ctx interface{}, tx interface{}) *PendingBlock_AddEvmTransaction_Call
AddEvmTransaction is a helper method to define mock.On call
- ctx context.Context
- tx *ethrpc.EvmTransaction
func (*PendingBlock_Expecter) ClaimMempoolEntries ¶
func (_e *PendingBlock_Expecter) ClaimMempoolEntries(ctx interface{}, maxTxsPerBlock interface{}) *PendingBlock_ClaimMempoolEntries_Call
ClaimMempoolEntries is a helper method to define mock.On call
- ctx context.Context
- maxTxsPerBlock int
func (*PendingBlock_Expecter) Finalize ¶
func (_e *PendingBlock_Expecter) Finalize(ctx interface{}) *PendingBlock_Finalize_Call
Finalize is a helper method to define mock.On call
- ctx context.Context
func (*PendingBlock_Expecter) Hash ¶
func (_e *PendingBlock_Expecter) Hash() *PendingBlock_Hash_Call
Hash is a helper method to define mock.On call
func (*PendingBlock_Expecter) Number ¶
func (_e *PendingBlock_Expecter) Number() *PendingBlock_Number_Call
Number is a helper method to define mock.On call
type PendingBlock_Finalize_Call ¶
PendingBlock_Finalize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Finalize'
func (*PendingBlock_Finalize_Call) Return ¶
func (_c *PendingBlock_Finalize_Call) Return(_a0 error) *PendingBlock_Finalize_Call
func (*PendingBlock_Finalize_Call) Run ¶
func (_c *PendingBlock_Finalize_Call) Run(run func(ctx context.Context)) *PendingBlock_Finalize_Call
func (*PendingBlock_Finalize_Call) RunAndReturn ¶
func (_c *PendingBlock_Finalize_Call) RunAndReturn(run func(context.Context) error) *PendingBlock_Finalize_Call
type PendingBlock_Hash_Call ¶
PendingBlock_Hash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hash'
func (*PendingBlock_Hash_Call) Return ¶
func (_c *PendingBlock_Hash_Call) Return(_a0 []byte) *PendingBlock_Hash_Call
func (*PendingBlock_Hash_Call) Run ¶
func (_c *PendingBlock_Hash_Call) Run(run func()) *PendingBlock_Hash_Call
func (*PendingBlock_Hash_Call) RunAndReturn ¶
func (_c *PendingBlock_Hash_Call) RunAndReturn(run func() []byte) *PendingBlock_Hash_Call
type PendingBlock_Number_Call ¶
PendingBlock_Number_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Number'
func (*PendingBlock_Number_Call) Return ¶
func (_c *PendingBlock_Number_Call) Return(_a0 uint64) *PendingBlock_Number_Call
func (*PendingBlock_Number_Call) Run ¶
func (_c *PendingBlock_Number_Call) Run(run func()) *PendingBlock_Number_Call
func (*PendingBlock_Number_Call) RunAndReturn ¶
func (_c *PendingBlock_Number_Call) RunAndReturn(run func() uint64) *PendingBlock_Number_Call
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Service) BlockNumber ¶
BlockNumber provides a mock function with given fields: ctx
func (*Service) EXPECT ¶
func (_m *Service) EXPECT() *Service_Expecter
func (*Service) EstimateGas ¶
EstimateGas provides a mock function with given fields: ctx, args
func (*Service) GetBalance ¶
GetBalance provides a mock function with given fields: ctx, address
func (*Service) GetBlockByHash ¶
func (_m *Service) GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (*ethrpc.RPCBlock, error)
GetBlockByHash provides a mock function with given fields: ctx, hash, fullTx
func (*Service) GetBlockByNumber ¶
func (_m *Service) GetBlockByNumber(ctx context.Context, blockNr ethrpc.BlockNumberOrHash, fullTx bool) (*ethrpc.RPCBlock, error)
GetBlockByNumber provides a mock function with given fields: ctx, blockNr, fullTx
func (*Service) GetTransactionByHash ¶
func (_m *Service) GetTransactionByHash(ctx context.Context, hash common.Hash) (*ethrpc.RPCTransaction, error)
GetTransactionByHash provides a mock function with given fields: ctx, hash
func (*Service) GetTransactionCount ¶
func (_m *Service) GetTransactionCount(ctx context.Context, address common.Address) (hexutil.Uint64, error)
GetTransactionCount provides a mock function with given fields: ctx, address
func (*Service) GetTransactionReceipt ¶
func (_m *Service) GetTransactionReceipt(ctx context.Context, hash common.Hash) (*ethrpc.RPCReceipt, error)
GetTransactionReceipt provides a mock function with given fields: ctx, hash
func (*Service) MaxPriorityFeePerGas ¶
MaxPriorityFeePerGas provides a mock function with given fields: ctx
func (*Service) SendRawTransaction ¶
SendRawTransaction provides a mock function with given fields: ctx, data
type Service_BlockNumber_Call ¶
Service_BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockNumber'
func (*Service_BlockNumber_Call) Return ¶
func (_c *Service_BlockNumber_Call) Return(_a0 hexutil.Uint64, _a1 error) *Service_BlockNumber_Call
func (*Service_BlockNumber_Call) Run ¶
func (_c *Service_BlockNumber_Call) Run(run func(ctx context.Context)) *Service_BlockNumber_Call
func (*Service_BlockNumber_Call) RunAndReturn ¶
func (_c *Service_BlockNumber_Call) RunAndReturn(run func(context.Context) (hexutil.Uint64, error)) *Service_BlockNumber_Call
type Service_Call_Call ¶
Service_Call_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Call'
func (*Service_Call_Call) Return ¶
func (_c *Service_Call_Call) Return(_a0 hexutil.Bytes, _a1 error) *Service_Call_Call
func (*Service_Call_Call) Run ¶
func (_c *Service_Call_Call) Run(run func(ctx context.Context, args *ethrpc.CallArgs)) *Service_Call_Call
func (*Service_Call_Call) RunAndReturn ¶
func (_c *Service_Call_Call) RunAndReturn(run func(context.Context, *ethrpc.CallArgs) (hexutil.Bytes, error)) *Service_Call_Call
type Service_ChainID_Call ¶
Service_ChainID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChainID'
func (*Service_ChainID_Call) Return ¶
func (_c *Service_ChainID_Call) Return(_a0 hexutil.Uint64) *Service_ChainID_Call
func (*Service_ChainID_Call) Run ¶
func (_c *Service_ChainID_Call) Run(run func(ctx context.Context)) *Service_ChainID_Call
func (*Service_ChainID_Call) RunAndReturn ¶
func (_c *Service_ChainID_Call) RunAndReturn(run func(context.Context) hexutil.Uint64) *Service_ChainID_Call
type Service_EstimateGas_Call ¶
Service_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'
func (*Service_EstimateGas_Call) Return ¶
func (_c *Service_EstimateGas_Call) Return(_a0 hexutil.Uint64, _a1 error) *Service_EstimateGas_Call
func (*Service_EstimateGas_Call) Run ¶
func (_c *Service_EstimateGas_Call) Run(run func(ctx context.Context, args *ethrpc.CallArgs)) *Service_EstimateGas_Call
func (*Service_EstimateGas_Call) RunAndReturn ¶
func (_c *Service_EstimateGas_Call) RunAndReturn(run func(context.Context, *ethrpc.CallArgs) (hexutil.Uint64, error)) *Service_EstimateGas_Call
type Service_Expecter ¶
type Service_Expecter struct {
// contains filtered or unexported fields
}
func (*Service_Expecter) BlockNumber ¶
func (_e *Service_Expecter) BlockNumber(ctx interface{}) *Service_BlockNumber_Call
BlockNumber is a helper method to define mock.On call
- ctx context.Context
func (*Service_Expecter) Call ¶
func (_e *Service_Expecter) Call(ctx interface{}, args interface{}) *Service_Call_Call
Call is a helper method to define mock.On call
- ctx context.Context
- args *ethrpc.CallArgs
func (*Service_Expecter) ChainID ¶
func (_e *Service_Expecter) ChainID(ctx interface{}) *Service_ChainID_Call
ChainID is a helper method to define mock.On call
- ctx context.Context
func (*Service_Expecter) EstimateGas ¶
func (_e *Service_Expecter) EstimateGas(ctx interface{}, args interface{}) *Service_EstimateGas_Call
EstimateGas is a helper method to define mock.On call
- ctx context.Context
- args *ethrpc.CallArgs
func (*Service_Expecter) GasPrice ¶
func (_e *Service_Expecter) GasPrice(ctx interface{}) *Service_GasPrice_Call
GasPrice is a helper method to define mock.On call
- ctx context.Context
func (*Service_Expecter) GetBalance ¶
func (_e *Service_Expecter) GetBalance(ctx interface{}, address interface{}) *Service_GetBalance_Call
GetBalance is a helper method to define mock.On call
- ctx context.Context
- address common.Address
func (*Service_Expecter) GetBlockByHash ¶
func (_e *Service_Expecter) GetBlockByHash(ctx interface{}, hash interface{}, fullTx interface{}) *Service_GetBlockByHash_Call
GetBlockByHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
- fullTx bool
func (*Service_Expecter) GetBlockByNumber ¶
func (_e *Service_Expecter) GetBlockByNumber(ctx interface{}, blockNr interface{}, fullTx interface{}) *Service_GetBlockByNumber_Call
GetBlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNr ethrpc.BlockNumberOrHash
- fullTx bool
func (*Service_Expecter) GetCode ¶
func (_e *Service_Expecter) GetCode(ctx interface{}, address interface{}) *Service_GetCode_Call
GetCode is a helper method to define mock.On call
- ctx context.Context
- address common.Address
func (*Service_Expecter) GetLogs ¶
func (_e *Service_Expecter) GetLogs(ctx interface{}, query interface{}) *Service_GetLogs_Call
GetLogs is a helper method to define mock.On call
- ctx context.Context
- query ethrpc.FilterQuery
func (*Service_Expecter) GetTransactionByHash ¶
func (_e *Service_Expecter) GetTransactionByHash(ctx interface{}, hash interface{}) *Service_GetTransactionByHash_Call
GetTransactionByHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
func (*Service_Expecter) GetTransactionCount ¶
func (_e *Service_Expecter) GetTransactionCount(ctx interface{}, address interface{}) *Service_GetTransactionCount_Call
GetTransactionCount is a helper method to define mock.On call
- ctx context.Context
- address common.Address
func (*Service_Expecter) GetTransactionReceipt ¶
func (_e *Service_Expecter) GetTransactionReceipt(ctx interface{}, hash interface{}) *Service_GetTransactionReceipt_Call
GetTransactionReceipt is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
func (*Service_Expecter) MaxPriorityFeePerGas ¶
func (_e *Service_Expecter) MaxPriorityFeePerGas(ctx interface{}) *Service_MaxPriorityFeePerGas_Call
MaxPriorityFeePerGas is a helper method to define mock.On call
- ctx context.Context
func (*Service_Expecter) SendRawTransaction ¶
func (_e *Service_Expecter) SendRawTransaction(ctx interface{}, data interface{}) *Service_SendRawTransaction_Call
SendRawTransaction is a helper method to define mock.On call
- ctx context.Context
- data hexutil.Bytes
func (*Service_Expecter) Syncing ¶
func (_e *Service_Expecter) Syncing(ctx interface{}) *Service_Syncing_Call
Syncing is a helper method to define mock.On call
- ctx context.Context
type Service_GasPrice_Call ¶
Service_GasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GasPrice'
func (*Service_GasPrice_Call) Return ¶
func (_c *Service_GasPrice_Call) Return(_a0 *hexutil.Big, _a1 error) *Service_GasPrice_Call
func (*Service_GasPrice_Call) Run ¶
func (_c *Service_GasPrice_Call) Run(run func(ctx context.Context)) *Service_GasPrice_Call
func (*Service_GasPrice_Call) RunAndReturn ¶
func (_c *Service_GasPrice_Call) RunAndReturn(run func(context.Context) (*hexutil.Big, error)) *Service_GasPrice_Call
type Service_GetBalance_Call ¶
Service_GetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalance'
func (*Service_GetBalance_Call) Return ¶
func (_c *Service_GetBalance_Call) Return(_a0 *hexutil.Big, _a1 error) *Service_GetBalance_Call
func (*Service_GetBalance_Call) Run ¶
func (_c *Service_GetBalance_Call) Run(run func(ctx context.Context, address common.Address)) *Service_GetBalance_Call
func (*Service_GetBalance_Call) RunAndReturn ¶
func (_c *Service_GetBalance_Call) RunAndReturn(run func(context.Context, common.Address) (*hexutil.Big, error)) *Service_GetBalance_Call
type Service_GetBlockByHash_Call ¶
Service_GetBlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByHash'
func (*Service_GetBlockByHash_Call) Return ¶
func (_c *Service_GetBlockByHash_Call) Return(_a0 *ethrpc.RPCBlock, _a1 error) *Service_GetBlockByHash_Call
func (*Service_GetBlockByHash_Call) Run ¶
func (_c *Service_GetBlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash, fullTx bool)) *Service_GetBlockByHash_Call
func (*Service_GetBlockByHash_Call) RunAndReturn ¶
func (_c *Service_GetBlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash, bool) (*ethrpc.RPCBlock, error)) *Service_GetBlockByHash_Call
type Service_GetBlockByNumber_Call ¶
Service_GetBlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByNumber'
func (*Service_GetBlockByNumber_Call) Return ¶
func (_c *Service_GetBlockByNumber_Call) Return(_a0 *ethrpc.RPCBlock, _a1 error) *Service_GetBlockByNumber_Call
func (*Service_GetBlockByNumber_Call) Run ¶
func (_c *Service_GetBlockByNumber_Call) Run(run func(ctx context.Context, blockNr ethrpc.BlockNumberOrHash, fullTx bool)) *Service_GetBlockByNumber_Call
func (*Service_GetBlockByNumber_Call) RunAndReturn ¶
func (_c *Service_GetBlockByNumber_Call) RunAndReturn(run func(context.Context, ethrpc.BlockNumberOrHash, bool) (*ethrpc.RPCBlock, error)) *Service_GetBlockByNumber_Call
type Service_GetCode_Call ¶
Service_GetCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCode'
func (*Service_GetCode_Call) Return ¶
func (_c *Service_GetCode_Call) Return(_a0 hexutil.Bytes, _a1 error) *Service_GetCode_Call
func (*Service_GetCode_Call) Run ¶
func (_c *Service_GetCode_Call) Run(run func(ctx context.Context, address common.Address)) *Service_GetCode_Call
func (*Service_GetCode_Call) RunAndReturn ¶
func (_c *Service_GetCode_Call) RunAndReturn(run func(context.Context, common.Address) (hexutil.Bytes, error)) *Service_GetCode_Call
type Service_GetLogs_Call ¶
Service_GetLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogs'
func (*Service_GetLogs_Call) Return ¶
func (_c *Service_GetLogs_Call) Return(_a0 []*types.Log, _a1 error) *Service_GetLogs_Call
func (*Service_GetLogs_Call) Run ¶
func (_c *Service_GetLogs_Call) Run(run func(ctx context.Context, query ethrpc.FilterQuery)) *Service_GetLogs_Call
func (*Service_GetLogs_Call) RunAndReturn ¶
func (_c *Service_GetLogs_Call) RunAndReturn(run func(context.Context, ethrpc.FilterQuery) ([]*types.Log, error)) *Service_GetLogs_Call
type Service_GetTransactionByHash_Call ¶
Service_GetTransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByHash'
func (*Service_GetTransactionByHash_Call) Return ¶
func (_c *Service_GetTransactionByHash_Call) Return(_a0 *ethrpc.RPCTransaction, _a1 error) *Service_GetTransactionByHash_Call
func (*Service_GetTransactionByHash_Call) Run ¶
func (_c *Service_GetTransactionByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *Service_GetTransactionByHash_Call
func (*Service_GetTransactionByHash_Call) RunAndReturn ¶
func (_c *Service_GetTransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*ethrpc.RPCTransaction, error)) *Service_GetTransactionByHash_Call
type Service_GetTransactionCount_Call ¶
Service_GetTransactionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionCount'
func (*Service_GetTransactionCount_Call) Return ¶
func (_c *Service_GetTransactionCount_Call) Return(_a0 hexutil.Uint64, _a1 error) *Service_GetTransactionCount_Call
func (*Service_GetTransactionCount_Call) Run ¶
func (_c *Service_GetTransactionCount_Call) Run(run func(ctx context.Context, address common.Address)) *Service_GetTransactionCount_Call
func (*Service_GetTransactionCount_Call) RunAndReturn ¶
func (_c *Service_GetTransactionCount_Call) RunAndReturn(run func(context.Context, common.Address) (hexutil.Uint64, error)) *Service_GetTransactionCount_Call
type Service_GetTransactionReceipt_Call ¶
Service_GetTransactionReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionReceipt'
func (*Service_GetTransactionReceipt_Call) Return ¶
func (_c *Service_GetTransactionReceipt_Call) Return(_a0 *ethrpc.RPCReceipt, _a1 error) *Service_GetTransactionReceipt_Call
func (*Service_GetTransactionReceipt_Call) Run ¶
func (_c *Service_GetTransactionReceipt_Call) Run(run func(ctx context.Context, hash common.Hash)) *Service_GetTransactionReceipt_Call
func (*Service_GetTransactionReceipt_Call) RunAndReturn ¶
func (_c *Service_GetTransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*ethrpc.RPCReceipt, error)) *Service_GetTransactionReceipt_Call
type Service_MaxPriorityFeePerGas_Call ¶
Service_MaxPriorityFeePerGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxPriorityFeePerGas'
func (*Service_MaxPriorityFeePerGas_Call) Return ¶
func (_c *Service_MaxPriorityFeePerGas_Call) Return(_a0 *hexutil.Big, _a1 error) *Service_MaxPriorityFeePerGas_Call
func (*Service_MaxPriorityFeePerGas_Call) Run ¶
func (_c *Service_MaxPriorityFeePerGas_Call) Run(run func(ctx context.Context)) *Service_MaxPriorityFeePerGas_Call
func (*Service_MaxPriorityFeePerGas_Call) RunAndReturn ¶
func (_c *Service_MaxPriorityFeePerGas_Call) RunAndReturn(run func(context.Context) (*hexutil.Big, error)) *Service_MaxPriorityFeePerGas_Call
type Service_SendRawTransaction_Call ¶
Service_SendRawTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendRawTransaction'
func (*Service_SendRawTransaction_Call) Return ¶
func (_c *Service_SendRawTransaction_Call) Return(_a0 common.Hash, _a1 error) *Service_SendRawTransaction_Call
func (*Service_SendRawTransaction_Call) Run ¶
func (_c *Service_SendRawTransaction_Call) Run(run func(ctx context.Context, data hexutil.Bytes)) *Service_SendRawTransaction_Call
func (*Service_SendRawTransaction_Call) RunAndReturn ¶
func (_c *Service_SendRawTransaction_Call) RunAndReturn(run func(context.Context, hexutil.Bytes) (common.Hash, error)) *Service_SendRawTransaction_Call
type Service_Syncing_Call ¶
Service_Syncing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Syncing'
func (*Service_Syncing_Call) Return ¶
func (_c *Service_Syncing_Call) Return(_a0 bool) *Service_Syncing_Call
func (*Service_Syncing_Call) Run ¶
func (_c *Service_Syncing_Call) Run(run func(ctx context.Context)) *Service_Syncing_Call
func (*Service_Syncing_Call) RunAndReturn ¶
func (_c *Service_Syncing_Call) RunAndReturn(run func(context.Context) bool) *Service_Syncing_Call
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Store) EXPECT ¶
func (_m *Store) EXPECT() *Store_Expecter
func (*Store) GetBlockNumberByHash ¶
GetBlockNumberByHash provides a mock function with given fields: ctx, blockHash
func (*Store) GetEvmLogs ¶
func (_m *Store) GetEvmLogs(ctx context.Context, address []byte, topic0 []byte, fromBlock uint64, toBlock uint64) ([]*ethrpc.EvmLog, error)
GetEvmLogs provides a mock function with given fields: ctx, address, topic0, fromBlock, toBlock
func (*Store) GetEvmLogsByTxHash ¶
GetEvmLogsByTxHash provides a mock function with given fields: ctx, txHash
func (*Store) GetEvmTransaction ¶
func (_m *Store) GetEvmTransaction(ctx context.Context, txHash []byte) (*ethrpc.EvmTransaction, error)
GetEvmTransaction provides a mock function with given fields: ctx, txHash
func (*Store) GetEvmTransactionCount ¶
GetEvmTransactionCount provides a mock function with given fields: ctx, fromAddress
func (*Store) GetLatestEvmBlockNumber ¶
GetLatestEvmBlockNumber provides a mock function with given fields: ctx
func (*Store) InsertMempoolEntry ¶
InsertMempoolEntry provides a mock function with given fields: ctx, entry
type Store_Expecter ¶
type Store_Expecter struct {
// contains filtered or unexported fields
}
func (*Store_Expecter) GetBlockNumberByHash ¶
func (_e *Store_Expecter) GetBlockNumberByHash(ctx interface{}, blockHash interface{}) *Store_GetBlockNumberByHash_Call
GetBlockNumberByHash is a helper method to define mock.On call
- ctx context.Context
- blockHash []byte
func (*Store_Expecter) GetEvmLogs ¶
func (_e *Store_Expecter) GetEvmLogs(ctx interface{}, address interface{}, topic0 interface{}, fromBlock interface{}, toBlock interface{}) *Store_GetEvmLogs_Call
GetEvmLogs is a helper method to define mock.On call
- ctx context.Context
- address []byte
- topic0 []byte
- fromBlock uint64
- toBlock uint64
func (*Store_Expecter) GetEvmLogsByTxHash ¶
func (_e *Store_Expecter) GetEvmLogsByTxHash(ctx interface{}, txHash interface{}) *Store_GetEvmLogsByTxHash_Call
GetEvmLogsByTxHash is a helper method to define mock.On call
- ctx context.Context
- txHash []byte
func (*Store_Expecter) GetEvmTransaction ¶
func (_e *Store_Expecter) GetEvmTransaction(ctx interface{}, txHash interface{}) *Store_GetEvmTransaction_Call
GetEvmTransaction is a helper method to define mock.On call
- ctx context.Context
- txHash []byte
func (*Store_Expecter) GetEvmTransactionCount ¶
func (_e *Store_Expecter) GetEvmTransactionCount(ctx interface{}, fromAddress interface{}) *Store_GetEvmTransactionCount_Call
GetEvmTransactionCount is a helper method to define mock.On call
- ctx context.Context
- fromAddress string
func (*Store_Expecter) GetLatestEvmBlockNumber ¶
func (_e *Store_Expecter) GetLatestEvmBlockNumber(ctx interface{}) *Store_GetLatestEvmBlockNumber_Call
GetLatestEvmBlockNumber is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) InsertMempoolEntry ¶
func (_e *Store_Expecter) InsertMempoolEntry(ctx interface{}, entry interface{}) *Store_InsertMempoolEntry_Call
InsertMempoolEntry is a helper method to define mock.On call
- ctx context.Context
- entry *ethrpc.MempoolEntry
type Store_GetBlockNumberByHash_Call ¶
Store_GetBlockNumberByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockNumberByHash'
func (*Store_GetBlockNumberByHash_Call) Return ¶
func (_c *Store_GetBlockNumberByHash_Call) Return(_a0 uint64, _a1 error) *Store_GetBlockNumberByHash_Call
func (*Store_GetBlockNumberByHash_Call) Run ¶
func (_c *Store_GetBlockNumberByHash_Call) Run(run func(ctx context.Context, blockHash []byte)) *Store_GetBlockNumberByHash_Call
func (*Store_GetBlockNumberByHash_Call) RunAndReturn ¶
func (_c *Store_GetBlockNumberByHash_Call) RunAndReturn(run func(context.Context, []byte) (uint64, error)) *Store_GetBlockNumberByHash_Call
type Store_GetEvmLogsByTxHash_Call ¶
Store_GetEvmLogsByTxHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvmLogsByTxHash'
func (*Store_GetEvmLogsByTxHash_Call) Return ¶
func (_c *Store_GetEvmLogsByTxHash_Call) Return(_a0 []*ethrpc.EvmLog, _a1 error) *Store_GetEvmLogsByTxHash_Call
func (*Store_GetEvmLogsByTxHash_Call) Run ¶
func (_c *Store_GetEvmLogsByTxHash_Call) Run(run func(ctx context.Context, txHash []byte)) *Store_GetEvmLogsByTxHash_Call
func (*Store_GetEvmLogsByTxHash_Call) RunAndReturn ¶
func (_c *Store_GetEvmLogsByTxHash_Call) RunAndReturn(run func(context.Context, []byte) ([]*ethrpc.EvmLog, error)) *Store_GetEvmLogsByTxHash_Call
type Store_GetEvmLogs_Call ¶
Store_GetEvmLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvmLogs'
func (*Store_GetEvmLogs_Call) Return ¶
func (_c *Store_GetEvmLogs_Call) Return(_a0 []*ethrpc.EvmLog, _a1 error) *Store_GetEvmLogs_Call
func (*Store_GetEvmLogs_Call) Run ¶
func (_c *Store_GetEvmLogs_Call) Run(run func(ctx context.Context, address []byte, topic0 []byte, fromBlock uint64, toBlock uint64)) *Store_GetEvmLogs_Call
func (*Store_GetEvmLogs_Call) RunAndReturn ¶
type Store_GetEvmTransactionCount_Call ¶
Store_GetEvmTransactionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvmTransactionCount'
func (*Store_GetEvmTransactionCount_Call) Return ¶
func (_c *Store_GetEvmTransactionCount_Call) Return(_a0 uint64, _a1 error) *Store_GetEvmTransactionCount_Call
func (*Store_GetEvmTransactionCount_Call) Run ¶
func (_c *Store_GetEvmTransactionCount_Call) Run(run func(ctx context.Context, fromAddress string)) *Store_GetEvmTransactionCount_Call
func (*Store_GetEvmTransactionCount_Call) RunAndReturn ¶
func (_c *Store_GetEvmTransactionCount_Call) RunAndReturn(run func(context.Context, string) (uint64, error)) *Store_GetEvmTransactionCount_Call
type Store_GetEvmTransaction_Call ¶
Store_GetEvmTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvmTransaction'
func (*Store_GetEvmTransaction_Call) Return ¶
func (_c *Store_GetEvmTransaction_Call) Return(_a0 *ethrpc.EvmTransaction, _a1 error) *Store_GetEvmTransaction_Call
func (*Store_GetEvmTransaction_Call) Run ¶
func (_c *Store_GetEvmTransaction_Call) Run(run func(ctx context.Context, txHash []byte)) *Store_GetEvmTransaction_Call
func (*Store_GetEvmTransaction_Call) RunAndReturn ¶
func (_c *Store_GetEvmTransaction_Call) RunAndReturn(run func(context.Context, []byte) (*ethrpc.EvmTransaction, error)) *Store_GetEvmTransaction_Call
type Store_GetLatestEvmBlockNumber_Call ¶
Store_GetLatestEvmBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestEvmBlockNumber'
func (*Store_GetLatestEvmBlockNumber_Call) Return ¶
func (_c *Store_GetLatestEvmBlockNumber_Call) Return(_a0 uint64, _a1 error) *Store_GetLatestEvmBlockNumber_Call
func (*Store_GetLatestEvmBlockNumber_Call) Run ¶
func (_c *Store_GetLatestEvmBlockNumber_Call) Run(run func(ctx context.Context)) *Store_GetLatestEvmBlockNumber_Call
func (*Store_GetLatestEvmBlockNumber_Call) RunAndReturn ¶
func (_c *Store_GetLatestEvmBlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *Store_GetLatestEvmBlockNumber_Call
type Store_InsertMempoolEntry_Call ¶
Store_InsertMempoolEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertMempoolEntry'
func (*Store_InsertMempoolEntry_Call) Return ¶
func (_c *Store_InsertMempoolEntry_Call) Return(_a0 error) *Store_InsertMempoolEntry_Call
func (*Store_InsertMempoolEntry_Call) Run ¶
func (_c *Store_InsertMempoolEntry_Call) Run(run func(ctx context.Context, entry *ethrpc.MempoolEntry)) *Store_InsertMempoolEntry_Call
func (*Store_InsertMempoolEntry_Call) RunAndReturn ¶
func (_c *Store_InsertMempoolEntry_Call) RunAndReturn(run func(context.Context, *ethrpc.MempoolEntry) error) *Store_InsertMempoolEntry_Call
type TokenService ¶
TokenService is an autogenerated mock type for the TokenService type
func NewTokenService ¶
func NewTokenService(t interface {
mock.TestingT
Cleanup(func())
}) *TokenService
NewTokenService creates a new instance of TokenService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TokenService) EXPECT ¶
func (_m *TokenService) EXPECT() *TokenService_Expecter
func (*TokenService) Native ¶
func (_m *TokenService) Native() token.Native
Native provides a mock function with no fields
type TokenService_ERC20_Call ¶
TokenService_ERC20_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ERC20'
func (*TokenService_ERC20_Call) Return ¶
func (_c *TokenService_ERC20_Call) Return(_a0 token.ERC20, _a1 error) *TokenService_ERC20_Call
func (*TokenService_ERC20_Call) Run ¶
func (_c *TokenService_ERC20_Call) Run(run func(address common.Address)) *TokenService_ERC20_Call
func (*TokenService_ERC20_Call) RunAndReturn ¶
func (_c *TokenService_ERC20_Call) RunAndReturn(run func(common.Address) (token.ERC20, error)) *TokenService_ERC20_Call
type TokenService_Expecter ¶
type TokenService_Expecter struct {
// contains filtered or unexported fields
}
func (*TokenService_Expecter) ERC20 ¶
func (_e *TokenService_Expecter) ERC20(address interface{}) *TokenService_ERC20_Call
ERC20 is a helper method to define mock.On call
- address common.Address
func (*TokenService_Expecter) Native ¶
func (_e *TokenService_Expecter) Native() *TokenService_Native_Call
Native is a helper method to define mock.On call
type TokenService_Native_Call ¶
TokenService_Native_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Native'
func (*TokenService_Native_Call) Return ¶
func (_c *TokenService_Native_Call) Return(_a0 token.Native) *TokenService_Native_Call
func (*TokenService_Native_Call) Run ¶
func (_c *TokenService_Native_Call) Run(run func()) *TokenService_Native_Call
func (*TokenService_Native_Call) RunAndReturn ¶
func (_c *TokenService_Native_Call) RunAndReturn(run func() token.Native) *TokenService_Native_Call