Ledger constructor

Ledger(
  1. Djed contract,
  2. Accounts initBasecoinAccounts,
  3. Accounts initStablecoinAccounts,
  4. Accounts initReservecoinAccounts,
)

Implementation

Ledger(this.contract, this.initBasecoinAccounts, this.initStablecoinAccounts,
    this.initReservecoinAccounts) {
  _basecoinAccounts = Map.from(initBasecoinAccounts);
  _stablecoinAccounts = Map.from(initStablecoinAccounts);
  _reservecoinAccounts = Map.from(initReservecoinAccounts);
}