View Source ProofOfReserves.Liability (proof_of_reserves v0.1.0)
A liability is a financial obligation that a company has to a user account. Liabilities are calculated on an account basis.
BitMEX calls the account_subkey an account_nonce, but we renamed it account_subkey since it is not in fact a nonce, and is long-lived and derived from the account's root key, email, and account_id.
Summary
Functions
new returns a new Liability
Types
@type t() :: %ProofOfReserves.Liability{ account_id: non_neg_integer(), account_subkey: binary(), amount: non_neg_integer() }
Functions
@spec new(non_neg_integer(), binary(), non_neg_integer()) :: t()
new returns a new Liability