Struct ethcore::action_params::ActionParams
[−]
[src]
pub struct ActionParams { pub code_address: Address, pub code_hash: H256, pub address: Address, pub sender: Address, pub origin: Address, pub gas: U256, pub gas_price: U256, pub value: ActionValue, pub code: Option<Arc<Bytes>>, pub data: Option<Bytes>, pub call_type: CallType, }
Action (call/create) input params. Everything else should be specified in Externalities.
Fields
code_address: Address
Address of currently executed code.
code_hash: H256
Hash of currently executed code.
address: Address
Receive address. Usually equal to code_address, except when called using CALLCODE.
sender: Address
Sender of current part of the transaction.
origin: Address
Transaction initiator.
gas: U256
Gas paid up front for transaction execution
gas_price: U256
Gas price.
value: ActionValue
Transaction value.
code: Option<Arc<Bytes>>
Code being executed.
data: Option<Bytes>
Input data.
call_type: CallType
Type of call
Trait Implementations
impl Clone for ActionParams
[src]
fn clone(&self) -> ActionParams
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ActionParams
[src]
impl Default for ActionParams
[src]
fn default() -> ActionParams
Returns default ActionParams initialized with zeros
impl From<Transaction> for ActionParams
[src]
fn from(t: Transaction) -> Self
Performs the conversion.