SMART CONTRACT functions[READ] get upnlCopy Pagesolfunction getPositionNotionalAndUpnl(address amm, address trader) external view returns(uint positionNotional, int upnl); Updated over 2 years ago