-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ out | |
lib/ | ||
cache/ | ||
*.sol | ||
dist/ | ||
dist/ | ||
snapshots/ |
+193 −0 | CONTRIBUTING.md | |
+17 −1 | README.md | |
+1 −1 | package.json | |
+12 −1 | scripts/vm.py | |
+14 −1 | src/StdChains.sol | |
+3 −3 | src/StdCheats.sol | |
+18 −3 | src/StdInvariant.sol | |
+104 −0 | src/StdJson.sol | |
+1 −1 | src/StdStorage.sol | |
+104 −0 | src/StdToml.sol | |
+410 −80 | src/Vm.sol | |
+635 −608 | src/console.sol | |
+1 −1,555 | src/console2.sol | |
+2 −2 | src/interfaces/IERC4626.sol | |
+1 −5 | src/mocks/MockERC721.sol | |
+693 −4 | src/safeconsole.sol | |
+1 −1 | test/StdAssertions.t.sol | |
+19 −12 | test/StdChains.t.sol | |
+10 −10 | test/StdCheats.t.sol | |
+12 −12 | test/StdError.t.sol | |
+1 −1 | test/StdJson.t.sol | |
+4 −14 | test/StdMath.t.sol | |
+13 −5 | test/StdStorage.t.sol | |
+1 −1 | test/StdStyle.t.sol | |
+1 −1 | test/StdToml.t.sol | |
+12 −12 | test/StdUtils.t.sol | |
+9 −6 | test/Vm.t.sol |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
@ensdomains/=node_modules/@ensdomains/ | ||
@openzeppelin/=lib/openzeppelin-contracts/ | ||
ds-test/=lib/forge-std/lib/ds-test/src/ | ||
forge-gas-snapshot/=lib/forge-gas-snapshot/src/ | ||
forge-std/=lib/forge-std/src/ | ||
hardhat/=node_modules/hardhat/ | ||
solmate/=lib/solmate/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"clear": "1717" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"addLiquidity CA fee": "170695", | ||
"removeLiquidity CA fee": "141199", | ||
"swap CA custom curve + swap noop": "124402", | ||
"swap CA fee on unspecified": "154572" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ERC6909Claims approve": "46323", | ||
"ERC6909Claims burn": "29389", | ||
"ERC6909Claims mint": "46603", | ||
"ERC6909Claims transfer": "51756", | ||
"ERC6909Claims transferFrom as operator": "54437", | ||
"ERC6909Claims transferFrom with approval": "59939", | ||
"ERC6909Claims transferFrom with infinite approval": "56770" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"sparse external sload": "2164" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"add liquidity to already existing position with salt": "144401", | ||
"create new liquidity to a position with salt": "292593" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"initialize": "51532" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"addLiquidity with empty hook": "274012", | ||
"addLiquidity with native token": "135001", | ||
"donate gas with 1 token": "106214", | ||
"donate gas with 2 tokens": "145510", | ||
"erc20 collect protocol fees": "57500", | ||
"native collect protocol fees": "59643", | ||
"poolManager bytecode size": "24050", | ||
"removeLiquidity with empty hook": "130613", | ||
"removeLiquidity with native token": "112523", | ||
"simple addLiquidity": "161276", | ||
"simple addLiquidity second addition same range": "98731", | ||
"simple removeLiquidity": "85099", | ||
"simple removeLiquidity some liquidity remains": "92986", | ||
"simple swap": "123144", | ||
"simple swap with native": "108434", | ||
"swap against liquidity": "116527", | ||
"swap against liquidity with native token": "105569", | ||
"swap burn 6909 for input": "129285", | ||
"swap burn native 6909 for input": "118672", | ||
"swap mint native output as 6909": "139620", | ||
"swap mint output as 6909": "154985", | ||
"swap with hooks": "132165" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"set protocol fee": "31730" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"swap skips hook call if hook is caller": "206030" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"getAmount0Delta_gasCostForAmount0WhereRoundUpIsFalse": "243", | ||
"getAmount0Delta_gasCostForAmount0WhereRoundUpIsTrue": "360", | ||
"getAmount1Delta_gasCostForAmount1WhereRoundUpIsFalse": "229", | ||
"getAmount1Delta_gasCostForAmount1WhereRoundUpIsTrue": "264", | ||
"getNextSqrtPriceFromInput_zeroForOneEqualsFalseGas": "316", | ||
"getNextSqrtPriceFromInput_zeroForOneEqualsTrueGas": "539", | ||
"getNextSqrtPriceFromOutput_zeroForOneEqualsFalseGas": "544", | ||
"getNextSqrtPriceFromOutput_zeroForOneEqualsTrueGas": "214" | ||
} |