F-2024-0017·deployment-config

WNATIVE should be passed in constructor instead of as constant

Acknowledgedindex-funddefirebalancing
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.

F-2024-0017

oog
zealynx

Smart Contract Security Digest

Monthly exploit breakdowns, audit checklists, and DeFi security research — straight to your inbox

© 2026 Zealynx