Oracle
Purpose
The price oracle's purpose is to balance the $CP payout gained through mining, along with minting costs to the current dollar value of $CP.
This means that the following will happen if the dollar value per $CP increases:
路 $CP payouts decrease
路 Mint houses costs less $CP
路 Mint plants costs less $CP
路 If $CP price in dollar decreases the opposite of the above becomes true.
Reason
The reason for the oracle's usage is so that the economy of the game is balanced around a set dollar value. A limited amount of $CP token that can circulate in the economy, and a big influx of players would likely drain all the $CP present in the game contract.
By utilizing the oracle, Cryptoplants forms a correlation between active users and the dollar value of $CP. The assumption is that when the $CP price rises, the demand for $CP increases as well through the release of new game features or an influx of new players. The oracle will ensure consistent dollar value payouts per transaction at the time it was made, along with ensuring mint costs for NFTs remain at a consistent dollar value.
This means that entry costs and rewards can be balanced and maintained for extended periods of time, and will accurately reflect the desired minting costs to allow new players a chance to play even if the dollar value of $CP rises.
Last updated