-
# Lines of code
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/SemiFungibleVault.sol#L85-L101
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/SemiFungibleVault.sol#L1…
-
ctf_sec
medium
# A malicious early user/attacker can manipulate the share to take an unfair share of future users' deposits when maturity is not set.
## Summary
A well known attack vector …
-
# Lines of code
https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/GovNFT.sol#L56
https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20c…
-
# Lines of code
https://github.com/code-423n4/2022-12-caviar/blob/0212f9dc3b6a418803dbfacda0e340e059b8aae2/src/Caviar.sol#L28-L43
# Vulnerability details
The `create()` function in `Caviar.sol` is…
-
希望可以介紹關於 `CREATE`、`CREATE2` 這兩個 opcode 的運作原理與使用範例
另外,solmate 還提出了 `CREATE3` 的實作版本,相當好奇其特點為何?
https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol
-
# Lines of code
https://github.com/code-423n4/2023-01-popcorn/blob/main/src/vault/Vault.sol#L80
https://github.com/code-423n4/2023-01-popcorn/blob/main/src/vault/Vault.sol#L604
https://github.com/cod…
-
pashov
medium
# Solmate's ERC4626 implementation does not work correctly with fee-on-transfer `asset` tokens
## Summary
If a fee-on-transfer token is used as the `asset` in a vault then the vault s…
-
# Lines of code
https://github.com/code-423n4/2023-04-caviar/blob/cd8a92667bcb6657f70657183769c244d04c015c/src/PrivatePool.sol#L514
# Vulnerability details
## Impact
In the code provided, I initia…
-
# Lines of code
https://github.com/code-423n4/2022-12-caviar/blob/main/src/Pair.sol#L398-L400
# Vulnerability details
The function `buyQuote` present in the `Pair` contract is used to calculate th…
-
# Lines of code
https://github.com/code-423n4/2022-12-caviar/blob/0212f9dc3b6a418803dbfacda0e340e059b8aae2/src/Pair.sol#L63-L99
https://github.com/code-423n4/2022-12-caviar/blob/0212f9dc3b6a418803dbf…