TempleGold

TempleDAO
Foundry
25,000 USDC
View results
Submission Details
Severity: low
Invalid

Quote function returns fees in both native and lzToken, while only native is supported.

Summary

In the TempleTeleporter.sol there are defined two quote functions which are returning fee price in both native and lzToken, while in the teleport function, we can see that the lzToken fee is hardcoded to 0

Impact

Base on the quote function it's unclear which fee payments methods are supported. And it might even suggest that both are.

Tools Used

Manual review

Recommendations

Return in the quote function only supported fee values.

Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.