File tree
7 files changed
+45
-210
lines changed- libflat
- script
- scenarios
- src
7 files changed
+45
-210
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 | + | |
274 | 283 | | |
275 | 284 | | |
276 | 285 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
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 | 70 | | |
59 | | - | |
60 | | - | |
| 71 | + | |
| 72 | + | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| |||
71 | 83 | | |
72 | 84 | | |
73 | 85 | | |
74 | | - | |
| 86 | + | |
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
| |||
91 | 103 | | |
92 | 104 | | |
93 | 105 | | |
94 | | - | |
| 106 | + | |
95 | 107 | | |
96 | 108 | | |
97 | 109 | | |
| |||
115 | 127 | | |
116 | 128 | | |
117 | 129 | | |
118 | | - | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| |||
125 | 137 | | |
126 | 138 | | |
127 | 139 | | |
128 | | - | |
| 140 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
219 | | - | |
220 | | - | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
224 | | - | |
225 | | - | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
0 commit comments