Contracts Overview
Core Contracts
USDi
: USDi rebases positively usingUfragments
developed by Ampleforth. The contract is upgradable via governance.Vault
: each borrower posts collateral assets in their own vault. The contract is not upgradable.VaultController
: contains the core math and the functionalities of the protocol. EachVault
referencesVaultController
. The contract is upgradable via governance
Periphery Contracts
CurveMaster
:VaultController
calls this contract to calculate the borrow rate. Address is set atVaultController
.- ThreeLines0_100: called by
CurveMaster
to calculate the borrow rate.
- ThreeLines0_100: called by
OracleMaster
: called byVaultController
to get prices. Address is set atVaultController
.AnchoredViewRelay
: called byOracleMaster
to sanity-check the main oracle against the anchor oracle.ChainlinkOracleRelay
: called byAnchoredViewRelay
. GetslastestAnswer
from the Chainlink oracle. Serves as the main oracle.UniswapV3OracleRelay
: called byAnchoredViewRelay
. Calculates the TWAP from a UniV3 pair. Serves as the anchor oracle.
Governance Contracts
GovernorDelegate
: implementation governance contract.GovernorDelegator
: base governance contract that references the implementation for core logic.
Token Contracts
TokenDelegate
: implementation token contract.TokenDelegator
: base token contract that references the implementation for core logic.
📄️ Deployed Contracts
The protocol is deployed on Ethereum Mainnet.
📄️ Protocol Parameters
Governance Parameters
🗃️ Core
13 items
🗃️ Periphery
7 items
🗃️ Governance
2 items
🗃️ Token
2 items