This piece fetches the current price of Tezos every 30 seconds and draws the mood based on user defined minimum and maximum values. As Tezos price nears xtzMax value it smiles more and vice versa. If Tezos price falls under the dead price level, it will display another emoji.
***This piece is dependent on tzkt api,if the endpoint changes in future, i'll mint a new version and send it to current holders***
==========Instructions==========
⚠️Click on Emoji to start making adjustments⚠️
Hold 'Shift" and press '+' or '-' to increase/decrease xtzMax value, xtzMax value will not go under current Tezos value
Hold 'm" and press '+' or '-' to increase/decrease xtzMin value, xtzMin value will not go under dead value and won't go over current Tezos value
Hold 'd" and press '+' or '-' to increase/decrease dead value, dead value will not go under '0' and won't go over xtzMin value
Hit 'u' to toggle price and setting ui
Hit 's' to save your setting to the browser cache. ⚠️When cache is cleared settings are also cleared⚠️
Murat Atimtay 2022| linktr.ee/atimtakus| @atimtay