From d734e311d44676b07be1ce6fab2f07e4f9f6d143 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 13:32:25 -0700 Subject: [PATCH] docs: add note about credit type to credit class tutorial (backport #2026) (#2028) Co-authored-by: Kyle Lawlor-Bagcal --- .../user/credit-class-project-batch-management.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/user/credit-class-project-batch-management.md b/docs/tutorials/user/credit-class-project-batch-management.md index 64b865f8c8..32c53fc878 100644 --- a/docs/tutorials/user/credit-class-project-batch-management.md +++ b/docs/tutorials/user/credit-class-project-batch-management.md @@ -315,9 +315,9 @@ A credit class represents a collection of projects and issuers whereby the proje For more information about credit classes, see [Ecocredit Concepts](../../modules/ecocredit/01_concepts.md). -### Allowlist and Fee +### Allowlist, Type, and Fee -Before we create a credit class, we need to check the [credit class creator allowlist](../../modules/ecocredit/01_concepts.md#credit-class-creator-allowlist) and that we have enough tokens for the credit class creation fee. +Before we create a credit class, we need to check the [credit class creator allowlist](../../modules/ecocredit/01_concepts.md#credit-class-creator-allowlist), the available [credit types](../../modules/ecocredit/01_concepts.md#credit-type), and that we have enough tokens for the credit class creation fee. To check whether the credit class creator allowlist is enabled, run the following command: @@ -331,13 +331,21 @@ To check allowed credit class creators (only if allowlist enabled), run the foll regen q ecocredit allowed-class-creators ``` +To check available credit types, run the following command: + +```sh +regen q ecocredit credit-types +``` + To check the credit class creation fee, run the following command: ```sh regen q ecocredit class-fee ``` -You should see that the allowlist is disabled and therefore any account can create a credit class. You should also see the token amount and denomination needed to create a credit class, which we add to the next command using the `--class-fee` flag. +If you are connected to Redwood Testnet, you should see that the allowlist is disabled and therefore any account can create a credit class. You should also see the list of available credit types, including the `credit-type-abbrev` for each credit type, and the token amount and denomination for the credit class creation fee, which we add to the next command using the `--class-fee` flag. + +The values queried above are all managed through an on-chain governance process, meaning these values can be updated via governance proposals. For more information about submitting governance proposals to update these values, check out [Message-Based Governance Proposals](./message-based-governance-proposals.md). ### Create Credit Class