The wrapper will perform a conversion of AMPL to wAMPL using the 10_000_000e12 literal representing 10 million for a 12 decimal token, however, the actual wAMPL deployment utilizes the 10000000 * (10**18) representation indicating 10_000_000 for an 18 decimal token.
Example:
uint256 public constant MAX_WAAMPL_SUPPLY = 10_000_000e12; // 10 M at 12 decimals
Recommendation:
We advise this trait to be evaluated as it represents a discrepancy between the real-world wAMPL asset and the wAMPL asset defined by the Elastic Finance team.
This is intended behavior, as even though we use the denomination wAMPL, we actually want smaller amounts as stakes in the contracts and our internal wAMPL is a totally different asset
WRE-02C: Incorrect Accuracy of Wrapper (Informational)
Description:
The wrapper will perform a conversion of
AMPL
towAMPL
using the10_000_000e12
literal representing 10 million for a 12 decimal token, however, the actualwAMPL
deployment utilizes the10000000 * (10**18)
representation indicating10_000_000
for an 18 decimal token.Example:
Recommendation:
We advise this trait to be evaluated as it represents a discrepancy between the real-world
wAMPL
asset and thewAMPL
asset defined by the Elastic Finance team.