Trait language_e2e_tests::account_universe::AUTransactionGen[][src]

pub trait AUTransactionGen: Debug {
    fn apply(
        &self,
        universe: &mut AccountUniverse
    ) -> (SignedTransaction, (TransactionStatus, u64)); fn arced(self) -> Arc<dyn AUTransactionGen>
    where
        Self: 'static + Sized
, { ... } }
Expand description

Represents any sort of transaction that can be done in an account universe.

Required methods

Applies this transaction onto the universe, updating balances within the universe as necessary. Returns a signed transaction that can be run on the VM and the expected values: the transaction status and the gas used.

Provided methods

Creates an arced version of this transaction, suitable for dynamic dispatch.

Implementations on Foreign Types

Implementors