issues
search
code-423n4
/
2022-01-elasticswap-findings
1
stars
0
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Long Revert Strings
#130
code423n4
closed
2 years ago
1
Inclusive check
#129
code423n4
closed
2 years ago
1
calculateQuoteTokenQty will revert if the exact amount of desired tokens is used
#128
code423n4
closed
2 years ago
1
calculateBaseTokenQty will revert if the exact amount of desired tokens is returned
#127
code423n4
closed
2 years ago
1
Long revert strings
#126
code423n4
closed
2 years ago
1
Should check for fee-on-transfer in quote token as well
#125
code423n4
closed
2 years ago
1
Exchange.sol is not Pausable
#124
code423n4
opened
2 years ago
1
function setFeeAddress can be made more efficient
#123
code423n4
closed
2 years ago
1
Redundant Explicit Returns
#122
code423n4
closed
2 years ago
1
Save Gas With The Unchecked Keyword
#121
code423n4
closed
2 years ago
1
Assignment Of Variables To Default
#120
code423n4
closed
2 years ago
1
Fee-on-transfer check can be avoided
#119
code423n4
opened
2 years ago
2
Attacker can grief initial pool by providing 1 baseToken, 1 quoteToken, and manually transferring 1 baseToken
#118
code423n4
closed
2 years ago
3
Gas saving
#117
code423n4
closed
2 years ago
1
Revert string > 32 bytes
#116
code423n4
closed
2 years ago
1
Remove duplicate function call
#115
code423n4
closed
2 years ago
1
Comment missing function parameter
#114
code423n4
opened
2 years ago
1
Two pairs can have the same tokens
#113
code423n4
closed
2 years ago
3
calculateLiquidityTokenFees returns zero fee
#112
code423n4
closed
2 years ago
2
Base token properties not verified
#111
code423n4
opened
2 years ago
2
Users can grief name and symbol for a market, DAO unable to change
#110
code423n4
opened
2 years ago
2
User facing Exchange and ExchangeFactory miss emergency lever
#109
code423n4
closed
2 years ago
2
LP inflation attack is possible as pools can be created with zero liquidity
#108
code423n4
closed
2 years ago
2
Math base functions can be made internal
#107
code423n4
opened
2 years ago
2
Name and symbol of a new liquidity pool ERC20 aren't checked
#106
code423n4
closed
2 years ago
1
`Factory.createNewExchange` can be frontrun with stupid names
#105
code423n4
closed
2 years ago
1
Fee-on-transfer rejection can be bypassed
#104
code423n4
closed
2 years ago
1
pairs names can be misleading/weird
#103
code423n4
closed
2 years ago
1
tokens with fee on transfer can still be added
#102
code423n4
closed
2 years ago
1
factory can have duplicates
#101
code423n4
closed
2 years ago
1
Shift Right instead of Dividing by 2
#100
code423n4
opened
2 years ago
2
Long Revert Strings
#99
code423n4
closed
2 years ago
1
Use != 0 instead of > 0 for Unsigned Integer Comparison
#98
code423n4
closed
2 years ago
1
gas optimization by using shift operator on math library
#97
code423n4
closed
2 years ago
1
gas saving on math library by using != operator
#96
code423n4
closed
2 years ago
1
gas saving by using not equal comparison
#95
code423n4
closed
2 years ago
1
`removeLiquidity.sol#baseTokenQtyToRemoveFromInternalAccounting` should not be cached
#94
code423n4
opened
2 years ago
1
Description of `_expirationTimestamp` is not exact
#93
code423n4
opened
2 years ago
2
Shift rather than dividing with a power of 2
#92
code423n4
closed
2 years ago
1
For uint `> 0` can be replaced with ` != 0` for gas optimization
#91
code423n4
closed
2 years ago
1
using unchecked to save gas
#90
code423n4
closed
2 years ago
1
Gas: Shift Right instead of Dividing by 2
#89
code423n4
closed
2 years ago
1
Inclusive check
#88
code423n4
closed
2 years ago
1
removeLiquidity() _tokenRecipient Lack of Zero Address Check May Cause User Lose Fund Permanently
#87
code423n4
opened
2 years ago
2
calculateQuoteTokenQty() Does Not Check Rebase Event May Cause MisPricing
#86
code423n4
closed
2 years ago
3
Use != 0 instead of > 0 to Save Gas
#85
code423n4
closed
2 years ago
1
createNewExchange() Possible to Add Elastic Token as Quote Token Due to No Validation
#84
code423n4
opened
2 years ago
3
Long Revert Strings are Waste of Gas
#83
code423n4
closed
2 years ago
1
Remove No Use Case Variable isValidExchangeAddress to Save Gas
#82
code423n4
closed
2 years ago
2
`ExchangeFactory.sol`'s `transferOwnership` should be a two-step process
#81
code423n4
opened
2 years ago
1
Previous
Next