Axel Cortes Cubero
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Vested Interest/Lock for the Long term Here we make a preliminary exploration of several possible mechanisms for adding staking-like features to Filecoin. We focus in particular on the following mechanisms: 1) Any token holder is allowed to lock their tokens for a given period of time, in exchange for some reward at the end of the period. 2) SP's are allowed to lock in additional collateral in exchange for a higher QAP. 3) SP's are allowed to lock their collateral for a longer period of time in exchange for a higher QAP. There are two main cryptoeconomic concerns we want to address for each option: 1) We need to properly assess the value added to the network by locking this additional amount of token, in order to price the reward. 2) This reward should be constrained by not being "too good", in the sense that it should be economically preferable to provide storage if possible, than to lock tokens. The Value added to the network depends on what is done with the additional locked tokens: 1) The locked tokens could simply be locked and unusable for the defined time period. 2) The locked tokens could be used as a lending pool, particularly to provide loans for SP collaterals. ## Network value criteria We want to introduce a new token locking mechanism if it would be "good for the network". We define "good" here by looking at two quantities: the **effective circulating supply** and the **onboarding rate**. ### Definitions We define $P(t)$ to be the total network QAP at time $t$. The onboarding rate is given by $O(t)=\frac{dP(t)}{dt}$. We define $R(t)$ as the total network *raw* power. The effective circulating supply, $C(t)$, is defined as the amount of FIL that has been minted, which has not been burned, or is not locked at time $t$. We define $B(t)$ to be a "burn rate" function, which characterize the percentage of circulating supply that is typically burned at a given time. We define $N(t)$ as the rate of token minting at time $t$. The circulating supply then satisfies the following differential equation, $$\frac{d C(t)}{dt}=N(R(t))-B(t)C(t)-\frac{d\mathcal{P}[C,P,R](t)}{dt},$$ where we have defined $\mathcal{P}[C,P,R](t)$ as the amount of tokens that are locked at a given time as pledged collateral, which depends on the history of C, P, and R. For more details on the definition and behavior of this pledge collateral term, consult [this note](https://hackmd.io/@R02mDHrYQ3C4PFmNaxF5bw/rkIz9WCb5) Our main criteria we will evaluate are then the effective circulating supply, $C(t)$ and the Onboarding rate $O(t)$, and we try to understand how each staking mechanism would affect them. ## Everyone stakes ### Token is locked away The first option is that we introduce an option for every token holder to lock an amount of token for a period of time $T$ (for simplicity now we consider just a single locking period for everyone). We first explore what happens if this stake is simple locked away and made unusable for the time period. We define $X(t)$ as the locking rate under this mechanism. The equation describing the circulating supply is then modified as $$\frac{d C(t)}{dt}=N(R^-(t))-B(t)C(t)-\frac{d\mathcal{P}[C,P^-,R^-](t)}{dt}-X(t)+X(t-T),$$ That is, the new change in the circulating supply is given by the differnce between the new tokens that are being locked at time $t$ and those that were locked at time $t-T$ and are now released. We can further decompose $$X(t)=X_{\rm new}(t)+rX(t-T)$$, where $r$ is a renewal rate, describing what fraction of locked tokens are locked again after the locking period ends, and $X_{\rm new}(t)$ are newly locked tokens that had not previously been locked. The added value to the network here is given by the fact that the effective circulating supply is reduced, specially if $X(t)$ is increasing with time. Otherwise $X(t)$ may reach an equilibrium where it is approximately constant, so a nearly constant amount of the effective circulating supply is reduced. This approach has a secondary effect of discentivizing storage onboarding rate (reflected above by the quantities, $R^-, P^-$, denoting that these are the network raw and QA power, adjusted by this negative incentive). Specially if the reward earned from this new staking mechanism is to be awarded from the same pool of new minted tokens, $N$. This means that some of the new rewards will be given to these staked tokens, diminishing the pool of rewards available for storage providing (otherwise we need to figure another source to reward the staked token from). There also exists the danger this staking reward is so good that it becomes economically preferable to simply lock tokens, rather than to provide storage. **TLDR: Lower circulating supply, not great for storage power growth** ### Locked Token goes to work Another approach is that the token that is staked, is goes instead towards a lending pool, which is used to make loans to other SP's to pay for collateral. The block reward from that new SP can then be used to pay back the lending pool, wit interests. The Equation for circulating supply becomes $$\frac{d C(t)}{dt}=N(R^+(t))-B(t)C(t)-\frac{d\mathcal{P}[C,P^+,R^+](t)}{dt},$$ where the net effect is an increase in storage onboarding (denoted by $R^+$ and $P^+$). There is no additional $X$ term in this case, as this extra locked token is instead is accounted by the increase in locking of collateral. The return on investment for this kind of stake can also be determined by the size of the lending pool, the number of loans made for miners and their payback reliability. **TLDR: Stimulates storage power growth, lower circulating supply (more initial pledge locked up)** ## SP's are allow to pay additional initial pledge. ### Token is locked away In this case, only SP's are offered this staking opportunity, where they are able to pay a higer price or initial pledge, in exchange for a higher QAP. We look at the case where the extra amount paid is locked and unused. The equation for circulating supply looks like $$\frac{d C(t)}{dt}=N(R^+(t))-B(t)C(t)-\frac{d\mathcal{P}[C,P^+,R^+](t)}{dt}-X^-(t)+X^-(t-T),$$ Here $R^+$ and $P^+$ represent that this is an extra stimulus for storage power growth, as new options are offered that may attract new storage providers. There is a risk however that this reduces too much the profit of storage providers who do not pay extra for initial pledge. It may become an initial pledge bidding war. $X^-$ represents that while an additional amount is locked by this mechanism, it is less than what would be locked if offered to the general public. **TLDR: Bidding war for initial pledge, perhaps good for storage power growth, lowers circulating supply but not as much.** ### Token goes to work In this case SP's pay extra initial pledge, and that additional amount is used as a lending pool for loans for other SP's. Circulating supply is given by $$\frac{d C(t)}{dt}=N(R^{++}(t))-B(t)C(t)-\frac{d\mathcal{P}[C,P^{++},R^{++}](t)}{dt},$$ where there $R^{++}$ and $P^{++}$ mean that there is double the stimulus here for storage power growth: there is the option to pay more fore collateral in exchange for extra power, which may attract more SP's as well as loans available for more SP's to join. There is again an initial pledge bidding war, but it is somewhat ofset by the fact that the lending pool also invites more low-collateral paying SP's. For Every SP that pays double their collateral, they attract another SP that will pay standard collateral. **TLDR: Reduced bidding war problem for initial pledge. Large stimulus for network growth.** ## Option to increase locking period. We briefly consider here what is the value added to the network of having optional longer locking periods. Initial pledge is kept locked for some period $T_P$. We have explored more details [here](https://hackmd.io/@R02mDHrYQ3C4PFmNaxF5bw/rkIz9WCb5) on the role locking period plays on the amount of token locked by initial pledge. There are two scenarios to evaluate. First we assume Initial pledge is going down with time. In this case when the period $T_P$ passes, there is a "collateral release opportunnity". That means that when the SP is free to release their collateral, they will do it, and re-seal with a lower collateral, resulting in an increase in circulating supply. Having longer locking period while initial pledge is decreaseing, results in lower effective circulating supply, as more old higher priced collateral is kept locked. The other scenario is that initial pledge is increasing (which can happen in a previous of slow network growth). Longer locking periods do not have an effect on the circulatinng supply here. The only added benefit is in terms of network stability, in that SP's have agreed to store the data for longer periods of time.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    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.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully