Adam Stallard
    • 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
    # Agora: Democratic stable money *Agora* is money generated by market activity that solves centralization and stability issues arising in other types of money. ## Problems ### Problem 1: Centralization Banks chosen by governments are given the power to mint (seigniorage) with all its advantages, to the disadvantage of other money users. Central banks expend sizeable effort to stabilize the value of money, the cost of which is born by money users. ### Problem 2: Stability Attempts to decentralize money production have failed to create a stable unit of account-- a prerequisite to a large-scale money system. Bitcoin is a notable example of a money system that struggles to be used for everyday economic activity because of its high volatility. Sellers are reluctant to sell if they think they might not recover their costs, and buyers are reluctant to buy if they think the value of their money might rise. Stablecoins have paved the way for blockchain payments, but are still ultimately pegged to centralized money. ([See problem one.](#Problem-1-Centralization)) ## Solution *Agora* is a money system that expands and contracts with market activity. It can be used as a unit of account without any link to a central authority. It creates the potential for a [universal dividend](#universal-dividend). ### The market #### Selling Sellers can sell anything they wish. They set a price in Agora. Blockchain tokens are sold simply with a smart contract. Other items or services are sold using a disputable transfer of Agora via [Celeste](https://celeste.1hive.org/). In these cases, when a sale is made, the seller sets an inspection period[^3] to give the buyer time to receive the goods and inspect them. Until the inspection period ends, the seller can extend the period, and the buyer can dispute the transfer. #### Minting and burning Agora Agora is minted by adding Colat tokens to the collateral pool in the Agora token contract. The number of Agora minted is equal to the value of the added Colat tokens priced in Agora.[^4] Minting Agora this way avoids Uniswap slippage, and helps [stabilize of the value of Agora](#Stabilizing-the-value-of-Agora). Colat tokens can be retrieved by anyone (even if they didn't mint Agora) by sending Agora to the contract to be burned. The number of Colat retrieved is equal to the number of Agora being burned divided by the net Agora created by the pool (all Agora ever minted minus all Agora ever burned) times the Colat in the pool. $$ Colat =\frac{AgoraToBurn \cdot ColatInPool}{AllAgoraMinted - AllAgoraBurned} $$ The number of Agora that can be minted or burned in a single block is limited by a [median vote that controls how much the collateral pool can change in size in a single block](#Collateral-pool-block-limit). Having a block limit is necessary instead of using a time-weighted price average of Agora-Colat, because an attacker could cause a price shift in a different pair and use the collateral pool before the Agora-Colat pair can be arbitraged to adjust to the new price. ### Stabilizing the value of Agora Having a [collateral pool](#Minting-and-burning-Agora) dampens Agora price swings. Price fluctuations are allowed to transfer from the Agora to Colat. An expanding market economy will cause Colat to rise in value, while a contracting market economy will cause Colat to lose value. The price of Agora can remain stable throughout these changes. Two additional longer term measures are available. [Universal dividends](#Universal-dividend) and [boosting the collateral in the pool](#Collateral-boost) can be used as extra measures to fight price deflation and inflation, respectively. Signals given by votes for these parameters can counteract price fluctuations even before the votes are enacted because of their influence on expectations. #### Burn and swap tool The burn and swap tool allows a user to burn Agora, receive Colat, and swap it for a popular asset (such as USDC) in one action. This tool will show the difference in quantity returned by swapping Agora for the asset directly versus burning Agora and swapping Colat for the asset. If the quantity is higher for swapping Agora directly, the [Colat minted to the pool needs to be increased](#Collateral-boost). ### Median votes Median voting is a method for democratically choosing a value. During a voting cycle, voters[^2] can select a value between a defined minimum and maximum (and change their vote as often as they wish). When the voting cycle ends, the median vote value is used. Median voting has sole control over Colat minting. All votes below have a minimum value of 0, no maximum value, and a voting cycle of 1 month. #### Universal dividend The number of Colat tokens to mint and send to [Unitap](https://unitap.app). This can be used to fight price deflation. #### Collateral boost The number of Colat tokens to mint and add to the collateral pool. This can be used to fight price inflation. #### Collateral pool block limit The maximum Colat that can be or added or removed from the collateral pool in a single block expressed as a percentage (in basis points) of the size of the collateral pool at the end of the previous block.[^1] #### Agora team The number of Colat tokens to mint and send to the DAO that builds and maintains Agora. ## Questions ### Where does Colat get its value? Colat gets its value from a belief in the growth of the market economy. ### Why will people use Agora? Sellers are attracted to the most [stable](https://) money available to their customers. Anyone interested in buying from the Agora marketplace can choose to receive Colat as a [universal dividend](#Universal-dividend) from [Unitap](https://www.unitap.org). Colat can then be easily exchanged for Agora. ### How will Agora hold its value in the presence of a more widely used national currency? What if merchants swap Agora for a widely used currency rather than burn it for Colat? This might be the currency they need to use to pay expenses (including rent, shipping, and taxes) which can't yet be paid in Agora. Voters need to keep a close eye on trade imbalances with Agora and other pairs. If the price of Agora is falling compared to other important assets, the [Colat in the pool needs to be increased](#Collateral-boost). The [burn and swap tool](#Burn-and-swap-tool) helps draw attention to imbalances and makes it easier for people to burn Agora rather than swap it directly. ### Isn't this another algorithmic stable coin that will fail like UST and Luna? UST was pegged to the U.S. dollar, which Agora will not be. Instead of auctioning off new Agora, the Agora system creates Colat via a universal dividend, followed by [simple minting of Agora based on the Colat/Agora price](#Minting-and-burning-Agora). If the market for Agora shrinks drastically, Agora should not destabilize in the face of heavy selling as long as [large quantities of Colat are minted](#Collateral-boost) to keep the value of an Agora burn and swap above a simple swap. Colat will experience a massive price drop in such a scenario. The price of Colat tracks the size of the Agora marketplace. ### If Agora isn't tracking USD, what is it tracking? To become a highly stable coin, Agora's value should track the value of a basket of goods sold in the Agora marketplace. The goods sold can change. [Median voters](#Median-votes) will take this into account when stabilizing the value of Agora, as well as [market pairs of Agora with other widely-used currency](#How-will-Agora-hold-its-value-in-the-presence-of-a-more-widely-used-national-currency). ### If the Agora marketplace shrinks, won't people trade Colat for other assets, destabilizing Agora? Agora should be allowed to shrink gracefully. I fear that a contraction in the Agora marketplace could cause Colat holders to trade their Colat for other assets, compounding the contraction. If you have a solution for this, please let me know, otherwise I'm not ready to proceed with Agora. Thanks to Vitalik Buterin for suggesting the [thought experiment](https://vitalik.ca/general/2022/05/25/stable.html). [^1]: The Agora smart contract checks the Uniswap contract for total Colat in the pool at the time of the last block, the total Colat added since the last block, and the total Colat removed since the last block are all tracked. A mint or burn operation that would cause either the total added or the total removed to exceed the block limit is rejected. Added and removed totals are considered independently, i.e. they aren't combined to form a net total. [^2]: Voters are limited to one vote each through [BrightID](https://www.brightid.org). See [median mechanism](https://en.wikipedia.org/wiki/Median_mechanism). [^3]: The minimum inspection period is five days. [^4]: [The pair price from Uniswap can be computed as in this example.](https://ethereum.stackexchange.com/questions/98685/computing-the-uniswap-v3-pair-price-from-q64-96-number)

    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