Versions in this module Expand all Collapse all v0 v0.0.1 Sep 3, 2024 Changes in this version + var AsyncChildData = " there" + var AsyncChildFunction = "transferToThirdParty" + func CallBackMultiChildMock(instanceMock *mock.InstanceMock, config interface{}) + func CallBackMultiContractParentMock(instanceMock *mock.InstanceMock, config interface{}) + func CallBackParentBuiltinMock(instanceMock *mock.InstanceMock, config interface{}) + func CallBackParentMock(instanceMock *mock.InstanceMock, config interface{}) + func CallBackRecursiveChildMock(instanceMock *mock.InstanceMock, config interface{}) + func CallBackRecursiveParentMock(instanceMock *mock.InstanceMock, config interface{}) + func DCDTTransferToParentCallbackWillFail(instanceMock *mock.InstanceMock, config interface{}) + func DCDTTransferToParentMock(instanceMock *mock.InstanceMock, config interface{}) + func DCDTTransferToParentWrongDCDTArgsNumberMock(instanceMock *mock.InstanceMock, config interface{}) + func ExecDCDTTransferAndAsyncCallChild(instanceMock *mock.InstanceMock, config interface{}) + func ExecDCDTTransferAndCallChild(instanceMock *mock.InstanceMock, config interface{}) + func ExecDCDTTransferWithAPICall(instanceMock *mock.InstanceMock, config interface{}) + func ExecOnDestCtxParentMock(instanceMock *mock.InstanceMock, config interface{}) + func ExecOnDestCtxSingleCallParentMock(instanceMock *mock.InstanceMock, config interface{}) + func ExecOnSameCtxParentMock(instanceMock *mock.InstanceMock, config interface{}) + func ExecuteOnDestContextInMockContracts(host vmhost.VMHost, input *vmcommon.ContractCallInput) int32 + func ExecuteOnSameContextInMockContracts(host vmhost.VMHost, input *vmcommon.ContractCallInput) int32 + func FailChildAndBurnDCDTMock(instanceMock *mock.InstanceMock, config interface{}) + func FailChildMock(instanceMock *mock.InstanceMock, config interface{}) + func ForwardAsyncCallMultiChildMock(instanceMock *mock.InstanceMock, config interface{}) + func ForwardAsyncCallMultiContractParentMock(instanceMock *mock.InstanceMock, config interface{}) + func ForwardAsyncCallParentBuiltinMock(instanceMock *mock.InstanceMock, config interface{}) + func ForwardAsyncCallRecursiveParentMock(instanceMock *mock.InstanceMock, config interface{}) + func PerformAsyncCallParentMock(instanceMock *mock.InstanceMock, config interface{}) + func RecursiveAsyncCallRecursiveChildMock(instanceMock *mock.InstanceMock, config interface{}) + func SimpleCallbackMock(instanceMock *mock.InstanceMock, config interface{}) + func TransferToThirdPartyAsyncChildMock(instanceMock *mock.InstanceMock, config interface{}) + func WasteGasChildMock(instanceMock *mock.InstanceMock, config interface{}) + func WasteGasParentMock(instanceMock *mock.InstanceMock, config interface{}) + type AsyncBuiltInCallTestConfig struct + TransferFromChildToParent int64 + type AsyncCallBaseTestConfig struct + ChildBalance int64 + GasLockCost uint64 + GasProvided uint64 + GasUsedByCallback uint64 + GasUsedByChild uint64 + GasUsedByParent uint64 + ParentBalance int64 + TransferFromParentToChild int64 + type AsyncCallMultiChildTestConfig struct + ChildCalls int + type AsyncCallRecursiveTestConfig struct + RecursiveChildCalls int + type AsyncCallTestConfig struct + CallbackDCDTTokensToTransfer uint64 + DCDTTokensToTransfer uint64 + TransferToThirdParty int64 + TransferToVault int64 + func (config AsyncCallTestConfig) GetGasUsedByChild() uint64 + type DirectCallGasTestConfig struct + ChildBalance int64 + DCDTTokensToTransfer uint64 + GasProvided uint64 + GasProvidedToChild uint64 + GasUsedByChild uint64 + GasUsedByParent uint64 + ParentBalance int64 + func (config DirectCallGasTestConfig) GetGasUsedByChild() uint64 + type GasTestConfig interface + GetGasUsedByChild func() uint64