Documentation
¶
Index ¶
- type MockAptosRpcClient
- func (_mock *MockAptosRpcClient) Account(address aptos.AccountAddress, ledgerVersion ...uint64) (aptos.AccountInfo, error)
- func (_mock *MockAptosRpcClient) AccountAPTBalance(address aptos.AccountAddress, ledgerVersion ...uint64) (uint64, error)
- func (_mock *MockAptosRpcClient) AccountModule(address aptos.AccountAddress, moduleName string, ledgerVersion ...uint64) (*api.MoveBytecode, error)
- func (_mock *MockAptosRpcClient) AccountResource(address aptos.AccountAddress, resourceType string, ledgerVersion ...uint64) (map[string]any, error)
- func (_mock *MockAptosRpcClient) AccountResources(address aptos.AccountAddress, ledgerVersion ...uint64) ([]aptos.AccountResourceInfo, error)
- func (_mock *MockAptosRpcClient) AccountResourcesBCS(address aptos.AccountAddress, ledgerVersion ...uint64) ([]aptos.AccountResourceRecord, error)
- func (_mock *MockAptosRpcClient) AccountTransactions(address aptos.AccountAddress, start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)
- func (_mock *MockAptosRpcClient) BatchSubmitTransaction(signedTxns []*aptos.SignedTransaction) (*api.BatchSubmitTransactionResponse, error)
- func (_mock *MockAptosRpcClient) BlockByHeight(blockHeight uint64, withTransactions bool) (*api.Block, error)
- func (_mock *MockAptosRpcClient) BlockByVersion(ledgerVersion uint64, withTransactions bool) (*api.Block, error)
- func (_mock *MockAptosRpcClient) BuildSignAndSubmitTransaction(sender aptos.TransactionSigner, payload aptos.TransactionPayload, ...) (*api.SubmitTransactionResponse, error)
- func (_mock *MockAptosRpcClient) BuildTransaction(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any) (*aptos.RawTransaction, error)
- func (_mock *MockAptosRpcClient) BuildTransactionMultiAgent(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any) (*aptos.RawTransactionWithData, error)
- func (_m *MockAptosRpcClient) EXPECT() *MockAptosRpcClient_Expecter
- func (_mock *MockAptosRpcClient) EntryFunctionWithArgs(moduleAddress aptos.AccountAddress, moduleName string, functionName string, ...) (*aptos.EntryFunction, error)
- func (_mock *MockAptosRpcClient) EstimateGasPrice() (aptos.EstimateGasInfo, error)
- func (_mock *MockAptosRpcClient) EventsByCreationNumber(account aptos.AccountAddress, creationNumber string, start *uint64, ...) ([]*api.Event, error)
- func (_mock *MockAptosRpcClient) EventsByHandle(account aptos.AccountAddress, eventHandle string, fieldName string, ...) ([]*api.Event, error)
- func (_mock *MockAptosRpcClient) GetChainId() (uint8, error)
- func (_mock *MockAptosRpcClient) Info() (aptos.NodeInfo, error)
- func (_mock *MockAptosRpcClient) NodeAPIHealthCheck(durationSecs ...uint64) (api.HealthCheckResponse, error)
- func (_mock *MockAptosRpcClient) PollForTransaction(hash string, options ...any) (*api.UserTransaction, error)
- func (_mock *MockAptosRpcClient) PollForTransactions(txnHashes []string, options ...any) error
- func (_mock *MockAptosRpcClient) RemoveHeader(key string)
- func (_mock *MockAptosRpcClient) SetHeader(key string, value string)
- func (_mock *MockAptosRpcClient) SetTimeout(timeout time.Duration)
- func (_mock *MockAptosRpcClient) SimulateTransaction(rawTxn *aptos.RawTransaction, sender aptos.TransactionSigner, options ...any) ([]*api.UserTransaction, error)
- func (_mock *MockAptosRpcClient) SimulateTransactionMultiAgent(rawTxn *aptos.RawTransactionWithData, sender aptos.TransactionSigner, ...) ([]*api.UserTransaction, error)
- func (_mock *MockAptosRpcClient) SubmitTransaction(signedTransaction *aptos.SignedTransaction) (*api.SubmitTransactionResponse, error)
- func (_mock *MockAptosRpcClient) TransactionByHash(txnHash string) (*api.Transaction, error)
- func (_mock *MockAptosRpcClient) TransactionByVersion(version uint64) (*api.CommittedTransaction, error)
- func (_mock *MockAptosRpcClient) Transactions(start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)
- func (_mock *MockAptosRpcClient) View(payload *aptos.ViewPayload, ledgerVersion ...uint64) ([]any, error)
- func (_mock *MockAptosRpcClient) WaitForTransaction(txnHash string, options ...any) (*api.UserTransaction, error)
- func (_mock *MockAptosRpcClient) WaitTransactionByHash(txnHash string) (*api.Transaction, error)
- type MockAptosRpcClient_AccountAPTBalance_Call
- func (_c *MockAptosRpcClient_AccountAPTBalance_Call) Return(v uint64, err error) *MockAptosRpcClient_AccountAPTBalance_Call
- func (_c *MockAptosRpcClient_AccountAPTBalance_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountAPTBalance_Call
- func (_c *MockAptosRpcClient_AccountAPTBalance_Call) RunAndReturn(...) *MockAptosRpcClient_AccountAPTBalance_Call
- type MockAptosRpcClient_AccountModule_Call
- func (_c *MockAptosRpcClient_AccountModule_Call) Return(moveBytecode *api.MoveBytecode, err error) *MockAptosRpcClient_AccountModule_Call
- func (_c *MockAptosRpcClient_AccountModule_Call) Run(...) *MockAptosRpcClient_AccountModule_Call
- func (_c *MockAptosRpcClient_AccountModule_Call) RunAndReturn(...) *MockAptosRpcClient_AccountModule_Call
- type MockAptosRpcClient_AccountResource_Call
- func (_c *MockAptosRpcClient_AccountResource_Call) Return(stringToV map[string]any, err error) *MockAptosRpcClient_AccountResource_Call
- func (_c *MockAptosRpcClient_AccountResource_Call) Run(...) *MockAptosRpcClient_AccountResource_Call
- func (_c *MockAptosRpcClient_AccountResource_Call) RunAndReturn(...) *MockAptosRpcClient_AccountResource_Call
- type MockAptosRpcClient_AccountResourcesBCS_Call
- func (_c *MockAptosRpcClient_AccountResourcesBCS_Call) Return(accountResourceRecords []aptos.AccountResourceRecord, err error) *MockAptosRpcClient_AccountResourcesBCS_Call
- func (_c *MockAptosRpcClient_AccountResourcesBCS_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountResourcesBCS_Call
- func (_c *MockAptosRpcClient_AccountResourcesBCS_Call) RunAndReturn(...) *MockAptosRpcClient_AccountResourcesBCS_Call
- type MockAptosRpcClient_AccountResources_Call
- func (_c *MockAptosRpcClient_AccountResources_Call) Return(accountResourceInfos []aptos.AccountResourceInfo, err error) *MockAptosRpcClient_AccountResources_Call
- func (_c *MockAptosRpcClient_AccountResources_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountResources_Call
- func (_c *MockAptosRpcClient_AccountResources_Call) RunAndReturn(...) *MockAptosRpcClient_AccountResources_Call
- type MockAptosRpcClient_AccountTransactions_Call
- func (_c *MockAptosRpcClient_AccountTransactions_Call) Return(committedTransactions []*api.CommittedTransaction, err error) *MockAptosRpcClient_AccountTransactions_Call
- func (_c *MockAptosRpcClient_AccountTransactions_Call) Run(run func(address aptos.AccountAddress, start *uint64, limit *uint64)) *MockAptosRpcClient_AccountTransactions_Call
- func (_c *MockAptosRpcClient_AccountTransactions_Call) RunAndReturn(...) *MockAptosRpcClient_AccountTransactions_Call
- type MockAptosRpcClient_Account_Call
- func (_c *MockAptosRpcClient_Account_Call) Return(accountInfo aptos.AccountInfo, err error) *MockAptosRpcClient_Account_Call
- func (_c *MockAptosRpcClient_Account_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_Account_Call
- func (_c *MockAptosRpcClient_Account_Call) RunAndReturn(...) *MockAptosRpcClient_Account_Call
- type MockAptosRpcClient_BatchSubmitTransaction_Call
- func (_c *MockAptosRpcClient_BatchSubmitTransaction_Call) Return(batchSubmitTransactionResponse *api.BatchSubmitTransactionResponse, err error) *MockAptosRpcClient_BatchSubmitTransaction_Call
- func (_c *MockAptosRpcClient_BatchSubmitTransaction_Call) Run(run func(signedTxns []*aptos.SignedTransaction)) *MockAptosRpcClient_BatchSubmitTransaction_Call
- func (_c *MockAptosRpcClient_BatchSubmitTransaction_Call) RunAndReturn(...) *MockAptosRpcClient_BatchSubmitTransaction_Call
- type MockAptosRpcClient_BlockByHeight_Call
- func (_c *MockAptosRpcClient_BlockByHeight_Call) Return(block *api.Block, err error) *MockAptosRpcClient_BlockByHeight_Call
- func (_c *MockAptosRpcClient_BlockByHeight_Call) Run(run func(blockHeight uint64, withTransactions bool)) *MockAptosRpcClient_BlockByHeight_Call
- func (_c *MockAptosRpcClient_BlockByHeight_Call) RunAndReturn(run func(blockHeight uint64, withTransactions bool) (*api.Block, error)) *MockAptosRpcClient_BlockByHeight_Call
- type MockAptosRpcClient_BlockByVersion_Call
- func (_c *MockAptosRpcClient_BlockByVersion_Call) Return(block *api.Block, err error) *MockAptosRpcClient_BlockByVersion_Call
- func (_c *MockAptosRpcClient_BlockByVersion_Call) Run(run func(ledgerVersion uint64, withTransactions bool)) *MockAptosRpcClient_BlockByVersion_Call
- func (_c *MockAptosRpcClient_BlockByVersion_Call) RunAndReturn(run func(ledgerVersion uint64, withTransactions bool) (*api.Block, error)) *MockAptosRpcClient_BlockByVersion_Call
- type MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
- func (_c *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) Return(v *api.SubmitTransactionResponse, err error) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
- func (_c *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) Run(...) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
- func (_c *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) RunAndReturn(...) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
- type MockAptosRpcClient_BuildTransactionMultiAgent_Call
- func (_c *MockAptosRpcClient_BuildTransactionMultiAgent_Call) Return(rawTransactionWithData *aptos.RawTransactionWithData, err error) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
- func (_c *MockAptosRpcClient_BuildTransactionMultiAgent_Call) Run(...) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
- func (_c *MockAptosRpcClient_BuildTransactionMultiAgent_Call) RunAndReturn(...) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
- type MockAptosRpcClient_BuildTransaction_Call
- func (_c *MockAptosRpcClient_BuildTransaction_Call) Return(rawTransaction *aptos.RawTransaction, err error) *MockAptosRpcClient_BuildTransaction_Call
- func (_c *MockAptosRpcClient_BuildTransaction_Call) Run(...) *MockAptosRpcClient_BuildTransaction_Call
- func (_c *MockAptosRpcClient_BuildTransaction_Call) RunAndReturn(...) *MockAptosRpcClient_BuildTransaction_Call
- type MockAptosRpcClient_EntryFunctionWithArgs_Call
- func (_c *MockAptosRpcClient_EntryFunctionWithArgs_Call) Return(entryFunction *aptos.EntryFunction, err error) *MockAptosRpcClient_EntryFunctionWithArgs_Call
- func (_c *MockAptosRpcClient_EntryFunctionWithArgs_Call) Run(...) *MockAptosRpcClient_EntryFunctionWithArgs_Call
- func (_c *MockAptosRpcClient_EntryFunctionWithArgs_Call) RunAndReturn(...) *MockAptosRpcClient_EntryFunctionWithArgs_Call
- type MockAptosRpcClient_EstimateGasPrice_Call
- func (_c *MockAptosRpcClient_EstimateGasPrice_Call) Return(estimateGasInfo aptos.EstimateGasInfo, err error) *MockAptosRpcClient_EstimateGasPrice_Call
- func (_c *MockAptosRpcClient_EstimateGasPrice_Call) Run(run func()) *MockAptosRpcClient_EstimateGasPrice_Call
- func (_c *MockAptosRpcClient_EstimateGasPrice_Call) RunAndReturn(run func() (aptos.EstimateGasInfo, error)) *MockAptosRpcClient_EstimateGasPrice_Call
- type MockAptosRpcClient_EventsByCreationNumber_Call
- func (_c *MockAptosRpcClient_EventsByCreationNumber_Call) Return(events []*api.Event, err error) *MockAptosRpcClient_EventsByCreationNumber_Call
- func (_c *MockAptosRpcClient_EventsByCreationNumber_Call) Run(...) *MockAptosRpcClient_EventsByCreationNumber_Call
- func (_c *MockAptosRpcClient_EventsByCreationNumber_Call) RunAndReturn(...) *MockAptosRpcClient_EventsByCreationNumber_Call
- type MockAptosRpcClient_EventsByHandle_Call
- func (_c *MockAptosRpcClient_EventsByHandle_Call) Return(events []*api.Event, err error) *MockAptosRpcClient_EventsByHandle_Call
- func (_c *MockAptosRpcClient_EventsByHandle_Call) Run(...) *MockAptosRpcClient_EventsByHandle_Call
- func (_c *MockAptosRpcClient_EventsByHandle_Call) RunAndReturn(...) *MockAptosRpcClient_EventsByHandle_Call
- type MockAptosRpcClient_Expecter
- func (_e *MockAptosRpcClient_Expecter) Account(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_Account_Call
- func (_e *MockAptosRpcClient_Expecter) AccountAPTBalance(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountAPTBalance_Call
- func (_e *MockAptosRpcClient_Expecter) AccountModule(address interface{}, moduleName interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountModule_Call
- func (_e *MockAptosRpcClient_Expecter) AccountResource(address interface{}, resourceType interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountResource_Call
- func (_e *MockAptosRpcClient_Expecter) AccountResources(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountResources_Call
- func (_e *MockAptosRpcClient_Expecter) AccountResourcesBCS(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountResourcesBCS_Call
- func (_e *MockAptosRpcClient_Expecter) AccountTransactions(address interface{}, start interface{}, limit interface{}) *MockAptosRpcClient_AccountTransactions_Call
- func (_e *MockAptosRpcClient_Expecter) BatchSubmitTransaction(signedTxns interface{}) *MockAptosRpcClient_BatchSubmitTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) BlockByHeight(blockHeight interface{}, withTransactions interface{}) *MockAptosRpcClient_BlockByHeight_Call
- func (_e *MockAptosRpcClient_Expecter) BlockByVersion(ledgerVersion interface{}, withTransactions interface{}) *MockAptosRpcClient_BlockByVersion_Call
- func (_e *MockAptosRpcClient_Expecter) BuildSignAndSubmitTransaction(sender interface{}, payload interface{}, options ...interface{}) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) BuildTransaction(sender interface{}, payload interface{}, options ...interface{}) *MockAptosRpcClient_BuildTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) BuildTransactionMultiAgent(sender interface{}, payload interface{}, options ...interface{}) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
- func (_e *MockAptosRpcClient_Expecter) EntryFunctionWithArgs(moduleAddress interface{}, moduleName interface{}, functionName interface{}, ...) *MockAptosRpcClient_EntryFunctionWithArgs_Call
- func (_e *MockAptosRpcClient_Expecter) EstimateGasPrice() *MockAptosRpcClient_EstimateGasPrice_Call
- func (_e *MockAptosRpcClient_Expecter) EventsByCreationNumber(account interface{}, creationNumber interface{}, start interface{}, ...) *MockAptosRpcClient_EventsByCreationNumber_Call
- func (_e *MockAptosRpcClient_Expecter) EventsByHandle(account interface{}, eventHandle interface{}, fieldName interface{}, ...) *MockAptosRpcClient_EventsByHandle_Call
- func (_e *MockAptosRpcClient_Expecter) GetChainId() *MockAptosRpcClient_GetChainId_Call
- func (_e *MockAptosRpcClient_Expecter) Info() *MockAptosRpcClient_Info_Call
- func (_e *MockAptosRpcClient_Expecter) NodeAPIHealthCheck(durationSecs ...interface{}) *MockAptosRpcClient_NodeAPIHealthCheck_Call
- func (_e *MockAptosRpcClient_Expecter) PollForTransaction(hash interface{}, options ...interface{}) *MockAptosRpcClient_PollForTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) PollForTransactions(txnHashes interface{}, options ...interface{}) *MockAptosRpcClient_PollForTransactions_Call
- func (_e *MockAptosRpcClient_Expecter) RemoveHeader(key interface{}) *MockAptosRpcClient_RemoveHeader_Call
- func (_e *MockAptosRpcClient_Expecter) SetHeader(key interface{}, value interface{}) *MockAptosRpcClient_SetHeader_Call
- func (_e *MockAptosRpcClient_Expecter) SetTimeout(timeout interface{}) *MockAptosRpcClient_SetTimeout_Call
- func (_e *MockAptosRpcClient_Expecter) SimulateTransaction(rawTxn interface{}, sender interface{}, options ...interface{}) *MockAptosRpcClient_SimulateTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) SimulateTransactionMultiAgent(rawTxn interface{}, sender interface{}, options ...interface{}) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
- func (_e *MockAptosRpcClient_Expecter) SubmitTransaction(signedTransaction interface{}) *MockAptosRpcClient_SubmitTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) TransactionByHash(txnHash interface{}) *MockAptosRpcClient_TransactionByHash_Call
- func (_e *MockAptosRpcClient_Expecter) TransactionByVersion(version interface{}) *MockAptosRpcClient_TransactionByVersion_Call
- func (_e *MockAptosRpcClient_Expecter) Transactions(start interface{}, limit interface{}) *MockAptosRpcClient_Transactions_Call
- func (_e *MockAptosRpcClient_Expecter) View(payload interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_View_Call
- func (_e *MockAptosRpcClient_Expecter) WaitForTransaction(txnHash interface{}, options ...interface{}) *MockAptosRpcClient_WaitForTransaction_Call
- func (_e *MockAptosRpcClient_Expecter) WaitTransactionByHash(txnHash interface{}) *MockAptosRpcClient_WaitTransactionByHash_Call
- type MockAptosRpcClient_GetChainId_Call
- func (_c *MockAptosRpcClient_GetChainId_Call) Return(v uint8, err error) *MockAptosRpcClient_GetChainId_Call
- func (_c *MockAptosRpcClient_GetChainId_Call) Run(run func()) *MockAptosRpcClient_GetChainId_Call
- func (_c *MockAptosRpcClient_GetChainId_Call) RunAndReturn(run func() (uint8, error)) *MockAptosRpcClient_GetChainId_Call
- type MockAptosRpcClient_Info_Call
- func (_c *MockAptosRpcClient_Info_Call) Return(nodeInfo aptos.NodeInfo, err error) *MockAptosRpcClient_Info_Call
- func (_c *MockAptosRpcClient_Info_Call) Run(run func()) *MockAptosRpcClient_Info_Call
- func (_c *MockAptosRpcClient_Info_Call) RunAndReturn(run func() (aptos.NodeInfo, error)) *MockAptosRpcClient_Info_Call
- type MockAptosRpcClient_NodeAPIHealthCheck_Call
- func (_c *MockAptosRpcClient_NodeAPIHealthCheck_Call) Return(healthCheckResponse api.HealthCheckResponse, err error) *MockAptosRpcClient_NodeAPIHealthCheck_Call
- func (_c *MockAptosRpcClient_NodeAPIHealthCheck_Call) Run(run func(durationSecs ...uint64)) *MockAptosRpcClient_NodeAPIHealthCheck_Call
- func (_c *MockAptosRpcClient_NodeAPIHealthCheck_Call) RunAndReturn(run func(durationSecs ...uint64) (api.HealthCheckResponse, error)) *MockAptosRpcClient_NodeAPIHealthCheck_Call
- type MockAptosRpcClient_PollForTransaction_Call
- func (_c *MockAptosRpcClient_PollForTransaction_Call) Return(userTransaction *api.UserTransaction, err error) *MockAptosRpcClient_PollForTransaction_Call
- func (_c *MockAptosRpcClient_PollForTransaction_Call) Run(run func(hash string, options ...any)) *MockAptosRpcClient_PollForTransaction_Call
- func (_c *MockAptosRpcClient_PollForTransaction_Call) RunAndReturn(run func(hash string, options ...any) (*api.UserTransaction, error)) *MockAptosRpcClient_PollForTransaction_Call
- type MockAptosRpcClient_PollForTransactions_Call
- func (_c *MockAptosRpcClient_PollForTransactions_Call) Return(err error) *MockAptosRpcClient_PollForTransactions_Call
- func (_c *MockAptosRpcClient_PollForTransactions_Call) Run(run func(txnHashes []string, options ...any)) *MockAptosRpcClient_PollForTransactions_Call
- func (_c *MockAptosRpcClient_PollForTransactions_Call) RunAndReturn(run func(txnHashes []string, options ...any) error) *MockAptosRpcClient_PollForTransactions_Call
- type MockAptosRpcClient_RemoveHeader_Call
- func (_c *MockAptosRpcClient_RemoveHeader_Call) Return() *MockAptosRpcClient_RemoveHeader_Call
- func (_c *MockAptosRpcClient_RemoveHeader_Call) Run(run func(key string)) *MockAptosRpcClient_RemoveHeader_Call
- func (_c *MockAptosRpcClient_RemoveHeader_Call) RunAndReturn(run func(key string)) *MockAptosRpcClient_RemoveHeader_Call
- type MockAptosRpcClient_SetHeader_Call
- func (_c *MockAptosRpcClient_SetHeader_Call) Return() *MockAptosRpcClient_SetHeader_Call
- func (_c *MockAptosRpcClient_SetHeader_Call) Run(run func(key string, value string)) *MockAptosRpcClient_SetHeader_Call
- func (_c *MockAptosRpcClient_SetHeader_Call) RunAndReturn(run func(key string, value string)) *MockAptosRpcClient_SetHeader_Call
- type MockAptosRpcClient_SetTimeout_Call
- func (_c *MockAptosRpcClient_SetTimeout_Call) Return() *MockAptosRpcClient_SetTimeout_Call
- func (_c *MockAptosRpcClient_SetTimeout_Call) Run(run func(timeout time.Duration)) *MockAptosRpcClient_SetTimeout_Call
- func (_c *MockAptosRpcClient_SetTimeout_Call) RunAndReturn(run func(timeout time.Duration)) *MockAptosRpcClient_SetTimeout_Call
- type MockAptosRpcClient_SimulateTransactionMultiAgent_Call
- func (_c *MockAptosRpcClient_SimulateTransactionMultiAgent_Call) Return(userTransactions []*api.UserTransaction, err error) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
- func (_c *MockAptosRpcClient_SimulateTransactionMultiAgent_Call) Run(...) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
- func (_c *MockAptosRpcClient_SimulateTransactionMultiAgent_Call) RunAndReturn(...) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
- type MockAptosRpcClient_SimulateTransaction_Call
- func (_c *MockAptosRpcClient_SimulateTransaction_Call) Return(userTransactions []*api.UserTransaction, err error) *MockAptosRpcClient_SimulateTransaction_Call
- func (_c *MockAptosRpcClient_SimulateTransaction_Call) Run(...) *MockAptosRpcClient_SimulateTransaction_Call
- func (_c *MockAptosRpcClient_SimulateTransaction_Call) RunAndReturn(...) *MockAptosRpcClient_SimulateTransaction_Call
- type MockAptosRpcClient_SubmitTransaction_Call
- func (_c *MockAptosRpcClient_SubmitTransaction_Call) Return(v *api.SubmitTransactionResponse, err error) *MockAptosRpcClient_SubmitTransaction_Call
- func (_c *MockAptosRpcClient_SubmitTransaction_Call) Run(run func(signedTransaction *aptos.SignedTransaction)) *MockAptosRpcClient_SubmitTransaction_Call
- func (_c *MockAptosRpcClient_SubmitTransaction_Call) RunAndReturn(...) *MockAptosRpcClient_SubmitTransaction_Call
- type MockAptosRpcClient_TransactionByHash_Call
- func (_c *MockAptosRpcClient_TransactionByHash_Call) Return(transaction *api.Transaction, err error) *MockAptosRpcClient_TransactionByHash_Call
- func (_c *MockAptosRpcClient_TransactionByHash_Call) Run(run func(txnHash string)) *MockAptosRpcClient_TransactionByHash_Call
- func (_c *MockAptosRpcClient_TransactionByHash_Call) RunAndReturn(run func(txnHash string) (*api.Transaction, error)) *MockAptosRpcClient_TransactionByHash_Call
- type MockAptosRpcClient_TransactionByVersion_Call
- func (_c *MockAptosRpcClient_TransactionByVersion_Call) Return(committedTransaction *api.CommittedTransaction, err error) *MockAptosRpcClient_TransactionByVersion_Call
- func (_c *MockAptosRpcClient_TransactionByVersion_Call) Run(run func(version uint64)) *MockAptosRpcClient_TransactionByVersion_Call
- func (_c *MockAptosRpcClient_TransactionByVersion_Call) RunAndReturn(run func(version uint64) (*api.CommittedTransaction, error)) *MockAptosRpcClient_TransactionByVersion_Call
- type MockAptosRpcClient_Transactions_Call
- func (_c *MockAptosRpcClient_Transactions_Call) Return(committedTransactions []*api.CommittedTransaction, err error) *MockAptosRpcClient_Transactions_Call
- func (_c *MockAptosRpcClient_Transactions_Call) Run(run func(start *uint64, limit *uint64)) *MockAptosRpcClient_Transactions_Call
- func (_c *MockAptosRpcClient_Transactions_Call) RunAndReturn(run func(start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)) *MockAptosRpcClient_Transactions_Call
- type MockAptosRpcClient_View_Call
- func (_c *MockAptosRpcClient_View_Call) Return(vs []any, err error) *MockAptosRpcClient_View_Call
- func (_c *MockAptosRpcClient_View_Call) Run(run func(payload *aptos.ViewPayload, ledgerVersion ...uint64)) *MockAptosRpcClient_View_Call
- func (_c *MockAptosRpcClient_View_Call) RunAndReturn(run func(payload *aptos.ViewPayload, ledgerVersion ...uint64) ([]any, error)) *MockAptosRpcClient_View_Call
- type MockAptosRpcClient_WaitForTransaction_Call
- func (_c *MockAptosRpcClient_WaitForTransaction_Call) Return(userTransaction *api.UserTransaction, err error) *MockAptosRpcClient_WaitForTransaction_Call
- func (_c *MockAptosRpcClient_WaitForTransaction_Call) Run(run func(txnHash string, options ...any)) *MockAptosRpcClient_WaitForTransaction_Call
- func (_c *MockAptosRpcClient_WaitForTransaction_Call) RunAndReturn(run func(txnHash string, options ...any) (*api.UserTransaction, error)) *MockAptosRpcClient_WaitForTransaction_Call
- type MockAptosRpcClient_WaitTransactionByHash_Call
- func (_c *MockAptosRpcClient_WaitTransactionByHash_Call) Return(transaction *api.Transaction, err error) *MockAptosRpcClient_WaitTransactionByHash_Call
- func (_c *MockAptosRpcClient_WaitTransactionByHash_Call) Run(run func(txnHash string)) *MockAptosRpcClient_WaitTransactionByHash_Call
- func (_c *MockAptosRpcClient_WaitTransactionByHash_Call) RunAndReturn(run func(txnHash string) (*api.Transaction, error)) *MockAptosRpcClient_WaitTransactionByHash_Call
- type MockTransactionSigner
- func (_mock *MockTransactionSigner) AccountAddress() aptos.AccountAddress
- func (_mock *MockTransactionSigner) AuthKey() *crypto.AuthenticationKey
- func (_m *MockTransactionSigner) EXPECT() *MockTransactionSigner_Expecter
- func (_mock *MockTransactionSigner) PubKey() crypto.PublicKey
- func (_mock *MockTransactionSigner) Sign(msg []byte) (*crypto.AccountAuthenticator, error)
- func (_mock *MockTransactionSigner) SignMessage(msg []byte) (crypto.Signature, error)
- func (_mock *MockTransactionSigner) SimulationAuthenticator() *crypto.AccountAuthenticator
- type MockTransactionSigner_AccountAddress_Call
- func (_c *MockTransactionSigner_AccountAddress_Call) Return(v aptos.AccountAddress) *MockTransactionSigner_AccountAddress_Call
- func (_c *MockTransactionSigner_AccountAddress_Call) Run(run func()) *MockTransactionSigner_AccountAddress_Call
- func (_c *MockTransactionSigner_AccountAddress_Call) RunAndReturn(run func() aptos.AccountAddress) *MockTransactionSigner_AccountAddress_Call
- type MockTransactionSigner_AuthKey_Call
- func (_c *MockTransactionSigner_AuthKey_Call) Return(authenticationKey *crypto.AuthenticationKey) *MockTransactionSigner_AuthKey_Call
- func (_c *MockTransactionSigner_AuthKey_Call) Run(run func()) *MockTransactionSigner_AuthKey_Call
- func (_c *MockTransactionSigner_AuthKey_Call) RunAndReturn(run func() *crypto.AuthenticationKey) *MockTransactionSigner_AuthKey_Call
- type MockTransactionSigner_Expecter
- func (_e *MockTransactionSigner_Expecter) AccountAddress() *MockTransactionSigner_AccountAddress_Call
- func (_e *MockTransactionSigner_Expecter) AuthKey() *MockTransactionSigner_AuthKey_Call
- func (_e *MockTransactionSigner_Expecter) PubKey() *MockTransactionSigner_PubKey_Call
- func (_e *MockTransactionSigner_Expecter) Sign(msg interface{}) *MockTransactionSigner_Sign_Call
- func (_e *MockTransactionSigner_Expecter) SignMessage(msg interface{}) *MockTransactionSigner_SignMessage_Call
- func (_e *MockTransactionSigner_Expecter) SimulationAuthenticator() *MockTransactionSigner_SimulationAuthenticator_Call
- type MockTransactionSigner_PubKey_Call
- func (_c *MockTransactionSigner_PubKey_Call) Return(publicKey crypto.PublicKey) *MockTransactionSigner_PubKey_Call
- func (_c *MockTransactionSigner_PubKey_Call) Run(run func()) *MockTransactionSigner_PubKey_Call
- func (_c *MockTransactionSigner_PubKey_Call) RunAndReturn(run func() crypto.PublicKey) *MockTransactionSigner_PubKey_Call
- type MockTransactionSigner_SignMessage_Call
- func (_c *MockTransactionSigner_SignMessage_Call) Return(signature crypto.Signature, err error) *MockTransactionSigner_SignMessage_Call
- func (_c *MockTransactionSigner_SignMessage_Call) Run(run func(msg []byte)) *MockTransactionSigner_SignMessage_Call
- func (_c *MockTransactionSigner_SignMessage_Call) RunAndReturn(run func(msg []byte) (crypto.Signature, error)) *MockTransactionSigner_SignMessage_Call
- type MockTransactionSigner_Sign_Call
- func (_c *MockTransactionSigner_Sign_Call) Return(authenticator *crypto.AccountAuthenticator, err error) *MockTransactionSigner_Sign_Call
- func (_c *MockTransactionSigner_Sign_Call) Run(run func(msg []byte)) *MockTransactionSigner_Sign_Call
- func (_c *MockTransactionSigner_Sign_Call) RunAndReturn(run func(msg []byte) (*crypto.AccountAuthenticator, error)) *MockTransactionSigner_Sign_Call
- type MockTransactionSigner_SimulationAuthenticator_Call
- func (_c *MockTransactionSigner_SimulationAuthenticator_Call) Return(accountAuthenticator *crypto.AccountAuthenticator) *MockTransactionSigner_SimulationAuthenticator_Call
- func (_c *MockTransactionSigner_SimulationAuthenticator_Call) Run(run func()) *MockTransactionSigner_SimulationAuthenticator_Call
- func (_c *MockTransactionSigner_SimulationAuthenticator_Call) RunAndReturn(run func() *crypto.AccountAuthenticator) *MockTransactionSigner_SimulationAuthenticator_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAptosRpcClient ¶
MockAptosRpcClient is an autogenerated mock type for the AptosRpcClient type
func NewMockAptosRpcClient ¶
func NewMockAptosRpcClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockAptosRpcClient
NewMockAptosRpcClient creates a new instance of MockAptosRpcClient. 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 (*MockAptosRpcClient) Account ¶
func (_mock *MockAptosRpcClient) Account(address aptos.AccountAddress, ledgerVersion ...uint64) (aptos.AccountInfo, error)
Account provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) AccountAPTBalance ¶
func (_mock *MockAptosRpcClient) AccountAPTBalance(address aptos.AccountAddress, ledgerVersion ...uint64) (uint64, error)
AccountAPTBalance provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) AccountModule ¶
func (_mock *MockAptosRpcClient) AccountModule(address aptos.AccountAddress, moduleName string, ledgerVersion ...uint64) (*api.MoveBytecode, error)
AccountModule provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) AccountResource ¶
func (_mock *MockAptosRpcClient) AccountResource(address aptos.AccountAddress, resourceType string, ledgerVersion ...uint64) (map[string]any, error)
AccountResource provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) AccountResources ¶
func (_mock *MockAptosRpcClient) AccountResources(address aptos.AccountAddress, ledgerVersion ...uint64) ([]aptos.AccountResourceInfo, error)
AccountResources provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) AccountResourcesBCS ¶
func (_mock *MockAptosRpcClient) AccountResourcesBCS(address aptos.AccountAddress, ledgerVersion ...uint64) ([]aptos.AccountResourceRecord, error)
AccountResourcesBCS provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) AccountTransactions ¶
func (_mock *MockAptosRpcClient) AccountTransactions(address aptos.AccountAddress, start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)
AccountTransactions provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) BatchSubmitTransaction ¶
func (_mock *MockAptosRpcClient) BatchSubmitTransaction(signedTxns []*aptos.SignedTransaction) (*api.BatchSubmitTransactionResponse, error)
BatchSubmitTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) BlockByHeight ¶
func (_mock *MockAptosRpcClient) BlockByHeight(blockHeight uint64, withTransactions bool) (*api.Block, error)
BlockByHeight provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) BlockByVersion ¶
func (_mock *MockAptosRpcClient) BlockByVersion(ledgerVersion uint64, withTransactions bool) (*api.Block, error)
BlockByVersion provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) BuildSignAndSubmitTransaction ¶
func (_mock *MockAptosRpcClient) BuildSignAndSubmitTransaction(sender aptos.TransactionSigner, payload aptos.TransactionPayload, options ...any) (*api.SubmitTransactionResponse, error)
BuildSignAndSubmitTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) BuildTransaction ¶
func (_mock *MockAptosRpcClient) BuildTransaction(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any) (*aptos.RawTransaction, error)
BuildTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) BuildTransactionMultiAgent ¶
func (_mock *MockAptosRpcClient) BuildTransactionMultiAgent(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any) (*aptos.RawTransactionWithData, error)
BuildTransactionMultiAgent provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) EXPECT ¶
func (_m *MockAptosRpcClient) EXPECT() *MockAptosRpcClient_Expecter
func (*MockAptosRpcClient) EntryFunctionWithArgs ¶
func (_mock *MockAptosRpcClient) EntryFunctionWithArgs(moduleAddress aptos.AccountAddress, moduleName string, functionName string, typeArgs []any, args []any, options ...any) (*aptos.EntryFunction, error)
EntryFunctionWithArgs provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) EstimateGasPrice ¶
func (_mock *MockAptosRpcClient) EstimateGasPrice() (aptos.EstimateGasInfo, error)
EstimateGasPrice provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) EventsByCreationNumber ¶
func (_mock *MockAptosRpcClient) EventsByCreationNumber(account aptos.AccountAddress, creationNumber string, start *uint64, limit *uint64) ([]*api.Event, error)
EventsByCreationNumber provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) EventsByHandle ¶
func (_mock *MockAptosRpcClient) EventsByHandle(account aptos.AccountAddress, eventHandle string, fieldName string, start *uint64, limit *uint64) ([]*api.Event, error)
EventsByHandle provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) GetChainId ¶
func (_mock *MockAptosRpcClient) GetChainId() (uint8, error)
GetChainId provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) Info ¶
func (_mock *MockAptosRpcClient) Info() (aptos.NodeInfo, error)
Info provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) NodeAPIHealthCheck ¶
func (_mock *MockAptosRpcClient) NodeAPIHealthCheck(durationSecs ...uint64) (api.HealthCheckResponse, error)
NodeAPIHealthCheck provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) PollForTransaction ¶
func (_mock *MockAptosRpcClient) PollForTransaction(hash string, options ...any) (*api.UserTransaction, error)
PollForTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) PollForTransactions ¶
func (_mock *MockAptosRpcClient) PollForTransactions(txnHashes []string, options ...any) error
PollForTransactions provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) RemoveHeader ¶
func (_mock *MockAptosRpcClient) RemoveHeader(key string)
RemoveHeader provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) SetHeader ¶
func (_mock *MockAptosRpcClient) SetHeader(key string, value string)
SetHeader provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) SetTimeout ¶
func (_mock *MockAptosRpcClient) SetTimeout(timeout time.Duration)
SetTimeout provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) SimulateTransaction ¶
func (_mock *MockAptosRpcClient) SimulateTransaction(rawTxn *aptos.RawTransaction, sender aptos.TransactionSigner, options ...any) ([]*api.UserTransaction, error)
SimulateTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) SimulateTransactionMultiAgent ¶
func (_mock *MockAptosRpcClient) SimulateTransactionMultiAgent(rawTxn *aptos.RawTransactionWithData, sender aptos.TransactionSigner, options ...any) ([]*api.UserTransaction, error)
SimulateTransactionMultiAgent provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) SubmitTransaction ¶
func (_mock *MockAptosRpcClient) SubmitTransaction(signedTransaction *aptos.SignedTransaction) (*api.SubmitTransactionResponse, error)
SubmitTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) TransactionByHash ¶
func (_mock *MockAptosRpcClient) TransactionByHash(txnHash string) (*api.Transaction, error)
TransactionByHash provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) TransactionByVersion ¶
func (_mock *MockAptosRpcClient) TransactionByVersion(version uint64) (*api.CommittedTransaction, error)
TransactionByVersion provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) Transactions ¶
func (_mock *MockAptosRpcClient) Transactions(start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)
Transactions provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) View ¶
func (_mock *MockAptosRpcClient) View(payload *aptos.ViewPayload, ledgerVersion ...uint64) ([]any, error)
View provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) WaitForTransaction ¶
func (_mock *MockAptosRpcClient) WaitForTransaction(txnHash string, options ...any) (*api.UserTransaction, error)
WaitForTransaction provides a mock function for the type MockAptosRpcClient
func (*MockAptosRpcClient) WaitTransactionByHash ¶
func (_mock *MockAptosRpcClient) WaitTransactionByHash(txnHash string) (*api.Transaction, error)
WaitTransactionByHash provides a mock function for the type MockAptosRpcClient
type MockAptosRpcClient_AccountAPTBalance_Call ¶
MockAptosRpcClient_AccountAPTBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountAPTBalance'
func (*MockAptosRpcClient_AccountAPTBalance_Call) Return ¶
func (_c *MockAptosRpcClient_AccountAPTBalance_Call) Return(v uint64, err error) *MockAptosRpcClient_AccountAPTBalance_Call
func (*MockAptosRpcClient_AccountAPTBalance_Call) Run ¶
func (_c *MockAptosRpcClient_AccountAPTBalance_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountAPTBalance_Call
func (*MockAptosRpcClient_AccountAPTBalance_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_AccountAPTBalance_Call) RunAndReturn(run func(address aptos.AccountAddress, ledgerVersion ...uint64) (uint64, error)) *MockAptosRpcClient_AccountAPTBalance_Call
type MockAptosRpcClient_AccountModule_Call ¶
MockAptosRpcClient_AccountModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountModule'
func (*MockAptosRpcClient_AccountModule_Call) Return ¶
func (_c *MockAptosRpcClient_AccountModule_Call) Return(moveBytecode *api.MoveBytecode, err error) *MockAptosRpcClient_AccountModule_Call
func (*MockAptosRpcClient_AccountModule_Call) Run ¶
func (_c *MockAptosRpcClient_AccountModule_Call) Run(run func(address aptos.AccountAddress, moduleName string, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountModule_Call
func (*MockAptosRpcClient_AccountModule_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_AccountModule_Call) RunAndReturn(run func(address aptos.AccountAddress, moduleName string, ledgerVersion ...uint64) (*api.MoveBytecode, error)) *MockAptosRpcClient_AccountModule_Call
type MockAptosRpcClient_AccountResource_Call ¶
MockAptosRpcClient_AccountResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountResource'
func (*MockAptosRpcClient_AccountResource_Call) Return ¶
func (_c *MockAptosRpcClient_AccountResource_Call) Return(stringToV map[string]any, err error) *MockAptosRpcClient_AccountResource_Call
func (*MockAptosRpcClient_AccountResource_Call) Run ¶
func (_c *MockAptosRpcClient_AccountResource_Call) Run(run func(address aptos.AccountAddress, resourceType string, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountResource_Call
func (*MockAptosRpcClient_AccountResource_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_AccountResource_Call) RunAndReturn(run func(address aptos.AccountAddress, resourceType string, ledgerVersion ...uint64) (map[string]any, error)) *MockAptosRpcClient_AccountResource_Call
type MockAptosRpcClient_AccountResourcesBCS_Call ¶
MockAptosRpcClient_AccountResourcesBCS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountResourcesBCS'
func (*MockAptosRpcClient_AccountResourcesBCS_Call) Return ¶
func (_c *MockAptosRpcClient_AccountResourcesBCS_Call) Return(accountResourceRecords []aptos.AccountResourceRecord, err error) *MockAptosRpcClient_AccountResourcesBCS_Call
func (*MockAptosRpcClient_AccountResourcesBCS_Call) Run ¶
func (_c *MockAptosRpcClient_AccountResourcesBCS_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountResourcesBCS_Call
func (*MockAptosRpcClient_AccountResourcesBCS_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_AccountResourcesBCS_Call) RunAndReturn(run func(address aptos.AccountAddress, ledgerVersion ...uint64) ([]aptos.AccountResourceRecord, error)) *MockAptosRpcClient_AccountResourcesBCS_Call
type MockAptosRpcClient_AccountResources_Call ¶
MockAptosRpcClient_AccountResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountResources'
func (*MockAptosRpcClient_AccountResources_Call) Return ¶
func (_c *MockAptosRpcClient_AccountResources_Call) Return(accountResourceInfos []aptos.AccountResourceInfo, err error) *MockAptosRpcClient_AccountResources_Call
func (*MockAptosRpcClient_AccountResources_Call) Run ¶
func (_c *MockAptosRpcClient_AccountResources_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_AccountResources_Call
func (*MockAptosRpcClient_AccountResources_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_AccountResources_Call) RunAndReturn(run func(address aptos.AccountAddress, ledgerVersion ...uint64) ([]aptos.AccountResourceInfo, error)) *MockAptosRpcClient_AccountResources_Call
type MockAptosRpcClient_AccountTransactions_Call ¶
MockAptosRpcClient_AccountTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountTransactions'
func (*MockAptosRpcClient_AccountTransactions_Call) Return ¶
func (_c *MockAptosRpcClient_AccountTransactions_Call) Return(committedTransactions []*api.CommittedTransaction, err error) *MockAptosRpcClient_AccountTransactions_Call
func (*MockAptosRpcClient_AccountTransactions_Call) Run ¶
func (_c *MockAptosRpcClient_AccountTransactions_Call) Run(run func(address aptos.AccountAddress, start *uint64, limit *uint64)) *MockAptosRpcClient_AccountTransactions_Call
func (*MockAptosRpcClient_AccountTransactions_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_AccountTransactions_Call) RunAndReturn(run func(address aptos.AccountAddress, start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)) *MockAptosRpcClient_AccountTransactions_Call
type MockAptosRpcClient_Account_Call ¶
MockAptosRpcClient_Account_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Account'
func (*MockAptosRpcClient_Account_Call) Return ¶
func (_c *MockAptosRpcClient_Account_Call) Return(accountInfo aptos.AccountInfo, err error) *MockAptosRpcClient_Account_Call
func (*MockAptosRpcClient_Account_Call) Run ¶
func (_c *MockAptosRpcClient_Account_Call) Run(run func(address aptos.AccountAddress, ledgerVersion ...uint64)) *MockAptosRpcClient_Account_Call
func (*MockAptosRpcClient_Account_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_Account_Call) RunAndReturn(run func(address aptos.AccountAddress, ledgerVersion ...uint64) (aptos.AccountInfo, error)) *MockAptosRpcClient_Account_Call
type MockAptosRpcClient_BatchSubmitTransaction_Call ¶
MockAptosRpcClient_BatchSubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchSubmitTransaction'
func (*MockAptosRpcClient_BatchSubmitTransaction_Call) Return ¶
func (_c *MockAptosRpcClient_BatchSubmitTransaction_Call) Return(batchSubmitTransactionResponse *api.BatchSubmitTransactionResponse, err error) *MockAptosRpcClient_BatchSubmitTransaction_Call
func (*MockAptosRpcClient_BatchSubmitTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_BatchSubmitTransaction_Call) Run(run func(signedTxns []*aptos.SignedTransaction)) *MockAptosRpcClient_BatchSubmitTransaction_Call
func (*MockAptosRpcClient_BatchSubmitTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_BatchSubmitTransaction_Call) RunAndReturn(run func(signedTxns []*aptos.SignedTransaction) (*api.BatchSubmitTransactionResponse, error)) *MockAptosRpcClient_BatchSubmitTransaction_Call
type MockAptosRpcClient_BlockByHeight_Call ¶
MockAptosRpcClient_BlockByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHeight'
func (*MockAptosRpcClient_BlockByHeight_Call) Return ¶
func (_c *MockAptosRpcClient_BlockByHeight_Call) Return(block *api.Block, err error) *MockAptosRpcClient_BlockByHeight_Call
func (*MockAptosRpcClient_BlockByHeight_Call) Run ¶
func (_c *MockAptosRpcClient_BlockByHeight_Call) Run(run func(blockHeight uint64, withTransactions bool)) *MockAptosRpcClient_BlockByHeight_Call
func (*MockAptosRpcClient_BlockByHeight_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_BlockByHeight_Call) RunAndReturn(run func(blockHeight uint64, withTransactions bool) (*api.Block, error)) *MockAptosRpcClient_BlockByHeight_Call
type MockAptosRpcClient_BlockByVersion_Call ¶
MockAptosRpcClient_BlockByVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByVersion'
func (*MockAptosRpcClient_BlockByVersion_Call) Return ¶
func (_c *MockAptosRpcClient_BlockByVersion_Call) Return(block *api.Block, err error) *MockAptosRpcClient_BlockByVersion_Call
func (*MockAptosRpcClient_BlockByVersion_Call) Run ¶
func (_c *MockAptosRpcClient_BlockByVersion_Call) Run(run func(ledgerVersion uint64, withTransactions bool)) *MockAptosRpcClient_BlockByVersion_Call
func (*MockAptosRpcClient_BlockByVersion_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_BlockByVersion_Call) RunAndReturn(run func(ledgerVersion uint64, withTransactions bool) (*api.Block, error)) *MockAptosRpcClient_BlockByVersion_Call
type MockAptosRpcClient_BuildSignAndSubmitTransaction_Call ¶
MockAptosRpcClient_BuildSignAndSubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildSignAndSubmitTransaction'
func (*MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) Run(run func(sender aptos.TransactionSigner, payload aptos.TransactionPayload, options ...any)) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
func (*MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call) RunAndReturn(run func(sender aptos.TransactionSigner, payload aptos.TransactionPayload, options ...any) (*api.SubmitTransactionResponse, error)) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
type MockAptosRpcClient_BuildTransactionMultiAgent_Call ¶
MockAptosRpcClient_BuildTransactionMultiAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildTransactionMultiAgent'
func (*MockAptosRpcClient_BuildTransactionMultiAgent_Call) Return ¶
func (_c *MockAptosRpcClient_BuildTransactionMultiAgent_Call) Return(rawTransactionWithData *aptos.RawTransactionWithData, err error) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
func (*MockAptosRpcClient_BuildTransactionMultiAgent_Call) Run ¶
func (_c *MockAptosRpcClient_BuildTransactionMultiAgent_Call) Run(run func(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any)) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
func (*MockAptosRpcClient_BuildTransactionMultiAgent_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_BuildTransactionMultiAgent_Call) RunAndReturn(run func(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any) (*aptos.RawTransactionWithData, error)) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
type MockAptosRpcClient_BuildTransaction_Call ¶
MockAptosRpcClient_BuildTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildTransaction'
func (*MockAptosRpcClient_BuildTransaction_Call) Return ¶
func (_c *MockAptosRpcClient_BuildTransaction_Call) Return(rawTransaction *aptos.RawTransaction, err error) *MockAptosRpcClient_BuildTransaction_Call
func (*MockAptosRpcClient_BuildTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_BuildTransaction_Call) Run(run func(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any)) *MockAptosRpcClient_BuildTransaction_Call
func (*MockAptosRpcClient_BuildTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_BuildTransaction_Call) RunAndReturn(run func(sender aptos.AccountAddress, payload aptos.TransactionPayload, options ...any) (*aptos.RawTransaction, error)) *MockAptosRpcClient_BuildTransaction_Call
type MockAptosRpcClient_EntryFunctionWithArgs_Call ¶
MockAptosRpcClient_EntryFunctionWithArgs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EntryFunctionWithArgs'
func (*MockAptosRpcClient_EntryFunctionWithArgs_Call) Return ¶
func (_c *MockAptosRpcClient_EntryFunctionWithArgs_Call) Return(entryFunction *aptos.EntryFunction, err error) *MockAptosRpcClient_EntryFunctionWithArgs_Call
func (*MockAptosRpcClient_EntryFunctionWithArgs_Call) Run ¶
func (_c *MockAptosRpcClient_EntryFunctionWithArgs_Call) Run(run func(moduleAddress aptos.AccountAddress, moduleName string, functionName string, typeArgs []any, args []any, options ...any)) *MockAptosRpcClient_EntryFunctionWithArgs_Call
func (*MockAptosRpcClient_EntryFunctionWithArgs_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_EntryFunctionWithArgs_Call) RunAndReturn(run func(moduleAddress aptos.AccountAddress, moduleName string, functionName string, typeArgs []any, args []any, options ...any) (*aptos.EntryFunction, error)) *MockAptosRpcClient_EntryFunctionWithArgs_Call
type MockAptosRpcClient_EstimateGasPrice_Call ¶
MockAptosRpcClient_EstimateGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGasPrice'
func (*MockAptosRpcClient_EstimateGasPrice_Call) Return ¶
func (_c *MockAptosRpcClient_EstimateGasPrice_Call) Return(estimateGasInfo aptos.EstimateGasInfo, err error) *MockAptosRpcClient_EstimateGasPrice_Call
func (*MockAptosRpcClient_EstimateGasPrice_Call) Run ¶
func (_c *MockAptosRpcClient_EstimateGasPrice_Call) Run(run func()) *MockAptosRpcClient_EstimateGasPrice_Call
func (*MockAptosRpcClient_EstimateGasPrice_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_EstimateGasPrice_Call) RunAndReturn(run func() (aptos.EstimateGasInfo, error)) *MockAptosRpcClient_EstimateGasPrice_Call
type MockAptosRpcClient_EventsByCreationNumber_Call ¶
MockAptosRpcClient_EventsByCreationNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsByCreationNumber'
func (*MockAptosRpcClient_EventsByCreationNumber_Call) Return ¶
func (_c *MockAptosRpcClient_EventsByCreationNumber_Call) Return(events []*api.Event, err error) *MockAptosRpcClient_EventsByCreationNumber_Call
func (*MockAptosRpcClient_EventsByCreationNumber_Call) Run ¶
func (_c *MockAptosRpcClient_EventsByCreationNumber_Call) Run(run func(account aptos.AccountAddress, creationNumber string, start *uint64, limit *uint64)) *MockAptosRpcClient_EventsByCreationNumber_Call
func (*MockAptosRpcClient_EventsByCreationNumber_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_EventsByCreationNumber_Call) RunAndReturn(run func(account aptos.AccountAddress, creationNumber string, start *uint64, limit *uint64) ([]*api.Event, error)) *MockAptosRpcClient_EventsByCreationNumber_Call
type MockAptosRpcClient_EventsByHandle_Call ¶
MockAptosRpcClient_EventsByHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsByHandle'
func (*MockAptosRpcClient_EventsByHandle_Call) Return ¶
func (_c *MockAptosRpcClient_EventsByHandle_Call) Return(events []*api.Event, err error) *MockAptosRpcClient_EventsByHandle_Call
func (*MockAptosRpcClient_EventsByHandle_Call) Run ¶
func (_c *MockAptosRpcClient_EventsByHandle_Call) Run(run func(account aptos.AccountAddress, eventHandle string, fieldName string, start *uint64, limit *uint64)) *MockAptosRpcClient_EventsByHandle_Call
func (*MockAptosRpcClient_EventsByHandle_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_EventsByHandle_Call) RunAndReturn(run func(account aptos.AccountAddress, eventHandle string, fieldName string, start *uint64, limit *uint64) ([]*api.Event, error)) *MockAptosRpcClient_EventsByHandle_Call
type MockAptosRpcClient_Expecter ¶
type MockAptosRpcClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAptosRpcClient_Expecter) Account ¶
func (_e *MockAptosRpcClient_Expecter) Account(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_Account_Call
Account is a helper method to define mock.On call
- address aptos.AccountAddress
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) AccountAPTBalance ¶
func (_e *MockAptosRpcClient_Expecter) AccountAPTBalance(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountAPTBalance_Call
AccountAPTBalance is a helper method to define mock.On call
- address aptos.AccountAddress
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) AccountModule ¶
func (_e *MockAptosRpcClient_Expecter) AccountModule(address interface{}, moduleName interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountModule_Call
AccountModule is a helper method to define mock.On call
- address aptos.AccountAddress
- moduleName string
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) AccountResource ¶
func (_e *MockAptosRpcClient_Expecter) AccountResource(address interface{}, resourceType interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountResource_Call
AccountResource is a helper method to define mock.On call
- address aptos.AccountAddress
- resourceType string
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) AccountResources ¶
func (_e *MockAptosRpcClient_Expecter) AccountResources(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountResources_Call
AccountResources is a helper method to define mock.On call
- address aptos.AccountAddress
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) AccountResourcesBCS ¶
func (_e *MockAptosRpcClient_Expecter) AccountResourcesBCS(address interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_AccountResourcesBCS_Call
AccountResourcesBCS is a helper method to define mock.On call
- address aptos.AccountAddress
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) AccountTransactions ¶
func (_e *MockAptosRpcClient_Expecter) AccountTransactions(address interface{}, start interface{}, limit interface{}) *MockAptosRpcClient_AccountTransactions_Call
AccountTransactions is a helper method to define mock.On call
- address aptos.AccountAddress
- start *uint64
- limit *uint64
func (*MockAptosRpcClient_Expecter) BatchSubmitTransaction ¶
func (_e *MockAptosRpcClient_Expecter) BatchSubmitTransaction(signedTxns interface{}) *MockAptosRpcClient_BatchSubmitTransaction_Call
BatchSubmitTransaction is a helper method to define mock.On call
- signedTxns []*aptos.SignedTransaction
func (*MockAptosRpcClient_Expecter) BlockByHeight ¶
func (_e *MockAptosRpcClient_Expecter) BlockByHeight(blockHeight interface{}, withTransactions interface{}) *MockAptosRpcClient_BlockByHeight_Call
BlockByHeight is a helper method to define mock.On call
- blockHeight uint64
- withTransactions bool
func (*MockAptosRpcClient_Expecter) BlockByVersion ¶
func (_e *MockAptosRpcClient_Expecter) BlockByVersion(ledgerVersion interface{}, withTransactions interface{}) *MockAptosRpcClient_BlockByVersion_Call
BlockByVersion is a helper method to define mock.On call
- ledgerVersion uint64
- withTransactions bool
func (*MockAptosRpcClient_Expecter) BuildSignAndSubmitTransaction ¶
func (_e *MockAptosRpcClient_Expecter) BuildSignAndSubmitTransaction(sender interface{}, payload interface{}, options ...interface{}) *MockAptosRpcClient_BuildSignAndSubmitTransaction_Call
BuildSignAndSubmitTransaction is a helper method to define mock.On call
- sender aptos.TransactionSigner
- payload aptos.TransactionPayload
- options ...any
func (*MockAptosRpcClient_Expecter) BuildTransaction ¶
func (_e *MockAptosRpcClient_Expecter) BuildTransaction(sender interface{}, payload interface{}, options ...interface{}) *MockAptosRpcClient_BuildTransaction_Call
BuildTransaction is a helper method to define mock.On call
- sender aptos.AccountAddress
- payload aptos.TransactionPayload
- options ...any
func (*MockAptosRpcClient_Expecter) BuildTransactionMultiAgent ¶
func (_e *MockAptosRpcClient_Expecter) BuildTransactionMultiAgent(sender interface{}, payload interface{}, options ...interface{}) *MockAptosRpcClient_BuildTransactionMultiAgent_Call
BuildTransactionMultiAgent is a helper method to define mock.On call
- sender aptos.AccountAddress
- payload aptos.TransactionPayload
- options ...any
func (*MockAptosRpcClient_Expecter) EntryFunctionWithArgs ¶
func (_e *MockAptosRpcClient_Expecter) EntryFunctionWithArgs(moduleAddress interface{}, moduleName interface{}, functionName interface{}, typeArgs interface{}, args interface{}, options ...interface{}) *MockAptosRpcClient_EntryFunctionWithArgs_Call
EntryFunctionWithArgs is a helper method to define mock.On call
- moduleAddress aptos.AccountAddress
- moduleName string
- functionName string
- typeArgs []any
- args []any
- options ...any
func (*MockAptosRpcClient_Expecter) EstimateGasPrice ¶
func (_e *MockAptosRpcClient_Expecter) EstimateGasPrice() *MockAptosRpcClient_EstimateGasPrice_Call
EstimateGasPrice is a helper method to define mock.On call
func (*MockAptosRpcClient_Expecter) EventsByCreationNumber ¶
func (_e *MockAptosRpcClient_Expecter) EventsByCreationNumber(account interface{}, creationNumber interface{}, start interface{}, limit interface{}) *MockAptosRpcClient_EventsByCreationNumber_Call
EventsByCreationNumber is a helper method to define mock.On call
- account aptos.AccountAddress
- creationNumber string
- start *uint64
- limit *uint64
func (*MockAptosRpcClient_Expecter) EventsByHandle ¶
func (_e *MockAptosRpcClient_Expecter) EventsByHandle(account interface{}, eventHandle interface{}, fieldName interface{}, start interface{}, limit interface{}) *MockAptosRpcClient_EventsByHandle_Call
EventsByHandle is a helper method to define mock.On call
- account aptos.AccountAddress
- eventHandle string
- fieldName string
- start *uint64
- limit *uint64
func (*MockAptosRpcClient_Expecter) GetChainId ¶
func (_e *MockAptosRpcClient_Expecter) GetChainId() *MockAptosRpcClient_GetChainId_Call
GetChainId is a helper method to define mock.On call
func (*MockAptosRpcClient_Expecter) Info ¶
func (_e *MockAptosRpcClient_Expecter) Info() *MockAptosRpcClient_Info_Call
Info is a helper method to define mock.On call
func (*MockAptosRpcClient_Expecter) NodeAPIHealthCheck ¶
func (_e *MockAptosRpcClient_Expecter) NodeAPIHealthCheck(durationSecs ...interface{}) *MockAptosRpcClient_NodeAPIHealthCheck_Call
NodeAPIHealthCheck is a helper method to define mock.On call
- durationSecs ...uint64
func (*MockAptosRpcClient_Expecter) PollForTransaction ¶
func (_e *MockAptosRpcClient_Expecter) PollForTransaction(hash interface{}, options ...interface{}) *MockAptosRpcClient_PollForTransaction_Call
PollForTransaction is a helper method to define mock.On call
- hash string
- options ...any
func (*MockAptosRpcClient_Expecter) PollForTransactions ¶
func (_e *MockAptosRpcClient_Expecter) PollForTransactions(txnHashes interface{}, options ...interface{}) *MockAptosRpcClient_PollForTransactions_Call
PollForTransactions is a helper method to define mock.On call
- txnHashes []string
- options ...any
func (*MockAptosRpcClient_Expecter) RemoveHeader ¶
func (_e *MockAptosRpcClient_Expecter) RemoveHeader(key interface{}) *MockAptosRpcClient_RemoveHeader_Call
RemoveHeader is a helper method to define mock.On call
- key string
func (*MockAptosRpcClient_Expecter) SetHeader ¶
func (_e *MockAptosRpcClient_Expecter) SetHeader(key interface{}, value interface{}) *MockAptosRpcClient_SetHeader_Call
SetHeader is a helper method to define mock.On call
- key string
- value string
func (*MockAptosRpcClient_Expecter) SetTimeout ¶
func (_e *MockAptosRpcClient_Expecter) SetTimeout(timeout interface{}) *MockAptosRpcClient_SetTimeout_Call
SetTimeout is a helper method to define mock.On call
- timeout time.Duration
func (*MockAptosRpcClient_Expecter) SimulateTransaction ¶
func (_e *MockAptosRpcClient_Expecter) SimulateTransaction(rawTxn interface{}, sender interface{}, options ...interface{}) *MockAptosRpcClient_SimulateTransaction_Call
SimulateTransaction is a helper method to define mock.On call
- rawTxn *aptos.RawTransaction
- sender aptos.TransactionSigner
- options ...any
func (*MockAptosRpcClient_Expecter) SimulateTransactionMultiAgent ¶
func (_e *MockAptosRpcClient_Expecter) SimulateTransactionMultiAgent(rawTxn interface{}, sender interface{}, options ...interface{}) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
SimulateTransactionMultiAgent is a helper method to define mock.On call
- rawTxn *aptos.RawTransactionWithData
- sender aptos.TransactionSigner
- options ...any
func (*MockAptosRpcClient_Expecter) SubmitTransaction ¶
func (_e *MockAptosRpcClient_Expecter) SubmitTransaction(signedTransaction interface{}) *MockAptosRpcClient_SubmitTransaction_Call
SubmitTransaction is a helper method to define mock.On call
- signedTransaction *aptos.SignedTransaction
func (*MockAptosRpcClient_Expecter) TransactionByHash ¶
func (_e *MockAptosRpcClient_Expecter) TransactionByHash(txnHash interface{}) *MockAptosRpcClient_TransactionByHash_Call
TransactionByHash is a helper method to define mock.On call
- txnHash string
func (*MockAptosRpcClient_Expecter) TransactionByVersion ¶
func (_e *MockAptosRpcClient_Expecter) TransactionByVersion(version interface{}) *MockAptosRpcClient_TransactionByVersion_Call
TransactionByVersion is a helper method to define mock.On call
- version uint64
func (*MockAptosRpcClient_Expecter) Transactions ¶
func (_e *MockAptosRpcClient_Expecter) Transactions(start interface{}, limit interface{}) *MockAptosRpcClient_Transactions_Call
Transactions is a helper method to define mock.On call
- start *uint64
- limit *uint64
func (*MockAptosRpcClient_Expecter) View ¶
func (_e *MockAptosRpcClient_Expecter) View(payload interface{}, ledgerVersion ...interface{}) *MockAptosRpcClient_View_Call
View is a helper method to define mock.On call
- payload *aptos.ViewPayload
- ledgerVersion ...uint64
func (*MockAptosRpcClient_Expecter) WaitForTransaction ¶
func (_e *MockAptosRpcClient_Expecter) WaitForTransaction(txnHash interface{}, options ...interface{}) *MockAptosRpcClient_WaitForTransaction_Call
WaitForTransaction is a helper method to define mock.On call
- txnHash string
- options ...any
func (*MockAptosRpcClient_Expecter) WaitTransactionByHash ¶
func (_e *MockAptosRpcClient_Expecter) WaitTransactionByHash(txnHash interface{}) *MockAptosRpcClient_WaitTransactionByHash_Call
WaitTransactionByHash is a helper method to define mock.On call
- txnHash string
type MockAptosRpcClient_GetChainId_Call ¶
MockAptosRpcClient_GetChainId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChainId'
func (*MockAptosRpcClient_GetChainId_Call) Return ¶
func (_c *MockAptosRpcClient_GetChainId_Call) Return(v uint8, err error) *MockAptosRpcClient_GetChainId_Call
func (*MockAptosRpcClient_GetChainId_Call) Run ¶
func (_c *MockAptosRpcClient_GetChainId_Call) Run(run func()) *MockAptosRpcClient_GetChainId_Call
func (*MockAptosRpcClient_GetChainId_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_GetChainId_Call) RunAndReturn(run func() (uint8, error)) *MockAptosRpcClient_GetChainId_Call
type MockAptosRpcClient_Info_Call ¶
MockAptosRpcClient_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*MockAptosRpcClient_Info_Call) Return ¶
func (_c *MockAptosRpcClient_Info_Call) Return(nodeInfo aptos.NodeInfo, err error) *MockAptosRpcClient_Info_Call
func (*MockAptosRpcClient_Info_Call) Run ¶
func (_c *MockAptosRpcClient_Info_Call) Run(run func()) *MockAptosRpcClient_Info_Call
func (*MockAptosRpcClient_Info_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_Info_Call) RunAndReturn(run func() (aptos.NodeInfo, error)) *MockAptosRpcClient_Info_Call
type MockAptosRpcClient_NodeAPIHealthCheck_Call ¶
MockAptosRpcClient_NodeAPIHealthCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeAPIHealthCheck'
func (*MockAptosRpcClient_NodeAPIHealthCheck_Call) Return ¶
func (_c *MockAptosRpcClient_NodeAPIHealthCheck_Call) Return(healthCheckResponse api.HealthCheckResponse, err error) *MockAptosRpcClient_NodeAPIHealthCheck_Call
func (*MockAptosRpcClient_NodeAPIHealthCheck_Call) Run ¶
func (_c *MockAptosRpcClient_NodeAPIHealthCheck_Call) Run(run func(durationSecs ...uint64)) *MockAptosRpcClient_NodeAPIHealthCheck_Call
func (*MockAptosRpcClient_NodeAPIHealthCheck_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_NodeAPIHealthCheck_Call) RunAndReturn(run func(durationSecs ...uint64) (api.HealthCheckResponse, error)) *MockAptosRpcClient_NodeAPIHealthCheck_Call
type MockAptosRpcClient_PollForTransaction_Call ¶
MockAptosRpcClient_PollForTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PollForTransaction'
func (*MockAptosRpcClient_PollForTransaction_Call) Return ¶
func (_c *MockAptosRpcClient_PollForTransaction_Call) Return(userTransaction *api.UserTransaction, err error) *MockAptosRpcClient_PollForTransaction_Call
func (*MockAptosRpcClient_PollForTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_PollForTransaction_Call) Run(run func(hash string, options ...any)) *MockAptosRpcClient_PollForTransaction_Call
func (*MockAptosRpcClient_PollForTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_PollForTransaction_Call) RunAndReturn(run func(hash string, options ...any) (*api.UserTransaction, error)) *MockAptosRpcClient_PollForTransaction_Call
type MockAptosRpcClient_PollForTransactions_Call ¶
MockAptosRpcClient_PollForTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PollForTransactions'
func (*MockAptosRpcClient_PollForTransactions_Call) Return ¶
func (_c *MockAptosRpcClient_PollForTransactions_Call) Return(err error) *MockAptosRpcClient_PollForTransactions_Call
func (*MockAptosRpcClient_PollForTransactions_Call) Run ¶
func (_c *MockAptosRpcClient_PollForTransactions_Call) Run(run func(txnHashes []string, options ...any)) *MockAptosRpcClient_PollForTransactions_Call
func (*MockAptosRpcClient_PollForTransactions_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_PollForTransactions_Call) RunAndReturn(run func(txnHashes []string, options ...any) error) *MockAptosRpcClient_PollForTransactions_Call
type MockAptosRpcClient_RemoveHeader_Call ¶
MockAptosRpcClient_RemoveHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveHeader'
func (*MockAptosRpcClient_RemoveHeader_Call) Return ¶
func (_c *MockAptosRpcClient_RemoveHeader_Call) Return() *MockAptosRpcClient_RemoveHeader_Call
func (*MockAptosRpcClient_RemoveHeader_Call) Run ¶
func (_c *MockAptosRpcClient_RemoveHeader_Call) Run(run func(key string)) *MockAptosRpcClient_RemoveHeader_Call
func (*MockAptosRpcClient_RemoveHeader_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_RemoveHeader_Call) RunAndReturn(run func(key string)) *MockAptosRpcClient_RemoveHeader_Call
type MockAptosRpcClient_SetHeader_Call ¶
MockAptosRpcClient_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'
func (*MockAptosRpcClient_SetHeader_Call) Return ¶
func (_c *MockAptosRpcClient_SetHeader_Call) Return() *MockAptosRpcClient_SetHeader_Call
func (*MockAptosRpcClient_SetHeader_Call) Run ¶
func (_c *MockAptosRpcClient_SetHeader_Call) Run(run func(key string, value string)) *MockAptosRpcClient_SetHeader_Call
func (*MockAptosRpcClient_SetHeader_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_SetHeader_Call) RunAndReturn(run func(key string, value string)) *MockAptosRpcClient_SetHeader_Call
type MockAptosRpcClient_SetTimeout_Call ¶
MockAptosRpcClient_SetTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTimeout'
func (*MockAptosRpcClient_SetTimeout_Call) Return ¶
func (_c *MockAptosRpcClient_SetTimeout_Call) Return() *MockAptosRpcClient_SetTimeout_Call
func (*MockAptosRpcClient_SetTimeout_Call) Run ¶
func (_c *MockAptosRpcClient_SetTimeout_Call) Run(run func(timeout time.Duration)) *MockAptosRpcClient_SetTimeout_Call
func (*MockAptosRpcClient_SetTimeout_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_SetTimeout_Call) RunAndReturn(run func(timeout time.Duration)) *MockAptosRpcClient_SetTimeout_Call
type MockAptosRpcClient_SimulateTransactionMultiAgent_Call ¶
MockAptosRpcClient_SimulateTransactionMultiAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulateTransactionMultiAgent'
func (*MockAptosRpcClient_SimulateTransactionMultiAgent_Call) Return ¶
func (_c *MockAptosRpcClient_SimulateTransactionMultiAgent_Call) Return(userTransactions []*api.UserTransaction, err error) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
func (*MockAptosRpcClient_SimulateTransactionMultiAgent_Call) Run ¶
func (_c *MockAptosRpcClient_SimulateTransactionMultiAgent_Call) Run(run func(rawTxn *aptos.RawTransactionWithData, sender aptos.TransactionSigner, options ...any)) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
func (*MockAptosRpcClient_SimulateTransactionMultiAgent_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_SimulateTransactionMultiAgent_Call) RunAndReturn(run func(rawTxn *aptos.RawTransactionWithData, sender aptos.TransactionSigner, options ...any) ([]*api.UserTransaction, error)) *MockAptosRpcClient_SimulateTransactionMultiAgent_Call
type MockAptosRpcClient_SimulateTransaction_Call ¶
MockAptosRpcClient_SimulateTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulateTransaction'
func (*MockAptosRpcClient_SimulateTransaction_Call) Return ¶
func (_c *MockAptosRpcClient_SimulateTransaction_Call) Return(userTransactions []*api.UserTransaction, err error) *MockAptosRpcClient_SimulateTransaction_Call
func (*MockAptosRpcClient_SimulateTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_SimulateTransaction_Call) Run(run func(rawTxn *aptos.RawTransaction, sender aptos.TransactionSigner, options ...any)) *MockAptosRpcClient_SimulateTransaction_Call
func (*MockAptosRpcClient_SimulateTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_SimulateTransaction_Call) RunAndReturn(run func(rawTxn *aptos.RawTransaction, sender aptos.TransactionSigner, options ...any) ([]*api.UserTransaction, error)) *MockAptosRpcClient_SimulateTransaction_Call
type MockAptosRpcClient_SubmitTransaction_Call ¶
MockAptosRpcClient_SubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitTransaction'
func (*MockAptosRpcClient_SubmitTransaction_Call) Return ¶
func (_c *MockAptosRpcClient_SubmitTransaction_Call) Return(v *api.SubmitTransactionResponse, err error) *MockAptosRpcClient_SubmitTransaction_Call
func (*MockAptosRpcClient_SubmitTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_SubmitTransaction_Call) Run(run func(signedTransaction *aptos.SignedTransaction)) *MockAptosRpcClient_SubmitTransaction_Call
func (*MockAptosRpcClient_SubmitTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_SubmitTransaction_Call) RunAndReturn(run func(signedTransaction *aptos.SignedTransaction) (*api.SubmitTransactionResponse, error)) *MockAptosRpcClient_SubmitTransaction_Call
type MockAptosRpcClient_TransactionByHash_Call ¶
MockAptosRpcClient_TransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionByHash'
func (*MockAptosRpcClient_TransactionByHash_Call) Return ¶
func (_c *MockAptosRpcClient_TransactionByHash_Call) Return(transaction *api.Transaction, err error) *MockAptosRpcClient_TransactionByHash_Call
func (*MockAptosRpcClient_TransactionByHash_Call) Run ¶
func (_c *MockAptosRpcClient_TransactionByHash_Call) Run(run func(txnHash string)) *MockAptosRpcClient_TransactionByHash_Call
func (*MockAptosRpcClient_TransactionByHash_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_TransactionByHash_Call) RunAndReturn(run func(txnHash string) (*api.Transaction, error)) *MockAptosRpcClient_TransactionByHash_Call
type MockAptosRpcClient_TransactionByVersion_Call ¶
MockAptosRpcClient_TransactionByVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionByVersion'
func (*MockAptosRpcClient_TransactionByVersion_Call) Return ¶
func (_c *MockAptosRpcClient_TransactionByVersion_Call) Return(committedTransaction *api.CommittedTransaction, err error) *MockAptosRpcClient_TransactionByVersion_Call
func (*MockAptosRpcClient_TransactionByVersion_Call) Run ¶
func (_c *MockAptosRpcClient_TransactionByVersion_Call) Run(run func(version uint64)) *MockAptosRpcClient_TransactionByVersion_Call
func (*MockAptosRpcClient_TransactionByVersion_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_TransactionByVersion_Call) RunAndReturn(run func(version uint64) (*api.CommittedTransaction, error)) *MockAptosRpcClient_TransactionByVersion_Call
type MockAptosRpcClient_Transactions_Call ¶
MockAptosRpcClient_Transactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transactions'
func (*MockAptosRpcClient_Transactions_Call) Return ¶
func (_c *MockAptosRpcClient_Transactions_Call) Return(committedTransactions []*api.CommittedTransaction, err error) *MockAptosRpcClient_Transactions_Call
func (*MockAptosRpcClient_Transactions_Call) Run ¶
func (_c *MockAptosRpcClient_Transactions_Call) Run(run func(start *uint64, limit *uint64)) *MockAptosRpcClient_Transactions_Call
func (*MockAptosRpcClient_Transactions_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_Transactions_Call) RunAndReturn(run func(start *uint64, limit *uint64) ([]*api.CommittedTransaction, error)) *MockAptosRpcClient_Transactions_Call
type MockAptosRpcClient_View_Call ¶
MockAptosRpcClient_View_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'View'
func (*MockAptosRpcClient_View_Call) Return ¶
func (_c *MockAptosRpcClient_View_Call) Return(vs []any, err error) *MockAptosRpcClient_View_Call
func (*MockAptosRpcClient_View_Call) Run ¶
func (_c *MockAptosRpcClient_View_Call) Run(run func(payload *aptos.ViewPayload, ledgerVersion ...uint64)) *MockAptosRpcClient_View_Call
func (*MockAptosRpcClient_View_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_View_Call) RunAndReturn(run func(payload *aptos.ViewPayload, ledgerVersion ...uint64) ([]any, error)) *MockAptosRpcClient_View_Call
type MockAptosRpcClient_WaitForTransaction_Call ¶
MockAptosRpcClient_WaitForTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitForTransaction'
func (*MockAptosRpcClient_WaitForTransaction_Call) Return ¶
func (_c *MockAptosRpcClient_WaitForTransaction_Call) Return(userTransaction *api.UserTransaction, err error) *MockAptosRpcClient_WaitForTransaction_Call
func (*MockAptosRpcClient_WaitForTransaction_Call) Run ¶
func (_c *MockAptosRpcClient_WaitForTransaction_Call) Run(run func(txnHash string, options ...any)) *MockAptosRpcClient_WaitForTransaction_Call
func (*MockAptosRpcClient_WaitForTransaction_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_WaitForTransaction_Call) RunAndReturn(run func(txnHash string, options ...any) (*api.UserTransaction, error)) *MockAptosRpcClient_WaitForTransaction_Call
type MockAptosRpcClient_WaitTransactionByHash_Call ¶
MockAptosRpcClient_WaitTransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitTransactionByHash'
func (*MockAptosRpcClient_WaitTransactionByHash_Call) Return ¶
func (_c *MockAptosRpcClient_WaitTransactionByHash_Call) Return(transaction *api.Transaction, err error) *MockAptosRpcClient_WaitTransactionByHash_Call
func (*MockAptosRpcClient_WaitTransactionByHash_Call) Run ¶
func (_c *MockAptosRpcClient_WaitTransactionByHash_Call) Run(run func(txnHash string)) *MockAptosRpcClient_WaitTransactionByHash_Call
func (*MockAptosRpcClient_WaitTransactionByHash_Call) RunAndReturn ¶
func (_c *MockAptosRpcClient_WaitTransactionByHash_Call) RunAndReturn(run func(txnHash string) (*api.Transaction, error)) *MockAptosRpcClient_WaitTransactionByHash_Call
type MockTransactionSigner ¶
MockTransactionSigner is an autogenerated mock type for the TransactionSigner type
func NewMockTransactionSigner ¶
func NewMockTransactionSigner(t interface {
mock.TestingT
Cleanup(func())
}) *MockTransactionSigner
NewMockTransactionSigner creates a new instance of MockTransactionSigner. 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 (*MockTransactionSigner) AccountAddress ¶
func (_mock *MockTransactionSigner) AccountAddress() aptos.AccountAddress
AccountAddress provides a mock function for the type MockTransactionSigner
func (*MockTransactionSigner) AuthKey ¶
func (_mock *MockTransactionSigner) AuthKey() *crypto.AuthenticationKey
AuthKey provides a mock function for the type MockTransactionSigner
func (*MockTransactionSigner) EXPECT ¶
func (_m *MockTransactionSigner) EXPECT() *MockTransactionSigner_Expecter
func (*MockTransactionSigner) PubKey ¶
func (_mock *MockTransactionSigner) PubKey() crypto.PublicKey
PubKey provides a mock function for the type MockTransactionSigner
func (*MockTransactionSigner) Sign ¶
func (_mock *MockTransactionSigner) Sign(msg []byte) (*crypto.AccountAuthenticator, error)
Sign provides a mock function for the type MockTransactionSigner
func (*MockTransactionSigner) SignMessage ¶
func (_mock *MockTransactionSigner) SignMessage(msg []byte) (crypto.Signature, error)
SignMessage provides a mock function for the type MockTransactionSigner
func (*MockTransactionSigner) SimulationAuthenticator ¶
func (_mock *MockTransactionSigner) SimulationAuthenticator() *crypto.AccountAuthenticator
SimulationAuthenticator provides a mock function for the type MockTransactionSigner
type MockTransactionSigner_AccountAddress_Call ¶
MockTransactionSigner_AccountAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountAddress'
func (*MockTransactionSigner_AccountAddress_Call) Run ¶
func (_c *MockTransactionSigner_AccountAddress_Call) Run(run func()) *MockTransactionSigner_AccountAddress_Call
func (*MockTransactionSigner_AccountAddress_Call) RunAndReturn ¶
func (_c *MockTransactionSigner_AccountAddress_Call) RunAndReturn(run func() aptos.AccountAddress) *MockTransactionSigner_AccountAddress_Call
type MockTransactionSigner_AuthKey_Call ¶
MockTransactionSigner_AuthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthKey'
func (*MockTransactionSigner_AuthKey_Call) Return ¶
func (_c *MockTransactionSigner_AuthKey_Call) Return(authenticationKey *crypto.AuthenticationKey) *MockTransactionSigner_AuthKey_Call
func (*MockTransactionSigner_AuthKey_Call) Run ¶
func (_c *MockTransactionSigner_AuthKey_Call) Run(run func()) *MockTransactionSigner_AuthKey_Call
func (*MockTransactionSigner_AuthKey_Call) RunAndReturn ¶
func (_c *MockTransactionSigner_AuthKey_Call) RunAndReturn(run func() *crypto.AuthenticationKey) *MockTransactionSigner_AuthKey_Call
type MockTransactionSigner_Expecter ¶
type MockTransactionSigner_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTransactionSigner_Expecter) AccountAddress ¶
func (_e *MockTransactionSigner_Expecter) AccountAddress() *MockTransactionSigner_AccountAddress_Call
AccountAddress is a helper method to define mock.On call
func (*MockTransactionSigner_Expecter) AuthKey ¶
func (_e *MockTransactionSigner_Expecter) AuthKey() *MockTransactionSigner_AuthKey_Call
AuthKey is a helper method to define mock.On call
func (*MockTransactionSigner_Expecter) PubKey ¶
func (_e *MockTransactionSigner_Expecter) PubKey() *MockTransactionSigner_PubKey_Call
PubKey is a helper method to define mock.On call
func (*MockTransactionSigner_Expecter) Sign ¶
func (_e *MockTransactionSigner_Expecter) Sign(msg interface{}) *MockTransactionSigner_Sign_Call
Sign is a helper method to define mock.On call
- msg []byte
func (*MockTransactionSigner_Expecter) SignMessage ¶
func (_e *MockTransactionSigner_Expecter) SignMessage(msg interface{}) *MockTransactionSigner_SignMessage_Call
SignMessage is a helper method to define mock.On call
- msg []byte
func (*MockTransactionSigner_Expecter) SimulationAuthenticator ¶
func (_e *MockTransactionSigner_Expecter) SimulationAuthenticator() *MockTransactionSigner_SimulationAuthenticator_Call
SimulationAuthenticator is a helper method to define mock.On call
type MockTransactionSigner_PubKey_Call ¶
MockTransactionSigner_PubKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PubKey'
func (*MockTransactionSigner_PubKey_Call) Return ¶
func (_c *MockTransactionSigner_PubKey_Call) Return(publicKey crypto.PublicKey) *MockTransactionSigner_PubKey_Call
func (*MockTransactionSigner_PubKey_Call) Run ¶
func (_c *MockTransactionSigner_PubKey_Call) Run(run func()) *MockTransactionSigner_PubKey_Call
func (*MockTransactionSigner_PubKey_Call) RunAndReturn ¶
func (_c *MockTransactionSigner_PubKey_Call) RunAndReturn(run func() crypto.PublicKey) *MockTransactionSigner_PubKey_Call
type MockTransactionSigner_SignMessage_Call ¶
MockTransactionSigner_SignMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignMessage'
func (*MockTransactionSigner_SignMessage_Call) Return ¶
func (_c *MockTransactionSigner_SignMessage_Call) Return(signature crypto.Signature, err error) *MockTransactionSigner_SignMessage_Call
func (*MockTransactionSigner_SignMessage_Call) Run ¶
func (_c *MockTransactionSigner_SignMessage_Call) Run(run func(msg []byte)) *MockTransactionSigner_SignMessage_Call
func (*MockTransactionSigner_SignMessage_Call) RunAndReturn ¶
func (_c *MockTransactionSigner_SignMessage_Call) RunAndReturn(run func(msg []byte) (crypto.Signature, error)) *MockTransactionSigner_SignMessage_Call
type MockTransactionSigner_Sign_Call ¶
MockTransactionSigner_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*MockTransactionSigner_Sign_Call) Return ¶
func (_c *MockTransactionSigner_Sign_Call) Return(authenticator *crypto.AccountAuthenticator, err error) *MockTransactionSigner_Sign_Call
func (*MockTransactionSigner_Sign_Call) Run ¶
func (_c *MockTransactionSigner_Sign_Call) Run(run func(msg []byte)) *MockTransactionSigner_Sign_Call
func (*MockTransactionSigner_Sign_Call) RunAndReturn ¶
func (_c *MockTransactionSigner_Sign_Call) RunAndReturn(run func(msg []byte) (*crypto.AccountAuthenticator, error)) *MockTransactionSigner_Sign_Call
type MockTransactionSigner_SimulationAuthenticator_Call ¶
MockTransactionSigner_SimulationAuthenticator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulationAuthenticator'
func (*MockTransactionSigner_SimulationAuthenticator_Call) Return ¶
func (_c *MockTransactionSigner_SimulationAuthenticator_Call) Return(accountAuthenticator *crypto.AccountAuthenticator) *MockTransactionSigner_SimulationAuthenticator_Call
func (*MockTransactionSigner_SimulationAuthenticator_Call) Run ¶
func (_c *MockTransactionSigner_SimulationAuthenticator_Call) Run(run func()) *MockTransactionSigner_SimulationAuthenticator_Call
func (*MockTransactionSigner_SimulationAuthenticator_Call) RunAndReturn ¶
func (_c *MockTransactionSigner_SimulationAuthenticator_Call) RunAndReturn(run func() *crypto.AccountAuthenticator) *MockTransactionSigner_SimulationAuthenticator_Call