pub struct ActionParams {Show 15 fields
    pub space: Space,
    pub code_address: Address,
    pub code_hash: H256,
    pub address: Address,
    pub sender: Address,
    pub original_sender: Address,
    pub storage_owner: Address,
    pub gas: U256,
    pub gas_price: U256,
    pub value: ActionValue,
    pub code: Option<Arc<Bytes>>,
    pub data: Option<Bytes>,
    pub call_type: CallType,
    pub create_type: CreateType,
    pub params_type: ParamsType,
}Expand description
Action (call/create) input params. Everything else should be specified in Externalities.
Fields§
§space: SpaceSpace
code_address: AddressAddress of currently executed code.
code_hash: H256Hash of currently executed code.
address: AddressReceive address. Usually equal to code_address, except when called using CALLCODE.
sender: AddressSender of current part of the transaction.
original_sender: AddressThis is the address of original sender of the transaction.
storage_owner: AddressThis is the address of account who will pay collateral for storage in the whole execution.
gas: U256Gas paid up front for transaction execution
gas_price: U256Gas price.
value: ActionValueTransaction value.
code: Option<Arc<Bytes>>Code being executed.
data: Option<Bytes>Input data.
call_type: CallTypeType of call
create_type: CreateTypeType of create
params_type: ParamsTypeParam types encoding
Trait Implementations§
Source§impl Clone for ActionParams
 
impl Clone for ActionParams
Source§fn clone(&self) -> ActionParams
 
fn clone(&self) -> ActionParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreAuto Trait Implementations§
impl Freeze for ActionParams
impl RefUnwindSafe for ActionParams
impl Send for ActionParams
impl Sync for ActionParams
impl Unpin for ActionParams
impl UnwindSafe for ActionParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more