Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadOnlySCContainer ¶
func NewReadOnlySCContainer(scContainer vm.SystemSCContainer) (*readOnlySCContainer, error)
NewReadOnlySCContainer returns a new instance of readOnlySCContainer
func NewSystemSCContainer ¶
func NewSystemSCContainer() *systemSCContainer
NewSystemSCContainer will create a new instance of a container
func NewSystemSCFactory ¶
func NewSystemSCFactory(args ArgsNewSystemSCFactory) (*systemSCFactory, error)
NewSystemSCFactory creates a factory which will instantiate the system smart contracts
Types ¶
type ArgsNewSystemSCFactory ¶
type ArgsNewSystemSCFactory struct { SystemEI vm.ContextHandler Economics vm.EconomicsHandler NodesConfigProvider vm.NodesConfigProvider SigVerifier vm.MessageSignVerifier GasSchedule core.GasScheduleNotifier Marshalizer marshal.Marshalizer Hasher hashing.Hasher SystemSCConfig *config.SystemSmartContractsConfig AddressPubKeyConverter core.PubkeyConverter ShardCoordinator sharding.Coordinator EnableEpochsHandler common.EnableEpochsHandler }
ArgsNewSystemSCFactory defines the arguments struct needed to create the system SCs
Click to show internal directories.
Click to hide internal directories.