redacted-cartel / pirex-convex Goto Github PK
View Code? Open in Web Editor NEWSmart contracts for Pirex Convex
Home Page: https://pirex.io/vaults
License: MIT License
Smart contracts for Pirex Convex
Home Page: https://pirex.io/vaults
License: MIT License
List of detectors to add (will update as we find more)
Tokenize staking emissions and extra incentives from Convex and enable users to claim.
Create a 1 year simulation of Pirex growth and usage
Dedupe and add missing test cases.
Examples
to
-> receiver
amount
-> assets
https://github.com/Rari-Capital/solmate/blob/main/src/mixins/ERC4626.sol
Functionality which would allow us to safely handle emergency situations
address public pirexCvxMigration
which can only be set when protocol is paused (i.e. emergencies)pirexCvxMigration
outstandingRedemptions
(we will allow users who initiated a redemption to withdraw their CVX from the old contract)PirexCvx
contracts and ERC20Snapshot
contractupCvx
) from PirexCvx
Stake unlocked CVX and unstake on redemptions.
One of the causes is that we're not checking if values derived from calculations with rounding down operations are non-zero.
Enable users to add liquidity and swap lockedCVX and voteCVX for another token (ETH may be most convenient for users).
As a result of separating our token from the PirexCvx contract, there are instances where the CEI pattern is not adhered to
Expanding upon our existing UnionPirexVault.sol
with the logic from Union's GenericVault. Also, currently exploring whether Fei Flywheel would be a better alternative to the existing staking strategy.
Similar to how Convex has penalties for not relocking/unlocking vlCVX after the lock expires.
Add contract ABIs and the relevant contract methods to the frontend app.
NOTE: @kphed will notify @justingreenberg and @stevenmichaelthomas after contracts are ready.
Fees
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.