Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Precompiled ¶
type Precompiled struct {
// contains filtered or unexported fields
}
Precompiled is the runtime for the precompiled contracts
func NewPrecompiled ¶
func NewPrecompiled() *Precompiled
NewPrecompiled creates a new runtime for the precompiled contracts
func (*Precompiled) CanRun ¶
func (p *Precompiled) CanRun(c *runtime.Contract, host runtime.Host, config *chain.ForksInTime) bool
CanRun implements the runtime interface
func (*Precompiled) Name ¶
func (p *Precompiled) Name() string
Name implements the runtime interface
Click to show internal directories.
Click to hide internal directories.