-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ctp): Drippie Spearbit audit fixes (#3280)
* fix(ctp): Drippie Spearbit issue 45 Fixes Spearbit issue 45, saves gas by using calldata parameters instead of memory parameters. * fix(ctp): Drippie Spearbit issue 44 Fixes Spearbit issue 44, documents the count variable and increments count before external calls. * fix(ctp): Drippie Spearbit issue 42 Fixes Spearbit issue 42, saves gas by removing extra SLOADs. * fix(ctp): Drippie Spearbit issue 35 Fixes Spearbit issue 35, corrects contract layout ordering. * fix(ctp): Drippie Spearbit issue 34 Fixes Spearbit issue 34, adds natspec where incomplete. * fix(ctp): Drippie Spearbit issue 32 and 33 Fixes Spearbit issues 32 and 33, clarifies the behavior of the executable function to revert instead of returning false, and removes an unnecessary check as a result. * fix(ctp): Drippie Spearbit issue 31 Fixes Spearbit issue 31, requires explicit opt-in for reentrant drip execution. * fix(ctp): Drippie Spearbit issue 28 Fixes Spearbit issue 28, better documentation of the behavior of execution checks in the drip function. * fix(ctp): Drippie Spearbit issue 21 Fixes Spearbit issue 21, use MIT licensed version of Solmate. * fix(ctp): Drippie Spearbit issue 25 Fixes Spearbit issue 25, reorders DripStatus enum for clarity. * fix(ctp): Drippie Spearbit issue 24 Fixes Spearbit issue 24, use call with value over transfer to avoid future gas issues. * fix(ctp): Drippie Spearbit issue 22 Fixes Spearbit issue 22, removes unnecessary gas parameter. * fix(ctp): Drippie Spearbit issue 39 Fixes Spearbit issue 39, updates Solidity to latest version. Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
- Loading branch information
1 parent
af3e56b
commit 0ceff8b
Showing
28 changed files
with
199 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issues #32 and #33, clarify behavior of executable function |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
'@eth-optimism/drippie-mon': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #25, reorder DripStatus enum for clarity |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #44, document drip count and increment before external calls |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue 24, use call over transfer for withdrawETH |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue 22, remove unnecessary gas parameter |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #34, missing natspec |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #28, document dripcheck behavior in drip function |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix #42, remove unnecessary SLOADs in the status function |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #39, update to latest version of Solidity |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #21, use correct version of Solmate |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #31, require explicit opt-in for reentrant drips |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #45, calldata over memory to save gas |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/contracts-periphery': patch | ||
--- | ||
|
||
Drippie Spearbit audit fix for issue #35, correct contract layout ordering |
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
Oops, something went wrong.