-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed fixed per-tranche mint cap #206
Conversation
aalavandhan
commented
Apr 28, 2024
•
edited
Loading
edited
- Updated deposit tranche cap to be set based on the ratio of the deposit tranche value vs the remaining tranches
- Exposing system DR on the perp and vault contracts
- Added non-reentrant to external query methods on perp
Removed fixed per-tranche mint cap
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
46ac13e
to
b49b680
Compare
37dbbe8
to
9c7c31d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the minor comment on the math rounding. I'm good with this accounting approach 👍
6bc721e
to
0e16dbd
Compare
3aee939
to
a06805a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* bill broker * BB Internal audit fixes (#210) * internal audit fixes * code review fixes * Update spot-vaults/contracts/_interfaces/BillBrokerErrors.sol Co-authored-by: Brandon Iles <brandon@fragments.org> --------- Co-authored-by: Brandon Iles <brandon@fragments.org> --------- Co-authored-by: Brandon Iles <brandon@fragments.org>
* spot subgraph update (#207) * Removed fixed per-tranche mint cap (#206) * updated per-tranche mint cap * removed redundant constant * added dr to the spot and vault interface * added mintedSupplyPerTranche cleanup * updated rounding * updated unit test * renamed constants in rollover vault to keep consistant with perp * Bill broker (#203) * bill broker * BB Internal audit fixes (#210) * internal audit fixes * code review fixes * Update spot-vaults/contracts/_interfaces/BillBrokerErrors.sol Co-authored-by: Brandon Iles <brandon@fragments.org> --------- Co-authored-by: Brandon Iles <brandon@fragments.org> --------- Co-authored-by: Brandon Iles <brandon@fragments.org> * updated yarn lock * bumped up ci version --------- Co-authored-by: Brandon Iles <brandon@fragments.org> * ci config update * Peck audit changes (#212) * pve001 * pve002 * using msg.sender instead of _msgSender * Perp upgrade and bill-broker deployment (#213) * perp min-cap upgrade deployed to testnet * mock contracts for testnet * tasks to interact with bb * oz testnet deployment * updated yarn lock * removed todo comment * upgraded perp on mainnet * bb mainnet deployment * minor task updates * Delete spot-contracts/notes.txt deleted unused file --------- Co-authored-by: Brandon Iles <brandon@fragments.org>