ElektroLedgerCommon.sol

View Source: contracts/elektro/ledger/ElektroLedgerCommon.sol

↗ Extends: ElektroStorage, ElektroMultiplierAware ↘ Derived Contracts: ElektroLedgerUpdate

ElektroLedgerCommon

Some base functionality separated into a separate contract inherited by {ElektroLedgerUpdate}. Can be used to add common fuinctionality in the case of multiple implementation Ledger contracts.

Contract Members

Constants & Variables

bytes32 internal constant UTILITY_ACCOUNT_ROLE_NAME;

Functions

  • getCurrencyPair()

getCurrencyPair

Getter for a {CurrencyPair} struct. Returns addresses for the asset pair and their respective multipliers needed to normalize token amounts - from precision denominated values to actual token decimals denominated values.

function getCurrencyPair() internal view
returns(currencyPair struct ElektroStorage.CurrencyPair)

Arguments

Last updated