F-2024-0017·deployment-config
WNATIVE should be passed in constructor instead of as constant
TL;DR
WNATIVE is hard-coded as a constant, limiting deployment flexibility across networks. Passing it via constructor would make the contract reusable across chains.
Severity
INFO
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description
Description
The WNATIVE token address is currently set as a constant in the contract, which limits flexibility.
03Section · Recommendation
Recommendation
Pass the WNATIVE token address as a parameter in the constructor to allow for greater flexibility and configurability during deployment.

