Documentation
¶
Index ¶
- type MockAPIClientWrapped
- func (_mock *MockAPIClientWrapped) Client() ton.LiteClient
- func (_mock *MockAPIClientWrapped) CurrentMasterchainInfo(ctx context.Context) (*ton.BlockIDExt, error)
- func (_m *MockAPIClientWrapped) EXPECT() *MockAPIClientWrapped_Expecter
- func (_mock *MockAPIClientWrapped) FindLastTransactionByInMsgHash(ctx context.Context, addr *address.Address, msgHash []byte, ...) (*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) FindLastTransactionByOutMsgHash(ctx context.Context, addr *address.Address, msgHash []byte, ...) (*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) GetAccount(ctx context.Context, block *ton.BlockIDExt, addr *address.Address) (*tlb.Account, error)
- func (_mock *MockAPIClientWrapped) GetBlockData(ctx context.Context, block *ton.BlockIDExt) (*tlb.Block, error)
- func (_mock *MockAPIClientWrapped) GetBlockProof(ctx context.Context, known *ton.BlockIDExt, target *ton.BlockIDExt) (*ton.PartialBlockProof, error)
- func (_mock *MockAPIClientWrapped) GetBlockShardsInfo(ctx context.Context, master *ton.BlockIDExt) ([]*ton.BlockIDExt, error)
- func (_mock *MockAPIClientWrapped) GetBlockTransactionsV2(ctx context.Context, block *ton.BlockIDExt, count uint32, ...) ([]ton.TransactionShortInfo, bool, error)
- func (_mock *MockAPIClientWrapped) GetBlockchainConfig(ctx context.Context, block *ton.BlockIDExt, onlyParams ...int32) (*ton.BlockchainConfig, error)
- func (_mock *MockAPIClientWrapped) GetLibraries(ctx context.Context, list ...[]byte) ([]*cell.Cell, error)
- func (_mock *MockAPIClientWrapped) GetMasterchainInfo(ctx context.Context) (*ton.BlockIDExt, error)
- func (_mock *MockAPIClientWrapped) GetTime(ctx context.Context) (uint32, error)
- func (_mock *MockAPIClientWrapped) GetTransaction(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, lt uint64) (*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) ListTransactions(ctx context.Context, addr *address.Address, num uint32, lt uint64, ...) ([]*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) LookupBlock(ctx context.Context, workchain int32, shard int64, seqno uint32) (*ton.BlockIDExt, error)
- func (_mock *MockAPIClientWrapped) RunGetMethod(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, ...) (*ton.ExecutionResult, error)
- func (_mock *MockAPIClientWrapped) SendExternalMessage(ctx context.Context, msg *tlb.ExternalMessage) error
- func (_mock *MockAPIClientWrapped) SendExternalMessageWaitTransaction(ctx context.Context, msg *tlb.ExternalMessage) (*tlb.Transaction, *ton.BlockIDExt, []byte, error)
- func (_mock *MockAPIClientWrapped) SetTrustedBlock(block *ton.BlockIDExt)
- func (_mock *MockAPIClientWrapped) SetTrustedBlockFromConfig(cfg *liteclient.GlobalConfig)
- func (_mock *MockAPIClientWrapped) SubscribeOnTransactions(workerCtx context.Context, addr *address.Address, lastProcessedLT uint64, ...)
- func (_mock *MockAPIClientWrapped) VerifyProofChain(ctx context.Context, from *ton.BlockIDExt, to *ton.BlockIDExt) error
- func (_mock *MockAPIClientWrapped) WaitForBlock(seqno uint32) ton.APIClientWrapped
- func (_mock *MockAPIClientWrapped) WithRetry(maxRetries ...int) ton.APIClientWrapped
- func (_mock *MockAPIClientWrapped) WithTimeout(timeout time.Duration) ton.APIClientWrapped
- type MockAPIClientWrapped_Client_Call
- func (_c *MockAPIClientWrapped_Client_Call) Return(liteClient ton.LiteClient) *MockAPIClientWrapped_Client_Call
- func (_c *MockAPIClientWrapped_Client_Call) Run(run func()) *MockAPIClientWrapped_Client_Call
- func (_c *MockAPIClientWrapped_Client_Call) RunAndReturn(run func() ton.LiteClient) *MockAPIClientWrapped_Client_Call
- type MockAPIClientWrapped_CurrentMasterchainInfo_Call
- func (_c *MockAPIClientWrapped_CurrentMasterchainInfo_Call) Return(v *ton.BlockIDExt, err error) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
- func (_c *MockAPIClientWrapped_CurrentMasterchainInfo_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
- func (_c *MockAPIClientWrapped_CurrentMasterchainInfo_Call) RunAndReturn(run func(ctx context.Context) (*ton.BlockIDExt, error)) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
- type MockAPIClientWrapped_Expecter
- func (_e *MockAPIClientWrapped_Expecter) Client() *MockAPIClientWrapped_Client_Call
- func (_e *MockAPIClientWrapped_Expecter) CurrentMasterchainInfo(ctx interface{}) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByInMsgHash(ctx interface{}, addr interface{}, msgHash interface{}, ...) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
- func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHash(ctx interface{}, addr interface{}, msgHash interface{}, ...) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
- func (_e *MockAPIClientWrapped_Expecter) GetAccount(ctx interface{}, block interface{}, addr interface{}) *MockAPIClientWrapped_GetAccount_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockData(ctx interface{}, block interface{}) *MockAPIClientWrapped_GetBlockData_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockProof(ctx interface{}, known interface{}, target interface{}) *MockAPIClientWrapped_GetBlockProof_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockShardsInfo(ctx interface{}, master interface{}) *MockAPIClientWrapped_GetBlockShardsInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockTransactionsV2(ctx interface{}, block interface{}, count interface{}, after ...interface{}) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockchainConfig(ctx interface{}, block interface{}, onlyParams ...interface{}) *MockAPIClientWrapped_GetBlockchainConfig_Call
- func (_e *MockAPIClientWrapped_Expecter) GetLibraries(ctx interface{}, list ...interface{}) *MockAPIClientWrapped_GetLibraries_Call
- func (_e *MockAPIClientWrapped_Expecter) GetMasterchainInfo(ctx interface{}) *MockAPIClientWrapped_GetMasterchainInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) GetTime(ctx interface{}) *MockAPIClientWrapped_GetTime_Call
- func (_e *MockAPIClientWrapped_Expecter) GetTransaction(ctx interface{}, block interface{}, addr interface{}, lt interface{}) *MockAPIClientWrapped_GetTransaction_Call
- func (_e *MockAPIClientWrapped_Expecter) ListTransactions(ctx interface{}, addr interface{}, num interface{}, lt interface{}, ...) *MockAPIClientWrapped_ListTransactions_Call
- func (_e *MockAPIClientWrapped_Expecter) LookupBlock(ctx interface{}, workchain interface{}, shard interface{}, seqno interface{}) *MockAPIClientWrapped_LookupBlock_Call
- func (_e *MockAPIClientWrapped_Expecter) RunGetMethod(ctx interface{}, blockInfo interface{}, addr interface{}, method interface{}, ...) *MockAPIClientWrapped_RunGetMethod_Call
- func (_e *MockAPIClientWrapped_Expecter) SendExternalMessage(ctx interface{}, msg interface{}) *MockAPIClientWrapped_SendExternalMessage_Call
- func (_e *MockAPIClientWrapped_Expecter) SendExternalMessageWaitTransaction(ctx interface{}, msg interface{}) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
- func (_e *MockAPIClientWrapped_Expecter) SetTrustedBlock(block interface{}) *MockAPIClientWrapped_SetTrustedBlock_Call
- func (_e *MockAPIClientWrapped_Expecter) SetTrustedBlockFromConfig(cfg interface{}) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
- func (_e *MockAPIClientWrapped_Expecter) SubscribeOnTransactions(workerCtx interface{}, addr interface{}, lastProcessedLT interface{}, ...) *MockAPIClientWrapped_SubscribeOnTransactions_Call
- func (_e *MockAPIClientWrapped_Expecter) VerifyProofChain(ctx interface{}, from interface{}, to interface{}) *MockAPIClientWrapped_VerifyProofChain_Call
- func (_e *MockAPIClientWrapped_Expecter) WaitForBlock(seqno interface{}) *MockAPIClientWrapped_WaitForBlock_Call
- func (_e *MockAPIClientWrapped_Expecter) WithRetry(maxRetries ...interface{}) *MockAPIClientWrapped_WithRetry_Call
- func (_e *MockAPIClientWrapped_Expecter) WithTimeout(timeout interface{}) *MockAPIClientWrapped_WithTimeout_Call
- type MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) Run(run func(ctx context.Context, addr *address.Address, msgHash []byte, ...)) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) RunAndReturn(...) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
- type MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) Run(run func(ctx context.Context, addr *address.Address, msgHash []byte, ...)) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) RunAndReturn(...) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
- type MockAPIClientWrapped_GetAccount_Call
- func (_c *MockAPIClientWrapped_GetAccount_Call) Return(account *tlb.Account, err error) *MockAPIClientWrapped_GetAccount_Call
- func (_c *MockAPIClientWrapped_GetAccount_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address)) *MockAPIClientWrapped_GetAccount_Call
- func (_c *MockAPIClientWrapped_GetAccount_Call) RunAndReturn(...) *MockAPIClientWrapped_GetAccount_Call
- type MockAPIClientWrapped_GetBlockData_Call
- func (_c *MockAPIClientWrapped_GetBlockData_Call) Return(block1 *tlb.Block, err error) *MockAPIClientWrapped_GetBlockData_Call
- func (_c *MockAPIClientWrapped_GetBlockData_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockData_Call
- func (_c *MockAPIClientWrapped_GetBlockData_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*tlb.Block, error)) *MockAPIClientWrapped_GetBlockData_Call
- type MockAPIClientWrapped_GetBlockProof_Call
- func (_c *MockAPIClientWrapped_GetBlockProof_Call) Return(partialBlockProof *ton.PartialBlockProof, err error) *MockAPIClientWrapped_GetBlockProof_Call
- func (_c *MockAPIClientWrapped_GetBlockProof_Call) Run(run func(ctx context.Context, known *ton.BlockIDExt, target *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockProof_Call
- func (_c *MockAPIClientWrapped_GetBlockProof_Call) RunAndReturn(...) *MockAPIClientWrapped_GetBlockProof_Call
- type MockAPIClientWrapped_GetBlockShardsInfo_Call
- func (_c *MockAPIClientWrapped_GetBlockShardsInfo_Call) Return(vs []*ton.BlockIDExt, err error) *MockAPIClientWrapped_GetBlockShardsInfo_Call
- func (_c *MockAPIClientWrapped_GetBlockShardsInfo_Call) Run(run func(ctx context.Context, master *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockShardsInfo_Call
- func (_c *MockAPIClientWrapped_GetBlockShardsInfo_Call) RunAndReturn(...) *MockAPIClientWrapped_GetBlockShardsInfo_Call
- type MockAPIClientWrapped_GetBlockTransactionsV2_Call
- func (_c *MockAPIClientWrapped_GetBlockTransactionsV2_Call) Return(transactionShortInfos []ton.TransactionShortInfo, b bool, err error) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
- func (_c *MockAPIClientWrapped_GetBlockTransactionsV2_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, count uint32, ...)) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
- func (_c *MockAPIClientWrapped_GetBlockTransactionsV2_Call) RunAndReturn(...) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
- type MockAPIClientWrapped_GetBlockchainConfig_Call
- func (_c *MockAPIClientWrapped_GetBlockchainConfig_Call) Return(blockchainConfig *ton.BlockchainConfig, err error) *MockAPIClientWrapped_GetBlockchainConfig_Call
- func (_c *MockAPIClientWrapped_GetBlockchainConfig_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, onlyParams ...int32)) *MockAPIClientWrapped_GetBlockchainConfig_Call
- func (_c *MockAPIClientWrapped_GetBlockchainConfig_Call) RunAndReturn(...) *MockAPIClientWrapped_GetBlockchainConfig_Call
- type MockAPIClientWrapped_GetLibraries_Call
- func (_c *MockAPIClientWrapped_GetLibraries_Call) Return(cells []*cell.Cell, err error) *MockAPIClientWrapped_GetLibraries_Call
- func (_c *MockAPIClientWrapped_GetLibraries_Call) Run(run func(ctx context.Context, list ...[]byte)) *MockAPIClientWrapped_GetLibraries_Call
- func (_c *MockAPIClientWrapped_GetLibraries_Call) RunAndReturn(run func(ctx context.Context, list ...[]byte) ([]*cell.Cell, error)) *MockAPIClientWrapped_GetLibraries_Call
- type MockAPIClientWrapped_GetMasterchainInfo_Call
- func (_c *MockAPIClientWrapped_GetMasterchainInfo_Call) Return(v *ton.BlockIDExt, err error) *MockAPIClientWrapped_GetMasterchainInfo_Call
- func (_c *MockAPIClientWrapped_GetMasterchainInfo_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetMasterchainInfo_Call
- func (_c *MockAPIClientWrapped_GetMasterchainInfo_Call) RunAndReturn(run func(ctx context.Context) (*ton.BlockIDExt, error)) *MockAPIClientWrapped_GetMasterchainInfo_Call
- type MockAPIClientWrapped_GetTime_Call
- func (_c *MockAPIClientWrapped_GetTime_Call) Return(v uint32, err error) *MockAPIClientWrapped_GetTime_Call
- func (_c *MockAPIClientWrapped_GetTime_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetTime_Call
- func (_c *MockAPIClientWrapped_GetTime_Call) RunAndReturn(run func(ctx context.Context) (uint32, error)) *MockAPIClientWrapped_GetTime_Call
- type MockAPIClientWrapped_GetTransaction_Call
- func (_c *MockAPIClientWrapped_GetTransaction_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_GetTransaction_Call
- func (_c *MockAPIClientWrapped_GetTransaction_Call) Run(...) *MockAPIClientWrapped_GetTransaction_Call
- func (_c *MockAPIClientWrapped_GetTransaction_Call) RunAndReturn(...) *MockAPIClientWrapped_GetTransaction_Call
- type MockAPIClientWrapped_ListTransactions_Call
- func (_c *MockAPIClientWrapped_ListTransactions_Call) Return(transactions []*tlb.Transaction, err error) *MockAPIClientWrapped_ListTransactions_Call
- func (_c *MockAPIClientWrapped_ListTransactions_Call) Run(...) *MockAPIClientWrapped_ListTransactions_Call
- func (_c *MockAPIClientWrapped_ListTransactions_Call) RunAndReturn(...) *MockAPIClientWrapped_ListTransactions_Call
- type MockAPIClientWrapped_LookupBlock_Call
- func (_c *MockAPIClientWrapped_LookupBlock_Call) Return(v *ton.BlockIDExt, err error) *MockAPIClientWrapped_LookupBlock_Call
- func (_c *MockAPIClientWrapped_LookupBlock_Call) Run(run func(ctx context.Context, workchain int32, shard int64, seqno uint32)) *MockAPIClientWrapped_LookupBlock_Call
- func (_c *MockAPIClientWrapped_LookupBlock_Call) RunAndReturn(...) *MockAPIClientWrapped_LookupBlock_Call
- type MockAPIClientWrapped_RunGetMethod_Call
- func (_c *MockAPIClientWrapped_RunGetMethod_Call) Return(executionResult *ton.ExecutionResult, err error) *MockAPIClientWrapped_RunGetMethod_Call
- func (_c *MockAPIClientWrapped_RunGetMethod_Call) Run(...) *MockAPIClientWrapped_RunGetMethod_Call
- func (_c *MockAPIClientWrapped_RunGetMethod_Call) RunAndReturn(...) *MockAPIClientWrapped_RunGetMethod_Call
- type MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
- func (_c *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) Return(transaction *tlb.Transaction, v *ton.BlockIDExt, bytes []byte, err error) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
- func (_c *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) Run(run func(ctx context.Context, msg *tlb.ExternalMessage)) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
- func (_c *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) RunAndReturn(...) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
- type MockAPIClientWrapped_SendExternalMessage_Call
- func (_c *MockAPIClientWrapped_SendExternalMessage_Call) Return(err error) *MockAPIClientWrapped_SendExternalMessage_Call
- func (_c *MockAPIClientWrapped_SendExternalMessage_Call) Run(run func(ctx context.Context, msg *tlb.ExternalMessage)) *MockAPIClientWrapped_SendExternalMessage_Call
- func (_c *MockAPIClientWrapped_SendExternalMessage_Call) RunAndReturn(run func(ctx context.Context, msg *tlb.ExternalMessage) error) *MockAPIClientWrapped_SendExternalMessage_Call
- type MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
- func (_c *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) Return() *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
- func (_c *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) Run(run func(cfg *liteclient.GlobalConfig)) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
- func (_c *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) RunAndReturn(run func(cfg *liteclient.GlobalConfig)) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
- type MockAPIClientWrapped_SetTrustedBlock_Call
- func (_c *MockAPIClientWrapped_SetTrustedBlock_Call) Return() *MockAPIClientWrapped_SetTrustedBlock_Call
- func (_c *MockAPIClientWrapped_SetTrustedBlock_Call) Run(run func(block *ton.BlockIDExt)) *MockAPIClientWrapped_SetTrustedBlock_Call
- func (_c *MockAPIClientWrapped_SetTrustedBlock_Call) RunAndReturn(run func(block *ton.BlockIDExt)) *MockAPIClientWrapped_SetTrustedBlock_Call
- type MockAPIClientWrapped_SubscribeOnTransactions_Call
- func (_c *MockAPIClientWrapped_SubscribeOnTransactions_Call) Return() *MockAPIClientWrapped_SubscribeOnTransactions_Call
- func (_c *MockAPIClientWrapped_SubscribeOnTransactions_Call) Run(...) *MockAPIClientWrapped_SubscribeOnTransactions_Call
- func (_c *MockAPIClientWrapped_SubscribeOnTransactions_Call) RunAndReturn(...) *MockAPIClientWrapped_SubscribeOnTransactions_Call
- type MockAPIClientWrapped_VerifyProofChain_Call
- func (_c *MockAPIClientWrapped_VerifyProofChain_Call) Return(err error) *MockAPIClientWrapped_VerifyProofChain_Call
- func (_c *MockAPIClientWrapped_VerifyProofChain_Call) Run(run func(ctx context.Context, from *ton.BlockIDExt, to *ton.BlockIDExt)) *MockAPIClientWrapped_VerifyProofChain_Call
- func (_c *MockAPIClientWrapped_VerifyProofChain_Call) RunAndReturn(run func(ctx context.Context, from *ton.BlockIDExt, to *ton.BlockIDExt) error) *MockAPIClientWrapped_VerifyProofChain_Call
- type MockAPIClientWrapped_WaitForBlock_Call
- func (_c *MockAPIClientWrapped_WaitForBlock_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WaitForBlock_Call
- func (_c *MockAPIClientWrapped_WaitForBlock_Call) Run(run func(seqno uint32)) *MockAPIClientWrapped_WaitForBlock_Call
- func (_c *MockAPIClientWrapped_WaitForBlock_Call) RunAndReturn(run func(seqno uint32) ton.APIClientWrapped) *MockAPIClientWrapped_WaitForBlock_Call
- type MockAPIClientWrapped_WithRetry_Call
- func (_c *MockAPIClientWrapped_WithRetry_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithRetry_Call
- func (_c *MockAPIClientWrapped_WithRetry_Call) Run(run func(maxRetries ...int)) *MockAPIClientWrapped_WithRetry_Call
- func (_c *MockAPIClientWrapped_WithRetry_Call) RunAndReturn(run func(maxRetries ...int) ton.APIClientWrapped) *MockAPIClientWrapped_WithRetry_Call
- type MockAPIClientWrapped_WithTimeout_Call
- func (_c *MockAPIClientWrapped_WithTimeout_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithTimeout_Call
- func (_c *MockAPIClientWrapped_WithTimeout_Call) Run(run func(timeout time.Duration)) *MockAPIClientWrapped_WithTimeout_Call
- func (_c *MockAPIClientWrapped_WithTimeout_Call) RunAndReturn(run func(timeout time.Duration) ton.APIClientWrapped) *MockAPIClientWrapped_WithTimeout_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIClientWrapped ¶
MockAPIClientWrapped is an autogenerated mock type for the APIClientWrapped type
func NewMockAPIClientWrapped ¶
func NewMockAPIClientWrapped(t interface {
mock.TestingT
Cleanup(func())
}) *MockAPIClientWrapped
NewMockAPIClientWrapped creates a new instance of MockAPIClientWrapped. 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 (*MockAPIClientWrapped) Client ¶
func (_mock *MockAPIClientWrapped) Client() ton.LiteClient
Client provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) CurrentMasterchainInfo ¶
func (_mock *MockAPIClientWrapped) CurrentMasterchainInfo(ctx context.Context) (*ton.BlockIDExt, error)
CurrentMasterchainInfo provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) EXPECT ¶
func (_m *MockAPIClientWrapped) EXPECT() *MockAPIClientWrapped_Expecter
func (*MockAPIClientWrapped) FindLastTransactionByInMsgHash ¶
func (_mock *MockAPIClientWrapped) FindLastTransactionByInMsgHash(ctx context.Context, addr *address.Address, msgHash []byte, maxTxNumToScan ...int) (*tlb.Transaction, error)
FindLastTransactionByInMsgHash provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) FindLastTransactionByOutMsgHash ¶
func (_mock *MockAPIClientWrapped) FindLastTransactionByOutMsgHash(ctx context.Context, addr *address.Address, msgHash []byte, maxTxNumToScan ...int) (*tlb.Transaction, error)
FindLastTransactionByOutMsgHash provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetAccount ¶
func (_mock *MockAPIClientWrapped) GetAccount(ctx context.Context, block *ton.BlockIDExt, addr *address.Address) (*tlb.Account, error)
GetAccount provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockData ¶
func (_mock *MockAPIClientWrapped) GetBlockData(ctx context.Context, block *ton.BlockIDExt) (*tlb.Block, error)
GetBlockData provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockProof ¶
func (_mock *MockAPIClientWrapped) GetBlockProof(ctx context.Context, known *ton.BlockIDExt, target *ton.BlockIDExt) (*ton.PartialBlockProof, error)
GetBlockProof provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockShardsInfo ¶
func (_mock *MockAPIClientWrapped) GetBlockShardsInfo(ctx context.Context, master *ton.BlockIDExt) ([]*ton.BlockIDExt, error)
GetBlockShardsInfo provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockTransactionsV2 ¶
func (_mock *MockAPIClientWrapped) GetBlockTransactionsV2(ctx context.Context, block *ton.BlockIDExt, count uint32, after ...*ton.TransactionID3) ([]ton.TransactionShortInfo, bool, error)
GetBlockTransactionsV2 provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockchainConfig ¶
func (_mock *MockAPIClientWrapped) GetBlockchainConfig(ctx context.Context, block *ton.BlockIDExt, onlyParams ...int32) (*ton.BlockchainConfig, error)
GetBlockchainConfig provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetLibraries ¶
func (_mock *MockAPIClientWrapped) GetLibraries(ctx context.Context, list ...[]byte) ([]*cell.Cell, error)
GetLibraries provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetMasterchainInfo ¶
func (_mock *MockAPIClientWrapped) GetMasterchainInfo(ctx context.Context) (*ton.BlockIDExt, error)
GetMasterchainInfo provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetTime ¶
func (_mock *MockAPIClientWrapped) GetTime(ctx context.Context) (uint32, error)
GetTime provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetTransaction ¶
func (_mock *MockAPIClientWrapped) GetTransaction(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, lt uint64) (*tlb.Transaction, error)
GetTransaction provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) ListTransactions ¶
func (_mock *MockAPIClientWrapped) ListTransactions(ctx context.Context, addr *address.Address, num uint32, lt uint64, txHash []byte) ([]*tlb.Transaction, error)
ListTransactions provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) LookupBlock ¶
func (_mock *MockAPIClientWrapped) LookupBlock(ctx context.Context, workchain int32, shard int64, seqno uint32) (*ton.BlockIDExt, error)
LookupBlock provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) RunGetMethod ¶
func (_mock *MockAPIClientWrapped) RunGetMethod(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, method string, params ...interface{}) (*ton.ExecutionResult, error)
RunGetMethod provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) SendExternalMessage ¶
func (_mock *MockAPIClientWrapped) SendExternalMessage(ctx context.Context, msg *tlb.ExternalMessage) error
SendExternalMessage provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) SendExternalMessageWaitTransaction ¶
func (_mock *MockAPIClientWrapped) SendExternalMessageWaitTransaction(ctx context.Context, msg *tlb.ExternalMessage) (*tlb.Transaction, *ton.BlockIDExt, []byte, error)
SendExternalMessageWaitTransaction provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) SetTrustedBlock ¶
func (_mock *MockAPIClientWrapped) SetTrustedBlock(block *ton.BlockIDExt)
SetTrustedBlock provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) SetTrustedBlockFromConfig ¶
func (_mock *MockAPIClientWrapped) SetTrustedBlockFromConfig(cfg *liteclient.GlobalConfig)
SetTrustedBlockFromConfig provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) SubscribeOnTransactions ¶
func (_mock *MockAPIClientWrapped) SubscribeOnTransactions(workerCtx context.Context, addr *address.Address, lastProcessedLT uint64, channel chan<- *tlb.Transaction)
SubscribeOnTransactions provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) VerifyProofChain ¶
func (_mock *MockAPIClientWrapped) VerifyProofChain(ctx context.Context, from *ton.BlockIDExt, to *ton.BlockIDExt) error
VerifyProofChain provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) WaitForBlock ¶
func (_mock *MockAPIClientWrapped) WaitForBlock(seqno uint32) ton.APIClientWrapped
WaitForBlock provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) WithRetry ¶
func (_mock *MockAPIClientWrapped) WithRetry(maxRetries ...int) ton.APIClientWrapped
WithRetry provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) WithTimeout ¶
func (_mock *MockAPIClientWrapped) WithTimeout(timeout time.Duration) ton.APIClientWrapped
WithTimeout provides a mock function for the type MockAPIClientWrapped
type MockAPIClientWrapped_Client_Call ¶
MockAPIClientWrapped_Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Client'
func (*MockAPIClientWrapped_Client_Call) Return ¶
func (_c *MockAPIClientWrapped_Client_Call) Return(liteClient ton.LiteClient) *MockAPIClientWrapped_Client_Call
func (*MockAPIClientWrapped_Client_Call) Run ¶
func (_c *MockAPIClientWrapped_Client_Call) Run(run func()) *MockAPIClientWrapped_Client_Call
func (*MockAPIClientWrapped_Client_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_Client_Call) RunAndReturn(run func() ton.LiteClient) *MockAPIClientWrapped_Client_Call
type MockAPIClientWrapped_CurrentMasterchainInfo_Call ¶
MockAPIClientWrapped_CurrentMasterchainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentMasterchainInfo'
func (*MockAPIClientWrapped_CurrentMasterchainInfo_Call) Return ¶
func (_c *MockAPIClientWrapped_CurrentMasterchainInfo_Call) Return(v *ton.BlockIDExt, err error) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
func (*MockAPIClientWrapped_CurrentMasterchainInfo_Call) Run ¶
func (_c *MockAPIClientWrapped_CurrentMasterchainInfo_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
func (*MockAPIClientWrapped_CurrentMasterchainInfo_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_CurrentMasterchainInfo_Call) RunAndReturn(run func(ctx context.Context) (*ton.BlockIDExt, error)) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
type MockAPIClientWrapped_Expecter ¶
type MockAPIClientWrapped_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAPIClientWrapped_Expecter) Client ¶
func (_e *MockAPIClientWrapped_Expecter) Client() *MockAPIClientWrapped_Client_Call
Client is a helper method to define mock.On call
func (*MockAPIClientWrapped_Expecter) CurrentMasterchainInfo ¶
func (_e *MockAPIClientWrapped_Expecter) CurrentMasterchainInfo(ctx interface{}) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
CurrentMasterchainInfo is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClientWrapped_Expecter) FindLastTransactionByInMsgHash ¶
func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByInMsgHash(ctx interface{}, addr interface{}, msgHash interface{}, maxTxNumToScan ...interface{}) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
FindLastTransactionByInMsgHash is a helper method to define mock.On call
- ctx context.Context
- addr *address.Address
- msgHash []byte
- maxTxNumToScan ...int
func (*MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHash ¶
func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHash(ctx interface{}, addr interface{}, msgHash interface{}, maxTxNumToScan ...interface{}) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
FindLastTransactionByOutMsgHash is a helper method to define mock.On call
- ctx context.Context
- addr *address.Address
- msgHash []byte
- maxTxNumToScan ...int
func (*MockAPIClientWrapped_Expecter) GetAccount ¶
func (_e *MockAPIClientWrapped_Expecter) GetAccount(ctx interface{}, block interface{}, addr interface{}) *MockAPIClientWrapped_GetAccount_Call
GetAccount is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- addr *address.Address
func (*MockAPIClientWrapped_Expecter) GetBlockData ¶
func (_e *MockAPIClientWrapped_Expecter) GetBlockData(ctx interface{}, block interface{}) *MockAPIClientWrapped_GetBlockData_Call
GetBlockData is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) GetBlockProof ¶
func (_e *MockAPIClientWrapped_Expecter) GetBlockProof(ctx interface{}, known interface{}, target interface{}) *MockAPIClientWrapped_GetBlockProof_Call
GetBlockProof is a helper method to define mock.On call
- ctx context.Context
- known *ton.BlockIDExt
- target *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) GetBlockShardsInfo ¶
func (_e *MockAPIClientWrapped_Expecter) GetBlockShardsInfo(ctx interface{}, master interface{}) *MockAPIClientWrapped_GetBlockShardsInfo_Call
GetBlockShardsInfo is a helper method to define mock.On call
- ctx context.Context
- master *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) GetBlockTransactionsV2 ¶
func (_e *MockAPIClientWrapped_Expecter) GetBlockTransactionsV2(ctx interface{}, block interface{}, count interface{}, after ...interface{}) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
GetBlockTransactionsV2 is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- count uint32
- after ...*ton.TransactionID3
func (*MockAPIClientWrapped_Expecter) GetBlockchainConfig ¶
func (_e *MockAPIClientWrapped_Expecter) GetBlockchainConfig(ctx interface{}, block interface{}, onlyParams ...interface{}) *MockAPIClientWrapped_GetBlockchainConfig_Call
GetBlockchainConfig is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- onlyParams ...int32
func (*MockAPIClientWrapped_Expecter) GetLibraries ¶
func (_e *MockAPIClientWrapped_Expecter) GetLibraries(ctx interface{}, list ...interface{}) *MockAPIClientWrapped_GetLibraries_Call
GetLibraries is a helper method to define mock.On call
- ctx context.Context
- list ...[]byte
func (*MockAPIClientWrapped_Expecter) GetMasterchainInfo ¶
func (_e *MockAPIClientWrapped_Expecter) GetMasterchainInfo(ctx interface{}) *MockAPIClientWrapped_GetMasterchainInfo_Call
GetMasterchainInfo is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClientWrapped_Expecter) GetTime ¶
func (_e *MockAPIClientWrapped_Expecter) GetTime(ctx interface{}) *MockAPIClientWrapped_GetTime_Call
GetTime is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClientWrapped_Expecter) GetTransaction ¶
func (_e *MockAPIClientWrapped_Expecter) GetTransaction(ctx interface{}, block interface{}, addr interface{}, lt interface{}) *MockAPIClientWrapped_GetTransaction_Call
GetTransaction is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- addr *address.Address
- lt uint64
func (*MockAPIClientWrapped_Expecter) ListTransactions ¶
func (_e *MockAPIClientWrapped_Expecter) ListTransactions(ctx interface{}, addr interface{}, num interface{}, lt interface{}, txHash interface{}) *MockAPIClientWrapped_ListTransactions_Call
ListTransactions is a helper method to define mock.On call
- ctx context.Context
- addr *address.Address
- num uint32
- lt uint64
- txHash []byte
func (*MockAPIClientWrapped_Expecter) LookupBlock ¶
func (_e *MockAPIClientWrapped_Expecter) LookupBlock(ctx interface{}, workchain interface{}, shard interface{}, seqno interface{}) *MockAPIClientWrapped_LookupBlock_Call
LookupBlock is a helper method to define mock.On call
- ctx context.Context
- workchain int32
- shard int64
- seqno uint32
func (*MockAPIClientWrapped_Expecter) RunGetMethod ¶
func (_e *MockAPIClientWrapped_Expecter) RunGetMethod(ctx interface{}, blockInfo interface{}, addr interface{}, method interface{}, params ...interface{}) *MockAPIClientWrapped_RunGetMethod_Call
RunGetMethod is a helper method to define mock.On call
- ctx context.Context
- blockInfo *ton.BlockIDExt
- addr *address.Address
- method string
- params ...interface{}
func (*MockAPIClientWrapped_Expecter) SendExternalMessage ¶
func (_e *MockAPIClientWrapped_Expecter) SendExternalMessage(ctx interface{}, msg interface{}) *MockAPIClientWrapped_SendExternalMessage_Call
SendExternalMessage is a helper method to define mock.On call
- ctx context.Context
- msg *tlb.ExternalMessage
func (*MockAPIClientWrapped_Expecter) SendExternalMessageWaitTransaction ¶
func (_e *MockAPIClientWrapped_Expecter) SendExternalMessageWaitTransaction(ctx interface{}, msg interface{}) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
SendExternalMessageWaitTransaction is a helper method to define mock.On call
- ctx context.Context
- msg *tlb.ExternalMessage
func (*MockAPIClientWrapped_Expecter) SetTrustedBlock ¶
func (_e *MockAPIClientWrapped_Expecter) SetTrustedBlock(block interface{}) *MockAPIClientWrapped_SetTrustedBlock_Call
SetTrustedBlock is a helper method to define mock.On call
- block *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) SetTrustedBlockFromConfig ¶
func (_e *MockAPIClientWrapped_Expecter) SetTrustedBlockFromConfig(cfg interface{}) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
SetTrustedBlockFromConfig is a helper method to define mock.On call
- cfg *liteclient.GlobalConfig
func (*MockAPIClientWrapped_Expecter) SubscribeOnTransactions ¶
func (_e *MockAPIClientWrapped_Expecter) SubscribeOnTransactions(workerCtx interface{}, addr interface{}, lastProcessedLT interface{}, channel interface{}) *MockAPIClientWrapped_SubscribeOnTransactions_Call
SubscribeOnTransactions is a helper method to define mock.On call
- workerCtx context.Context
- addr *address.Address
- lastProcessedLT uint64
- channel chan<- *tlb.Transaction
func (*MockAPIClientWrapped_Expecter) VerifyProofChain ¶
func (_e *MockAPIClientWrapped_Expecter) VerifyProofChain(ctx interface{}, from interface{}, to interface{}) *MockAPIClientWrapped_VerifyProofChain_Call
VerifyProofChain is a helper method to define mock.On call
- ctx context.Context
- from *ton.BlockIDExt
- to *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) WaitForBlock ¶
func (_e *MockAPIClientWrapped_Expecter) WaitForBlock(seqno interface{}) *MockAPIClientWrapped_WaitForBlock_Call
WaitForBlock is a helper method to define mock.On call
- seqno uint32
func (*MockAPIClientWrapped_Expecter) WithRetry ¶
func (_e *MockAPIClientWrapped_Expecter) WithRetry(maxRetries ...interface{}) *MockAPIClientWrapped_WithRetry_Call
WithRetry is a helper method to define mock.On call
- maxRetries ...int
func (*MockAPIClientWrapped_Expecter) WithTimeout ¶
func (_e *MockAPIClientWrapped_Expecter) WithTimeout(timeout interface{}) *MockAPIClientWrapped_WithTimeout_Call
WithTimeout is a helper method to define mock.On call
- timeout time.Duration
type MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call ¶
MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindLastTransactionByInMsgHash'
func (*MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) Return ¶
func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
func (*MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) Run ¶
func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) Run(run func(ctx context.Context, addr *address.Address, msgHash []byte, maxTxNumToScan ...int)) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
func (*MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call) RunAndReturn(run func(ctx context.Context, addr *address.Address, msgHash []byte, maxTxNumToScan ...int) (*tlb.Transaction, error)) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
type MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call ¶
MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindLastTransactionByOutMsgHash'
func (*MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) Return ¶
func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
func (*MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) Run ¶
func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) Run(run func(ctx context.Context, addr *address.Address, msgHash []byte, maxTxNumToScan ...int)) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
func (*MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call) RunAndReturn(run func(ctx context.Context, addr *address.Address, msgHash []byte, maxTxNumToScan ...int) (*tlb.Transaction, error)) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
type MockAPIClientWrapped_GetAccount_Call ¶
MockAPIClientWrapped_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*MockAPIClientWrapped_GetAccount_Call) Return ¶
func (_c *MockAPIClientWrapped_GetAccount_Call) Return(account *tlb.Account, err error) *MockAPIClientWrapped_GetAccount_Call
func (*MockAPIClientWrapped_GetAccount_Call) Run ¶
func (_c *MockAPIClientWrapped_GetAccount_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address)) *MockAPIClientWrapped_GetAccount_Call
func (*MockAPIClientWrapped_GetAccount_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetAccount_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address) (*tlb.Account, error)) *MockAPIClientWrapped_GetAccount_Call
type MockAPIClientWrapped_GetBlockData_Call ¶
MockAPIClientWrapped_GetBlockData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockData'
func (*MockAPIClientWrapped_GetBlockData_Call) Return ¶
func (_c *MockAPIClientWrapped_GetBlockData_Call) Return(block1 *tlb.Block, err error) *MockAPIClientWrapped_GetBlockData_Call
func (*MockAPIClientWrapped_GetBlockData_Call) Run ¶
func (_c *MockAPIClientWrapped_GetBlockData_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockData_Call
func (*MockAPIClientWrapped_GetBlockData_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetBlockData_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*tlb.Block, error)) *MockAPIClientWrapped_GetBlockData_Call
type MockAPIClientWrapped_GetBlockProof_Call ¶
MockAPIClientWrapped_GetBlockProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockProof'
func (*MockAPIClientWrapped_GetBlockProof_Call) Return ¶
func (_c *MockAPIClientWrapped_GetBlockProof_Call) Return(partialBlockProof *ton.PartialBlockProof, err error) *MockAPIClientWrapped_GetBlockProof_Call
func (*MockAPIClientWrapped_GetBlockProof_Call) Run ¶
func (_c *MockAPIClientWrapped_GetBlockProof_Call) Run(run func(ctx context.Context, known *ton.BlockIDExt, target *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockProof_Call
func (*MockAPIClientWrapped_GetBlockProof_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetBlockProof_Call) RunAndReturn(run func(ctx context.Context, known *ton.BlockIDExt, target *ton.BlockIDExt) (*ton.PartialBlockProof, error)) *MockAPIClientWrapped_GetBlockProof_Call
type MockAPIClientWrapped_GetBlockShardsInfo_Call ¶
MockAPIClientWrapped_GetBlockShardsInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockShardsInfo'
func (*MockAPIClientWrapped_GetBlockShardsInfo_Call) Return ¶
func (_c *MockAPIClientWrapped_GetBlockShardsInfo_Call) Return(vs []*ton.BlockIDExt, err error) *MockAPIClientWrapped_GetBlockShardsInfo_Call
func (*MockAPIClientWrapped_GetBlockShardsInfo_Call) Run ¶
func (_c *MockAPIClientWrapped_GetBlockShardsInfo_Call) Run(run func(ctx context.Context, master *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockShardsInfo_Call
func (*MockAPIClientWrapped_GetBlockShardsInfo_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetBlockShardsInfo_Call) RunAndReturn(run func(ctx context.Context, master *ton.BlockIDExt) ([]*ton.BlockIDExt, error)) *MockAPIClientWrapped_GetBlockShardsInfo_Call
type MockAPIClientWrapped_GetBlockTransactionsV2_Call ¶
MockAPIClientWrapped_GetBlockTransactionsV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockTransactionsV2'
func (*MockAPIClientWrapped_GetBlockTransactionsV2_Call) Return ¶
func (_c *MockAPIClientWrapped_GetBlockTransactionsV2_Call) Return(transactionShortInfos []ton.TransactionShortInfo, b bool, err error) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
func (*MockAPIClientWrapped_GetBlockTransactionsV2_Call) Run ¶
func (_c *MockAPIClientWrapped_GetBlockTransactionsV2_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, count uint32, after ...*ton.TransactionID3)) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
func (*MockAPIClientWrapped_GetBlockTransactionsV2_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetBlockTransactionsV2_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt, count uint32, after ...*ton.TransactionID3) ([]ton.TransactionShortInfo, bool, error)) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
type MockAPIClientWrapped_GetBlockchainConfig_Call ¶
MockAPIClientWrapped_GetBlockchainConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockchainConfig'
func (*MockAPIClientWrapped_GetBlockchainConfig_Call) Return ¶
func (_c *MockAPIClientWrapped_GetBlockchainConfig_Call) Return(blockchainConfig *ton.BlockchainConfig, err error) *MockAPIClientWrapped_GetBlockchainConfig_Call
func (*MockAPIClientWrapped_GetBlockchainConfig_Call) Run ¶
func (_c *MockAPIClientWrapped_GetBlockchainConfig_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, onlyParams ...int32)) *MockAPIClientWrapped_GetBlockchainConfig_Call
func (*MockAPIClientWrapped_GetBlockchainConfig_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetBlockchainConfig_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt, onlyParams ...int32) (*ton.BlockchainConfig, error)) *MockAPIClientWrapped_GetBlockchainConfig_Call
type MockAPIClientWrapped_GetLibraries_Call ¶
MockAPIClientWrapped_GetLibraries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLibraries'
func (*MockAPIClientWrapped_GetLibraries_Call) Return ¶
func (_c *MockAPIClientWrapped_GetLibraries_Call) Return(cells []*cell.Cell, err error) *MockAPIClientWrapped_GetLibraries_Call
func (*MockAPIClientWrapped_GetLibraries_Call) Run ¶
func (_c *MockAPIClientWrapped_GetLibraries_Call) Run(run func(ctx context.Context, list ...[]byte)) *MockAPIClientWrapped_GetLibraries_Call
func (*MockAPIClientWrapped_GetLibraries_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetLibraries_Call) RunAndReturn(run func(ctx context.Context, list ...[]byte) ([]*cell.Cell, error)) *MockAPIClientWrapped_GetLibraries_Call
type MockAPIClientWrapped_GetMasterchainInfo_Call ¶
MockAPIClientWrapped_GetMasterchainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMasterchainInfo'
func (*MockAPIClientWrapped_GetMasterchainInfo_Call) Return ¶
func (_c *MockAPIClientWrapped_GetMasterchainInfo_Call) Return(v *ton.BlockIDExt, err error) *MockAPIClientWrapped_GetMasterchainInfo_Call
func (*MockAPIClientWrapped_GetMasterchainInfo_Call) Run ¶
func (_c *MockAPIClientWrapped_GetMasterchainInfo_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetMasterchainInfo_Call
func (*MockAPIClientWrapped_GetMasterchainInfo_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetMasterchainInfo_Call) RunAndReturn(run func(ctx context.Context) (*ton.BlockIDExt, error)) *MockAPIClientWrapped_GetMasterchainInfo_Call
type MockAPIClientWrapped_GetTime_Call ¶
MockAPIClientWrapped_GetTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTime'
func (*MockAPIClientWrapped_GetTime_Call) Return ¶
func (_c *MockAPIClientWrapped_GetTime_Call) Return(v uint32, err error) *MockAPIClientWrapped_GetTime_Call
func (*MockAPIClientWrapped_GetTime_Call) Run ¶
func (_c *MockAPIClientWrapped_GetTime_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetTime_Call
func (*MockAPIClientWrapped_GetTime_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetTime_Call) RunAndReturn(run func(ctx context.Context) (uint32, error)) *MockAPIClientWrapped_GetTime_Call
type MockAPIClientWrapped_GetTransaction_Call ¶
MockAPIClientWrapped_GetTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransaction'
func (*MockAPIClientWrapped_GetTransaction_Call) Return ¶
func (_c *MockAPIClientWrapped_GetTransaction_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_GetTransaction_Call
func (*MockAPIClientWrapped_GetTransaction_Call) Run ¶
func (_c *MockAPIClientWrapped_GetTransaction_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, lt uint64)) *MockAPIClientWrapped_GetTransaction_Call
func (*MockAPIClientWrapped_GetTransaction_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_GetTransaction_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, lt uint64) (*tlb.Transaction, error)) *MockAPIClientWrapped_GetTransaction_Call
type MockAPIClientWrapped_ListTransactions_Call ¶
MockAPIClientWrapped_ListTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTransactions'
func (*MockAPIClientWrapped_ListTransactions_Call) Return ¶
func (_c *MockAPIClientWrapped_ListTransactions_Call) Return(transactions []*tlb.Transaction, err error) *MockAPIClientWrapped_ListTransactions_Call
func (*MockAPIClientWrapped_ListTransactions_Call) Run ¶
func (_c *MockAPIClientWrapped_ListTransactions_Call) Run(run func(ctx context.Context, addr *address.Address, num uint32, lt uint64, txHash []byte)) *MockAPIClientWrapped_ListTransactions_Call
func (*MockAPIClientWrapped_ListTransactions_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_ListTransactions_Call) RunAndReturn(run func(ctx context.Context, addr *address.Address, num uint32, lt uint64, txHash []byte) ([]*tlb.Transaction, error)) *MockAPIClientWrapped_ListTransactions_Call
type MockAPIClientWrapped_LookupBlock_Call ¶
MockAPIClientWrapped_LookupBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LookupBlock'
func (*MockAPIClientWrapped_LookupBlock_Call) Return ¶
func (_c *MockAPIClientWrapped_LookupBlock_Call) Return(v *ton.BlockIDExt, err error) *MockAPIClientWrapped_LookupBlock_Call
func (*MockAPIClientWrapped_LookupBlock_Call) Run ¶
func (_c *MockAPIClientWrapped_LookupBlock_Call) Run(run func(ctx context.Context, workchain int32, shard int64, seqno uint32)) *MockAPIClientWrapped_LookupBlock_Call
func (*MockAPIClientWrapped_LookupBlock_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_LookupBlock_Call) RunAndReturn(run func(ctx context.Context, workchain int32, shard int64, seqno uint32) (*ton.BlockIDExt, error)) *MockAPIClientWrapped_LookupBlock_Call
type MockAPIClientWrapped_RunGetMethod_Call ¶
MockAPIClientWrapped_RunGetMethod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunGetMethod'
func (*MockAPIClientWrapped_RunGetMethod_Call) Return ¶
func (_c *MockAPIClientWrapped_RunGetMethod_Call) Return(executionResult *ton.ExecutionResult, err error) *MockAPIClientWrapped_RunGetMethod_Call
func (*MockAPIClientWrapped_RunGetMethod_Call) Run ¶
func (_c *MockAPIClientWrapped_RunGetMethod_Call) Run(run func(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, method string, params ...interface{})) *MockAPIClientWrapped_RunGetMethod_Call
func (*MockAPIClientWrapped_RunGetMethod_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_RunGetMethod_Call) RunAndReturn(run func(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, method string, params ...interface{}) (*ton.ExecutionResult, error)) *MockAPIClientWrapped_RunGetMethod_Call
type MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call ¶
MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendExternalMessageWaitTransaction'
func (*MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) Return ¶
func (_c *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) Return(transaction *tlb.Transaction, v *ton.BlockIDExt, bytes []byte, err error) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
func (*MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) Run ¶
func (_c *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) Run(run func(ctx context.Context, msg *tlb.ExternalMessage)) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
func (*MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call) RunAndReturn(run func(ctx context.Context, msg *tlb.ExternalMessage) (*tlb.Transaction, *ton.BlockIDExt, []byte, error)) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
type MockAPIClientWrapped_SendExternalMessage_Call ¶
MockAPIClientWrapped_SendExternalMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendExternalMessage'
func (*MockAPIClientWrapped_SendExternalMessage_Call) Return ¶
func (_c *MockAPIClientWrapped_SendExternalMessage_Call) Return(err error) *MockAPIClientWrapped_SendExternalMessage_Call
func (*MockAPIClientWrapped_SendExternalMessage_Call) Run ¶
func (_c *MockAPIClientWrapped_SendExternalMessage_Call) Run(run func(ctx context.Context, msg *tlb.ExternalMessage)) *MockAPIClientWrapped_SendExternalMessage_Call
func (*MockAPIClientWrapped_SendExternalMessage_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_SendExternalMessage_Call) RunAndReturn(run func(ctx context.Context, msg *tlb.ExternalMessage) error) *MockAPIClientWrapped_SendExternalMessage_Call
type MockAPIClientWrapped_SetTrustedBlockFromConfig_Call ¶
MockAPIClientWrapped_SetTrustedBlockFromConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrustedBlockFromConfig'
func (*MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) Run ¶
func (_c *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) Run(run func(cfg *liteclient.GlobalConfig)) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
func (*MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call) RunAndReturn(run func(cfg *liteclient.GlobalConfig)) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
type MockAPIClientWrapped_SetTrustedBlock_Call ¶
MockAPIClientWrapped_SetTrustedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrustedBlock'
func (*MockAPIClientWrapped_SetTrustedBlock_Call) Return ¶
func (_c *MockAPIClientWrapped_SetTrustedBlock_Call) Return() *MockAPIClientWrapped_SetTrustedBlock_Call
func (*MockAPIClientWrapped_SetTrustedBlock_Call) Run ¶
func (_c *MockAPIClientWrapped_SetTrustedBlock_Call) Run(run func(block *ton.BlockIDExt)) *MockAPIClientWrapped_SetTrustedBlock_Call
func (*MockAPIClientWrapped_SetTrustedBlock_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_SetTrustedBlock_Call) RunAndReturn(run func(block *ton.BlockIDExt)) *MockAPIClientWrapped_SetTrustedBlock_Call
type MockAPIClientWrapped_SubscribeOnTransactions_Call ¶
MockAPIClientWrapped_SubscribeOnTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeOnTransactions'
func (*MockAPIClientWrapped_SubscribeOnTransactions_Call) Run ¶
func (_c *MockAPIClientWrapped_SubscribeOnTransactions_Call) Run(run func(workerCtx context.Context, addr *address.Address, lastProcessedLT uint64, channel chan<- *tlb.Transaction)) *MockAPIClientWrapped_SubscribeOnTransactions_Call
func (*MockAPIClientWrapped_SubscribeOnTransactions_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_SubscribeOnTransactions_Call) RunAndReturn(run func(workerCtx context.Context, addr *address.Address, lastProcessedLT uint64, channel chan<- *tlb.Transaction)) *MockAPIClientWrapped_SubscribeOnTransactions_Call
type MockAPIClientWrapped_VerifyProofChain_Call ¶
MockAPIClientWrapped_VerifyProofChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyProofChain'
func (*MockAPIClientWrapped_VerifyProofChain_Call) Return ¶
func (_c *MockAPIClientWrapped_VerifyProofChain_Call) Return(err error) *MockAPIClientWrapped_VerifyProofChain_Call
func (*MockAPIClientWrapped_VerifyProofChain_Call) Run ¶
func (_c *MockAPIClientWrapped_VerifyProofChain_Call) Run(run func(ctx context.Context, from *ton.BlockIDExt, to *ton.BlockIDExt)) *MockAPIClientWrapped_VerifyProofChain_Call
func (*MockAPIClientWrapped_VerifyProofChain_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_VerifyProofChain_Call) RunAndReturn(run func(ctx context.Context, from *ton.BlockIDExt, to *ton.BlockIDExt) error) *MockAPIClientWrapped_VerifyProofChain_Call
type MockAPIClientWrapped_WaitForBlock_Call ¶
MockAPIClientWrapped_WaitForBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitForBlock'
func (*MockAPIClientWrapped_WaitForBlock_Call) Return ¶
func (_c *MockAPIClientWrapped_WaitForBlock_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WaitForBlock_Call
func (*MockAPIClientWrapped_WaitForBlock_Call) Run ¶
func (_c *MockAPIClientWrapped_WaitForBlock_Call) Run(run func(seqno uint32)) *MockAPIClientWrapped_WaitForBlock_Call
func (*MockAPIClientWrapped_WaitForBlock_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_WaitForBlock_Call) RunAndReturn(run func(seqno uint32) ton.APIClientWrapped) *MockAPIClientWrapped_WaitForBlock_Call
type MockAPIClientWrapped_WithRetry_Call ¶
MockAPIClientWrapped_WithRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithRetry'
func (*MockAPIClientWrapped_WithRetry_Call) Return ¶
func (_c *MockAPIClientWrapped_WithRetry_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithRetry_Call
func (*MockAPIClientWrapped_WithRetry_Call) Run ¶
func (_c *MockAPIClientWrapped_WithRetry_Call) Run(run func(maxRetries ...int)) *MockAPIClientWrapped_WithRetry_Call
func (*MockAPIClientWrapped_WithRetry_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_WithRetry_Call) RunAndReturn(run func(maxRetries ...int) ton.APIClientWrapped) *MockAPIClientWrapped_WithRetry_Call
type MockAPIClientWrapped_WithTimeout_Call ¶
MockAPIClientWrapped_WithTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTimeout'
func (*MockAPIClientWrapped_WithTimeout_Call) Return ¶
func (_c *MockAPIClientWrapped_WithTimeout_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithTimeout_Call
func (*MockAPIClientWrapped_WithTimeout_Call) Run ¶
func (_c *MockAPIClientWrapped_WithTimeout_Call) Run(run func(timeout time.Duration)) *MockAPIClientWrapped_WithTimeout_Call
func (*MockAPIClientWrapped_WithTimeout_Call) RunAndReturn ¶
func (_c *MockAPIClientWrapped_WithTimeout_Call) RunAndReturn(run func(timeout time.Duration) ton.APIClientWrapped) *MockAPIClientWrapped_WithTimeout_Call