Delegate v1
See original GitHub issueOverview
To keep the v1 delegation flow simple, we can use a similar flow to /send-money
.
The validator whitelist can send users to /staking/stake/<validator_name>/
, and we’ll prepopulate the validator.
We should also display the users current delegated balance, the validator(s) they’ve delegated to, and their unclaimed rewards on /staking
.
Acceptance Criteria
On /staking/stake
- If there is no validator name in the
/staking/stake
URL, the user can enter the validator name - A link with the validator name in it
/staking/stake/<validator_name>
prepopulates the validator name - Users can enter the relevant details to initiate a delegation TX to the chosen validator
- Amount of NEAR to delegate
- User sees available balance they can delegate with
- “Available Balance” = available balance + lockup balance
- User cannot delegate more than “Available Balance”
- User can successfully delegate with NEAR in lockup contract
On /staking
- Users can view their total delegated balance
- Users can view their unclaimed rewards
- Users can view each validator they’ve delegated to
- Validator name
- Amount delegated
- Unclaimed rewards
Design Deliverables
UI Design: https://www.figma.com/file/oy0wBFxW5H8nTFZtFaMZpK/753-Delegate-v1?node-id=1162%3A795
Interactive Prototype: https://www.figma.com/proto/oy0wBFxW5H8nTFZtFaMZpK/753-Delegate-v1?node-id=1162%3A795&scaling=scale-down
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Control Group APIs and Delegation - Systemd
Delegation is a concept we inherited from cgroup v2, but we expose it on cgroup v1 too. Delegation means that some parts of...
Read more >Method: admin.contacts.v1.users.delegates.create
Creates one or more delegates for a given user. HTTP request. POST https://admin.googleapis.com/admin/contacts/v1/{parent=users/*}/delegates.
Read more >Class Delegate | Google.Apis.Gmail.v1
Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account.
Read more >Delegate v1 cgroup controller permissions - spinics.net
I have a service which runs as an unprivileged user (User=foo) with delegated cgroup (Delegate=true) that wants to use the "memory" and ...
Read more >AMA DELEGATE - V1-6674, V1-6674 - Marco Promos
AMA DELEGATE' badge ribbons ship FAST at no extra charge! 1000's of titles as low as 17¢ each. Low minimum order. Get the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Patrick1904
Total amount staked
Unclaimed rewards
Available for withdrawal
Pending release
Validator fee
As we discussed at the end of last week, I’m going to scope the UI down for each individual issue within the delegation epic, so that we can build this out in an iterative fashion. I’ll be moving the resources provided in my last comment to #722, where a “complete” version of the UI will live, representative of the Epic in its final state.
The following UI is limited to this issue, and only allows the user to enter a known validator, and stake with that validator:
https://www.figma.com/file/oy0wBFxW5H8nTFZtFaMZpK/753-Delegate-v1?node-id=1162%3A795