Documentation
¶
Index ¶
- type MockBindingsClient
- func (_m *MockBindingsClient) EXPECT() *MockBindingsClient_Expecter
- func (_mock *MockBindingsClient) FinishPTBAndSend(ctx context.Context, signer1 *signer.Signer, tx *transaction.Transaction, ...) (*v2.ExecuteTransactionResponse, error)
- func (_mock *MockBindingsClient) GetReferenceGasPrice(ctx context.Context) (*big.Int, error)
- func (_mock *MockBindingsClient) GetTransactionStatus(ctx context.Context, digest string) (client.TransactionResult, error)
- func (_mock *MockBindingsClient) QueryCoinsByAddress(ctx context.Context, address string, coinType string) ([]*v2.Object, error)
- func (_mock *MockBindingsClient) ReadObjectId(ctx context.Context, objectId string) (*v2.Object, error)
- func (_mock *MockBindingsClient) SendTransaction(ctx context.Context, req *v2.ExecuteTransactionRequest) (*v2.ExecuteTransactionResponse, error)
- func (_mock *MockBindingsClient) SimulatePTB(ctx context.Context, bcsBytes []byte) ([]any, error)
- type MockBindingsClient_Expecter
- func (_e *MockBindingsClient_Expecter) FinishPTBAndSend(ctx interface{}, signer1 interface{}, tx interface{}, requestType interface{}) *MockBindingsClient_FinishPTBAndSend_Call
- func (_e *MockBindingsClient_Expecter) GetReferenceGasPrice(ctx interface{}) *MockBindingsClient_GetReferenceGasPrice_Call
- func (_e *MockBindingsClient_Expecter) GetTransactionStatus(ctx interface{}, digest interface{}) *MockBindingsClient_GetTransactionStatus_Call
- func (_e *MockBindingsClient_Expecter) QueryCoinsByAddress(ctx interface{}, address interface{}, coinType interface{}) *MockBindingsClient_QueryCoinsByAddress_Call
- func (_e *MockBindingsClient_Expecter) ReadObjectId(ctx interface{}, objectId interface{}) *MockBindingsClient_ReadObjectId_Call
- func (_e *MockBindingsClient_Expecter) SendTransaction(ctx interface{}, req interface{}) *MockBindingsClient_SendTransaction_Call
- func (_e *MockBindingsClient_Expecter) SimulatePTB(ctx interface{}, bcsBytes interface{}) *MockBindingsClient_SimulatePTB_Call
- type MockBindingsClient_FinishPTBAndSend_Call
- func (_c *MockBindingsClient_FinishPTBAndSend_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockBindingsClient_FinishPTBAndSend_Call
- func (_c *MockBindingsClient_FinishPTBAndSend_Call) Run(...) *MockBindingsClient_FinishPTBAndSend_Call
- func (_c *MockBindingsClient_FinishPTBAndSend_Call) RunAndReturn(...) *MockBindingsClient_FinishPTBAndSend_Call
- type MockBindingsClient_GetReferenceGasPrice_Call
- func (_c *MockBindingsClient_GetReferenceGasPrice_Call) Return(intParam *big.Int, err error) *MockBindingsClient_GetReferenceGasPrice_Call
- func (_c *MockBindingsClient_GetReferenceGasPrice_Call) Run(run func(ctx context.Context)) *MockBindingsClient_GetReferenceGasPrice_Call
- func (_c *MockBindingsClient_GetReferenceGasPrice_Call) RunAndReturn(run func(ctx context.Context) (*big.Int, error)) *MockBindingsClient_GetReferenceGasPrice_Call
- type MockBindingsClient_GetTransactionStatus_Call
- func (_c *MockBindingsClient_GetTransactionStatus_Call) Return(transactionResult client.TransactionResult, err error) *MockBindingsClient_GetTransactionStatus_Call
- func (_c *MockBindingsClient_GetTransactionStatus_Call) Run(run func(ctx context.Context, digest string)) *MockBindingsClient_GetTransactionStatus_Call
- func (_c *MockBindingsClient_GetTransactionStatus_Call) RunAndReturn(run func(ctx context.Context, digest string) (client.TransactionResult, error)) *MockBindingsClient_GetTransactionStatus_Call
- type MockBindingsClient_QueryCoinsByAddress_Call
- func (_c *MockBindingsClient_QueryCoinsByAddress_Call) Return(objects []*v2.Object, err error) *MockBindingsClient_QueryCoinsByAddress_Call
- func (_c *MockBindingsClient_QueryCoinsByAddress_Call) Run(run func(ctx context.Context, address string, coinType string)) *MockBindingsClient_QueryCoinsByAddress_Call
- func (_c *MockBindingsClient_QueryCoinsByAddress_Call) RunAndReturn(...) *MockBindingsClient_QueryCoinsByAddress_Call
- type MockBindingsClient_ReadObjectId_Call
- func (_c *MockBindingsClient_ReadObjectId_Call) Return(object *v2.Object, err error) *MockBindingsClient_ReadObjectId_Call
- func (_c *MockBindingsClient_ReadObjectId_Call) Run(run func(ctx context.Context, objectId string)) *MockBindingsClient_ReadObjectId_Call
- func (_c *MockBindingsClient_ReadObjectId_Call) RunAndReturn(run func(ctx context.Context, objectId string) (*v2.Object, error)) *MockBindingsClient_ReadObjectId_Call
- type MockBindingsClient_SendTransaction_Call
- func (_c *MockBindingsClient_SendTransaction_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockBindingsClient_SendTransaction_Call
- func (_c *MockBindingsClient_SendTransaction_Call) Run(run func(ctx context.Context, req *v2.ExecuteTransactionRequest)) *MockBindingsClient_SendTransaction_Call
- func (_c *MockBindingsClient_SendTransaction_Call) RunAndReturn(...) *MockBindingsClient_SendTransaction_Call
- type MockBindingsClient_SimulatePTB_Call
- func (_c *MockBindingsClient_SimulatePTB_Call) Return(vs []any, err error) *MockBindingsClient_SimulatePTB_Call
- func (_c *MockBindingsClient_SimulatePTB_Call) Run(run func(ctx context.Context, bcsBytes []byte)) *MockBindingsClient_SimulatePTB_Call
- func (_c *MockBindingsClient_SimulatePTB_Call) RunAndReturn(run func(ctx context.Context, bcsBytes []byte) ([]any, error)) *MockBindingsClient_SimulatePTB_Call
- type MockSuiPTBClient
- func (_m *MockSuiPTBClient) EXPECT() *MockSuiPTBClient_Expecter
- func (_mock *MockSuiPTBClient) EstimateGas(ctx context.Context, tx *transaction.Transaction) (uint64, error)
- func (_mock *MockSuiPTBClient) FinishPTBAndSend(ctx context.Context, txnSigner *signer.Signer, tx *transaction.Transaction, ...) (*v2.ExecuteTransactionResponse, error)
- func (_mock *MockSuiPTBClient) GetBlockById(ctx context.Context, checkpointDigest string) (*v2.Checkpoint, error)
- func (_mock *MockSuiPTBClient) GetCCIPPackageID(ctx context.Context, offRampPackageID string) (string, error)
- func (_mock *MockSuiPTBClient) GetCache() *cache.Cache
- func (_mock *MockSuiPTBClient) GetCachedValue(key string) (any, bool)
- func (_mock *MockSuiPTBClient) GetCachedValues(keys []string) (map[string]any, bool)
- func (_mock *MockSuiPTBClient) GetCheckpointData(ctx context.Context, checkpointSequenceNumber uint64) (*client.CheckpointData, error)
- func (_mock *MockSuiPTBClient) GetCoinMetadata(ctx context.Context, coinType string) (models.CoinMetadataResponse, error)
- func (_mock *MockSuiPTBClient) GetCoinsByAddress(ctx context.Context, address string) ([]*v2.Object, error)
- func (_mock *MockSuiPTBClient) GetLatestCheckpoint(ctx context.Context) (*v2.Checkpoint, error)
- func (_mock *MockSuiPTBClient) GetLatestEpoch(ctx context.Context) (*v2.Epoch, error)
- func (_mock *MockSuiPTBClient) GetLatestPackageId(ctx context.Context, packageId string, module string) (string, error)
- func (_mock *MockSuiPTBClient) GetNormalizedModule(ctx context.Context, packageId string, moduleId string) (models.GetNormalizedMoveModuleResponse, error)
- func (_mock *MockSuiPTBClient) GetParentObjectID(ctx context.Context, packageID string, moduleID string, ...) (string, error)
- func (_mock *MockSuiPTBClient) GetReferenceGasPrice(ctx context.Context) (*big.Int, error)
- func (_mock *MockSuiPTBClient) GetSUIBalance(ctx context.Context, address string) (*v2.Balance, error)
- func (_mock *MockSuiPTBClient) GetTransactionStatus(ctx context.Context, digest string) (client.TransactionResult, error)
- func (_mock *MockSuiPTBClient) GetValuesFromPackageOwnedObjectField(ctx context.Context, packageID string, moduleID string, objectName string, ...) (map[string]string, error)
- func (_mock *MockSuiPTBClient) HashTxBytes(txBytes []byte) []byte
- func (_mock *MockSuiPTBClient) LoadModulePackageIds(ctx context.Context, packageId string, module string) ([]string, error)
- func (_mock *MockSuiPTBClient) MoveCall(ctx context.Context, req client.MoveCallRequest) (client.TxnMetaData, error)
- func (_mock *MockSuiPTBClient) QueryCoinsByAddress(ctx context.Context, address string, coinType string) ([]*v2.Object, error)
- func (_mock *MockSuiPTBClient) QueryEvents(ctx context.Context, filter client.EventFilterByMoveEventModule, limit *uint, ...) (*models.PaginatedEventsResponse, error)
- func (_mock *MockSuiPTBClient) QueryTransactions(ctx context.Context, fromAddress string, cursor *v2.Checkpoint, limit *uint64) ([]*v2.ExecutedTransaction, error)
- func (_mock *MockSuiPTBClient) ReadFilterOwnedObjectIds(ctx context.Context, ownerAddress string, structType string, cursor []byte) ([]*v2.Object, error)
- func (_mock *MockSuiPTBClient) ReadFunction(ctx context.Context, packageId string, module string, function string, ...) ([]any, error)
- func (_mock *MockSuiPTBClient) ReadObjectId(ctx context.Context, objectId string) (*v2.Object, error)
- func (_mock *MockSuiPTBClient) ReadOwnedObjects(ctx context.Context, ownerAddress string, cursor []byte) ([]*v2.Object, error)
- func (_mock *MockSuiPTBClient) SendTransaction(ctx context.Context, execRequest *v2.ExecuteTransactionRequest) (*v2.ExecuteTransactionResponse, error)
- func (_mock *MockSuiPTBClient) SetCachedValue(key string, value any)
- func (_mock *MockSuiPTBClient) SetCachedValues(keyValues map[string]any)
- func (_mock *MockSuiPTBClient) SignAndSendTransaction(ctx context.Context, txBytesRaw string, signerPublicKey []byte) (*v2.ExecuteTransactionResponse, error)
- func (_mock *MockSuiPTBClient) SimulatePTB(ctx context.Context, bcsBytes []byte) ([]any, error)
- type MockSuiPTBClient_EstimateGas_Call
- func (_c *MockSuiPTBClient_EstimateGas_Call) Return(v uint64, err error) *MockSuiPTBClient_EstimateGas_Call
- func (_c *MockSuiPTBClient_EstimateGas_Call) Run(run func(ctx context.Context, tx *transaction.Transaction)) *MockSuiPTBClient_EstimateGas_Call
- func (_c *MockSuiPTBClient_EstimateGas_Call) RunAndReturn(run func(ctx context.Context, tx *transaction.Transaction) (uint64, error)) *MockSuiPTBClient_EstimateGas_Call
- type MockSuiPTBClient_Expecter
- func (_e *MockSuiPTBClient_Expecter) EstimateGas(ctx interface{}, tx interface{}) *MockSuiPTBClient_EstimateGas_Call
- func (_e *MockSuiPTBClient_Expecter) FinishPTBAndSend(ctx interface{}, txnSigner interface{}, tx interface{}, ...) *MockSuiPTBClient_FinishPTBAndSend_Call
- func (_e *MockSuiPTBClient_Expecter) GetBlockById(ctx interface{}, checkpointDigest interface{}) *MockSuiPTBClient_GetBlockById_Call
- func (_e *MockSuiPTBClient_Expecter) GetCCIPPackageID(ctx interface{}, offRampPackageID interface{}) *MockSuiPTBClient_GetCCIPPackageID_Call
- func (_e *MockSuiPTBClient_Expecter) GetCache() *MockSuiPTBClient_GetCache_Call
- func (_e *MockSuiPTBClient_Expecter) GetCachedValue(key interface{}) *MockSuiPTBClient_GetCachedValue_Call
- func (_e *MockSuiPTBClient_Expecter) GetCachedValues(keys interface{}) *MockSuiPTBClient_GetCachedValues_Call
- func (_e *MockSuiPTBClient_Expecter) GetCheckpointData(ctx interface{}, checkpointSequenceNumber interface{}) *MockSuiPTBClient_GetCheckpointData_Call
- func (_e *MockSuiPTBClient_Expecter) GetCoinMetadata(ctx interface{}, coinType interface{}) *MockSuiPTBClient_GetCoinMetadata_Call
- func (_e *MockSuiPTBClient_Expecter) GetCoinsByAddress(ctx interface{}, address interface{}) *MockSuiPTBClient_GetCoinsByAddress_Call
- func (_e *MockSuiPTBClient_Expecter) GetLatestCheckpoint(ctx interface{}) *MockSuiPTBClient_GetLatestCheckpoint_Call
- func (_e *MockSuiPTBClient_Expecter) GetLatestEpoch(ctx interface{}) *MockSuiPTBClient_GetLatestEpoch_Call
- func (_e *MockSuiPTBClient_Expecter) GetLatestPackageId(ctx interface{}, packageId interface{}, module interface{}) *MockSuiPTBClient_GetLatestPackageId_Call
- func (_e *MockSuiPTBClient_Expecter) GetNormalizedModule(ctx interface{}, packageId interface{}, moduleId interface{}) *MockSuiPTBClient_GetNormalizedModule_Call
- func (_e *MockSuiPTBClient_Expecter) GetParentObjectID(ctx interface{}, packageID interface{}, moduleID interface{}, ...) *MockSuiPTBClient_GetParentObjectID_Call
- func (_e *MockSuiPTBClient_Expecter) GetReferenceGasPrice(ctx interface{}) *MockSuiPTBClient_GetReferenceGasPrice_Call
- func (_e *MockSuiPTBClient_Expecter) GetSUIBalance(ctx interface{}, address interface{}) *MockSuiPTBClient_GetSUIBalance_Call
- func (_e *MockSuiPTBClient_Expecter) GetTransactionStatus(ctx interface{}, digest interface{}) *MockSuiPTBClient_GetTransactionStatus_Call
- func (_e *MockSuiPTBClient_Expecter) GetValuesFromPackageOwnedObjectField(ctx interface{}, packageID interface{}, moduleID interface{}, ...) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
- func (_e *MockSuiPTBClient_Expecter) HashTxBytes(txBytes interface{}) *MockSuiPTBClient_HashTxBytes_Call
- func (_e *MockSuiPTBClient_Expecter) LoadModulePackageIds(ctx interface{}, packageId interface{}, module interface{}) *MockSuiPTBClient_LoadModulePackageIds_Call
- func (_e *MockSuiPTBClient_Expecter) MoveCall(ctx interface{}, req interface{}) *MockSuiPTBClient_MoveCall_Call
- func (_e *MockSuiPTBClient_Expecter) QueryCoinsByAddress(ctx interface{}, address interface{}, coinType interface{}) *MockSuiPTBClient_QueryCoinsByAddress_Call
- func (_e *MockSuiPTBClient_Expecter) QueryEvents(ctx interface{}, filter interface{}, limit interface{}, cursor interface{}, ...) *MockSuiPTBClient_QueryEvents_Call
- func (_e *MockSuiPTBClient_Expecter) QueryTransactions(ctx interface{}, fromAddress interface{}, cursor interface{}, ...) *MockSuiPTBClient_QueryTransactions_Call
- func (_e *MockSuiPTBClient_Expecter) ReadFilterOwnedObjectIds(ctx interface{}, ownerAddress interface{}, structType interface{}, ...) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
- func (_e *MockSuiPTBClient_Expecter) ReadFunction(ctx interface{}, packageId interface{}, module interface{}, ...) *MockSuiPTBClient_ReadFunction_Call
- func (_e *MockSuiPTBClient_Expecter) ReadObjectId(ctx interface{}, objectId interface{}) *MockSuiPTBClient_ReadObjectId_Call
- func (_e *MockSuiPTBClient_Expecter) ReadOwnedObjects(ctx interface{}, ownerAddress interface{}, cursor interface{}) *MockSuiPTBClient_ReadOwnedObjects_Call
- func (_e *MockSuiPTBClient_Expecter) SendTransaction(ctx interface{}, execRequest interface{}) *MockSuiPTBClient_SendTransaction_Call
- func (_e *MockSuiPTBClient_Expecter) SetCachedValue(key interface{}, value interface{}) *MockSuiPTBClient_SetCachedValue_Call
- func (_e *MockSuiPTBClient_Expecter) SetCachedValues(keyValues interface{}) *MockSuiPTBClient_SetCachedValues_Call
- func (_e *MockSuiPTBClient_Expecter) SignAndSendTransaction(ctx interface{}, txBytesRaw interface{}, signerPublicKey interface{}) *MockSuiPTBClient_SignAndSendTransaction_Call
- func (_e *MockSuiPTBClient_Expecter) SimulatePTB(ctx interface{}, bcsBytes interface{}) *MockSuiPTBClient_SimulatePTB_Call
- type MockSuiPTBClient_FinishPTBAndSend_Call
- func (_c *MockSuiPTBClient_FinishPTBAndSend_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockSuiPTBClient_FinishPTBAndSend_Call
- func (_c *MockSuiPTBClient_FinishPTBAndSend_Call) Run(...) *MockSuiPTBClient_FinishPTBAndSend_Call
- func (_c *MockSuiPTBClient_FinishPTBAndSend_Call) RunAndReturn(...) *MockSuiPTBClient_FinishPTBAndSend_Call
- type MockSuiPTBClient_GetBlockById_Call
- func (_c *MockSuiPTBClient_GetBlockById_Call) Return(checkpoint *v2.Checkpoint, err error) *MockSuiPTBClient_GetBlockById_Call
- func (_c *MockSuiPTBClient_GetBlockById_Call) Run(run func(ctx context.Context, checkpointDigest string)) *MockSuiPTBClient_GetBlockById_Call
- func (_c *MockSuiPTBClient_GetBlockById_Call) RunAndReturn(run func(ctx context.Context, checkpointDigest string) (*v2.Checkpoint, error)) *MockSuiPTBClient_GetBlockById_Call
- type MockSuiPTBClient_GetCCIPPackageID_Call
- func (_c *MockSuiPTBClient_GetCCIPPackageID_Call) Return(s string, err error) *MockSuiPTBClient_GetCCIPPackageID_Call
- func (_c *MockSuiPTBClient_GetCCIPPackageID_Call) Run(run func(ctx context.Context, offRampPackageID string)) *MockSuiPTBClient_GetCCIPPackageID_Call
- func (_c *MockSuiPTBClient_GetCCIPPackageID_Call) RunAndReturn(run func(ctx context.Context, offRampPackageID string) (string, error)) *MockSuiPTBClient_GetCCIPPackageID_Call
- type MockSuiPTBClient_GetCache_Call
- func (_c *MockSuiPTBClient_GetCache_Call) Return(cache1 *cache.Cache) *MockSuiPTBClient_GetCache_Call
- func (_c *MockSuiPTBClient_GetCache_Call) Run(run func()) *MockSuiPTBClient_GetCache_Call
- func (_c *MockSuiPTBClient_GetCache_Call) RunAndReturn(run func() *cache.Cache) *MockSuiPTBClient_GetCache_Call
- type MockSuiPTBClient_GetCachedValue_Call
- func (_c *MockSuiPTBClient_GetCachedValue_Call) Return(v any, b bool) *MockSuiPTBClient_GetCachedValue_Call
- func (_c *MockSuiPTBClient_GetCachedValue_Call) Run(run func(key string)) *MockSuiPTBClient_GetCachedValue_Call
- func (_c *MockSuiPTBClient_GetCachedValue_Call) RunAndReturn(run func(key string) (any, bool)) *MockSuiPTBClient_GetCachedValue_Call
- type MockSuiPTBClient_GetCachedValues_Call
- func (_c *MockSuiPTBClient_GetCachedValues_Call) Return(stringToV map[string]any, b bool) *MockSuiPTBClient_GetCachedValues_Call
- func (_c *MockSuiPTBClient_GetCachedValues_Call) Run(run func(keys []string)) *MockSuiPTBClient_GetCachedValues_Call
- func (_c *MockSuiPTBClient_GetCachedValues_Call) RunAndReturn(run func(keys []string) (map[string]any, bool)) *MockSuiPTBClient_GetCachedValues_Call
- type MockSuiPTBClient_GetCheckpointData_Call
- func (_c *MockSuiPTBClient_GetCheckpointData_Call) Return(checkpointData *client.CheckpointData, err error) *MockSuiPTBClient_GetCheckpointData_Call
- func (_c *MockSuiPTBClient_GetCheckpointData_Call) Run(run func(ctx context.Context, checkpointSequenceNumber uint64)) *MockSuiPTBClient_GetCheckpointData_Call
- func (_c *MockSuiPTBClient_GetCheckpointData_Call) RunAndReturn(...) *MockSuiPTBClient_GetCheckpointData_Call
- type MockSuiPTBClient_GetCoinMetadata_Call
- func (_c *MockSuiPTBClient_GetCoinMetadata_Call) Return(coinMetadataResponse models.CoinMetadataResponse, err error) *MockSuiPTBClient_GetCoinMetadata_Call
- func (_c *MockSuiPTBClient_GetCoinMetadata_Call) Run(run func(ctx context.Context, coinType string)) *MockSuiPTBClient_GetCoinMetadata_Call
- func (_c *MockSuiPTBClient_GetCoinMetadata_Call) RunAndReturn(...) *MockSuiPTBClient_GetCoinMetadata_Call
- type MockSuiPTBClient_GetCoinsByAddress_Call
- func (_c *MockSuiPTBClient_GetCoinsByAddress_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_GetCoinsByAddress_Call
- func (_c *MockSuiPTBClient_GetCoinsByAddress_Call) Run(run func(ctx context.Context, address string)) *MockSuiPTBClient_GetCoinsByAddress_Call
- func (_c *MockSuiPTBClient_GetCoinsByAddress_Call) RunAndReturn(run func(ctx context.Context, address string) ([]*v2.Object, error)) *MockSuiPTBClient_GetCoinsByAddress_Call
- type MockSuiPTBClient_GetLatestCheckpoint_Call
- func (_c *MockSuiPTBClient_GetLatestCheckpoint_Call) Return(checkpoint *v2.Checkpoint, err error) *MockSuiPTBClient_GetLatestCheckpoint_Call
- func (_c *MockSuiPTBClient_GetLatestCheckpoint_Call) Run(run func(ctx context.Context)) *MockSuiPTBClient_GetLatestCheckpoint_Call
- func (_c *MockSuiPTBClient_GetLatestCheckpoint_Call) RunAndReturn(run func(ctx context.Context) (*v2.Checkpoint, error)) *MockSuiPTBClient_GetLatestCheckpoint_Call
- type MockSuiPTBClient_GetLatestEpoch_Call
- func (_c *MockSuiPTBClient_GetLatestEpoch_Call) Return(epoch *v2.Epoch, err error) *MockSuiPTBClient_GetLatestEpoch_Call
- func (_c *MockSuiPTBClient_GetLatestEpoch_Call) Run(run func(ctx context.Context)) *MockSuiPTBClient_GetLatestEpoch_Call
- func (_c *MockSuiPTBClient_GetLatestEpoch_Call) RunAndReturn(run func(ctx context.Context) (*v2.Epoch, error)) *MockSuiPTBClient_GetLatestEpoch_Call
- type MockSuiPTBClient_GetLatestPackageId_Call
- func (_c *MockSuiPTBClient_GetLatestPackageId_Call) Return(s string, err error) *MockSuiPTBClient_GetLatestPackageId_Call
- func (_c *MockSuiPTBClient_GetLatestPackageId_Call) Run(run func(ctx context.Context, packageId string, module string)) *MockSuiPTBClient_GetLatestPackageId_Call
- func (_c *MockSuiPTBClient_GetLatestPackageId_Call) RunAndReturn(run func(ctx context.Context, packageId string, module string) (string, error)) *MockSuiPTBClient_GetLatestPackageId_Call
- type MockSuiPTBClient_GetNormalizedModule_Call
- func (_c *MockSuiPTBClient_GetNormalizedModule_Call) Return(getNormalizedMoveModuleResponse models.GetNormalizedMoveModuleResponse, ...) *MockSuiPTBClient_GetNormalizedModule_Call
- func (_c *MockSuiPTBClient_GetNormalizedModule_Call) Run(run func(ctx context.Context, packageId string, moduleId string)) *MockSuiPTBClient_GetNormalizedModule_Call
- func (_c *MockSuiPTBClient_GetNormalizedModule_Call) RunAndReturn(...) *MockSuiPTBClient_GetNormalizedModule_Call
- type MockSuiPTBClient_GetParentObjectID_Call
- func (_c *MockSuiPTBClient_GetParentObjectID_Call) Return(s string, err error) *MockSuiPTBClient_GetParentObjectID_Call
- func (_c *MockSuiPTBClient_GetParentObjectID_Call) Run(run func(ctx context.Context, packageID string, moduleID string, ...)) *MockSuiPTBClient_GetParentObjectID_Call
- func (_c *MockSuiPTBClient_GetParentObjectID_Call) RunAndReturn(...) *MockSuiPTBClient_GetParentObjectID_Call
- type MockSuiPTBClient_GetReferenceGasPrice_Call
- func (_c *MockSuiPTBClient_GetReferenceGasPrice_Call) Return(intParam *big.Int, err error) *MockSuiPTBClient_GetReferenceGasPrice_Call
- func (_c *MockSuiPTBClient_GetReferenceGasPrice_Call) Run(run func(ctx context.Context)) *MockSuiPTBClient_GetReferenceGasPrice_Call
- func (_c *MockSuiPTBClient_GetReferenceGasPrice_Call) RunAndReturn(run func(ctx context.Context) (*big.Int, error)) *MockSuiPTBClient_GetReferenceGasPrice_Call
- type MockSuiPTBClient_GetSUIBalance_Call
- func (_c *MockSuiPTBClient_GetSUIBalance_Call) Return(balance *v2.Balance, err error) *MockSuiPTBClient_GetSUIBalance_Call
- func (_c *MockSuiPTBClient_GetSUIBalance_Call) Run(run func(ctx context.Context, address string)) *MockSuiPTBClient_GetSUIBalance_Call
- func (_c *MockSuiPTBClient_GetSUIBalance_Call) RunAndReturn(run func(ctx context.Context, address string) (*v2.Balance, error)) *MockSuiPTBClient_GetSUIBalance_Call
- type MockSuiPTBClient_GetTransactionStatus_Call
- func (_c *MockSuiPTBClient_GetTransactionStatus_Call) Return(transactionResult client.TransactionResult, err error) *MockSuiPTBClient_GetTransactionStatus_Call
- func (_c *MockSuiPTBClient_GetTransactionStatus_Call) Run(run func(ctx context.Context, digest string)) *MockSuiPTBClient_GetTransactionStatus_Call
- func (_c *MockSuiPTBClient_GetTransactionStatus_Call) RunAndReturn(run func(ctx context.Context, digest string) (client.TransactionResult, error)) *MockSuiPTBClient_GetTransactionStatus_Call
- type MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
- func (_c *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Return(stringToString map[string]string, err error) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
- func (_c *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Run(...) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
- func (_c *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) RunAndReturn(...) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
- type MockSuiPTBClient_HashTxBytes_Call
- func (_c *MockSuiPTBClient_HashTxBytes_Call) Return(bytes []byte) *MockSuiPTBClient_HashTxBytes_Call
- func (_c *MockSuiPTBClient_HashTxBytes_Call) Run(run func(txBytes []byte)) *MockSuiPTBClient_HashTxBytes_Call
- func (_c *MockSuiPTBClient_HashTxBytes_Call) RunAndReturn(run func(txBytes []byte) []byte) *MockSuiPTBClient_HashTxBytes_Call
- type MockSuiPTBClient_LoadModulePackageIds_Call
- func (_c *MockSuiPTBClient_LoadModulePackageIds_Call) Return(strings []string, err error) *MockSuiPTBClient_LoadModulePackageIds_Call
- func (_c *MockSuiPTBClient_LoadModulePackageIds_Call) Run(run func(ctx context.Context, packageId string, module string)) *MockSuiPTBClient_LoadModulePackageIds_Call
- func (_c *MockSuiPTBClient_LoadModulePackageIds_Call) RunAndReturn(...) *MockSuiPTBClient_LoadModulePackageIds_Call
- type MockSuiPTBClient_MoveCall_Call
- func (_c *MockSuiPTBClient_MoveCall_Call) Return(txnMetaData client.TxnMetaData, err error) *MockSuiPTBClient_MoveCall_Call
- func (_c *MockSuiPTBClient_MoveCall_Call) Run(run func(ctx context.Context, req client.MoveCallRequest)) *MockSuiPTBClient_MoveCall_Call
- func (_c *MockSuiPTBClient_MoveCall_Call) RunAndReturn(...) *MockSuiPTBClient_MoveCall_Call
- type MockSuiPTBClient_QueryCoinsByAddress_Call
- func (_c *MockSuiPTBClient_QueryCoinsByAddress_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_QueryCoinsByAddress_Call
- func (_c *MockSuiPTBClient_QueryCoinsByAddress_Call) Run(run func(ctx context.Context, address string, coinType string)) *MockSuiPTBClient_QueryCoinsByAddress_Call
- func (_c *MockSuiPTBClient_QueryCoinsByAddress_Call) RunAndReturn(...) *MockSuiPTBClient_QueryCoinsByAddress_Call
- type MockSuiPTBClient_QueryEvents_Call
- func (_c *MockSuiPTBClient_QueryEvents_Call) Return(paginatedEventsResponse *models.PaginatedEventsResponse, err error) *MockSuiPTBClient_QueryEvents_Call
- func (_c *MockSuiPTBClient_QueryEvents_Call) Run(...) *MockSuiPTBClient_QueryEvents_Call
- func (_c *MockSuiPTBClient_QueryEvents_Call) RunAndReturn(...) *MockSuiPTBClient_QueryEvents_Call
- type MockSuiPTBClient_QueryTransactions_Call
- func (_c *MockSuiPTBClient_QueryTransactions_Call) Return(executedTransactions []*v2.ExecutedTransaction, err error) *MockSuiPTBClient_QueryTransactions_Call
- func (_c *MockSuiPTBClient_QueryTransactions_Call) Run(...) *MockSuiPTBClient_QueryTransactions_Call
- func (_c *MockSuiPTBClient_QueryTransactions_Call) RunAndReturn(...) *MockSuiPTBClient_QueryTransactions_Call
- type MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
- func (_c *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
- func (_c *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Run(...) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
- func (_c *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) RunAndReturn(...) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
- type MockSuiPTBClient_ReadFunction_Call
- func (_c *MockSuiPTBClient_ReadFunction_Call) Return(vs []any, err error) *MockSuiPTBClient_ReadFunction_Call
- func (_c *MockSuiPTBClient_ReadFunction_Call) Run(...) *MockSuiPTBClient_ReadFunction_Call
- func (_c *MockSuiPTBClient_ReadFunction_Call) RunAndReturn(...) *MockSuiPTBClient_ReadFunction_Call
- type MockSuiPTBClient_ReadObjectId_Call
- func (_c *MockSuiPTBClient_ReadObjectId_Call) Return(object *v2.Object, err error) *MockSuiPTBClient_ReadObjectId_Call
- func (_c *MockSuiPTBClient_ReadObjectId_Call) Run(run func(ctx context.Context, objectId string)) *MockSuiPTBClient_ReadObjectId_Call
- func (_c *MockSuiPTBClient_ReadObjectId_Call) RunAndReturn(run func(ctx context.Context, objectId string) (*v2.Object, error)) *MockSuiPTBClient_ReadObjectId_Call
- type MockSuiPTBClient_ReadOwnedObjects_Call
- func (_c *MockSuiPTBClient_ReadOwnedObjects_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_ReadOwnedObjects_Call
- func (_c *MockSuiPTBClient_ReadOwnedObjects_Call) Run(run func(ctx context.Context, ownerAddress string, cursor []byte)) *MockSuiPTBClient_ReadOwnedObjects_Call
- func (_c *MockSuiPTBClient_ReadOwnedObjects_Call) RunAndReturn(...) *MockSuiPTBClient_ReadOwnedObjects_Call
- type MockSuiPTBClient_SendTransaction_Call
- func (_c *MockSuiPTBClient_SendTransaction_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockSuiPTBClient_SendTransaction_Call
- func (_c *MockSuiPTBClient_SendTransaction_Call) Run(run func(ctx context.Context, execRequest *v2.ExecuteTransactionRequest)) *MockSuiPTBClient_SendTransaction_Call
- func (_c *MockSuiPTBClient_SendTransaction_Call) RunAndReturn(...) *MockSuiPTBClient_SendTransaction_Call
- type MockSuiPTBClient_SetCachedValue_Call
- func (_c *MockSuiPTBClient_SetCachedValue_Call) Return() *MockSuiPTBClient_SetCachedValue_Call
- func (_c *MockSuiPTBClient_SetCachedValue_Call) Run(run func(key string, value any)) *MockSuiPTBClient_SetCachedValue_Call
- func (_c *MockSuiPTBClient_SetCachedValue_Call) RunAndReturn(run func(key string, value any)) *MockSuiPTBClient_SetCachedValue_Call
- type MockSuiPTBClient_SetCachedValues_Call
- func (_c *MockSuiPTBClient_SetCachedValues_Call) Return() *MockSuiPTBClient_SetCachedValues_Call
- func (_c *MockSuiPTBClient_SetCachedValues_Call) Run(run func(keyValues map[string]any)) *MockSuiPTBClient_SetCachedValues_Call
- func (_c *MockSuiPTBClient_SetCachedValues_Call) RunAndReturn(run func(keyValues map[string]any)) *MockSuiPTBClient_SetCachedValues_Call
- type MockSuiPTBClient_SignAndSendTransaction_Call
- func (_c *MockSuiPTBClient_SignAndSendTransaction_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockSuiPTBClient_SignAndSendTransaction_Call
- func (_c *MockSuiPTBClient_SignAndSendTransaction_Call) Run(run func(ctx context.Context, txBytesRaw string, signerPublicKey []byte)) *MockSuiPTBClient_SignAndSendTransaction_Call
- func (_c *MockSuiPTBClient_SignAndSendTransaction_Call) RunAndReturn(...) *MockSuiPTBClient_SignAndSendTransaction_Call
- type MockSuiPTBClient_SimulatePTB_Call
- func (_c *MockSuiPTBClient_SimulatePTB_Call) Return(vs []any, err error) *MockSuiPTBClient_SimulatePTB_Call
- func (_c *MockSuiPTBClient_SimulatePTB_Call) Run(run func(ctx context.Context, bcsBytes []byte)) *MockSuiPTBClient_SimulatePTB_Call
- func (_c *MockSuiPTBClient_SimulatePTB_Call) RunAndReturn(run func(ctx context.Context, bcsBytes []byte) ([]any, error)) *MockSuiPTBClient_SimulatePTB_Call
- type MockSuiSigner
- type MockSuiSigner_Expecter
- type MockSuiSigner_GetAddress_Call
- func (_c *MockSuiSigner_GetAddress_Call) Return(s string, err error) *MockSuiSigner_GetAddress_Call
- func (_c *MockSuiSigner_GetAddress_Call) Run(run func()) *MockSuiSigner_GetAddress_Call
- func (_c *MockSuiSigner_GetAddress_Call) RunAndReturn(run func() (string, error)) *MockSuiSigner_GetAddress_Call
- type MockSuiSigner_Sign_Call
- func (_c *MockSuiSigner_Sign_Call) Return(strings []string, err error) *MockSuiSigner_Sign_Call
- func (_c *MockSuiSigner_Sign_Call) Run(run func(message []byte)) *MockSuiSigner_Sign_Call
- func (_c *MockSuiSigner_Sign_Call) RunAndReturn(run func(message []byte) ([]string, error)) *MockSuiSigner_Sign_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBindingsClient ¶ added in v0.111.1
MockBindingsClient is an autogenerated mock type for the BindingsClient type
func NewMockBindingsClient ¶ added in v0.111.1
func NewMockBindingsClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockBindingsClient
NewMockBindingsClient creates a new instance of MockBindingsClient. 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 (*MockBindingsClient) EXPECT ¶ added in v0.111.1
func (_m *MockBindingsClient) EXPECT() *MockBindingsClient_Expecter
func (*MockBindingsClient) FinishPTBAndSend ¶ added in v0.111.1
func (_mock *MockBindingsClient) FinishPTBAndSend(ctx context.Context, signer1 *signer.Signer, tx *transaction.Transaction, requestType client.TransactionRequestType) (*v2.ExecuteTransactionResponse, error)
FinishPTBAndSend provides a mock function for the type MockBindingsClient
func (*MockBindingsClient) GetReferenceGasPrice ¶ added in v0.111.1
GetReferenceGasPrice provides a mock function for the type MockBindingsClient
func (*MockBindingsClient) GetTransactionStatus ¶ added in v0.111.1
func (_mock *MockBindingsClient) GetTransactionStatus(ctx context.Context, digest string) (client.TransactionResult, error)
GetTransactionStatus provides a mock function for the type MockBindingsClient
func (*MockBindingsClient) QueryCoinsByAddress ¶ added in v0.111.1
func (_mock *MockBindingsClient) QueryCoinsByAddress(ctx context.Context, address string, coinType string) ([]*v2.Object, error)
QueryCoinsByAddress provides a mock function for the type MockBindingsClient
func (*MockBindingsClient) ReadObjectId ¶ added in v0.111.1
func (_mock *MockBindingsClient) ReadObjectId(ctx context.Context, objectId string) (*v2.Object, error)
ReadObjectId provides a mock function for the type MockBindingsClient
func (*MockBindingsClient) SendTransaction ¶ added in v0.111.1
func (_mock *MockBindingsClient) SendTransaction(ctx context.Context, req *v2.ExecuteTransactionRequest) (*v2.ExecuteTransactionResponse, error)
SendTransaction provides a mock function for the type MockBindingsClient
func (*MockBindingsClient) SimulatePTB ¶ added in v0.111.1
SimulatePTB provides a mock function for the type MockBindingsClient
type MockBindingsClient_Expecter ¶ added in v0.111.1
type MockBindingsClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBindingsClient_Expecter) FinishPTBAndSend ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) FinishPTBAndSend(ctx interface{}, signer1 interface{}, tx interface{}, requestType interface{}) *MockBindingsClient_FinishPTBAndSend_Call
FinishPTBAndSend is a helper method to define mock.On call
- ctx context.Context
- signer1 *signer.Signer
- tx *transaction.Transaction
- requestType client.TransactionRequestType
func (*MockBindingsClient_Expecter) GetReferenceGasPrice ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) GetReferenceGasPrice(ctx interface{}) *MockBindingsClient_GetReferenceGasPrice_Call
GetReferenceGasPrice is a helper method to define mock.On call
- ctx context.Context
func (*MockBindingsClient_Expecter) GetTransactionStatus ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) GetTransactionStatus(ctx interface{}, digest interface{}) *MockBindingsClient_GetTransactionStatus_Call
GetTransactionStatus is a helper method to define mock.On call
- ctx context.Context
- digest string
func (*MockBindingsClient_Expecter) QueryCoinsByAddress ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) QueryCoinsByAddress(ctx interface{}, address interface{}, coinType interface{}) *MockBindingsClient_QueryCoinsByAddress_Call
QueryCoinsByAddress is a helper method to define mock.On call
- ctx context.Context
- address string
- coinType string
func (*MockBindingsClient_Expecter) ReadObjectId ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) ReadObjectId(ctx interface{}, objectId interface{}) *MockBindingsClient_ReadObjectId_Call
ReadObjectId is a helper method to define mock.On call
- ctx context.Context
- objectId string
func (*MockBindingsClient_Expecter) SendTransaction ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) SendTransaction(ctx interface{}, req interface{}) *MockBindingsClient_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- ctx context.Context
- req *v2.ExecuteTransactionRequest
func (*MockBindingsClient_Expecter) SimulatePTB ¶ added in v0.111.1
func (_e *MockBindingsClient_Expecter) SimulatePTB(ctx interface{}, bcsBytes interface{}) *MockBindingsClient_SimulatePTB_Call
SimulatePTB is a helper method to define mock.On call
- ctx context.Context
- bcsBytes []byte
type MockBindingsClient_FinishPTBAndSend_Call ¶ added in v0.111.1
MockBindingsClient_FinishPTBAndSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishPTBAndSend'
func (*MockBindingsClient_FinishPTBAndSend_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_FinishPTBAndSend_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockBindingsClient_FinishPTBAndSend_Call
func (*MockBindingsClient_FinishPTBAndSend_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_FinishPTBAndSend_Call) Run(run func(ctx context.Context, signer1 *signer.Signer, tx *transaction.Transaction, requestType client.TransactionRequestType)) *MockBindingsClient_FinishPTBAndSend_Call
func (*MockBindingsClient_FinishPTBAndSend_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_FinishPTBAndSend_Call) RunAndReturn(run func(ctx context.Context, signer1 *signer.Signer, tx *transaction.Transaction, requestType client.TransactionRequestType) (*v2.ExecuteTransactionResponse, error)) *MockBindingsClient_FinishPTBAndSend_Call
type MockBindingsClient_GetReferenceGasPrice_Call ¶ added in v0.111.1
MockBindingsClient_GetReferenceGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReferenceGasPrice'
func (*MockBindingsClient_GetReferenceGasPrice_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_GetReferenceGasPrice_Call) Return(intParam *big.Int, err error) *MockBindingsClient_GetReferenceGasPrice_Call
func (*MockBindingsClient_GetReferenceGasPrice_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_GetReferenceGasPrice_Call) Run(run func(ctx context.Context)) *MockBindingsClient_GetReferenceGasPrice_Call
func (*MockBindingsClient_GetReferenceGasPrice_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_GetReferenceGasPrice_Call) RunAndReturn(run func(ctx context.Context) (*big.Int, error)) *MockBindingsClient_GetReferenceGasPrice_Call
type MockBindingsClient_GetTransactionStatus_Call ¶ added in v0.111.1
MockBindingsClient_GetTransactionStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionStatus'
func (*MockBindingsClient_GetTransactionStatus_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_GetTransactionStatus_Call) Return(transactionResult client.TransactionResult, err error) *MockBindingsClient_GetTransactionStatus_Call
func (*MockBindingsClient_GetTransactionStatus_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_GetTransactionStatus_Call) Run(run func(ctx context.Context, digest string)) *MockBindingsClient_GetTransactionStatus_Call
func (*MockBindingsClient_GetTransactionStatus_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_GetTransactionStatus_Call) RunAndReturn(run func(ctx context.Context, digest string) (client.TransactionResult, error)) *MockBindingsClient_GetTransactionStatus_Call
type MockBindingsClient_QueryCoinsByAddress_Call ¶ added in v0.111.1
MockBindingsClient_QueryCoinsByAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryCoinsByAddress'
func (*MockBindingsClient_QueryCoinsByAddress_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_QueryCoinsByAddress_Call) Return(objects []*v2.Object, err error) *MockBindingsClient_QueryCoinsByAddress_Call
func (*MockBindingsClient_QueryCoinsByAddress_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_QueryCoinsByAddress_Call) Run(run func(ctx context.Context, address string, coinType string)) *MockBindingsClient_QueryCoinsByAddress_Call
func (*MockBindingsClient_QueryCoinsByAddress_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_QueryCoinsByAddress_Call) RunAndReturn(run func(ctx context.Context, address string, coinType string) ([]*v2.Object, error)) *MockBindingsClient_QueryCoinsByAddress_Call
type MockBindingsClient_ReadObjectId_Call ¶ added in v0.111.1
MockBindingsClient_ReadObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadObjectId'
func (*MockBindingsClient_ReadObjectId_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_ReadObjectId_Call) Return(object *v2.Object, err error) *MockBindingsClient_ReadObjectId_Call
func (*MockBindingsClient_ReadObjectId_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_ReadObjectId_Call) Run(run func(ctx context.Context, objectId string)) *MockBindingsClient_ReadObjectId_Call
func (*MockBindingsClient_ReadObjectId_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_ReadObjectId_Call) RunAndReturn(run func(ctx context.Context, objectId string) (*v2.Object, error)) *MockBindingsClient_ReadObjectId_Call
type MockBindingsClient_SendTransaction_Call ¶ added in v0.111.1
MockBindingsClient_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*MockBindingsClient_SendTransaction_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_SendTransaction_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockBindingsClient_SendTransaction_Call
func (*MockBindingsClient_SendTransaction_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_SendTransaction_Call) Run(run func(ctx context.Context, req *v2.ExecuteTransactionRequest)) *MockBindingsClient_SendTransaction_Call
func (*MockBindingsClient_SendTransaction_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_SendTransaction_Call) RunAndReturn(run func(ctx context.Context, req *v2.ExecuteTransactionRequest) (*v2.ExecuteTransactionResponse, error)) *MockBindingsClient_SendTransaction_Call
type MockBindingsClient_SimulatePTB_Call ¶ added in v0.111.1
MockBindingsClient_SimulatePTB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulatePTB'
func (*MockBindingsClient_SimulatePTB_Call) Return ¶ added in v0.111.1
func (_c *MockBindingsClient_SimulatePTB_Call) Return(vs []any, err error) *MockBindingsClient_SimulatePTB_Call
func (*MockBindingsClient_SimulatePTB_Call) Run ¶ added in v0.111.1
func (_c *MockBindingsClient_SimulatePTB_Call) Run(run func(ctx context.Context, bcsBytes []byte)) *MockBindingsClient_SimulatePTB_Call
func (*MockBindingsClient_SimulatePTB_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockBindingsClient_SimulatePTB_Call) RunAndReturn(run func(ctx context.Context, bcsBytes []byte) ([]any, error)) *MockBindingsClient_SimulatePTB_Call
type MockSuiPTBClient ¶ added in v0.111.1
MockSuiPTBClient is an autogenerated mock type for the SuiPTBClient type
func NewMockSuiPTBClient ¶ added in v0.111.1
func NewMockSuiPTBClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockSuiPTBClient
NewMockSuiPTBClient creates a new instance of MockSuiPTBClient. 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 (*MockSuiPTBClient) EXPECT ¶ added in v0.111.1
func (_m *MockSuiPTBClient) EXPECT() *MockSuiPTBClient_Expecter
func (*MockSuiPTBClient) EstimateGas ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) EstimateGas(ctx context.Context, tx *transaction.Transaction) (uint64, error)
EstimateGas provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) FinishPTBAndSend ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) FinishPTBAndSend(ctx context.Context, txnSigner *signer.Signer, tx *transaction.Transaction, requestType client.TransactionRequestType) (*v2.ExecuteTransactionResponse, error)
FinishPTBAndSend provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetBlockById ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetBlockById(ctx context.Context, checkpointDigest string) (*v2.Checkpoint, error)
GetBlockById provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCCIPPackageID ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCCIPPackageID(ctx context.Context, offRampPackageID string) (string, error)
GetCCIPPackageID provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCache ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCache() *cache.Cache
GetCache provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCachedValue ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCachedValue(key string) (any, bool)
GetCachedValue provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCachedValues ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCachedValues(keys []string) (map[string]any, bool)
GetCachedValues provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCheckpointData ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCheckpointData(ctx context.Context, checkpointSequenceNumber uint64) (*client.CheckpointData, error)
GetCheckpointData provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCoinMetadata ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCoinMetadata(ctx context.Context, coinType string) (models.CoinMetadataResponse, error)
GetCoinMetadata provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetCoinsByAddress ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetCoinsByAddress(ctx context.Context, address string) ([]*v2.Object, error)
GetCoinsByAddress provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetLatestCheckpoint ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetLatestCheckpoint(ctx context.Context) (*v2.Checkpoint, error)
GetLatestCheckpoint provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetLatestEpoch ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetLatestEpoch(ctx context.Context) (*v2.Epoch, error)
GetLatestEpoch provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetLatestPackageId ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetLatestPackageId(ctx context.Context, packageId string, module string) (string, error)
GetLatestPackageId provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetNormalizedModule ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetNormalizedModule(ctx context.Context, packageId string, moduleId string) (models.GetNormalizedMoveModuleResponse, error)
GetNormalizedModule provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetParentObjectID ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetParentObjectID(ctx context.Context, packageID string, moduleID string, pointerObjectName string) (string, error)
GetParentObjectID provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetReferenceGasPrice ¶ added in v0.111.1
GetReferenceGasPrice provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetSUIBalance ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetSUIBalance(ctx context.Context, address string) (*v2.Balance, error)
GetSUIBalance provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetTransactionStatus ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetTransactionStatus(ctx context.Context, digest string) (client.TransactionResult, error)
GetTransactionStatus provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) GetValuesFromPackageOwnedObjectField ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) GetValuesFromPackageOwnedObjectField(ctx context.Context, packageID string, moduleID string, objectName string, fieldKeys []string) (map[string]string, error)
GetValuesFromPackageOwnedObjectField provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) HashTxBytes ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) HashTxBytes(txBytes []byte) []byte
HashTxBytes provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) LoadModulePackageIds ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) LoadModulePackageIds(ctx context.Context, packageId string, module string) ([]string, error)
LoadModulePackageIds provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) MoveCall ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) MoveCall(ctx context.Context, req client.MoveCallRequest) (client.TxnMetaData, error)
MoveCall provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) QueryCoinsByAddress ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) QueryCoinsByAddress(ctx context.Context, address string, coinType string) ([]*v2.Object, error)
QueryCoinsByAddress provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) QueryEvents ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) QueryEvents(ctx context.Context, filter client.EventFilterByMoveEventModule, limit *uint, cursor *client.EventId, sortOptions *client.QuerySortOptions) (*models.PaginatedEventsResponse, error)
QueryEvents provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) QueryTransactions ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) QueryTransactions(ctx context.Context, fromAddress string, cursor *v2.Checkpoint, limit *uint64) ([]*v2.ExecutedTransaction, error)
QueryTransactions provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) ReadFilterOwnedObjectIds ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) ReadFilterOwnedObjectIds(ctx context.Context, ownerAddress string, structType string, cursor []byte) ([]*v2.Object, error)
ReadFilterOwnedObjectIds provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) ReadFunction ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) ReadFunction(ctx context.Context, packageId string, module string, function string, args []any, argTypes []string, typeArgs []string) ([]any, error)
ReadFunction provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) ReadObjectId ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) ReadObjectId(ctx context.Context, objectId string) (*v2.Object, error)
ReadObjectId provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) ReadOwnedObjects ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) ReadOwnedObjects(ctx context.Context, ownerAddress string, cursor []byte) ([]*v2.Object, error)
ReadOwnedObjects provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) SendTransaction ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) SendTransaction(ctx context.Context, execRequest *v2.ExecuteTransactionRequest) (*v2.ExecuteTransactionResponse, error)
SendTransaction provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) SetCachedValue ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) SetCachedValue(key string, value any)
SetCachedValue provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) SetCachedValues ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) SetCachedValues(keyValues map[string]any)
SetCachedValues provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) SignAndSendTransaction ¶ added in v0.111.1
func (_mock *MockSuiPTBClient) SignAndSendTransaction(ctx context.Context, txBytesRaw string, signerPublicKey []byte) (*v2.ExecuteTransactionResponse, error)
SignAndSendTransaction provides a mock function for the type MockSuiPTBClient
func (*MockSuiPTBClient) SimulatePTB ¶ added in v0.111.1
SimulatePTB provides a mock function for the type MockSuiPTBClient
type MockSuiPTBClient_EstimateGas_Call ¶ added in v0.111.1
MockSuiPTBClient_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'
func (*MockSuiPTBClient_EstimateGas_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_EstimateGas_Call) Return(v uint64, err error) *MockSuiPTBClient_EstimateGas_Call
func (*MockSuiPTBClient_EstimateGas_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_EstimateGas_Call) Run(run func(ctx context.Context, tx *transaction.Transaction)) *MockSuiPTBClient_EstimateGas_Call
func (*MockSuiPTBClient_EstimateGas_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_EstimateGas_Call) RunAndReturn(run func(ctx context.Context, tx *transaction.Transaction) (uint64, error)) *MockSuiPTBClient_EstimateGas_Call
type MockSuiPTBClient_Expecter ¶ added in v0.111.1
type MockSuiPTBClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSuiPTBClient_Expecter) EstimateGas ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) EstimateGas(ctx interface{}, tx interface{}) *MockSuiPTBClient_EstimateGas_Call
EstimateGas is a helper method to define mock.On call
- ctx context.Context
- tx *transaction.Transaction
func (*MockSuiPTBClient_Expecter) FinishPTBAndSend ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) FinishPTBAndSend(ctx interface{}, txnSigner interface{}, tx interface{}, requestType interface{}) *MockSuiPTBClient_FinishPTBAndSend_Call
FinishPTBAndSend is a helper method to define mock.On call
- ctx context.Context
- txnSigner *signer.Signer
- tx *transaction.Transaction
- requestType client.TransactionRequestType
func (*MockSuiPTBClient_Expecter) GetBlockById ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetBlockById(ctx interface{}, checkpointDigest interface{}) *MockSuiPTBClient_GetBlockById_Call
GetBlockById is a helper method to define mock.On call
- ctx context.Context
- checkpointDigest string
func (*MockSuiPTBClient_Expecter) GetCCIPPackageID ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCCIPPackageID(ctx interface{}, offRampPackageID interface{}) *MockSuiPTBClient_GetCCIPPackageID_Call
GetCCIPPackageID is a helper method to define mock.On call
- ctx context.Context
- offRampPackageID string
func (*MockSuiPTBClient_Expecter) GetCache ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCache() *MockSuiPTBClient_GetCache_Call
GetCache is a helper method to define mock.On call
func (*MockSuiPTBClient_Expecter) GetCachedValue ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCachedValue(key interface{}) *MockSuiPTBClient_GetCachedValue_Call
GetCachedValue is a helper method to define mock.On call
- key string
func (*MockSuiPTBClient_Expecter) GetCachedValues ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCachedValues(keys interface{}) *MockSuiPTBClient_GetCachedValues_Call
GetCachedValues is a helper method to define mock.On call
- keys []string
func (*MockSuiPTBClient_Expecter) GetCheckpointData ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCheckpointData(ctx interface{}, checkpointSequenceNumber interface{}) *MockSuiPTBClient_GetCheckpointData_Call
GetCheckpointData is a helper method to define mock.On call
- ctx context.Context
- checkpointSequenceNumber uint64
func (*MockSuiPTBClient_Expecter) GetCoinMetadata ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCoinMetadata(ctx interface{}, coinType interface{}) *MockSuiPTBClient_GetCoinMetadata_Call
GetCoinMetadata is a helper method to define mock.On call
- ctx context.Context
- coinType string
func (*MockSuiPTBClient_Expecter) GetCoinsByAddress ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetCoinsByAddress(ctx interface{}, address interface{}) *MockSuiPTBClient_GetCoinsByAddress_Call
GetCoinsByAddress is a helper method to define mock.On call
- ctx context.Context
- address string
func (*MockSuiPTBClient_Expecter) GetLatestCheckpoint ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetLatestCheckpoint(ctx interface{}) *MockSuiPTBClient_GetLatestCheckpoint_Call
GetLatestCheckpoint is a helper method to define mock.On call
- ctx context.Context
func (*MockSuiPTBClient_Expecter) GetLatestEpoch ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetLatestEpoch(ctx interface{}) *MockSuiPTBClient_GetLatestEpoch_Call
GetLatestEpoch is a helper method to define mock.On call
- ctx context.Context
func (*MockSuiPTBClient_Expecter) GetLatestPackageId ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetLatestPackageId(ctx interface{}, packageId interface{}, module interface{}) *MockSuiPTBClient_GetLatestPackageId_Call
GetLatestPackageId is a helper method to define mock.On call
- ctx context.Context
- packageId string
- module string
func (*MockSuiPTBClient_Expecter) GetNormalizedModule ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetNormalizedModule(ctx interface{}, packageId interface{}, moduleId interface{}) *MockSuiPTBClient_GetNormalizedModule_Call
GetNormalizedModule is a helper method to define mock.On call
- ctx context.Context
- packageId string
- moduleId string
func (*MockSuiPTBClient_Expecter) GetParentObjectID ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetParentObjectID(ctx interface{}, packageID interface{}, moduleID interface{}, pointerObjectName interface{}) *MockSuiPTBClient_GetParentObjectID_Call
GetParentObjectID is a helper method to define mock.On call
- ctx context.Context
- packageID string
- moduleID string
- pointerObjectName string
func (*MockSuiPTBClient_Expecter) GetReferenceGasPrice ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetReferenceGasPrice(ctx interface{}) *MockSuiPTBClient_GetReferenceGasPrice_Call
GetReferenceGasPrice is a helper method to define mock.On call
- ctx context.Context
func (*MockSuiPTBClient_Expecter) GetSUIBalance ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetSUIBalance(ctx interface{}, address interface{}) *MockSuiPTBClient_GetSUIBalance_Call
GetSUIBalance is a helper method to define mock.On call
- ctx context.Context
- address string
func (*MockSuiPTBClient_Expecter) GetTransactionStatus ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetTransactionStatus(ctx interface{}, digest interface{}) *MockSuiPTBClient_GetTransactionStatus_Call
GetTransactionStatus is a helper method to define mock.On call
- ctx context.Context
- digest string
func (*MockSuiPTBClient_Expecter) GetValuesFromPackageOwnedObjectField ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) GetValuesFromPackageOwnedObjectField(ctx interface{}, packageID interface{}, moduleID interface{}, objectName interface{}, fieldKeys interface{}) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
GetValuesFromPackageOwnedObjectField is a helper method to define mock.On call
- ctx context.Context
- packageID string
- moduleID string
- objectName string
- fieldKeys []string
func (*MockSuiPTBClient_Expecter) HashTxBytes ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) HashTxBytes(txBytes interface{}) *MockSuiPTBClient_HashTxBytes_Call
HashTxBytes is a helper method to define mock.On call
- txBytes []byte
func (*MockSuiPTBClient_Expecter) LoadModulePackageIds ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) LoadModulePackageIds(ctx interface{}, packageId interface{}, module interface{}) *MockSuiPTBClient_LoadModulePackageIds_Call
LoadModulePackageIds is a helper method to define mock.On call
- ctx context.Context
- packageId string
- module string
func (*MockSuiPTBClient_Expecter) MoveCall ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) MoveCall(ctx interface{}, req interface{}) *MockSuiPTBClient_MoveCall_Call
MoveCall is a helper method to define mock.On call
- ctx context.Context
- req client.MoveCallRequest
func (*MockSuiPTBClient_Expecter) QueryCoinsByAddress ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) QueryCoinsByAddress(ctx interface{}, address interface{}, coinType interface{}) *MockSuiPTBClient_QueryCoinsByAddress_Call
QueryCoinsByAddress is a helper method to define mock.On call
- ctx context.Context
- address string
- coinType string
func (*MockSuiPTBClient_Expecter) QueryEvents ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) QueryEvents(ctx interface{}, filter interface{}, limit interface{}, cursor interface{}, sortOptions interface{}) *MockSuiPTBClient_QueryEvents_Call
QueryEvents is a helper method to define mock.On call
- ctx context.Context
- filter client.EventFilterByMoveEventModule
- limit *uint
- cursor *client.EventId
- sortOptions *client.QuerySortOptions
func (*MockSuiPTBClient_Expecter) QueryTransactions ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) QueryTransactions(ctx interface{}, fromAddress interface{}, cursor interface{}, limit interface{}) *MockSuiPTBClient_QueryTransactions_Call
QueryTransactions is a helper method to define mock.On call
- ctx context.Context
- fromAddress string
- cursor *v2.Checkpoint
- limit *uint64
func (*MockSuiPTBClient_Expecter) ReadFilterOwnedObjectIds ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) ReadFilterOwnedObjectIds(ctx interface{}, ownerAddress interface{}, structType interface{}, cursor interface{}) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
ReadFilterOwnedObjectIds is a helper method to define mock.On call
- ctx context.Context
- ownerAddress string
- structType string
- cursor []byte
func (*MockSuiPTBClient_Expecter) ReadFunction ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) ReadFunction(ctx interface{}, packageId interface{}, module interface{}, function interface{}, args interface{}, argTypes interface{}, typeArgs interface{}) *MockSuiPTBClient_ReadFunction_Call
ReadFunction is a helper method to define mock.On call
- ctx context.Context
- packageId string
- module string
- function string
- args []any
- argTypes []string
- typeArgs []string
func (*MockSuiPTBClient_Expecter) ReadObjectId ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) ReadObjectId(ctx interface{}, objectId interface{}) *MockSuiPTBClient_ReadObjectId_Call
ReadObjectId is a helper method to define mock.On call
- ctx context.Context
- objectId string
func (*MockSuiPTBClient_Expecter) ReadOwnedObjects ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) ReadOwnedObjects(ctx interface{}, ownerAddress interface{}, cursor interface{}) *MockSuiPTBClient_ReadOwnedObjects_Call
ReadOwnedObjects is a helper method to define mock.On call
- ctx context.Context
- ownerAddress string
- cursor []byte
func (*MockSuiPTBClient_Expecter) SendTransaction ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) SendTransaction(ctx interface{}, execRequest interface{}) *MockSuiPTBClient_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- ctx context.Context
- execRequest *v2.ExecuteTransactionRequest
func (*MockSuiPTBClient_Expecter) SetCachedValue ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) SetCachedValue(key interface{}, value interface{}) *MockSuiPTBClient_SetCachedValue_Call
SetCachedValue is a helper method to define mock.On call
- key string
- value any
func (*MockSuiPTBClient_Expecter) SetCachedValues ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) SetCachedValues(keyValues interface{}) *MockSuiPTBClient_SetCachedValues_Call
SetCachedValues is a helper method to define mock.On call
- keyValues map[string]any
func (*MockSuiPTBClient_Expecter) SignAndSendTransaction ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) SignAndSendTransaction(ctx interface{}, txBytesRaw interface{}, signerPublicKey interface{}) *MockSuiPTBClient_SignAndSendTransaction_Call
SignAndSendTransaction is a helper method to define mock.On call
- ctx context.Context
- txBytesRaw string
- signerPublicKey []byte
func (*MockSuiPTBClient_Expecter) SimulatePTB ¶ added in v0.111.1
func (_e *MockSuiPTBClient_Expecter) SimulatePTB(ctx interface{}, bcsBytes interface{}) *MockSuiPTBClient_SimulatePTB_Call
SimulatePTB is a helper method to define mock.On call
- ctx context.Context
- bcsBytes []byte
type MockSuiPTBClient_FinishPTBAndSend_Call ¶ added in v0.111.1
MockSuiPTBClient_FinishPTBAndSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishPTBAndSend'
func (*MockSuiPTBClient_FinishPTBAndSend_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_FinishPTBAndSend_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockSuiPTBClient_FinishPTBAndSend_Call
func (*MockSuiPTBClient_FinishPTBAndSend_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_FinishPTBAndSend_Call) Run(run func(ctx context.Context, txnSigner *signer.Signer, tx *transaction.Transaction, requestType client.TransactionRequestType)) *MockSuiPTBClient_FinishPTBAndSend_Call
func (*MockSuiPTBClient_FinishPTBAndSend_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_FinishPTBAndSend_Call) RunAndReturn(run func(ctx context.Context, txnSigner *signer.Signer, tx *transaction.Transaction, requestType client.TransactionRequestType) (*v2.ExecuteTransactionResponse, error)) *MockSuiPTBClient_FinishPTBAndSend_Call
type MockSuiPTBClient_GetBlockById_Call ¶ added in v0.111.1
MockSuiPTBClient_GetBlockById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockById'
func (*MockSuiPTBClient_GetBlockById_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetBlockById_Call) Return(checkpoint *v2.Checkpoint, err error) *MockSuiPTBClient_GetBlockById_Call
func (*MockSuiPTBClient_GetBlockById_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetBlockById_Call) Run(run func(ctx context.Context, checkpointDigest string)) *MockSuiPTBClient_GetBlockById_Call
func (*MockSuiPTBClient_GetBlockById_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetBlockById_Call) RunAndReturn(run func(ctx context.Context, checkpointDigest string) (*v2.Checkpoint, error)) *MockSuiPTBClient_GetBlockById_Call
type MockSuiPTBClient_GetCCIPPackageID_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCCIPPackageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCCIPPackageID'
func (*MockSuiPTBClient_GetCCIPPackageID_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCCIPPackageID_Call) Return(s string, err error) *MockSuiPTBClient_GetCCIPPackageID_Call
func (*MockSuiPTBClient_GetCCIPPackageID_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCCIPPackageID_Call) Run(run func(ctx context.Context, offRampPackageID string)) *MockSuiPTBClient_GetCCIPPackageID_Call
func (*MockSuiPTBClient_GetCCIPPackageID_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCCIPPackageID_Call) RunAndReturn(run func(ctx context.Context, offRampPackageID string) (string, error)) *MockSuiPTBClient_GetCCIPPackageID_Call
type MockSuiPTBClient_GetCache_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'
func (*MockSuiPTBClient_GetCache_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCache_Call) Return(cache1 *cache.Cache) *MockSuiPTBClient_GetCache_Call
func (*MockSuiPTBClient_GetCache_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCache_Call) Run(run func()) *MockSuiPTBClient_GetCache_Call
func (*MockSuiPTBClient_GetCache_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCache_Call) RunAndReturn(run func() *cache.Cache) *MockSuiPTBClient_GetCache_Call
type MockSuiPTBClient_GetCachedValue_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCachedValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCachedValue'
func (*MockSuiPTBClient_GetCachedValue_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCachedValue_Call) Return(v any, b bool) *MockSuiPTBClient_GetCachedValue_Call
func (*MockSuiPTBClient_GetCachedValue_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCachedValue_Call) Run(run func(key string)) *MockSuiPTBClient_GetCachedValue_Call
func (*MockSuiPTBClient_GetCachedValue_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCachedValue_Call) RunAndReturn(run func(key string) (any, bool)) *MockSuiPTBClient_GetCachedValue_Call
type MockSuiPTBClient_GetCachedValues_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCachedValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCachedValues'
func (*MockSuiPTBClient_GetCachedValues_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCachedValues_Call) Return(stringToV map[string]any, b bool) *MockSuiPTBClient_GetCachedValues_Call
func (*MockSuiPTBClient_GetCachedValues_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCachedValues_Call) Run(run func(keys []string)) *MockSuiPTBClient_GetCachedValues_Call
func (*MockSuiPTBClient_GetCachedValues_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCachedValues_Call) RunAndReturn(run func(keys []string) (map[string]any, bool)) *MockSuiPTBClient_GetCachedValues_Call
type MockSuiPTBClient_GetCheckpointData_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCheckpointData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCheckpointData'
func (*MockSuiPTBClient_GetCheckpointData_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCheckpointData_Call) Return(checkpointData *client.CheckpointData, err error) *MockSuiPTBClient_GetCheckpointData_Call
func (*MockSuiPTBClient_GetCheckpointData_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCheckpointData_Call) Run(run func(ctx context.Context, checkpointSequenceNumber uint64)) *MockSuiPTBClient_GetCheckpointData_Call
func (*MockSuiPTBClient_GetCheckpointData_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCheckpointData_Call) RunAndReturn(run func(ctx context.Context, checkpointSequenceNumber uint64) (*client.CheckpointData, error)) *MockSuiPTBClient_GetCheckpointData_Call
type MockSuiPTBClient_GetCoinMetadata_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCoinMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCoinMetadata'
func (*MockSuiPTBClient_GetCoinMetadata_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCoinMetadata_Call) Return(coinMetadataResponse models.CoinMetadataResponse, err error) *MockSuiPTBClient_GetCoinMetadata_Call
func (*MockSuiPTBClient_GetCoinMetadata_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCoinMetadata_Call) Run(run func(ctx context.Context, coinType string)) *MockSuiPTBClient_GetCoinMetadata_Call
func (*MockSuiPTBClient_GetCoinMetadata_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCoinMetadata_Call) RunAndReturn(run func(ctx context.Context, coinType string) (models.CoinMetadataResponse, error)) *MockSuiPTBClient_GetCoinMetadata_Call
type MockSuiPTBClient_GetCoinsByAddress_Call ¶ added in v0.111.1
MockSuiPTBClient_GetCoinsByAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCoinsByAddress'
func (*MockSuiPTBClient_GetCoinsByAddress_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCoinsByAddress_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_GetCoinsByAddress_Call
func (*MockSuiPTBClient_GetCoinsByAddress_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCoinsByAddress_Call) Run(run func(ctx context.Context, address string)) *MockSuiPTBClient_GetCoinsByAddress_Call
func (*MockSuiPTBClient_GetCoinsByAddress_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetCoinsByAddress_Call) RunAndReturn(run func(ctx context.Context, address string) ([]*v2.Object, error)) *MockSuiPTBClient_GetCoinsByAddress_Call
type MockSuiPTBClient_GetLatestCheckpoint_Call ¶ added in v0.111.1
MockSuiPTBClient_GetLatestCheckpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestCheckpoint'
func (*MockSuiPTBClient_GetLatestCheckpoint_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestCheckpoint_Call) Return(checkpoint *v2.Checkpoint, err error) *MockSuiPTBClient_GetLatestCheckpoint_Call
func (*MockSuiPTBClient_GetLatestCheckpoint_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestCheckpoint_Call) Run(run func(ctx context.Context)) *MockSuiPTBClient_GetLatestCheckpoint_Call
func (*MockSuiPTBClient_GetLatestCheckpoint_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestCheckpoint_Call) RunAndReturn(run func(ctx context.Context) (*v2.Checkpoint, error)) *MockSuiPTBClient_GetLatestCheckpoint_Call
type MockSuiPTBClient_GetLatestEpoch_Call ¶ added in v0.111.1
MockSuiPTBClient_GetLatestEpoch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestEpoch'
func (*MockSuiPTBClient_GetLatestEpoch_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestEpoch_Call) Return(epoch *v2.Epoch, err error) *MockSuiPTBClient_GetLatestEpoch_Call
func (*MockSuiPTBClient_GetLatestEpoch_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestEpoch_Call) Run(run func(ctx context.Context)) *MockSuiPTBClient_GetLatestEpoch_Call
func (*MockSuiPTBClient_GetLatestEpoch_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestEpoch_Call) RunAndReturn(run func(ctx context.Context) (*v2.Epoch, error)) *MockSuiPTBClient_GetLatestEpoch_Call
type MockSuiPTBClient_GetLatestPackageId_Call ¶ added in v0.111.1
MockSuiPTBClient_GetLatestPackageId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestPackageId'
func (*MockSuiPTBClient_GetLatestPackageId_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestPackageId_Call) Return(s string, err error) *MockSuiPTBClient_GetLatestPackageId_Call
func (*MockSuiPTBClient_GetLatestPackageId_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestPackageId_Call) Run(run func(ctx context.Context, packageId string, module string)) *MockSuiPTBClient_GetLatestPackageId_Call
func (*MockSuiPTBClient_GetLatestPackageId_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetLatestPackageId_Call) RunAndReturn(run func(ctx context.Context, packageId string, module string) (string, error)) *MockSuiPTBClient_GetLatestPackageId_Call
type MockSuiPTBClient_GetNormalizedModule_Call ¶ added in v0.111.1
MockSuiPTBClient_GetNormalizedModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNormalizedModule'
func (*MockSuiPTBClient_GetNormalizedModule_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetNormalizedModule_Call) Return(getNormalizedMoveModuleResponse models.GetNormalizedMoveModuleResponse, err error) *MockSuiPTBClient_GetNormalizedModule_Call
func (*MockSuiPTBClient_GetNormalizedModule_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetNormalizedModule_Call) Run(run func(ctx context.Context, packageId string, moduleId string)) *MockSuiPTBClient_GetNormalizedModule_Call
func (*MockSuiPTBClient_GetNormalizedModule_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetNormalizedModule_Call) RunAndReturn(run func(ctx context.Context, packageId string, moduleId string) (models.GetNormalizedMoveModuleResponse, error)) *MockSuiPTBClient_GetNormalizedModule_Call
type MockSuiPTBClient_GetParentObjectID_Call ¶ added in v0.111.1
MockSuiPTBClient_GetParentObjectID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParentObjectID'
func (*MockSuiPTBClient_GetParentObjectID_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetParentObjectID_Call) Return(s string, err error) *MockSuiPTBClient_GetParentObjectID_Call
func (*MockSuiPTBClient_GetParentObjectID_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetParentObjectID_Call) Run(run func(ctx context.Context, packageID string, moduleID string, pointerObjectName string)) *MockSuiPTBClient_GetParentObjectID_Call
func (*MockSuiPTBClient_GetParentObjectID_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetParentObjectID_Call) RunAndReturn(run func(ctx context.Context, packageID string, moduleID string, pointerObjectName string) (string, error)) *MockSuiPTBClient_GetParentObjectID_Call
type MockSuiPTBClient_GetReferenceGasPrice_Call ¶ added in v0.111.1
MockSuiPTBClient_GetReferenceGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReferenceGasPrice'
func (*MockSuiPTBClient_GetReferenceGasPrice_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetReferenceGasPrice_Call) Return(intParam *big.Int, err error) *MockSuiPTBClient_GetReferenceGasPrice_Call
func (*MockSuiPTBClient_GetReferenceGasPrice_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetReferenceGasPrice_Call) Run(run func(ctx context.Context)) *MockSuiPTBClient_GetReferenceGasPrice_Call
func (*MockSuiPTBClient_GetReferenceGasPrice_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetReferenceGasPrice_Call) RunAndReturn(run func(ctx context.Context) (*big.Int, error)) *MockSuiPTBClient_GetReferenceGasPrice_Call
type MockSuiPTBClient_GetSUIBalance_Call ¶ added in v0.111.1
MockSuiPTBClient_GetSUIBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSUIBalance'
func (*MockSuiPTBClient_GetSUIBalance_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetSUIBalance_Call) Return(balance *v2.Balance, err error) *MockSuiPTBClient_GetSUIBalance_Call
func (*MockSuiPTBClient_GetSUIBalance_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetSUIBalance_Call) Run(run func(ctx context.Context, address string)) *MockSuiPTBClient_GetSUIBalance_Call
func (*MockSuiPTBClient_GetSUIBalance_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetSUIBalance_Call) RunAndReturn(run func(ctx context.Context, address string) (*v2.Balance, error)) *MockSuiPTBClient_GetSUIBalance_Call
type MockSuiPTBClient_GetTransactionStatus_Call ¶ added in v0.111.1
MockSuiPTBClient_GetTransactionStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionStatus'
func (*MockSuiPTBClient_GetTransactionStatus_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetTransactionStatus_Call) Return(transactionResult client.TransactionResult, err error) *MockSuiPTBClient_GetTransactionStatus_Call
func (*MockSuiPTBClient_GetTransactionStatus_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetTransactionStatus_Call) Run(run func(ctx context.Context, digest string)) *MockSuiPTBClient_GetTransactionStatus_Call
func (*MockSuiPTBClient_GetTransactionStatus_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetTransactionStatus_Call) RunAndReturn(run func(ctx context.Context, digest string) (client.TransactionResult, error)) *MockSuiPTBClient_GetTransactionStatus_Call
type MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call ¶ added in v0.111.1
MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetValuesFromPackageOwnedObjectField'
func (*MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Return(stringToString map[string]string, err error) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
func (*MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Run(run func(ctx context.Context, packageID string, moduleID string, objectName string, fieldKeys []string)) *MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call
func (*MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) RunAndReturn ¶ added in v0.111.1
type MockSuiPTBClient_HashTxBytes_Call ¶ added in v0.111.1
MockSuiPTBClient_HashTxBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HashTxBytes'
func (*MockSuiPTBClient_HashTxBytes_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_HashTxBytes_Call) Return(bytes []byte) *MockSuiPTBClient_HashTxBytes_Call
func (*MockSuiPTBClient_HashTxBytes_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_HashTxBytes_Call) Run(run func(txBytes []byte)) *MockSuiPTBClient_HashTxBytes_Call
func (*MockSuiPTBClient_HashTxBytes_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_HashTxBytes_Call) RunAndReturn(run func(txBytes []byte) []byte) *MockSuiPTBClient_HashTxBytes_Call
type MockSuiPTBClient_LoadModulePackageIds_Call ¶ added in v0.111.1
MockSuiPTBClient_LoadModulePackageIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadModulePackageIds'
func (*MockSuiPTBClient_LoadModulePackageIds_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_LoadModulePackageIds_Call) Return(strings []string, err error) *MockSuiPTBClient_LoadModulePackageIds_Call
func (*MockSuiPTBClient_LoadModulePackageIds_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_LoadModulePackageIds_Call) Run(run func(ctx context.Context, packageId string, module string)) *MockSuiPTBClient_LoadModulePackageIds_Call
func (*MockSuiPTBClient_LoadModulePackageIds_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_LoadModulePackageIds_Call) RunAndReturn(run func(ctx context.Context, packageId string, module string) ([]string, error)) *MockSuiPTBClient_LoadModulePackageIds_Call
type MockSuiPTBClient_MoveCall_Call ¶ added in v0.111.1
MockSuiPTBClient_MoveCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveCall'
func (*MockSuiPTBClient_MoveCall_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_MoveCall_Call) Return(txnMetaData client.TxnMetaData, err error) *MockSuiPTBClient_MoveCall_Call
func (*MockSuiPTBClient_MoveCall_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_MoveCall_Call) Run(run func(ctx context.Context, req client.MoveCallRequest)) *MockSuiPTBClient_MoveCall_Call
func (*MockSuiPTBClient_MoveCall_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_MoveCall_Call) RunAndReturn(run func(ctx context.Context, req client.MoveCallRequest) (client.TxnMetaData, error)) *MockSuiPTBClient_MoveCall_Call
type MockSuiPTBClient_QueryCoinsByAddress_Call ¶ added in v0.111.1
MockSuiPTBClient_QueryCoinsByAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryCoinsByAddress'
func (*MockSuiPTBClient_QueryCoinsByAddress_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryCoinsByAddress_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_QueryCoinsByAddress_Call
func (*MockSuiPTBClient_QueryCoinsByAddress_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryCoinsByAddress_Call) Run(run func(ctx context.Context, address string, coinType string)) *MockSuiPTBClient_QueryCoinsByAddress_Call
func (*MockSuiPTBClient_QueryCoinsByAddress_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryCoinsByAddress_Call) RunAndReturn(run func(ctx context.Context, address string, coinType string) ([]*v2.Object, error)) *MockSuiPTBClient_QueryCoinsByAddress_Call
type MockSuiPTBClient_QueryEvents_Call ¶ added in v0.111.1
MockSuiPTBClient_QueryEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryEvents'
func (*MockSuiPTBClient_QueryEvents_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryEvents_Call) Return(paginatedEventsResponse *models.PaginatedEventsResponse, err error) *MockSuiPTBClient_QueryEvents_Call
func (*MockSuiPTBClient_QueryEvents_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryEvents_Call) Run(run func(ctx context.Context, filter client.EventFilterByMoveEventModule, limit *uint, cursor *client.EventId, sortOptions *client.QuerySortOptions)) *MockSuiPTBClient_QueryEvents_Call
func (*MockSuiPTBClient_QueryEvents_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryEvents_Call) RunAndReturn(run func(ctx context.Context, filter client.EventFilterByMoveEventModule, limit *uint, cursor *client.EventId, sortOptions *client.QuerySortOptions) (*models.PaginatedEventsResponse, error)) *MockSuiPTBClient_QueryEvents_Call
type MockSuiPTBClient_QueryTransactions_Call ¶ added in v0.111.1
MockSuiPTBClient_QueryTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryTransactions'
func (*MockSuiPTBClient_QueryTransactions_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryTransactions_Call) Return(executedTransactions []*v2.ExecutedTransaction, err error) *MockSuiPTBClient_QueryTransactions_Call
func (*MockSuiPTBClient_QueryTransactions_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryTransactions_Call) Run(run func(ctx context.Context, fromAddress string, cursor *v2.Checkpoint, limit *uint64)) *MockSuiPTBClient_QueryTransactions_Call
func (*MockSuiPTBClient_QueryTransactions_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_QueryTransactions_Call) RunAndReturn(run func(ctx context.Context, fromAddress string, cursor *v2.Checkpoint, limit *uint64) ([]*v2.ExecutedTransaction, error)) *MockSuiPTBClient_QueryTransactions_Call
type MockSuiPTBClient_ReadFilterOwnedObjectIds_Call ¶ added in v0.111.1
MockSuiPTBClient_ReadFilterOwnedObjectIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadFilterOwnedObjectIds'
func (*MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
func (*MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Run(run func(ctx context.Context, ownerAddress string, structType string, cursor []byte)) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
func (*MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) RunAndReturn(run func(ctx context.Context, ownerAddress string, structType string, cursor []byte) ([]*v2.Object, error)) *MockSuiPTBClient_ReadFilterOwnedObjectIds_Call
type MockSuiPTBClient_ReadFunction_Call ¶ added in v0.111.1
MockSuiPTBClient_ReadFunction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadFunction'
func (*MockSuiPTBClient_ReadFunction_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadFunction_Call) Return(vs []any, err error) *MockSuiPTBClient_ReadFunction_Call
func (*MockSuiPTBClient_ReadFunction_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadFunction_Call) Run(run func(ctx context.Context, packageId string, module string, function string, args []any, argTypes []string, typeArgs []string)) *MockSuiPTBClient_ReadFunction_Call
func (*MockSuiPTBClient_ReadFunction_Call) RunAndReturn ¶ added in v0.111.1
type MockSuiPTBClient_ReadObjectId_Call ¶ added in v0.111.1
MockSuiPTBClient_ReadObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadObjectId'
func (*MockSuiPTBClient_ReadObjectId_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadObjectId_Call) Return(object *v2.Object, err error) *MockSuiPTBClient_ReadObjectId_Call
func (*MockSuiPTBClient_ReadObjectId_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadObjectId_Call) Run(run func(ctx context.Context, objectId string)) *MockSuiPTBClient_ReadObjectId_Call
func (*MockSuiPTBClient_ReadObjectId_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadObjectId_Call) RunAndReturn(run func(ctx context.Context, objectId string) (*v2.Object, error)) *MockSuiPTBClient_ReadObjectId_Call
type MockSuiPTBClient_ReadOwnedObjects_Call ¶ added in v0.111.1
MockSuiPTBClient_ReadOwnedObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadOwnedObjects'
func (*MockSuiPTBClient_ReadOwnedObjects_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadOwnedObjects_Call) Return(objects []*v2.Object, err error) *MockSuiPTBClient_ReadOwnedObjects_Call
func (*MockSuiPTBClient_ReadOwnedObjects_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadOwnedObjects_Call) Run(run func(ctx context.Context, ownerAddress string, cursor []byte)) *MockSuiPTBClient_ReadOwnedObjects_Call
func (*MockSuiPTBClient_ReadOwnedObjects_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_ReadOwnedObjects_Call) RunAndReturn(run func(ctx context.Context, ownerAddress string, cursor []byte) ([]*v2.Object, error)) *MockSuiPTBClient_ReadOwnedObjects_Call
type MockSuiPTBClient_SendTransaction_Call ¶ added in v0.111.1
MockSuiPTBClient_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*MockSuiPTBClient_SendTransaction_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SendTransaction_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockSuiPTBClient_SendTransaction_Call
func (*MockSuiPTBClient_SendTransaction_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SendTransaction_Call) Run(run func(ctx context.Context, execRequest *v2.ExecuteTransactionRequest)) *MockSuiPTBClient_SendTransaction_Call
func (*MockSuiPTBClient_SendTransaction_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SendTransaction_Call) RunAndReturn(run func(ctx context.Context, execRequest *v2.ExecuteTransactionRequest) (*v2.ExecuteTransactionResponse, error)) *MockSuiPTBClient_SendTransaction_Call
type MockSuiPTBClient_SetCachedValue_Call ¶ added in v0.111.1
MockSuiPTBClient_SetCachedValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCachedValue'
func (*MockSuiPTBClient_SetCachedValue_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SetCachedValue_Call) Return() *MockSuiPTBClient_SetCachedValue_Call
func (*MockSuiPTBClient_SetCachedValue_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SetCachedValue_Call) Run(run func(key string, value any)) *MockSuiPTBClient_SetCachedValue_Call
func (*MockSuiPTBClient_SetCachedValue_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SetCachedValue_Call) RunAndReturn(run func(key string, value any)) *MockSuiPTBClient_SetCachedValue_Call
type MockSuiPTBClient_SetCachedValues_Call ¶ added in v0.111.1
MockSuiPTBClient_SetCachedValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCachedValues'
func (*MockSuiPTBClient_SetCachedValues_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SetCachedValues_Call) Return() *MockSuiPTBClient_SetCachedValues_Call
func (*MockSuiPTBClient_SetCachedValues_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SetCachedValues_Call) Run(run func(keyValues map[string]any)) *MockSuiPTBClient_SetCachedValues_Call
func (*MockSuiPTBClient_SetCachedValues_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SetCachedValues_Call) RunAndReturn(run func(keyValues map[string]any)) *MockSuiPTBClient_SetCachedValues_Call
type MockSuiPTBClient_SignAndSendTransaction_Call ¶ added in v0.111.1
MockSuiPTBClient_SignAndSendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignAndSendTransaction'
func (*MockSuiPTBClient_SignAndSendTransaction_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SignAndSendTransaction_Call) Return(executeTransactionResponse *v2.ExecuteTransactionResponse, err error) *MockSuiPTBClient_SignAndSendTransaction_Call
func (*MockSuiPTBClient_SignAndSendTransaction_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SignAndSendTransaction_Call) Run(run func(ctx context.Context, txBytesRaw string, signerPublicKey []byte)) *MockSuiPTBClient_SignAndSendTransaction_Call
func (*MockSuiPTBClient_SignAndSendTransaction_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SignAndSendTransaction_Call) RunAndReturn(run func(ctx context.Context, txBytesRaw string, signerPublicKey []byte) (*v2.ExecuteTransactionResponse, error)) *MockSuiPTBClient_SignAndSendTransaction_Call
type MockSuiPTBClient_SimulatePTB_Call ¶ added in v0.111.1
MockSuiPTBClient_SimulatePTB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulatePTB'
func (*MockSuiPTBClient_SimulatePTB_Call) Return ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SimulatePTB_Call) Return(vs []any, err error) *MockSuiPTBClient_SimulatePTB_Call
func (*MockSuiPTBClient_SimulatePTB_Call) Run ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SimulatePTB_Call) Run(run func(ctx context.Context, bcsBytes []byte)) *MockSuiPTBClient_SimulatePTB_Call
func (*MockSuiPTBClient_SimulatePTB_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiPTBClient_SimulatePTB_Call) RunAndReturn(run func(ctx context.Context, bcsBytes []byte) ([]any, error)) *MockSuiPTBClient_SimulatePTB_Call
type MockSuiSigner ¶ added in v0.111.1
MockSuiSigner is an autogenerated mock type for the SuiSigner type
func NewMockSuiSigner ¶ added in v0.111.1
func NewMockSuiSigner(t interface {
mock.TestingT
Cleanup(func())
}) *MockSuiSigner
NewMockSuiSigner creates a new instance of MockSuiSigner. 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 (*MockSuiSigner) EXPECT ¶ added in v0.111.1
func (_m *MockSuiSigner) EXPECT() *MockSuiSigner_Expecter
func (*MockSuiSigner) GetAddress ¶ added in v0.111.1
func (_mock *MockSuiSigner) GetAddress() (string, error)
GetAddress provides a mock function for the type MockSuiSigner
type MockSuiSigner_Expecter ¶ added in v0.111.1
type MockSuiSigner_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSuiSigner_Expecter) GetAddress ¶ added in v0.111.1
func (_e *MockSuiSigner_Expecter) GetAddress() *MockSuiSigner_GetAddress_Call
GetAddress is a helper method to define mock.On call
func (*MockSuiSigner_Expecter) Sign ¶ added in v0.111.1
func (_e *MockSuiSigner_Expecter) Sign(message interface{}) *MockSuiSigner_Sign_Call
Sign is a helper method to define mock.On call
- message []byte
type MockSuiSigner_GetAddress_Call ¶ added in v0.111.1
MockSuiSigner_GetAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAddress'
func (*MockSuiSigner_GetAddress_Call) Return ¶ added in v0.111.1
func (_c *MockSuiSigner_GetAddress_Call) Return(s string, err error) *MockSuiSigner_GetAddress_Call
func (*MockSuiSigner_GetAddress_Call) Run ¶ added in v0.111.1
func (_c *MockSuiSigner_GetAddress_Call) Run(run func()) *MockSuiSigner_GetAddress_Call
func (*MockSuiSigner_GetAddress_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiSigner_GetAddress_Call) RunAndReturn(run func() (string, error)) *MockSuiSigner_GetAddress_Call
type MockSuiSigner_Sign_Call ¶ added in v0.111.1
MockSuiSigner_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*MockSuiSigner_Sign_Call) Return ¶ added in v0.111.1
func (_c *MockSuiSigner_Sign_Call) Return(strings []string, err error) *MockSuiSigner_Sign_Call
func (*MockSuiSigner_Sign_Call) Run ¶ added in v0.111.1
func (_c *MockSuiSigner_Sign_Call) Run(run func(message []byte)) *MockSuiSigner_Sign_Call
func (*MockSuiSigner_Sign_Call) RunAndReturn ¶ added in v0.111.1
func (_c *MockSuiSigner_Sign_Call) RunAndReturn(run func(message []byte) ([]string, error)) *MockSuiSigner_Sign_Call