sherlock-audit / 2024-11-telcoin-judging

0 stars 0 forks source link

Abhan1041 - Functionality of `stablecoinSwap` will not work when feeToken is origin token #166

Open sherlock-admin3 opened 2 weeks ago

sherlock-admin3 commented 2 weeks ago

Abhan1041

High

Functionality of stablecoinSwap will not work when feeToken is origin token

Summary

Root Cause

https://github.com/sherlock-audit/2024-11-telcoin/blob/main/telcoin-audit/contracts/stablecoin/StablecoinHandler.sol#L163C7-L167C15

Internal pre-conditions

No response

External pre-conditions

No response

Attack Path

No response

Impact

PoC

No response

Mitigation