Work Smart Contract

From DAO Governance Wiki
Jump to navigation Jump to search

A Work Smart Contract (WSC) is the basic smart contract used to engage a DAO under the DGF system. A WSC describes the previously agreed upon protocols that a worker/member of the DAO must follow to complete work the DAO will deem valid.

A WSC is hosted in the Forum where it can be found by a potential customer's UI along with the humanly readable advertisement and explanation of the work that a customer can expect from a worker in the DAO.

A customer who chooses to engage the DAO for work does so by encumbering a $ fee in the WSC. The amount of $ fee required is specified in the Forum, which is available on the customer UI. Then, following DGF work flow:

  1. the WSC selects a worker to work for the customer. The selection is done pseudo-randomly from the REP tokens that workers have previously encumbered in official DAO Availability Smart Contracts.
  2. The worker then completes the work for the customer off chain, according to DAO protocol.
  3. When the work is completed the worker submits the evidence as a post to the Forum, and submits the address of the post to the WSC.
  4. The WSC then engages a Validation Pool, transferring the original customer's $ fee and the worker's work evidence post address in the Forum.
  5. The Validation Pool
    1. Mints new REP in proportion to the customer's $ fee
    2. Solicits REP-weighted votes from every member of the DAO to determine if the work evidence counts as valid or invalid. (The determination of valid or invalid is automated by the DAO members' UI, which reflects the protocols the DAO has previously agreed upon during legislative governance.)
    3. Determines the result of the vote and the consequent re-allocation of REP. (See details in theValidation Pool page.)
    4. Distributes the $ fee to all DAO members in proportion to their REP holdings (this is called the REP salary).

Typical additions[edit | edit source]

A Work Smart Contract will typically include more functionality than the minimal functions described above.

For instance, typically there will be a field where customers as well as workers can input their perspectives on the off-chain experience to the Forum before the WSC sends the $ fees and encumbered worker REP to the Validation Pool.

Unsatisfied customers will demand adjudication. An arbitration trigger will be included in the WSC of more sophisticated DAOs. When an arbitration trigger is engaged by a customer, before the WSC engages the Validation Pool, a judge will be called from the associated ArbDAO to adjudicate the dispute between the customer and the worker.

Example WSC[edit | edit source]

Take, for instance, the Block production DAO. A basic WSC for block production can be specified as follows. ...

Applications[edit | edit source]

  • Block production - DAO using REP to determine randomized block producer for blockchain consensus.
  • Stable coin
  • Arbitration DAO - parties may trigger 3rd party arbiter power by adding template language to any smart contract - allows appeals for any smart contract
  • Roll ups
  • Gig jobs
  • Oracles
    • DeNM - The decentralized news media network.
  • deFi
    • Banking rollup DAO
    • Underwriting
    • Marketplaces
      • ForEx
      • Commodities
      • Equities
      • Derivatives
    • Chit fund - A decentralized and global approach to the banking functions of investment, loans, and insurance using a generalization of the traditional chit fund scheme.
  • Social collaboration
    • Science Research Organizations
      • [Peer to Peer Technology](Peer-to-Peer-Technology) - The decentralized society for research, development, and sharing of P2P tools.
      • [Decentralized Governance](Decentralized-Governance) - The decentralized society for analysis and development of new approaches to the organization and guidance of decentralized networks.
    • Social organizations
    • AI governance

Code[edit | edit source]

Downloads[edit | edit source]

See Also[edit | edit source]