Module sentry::db::accounting

source ·

Structs

Enums

Functions

delta_balances defines the Balances that need to be added to the spending or earnings of the Accountings. It will not override the whole Accounting value Returns a tuple of (Vec<Earners Accounting>, Vec<Spenders Accounting>)
Will update current Spender/Earner amount or insert a new Accounting record