Closed code423n4 closed 2 years ago
pauliax
Different declared and the actual order of parameters for the Mature event:
event Mature(address indexed underlying, uint256 indexed maturity, uint256 maturityRate, uint256 matured); emit Mature(u, m, block.timestamp, currentExchangeRate);
maturityRate and matured are in the wrong order.
This may trick the outside consumers of this event so consider fixing this.
dupe of #90
https://github.com/Swivel-Finance/gost/pull/174/commits/8b014e446d83961c56ba1d18b21926cadd471e2a
Handle
pauliax
Vulnerability details
Impact
Different declared and the actual order of parameters for the Mature event:
event Mature(address indexed underlying, uint256 indexed maturity, uint256 maturityRate, uint256 matured); emit Mature(u, m, block.timestamp, currentExchangeRate);
maturityRate and matured are in the wrong order.
Recommended Mitigation Steps
This may trick the outside consumers of this event so consider fixing this.