fstrauf / tokenomics-hub-investor

next-js-blog-with-comments-fstrauf.vercel.app
3 stars 3 forks source link

Diagram tool #171

Open fstrauf opened 1 year ago

fstrauf commented 1 year ago

https://github.com/jerosoler/Drawflow

https://gojs.net/latest/samples/flowchart.html

https://github.com/alyssaxuu/flowy

https://reactflow.dev/docs/examples/misc/use-react-flow-hook/

fstrauf commented 1 year ago

basic version running in diagram branch.

Needs drag and drop of nodes into group: https://reactflow.dev/docs/examples/nodes/intersections/

and edges with labels: https://reactflow.dev/docs/examples/edges/custom-edge/

https://reactflow.dev/docs/guides/troubleshooting/#warning-seems-like-you-have-not-used-zustand-provider-as-an-ancestor

fstrauf commented 1 year ago

Use a chatgpt prompt

Turn the below text into a mermaid flowchart input.
Use mermaids syntax: https://mermaid.js.org/syntax/flowchart.html
Ensure to convert any text with brackets () into strings ""
SHowcase the users in the diagram

YFI's main utility is that of a governance token, giving voting rights to YFI holders over governance proposals. A further breakdown of the governance rights is the following:
Submission and voting on Yearn Improvement Proposals (YIPs), which govern the protocol and define changes to its tokenomics
Voting on how to allocate fees that are collected by Yearn Finance on yVaults through different veYFI gauge weights. The gauge weights essentially determine yield distributions
Voting to authorize treasury spending and YFI buybacks via the BABY program
Setting of yVaults parameters, such as minimum deposit thresholds

In addition to governance, YFI is also used to earn boosted rewards via its locking in veYFI. It is important to specify that both governance power and yield rewards are proportional to veYFI lock size and duration.
Demand Driver:
Governance
- YFI token holders: general users want to hold YFI due to the governance rights that are associated with the token, through its locking mechanism into veYFI. As longer and bigger veYFI locks give more governance power, demand for YFI is expected to increase. Since proposals can change financial parameters such as reward structures and fees distribution, users would ultimately want to acquire and hold the token to participate in governance and capture value from protocol earnings.

Yield Maximization:
- users that have deposited in yVaults want to maximize their yields on deposits by acquiring more YFI to lock in veYFI for boosted gauge rewards.
Value Creation:
The yVaults are effectively Yearn’s primary value creation product, allowing users to earn optimized yield simply by depositing their assets in the protocol.

Value is captured by the protocol via the collection of fees, which are Yearn’s primary revenue source. These fees contribute to Yearn’s treasury growth and are reinvested in work being done by core contributors to improve the protocol.
Value Capture:
Value accrual to protocol:
Value is captured by the protocol via the collection of fees, which are Yearn’s primary revenue source. These fees contribute to Yearn’s treasury growth and are reinvested in work being done by core contributors to improve the protocol.

Value accrual to Token
Value is also accrued to the token, in terms of price increase, via the BABY program, which effectively buys $YFI on open market. These buys create positive buy pressure from the protocol itself, sustaining $YFI price.
Business Model:
Yearn Finance business model is centered around charging fees.

Revenue comes from:
- Management fee, which is paid for utilizing the services offered by Yearn finance, which are maintained by the protocol and its community
- Performance fees, which is a fee that gets dedicated from the profit obtained via yield strategies that the users invest in

Revenue is denominated in:
The revenue accrued by the protocol as fees from yVaults is denominated in the underlying asset being deposited in the vault, such as ETH, USDC, DAI etc.

Revenue goes to:
The fees being collected are then primarily directed to Yearn’s treasury, which employs it for various uses. The most important of these uses, after the passing of YPI-56, is to employ a portion of these fees to buy back YFI tokens through the BABY program. The remaining treasury funds are used for development costs, operating expenses and for retaining a liquidity buffer that is required to navigate periods of market uncertainty.

Here are the users

veYFI holders   
veYFI holders, which are also YFI holders, are a special class of Yearn users which engage in active protocol governance by expressing their voting rights in governance proposals. This class of participants tends to be more aligned with the protocol mission when compared to general users, since they have “skin in the game” in the form of locked YFI, thus are incentivized to perform actions that benefit the protocol as a whole and have a positive impact on YFI price.
Yearn Treasury  
the protocol itself is indeed an ecosystem participant, as the Yearn Treasury performs active asset management, deploying assets in other protocols to maximize yield, and performing buybacks as part of Yearn’s Buyback And Build Yearn (BABY) program.
Yearn Users 
Yearn Users are general kind of participants which are looking to maximize the yield on their crypto assets via Yearn. This class of participants is motivated by monetary incentives and mainly engages with the protocol through the Yearn Vaults, where they deposit asset to receive yvTokens
fstrauf commented 1 year ago

Then using mermaid to convert into this https://mermaid.live/edit#pako:eNp1VMluIkEM_ZVSnzJS8gNEGikEBXFAirJJzPQcTLeBUqpdrVqYIVH-fezqFQIX6LKf7ef1Mytsidkk2zqod-pldptTTj6um_fc7tERUIE5KbV6WPzOM_5VO2tKdD7P_iT54tGz4jmuK-29tqSASrW3QdNW8Uv0LXSDeGeMLSAwjG3eehBrFPSqFh4cgo_uMCCDVRDDzjr9gb1a-RqpFLUEFoLreFhD8d6FPbxBNCGRxNBE3HRCVYODCsOQT5ururn52XAfvY8SGCs6LmNZGyEnZndU1xlWwnTmNNd3bFEmxatnMkx2joQOjIq-I3fqaKXRlGoJ_3SlP3pOXWYpgYeFiPbYdC_9n_SvkQl4C3GLT_gXXCnxp9b6gGUjVq6Rn-XxBiaiuucanOPARRN399YYLAQg5RfhMBX-pIgXAkAdosMjm9rZYAtrEkIGJSGhKFzk0vG8dIBvwew70kWrpFVXtdMFKk2FMMMfZ5OfRq8JvVdL3iUjMbiJsMUKKTygeF_2bwnfEqnRbayrZLsa1OMgGMG--UvkHe6REvOn5uus0zFUtO1nEkfiETAHXoY77zGwpxmSrTSBtFzTCKBAEG2EsY8VgqOXYUnnlmvLxUty1SnOFi3NeD99aQfGztIIiaDbhcbl6-kmDJjjjRvNdH_DpMTtLIwvm3g7ip3MUspD39g2lUkNoguG3emR_Wk_1dX0brqSQeTcq2aIcsquswq5Vbrk-_uZWp2FHbvOswl_luDe8yynL8bxybPPByqyyQaMx-ss1iW3aaZBHPbSGuiXtcMbSx2sWzYXPh36r_9DfBkq