pub trait CheckedMetadata {
    fn balances(self) -> InitialBalances;
    fn gas_used_by_predicates(&self) -> Word;
    fn set_gas_used_by_predicates(&mut self, gas_used: Word);
}
Expand description

Methods that should be implemented by the checked metadata of supported transactions.

Required Methods§

Returns the initial balances from the checked metadata of the transaction.

Get gas used by predicates. Returns zero if the predicates haven’t been checked.

Set gas used by predicates after checking them.

Implementors§