package
1.5.37
Repository: https://github.com/multiversx/mx-chain-vm-go.git
Documentation: pkg.go.dev

# Functions

BackTransfer_ChildCallback is an exposed mock contract method.
BackTransfer_ChildMakesAsync is an exposed mock contract method.
BackTransfer_ParentCallsChild is an exposed mock contract method.
CallbackMockMethodThatCouldFail -.
CallBackMultiChildMock is an exposed mock contract method.
CallBackMultiContractParentMock is an exposed mock contract method.
CallBackMultiGroupsMock is an exposed mock contract method.
CallBackParentBuiltinMock is an exposed mock contract method.
CallBackParentMock is an exposed mock contract method.
CallBackRecursiveChildMock is an exposed mock contract method.
CallBackRecursiveParentMock is an exposed mock contract method.
CallbackWithOnSameContext is an exposed mock contract method.
ChildAsyncMultiGroupsMock is an exposed mock contract method.
ChildSetStorageMock is an exposed mock contract method.
DeployContractFromSourceMock -.
ESDTTransferToParentAndNewAsyncFromCallbackMock is an exposed mock contract method.
ESDTTransferToParentCallbackWillFail is an exposed mock contract method.
ESDTTransferToParentMock is an exposed mock contract method.
No description provided by the author
ESDTTransferToParentWrongESDTArgsNumberMock is an exposed mock contract method.
ExecESDTTransferAndAsyncCallChild is an exposed mock contract method.
ExecESDTTransferAndCallChild is an exposed mock contract method.
ExecESDTTransferWithAPICall is an exposed mock contract method.
ExecOnDestCtxParentMock is an exposed mock contract method.
ExecOnDestCtxSingleCallParentMock is an exposed mock contract method.
ExecOnSameCtxParentMock is an exposed mock contract method.
ExecutedOnSameContextByCallback is an exposed mock contract method.
ExecuteOnDestContextInMockContracts - calls the corresponding method in VM hooks.
ExecuteOnSameContextInMockContracts - calls the corresponding method in VM hooks.
FailChildAndBurnESDTMock is an exposed mock contract method.
FailChildMock is an exposed mock contract method.
ForwardAsyncCallMultiChildMock is an exposed mock contract method.
ForwardAsyncCallMultiContractParentMock is an exposed mock contract method.
ForwardAsyncCallMultiGroupsMock is an exposed mock contract method.
ForwardAsyncCallParentBuiltinMock is an exposed mock contract method.
ForwardAsyncCallRecursiveParentMock is an exposed mock contract method.
GasMismatchAsyncCallChildMock is an exposed mock contract method.
GasMismatchAsyncCallParentMock is an exposed mock contract method.
GasMismatchCallBackParentMock is an exposed mock contract method.
GetChildAddressForTransfer -.
InitFunctionMock is the exposed init function.
InitMockMethod -.
LoadStore is an exposed mock contract method.
LoadStoreFromAddress is an exposed mock contract method.
LocalCallAnotherContract is an exposed mock contract method.
ParentSetStorageMock is an exposed mock contract method.
PerformAsyncCallParentMock is an exposed mock contract method.
RecursiveAsyncCallRecursiveChildMock is an exposed mock contract method.
RegisterAsyncCallToChild is resued also in some tests before async context serialization.
ReportOriginalCaller is an exposed mock contract method.
SetStore is an exposed mock contract method.
SimpleCallbackMock is an exposed mock contract method.
SimpleChildSetStorageMock is an exposed mock contract method.
TransferAndExecute is an exposed mock contract method.
No description provided by the author
TransferToAsyncParentOnCallbackChildMock -.
TransferToThirdPartyAsyncChildMock is an exposed mock contract method.
UpdateContractFromSourceMock -.
InitFunctionMock is the exposed upgrade function.
UpgradeMockMethod -.
WasteGasChildMock is an exposed mock contract method.
WasteGasParentMock is an exposed mock contract method.

# Variables

test variables.
test variables.
AsyncGroupsConfig defines the groups and async calls generated by the mock smart contract method below.
test variables.
test variables.
test variables.
test variables.
test variables.
TransferAndExecuteFuncName -.
TransferAndExecuteReturnData -.

# Structs

AsyncBuiltInCallTestConfig is configuration for async call tests of builtin functions.
AsyncCallBaseTestConfig is base configuration for async call tests.
AsyncCallMultiChildTestConfig is configuration for recursivemultiple children async call tests.
AsyncCallRecursiveTestConfig is configuration for recursive async call tests.
AsyncCallTestConfig is configuration for async call tests.
DirectCallGasTestConfig is configuration for direct call tests.
TransferAndExecuteTestConfig is configuration for transfer and execute tests.

# Interfaces

CallbackTestConfig -.
GasTestConfig interface for gas tests configs.