-
Notifications
You must be signed in to change notification settings - Fork 12
Comparing changes
Open a pull request
base repository: ampleforth/spot
base: dev
head repository: ampleforth/spot
compare: main
- 17 commits
- 139 files changed
- 5 contributors
Commits on Mar 31, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e95c7ac - Browse repository at this point
Copy the full SHA e95c7acView commit details
Commits on May 8, 2025
-
* Bump coverallsapp/github-action from 2.3.0 to 2.3.3 (#228) Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.0 to 2.3.3. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](coverallsapp/github-action@v2.3.0...v2.3.3) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * updated cdr pricer (#229) * Deployed v4.1.0 implementations * Bump coverallsapp/github-action from 2.3.3 to 2.3.4 (#230) Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.3 to 2.3.4. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](coverallsapp/github-action@v2.3.3...v2.3.4) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * updated spot subgraph to keep track of vault swap volume * Vault Refactor & Meta Oracle (#224) * removed pricing strategies in favor of meta oracle * Bill broker refactor, using new meta oracle * Charm vault refactor, using new meta oracle * Updated Interfaces and Errors * updated unit tests * code review changes * Scalable usdc spot strategy (#231) Apply suggestions from code review Co-authored-by: Brandon Iles <brandon@fragments.org> review fix caching bool instead of prev deviation * billy subgraph (#234) * Deployed new oracle contract and managers (#233) * deployed new oracle and managers * updated readme * Staking subgraph (#235) * staking subgraph, refreshing store on rebase * charm wampl vault subgraph * adds timestamp to swap events subgraph (#236) * adds timestamp to swap events subgraph Signed-off-by: nms-7 <nixon.ubud@gmail.com> * linting Signed-off-by: nms-7 <nixon.ubud@gmail.com> * fixed null swap creation with 0 timestamp Signed-off-by: nms-7 <nixon.ubud@gmail.com> --------- Signed-off-by: nms-7 <nixon.ubud@gmail.com> * Bump coverallsapp/github-action from 2.3.4 to 2.3.6 (#238) Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.4 to 2.3.6. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](coverallsapp/github-action@v2.3.4...v2.3.6) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bill broker fee curve change (#237) * using fee factor instead of percentages to support -ve fees * unit tests * code review * convergent fee curve * updated charm fee yield logic (#239) * Fee curve update (#232) * fee curve update * code review fixes * Rollover fee curve update (#240) * rollover fee handles undersubscribed vault * bumped up hardhat * code review comments * DR based flash swap fees * comment updates * updated unit tests to use ethers v6, using custom mocking library * updated tasks and deps * updated perp mint fees to be paid to the vault * removed perp share of fees from flash swaps, all fees go to the vault * added configurable dr soft bounds (curve cutoff point) to flash swap fees * updated unit tests * removed rollover fees from perp * Daily Rebalance * updated unit tests * constant rate enrichment/debasement * mint2, redeem2 * added linked library to limit contract size * unit tests * melding perps immediately after rebalance * Apply suggestions from code review Suggestions Co-authored-by: Brandon Iles <brandon@fragments.org> * Update spot-contracts/contracts/FeePolicy.sol Co-authored-by: Brandon Iles <brandon@fragments.org> * code review fixes * code review fixes v2 * code review fixes v3 * code review v4 * during rebalance, vault pays perps by transferring tranches into perp's reserve * rebalance eql * configurable rebalance freq * code review v5 * Apply suggestions from code review Co-authored-by: Brandon Iles <brandon@fragments.org> * code review fixes * Code review fixes Co-authored-by: Brandon Iles <brandon@fragments.org> * bill broker single sided deposit fix (#253) * Dev Audit Changes (#252) * fee policy restructure * updated perp fee and rebalance handling, audit cleanup * updated vault fee and rebalance handling, audit cleanup * interface and lib updates * updated unit tests * code review fixes #1 * code review fixes #2 * code review fix #3 * Removed subscription ratio for a global vault:perp tvl (or system ratio) (#254) * Using a system ratio target * using system state to calculate fees * using system state for fees and removed subscription liquidity check * interface updates * unit test updates * rename * updated deps --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nms-7 <nixon.ubud@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: nms-7 <57442379+nms-7@users.noreply.github.com> Co-authored-by: Brandon Iles <brandon@fragments.org>
Configuration menu - View commit details
-
Copy full SHA for 25a4544 - Browse repository at this point
Copy the full SHA 25a4544View commit details
Commits on May 30, 2025
-
* added note about vault's perp handling * added dr eq range * pve 002 * pve-003 * n1 * n2 * Update spot-contracts/contracts/RolloverVault.sol Co-authored-by: Brandon Iles <brandon@fragments.org> --------- Co-authored-by: Brandon Iles <brandon@fragments.org>
Configuration menu - View commit details
-
Copy full SHA for 8968606 - Browse repository at this point
Copy the full SHA 8968606View commit details
Commits on Jun 2, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ece590b - Browse repository at this point
Copy the full SHA ece590bView commit details
Commits on Jun 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5b29e35 - Browse repository at this point
Copy the full SHA 5b29e35View commit details
Commits on Jun 13, 2025
-
Testnet deployment v5.0 (#256)
* upgraded bill broker testnet * updated spot and stampl on testnet
Configuration menu - View commit details
-
Copy full SHA for a5f82e6 - Browse repository at this point
Copy the full SHA a5f82e6View commit details
Commits on Jul 1, 2025
-
* mainnet deployment * bill broker update * ran yarn install * notes
Configuration menu - View commit details
-
Copy full SHA for dde1112 - Browse repository at this point
Copy the full SHA dde1112View commit details
Commits on Jul 9, 2025
-
Subgraph updates for SPOT v5 (#260)
* spot subgraph updates * updated bb subgraph * cleaned up spot subgraph * ran linter
Configuration menu - View commit details
-
Copy full SHA for aab4d8d - Browse repository at this point
Copy the full SHA aab4d8dView commit details
Commits on Jul 11, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b91b91d - Browse repository at this point
Copy the full SHA b91b91dView commit details
Commits on Jul 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 634e00a - Browse repository at this point
Copy the full SHA 634e00aView commit details
Commits on Aug 18, 2025
-
Bump actions/checkout from 4 to 5 (#262)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1415531 - Browse repository at this point
Copy the full SHA 1415531View commit details
Commits on Feb 4, 2026
-
DRBalancerVault contract for system DR rebalancing (#269)
* Implement a vault that holds underlying (AMPL) and perp (SPOT) tokens and auto-rebalances to maintain the system's target deviation ratio via IRolloverVault swaps. Key features: - Deposit underlying tokens and mint vault notes (LP tokens) - Redeem notes for proportional underlying + perp tokens - Auto-rebalance when system DR is outside equilibrium zone: DR < 1 (perpTVL too high): redeem perps to decrease perpTVL DR > 1 (perpTVL too low): mint perps to increase perpTVL - Rebalance formula: requiredChange = perpTVL × |dr - targetDR| (rolloverVaultTVL unchanged during flash mint/redeem) - Liquidity limits based on swap direction: underlying->perp: limited by underlying balance perp->underlying: limited by perp value held - Separate lag factors and percentage limits for each direction - Slippage protection with configurable max swap fee percentage - Keeper-controlled pause functionality. * Update DRBalancerVault deposit/redeem to accept both tokens with slippage protection - Update deposit() to accept both underlying and perp tokens with signature: deposit(underlyingAmtMax, perpAmtMax, minNotesMinted) - Update redeem() to include slippage protection with signature: redeem(notesAmt, minUnderlyingAmtOut, minPerpAmtOut) - Update computeMintAmt() to return (notesMinted, underlyingAmtIn, perpAmtIn) - First deposit accepts any ratio; subsequent deposits enforce vault ratio - Update Deposited event to include perpAmtIn - Fix lag factor comments (swapped DR conditions) - Add InvalidLagFactor validation to prevent division by zero - Update contract docstring to reflect dual-token deposits Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * renamed events * added dr eq range back * allowing empty equilibriumDR --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>Configuration menu - View commit details
-
Copy full SHA for 15bed7b - Browse repository at this point
Copy the full SHA 15bed7bView commit details
Commits on Feb 6, 2026
-
Bump actions/setup-node from 4 to 6 (#264)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v6) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8cb8f1b - Browse repository at this point
Copy the full SHA 8cb8f1bView commit details -
Bump coverallsapp/github-action from 2.3.6 to 2.3.7 (#267)
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.6 to 2.3.7. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](coverallsapp/github-action@v2.3.6...v2.3.7) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-version: 2.3.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3730e07 - Browse repository at this point
Copy the full SHA 3730e07View commit details -
Bump actions/checkout from 5 to 6 (#268)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 01a9898 - Browse repository at this point
Copy the full SHA 01a9898View commit details -
updates spot subgraph deployment steps - goldsky (#266)
* Updates README.md * Update deploy.sh * Update README.md
Configuration menu - View commit details
-
Copy full SHA for d2021ce - Browse repository at this point
Copy the full SHA d2021ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ffdcfa - Browse repository at this point
Copy the full SHA 8ffdcfaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff dev...main