Critical Attributes
This page documents critical attributes stored by the contract federation
MarketPlace
markets
: maps tuples of underlying (address) and maturity (uint256) to an array of ERC5095 principal tokensPrincipals
: enum that maps fixed rate protocols to an index value. This is used in themarkets
mapping to determine which protocol should be used for a given principal token in a marketpools
: maps markets (an underlying and a maturity) to a Yield Space Pools to facilitate swaps between Illuminate principal tokens and the underlying
Lender
fees
: maps underlying token assets to the amount in fees collected by the Lender contractwithdrawals
: maps a token address to a point in time where withdrawals may occurpaused
: maps principal tokens using the same structure asmarkets
to determine if the principal token may be lent or minted
Redeemer
paused
: maps markets to whether or not they may be redeemedholdings
: maps markets to the amount of underlying has been redeemed by a given market. This is separates different markets that share an underlying based on their maturity. It is also used for partial redemptions in the event that the principal tokens for protocols within a market do not redeem 1:1
Last updated