Disclaimer
In this doc, we describe only tech specs and requirements for the vesting escrow smart contracts that might be used for Lido TRP in the future.
This doc has nothing to do with Lido TRP policy.
To make Token Reward Program (TRP) vesting for the Lido DAO contributors transparent, accessible, and tax optimized, we need a smart contract(s) that will control all TRP vesting operations.
TRP vesting contract should:
Also, it is worth having TRP UI for contributors' comfort. TRP UI should:
Yearn vesting escrow seems to fit most of our needs. It already has the following:
What is missing:
The solution is proposed based on the internal discussion with Protocol and Automation teams.
Use Yearn vesting escrow as a base.
Proposed changes:
rug_pull
to revoke_unvested
revoke_all
method that will allow DAO to withdraw all the funds from the escrowaragon_vote
method for Aragon voting, a snapshot_set_delegate
method for Snapshot voting delegation, and a delegate
method for further voting power delegation with all available tokens on the contract's balance. Make these methods operate over upgradable middleware to encounter possible changes in voting interfacesA detailed description of the contracts with proposed changes can be found here
After contracts deployment, implement UI for contributors' comfort that will:
// #Graph example#
//
// available tokens
// | _/------------
// | _/
// | _/
// | _/
// | _X - you are here
// | _/
// | _/
// | /
// | .|
// | . |
// | . |
// | . |
// +==============+========+==============+============---> time
// vesting start cliff end vesting end
Note: Yearn contracts already have events for each new vesting deployed, so there is no need to implement the view method for all recipient vestings
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing