Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAtArgumentParser ¶ added in v1.0.3
func NewAtArgumentParser() (process.ArgumentsParser, error)
NewAtArgumentParser creates a new argument parser implementation that splits arguments by @ character
func NewSmartContractProcessor ¶
func NewSmartContractProcessor( vmContainer process.VirtualMachinesContainer, argsParser process.ArgumentsParser, hasher hashing.Hasher, marshalizer marshal.Marshalizer, accountsDB state.AccountsAdapter, tempAccounts process.TemporaryAccountsHandler, adrConv state.AddressConverter, coordinator sharding.Coordinator, scrForwarder process.IntermediateTransactionHandler, txFeeHandler process.TransactionFeeHandler, economicsFee process.FeeHandler, txTypeHandler process.TxTypeHandler, gasHandler process.GasHandler, ) (*scProcessor, error)
NewSmartContractProcessor create a smart contract processor creates and interprets VM data
Types ¶
type SCQueryService ¶
type SCQueryService struct {
// contains filtered or unexported fields
}
SCQueryService can execute Get functions over SC to fetch stored values
func NewSCQueryService ¶
func NewSCQueryService( vmContainer process.VirtualMachinesContainer, gasLimitPerBlock uint64, ) (*SCQueryService, error)
NewSCQueryService returns a new instance of SCQueryService
func (*SCQueryService) ExecuteQuery ¶
ExecuteQuery returns the VMOutput resulted upon running the function on the smart contract
func (*SCQueryService) IsInterfaceNil ¶
func (service *SCQueryService) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
Click to show internal directories.
Click to hide internal directories.