issues
search
Cyfrin
/
2023-07-foundry-defi-stablecoin
29
stars
27
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Hardcoded Timeout/heartbeat
#1154
joedakwa
closed
10 months ago
1
Hardcoded timeout/heartbeat value
#1153
joedakwa
closed
10 months ago
1
No limit on the amount of allowed feeds can lock funds
#1152
codehawks-bot
opened
11 months ago
0
Block stuffing the chainlink heartbeat transactions for a token will stop any liquidations for users with such collateral on chains with cheap gas
#1151
codehawks-bot
closed
11 months ago
0
Pausable collaterals
#1150
codehawks-bot
closed
11 months ago
1
burnDSC - Optimization/Informational
#1149
codehawks-bot
opened
11 months ago
0
Deploying on L2 will not look at sequencer feeds
#1148
codehawks-bot
opened
11 months ago
0
Fee on transfer collaterals
#1147
codehawks-bot
opened
11 months ago
0
Rounding error vulnerability in liquidate() when calculating bonusCollateral value.
#1146
codehawks-bot
opened
11 months ago
0
Admin can mint unlimited tokens before ownership transfer
#1145
codehawks-bot
closed
11 months ago
1
Due to wrong scaling, the returned-value (price) from the DSCEngine#`getUsdValue()` would be `1e4` times larger than the actual value
#1144
codehawks-bot
closed
11 months ago
1
NatSpec `@return` argument is missing
#1143
codehawks-bot
opened
11 months ago
0
Custom error has no parameters
#1142
codehawks-bot
closed
11 months ago
1
Frontrunning Vulnerability in liquidate Function
#1141
codehawks-bot
closed
11 months ago
1
isAllowedToken modifier should be inline with code to save gas
#1140
codehawks-bot
closed
11 months ago
1
`++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops
#1139
codehawks-bot
opened
11 months ago
0
Use safeTransfer and safeTransferFrom
#1138
codehawks-bot
closed
10 months ago
1
Reduce gas usage by moving to Solidity 0.8.19 or later
#1137
codehawks-bot
closed
11 months ago
1
Constants should be defined rather than using magic numbers
#1136
codehawks-bot
opened
11 months ago
0
Can return from the `getUsdValue()` method if amount is 0
#1135
codehawks-bot
closed
11 months ago
1
The `nonReentrant` `modifier` should occur before all other modifiers
#1134
codehawks-bot
opened
11 months ago
0
Use assembly to check for `address(0)`
#1133
codehawks-bot
opened
11 months ago
0
Can save gas we by changing less or equal to just equal
#1132
codehawks-bot
opened
11 months ago
0
safetransferFrom
#1131
codehawks-bot
closed
10 months ago
1
Unaccounted Transfer Fees in depositCollateral Function
#1130
codehawks-bot
opened
11 months ago
0
Functions not used internally could be marked external
#1129
codehawks-bot
closed
11 months ago
1
Lack of DSC Mint Check in redeemCollateral Function
#1128
codehawks-bot
closed
11 months ago
0
Constants in comparisons should appear on the left side
#1127
codehawks-bot
opened
11 months ago
0
Use == for uints check instead of <= 0
#1126
codehawks-bot
opened
11 months ago
0
Gas optimization opportunity for the `for loop` in getAccountCollateralValue()
#1125
codehawks-bot
opened
11 months ago
0
Unnecessary public visibility in `getTimeout()`
#1124
codehawks-bot
opened
11 months ago
0
If a token's oracle goes down or price falls to zero, liquidations will be frozen
#1123
codehawks-bot
closed
11 months ago
1
Unchangeable Oracle Address Problem
#1122
codehawks-bot
closed
11 months ago
0
Usage of floating pragma statement
#1121
codehawks-bot
opened
11 months ago
0
Use unchecked on iterator for gas savings
#1120
codehawks-bot
opened
11 months ago
0
Rounding error vulnerability, which will cause getUsdValue() to be zero, which will affect/distort the balance of getAccountCollateralValue()'s return value totalCollateralValueInUsd.
#1119
codehawks-bot
closed
11 months ago
0
"Collateral Withdrawal Bug in DSCEngine Contract"
#1118
codehawks-bot
closed
11 months ago
1
No check if Arbitrum L2 sequencer is down in Chainlink feeds
#1117
codehawks-bot
opened
11 months ago
0
Unnecessary balance and address checks in `burn()` and `mint()`
#1116
codehawks-bot
closed
11 months ago
1
Redundant healthy position check
#1115
codehawks-bot
opened
11 months ago
0
Owner can mint without restriction
#1114
codehawks-bot
closed
11 months ago
1
Decimal Assumption Vulnerability in `getUsdValue` Function
#1113
codehawks-bot
opened
11 months ago
0
Contracts are vulnerable to fee-on-transfer-token-related accounting issues
#1112
codehawks-bot
opened
11 months ago
0
Lack of Functionality to Add New Collateral Tokens
#1111
codehawks-bot
closed
11 months ago
1
Potential for price oracle manipulation
#1110
codehawks-bot
opened
11 months ago
0
Possible break of the whole protocol
#1109
codehawks-bot
opened
11 months ago
0
collateral and debt to cover not validated
#1108
codehawks-bot
opened
11 months ago
0
Price Volatility Vulnerability in liquidate Function
#1107
codehawks-bot
closed
11 months ago
1
Fee-on-transfer tokens draining
#1106
codehawks-bot
opened
11 months ago
0
Lack of event emissions for some operations
#1105
codehawks-bot
closed
11 months ago
1
Next