[−][src]Trait evm_runtime::Handler
Associated Types
Loading content...Required methods
fn balance(&self, address: H160) -> U256
fn code_size(&self, address: H160) -> U256
fn code_hash(&self, address: H160) -> H256
fn code(&self, address: H160) -> Vec<u8>
fn storage(&self, address: H160, index: H256) -> H256
fn original_storage(&self, address: H160, index: H256) -> H256
fn gas_left(&self) -> U256
fn gas_price(&self) -> U256
fn origin(&self) -> H160
fn block_hash(&self, number: U256) -> H256
fn block_number(&self) -> U256
fn block_coinbase(&self) -> H160
fn block_timestamp(&self) -> U256
fn block_difficulty(&self) -> U256
fn block_gas_limit(&self) -> U256
fn chain_id(&self) -> U256
fn exists(&self, address: H160) -> bool
fn deleted(&self, address: H160) -> bool
fn set_storage(
&mut self,
address: H160,
index: H256,
value: H256
) -> Result<(), ExitError>
&mut self,
address: H160,
index: H256,
value: H256
) -> Result<(), ExitError>
fn log(
&mut self,
address: H160,
topcis: Vec<H256>,
data: Vec<u8>
) -> Result<(), ExitError>
&mut self,
address: H160,
topcis: Vec<H256>,
data: Vec<u8>
) -> Result<(), ExitError>
fn mark_delete(&mut self, address: H160, target: H160) -> Result<(), ExitError>
fn create(
&mut self,
caller: H160,
scheme: CreateScheme,
value: U256,
init_code: Vec<u8>,
target_gas: Option<usize>
) -> Capture<(ExitReason, Option<H160>, Vec<u8>), Self::CreateInterrupt>
&mut self,
caller: H160,
scheme: CreateScheme,
value: U256,
init_code: Vec<u8>,
target_gas: Option<usize>
) -> Capture<(ExitReason, Option<H160>, Vec<u8>), Self::CreateInterrupt>
fn call(
&mut self,
code_address: H160,
transfer: Option<Transfer>,
input: Vec<u8>,
target_gas: Option<usize>,
is_static: bool,
context: Context
) -> Capture<(ExitReason, Vec<u8>), Self::CallInterrupt>
&mut self,
code_address: H160,
transfer: Option<Transfer>,
input: Vec<u8>,
target_gas: Option<usize>,
is_static: bool,
context: Context
) -> Capture<(ExitReason, Vec<u8>), Self::CallInterrupt>
fn pre_validate(
&mut self,
context: &Context,
opcode: Result<Opcode, ExternalOpcode>,
stack: &Stack
) -> Result<(), ExitError>
&mut self,
context: &Context,
opcode: Result<Opcode, ExternalOpcode>,
stack: &Stack
) -> Result<(), ExitError>
Provided methods
fn create_feedback(
&mut self,
_feedback: Self::CreateFeedback
) -> Result<(), ExitError>
&mut self,
_feedback: Self::CreateFeedback
) -> Result<(), ExitError>
fn call_feedback(
&mut self,
_feedback: Self::CallFeedback
) -> Result<(), ExitError>
&mut self,
_feedback: Self::CallFeedback
) -> Result<(), ExitError>