mocks

package
v0.129.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBindingsClient added in v0.111.1

type MockBindingsClient struct {
	mock.Mock
}

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 (*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

func (_mock *MockBindingsClient) GetReferenceGasPrice(ctx context.Context) (*big.Int, error)

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

func (_mock *MockBindingsClient) SimulatePTB(ctx context.Context, bcsBytes []byte) ([]any, error)

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

type MockBindingsClient_FinishPTBAndSend_Call struct {
	*mock.Call
}

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 (*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

type MockBindingsClient_GetReferenceGasPrice_Call struct {
	*mock.Call
}

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 (*MockBindingsClient_GetReferenceGasPrice_Call) Run added in v0.111.1

func (*MockBindingsClient_GetReferenceGasPrice_Call) RunAndReturn added in v0.111.1

type MockBindingsClient_GetTransactionStatus_Call added in v0.111.1

type MockBindingsClient_GetTransactionStatus_Call struct {
	*mock.Call
}

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 (*MockBindingsClient_GetTransactionStatus_Call) Run added in v0.111.1

func (*MockBindingsClient_GetTransactionStatus_Call) RunAndReturn added in v0.111.1

type MockBindingsClient_QueryCoinsByAddress_Call added in v0.111.1

type MockBindingsClient_QueryCoinsByAddress_Call struct {
	*mock.Call
}

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 (*MockBindingsClient_QueryCoinsByAddress_Call) Run added in v0.111.1

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

type MockBindingsClient_ReadObjectId_Call struct {
	*mock.Call
}

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 (*MockBindingsClient_ReadObjectId_Call) Run added in v0.111.1

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

type MockBindingsClient_SendTransaction_Call struct {
	*mock.Call
}

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

type MockBindingsClient_SimulatePTB_Call struct {
	*mock.Call
}

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 (*MockBindingsClient_SimulatePTB_Call) Run added in v0.111.1

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

type MockSuiPTBClient struct {
	mock.Mock
}

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 (*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

func (_mock *MockSuiPTBClient) GetReferenceGasPrice(ctx context.Context) (*big.Int, error)

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

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

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

func (_mock *MockSuiPTBClient) SimulatePTB(ctx context.Context, bcsBytes []byte) ([]any, error)

SimulatePTB provides a mock function for the type MockSuiPTBClient

type MockSuiPTBClient_EstimateGas_Call added in v0.111.1

type MockSuiPTBClient_EstimateGas_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_EstimateGas_Call) Run added in v0.111.1

func (*MockSuiPTBClient_EstimateGas_Call) RunAndReturn added in v0.111.1

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

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

type MockSuiPTBClient_FinishPTBAndSend_Call struct {
	*mock.Call
}

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 (*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

type MockSuiPTBClient_GetBlockById_Call struct {
	*mock.Call
}

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 (*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

type MockSuiPTBClient_GetCCIPPackageID_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCCIPPackageID_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetCCIPPackageID_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetCache_Call added in v0.111.1

type MockSuiPTBClient_GetCache_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCache_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetCache_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetCachedValue_Call added in v0.111.1

type MockSuiPTBClient_GetCachedValue_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCachedValue_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetCachedValue_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetCachedValues_Call added in v0.111.1

type MockSuiPTBClient_GetCachedValues_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCachedValues_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetCachedValues_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetCheckpointData_Call added in v0.111.1

type MockSuiPTBClient_GetCheckpointData_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCheckpointData_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetCheckpointData_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetCoinMetadata_Call added in v0.111.1

type MockSuiPTBClient_GetCoinMetadata_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCoinMetadata_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetCoinMetadata_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetCoinsByAddress_Call added in v0.111.1

type MockSuiPTBClient_GetCoinsByAddress_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetCoinsByAddress_Call) Run added in v0.111.1

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

type MockSuiPTBClient_GetLatestCheckpoint_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetLatestCheckpoint_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetLatestCheckpoint_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetLatestEpoch_Call added in v0.111.1

type MockSuiPTBClient_GetLatestEpoch_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetLatestEpoch_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetLatestEpoch_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetLatestPackageId_Call added in v0.111.1

type MockSuiPTBClient_GetLatestPackageId_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetLatestPackageId_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetLatestPackageId_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetNormalizedModule_Call added in v0.111.1

type MockSuiPTBClient_GetNormalizedModule_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetNormalizedModule_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetNormalizedModule_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetParentObjectID_Call added in v0.111.1

type MockSuiPTBClient_GetParentObjectID_Call struct {
	*mock.Call
}

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 (*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

type MockSuiPTBClient_GetReferenceGasPrice_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetReferenceGasPrice_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetReferenceGasPrice_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetSUIBalance_Call added in v0.111.1

type MockSuiPTBClient_GetSUIBalance_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetSUIBalance_Call) Run added in v0.111.1

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

type MockSuiPTBClient_GetTransactionStatus_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetTransactionStatus_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetTransactionStatus_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call added in v0.111.1

type MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) Run added in v0.111.1

func (*MockSuiPTBClient_GetValuesFromPackageOwnedObjectField_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_HashTxBytes_Call added in v0.111.1

type MockSuiPTBClient_HashTxBytes_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_HashTxBytes_Call) Run added in v0.111.1

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

type MockSuiPTBClient_LoadModulePackageIds_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_LoadModulePackageIds_Call) Run added in v0.111.1

func (*MockSuiPTBClient_LoadModulePackageIds_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_MoveCall_Call added in v0.111.1

type MockSuiPTBClient_MoveCall_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_MoveCall_Call) Run added in v0.111.1

func (*MockSuiPTBClient_MoveCall_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_QueryCoinsByAddress_Call added in v0.111.1

type MockSuiPTBClient_QueryCoinsByAddress_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_QueryCoinsByAddress_Call) Run added in v0.111.1

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

type MockSuiPTBClient_QueryEvents_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_QueryEvents_Call) Run added in v0.111.1

func (*MockSuiPTBClient_QueryEvents_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_QueryTransactions_Call added in v0.111.1

type MockSuiPTBClient_QueryTransactions_Call struct {
	*mock.Call
}

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

type MockSuiPTBClient_ReadFilterOwnedObjectIds_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_ReadFilterOwnedObjectIds_Call) Run added in v0.111.1

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

type MockSuiPTBClient_ReadFunction_Call struct {
	*mock.Call
}

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 (*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

func (_c *MockSuiPTBClient_ReadFunction_Call) RunAndReturn(run func(ctx context.Context, packageId string, module string, function string, args []any, argTypes []string, typeArgs []string) ([]any, error)) *MockSuiPTBClient_ReadFunction_Call

type MockSuiPTBClient_ReadObjectId_Call added in v0.111.1

type MockSuiPTBClient_ReadObjectId_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_ReadObjectId_Call) Run added in v0.111.1

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

type MockSuiPTBClient_ReadOwnedObjects_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_ReadOwnedObjects_Call) Run added in v0.111.1

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

type MockSuiPTBClient_SendTransaction_Call struct {
	*mock.Call
}

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

type MockSuiPTBClient_SetCachedValue_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_SetCachedValue_Call) Run added in v0.111.1

func (*MockSuiPTBClient_SetCachedValue_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_SetCachedValues_Call added in v0.111.1

type MockSuiPTBClient_SetCachedValues_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_SetCachedValues_Call) Run added in v0.111.1

func (*MockSuiPTBClient_SetCachedValues_Call) RunAndReturn added in v0.111.1

type MockSuiPTBClient_SignAndSendTransaction_Call added in v0.111.1

type MockSuiPTBClient_SignAndSendTransaction_Call struct {
	*mock.Call
}

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 (*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

type MockSuiPTBClient_SimulatePTB_Call struct {
	*mock.Call
}

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 (*MockSuiPTBClient_SimulatePTB_Call) Run added in v0.111.1

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

type MockSuiSigner struct {
	mock.Mock
}

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

func (*MockSuiSigner) Sign added in v0.111.1

func (_mock *MockSuiSigner) Sign(message []byte) ([]string, error)

Sign 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

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

type MockSuiSigner_GetAddress_Call struct {
	*mock.Call
}

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 (*MockSuiSigner_GetAddress_Call) Run added in v0.111.1

func (*MockSuiSigner_GetAddress_Call) RunAndReturn added in v0.111.1

type MockSuiSigner_Sign_Call added in v0.111.1

type MockSuiSigner_Sign_Call struct {
	*mock.Call
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL