Versions in this module Expand all Collapse all v1 v1.999.0 Nov 17, 2022 Changes in this version + const TooMuchGasProvidedMessage + func NewArgumentParser() *argumentParser + func NewScQueryServiceDispatcher(list []process.SCQueryService) (*scQueryServiceDispatcher, error) + func NewSmartContractProcessor(args ArgsNewSmartContractProcessor) (*scProcessor, error) + type ArgsNewSCQueryService struct + AllowExternalQueriesChan chan struct{} + ArwenChangeLocker common.Locker + BlockChain data.ChainHandler + BlockChainHook process.BlockChainHookHandler + Bootstrapper process.Bootstrapper + EconomicsFee process.FeeHandler + MaxGasLimitPerQuery uint64 + VmContainer process.VirtualMachinesContainer + type ArgsNewSmartContractProcessor struct + AccountsDB state.AccountsAdapter + ArgsParser process.ArgumentsParser + ArwenChangeLocker common.Locker + BadTxForwarder process.IntermediateTransactionHandler + BlockChainHook process.BlockChainHookHandler + BuiltInFunctions vmcommon.BuiltInFunctionContainer + EconomicsFee process.FeeHandler + EnableEpochs config.EnableEpochs + EpochNotifier process.EpochNotifier + GasHandler process.GasHandler + GasSchedule core.GasScheduleNotifier + Hasher hashing.Hasher + IsGenesisProcessing bool + Marshalizer marshal.Marshalizer + PubkeyConv core.PubkeyConverter + ScrForwarder process.IntermediateTransactionHandler + ShardCoordinator sharding.Coordinator + TxFeeHandler process.TransactionFeeHandler + TxLogsProcessor process.TransactionLogProcessor + TxTypeHandler process.TxTypeHandler + VMOutputCacher storage.Cacher + VmContainer process.VirtualMachinesContainer + type SCQueryService struct + func NewSCQueryService(args ArgsNewSCQueryService) (*SCQueryService, error) + func (service *SCQueryService) Close() error + func (service *SCQueryService) ComputeScCallGasLimit(tx *transaction.Transaction) (uint64, error) + func (service *SCQueryService) ExecuteQuery(query *process.SCQuery) (*vmcommon.VMOutput, error) + func (service *SCQueryService) IsInterfaceNil() bool + type TestScProcessor struct + func NewTestScProcessor(internalData *scProcessor) *TestScProcessor + func (sc TestScProcessor) DeploySmartContract(tx data.TransactionHandler, acntSnd state.UserAccountHandler) (vmcommon.ReturnCode, error) + func (sc TestScProcessor) EpochConfirmed(epoch uint32, _ uint64) + func (sc TestScProcessor) ExecuteBuiltInFunction(tx data.TransactionHandler, acntSnd, acntDst state.UserAccountHandler) (vmcommon.ReturnCode, error) + func (sc TestScProcessor) ExecuteSmartContractTransaction(tx data.TransactionHandler, acntSnd, acntDst state.UserAccountHandler) (vmcommon.ReturnCode, error) + func (sc TestScProcessor) GasScheduleChange(gasSchedule map[string]map[string]uint64) + func (sc TestScProcessor) IsInterfaceNil() bool + func (sc TestScProcessor) IsPayable(sndAddress []byte, recvAddress []byte) (bool, error) + func (sc TestScProcessor) ProcessIfError(acntSnd state.UserAccountHandler, txHash []byte, tx data.TransactionHandler, ...) error + func (sc TestScProcessor) ProcessSmartContractResult(scr *smartContractResult.SmartContractResult) (vmcommon.ReturnCode, error) + func (tsp *TestScProcessor) CleanGasRefunded() + func (tsp *TestScProcessor) GetAllSCRs() []data.TransactionHandler + func (tsp *TestScProcessor) GetCompositeTestError() error + func (tsp *TestScProcessor) GetGasRemaining() uint64