pub trait ActionAccounting {
    // Required method
    fn account_for_actions(self) -> AddressDeltas;
}
Expand description

For a given Vector of actions, will go through and apply the token deltas, de-duping them as it is doing the calculations

Required Methods§

source

fn account_for_actions(self) -> AddressDeltas

for a given list of actions, this will dedup the actions and then apply the token deltas for it

Implementors§

source§

impl<IT: Iterator<Item = Action>> ActionAccounting for IT