SimpleLedger class

Inheritance

Constructors

SimpleLedger(Djed contract, Accounts basecoinAccounts, Accounts stablecoinAccounts, Accounts reservecoinAccounts)

Properties

basecoinAccounts Accounts
NOTE: New map should be created by Accounts.from() for losing reference from the initializer maps
no setterinherited
contract Djed
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initBasecoinAccounts Accounts
finalinherited
initReservecoinAccounts Accounts
finalinherited
initStablecoinAccounts Accounts
finalinherited
reservecoinAccounts Accounts
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stablecoinAccounts Accounts
no setterinherited
transactionsHistory List<Transaction>
final

Methods

addTransaction(Transaction tx) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited