Struct ethcore::builtin::Builtin[][src]

pub struct Builtin { /* fields omitted */ }

Pricing scheme, execution definition, and activation block for a built-in contract.

Call cost to compute cost for the given input, execute to execute the contract on the given input, and is_active to determine whether the contract is active.

Unless is_active is true,

Methods

impl Builtin
[src]

Simple forwarder for cost.

Simple forwarder for execute.

Whether the builtin is activated at the given block number.

Trait Implementations

impl From<Builtin> for Builtin
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Builtin

impl Sync for Builtin