3 releases
0.1.3 | Mar 13, 2022 |
---|---|
0.1.2 | Feb 28, 2022 |
0.1.1 | Feb 28, 2022 |
#39 in #governance
81KB
1.5K
SLoC
save-token ✌️
SAVE Token: A Simple Agreement for Vote-Escrowed Tokens
About
The Simple Agreement for Vote-Escrowed Tokens, SAVE, is a derivative which enforces that tokens must be locked for a specific period of time.
As they are not directly convertible to the underlying token, SAVEs are a powerful primitive for issuing grants for DAO participants that do not restrict transferability of tokens.
We're in active development. For the latest updates, please join our community:
- Twitter: https://twitter.com/TribecaDAO
Architecture
SAVE tokens consist of three tokens:
- The underlying token, which is the token intended to be staked into the DAO.
- The Yi token, which backs the SAVE token. This token is usually backed 1:1 by the underlying token; however, one can increase the conversion rate of the SAVE tokens by increasing the Yi's conversion rate.
- The SAVE token, which is the primary token issued by this protocol.
Note
- SAVE is in active development, so all APIs are subject to change.
- This code is unaudited. Use at your own risk.
Addresses
Program addresses are the same on devnet, testnet, and mainnet-beta.
Contribution
Thank you for your interest in contributing to Tribeca Protocol! All contributions are welcome no matter how big or small. This includes (but is not limited to) filing issues, adding documentation, fixing bugs, creating examples, and implementing features.
When contributing, please make sure your code adheres to some basic coding guidlines:
- Code must be formatted with the configured formatters (e.g.
rustfmt
andprettier
). - Comment lines should be no longer than 80 characters and written with proper grammar and punctuation.
- Commit messages should be prefixed with the package(s) they modify. Changes affecting multiple packages should list all packages. In rare cases, changes may omit the package name prefix.
License
Tribeca Protocol is licensed under the GNU Affero General Public License v3.0.
Dependencies
~21–32MB
~553K SLoC