Closed code423n4 closed 1 year ago
https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/Trading.sol#L459
Override statement missing from function.
function updateTpSl( bool _type, uint256 _id, uint256 _limitPrice, PriceData calldata _priceData, bytes calldata _signature, address _trader ) external override {
Remix IDE
Add override clause
Withdrawn by debo
Lines of code
https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/Trading.sol#L459
Vulnerability details
Impact
Override statement missing from function.
Proof of Concept
function updateTpSl( bool _type, uint256 _id, uint256 _limitPrice, PriceData calldata _priceData, bytes calldata _signature, address _trader ) external override {
Tools Used
Remix IDE
Recommended Mitigation Steps
Add override clause