-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(AMM)!: remove the AMM and cleanup bootstrap etc. dependencies
The most visible consequence is to vault liquidation. Some pieces are left hanging, and will be repaired by #7047.
1 parent
4f17b91
commit afd8d53
Showing
80 changed files
with
153 additions
and
9,684 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import './src/stakeFactory/types.js'; | ||
import './src/psm/types.js'; | ||
import './src/vaultFactory/types.js'; | ||
import './src/vpool-xyk-amm/types.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 0 additions & 89 deletions
89
packages/inter-protocol/src/vpool-xyk-amm/AttackersGuide.md
This file was deleted.
Oops, something went wrong.
221 changes: 0 additions & 221 deletions
221
packages/inter-protocol/src/vpool-xyk-amm/addLiquidity.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-2.33 MB
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/AMM-Trade.jpeg
Binary file not shown.
204 changes: 0 additions & 204 deletions
204
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/README.md
This file was deleted.
Oops, something went wrong.
93 changes: 0 additions & 93 deletions
93
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/calcFees.js
This file was deleted.
Oops, something went wrong.
83 changes: 0 additions & 83 deletions
83
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/calcSwapPrices.js
This file was deleted.
Oops, something went wrong.
145 changes: 0 additions & 145 deletions
145
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/core.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/defaults.js
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/getXY.js
This file was deleted.
Oops, something went wrong.
114 changes: 0 additions & 114 deletions
114
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/internal-types.js
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
packages/inter-protocol/src/vpool-xyk-amm/constantProduct/invariants.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.