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) FindLastTransactionByInMsgHashAfterTime(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time) (*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) FindLastTransactionByOutMsgHash(ctx context.Context, addr *address.Address, msgHash []byte, ...) (*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) FindLastTransactionByOutMsgHashAfterTime(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time) (*tlb.Transaction, error)
- func (_mock *MockAPIClientWrapped) GetAccount(ctx context.Context, block *ton.BlockIDExt, addr *address.Address) (*tlb.Account, error)
- func (_mock *MockAPIClientWrapped) GetAllNonfinalPendingShardBlocks(ctx context.Context) (*ton.NonfinalPendingShardBlocks, error)
- func (_mock *MockAPIClientWrapped) GetAllNonfinalValidatorGroups(ctx context.Context) (*ton.NonfinalValidatorGroups, error)
- func (_mock *MockAPIClientWrapped) GetBlockData(ctx context.Context, block *ton.BlockIDExt) (*tlb.Block, error)
- func (_mock *MockAPIClientWrapped) GetBlockDataAsCell(ctx context.Context, block *ton.BlockIDExt) (*cell.Cell, error)
- func (_mock *MockAPIClientWrapped) GetBlockHeader(ctx context.Context, block *ton.BlockIDExt) (*tlb.BlockHeader, error)
- func (_mock *MockAPIClientWrapped) GetBlockOutMsgQueueSize(ctx context.Context, block *ton.BlockIDExt) (*ton.BlockOutMsgQueueSize, 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) (*tlb.BlockchainConfig, error)
- func (_mock *MockAPIClientWrapped) GetDispatchQueueInfo(ctx context.Context, block *ton.BlockIDExt, afterAddr *address.Address, ...) (*ton.DispatchQueueInfo, error)
- func (_mock *MockAPIClientWrapped) GetDispatchQueueMessages(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, ...) (*ton.DispatchQueueMessages, 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) GetNonfinalCandidate(ctx context.Context, id *ton.NonfinalCandidateID) (*ton.NonfinalCandidate, error)
- func (_mock *MockAPIClientWrapped) GetNonfinalPendingShardBlocks(ctx context.Context, wc int32, shard int64) (*ton.NonfinalPendingShardBlocks, error)
- func (_mock *MockAPIClientWrapped) GetNonfinalValidatorGroups(ctx context.Context, wc int32, shard int64) (*ton.NonfinalValidatorGroups, error)
- func (_mock *MockAPIClientWrapped) GetOutMsgQueueSizes(ctx context.Context, wc *int32, shard *int64) (*ton.OutMsgQueueSizes, 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) RunGetMethodByID(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) WithLSInfoInErrors() ton.APIClientWrapped
- func (_mock *MockAPIClientWrapped) WithRetry(maxRetries ...int) ton.APIClientWrapped
- func (_mock *MockAPIClientWrapped) WithRetryTimeout(maxRetries int, timeout time.Duration) 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(blockIDExt *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 any) *MockAPIClientWrapped_CurrentMasterchainInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByInMsgHash(ctx any, addr any, msgHash any, maxTxNumToScan ...any) *MockAPIClientWrapped_FindLastTransactionByInMsgHash_Call
- func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByInMsgHashAfterTime(ctx any, addr any, msgHash any, after any) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
- func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHash(ctx any, addr any, msgHash any, maxTxNumToScan ...any) *MockAPIClientWrapped_FindLastTransactionByOutMsgHash_Call
- func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHashAfterTime(ctx any, addr any, msgHash any, after any) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call
- func (_e *MockAPIClientWrapped_Expecter) GetAccount(ctx any, block any, addr any) *MockAPIClientWrapped_GetAccount_Call
- func (_e *MockAPIClientWrapped_Expecter) GetAllNonfinalPendingShardBlocks(ctx any) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
- func (_e *MockAPIClientWrapped_Expecter) GetAllNonfinalValidatorGroups(ctx any) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockData(ctx any, block any) *MockAPIClientWrapped_GetBlockData_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockDataAsCell(ctx any, block any) *MockAPIClientWrapped_GetBlockDataAsCell_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockHeader(ctx any, block any) *MockAPIClientWrapped_GetBlockHeader_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockOutMsgQueueSize(ctx any, block any) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockProof(ctx any, known any, target any) *MockAPIClientWrapped_GetBlockProof_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockShardsInfo(ctx any, master any) *MockAPIClientWrapped_GetBlockShardsInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockTransactionsV2(ctx any, block any, count any, after ...any) *MockAPIClientWrapped_GetBlockTransactionsV2_Call
- func (_e *MockAPIClientWrapped_Expecter) GetBlockchainConfig(ctx any, block any, onlyParams ...any) *MockAPIClientWrapped_GetBlockchainConfig_Call
- func (_e *MockAPIClientWrapped_Expecter) GetDispatchQueueInfo(ctx any, block any, afterAddr any, maxAccounts any) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) GetDispatchQueueMessages(ctx any, block any, addr any, afterLT any, maxMessages any, options ...any) *MockAPIClientWrapped_GetDispatchQueueMessages_Call
- func (_e *MockAPIClientWrapped_Expecter) GetLibraries(ctx any, list ...any) *MockAPIClientWrapped_GetLibraries_Call
- func (_e *MockAPIClientWrapped_Expecter) GetMasterchainInfo(ctx any) *MockAPIClientWrapped_GetMasterchainInfo_Call
- func (_e *MockAPIClientWrapped_Expecter) GetNonfinalCandidate(ctx any, id any) *MockAPIClientWrapped_GetNonfinalCandidate_Call
- func (_e *MockAPIClientWrapped_Expecter) GetNonfinalPendingShardBlocks(ctx any, wc any, shard any) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
- func (_e *MockAPIClientWrapped_Expecter) GetNonfinalValidatorGroups(ctx any, wc any, shard any) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
- func (_e *MockAPIClientWrapped_Expecter) GetOutMsgQueueSizes(ctx any, wc any, shard any) *MockAPIClientWrapped_GetOutMsgQueueSizes_Call
- func (_e *MockAPIClientWrapped_Expecter) GetTime(ctx any) *MockAPIClientWrapped_GetTime_Call
- func (_e *MockAPIClientWrapped_Expecter) GetTransaction(ctx any, block any, addr any, lt any) *MockAPIClientWrapped_GetTransaction_Call
- func (_e *MockAPIClientWrapped_Expecter) ListTransactions(ctx any, addr any, num any, lt any, txHash any) *MockAPIClientWrapped_ListTransactions_Call
- func (_e *MockAPIClientWrapped_Expecter) LookupBlock(ctx any, workchain any, shard any, seqno any) *MockAPIClientWrapped_LookupBlock_Call
- func (_e *MockAPIClientWrapped_Expecter) RunGetMethod(ctx any, blockInfo any, addr any, method any, params ...any) *MockAPIClientWrapped_RunGetMethod_Call
- func (_e *MockAPIClientWrapped_Expecter) RunGetMethodByID(ctx any, blockInfo any, addr any, methodID any, params ...any) *MockAPIClientWrapped_RunGetMethodByID_Call
- func (_e *MockAPIClientWrapped_Expecter) SendExternalMessage(ctx any, msg any) *MockAPIClientWrapped_SendExternalMessage_Call
- func (_e *MockAPIClientWrapped_Expecter) SendExternalMessageWaitTransaction(ctx any, msg any) *MockAPIClientWrapped_SendExternalMessageWaitTransaction_Call
- func (_e *MockAPIClientWrapped_Expecter) SetTrustedBlock(block any) *MockAPIClientWrapped_SetTrustedBlock_Call
- func (_e *MockAPIClientWrapped_Expecter) SetTrustedBlockFromConfig(cfg any) *MockAPIClientWrapped_SetTrustedBlockFromConfig_Call
- func (_e *MockAPIClientWrapped_Expecter) SubscribeOnTransactions(workerCtx any, addr any, lastProcessedLT any, channel any) *MockAPIClientWrapped_SubscribeOnTransactions_Call
- func (_e *MockAPIClientWrapped_Expecter) VerifyProofChain(ctx any, from any, to any) *MockAPIClientWrapped_VerifyProofChain_Call
- func (_e *MockAPIClientWrapped_Expecter) WaitForBlock(seqno any) *MockAPIClientWrapped_WaitForBlock_Call
- func (_e *MockAPIClientWrapped_Expecter) WithLSInfoInErrors() *MockAPIClientWrapped_WithLSInfoInErrors_Call
- func (_e *MockAPIClientWrapped_Expecter) WithRetry(maxRetries ...any) *MockAPIClientWrapped_WithRetry_Call
- func (_e *MockAPIClientWrapped_Expecter) WithRetryTimeout(maxRetries any, timeout any) *MockAPIClientWrapped_WithRetryTimeout_Call
- func (_e *MockAPIClientWrapped_Expecter) WithTimeout(timeout any) *MockAPIClientWrapped_WithTimeout_Call
- type MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) Run(...) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) RunAndReturn(...) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_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_FindLastTransactionByOutMsgHashAfterTime_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) Run(...) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call
- func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) RunAndReturn(...) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_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_GetAllNonfinalPendingShardBlocks_Call
- func (_c *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) Return(nonfinalPendingShardBlocks *ton.NonfinalPendingShardBlocks, err error) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
- func (_c *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
- func (_c *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) RunAndReturn(run func(ctx context.Context) (*ton.NonfinalPendingShardBlocks, error)) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
- type MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
- func (_c *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) Return(nonfinalValidatorGroups *ton.NonfinalValidatorGroups, err error) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
- func (_c *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
- func (_c *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) RunAndReturn(run func(ctx context.Context) (*ton.NonfinalValidatorGroups, error)) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
- type MockAPIClientWrapped_GetBlockDataAsCell_Call
- func (_c *MockAPIClientWrapped_GetBlockDataAsCell_Call) Return(cell1 *cell.Cell, err error) *MockAPIClientWrapped_GetBlockDataAsCell_Call
- func (_c *MockAPIClientWrapped_GetBlockDataAsCell_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockDataAsCell_Call
- func (_c *MockAPIClientWrapped_GetBlockDataAsCell_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*cell.Cell, error)) *MockAPIClientWrapped_GetBlockDataAsCell_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_GetBlockHeader_Call
- func (_c *MockAPIClientWrapped_GetBlockHeader_Call) Return(blockHeader *tlb.BlockHeader, err error) *MockAPIClientWrapped_GetBlockHeader_Call
- func (_c *MockAPIClientWrapped_GetBlockHeader_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockHeader_Call
- func (_c *MockAPIClientWrapped_GetBlockHeader_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*tlb.BlockHeader, error)) *MockAPIClientWrapped_GetBlockHeader_Call
- type MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
- func (_c *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) Return(blockOutMsgQueueSize *ton.BlockOutMsgQueueSize, err error) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
- func (_c *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
- func (_c *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) RunAndReturn(...) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_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(blockIDExts []*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 *tlb.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_GetDispatchQueueInfo_Call
- func (_c *MockAPIClientWrapped_GetDispatchQueueInfo_Call) Return(dispatchQueueInfo *ton.DispatchQueueInfo, err error) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
- func (_c *MockAPIClientWrapped_GetDispatchQueueInfo_Call) Run(...) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
- func (_c *MockAPIClientWrapped_GetDispatchQueueInfo_Call) RunAndReturn(...) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
- type MockAPIClientWrapped_GetDispatchQueueMessages_Call
- func (_c *MockAPIClientWrapped_GetDispatchQueueMessages_Call) Return(dispatchQueueMessages *ton.DispatchQueueMessages, err error) *MockAPIClientWrapped_GetDispatchQueueMessages_Call
- func (_c *MockAPIClientWrapped_GetDispatchQueueMessages_Call) Run(...) *MockAPIClientWrapped_GetDispatchQueueMessages_Call
- func (_c *MockAPIClientWrapped_GetDispatchQueueMessages_Call) RunAndReturn(...) *MockAPIClientWrapped_GetDispatchQueueMessages_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(blockIDExt *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_GetNonfinalCandidate_Call
- func (_c *MockAPIClientWrapped_GetNonfinalCandidate_Call) Return(nonfinalCandidate *ton.NonfinalCandidate, err error) *MockAPIClientWrapped_GetNonfinalCandidate_Call
- func (_c *MockAPIClientWrapped_GetNonfinalCandidate_Call) Run(run func(ctx context.Context, id *ton.NonfinalCandidateID)) *MockAPIClientWrapped_GetNonfinalCandidate_Call
- func (_c *MockAPIClientWrapped_GetNonfinalCandidate_Call) RunAndReturn(...) *MockAPIClientWrapped_GetNonfinalCandidate_Call
- type MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
- func (_c *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) Return(nonfinalPendingShardBlocks *ton.NonfinalPendingShardBlocks, err error) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
- func (_c *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) Run(run func(ctx context.Context, wc int32, shard int64)) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
- func (_c *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) RunAndReturn(...) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
- type MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
- func (_c *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) Return(nonfinalValidatorGroups *ton.NonfinalValidatorGroups, err error) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
- func (_c *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) Run(run func(ctx context.Context, wc int32, shard int64)) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
- func (_c *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) RunAndReturn(...) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
- type MockAPIClientWrapped_GetOutMsgQueueSizes_Call
- func (_c *MockAPIClientWrapped_GetOutMsgQueueSizes_Call) Return(outMsgQueueSizes *ton.OutMsgQueueSizes, err error) *MockAPIClientWrapped_GetOutMsgQueueSizes_Call
- func (_c *MockAPIClientWrapped_GetOutMsgQueueSizes_Call) Run(run func(ctx context.Context, wc *int32, shard *int64)) *MockAPIClientWrapped_GetOutMsgQueueSizes_Call
- func (_c *MockAPIClientWrapped_GetOutMsgQueueSizes_Call) RunAndReturn(...) *MockAPIClientWrapped_GetOutMsgQueueSizes_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(blockIDExt *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_RunGetMethodByID_Call
- func (_c *MockAPIClientWrapped_RunGetMethodByID_Call) Return(executionResult *ton.ExecutionResult, err error) *MockAPIClientWrapped_RunGetMethodByID_Call
- func (_c *MockAPIClientWrapped_RunGetMethodByID_Call) Run(...) *MockAPIClientWrapped_RunGetMethodByID_Call
- func (_c *MockAPIClientWrapped_RunGetMethodByID_Call) RunAndReturn(...) *MockAPIClientWrapped_RunGetMethodByID_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, blockIDExt *ton.BlockIDExt, bytes []byte, ...) *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_WithLSInfoInErrors_Call
- func (_c *MockAPIClientWrapped_WithLSInfoInErrors_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithLSInfoInErrors_Call
- func (_c *MockAPIClientWrapped_WithLSInfoInErrors_Call) Run(run func()) *MockAPIClientWrapped_WithLSInfoInErrors_Call
- func (_c *MockAPIClientWrapped_WithLSInfoInErrors_Call) RunAndReturn(run func() ton.APIClientWrapped) *MockAPIClientWrapped_WithLSInfoInErrors_Call
- type MockAPIClientWrapped_WithRetryTimeout_Call
- func (_c *MockAPIClientWrapped_WithRetryTimeout_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithRetryTimeout_Call
- func (_c *MockAPIClientWrapped_WithRetryTimeout_Call) Run(run func(maxRetries int, timeout time.Duration)) *MockAPIClientWrapped_WithRetryTimeout_Call
- func (_c *MockAPIClientWrapped_WithRetryTimeout_Call) RunAndReturn(run func(maxRetries int, timeout time.Duration) ton.APIClientWrapped) *MockAPIClientWrapped_WithRetryTimeout_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) FindLastTransactionByInMsgHashAfterTime ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) FindLastTransactionByInMsgHashAfterTime(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time) (*tlb.Transaction, error)
FindLastTransactionByInMsgHashAfterTime 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) FindLastTransactionByOutMsgHashAfterTime ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) FindLastTransactionByOutMsgHashAfterTime(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time) (*tlb.Transaction, error)
FindLastTransactionByOutMsgHashAfterTime 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) GetAllNonfinalPendingShardBlocks ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetAllNonfinalPendingShardBlocks(ctx context.Context) (*ton.NonfinalPendingShardBlocks, error)
GetAllNonfinalPendingShardBlocks provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetAllNonfinalValidatorGroups ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetAllNonfinalValidatorGroups(ctx context.Context) (*ton.NonfinalValidatorGroups, error)
GetAllNonfinalValidatorGroups 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) GetBlockDataAsCell ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetBlockDataAsCell(ctx context.Context, block *ton.BlockIDExt) (*cell.Cell, error)
GetBlockDataAsCell provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockHeader ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetBlockHeader(ctx context.Context, block *ton.BlockIDExt) (*tlb.BlockHeader, error)
GetBlockHeader provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetBlockOutMsgQueueSize ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetBlockOutMsgQueueSize(ctx context.Context, block *ton.BlockIDExt) (*ton.BlockOutMsgQueueSize, error)
GetBlockOutMsgQueueSize 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) (*tlb.BlockchainConfig, error)
GetBlockchainConfig provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetDispatchQueueInfo ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetDispatchQueueInfo(ctx context.Context, block *ton.BlockIDExt, afterAddr *address.Address, maxAccounts int) (*ton.DispatchQueueInfo, error)
GetDispatchQueueInfo provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetDispatchQueueMessages ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetDispatchQueueMessages(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, afterLT uint64, maxMessages int, options ...func(*ton.GetDispatchQueueMessages)) (*ton.DispatchQueueMessages, error)
GetDispatchQueueMessages 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) GetNonfinalCandidate ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetNonfinalCandidate(ctx context.Context, id *ton.NonfinalCandidateID) (*ton.NonfinalCandidate, error)
GetNonfinalCandidate provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetNonfinalPendingShardBlocks ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetNonfinalPendingShardBlocks(ctx context.Context, wc int32, shard int64) (*ton.NonfinalPendingShardBlocks, error)
GetNonfinalPendingShardBlocks provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetNonfinalValidatorGroups ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetNonfinalValidatorGroups(ctx context.Context, wc int32, shard int64) (*ton.NonfinalValidatorGroups, error)
GetNonfinalValidatorGroups provides a mock function for the type MockAPIClientWrapped
func (*MockAPIClientWrapped) GetOutMsgQueueSizes ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) GetOutMsgQueueSizes(ctx context.Context, wc *int32, shard *int64) (*ton.OutMsgQueueSizes, error)
GetOutMsgQueueSizes 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) RunGetMethodByID ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) RunGetMethodByID(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, methodID uint64, params ...interface{}) (*ton.ExecutionResult, error)
RunGetMethodByID 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) WithLSInfoInErrors ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) WithLSInfoInErrors() ton.APIClientWrapped
WithLSInfoInErrors 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) WithRetryTimeout ¶ added in v0.124.0
func (_mock *MockAPIClientWrapped) WithRetryTimeout(maxRetries int, timeout time.Duration) ton.APIClientWrapped
WithRetryTimeout 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(blockIDExt *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 any) *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 any, addr any, msgHash any, maxTxNumToScan ...any) *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) FindLastTransactionByInMsgHashAfterTime ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByInMsgHashAfterTime(ctx any, addr any, msgHash any, after any) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
FindLastTransactionByInMsgHashAfterTime is a helper method to define mock.On call
- ctx context.Context
- addr *address.Address
- msgHash []byte
- after time.Time
func (*MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHash ¶
func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHash(ctx any, addr any, msgHash any, maxTxNumToScan ...any) *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) FindLastTransactionByOutMsgHashAfterTime ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) FindLastTransactionByOutMsgHashAfterTime(ctx any, addr any, msgHash any, after any) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call
FindLastTransactionByOutMsgHashAfterTime is a helper method to define mock.On call
- ctx context.Context
- addr *address.Address
- msgHash []byte
- after time.Time
func (*MockAPIClientWrapped_Expecter) GetAccount ¶
func (_e *MockAPIClientWrapped_Expecter) GetAccount(ctx any, block any, addr any) *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) GetAllNonfinalPendingShardBlocks ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetAllNonfinalPendingShardBlocks(ctx any) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
GetAllNonfinalPendingShardBlocks is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClientWrapped_Expecter) GetAllNonfinalValidatorGroups ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetAllNonfinalValidatorGroups(ctx any) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
GetAllNonfinalValidatorGroups is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClientWrapped_Expecter) GetBlockData ¶
func (_e *MockAPIClientWrapped_Expecter) GetBlockData(ctx any, block any) *MockAPIClientWrapped_GetBlockData_Call
GetBlockData is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) GetBlockDataAsCell ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetBlockDataAsCell(ctx any, block any) *MockAPIClientWrapped_GetBlockDataAsCell_Call
GetBlockDataAsCell is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) GetBlockHeader ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetBlockHeader(ctx any, block any) *MockAPIClientWrapped_GetBlockHeader_Call
GetBlockHeader is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
func (*MockAPIClientWrapped_Expecter) GetBlockOutMsgQueueSize ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetBlockOutMsgQueueSize(ctx any, block any) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
GetBlockOutMsgQueueSize 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 any, known any, target any) *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 any, master any) *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 any, block any, count any, after ...any) *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 any, block any, onlyParams ...any) *MockAPIClientWrapped_GetBlockchainConfig_Call
GetBlockchainConfig is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- onlyParams ...int32
func (*MockAPIClientWrapped_Expecter) GetDispatchQueueInfo ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetDispatchQueueInfo(ctx any, block any, afterAddr any, maxAccounts any) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
GetDispatchQueueInfo is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- afterAddr *address.Address
- maxAccounts int
func (*MockAPIClientWrapped_Expecter) GetDispatchQueueMessages ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetDispatchQueueMessages(ctx any, block any, addr any, afterLT any, maxMessages any, options ...any) *MockAPIClientWrapped_GetDispatchQueueMessages_Call
GetDispatchQueueMessages is a helper method to define mock.On call
- ctx context.Context
- block *ton.BlockIDExt
- addr *address.Address
- afterLT uint64
- maxMessages int
- options ...func(*ton.GetDispatchQueueMessages)
func (*MockAPIClientWrapped_Expecter) GetLibraries ¶
func (_e *MockAPIClientWrapped_Expecter) GetLibraries(ctx any, list ...any) *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 any) *MockAPIClientWrapped_GetMasterchainInfo_Call
GetMasterchainInfo is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClientWrapped_Expecter) GetNonfinalCandidate ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetNonfinalCandidate(ctx any, id any) *MockAPIClientWrapped_GetNonfinalCandidate_Call
GetNonfinalCandidate is a helper method to define mock.On call
- ctx context.Context
- id *ton.NonfinalCandidateID
func (*MockAPIClientWrapped_Expecter) GetNonfinalPendingShardBlocks ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetNonfinalPendingShardBlocks(ctx any, wc any, shard any) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
GetNonfinalPendingShardBlocks is a helper method to define mock.On call
- ctx context.Context
- wc int32
- shard int64
func (*MockAPIClientWrapped_Expecter) GetNonfinalValidatorGroups ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetNonfinalValidatorGroups(ctx any, wc any, shard any) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
GetNonfinalValidatorGroups is a helper method to define mock.On call
- ctx context.Context
- wc int32
- shard int64
func (*MockAPIClientWrapped_Expecter) GetOutMsgQueueSizes ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) GetOutMsgQueueSizes(ctx any, wc any, shard any) *MockAPIClientWrapped_GetOutMsgQueueSizes_Call
GetOutMsgQueueSizes is a helper method to define mock.On call
- ctx context.Context
- wc *int32
- shard *int64
func (*MockAPIClientWrapped_Expecter) GetTime ¶
func (_e *MockAPIClientWrapped_Expecter) GetTime(ctx any) *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 any, block any, addr any, lt any) *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 any, addr any, num any, lt any, txHash any) *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 any, workchain any, shard any, seqno any) *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 any, blockInfo any, addr any, method any, params ...any) *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) RunGetMethodByID ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) RunGetMethodByID(ctx any, blockInfo any, addr any, methodID any, params ...any) *MockAPIClientWrapped_RunGetMethodByID_Call
RunGetMethodByID is a helper method to define mock.On call
- ctx context.Context
- blockInfo *ton.BlockIDExt
- addr *address.Address
- methodID uint64
- params ...interface{}
func (*MockAPIClientWrapped_Expecter) SendExternalMessage ¶
func (_e *MockAPIClientWrapped_Expecter) SendExternalMessage(ctx any, msg any) *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 any, msg any) *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 any) *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 any) *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 any, addr any, lastProcessedLT any, channel any) *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 any, from any, to any) *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 any) *MockAPIClientWrapped_WaitForBlock_Call
WaitForBlock is a helper method to define mock.On call
- seqno uint32
func (*MockAPIClientWrapped_Expecter) WithLSInfoInErrors ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) WithLSInfoInErrors() *MockAPIClientWrapped_WithLSInfoInErrors_Call
WithLSInfoInErrors is a helper method to define mock.On call
func (*MockAPIClientWrapped_Expecter) WithRetry ¶
func (_e *MockAPIClientWrapped_Expecter) WithRetry(maxRetries ...any) *MockAPIClientWrapped_WithRetry_Call
WithRetry is a helper method to define mock.On call
- maxRetries ...int
func (*MockAPIClientWrapped_Expecter) WithRetryTimeout ¶ added in v0.124.0
func (_e *MockAPIClientWrapped_Expecter) WithRetryTimeout(maxRetries any, timeout any) *MockAPIClientWrapped_WithRetryTimeout_Call
WithRetryTimeout is a helper method to define mock.On call
- maxRetries int
- timeout time.Duration
func (*MockAPIClientWrapped_Expecter) WithTimeout ¶
func (_e *MockAPIClientWrapped_Expecter) WithTimeout(timeout any) *MockAPIClientWrapped_WithTimeout_Call
WithTimeout is a helper method to define mock.On call
- timeout time.Duration
type MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call ¶ added in v0.124.0
MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindLastTransactionByInMsgHashAfterTime'
func (*MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
func (*MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) Run(run func(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time)) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
func (*MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call) RunAndReturn(run func(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time) (*tlb.Transaction, error)) *MockAPIClientWrapped_FindLastTransactionByInMsgHashAfterTime_Call
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_FindLastTransactionByOutMsgHashAfterTime_Call ¶ added in v0.124.0
MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindLastTransactionByOutMsgHashAfterTime'
func (*MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) Return(transaction *tlb.Transaction, err error) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call
func (*MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) Run(run func(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time)) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call
func (*MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_Call) RunAndReturn(run func(ctx context.Context, addr *address.Address, msgHash []byte, after time.Time) (*tlb.Transaction, error)) *MockAPIClientWrapped_FindLastTransactionByOutMsgHashAfterTime_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_GetAllNonfinalPendingShardBlocks_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllNonfinalPendingShardBlocks'
func (*MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) Return(nonfinalPendingShardBlocks *ton.NonfinalPendingShardBlocks, err error) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
func (*MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
func (*MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call) RunAndReturn(run func(ctx context.Context) (*ton.NonfinalPendingShardBlocks, error)) *MockAPIClientWrapped_GetAllNonfinalPendingShardBlocks_Call
type MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllNonfinalValidatorGroups'
func (*MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) Return(nonfinalValidatorGroups *ton.NonfinalValidatorGroups, err error) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
func (*MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) Run(run func(ctx context.Context)) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
func (*MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call) RunAndReturn(run func(ctx context.Context) (*ton.NonfinalValidatorGroups, error)) *MockAPIClientWrapped_GetAllNonfinalValidatorGroups_Call
type MockAPIClientWrapped_GetBlockDataAsCell_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetBlockDataAsCell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockDataAsCell'
func (*MockAPIClientWrapped_GetBlockDataAsCell_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockDataAsCell_Call) Return(cell1 *cell.Cell, err error) *MockAPIClientWrapped_GetBlockDataAsCell_Call
func (*MockAPIClientWrapped_GetBlockDataAsCell_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockDataAsCell_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockDataAsCell_Call
func (*MockAPIClientWrapped_GetBlockDataAsCell_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockDataAsCell_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*cell.Cell, error)) *MockAPIClientWrapped_GetBlockDataAsCell_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_GetBlockHeader_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetBlockHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockHeader'
func (*MockAPIClientWrapped_GetBlockHeader_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockHeader_Call) Return(blockHeader *tlb.BlockHeader, err error) *MockAPIClientWrapped_GetBlockHeader_Call
func (*MockAPIClientWrapped_GetBlockHeader_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockHeader_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockHeader_Call
func (*MockAPIClientWrapped_GetBlockHeader_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockHeader_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*tlb.BlockHeader, error)) *MockAPIClientWrapped_GetBlockHeader_Call
type MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockOutMsgQueueSize'
func (*MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) Return(blockOutMsgQueueSize *ton.BlockOutMsgQueueSize, err error) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
func (*MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt)) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call
func (*MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetBlockOutMsgQueueSize_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt) (*ton.BlockOutMsgQueueSize, error)) *MockAPIClientWrapped_GetBlockOutMsgQueueSize_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(blockIDExts []*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 *tlb.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) (*tlb.BlockchainConfig, error)) *MockAPIClientWrapped_GetBlockchainConfig_Call
type MockAPIClientWrapped_GetDispatchQueueInfo_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetDispatchQueueInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDispatchQueueInfo'
func (*MockAPIClientWrapped_GetDispatchQueueInfo_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetDispatchQueueInfo_Call) Return(dispatchQueueInfo *ton.DispatchQueueInfo, err error) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
func (*MockAPIClientWrapped_GetDispatchQueueInfo_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetDispatchQueueInfo_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, afterAddr *address.Address, maxAccounts int)) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
func (*MockAPIClientWrapped_GetDispatchQueueInfo_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetDispatchQueueInfo_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt, afterAddr *address.Address, maxAccounts int) (*ton.DispatchQueueInfo, error)) *MockAPIClientWrapped_GetDispatchQueueInfo_Call
type MockAPIClientWrapped_GetDispatchQueueMessages_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetDispatchQueueMessages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDispatchQueueMessages'
func (*MockAPIClientWrapped_GetDispatchQueueMessages_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetDispatchQueueMessages_Call) Return(dispatchQueueMessages *ton.DispatchQueueMessages, err error) *MockAPIClientWrapped_GetDispatchQueueMessages_Call
func (*MockAPIClientWrapped_GetDispatchQueueMessages_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetDispatchQueueMessages_Call) Run(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, afterLT uint64, maxMessages int, options ...func(*ton.GetDispatchQueueMessages))) *MockAPIClientWrapped_GetDispatchQueueMessages_Call
func (*MockAPIClientWrapped_GetDispatchQueueMessages_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetDispatchQueueMessages_Call) RunAndReturn(run func(ctx context.Context, block *ton.BlockIDExt, addr *address.Address, afterLT uint64, maxMessages int, options ...func(*ton.GetDispatchQueueMessages)) (*ton.DispatchQueueMessages, error)) *MockAPIClientWrapped_GetDispatchQueueMessages_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(blockIDExt *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_GetNonfinalCandidate_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetNonfinalCandidate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNonfinalCandidate'
func (*MockAPIClientWrapped_GetNonfinalCandidate_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalCandidate_Call) Return(nonfinalCandidate *ton.NonfinalCandidate, err error) *MockAPIClientWrapped_GetNonfinalCandidate_Call
func (*MockAPIClientWrapped_GetNonfinalCandidate_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalCandidate_Call) Run(run func(ctx context.Context, id *ton.NonfinalCandidateID)) *MockAPIClientWrapped_GetNonfinalCandidate_Call
func (*MockAPIClientWrapped_GetNonfinalCandidate_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalCandidate_Call) RunAndReturn(run func(ctx context.Context, id *ton.NonfinalCandidateID) (*ton.NonfinalCandidate, error)) *MockAPIClientWrapped_GetNonfinalCandidate_Call
type MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNonfinalPendingShardBlocks'
func (*MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) Return(nonfinalPendingShardBlocks *ton.NonfinalPendingShardBlocks, err error) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
func (*MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) Run(run func(ctx context.Context, wc int32, shard int64)) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
func (*MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call) RunAndReturn(run func(ctx context.Context, wc int32, shard int64) (*ton.NonfinalPendingShardBlocks, error)) *MockAPIClientWrapped_GetNonfinalPendingShardBlocks_Call
type MockAPIClientWrapped_GetNonfinalValidatorGroups_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetNonfinalValidatorGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNonfinalValidatorGroups'
func (*MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) Return(nonfinalValidatorGroups *ton.NonfinalValidatorGroups, err error) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
func (*MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) Run(run func(ctx context.Context, wc int32, shard int64)) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
func (*MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call) RunAndReturn(run func(ctx context.Context, wc int32, shard int64) (*ton.NonfinalValidatorGroups, error)) *MockAPIClientWrapped_GetNonfinalValidatorGroups_Call
type MockAPIClientWrapped_GetOutMsgQueueSizes_Call ¶ added in v0.124.0
MockAPIClientWrapped_GetOutMsgQueueSizes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOutMsgQueueSizes'
func (*MockAPIClientWrapped_GetOutMsgQueueSizes_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetOutMsgQueueSizes_Call) Return(outMsgQueueSizes *ton.OutMsgQueueSizes, err error) *MockAPIClientWrapped_GetOutMsgQueueSizes_Call
func (*MockAPIClientWrapped_GetOutMsgQueueSizes_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetOutMsgQueueSizes_Call) Run(run func(ctx context.Context, wc *int32, shard *int64)) *MockAPIClientWrapped_GetOutMsgQueueSizes_Call
func (*MockAPIClientWrapped_GetOutMsgQueueSizes_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_GetOutMsgQueueSizes_Call) RunAndReturn(run func(ctx context.Context, wc *int32, shard *int64) (*ton.OutMsgQueueSizes, error)) *MockAPIClientWrapped_GetOutMsgQueueSizes_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(blockIDExt *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_RunGetMethodByID_Call ¶ added in v0.124.0
MockAPIClientWrapped_RunGetMethodByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunGetMethodByID'
func (*MockAPIClientWrapped_RunGetMethodByID_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_RunGetMethodByID_Call) Return(executionResult *ton.ExecutionResult, err error) *MockAPIClientWrapped_RunGetMethodByID_Call
func (*MockAPIClientWrapped_RunGetMethodByID_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_RunGetMethodByID_Call) Run(run func(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, methodID uint64, params ...interface{})) *MockAPIClientWrapped_RunGetMethodByID_Call
func (*MockAPIClientWrapped_RunGetMethodByID_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_RunGetMethodByID_Call) RunAndReturn(run func(ctx context.Context, blockInfo *ton.BlockIDExt, addr *address.Address, methodID uint64, params ...interface{}) (*ton.ExecutionResult, error)) *MockAPIClientWrapped_RunGetMethodByID_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, blockIDExt *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_WithLSInfoInErrors_Call ¶ added in v0.124.0
MockAPIClientWrapped_WithLSInfoInErrors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithLSInfoInErrors'
func (*MockAPIClientWrapped_WithLSInfoInErrors_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_WithLSInfoInErrors_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithLSInfoInErrors_Call
func (*MockAPIClientWrapped_WithLSInfoInErrors_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_WithLSInfoInErrors_Call) Run(run func()) *MockAPIClientWrapped_WithLSInfoInErrors_Call
func (*MockAPIClientWrapped_WithLSInfoInErrors_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_WithLSInfoInErrors_Call) RunAndReturn(run func() ton.APIClientWrapped) *MockAPIClientWrapped_WithLSInfoInErrors_Call
type MockAPIClientWrapped_WithRetryTimeout_Call ¶ added in v0.124.0
MockAPIClientWrapped_WithRetryTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithRetryTimeout'
func (*MockAPIClientWrapped_WithRetryTimeout_Call) Return ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_WithRetryTimeout_Call) Return(aPIClientWrapped ton.APIClientWrapped) *MockAPIClientWrapped_WithRetryTimeout_Call
func (*MockAPIClientWrapped_WithRetryTimeout_Call) Run ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_WithRetryTimeout_Call) Run(run func(maxRetries int, timeout time.Duration)) *MockAPIClientWrapped_WithRetryTimeout_Call
func (*MockAPIClientWrapped_WithRetryTimeout_Call) RunAndReturn ¶ added in v0.124.0
func (_c *MockAPIClientWrapped_WithRetryTimeout_Call) RunAndReturn(run func(maxRetries int, timeout time.Duration) ton.APIClientWrapped) *MockAPIClientWrapped_WithRetryTimeout_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