How to Use Smart Contracts For Revenue Sharing, Explained