loomnetwork / dashboard Goto Github PK
View Code? Open in Web Editor NEWLoom Basechain Gateway, wallet and DPoS UI / dashboard
Home Page: https://dashboard.dappchains.com
License: MIT License
Loom Basechain Gateway, wallet and DPoS UI / dashboard
Home Page: https://dashboard.dappchains.com
License: MIT License
The first delegation was set for time 3 months and second set for 2 weeks and gets overwritten
Please refer attached video
https://slack-files.com/T7AB1S3LN-FG6C01T5F-27539bc5e4
Please refer attached video
https://screenpresso.com/=vqQpf
In 16ebd59 whitelist amounts were hard-coded in order to ship things.
Validators returned by getValidatorsAsync
have their whitelistAmount
accessible https://github.com/loomnetwork/loom-js/blob/master/src/contracts/dpos2.ts#L151.
Steps to reproduce:
Error fetching delegation list: TypeError: Cannot read property 'listCandidatesAsync' of undefined
Most likely related to the user object not being initialized during refresh for whatever reason
Having Loomy loading infinitely isn't really good feedback. let's have him timeout and prompt user to refresh the page
I try to Withdraw in My account.
Insert value 7 in the "withdraw to Metamask" label.
Click the Withdraw button.
Click the reject Button in the MetaMask popup.
The 7 loom value can not recover,
How can I find it?
theres a bug in the validators UI with the recent update. when you sort, then click a validator, it takes you to the wrong index
Is it possible to show who all the delegations are ?
1, Go to http://dashboard.dappchains.com/blockexplorer
2, Click on Next Pagination
When users withdraw we should give them some UI response.
Currently all that happens is:
In between all the steps there should be some type of warning to the user about what they should be expecting to happen.
After 1 the user should see a message that is along the lines of "Your withdrawal is being initiated!"
After 2 they should see "PlasmaChain withdrawal initiated. Please wait for the Ethereum withdrawal confirmation dialog..."
With this PR https://github.com/loomnetwork/loom-js/pull/218/files we add the feature for users to swap around their delegations to new validators
We want a redelegate from/to button in each validator page
You click on a validator, and it either lets you redelegate FROM them, TO another one
or it lets you redelegate FROM another one TO them
It seems the bucket for dev-dashboard.dappchains.com is not set up to redirect all request to index.html
Vadim [12:06 PM]
[email protected] has been published, addedDPOS2.redelegateAsync
&DPOSUser.redelegateAsync
In the rewards tab, divide the result of the checkRewardsAsync by 10e18 (token decimals)
Please refer video link
https://screenpresso.com/=vqQpf
We want buttons that call https://github.com/loomnetwork/loom-js/blob/master/src/contracts/transfer-gateway.ts#L321 and https://github.com/loomnetwork/loom-js/blob/master/src/contracts/transfer-gateway.ts#L336.
The gateway dappchain contract is exposed through DPOSuser.dappchainGateway
we need a list of nodes that you aren't allowed to stake to, like "plasma-0,plasma-1"
James
For the bootstrap validators, is it possible for us to change0%
toStaking Disabled
orN/A
or something, and make the font red?0%
makes it seem like a better deal than the real validators, and is probably adding to user confusion when looking at the dashboard.
2. Can we rename them to "Loom Bootstrap # 1" or something clearer, and maybe also change the font of the name to red, so it's more obvious they're not stakeable validators?
3. Is "Validator # 4" also a bootstrap validator? Naming scheme isn't consistent with the other ones, I think it's confusing to users.
4. Can we add commas into the "Stake" numbers so it's more readable? It's not immediately clear that MW Partners has 10x stake of the other ones unless you count decimal places.
Each validator has deployed a timelock contract which holds the funds they have locked for 1 year.
After validators deployed the contract, they get whitelisted with an amount equal to their timelock.
When displaying granular information about validators, we want to show their timelock contract etherscan transactions, so as to justify their whitelist amounts.
In addition, we also want to display the information about their delegations. We can do that by getting the output of getDelegationsAsync(candidate)
and putting these in an a table.
So basically we want 2 headers:
1 for timelocked funds, which is going to be a couple of rows which show the transactions the validators did to justify their whitelist amounts
1 header which has a list (maybe table with 50 rows per page e.g.) of all delegations for that validator, which will be the output of dpos.getdelegations(validator)
(edited)
The UI should not allow you to delegate while you made a delegation which is still BONDING. Throw an error message maybe or gray out the Delegate button with a tooltip
https://files.slack.com/files-pri/T7AB1S3LN-FGDUC126P/image.png
Cards can be added to your board to track the progress of issues and pull requests. You can also add note cards, like this one!
In the rewards tab:
Need a button to claim rewards. It will claim rewards from the dpos contract by calling https://github.com/loomnetwork/loom-js/blob/master/src/dpos/dpos-user.ts#L290 (without args)
It should show the rewards the user is expected to receive by calling https://github.com/loomnetwork/loom-js/blob/master/src/dpos/dpos-user.ts#L321 (included in loom-js 1.40.1)
Make it so the left hand nav shows on home screen
In the validator specific routes, a validator currently has a Total Staked
and a Voting Power
column. We should make this more detailed to show how much of that comes from the whitelist, and how much comes from delegated tokens.
An approach for this could be to add a tooltip over the number (10,059,848 in the screenshot) which shows:
"Whitelist: 10,000,000, Staked Tokens: 59848)
Matt [5:27 PM]
Hrmm I don’t think we can skip using ethers
Cause the DPoS code uses ethers
Currently the number shown validators's stake is actually their metadelegation (ie amount * bonus). We should rename Stake
to Voting Power
, and add an extra field which will be called Tokens Delegated
which will show their actual amount of tokens delegated without the bonuses.
James' idea:
Total Stake | Total Voting Power* (*Staked tokens multiplied by lockup bonuses)
Parenthesis shows as a tooltip when you hover.
Also add information about how lockup multipliers work in the FAQ
LOOM-JS bindings: loomnetwork/loom-js#219
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.