plotx / smart-contracts Goto Github PK
View Code? Open in Web Editor NEWSmart contracts for the PlotX protocol
Home Page: https://plotx.io/
License: GNU General Public License v3.0
Smart contracts for the PlotX protocol
Home Page: https://plotx.io/
License: GNU General Public License v3.0
Describe the bug
If 0 participants are there, the the dispute functionality does not work. But it looks confusing.
Expected behavior
Disable dispute button in case of 0 participants. Add text
"Please note markets with 0 participants cannot be disputed"
Show only in markets with 0 participants
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
We have the feature of sponsoring incentives, however, no UI to show that.
Describe the solution you'd like
Show Total Incentives distributed in market i top section
Club Incentives in Rewards in PLOT in the table below
Hourly markets have less participation than daily ones. Let's ensure the user lands on the daily market for better social proofing.
Describe the bug
Total participation incentives are shown as 0 despite multiple participants in the market
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be showing 100 PLOT
Is your feature request related to a problem? Please describe.
Extensions like walleconnect are not working well. The issue is due to Angulare version adopted
Describe the solution you'd like
Migrate to Angular 9+
Is your feature request related to a problem? Please describe.
PlotX to be listed on defiPulse
Describe the solution you'd like
Create adapter for DeFi pulse to show the TVL locked
Users are unable to connect with MetaMask on mobile with liquidity.plotx.io.
Need Wallet Connect integration like in app.plotx.io.
Describe the bug
Currently for disallowed geolocations, the website shows 403
To Reproduce
Try accessing via a disallowed geolocation
Expected behavior
Should show a page that IP location is detected from xxx country and the following countries are disallowed.
Transaction confirmed on Etherscan, but doesn't shows up in "My Account" or "Leaderboard"
User predicted on 2 different hourly markets and both the transactions were confirmed within 30 seconds in Etherscan, but his address or prediction doesn't shows up on "My Account" or "Leaderboard" neither.
Telegram Username : @KruglovTeam
ETH Address : 0xab4ac4201f412033d2744f235b3e075eacdb0282
Etherscan Transaction Link
Prediction 1 : https://etherscan.io/tx/0xd55c15e5b1c25b70bf5516048958084b3057651bbba69b7059d9176aab8bf151
Prediction 2 : https://etherscan.io/tx/0x5ccbf5fc4d9a8fe61d408e3fd5d5d29fe6cb9cffe039ad64f9f9405a92bef762
Screenshots
2 screenshots attached
Is your feature request related to a problem? Please describe.
Currently, the 1st participant is not incentivised to participate because there are no pool rewards and he might end up losing money to DAO if he is wrong
Describe the solution you'd like
Return participation amount in case there is only 1 participant, irrespective of whether he is right or wrong.
Dispute should not be allowed if participation = 1
Is your feature request related to a problem? Please describe.
Currently, the protocol distributes fixed incentives to users creating markets.
Describe the solution you'd like
Incentives should be based on actual gas price and PLOT price
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
When app is opened within metamask browser, it gets stuck
Integrate with https://github.com/Web3Modal/web3modal
Describe the bug
The leaderboard numbers that show market participation data is showing null values
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Amount of the ETH & PLOT staked + Rewards distributed should be updated in real-time
Desktop (please complete the following information):
Desc:
Txn Hash:
Screenshot:
helo
Link: Conversation with Orange Shark from Kanpur
Customer: Orange Shark from Kanpur
Customer ID: 828124e7-a7a3-47b8-af5a-7e330b99390d
Intercom Operator will send a note to this conversation when this issue is closed.
Is your feature request related to a problem? Please describe.
Data on market page is only being shown when user has signed in via metamask
Describe the solution you'd like
We should be able to show the data using a API, such that a person can see data without signing in via metamask
Describe the bug
User had participated with amount of 0.011 with a leverage of 1. So the leveraged amount will be around 0.002, but it is displayed as zero in leaderboard view page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Leveraged asset should be displayed.
"My metamask was on Kovan network. I opened the alpha on the browser and then went on the markets page. Then I switched to the metamask app to see how much kETH I have in my wallet. Then I switched my wallet to the main etherium network to see how much ETH I have on my mainnet account. Then I opened the browser again and clicked on the Predict Now button. Entered 0.1 kETH (but it was 0.1 ETH in reality), and clicked on Buy Now. That took me to my metamask app to ask for payment approval. It got cancelled somehow. Then I went on the browser again, tried it again. Then it took me to my metamask app where I accepted the transaction n transaction was successful."
Address - 0x71439347cae692f66036ba9e9431e33b2563cf7e
Is your feature request related to a problem? Please describe.
It is unclear if market creation transaction has been trigerred by someone else. Henc, more than 1 people trigger transaction and it fails for the 2nd user.
Describe the solution you'd like
Show a table near the Create market button to show the list of transactions that are pending
Asset/Currency Index
MarketType
txHash
Address
Time
Gas price
Gas limit
Status - Pending
When a market settlement is under mining , it should be shown in the UI that settlement is in process for that particular market.
Error while contract execution
I was predicting on What will be the value of ETH/USD at Oct 23 2020 12:30 pm ? (IST). I received this error "Warning! Error encountered during contract execution [Reverted]" while executing the transaction.
ETH Address : 0x7Ba7f68AC3929a2357123440e2DB79d5e6767895
Etherscan : https://etherscan.io/tx/0x73a8dc51fbcf0d51227868e9e806c1e630b4a3afeb8ae845f3e6196464c3aa2b
Screenshots
User claims creating a market and didn't receive PLOT as rewards
He doesn't remember which market he created.
Discord Username : @Anit_Jain04#6647
ETH Address :
0xaa09ad51b17948e6f41c8d283de4d7bb25f9becb
Etherscan Tx Address :
https://etherscan.io/tx/0xfec7f4e2fbb068679ec7061c07eff1c4d14aaae5c90e153e1d90be46762fec1f
Describe the bug
When directing from another page, the all filter does not work
To Reproduce
Go to Leader board page from market page. No data appears
Create a new Referral programme so that users with valid signature can claim bPLOTs
xhbahbxahvx
Link: Conversation with [email protected]
Customer: [email protected]
Customer ID: 46dcfca2-4283-45f6-aeae-365772e3b865
Intercom Operator will send a note to this conversation when this issue is closed.
Save 50% fee with predictions in PLOT should lead to the person buying PLOT
Create a web page for generating "challenge " script result by entering date
Is your feature request related to a problem? Please describe.
Difficult to portray specific analytics for PlotX
Describe the solution you'd like
Create UI to show analytics for PlotX
Graphs:
Total Volume Locked
Predictions per day
New users per day
Rewards per day
Once issue #35 is completed, we can use API to plot a graph with API data.
Is your feature request related to a problem? Please describe.
Currently, a player needs to approve PLOT every time he/she participates in a market. This results in more gas and tx hindrance
Describe the solution you'd like
Create a link under approve toggle in Live market prediction "Approve more"
Opena popup with text box to enter amount to be approved
Approve button.
Some text should be there around what does approval mean.
Describe the bug
The numbers in participation are looking too long because of 4 decimals
Expected behavior
Round off the number in PLOT and for ETH, show 2 decimals
Screenshots
If applicable, add screenshots to help explain your problem.
Hola
Link: Conversation with [email protected]
Customer: [email protected]
Customer ID: 8623c869-1311-4be0-8ee7-0d31d3aded6a
Intercom Operator will send a note to this conversation when this issue is closed.
Is your feature request related to a problem? Please describe.
Currently, it is difficult to see the pricefeed by Chainlink and how the result was computed. A graph below the leaderboard table of a market can highlight the price movement on Chainlink
Describe the solution you'd like
Create a listener, to listen to events from Chainlink Aggregator(ETH and BTC)
Then based on market settle time, return all price feeds for +- 12 hours. This info can be used to plot a graph on the UI.
The 08:00 bitcoin market needs disputing, clearly below $11450 was $11436 on Binance at 20:00 surely not that much difference.
What was the chain link price?
Button for raising dispute doesn’t work on mobile
It clearly takes the actual settlement price early. Come on guys if we can’t get this right what hope have we got. Everybody will be disputing results. This is fundamental and wrong needs fixing as a matter of urgent
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.