File tree
7 files changed
+58
-224
lines changed- libflat
- script
- scenarios
- src
7 files changed
+58
-224
lines changedThis file was deleted.
Submodule euler-swap updated 59 files
- .github/workflows/test.yml+1-1
- .gitignore+1
- README.md+26-19
- TODO+32
- audits/report-cantinacode-euler-0901.pdf
- docs/developer-guide.md+169
- docs/new-in-eulerswap2.md+15
- remappings.txt+2-1
- script/DeployPool.s.sol-82
- script/DeployProtocol.s.sol+5-1
- script/README.md+13-9
- script/json/DeployPool_input.json+3-6
- script/json/UninstallPool_input.json+3
- src/EulerSwap.sol+176-69
- src/EulerSwapFactory.sol+24-159
- src/EulerSwapPeriphery.sol+6-2
- src/EulerSwapRegistry.sol+348
- src/Events.sol-23
- src/UniswapHook.sol+54-71
- src/interfaces/IEulerSwap.sol+49-20
- src/interfaces/IEulerSwapFactory.sol+17-60
- src/interfaces/IEulerSwapHookTarget.sol+27
- src/interfaces/IEulerSwapPeriphery.sol+7-2
- src/interfaces/IEulerSwapRegistry.sol+109
- src/interfaces/IPerspective.sol+13
- src/libraries/CtxLib.sol+46-10
- src/libraries/CurveLib.sol+117-73
- src/libraries/FundsLib.sol+32-38
- src/libraries/QuoteLib.sol+134-47
- src/libraries/SwapLib.sol+222
- src/math/Clz.sol+39
- src/math/FastLogic.sol+22
- src/math/FullMath.sol+253
- src/math/Panic.sol+24
- src/math/Sqrt.sol+70
- src/math/UnsafeMath.sol+156
- src/utils/MetaProxyDeployer.sol+1-2
- src/utils/ProtocolFee.sol+2-2
- test/AccountLiquidity.t.sol+125
- test/Basic.t.sol+6-5
- test/Challenge.t.sol+220
- test/Ctx.t.sol+15-8
- test/CurveLib.t.sol+17-16
- test/Custodian.t.sol+102
- test/EulerSwapCall.t.sol+29-6
- test/EulerSwapHooks.t.sol+431
- test/EulerSwapTestBase.t.sol+132-71
- test/Events.t.sol+12-6
- test/Expiration.t.sol+68
- test/FactoryTest.t.sol+181-78
- test/Fees.t.sol+44-5
- test/HookFees.t.sol+27-12
- test/HookSwaps.t.sol+7-1
- test/Limits.t.sol+136-35
- test/PreserveNav.t.sol+4-4
- test/Reconfigure.t.sol+101
- test/SplitVaults.t.sol+174
- test/utils/CurveExtrasLib.sol+8-8
- test/utils/PerspectiveMock.sol+19
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
| 128 | + | |
126 | 129 | | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
| 275 | + | |
271 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
272 | 280 | | |
273 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
274 | 284 | | |
275 | 285 | | |
276 | 286 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
| 56 | + | |
| 57 | + | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
51 | 61 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
55 | 67 | | |
56 | 68 | | |
57 | 69 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 75 | + | |
| 76 | + | |
71 | 77 | | |
72 | | - | |
| 78 | + | |
73 | 79 | | |
74 | | - | |
| 80 | + | |
75 | 81 | | |
76 | | - | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
81 | | - | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
94 | | - | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
101 | | - | |
| 107 | + | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| |||
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
116 | | - | |
| 122 | + | |
117 | 123 | | |
118 | | - | |
| 124 | + | |
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| |||
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
128 | | - | |
| 134 | + | |
0 commit comments