TTGRegistrarReader
Author: M^0 Labs
State Variables
EARNER_RATE_MODEL
The name of parameter in TTG that defines the earner rate model contract.
EARNERS_LIST
The parameter name in TTG that defines the earners list.
EARNERS_LIST_IGNORED
The parameter name in TTG that defines whether to ignore the earners list or not.
MINT_DELAY
The parameter name in TTG that defines the time to wait for mint request to be processed.
MINT_RATIO
The parameter name in TTG that defines the mint ratio.
MINT_TTL
The parameter name in TTG that defines the time while mint request can still be processed.
MINTER_FREEZE_TIME
The parameter name in TTG that defines the time to freeze minter.
MINTER_RATE_MODEL
The parameter name in TTG that defines the minter rate model contract.
MINTERS_LIST
The parameter name in TTG that defines the minters list.
PENALTY_RATE
The parameter name in TTG that defines the penalty rate.
UPDATE_COLLATERAL_INTERVAL
The parameter name in TTG that defines the required interval to update collateral.
UPDATE_COLLATERAL_VALIDATOR_THRESHOLD
The parameter name that defines number of signatures required for successful collateral update.
VALIDATORS_LIST
The parameter name in TTG that defines the validators list.
Functions
getEarnerRateModel
Gets the earner rate model contract address.
getMintDelay
Gets the mint delay.
getMinterFreezeTime
Gets the minter freeze time.
getMinterRateModel
Gets the minter rate model contract address.
getMintTTL
Gets the mint TTL.
getMintRatio
Gets the mint ratio.
getUpdateCollateralInterval
Gets the update collateral interval.
getUpdateCollateralValidatorThreshold
Gets the update collateral validator threshold.
isApprovedEarner
Checks if the given earner is approved.
isEarnersListIgnored
Checks if the earners_list_ignored
exists.
isApprovedMinter
Checks if the given minter is approved.
isApprovedValidator
Checks if the given validator is approved.
getPenaltyRate
Gets the penalty rate.
getVault
Gets the vault contract address.
toAddress
Converts given bytes32 to address.
_contains
Checks if the given list contains the given account.
_get
Gets the value of the given key.