Module - Plutus plvGLP
Dolomite Margin's modules repository contains contracts that sit atop Dolomite Margin
Last updated
Dolomite Margin's modules repository contains contracts that sit atop Dolomite Margin
Last updated
A whitelist for enabling Dolomite's plvGLP unwrapper/wrapper to mint/redeem plvGLP
A whitelist for enabling Dolomite's plvGLP vaults to stake/unstake plvGLP
A proxy address for reading the PlutusVaultRegistry implementation
A registry that contains all of the PlutusVault-related addresses. Used for offering Dolomite's smart contracts a uniform entry point for reading ecosystem smart contracts
Implementation contract for each user's proxy contract vault. It stores the users plvGLP tokens and interacts with the PlutusDAO ecosystem (including staking)
Same as V2 but adds ⚡️ Zap
Same as V3 but smooths out some minor UX hiccups for ⚡Zap
The wrapper around the plvGLP token that is used to create user vault and manage the entry points that a user has with DolomiteMargin from their vault
An implementation of the IDolomitePriceOracle interface that makes plvGLP's price compatible with DolomiteMargin. The GLP price it calculates understates the price by using the highest bid ofr GLP and factors in any withdrawal fees. It then calculates the exchange rate from plvGLP to GLP and understates the exchange rate by the withdrawal fee charged by PlutusDAO to exit plvGLP.
Used for burning plvGLP into USDC. Upon settlement, the burned plvGLP is sent from the user's vault and dplvGLP is burned from DolomiteMargin.
Used for burning plvGLP into USDC. Upon settlement, the burned plvGLP is sent from the user's vault and dplvGLP is burned from DolomiteMargin
.
Used for minting plvGLP from any whitelisted token allowable in GLP. Upon settlement, the minted plvGLP is sent to the user's vault and dplvGLP is minted to DolomiteMargin.
Used for minting plvGLP from any whitelisted token allowable in GLP. Upon settlement, the minted plvGLP is sent to the user's vault and dplvGLP is minted to DolomiteMargin
.
(implementation)
(implementation)
(implementation)
Same as V1, but adds the feature, in case Plutus' ecosystem is paused.
(implementation)
(implementation)
The same as PlvGLPPriceOracle but uses to cache the exchange rate using a heart beat / deviation model