create_dao: TxDescriptor<
    {
        creation_fee_asset: Enum<{ Native: undefined; Relay: undefined }>;
        metadata: Binary;
        minimum_support: number;
        required_approval: number;
    },
>

Create a new DAO

  • metadata: Arbitrary byte vec to be attached to the dao info
  • minimum_support: Minimum amount of positive votes out of total token supply required to approve a proposal
  • required_approval: Minimum amount of positive votes out of current positive + negative votes required to approve a proposal
  • creation_fee_asset: Token to be used to pay the dao creation fee