Skip to content

Latest commit

 

History

History
50 lines (46 loc) · 1.23 KB

README.md

File metadata and controls

50 lines (46 loc) · 1.23 KB

demex-webapp-config

This repository allows frontends to fetch metadata associated with Demex. The config JSON schema can be found here.

Currently, each JSON file contain the following data on its corresponding network (mainnet, testnet, devnet):

  • list of markets to be featured
  • blacklisted markets
  • blacklisted pools
  • blacklisted tokens
  • total supply of IBC fee tokens on Mintscan

More metadata will be added in the future if required by the Demex frontend. Please see below the structure of the JSON file:

{
    "network": "testnet",
    "featured_markets": [
        "market_1",
        "market_2",
        "market_3",
        ...
    ],
    "blacklisted_markets": [
        "blacklisted_market_1",
        "blacklisted_market_2",
        "blacklisted_market_3",
        ...
    ],
    "blacklisted_pools": [
        "blacklisted_pool_1",
        "blacklisted_pool_2",
        "blacklisted_pool_3",
        ...
    ],
    "blacklisted_tokens": [
        "blacklisted_token_1",
        "blacklisted_token_2",
        "blacklisted_token_3",
        ...
    ],
    "": [{
        denom: "ibc-token-denom-1",
        amount: "1000000",
    }, {
        denom: "ibc-token-denom-2",
        amount: "1000000000",
    }]
}