Frankencoin-ZCHF / frankencoin-dapp

Frankencoin Web App to interact with the Eco System
https://frankencoin.com/
MIT License
0 stars 4 forks source link

Show Profits and Losses on Equity Page #8

Closed luziusmeisser closed 9 months ago

luziusmeisser commented 9 months ago

We should add two additional info boxes on the equity page, one for profits and one for losses.

These are just the cummulative amounts from these two events in Frankencoin.sol:

event Loss(address indexed reportingMinter, uint256 amount, uint256 reserve);
event Profit(address indexed reportingMinter, uint256 amount, uint256 reserve);