Protocol Documentation
Table of Contents
-
Scalar Value Types
centerchain/tokenfactory/v1/genesis.proto
DenomBlacklist
DenomBlacklist groups the blacklisted addresses for one denom (or NFT class id) key in the denom prefix store.
| Field | Type | Label | Description |
|---|---|---|---|
| denom | string | ||
| addresses | string | repeated |
DenomPoolPolicy
DenomPoolPolicy is the genesis form of the poolable / pool-denylisted flags stored under a denom's prefix store. Absent flags are false.
| Field | Type | Label | Description |
|---|---|---|---|
| denom | string | ||
| poolable | bool | ||
| denylisted | bool |
GenesisDenom
GenesisDenom defines a tokenfactory denom that is defined within genesis state. The structure contains DenomAuthorityMetadata which defines the denom's admin.
| Field | Type | Label | Description |
|---|---|---|---|
| denom | string | ||
| authority_metadata | DenomAuthorityMetadata |
GenesisState
GenesisState defines the tokenfactory module's genesis state.
| Field | Type | Label | Description |
|---|---|---|---|
| params | Params | params defines the parameters of the module. | |
| factory_denoms | GenesisDenom | repeated | |
| swap | SwapGenesis | ||
| pool_policies | DenomPoolPolicy | repeated | pool_policies carries the per-denom farm eligibility flags (poolable / pool-denylisted) that live in the denom prefix store. |
| blacklist | DenomBlacklist | repeated | blacklist carries the per-denom address deny list entries that live in the denom prefix store under the bl: key prefix. |