PolkaMusic
Search…
Smart Streaming Platform
SSP Smart Contract can be initialized by anyone by paying a fee of $POLM. The functionalities include:
  1. 1.
    Reward Pool: the reward pool contains tokens that need to be distributed. The source of these tokens include:
    1. 1.
      Platform Owner: SSP owner will credit a certain % of the supply (of own token created via coin creator) to be distributed to the artists.
    2. 2.
      Subscription fee: Listeners pay a subscription fee (in the SSP token, created using the coin creator pallet) to the SSP Smart Contract in order to get access. In this case, for any given account, the frontend will be able to retrieve the last payment date and amount so that subscription status can be calculated and appropriate service can be delivered.
  2. 2.
    Royalty Dispatcher: The off-chain worker will send a signed transaction (from an approved account that’s predefined) to the SSP Smart Contract in the following fashion:
process_royalty(src_id,15,token_id)
The Royalty Dispatcher must calculate if the request exceeds 10% of daily_reward_pool (reward_pool/365days) and process payments hourly. It must also block payments if the total payments in the last 24 hours exceed the daily_reward_pool. Once the fail-safe filter approves, the amount is deducted from the reward pool and sent to the RoyaltySplitter for further processing.
Last modified 6mo ago
Copy link