There was a small issue with the way the props were passed to the CollateralRedeemed event.
previous the event looks like
event CollateralRedeemed(address indexed redeemedFrom, uint256 indexed amountCollateral, address from, address to);
and props passed to this was
There was a small issue with the way the props were passed to the CollateralRedeemed event.
previous the event looks like
event CollateralRedeemed(address indexed redeemedFrom, uint256 indexed amountCollateral, address from, address to);
and props passed to this wasemit CollateralRedeemed(from, amountCollateral, from, to);
The updated event is
event CollateralRedeemed(address indexed redeemFrom, address indexed redeemTo, address token, uint256 amount);
and updated props passed is
emit CollateralRedeemed(from, to, tokenCollateralAddress, amountCollateral);