Clarity Docs
  • Introduction
  • DAO FUNDAMENTALS
    • Decentralized Autonomous Organizations
    • Decentralized Organizations
    • Agora Overview
  • Getting Started
    • Connecting Your Wallet
      • Setting Collateral
      • Switching Networks
      • Eternl DApp Browser
      • Register for Clarity
      • Brave Browser Connection Error
    • Using Clarity on Testnet
      • Minting Governance Tokens
    • Navigating Clarity
  • Clarity V1
    • Key Distinctions
      • Organizations vs Agora DAOs
      • Voting Power: Snapshot vs Agora
      • Polls vs Proposals
      • Snapshots vs Agora Proposals
      • Quests vs Raids
    • Creating an Organization
      • Finishing Setting Up Your Organization
    • Participating in an Organization
      • Creating a Governance Action
      • Voting on a Poll or Snapshot Proposal
        • Calculating Voting Power for Polls & Snapshot Proposals
        • Adding and Managing a Submission to an Open Poll
      • Quests and Raids
      • Admin Actions
        • Configure Governance Tokens
        • Configure Voting Power Calculations
        • Updating Governance Settings
        • Manage Membership, Badges, and Permissions
          • Creating/Updating a New Member Application Workflow
          • Creating and Managing Badges and Associated Permissions
          • Assigning Badges
          • Adding and Removing Admins
            • Adding Admin Error
            • Admins vs Super Admins
        • Updating Organization Information
      • Badge Member Actions
        • Approving Pending Governance Items
        • Creating and Managing Quests & Raids
        • Creating and Managing Rewards
    • Launching an Agora DAO
      • Finding your Governance Token Policy ID
      • Finding your Governance Hex Encoded Token Asset Name
    • Participating in a DAO
      • Staking
        • Creating and Editing Stakes
        • Removing Stake Locks
        • Delegating and Undelegating Stakes
      • Creating a Proposal
        • Proposal Templates
      • Voting on a Proposal
      • Depositing to Treasury
  • More Docs
    • Clarity API Docs
    • Clarity SDK Docs
Powered by GitBook
On this page
  • Agora Effect Registry
  • Templates for Effects
  1. Clarity V1
  2. Participating in a DAO
  3. Creating a Proposal

Proposal Templates

PreviousCreating a ProposalNextVoting on a Proposal

Last updated 9 months ago

Proposal Templates make it easy to create Proposals for Agora DAOs without needing to write any code.

Recall that in Agora, execute smart contract effects automatically when passed. Templates on Clarity help to easily form these custom effect smart contracts. Read below for more information about how these effect scripts are registered and executed.

Agora Effect Registry

Smart Contract effects are registered through . Here, important information is stored.

Effect scripts

Tell Agora which smart contract(s) to run if a Proposal is passed. Scripts are stored as a hash that points to the script which lives on-chain.

Datum Schema

The Datum Schema defines the variables that this effect can take. The datum is consumed along with the effect to run the script with custom parameters.

Templates for Effects

Templates take the Datum Schema from the underlying Agora Effect, then extend them with supplementary off-chain information.

Below is a visual representation of how Templates overlay with the existing Agora Effect Registry.

Liqwid Labs's Agora Effect Registry
Proposals
Figure 2: Templates Effect Script Hierarchy