VolumeFi / paloma

The fast blockchain messenger protocol
Apache License 2.0
3 stars 2 forks source link

Paloma Bot: ETH Price Prediction Bot UI #1423

Open joycehermosilla opened 7 months ago

joycehermosilla commented 7 months ago

New Bot: ETH Price Prediction Bot.

Bot Icon and Menu selection: https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2359-709740&mode=design&t=0oEeE1HIeMu3JXIM-4 Here we will show the total Bots and the total winnings.

Bot view: https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2260-487215&mode=design&t=0oEeE1HIeMu3JXIM-4

To the left we want to show a price graphic, we can use the same from the momentum bot. To the right, the user will select the price they want to predict using the buttons "higher" and "lower" each with increments of $5 up and down.

Sign transaction: https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2282-579368&mode=design&t=0oEeE1HIeMu3JXIM-4 https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2457-763714&mode=design&t=0oEeE1HIeMu3JXIM-4

My Bots view:

a) Waiting for Results: https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2323-579664&mode=design&t=4RdrRYzQytJGPd78-4

b) No Winner --> Predict Again: https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2457-764140&mode=design&t=4RdrRYzQytJGPd78-4

c) Winner --> Claim Rewards: https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2511-810330&mode=design&t=4RdrRYzQytJGPd78-4

Claim Rewards Bot view:

To claim rewards the user will land on a simplified version of our Healthy Bot.
On the deposit field, they will see their rewards. Collateral token will be ETH Settlement token will be USDT

https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=2354-610321&mode=design&t=4RdrRYzQytJGPd78-4

fullstack412 commented 6 months ago

@jamie088 ETH https://etherscan.io/address/0x92f99DDCc6a25CedE3F0400D201d4BE8266A7641 ARB https://arbiscan.io/address/0x92f99DDCc6a25CedE3F0400D201d4BE8266A7641

I added winner_info on ETH contract, my_info for bot information on ARB contract. you can read bot info and winner info by using epoch_id and address don't forget to update the ABI on frontend side because contract has been updated now.

cc: @verabehr

verabehr commented 5 months ago

Eth price api details here https://github.com/VolumeFi/paloma/issues/1638

verabehr commented 4 months ago

blocked until we have the new contracts