Smart Contracts
Treasury Contract
The Treasury smart contract is authorized to mint the stablecoins to supply to the Blend. This ensures the availability of stablecoins within their respective lending pools. The treasury can also provide flash loans to the dedicated pegkeeper in order to ensure the stablecoin has enough liquidity.
Learn more about the Treasury contracts.
Bridge Oracle Contract
The Bridge Oracle contract is responsible for providing a price feed to the Blend lending pool. The Treasury stablecoins do not have a price feed on creation, but are pegged to fiat currency. The Bridge Oracle will get the price of this fiat currency from a third party oracle and return the right price for the stablecoin.
Learn more about the Bridge Oracle.
Pegkeeper Contract
The PegKeeper. contract is designed to liquidate, settle debts of the blend pool, and trade on an AMM using flash-loaned tokens from the Treasury.
Last updated