Michael Zargham
    • 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
    # Reporting Standards for Community Wallets The 0L ecosystem relies on Community Wallet operators to serve as stewards of the ecosystem by funding diverse activities. The goal of the Polycentric Programs is to ensure that there is an evolving and diverse set of stakeholders operating community wallets but in order for the 0L commmunity members to choose how and where to allocate resources there needs to be transparency in the allocation of community funds. Pursuant to creating transpareny this document outlines a minimal viable reporting standard for community wallets. ## Overview ![](https://i.imgur.com/q7M27AV.png) ## Motivating User Stories As a community member I want to have visibility into where, when and why community wallets disperse funds. As a community wallet operator, I need visibility into the counterparties recieving dispersements. As a project contributor, I need to the right to decide how much or how information is attached to my identity within the community. ## Implementation Agnostic The proposed solution is that each individual Community Wallet Operator will maintain a simple public record of their funding activities that satisfies the extensible schema presented in this document. The emphasis is on the flexible data structures because they serve as a kind of communication protocol. Human users and software systems alike can leverage this data structure to read and write information about the activities of within the ecosystem. This *solution architecture* **neither** requires **nor** precludes the implementation of this reporting functionality into software. Furthermore, it enables but does not require that some of this software get deployed on the 0l blockchain. ### Minimal Implementation Practically, an implementation is required. The minimal implementation of this standard is for the Community Wallet operators maintain copies of the relevant files `contributors.json` and `payments.json` in public github repos. Contributors may modify their own records in a `contributors.json` file via pull request. Community Wallet operators may commit changes to their `payments.json` by writing in new records representing new payments. The git history of the `payments.json` provides provenance for the data and should not be tampered with. It is expected that extension to more sophisticated implementations will follow. Friction in reporting could be greatly reduced by a simple web app, but it is important to note that we do not wish to create centralization around that app. As noted above, this standard is intentionally agnostic of implementation. ## Contributors The identity of a contributor in the 0L community is an onchain account. As that 0L network grows onchain accounts will develop an activity history. Inititally that history simply comprises the transaction that added it to the network and a tower height if it has chosen to mine. As the karma hustle ramps up, contributors will be reciving payments from community wallets sponsoring missions. Community wallet operators need to be able to match the wallets of recipients to discord usernames, github handles, or other online identities in order to ensure the funds are dispersed to the appropriate community members. In order to ensure transparency in the stewardship of community funds the community wallet operators *may* require the contributor to provide some information. Strictly speaking the only required information is a recieving address, but it is expected that community wallet operators will due diligence to ensure that the compensated parties are actually the once who provided the labor. In order to ensure consistency across independently managed contributor database the `contributors.json` is as follows. ### Contributor Self-Reporting The following top level schema is required. It provides the basic structure for joining records to accounts on chain without providing any strict requirements on what information is required. ``` {"account":<account>, "type":<int>, "details":<dict>} ``` It is nontheless possible to add addition fields to the top level record, as well as to define types assuming a master mapping is managed. | Index | Type | Description | Required Fields| Optional Fields | | -------- | -------- | -------- | -------| -------- | | 0 | contributor | this is the default type | None | `'githubId', 'discordId', 'twitterId', 'gdocsId',...`| | 1 | team | this type for use by collectives | None | `'name','description',members',...`| | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$| $\vdots$| This structure intentionally avoids required fields but leaves a provision for them as there may need to be some more detailed types which require *required fields* to satisfy APIs to external systems. ### Extensible Schemas The extended schema for the default contributor type might look as follows. ``` {"account":<account>, "type":0, "details":{ 'githubId':<str>, 'discordId':<str>, 'twitterId':<str>, 'gdocsId':<str> } } ``` It is important to note that the information requested in details may vary widely depending on the community wallet operator and the kinds of contributions they are compensating. The example above is based on my specific experiences as a contributor. I have collaborated with other 0L contributors via github, discord, google docs and twitter. ``` {"account":27de1f87599fd1f8ae5bd1101511d546, "type":0, "details":{ 'githubId':"mzargham", 'discordId':"250086586450968576", 'discordName':"mZ#3472", 'twitterId':"mzargham", 'gdocsId':"michael.zargham@gmail.com" } } ``` I have made personal choices to use a specific social accounts which are directly identifiable to me personally, but I could just have easily contributed psuedonomously by creating new accounts in one or more of these platforms. Even if I had done so, this data model allow me to create a strong "local" identity reflecting my personal history as an 0L contributor. Another mode of collaboration that is common in online communities to form teams or working groups. Working groups can accomplish higher complexity tasks with more reliability by sharing the work, even when the exact roles and responsibilities are variable. By including teams in our contributors model, subsidiarity is supported naturally. The extended schema for a team contributor might look like the following. ``` {"account":<account>, "type":1, "details":{ 'name': <str> 'description':<str> 'pointOfContact':<account>, 'multisig':<bool>, 'members':<list of accounts> } } ``` This pattern is appropriate for when working groups need their own budget allocations. The working group can have a well defined persistent identity even the invidual members or even the point of contact change over time. I have mocked up some additional fields that could help ensure greater transparency and accountability for team type contributors. Specifically, I am implying that teams should use multisig accounts, but they should still provide a `pointOfContact` who is an individual contributor account. They may or many not choose to provide a list of additional individual contributor accounts. ## Payments Payments are naturally represented on chain as transactions but they lack the relevant context to make them useful for accountability purposes. Community wallets in particular have already made their accounts public, as well as extensive details about their respective goals. The flow of funds to contributors can be identified by enriching the transactions with contributor metadata retreived from a `contributors.json` file. However, this doesn't provide context about specifically activies were funded by this transfer. The purpose of the `payments.json` is to provide that context but this standard must support an evolving variety of use cases. Therefore, extensible schema approach is again employed. ``` {"transaction":<transactionHash>, "type":<int>, "details":<dict>} ``` ### Relationship to onchain data Note that the following details are not needed in the `payments.json` record precisely because they are available via any block explorer. It is expected that database-based implementations of this standard will leverage theopen source block explorer code to collect and join this information for reporting purposes. ``` {"transaction":<transactionHash>, "sender":<account>, "recipient":<account>, "amount":<account>, "epoch":<int>, "round":<int> ``` As with the contributor schema, we are intentionally keeping the top level schema generic and emphasizing substandarization of types. | Index | Type | Description | Required Fields| Optional Fields | | -------- | -------- | -------- | -------| -------- | | 0 | recievable | this is the default type | None | `'memo',...`| | 1 | bounty | this type for paying mission bounties | None | `'memo','missions',...`| | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$| $\vdots$| The default type "recievable" is intentionally generic. Although, the memo field is not required, absense its use there is scarcely any point to recording the the transaction in `payments.json`. However, it is up to the community to hold community wallet operators to a high standard of reporting. If a community wallet is dispersing funds with at least reporting mimimal memos, then it behooves us to reallocate our resources towards community wallets that meet our reporting expectations. ### Extensible Schemas Based on the current activies in the 0L ecosystem, we're expecting community wallets to primarily fund bounties for missions developed as part of karma hustle. An extended schema for a bounty payment for a mission or collection of missions would look like. ``` { "transaction":<transactionHash>, "type":1, "details": { "memo": <str>, "missions": [ { 'recordURL':<URI>, 'author':<account>, 'worker':<account, 'reviewer':<account>, 'artifacts':<list of URIs> }, ..., 'recordURL':<URI>, 'author':<account>, 'worker':<account, 'reviewer':<account>, 'artifacts':<list of URIs> } ] } } ``` Note that in the above I have further substandardized by proposing a data structure for specifically encoding a batch of missions that were completed. While not all bounties will have more than one mission, in practice missions are broken down into small well defined tasks. However, it is extremely common for these tasks to be interelated, and for them to be defined, completed and reviewed in clusters. As it happens this standard is being proposed and dogfooded by the analytics working group as part our effort to increase transparency in the 0L ecosystem. The following example transaction record is a prototype of the first payment to be disbursed by the Deep Technology Research Program\<link\>. Here is an example record. ``` { "transaction":<0xTBD>, "type":<1>, "details": { "memo": "Karma Hustle bounty for completing the first batch of missions in the analytics project, specifically making permission tree data accessible.", "missions": [ { 'recordURL':'https://airtable.com/appuiDshjiBzOAGl2/tblixhNzkEaKt3a75/viwlz7S2kmgCkoHFS/rec4D7I4k2KS4ytt5', 'author':<mZ's account here>, 'worker':<gnuAndrew's account here>, 'reviewer':<B's acccount here>, 'artifacts':[<github link to code>] }, ..., 'recordURL':'https://airtable.com/appuiDshjiBzOAGl2/tblixhNzkEaKt3a75/viwlz7S2kmgCkoHFS/recXtnhbiUpaBMKQx?blocks=hide', 'author':<mZ's account here>, 'worker':<gnuAndrew's account here>, 'reviewer':<B's acccount here>, 'artifacts':[<github link to code>] } ] } } ``` ## Protoype The prototype implementation of `contributors.json` and `payments.json` can be found at \<link to github\>, which at the time of this document contains the original three contributors to the analytics project and the first payment by the Deep Technology Research Program Community wallet with on chain address \<address\>. The associated transaction hash and its details can be found on the block explorer \<link to tx on block explorer\>. We propose the following next steps: * Other Community wallets should fork our `contributors.json` and `payments.json` files to seed there own versions of these files. * after a few weeks of testing out the data structures proposed herein community wallet operators convene to discuss and refine this reporting standard with input from community * assuming this standard or variation thereof is deemed suitable, proceed with the development of MVP software to streamline data entry and provide basic reporting functionality

    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