-
Current factory uses solmate's CREATE3 function to deploy a bare minimal proxy that is dependent only on salt & msg.sender (factory itself)
An alternative is to use OZ's clone library to cheaply …
-
Bnke0x0
high
# ERC4626 mint uses the wrong amount
## Summary
ERC4626 mint uses the wrong amount
## Vulnerability Detail
## Impact
The ERC4626-Cloned.mint function mints assets instead of shares. T…
-
# Lines of code
https://github.com/code-423n4/2022-11-redactedcartel/blob/main/src/PirexRewards.sol#L107-#L127
# Vulnerability details
## Impact
- A malicious user can create many reward recipient…
-
reimplement solmate ERC1155 impl to be compatible IERC1155Metadata
-
# Lines of code
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/SemiFungibleVault.sol#L94
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/SemiFungibleVault.sol#L127
ht…
-
# Lines of code
https://github.com/code-423n4/2022-12-gogopool/blob/main/contracts/contract/tokens/TokenggAVAX.sol#L79
https://github.com/code-423n4/2022-12-gogopool/blob/main/contracts/contract/toke…
-
### Describe the issue:
Slither(foundry) chokes on libs/ with relative import inside.
Command: `slither .`
Using:
- forge 0.2.0 (1616380 2022-06-05T00:17:15.301459Z)
- mac os 12.0.1 arm
- sl…
-
# Lines of code
https://github.com/code-423n4/2022-09-frax/blob/55ea6b1ef3857a277e2f47d42029bc0f3d6f9173/src/sfrxETH.sol#L59
https://github.com/code-423n4/2022-09-frax/blob/55ea6b1ef3857a277e2f47d420…
-
# Gas Optimizations
## 1. An array’s length should be cached to save gas
When handling unmodified arrays, caching the length saves 3 gas per access, except for the first one. This is recommended whe…
-
# Lines of code
https://github.com/code-423n4/2022-12-caviar/blob/main/src/Caviar.sol#L37
# Vulnerability details
## Impact
solmate SafeTransferLib does not check the existence of code at token ad…