-
# Lines of code
https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/libraries/Perp.sol#L202
https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a…
-
roguereddwarf
medium
# MarginTrading.sol: The whole balance and not just the traded funds are deposited into Aave when a trade is opened
## Summary
It's expected by the protocol that funds can be i…
-
When an exception is raised during the initcode, the source code map is incorrect.
For example, take this code:
```python
code = """
interface ChainlinkOracle:
def latestRoundData() -> Chainl…
-
# Lines of code
https://github.com/code-423n4/2024-06-badger/blob/9173558ee1ac8a78a7ae0a39b97b50ff0dd9e0f8/ebtc-zap-router/src/ZapRouterBase.sol#L38
# Vulnerability details
## Details
In ZapRouter…
-
# Lines of code
https://github.com/code-423n4/2024-05-predy/blob/main/src/PriceFeed.sol#L45-L58
https://github.com/code-423n4/2024-05-predy/blob/main/src/vendors/IPyth.sol#L5-L14
https://github.com/c…
-
# Lines of code
https://github.com/code-423n4/2024-05-predy/blob/main/src/PriceFeed.sol#L19
# Vulnerability details
## Impact
The Predy protocol relies on a Chainlink price which lacks checks for …
-
# Lines of code
https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/PriceFeed.sol#L46
# Vulnerability details
## Impact
The PriceFeedFactory fetches the a…
-
boredpukar
Medium
# Incorrect Reward Handling When Total Supply is Zero
## Summary
The MasterChefV2 contract has a flaw in its reward distribution logic when the total supply of staked tokens is z…
-
# Lines of code
https://github.com/code-423n4/2024-06-vultisig/blob/main/src/ILOManager.sol#L187-L198
# Vulnerability details
## Impact
- Block project from being launched
## Description
Project'…
-
# Lines of code
https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/PriceFeed.sol#L45
# Vulnerability details
## Summary
Chainlink aggregators have a bui…