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§
sourcefn account_for_actions(self) -> AddressDeltas
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