Struct sputnikvm::UntrustedTransaction
[−]
[src]
pub struct UntrustedTransaction { pub caller: AccountCommitment, pub gas_price: Gas, pub gas_limit: Gas, pub action: TransactionAction, pub value: U256, pub input: Rc<Vec<u8>>, }
Represents an untrusted Ethereum transaction.
Fields
caller: AccountCommitment
The caller. Must be attached with its commitment,
gas_price: Gas
Transaction gas price.
gas_limit: Gas
Transaction gas limit.
action: TransactionAction
Action CALL/CREATE of the transaction.
value: U256
Value sent with this transaction.
input: Rc<Vec<u8>>
Transaction input.
Methods
impl UntrustedTransaction
[src]
fn to_valid<P: Patch>(&self) -> Result<ValidTransaction, PreExecutionError>
[src]
Convert to a valid transaction.
Trait Implementations
impl Debug for UntrustedTransaction
[src]
impl Clone for UntrustedTransaction
[src]
fn clone(&self) -> UntrustedTransaction
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more