API Wrapper for CollectiveGovernance System Creator

Hierarchy

Constructors

Properties

contract: Contract
contractAbi: any[]
contractAddress: string
gas: number
gasPriceGwei: string
logger: Logger = ...
web3: default
ABI_NAME: string = 'System.json'

Methods

  • Create a Collective Governance contract with the specified parameterization

    Parameters

    • name: string

      The community name

    • url: string

      The community url

    • description: string

      The community description

    • erc721contract: string

      The address of the erc721 governance token

    • quorum: number

      The required quorum for the community

    Returns Promise<string>

    string - The transaction hash for the build

  • Create a Collective Governance contract with the specified parameterization

    Parameters

    • name: string

      The community name

    • url: string

      The community url

    • description: string

      The community description

    • erc721contract: string

      The address of the erc721 governance token

    • quorum: number

      The required quorum for the community

    • delay: number

      The required voting delay

    • duration: number

      the required voting duration

    Returns Promise<string>

    string - The transaction hash for the build

Generated using TypeDoc