Skip to content

Test Cases

Gabriel Fonseca edited this page May 28, 2021 · 9 revisions

⚠️⚠️⚠️ Do not use, needs review! ⚠️⚠️⚠️

Table of Contents

OOz distribution by content consumption

Feature: OOz distribution by content consumption

The “mining” of OOz is made by content consumption

Scenario: Not watch content until the end

Given a user watches a video post from another user
When it is not played until the end
Then none amount of OOz should be added to the user wallet

Scenario: Receiving OOz for watch Ootopian timeline videos

Given a user watches a video post from another user
When it is played until the end
Then an amount of OOz multiplied by time watched should be added to the user wallet
And a transaction should be registered in the transaction history

Scenario: Share with content creator a share of OOz earned by watch

Given OOz amount received for watch a content
When it is received in the Wallet
Then a fraction of the value should be automatically be transferred to the content creator
And a transaction should be registered in the transaction history of the content creator

Scenario: Change the variables of OOz distribution math

Given a change in variables of OOz distribution logic in (database or retool)
And a user watches a video post from another user
When it is played until the end
Then an amount of OOz multiplied by time watched should be added to the user wallet based on new config change
And a transaction should be registered in the transaction history

Multiplier for Watching Movie seconds OOz received Rate Creator Share Transfer to creator
0.6 OOz /second 20 12 OOz 10% 1.2 OOz