The P&L of a Decentralized Application