Skip to content

Update token.md #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update token.md #483

wants to merge 1 commit into from

Conversation

pretf00d
Copy link
Contributor

@pretf00d pretf00d commented May 9, 2025

have changed copy here to show the new token calculation equation.

Description

Changes

  • ...
  • ...

Summary by CodeRabbit

  • Documentation
    • Updated token documentation to provide detailed information on initial issuance, distribution, and the distinction between COW and vCOW tokens.
    • Clarified the calculation of circulating supply, including the impact of vCOW vesting.
    • Removed previous inflation schedule details and improved overall structure and clarity.

have changed copy here to show the new token calculation equation.
@pretf00d pretf00d requested a review from a team as a code owner May 9, 2025 14:34
Copy link

vercel bot commented May 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview May 9, 2025 2:34pm

Copy link

coderabbitai bot commented May 9, 2025

Walkthrough

The documentation for token supply and inflation was rewritten to provide a detailed account of initial token issuance, allocation, and vesting mechanics. The update introduces the vCOW vesting token, clarifies the circulating supply calculation, and removes the previous inflation schedule, focusing on distribution and vesting specifics.

Changes

File(s) Change Summary
docs/governance/token.md Replaced inflation and supply section with detailed token issuance, allocation breakdown, vCOW vesting info, and explicit circulating supply formula. Removed prior inflation schedule and clarified distinctions between COW and vCOW tokens.

Poem

In the meadow of tokens, supply takes new flight,
With vCOW and COW, their numbers set right.
Vesting now clear, allocations in view,
Circulating supply—precisely renewed!
The old ways are gone, new clarity shines bright,
As rabbits rejoice in the ledger’s new light.
🐇💎

Tip

⚡️ Faster reviews with caching
  • CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.

Enjoy the performance boost—your workflow just got faster.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

github-actions bot commented May 9, 2025


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (9)
docs/governance/token.md (9)

34-38: Clarify token issuance statement
The line doesn’t specify that these are COW tokens, nor expand the TGE acronym. Consider rephrasing for clarity:

- There were 1 billion tokens issued during the TGE.
+ There were 1 billion COW tokens issued at the Token Generation Event (TGE).

40-58: Improve consistency and grammar in the distribution section

  • Standardize “billion” lowercase for consistency with other docs.
  • The phrase “stakes on the protocol” is awkward; “stakes in the protocol” reads more naturally.
  • The CoWmunity Investment bullet repeats “protocol.” Streamline it as shown:
- The allocation of the initial 1 Billion COW token supply is as follows:
+ The allocation of the initial 1 billion COW token supply is as follows:

- CoWmunity Investment: 10%, as an option to increase early users' stakes on the protocol in exchange for a financial contribution to the protocol, fostering engagement and long-term commitment from the broader CoW Protocol community.
+ CoWmunity Investment: 10%, offering early users the opportunity to increase their stakes in the protocol through a financial contribution, fostering long-term commitment from the community.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~54-~54: The preposition ‘in’ seems more likely in this position.
Context: ... option to increase early users' stakes on the protocol in exchange for a financia...

(AI_HYDRA_LEO_REPLACE_ON_IN)


61-74: Rephrase for clarity and conciseness
The vCOW description can be combined into one clearer sentence. For example:

- vCOW is a separate token contract with token holders that was issued during the TGE. The contract exposes a “swap” function allowing the conversion of vCOW into COW at 1:1.
+ vCOW is a vesting token contract issued at the Token Generation Event (TGE); it provides a `swap` function to convert vCOW into COW on a 1:1 basis.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~65-~65: Possible missing comma found.
Context: ... the TGE. The contract exposes a “swap” function allowing the conversion of vCOW into CO...

(AI_HYDRA_LEO_MISSING_COMMA)


75-84: Specify “tokens” and improve terminology

  • “all vCOW” should read “all vCOW tokens” for precision.
  • Simplify the parenthetical percentage remark:
- Historically, all vCOW was excluded from circulating supply, but as the number of COW token holders has increased, we have updated our API to reflect how much vCOW is not swappable.
+ Historically, all vCOW tokens were excluded from circulating supply. We’ve updated our API to deduct only the unvested portion of vCOW (currently ~25%) from total supply, which increases reported circulation.

85-95: Clarify formula and formatting

  • Reword the introduction and format the formula as inline code for readability:
- The current formula CoW DAO uses to calculate circulating token supply is the following:
+ CoW DAO uses the following formula to calculate circulating token supply:

- Circulating Supply = Total Supply - Unvested Tokens - DAO Treasury Holdings
+ `Circulating Supply = Total Supply - Unvested Tokens - DAO Treasury Holdings`

101-101: Use a proper heading instead of bold text
Markdownlint flags emphasis as a heading. Replace with heading syntax:

- **1. Total Supply (1 Billion COW)**
+ ### 1. Total Supply (1 billion COW)
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

101-101: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


111-111: Use a proper heading instead of bold text
Convert emphasis to a subheading:

- **2. Unvested COW Tokens**
+ ### 2. Unvested COW Tokens
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

111-111: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


125-125: Use a proper heading instead of bold text
Convert to a heading for consistency:

- **3. DAO Treasury Holdings**
+ ### 3. DAO Treasury Holdings
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

125-125: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


135-135: Fix comma splice before “however”
Use a semicolon or split into two sentences:

- These contracts were not developed nor deployed by CoW DAO, however, they are the bridged versions of the canonical token from Ethereum...
+ These contracts were not developed nor deployed by CoW DAO; however, they are the bridged versions of the canonical token from Ethereum...
🧰 Tools
🪛 LanguageTool

[typographical] ~135-~135: The word “however” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...re not developed nor deployed by CoW DAO, however, they are the bridged versions of the ca...

(HOWEVER_SENTENCE)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5535a7c and 85d500c.

📒 Files selected for processing (1)
  • docs/governance/token.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/governance/token.md

[uncategorized] ~54-~54: The preposition ‘in’ seems more likely in this position.
Context: ... option to increase early users' stakes on the protocol in exchange for a financia...

(AI_HYDRA_LEO_REPLACE_ON_IN)


[uncategorized] ~65-~65: Possible missing comma found.
Context: ... the TGE. The contract exposes a “swap” function allowing the conversion of vCOW into CO...

(AI_HYDRA_LEO_MISSING_COMMA)


[typographical] ~135-~135: The word “however” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...re not developed nor deployed by CoW DAO, however, they are the bridged versions of the ca...

(HOWEVER_SENTENCE)

🪛 markdownlint-cli2 (0.17.2)
docs/governance/token.md

101-101: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


111-111: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


125-125: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)

@pretf00d
Copy link
Contributor Author

pretf00d commented May 9, 2025

Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

I have read the CLA Document and I hereby sign the CLA

Copy link
Contributor Author

@pretf00d pretf00d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@pretf00d pretf00d self-assigned this May 9, 2025



Historically, all vCOW was excluded from circulating supply, but as the number of COW token holders has increased, we have updated our API to reflect how much vCOW is not swappable.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would change to "Historically, all vCOW was excluded from circulating supply, but as the amount of vested - and thus claimable - tokens is growing, we have updated our API to include how much vCOW is now swappable."




The change in the API now computes how much of vCOW is still not swappable (roughly 25% as we are one year before the end of the vesting schedule) and only deducts this from the total circulating supply (leading to an increase in circulating supply between the two calculations).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would change to "The updated API now includes vested - yet unclaimed - vCOW tokens. This offers a more accurate representation of the circulating supply as vested vCOW tokens can be converted to COW any moment by their holders."


**2. Unvested COW Tokens**

These are tokens that have been allocated (to team members, contributors, advisors, etc.) but are locked and not yet available for use or sale.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would change to
"These are tokens that have been allocated (to team members, investors, advisors, etc.) but are not yet vested and therefore not yet available for use or sale."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants