Type Alias set_parameters

set_parameters: TxDescriptor<
    {
        frozen_tokens?: boolean;
        metadata?: Binary;
        minimum_support?: number;
        required_approval?: number;
    },
>

Change dao parameters incl. voting thresholds and token freeze state (called by a dao origin)

  • 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
  • frozen_tokens: Wheter or not the dao's voting token should be transferable by the holders