Closed code423n4 closed 3 years ago
WatchPug
https://github.com/code-423n4/2021-11-vader/blob/429970427b4dc65e37808d7116b9de27e395ce0c/contracts/dex/utils/GasThrottle.sol#L9-L20
contract GasThrottle is ProtocolConstants { modifier validateGas() { // TODO: Uncomment prior to launch // require( // block.basefee <= tx.gasprice && // tx.gasprice <= // uint256(IAggregator(_FAST_GAS_ORACLE).latestAnswer()), // "GasThrottle::validateGas: Gas Exceeds Thresholds" // ); _; } }
Duplicate #115
Handle
WatchPug
Vulnerability details
https://github.com/code-423n4/2021-11-vader/blob/429970427b4dc65e37808d7116b9de27e395ce0c/contracts/dex/utils/GasThrottle.sol#L9-L20