Skip to content

Commit

Permalink
remove native_token_contracts_map
Browse files Browse the repository at this point in the history
  • Loading branch information
Song Tian committed Jan 17, 2025
1 parent cf550f2 commit ec15299
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 30 deletions.
3 changes: 1 addition & 2 deletions .github/markets/pr_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Each json file under the [configs](../../configs) folder correspond to their res
|`perp_pools` |`PerpPoolConfig` |false |Object that contains the configs for Perp Pools |
|`wswth_contract` |`string` |false |wSWTH ERC-20 contract. |
|`market_banners` |`MarketBanner[]` |true |market banner configs. |
| `native_token_contracts_map` | `object` | false | Map of token denoms to their respective contract addresses on the native chain. | |
| `native_depositor_contracts_map` | `object` | false | Map of axelar connection ids to their respective native depositor contract addresses
| `native_depositor_contracts_map` | `object` | false | Map of token denoms to their respective native depositor contract addresses
|`market_promo` |`MarketPromo` |false |Map of Objects that contains market promo parameters for each market |If the `market_promo` property is omitted, no promo will be shown. The key of each entry is the ids of the market with existing promo. |
|`spot_pool_config` |`SpotPoolConfig` |false |Object that contains the config parameters for the [Spot Pools](https://app.dem.exchange/pools/spot) page on Demex |
|`quick_select_tokens` |`QuickSelectToken[]` |true |List of quick select tokens for deposit and withdrawal forms. |
Expand Down
11 changes: 1 addition & 10 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,7 @@
},
"native_depositor_contracts_map": {
"type": "object",
"description": "Map of axelar connection ids to their respective native depositor contract addresses",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"native_token_contracts_map": {
"type": "object",
"description": "Map of token denoms to their respective contract addresses on the native chain",
"description": "Map of token denoms to their respective native depositor contract addresses",
"patternProperties": {
".*": {
"type": "string"
Expand Down
26 changes: 8 additions & 18 deletions configs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,25 +421,15 @@
]
},
"wswth_contract": "0x0e59f6Cf81B5Fae9F7a5912062Fe53909e7221C2",
"native_token_contracts_map": {
"brdg/6418666cedaf875fb344dbd90bea7c842300939872365b933f7ee8b6c1e825e8": "0x0000000000000000000000000000000000000000",
"brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000",
"brdg/1299d2e94c483e72f64100088886b8a5b7c13595047e53e032c9938d07a98c20": "0x0000000000000000000000000000000000000000",
"brdg/1768794901f8a19c2ec795a5402653cef6cbfe6b3ec6398d39fc37de963cb667": "0x0000000000000000000000000000000000000000",
"brdg/e3877e2c8ed05e404e04417747e2f430285c11dc839663b943b39ff7cbb56377": "0x0000000000000000000000000000000000000000",
"brdg/e2238fb8fc5f08299c1789177d6d89bb2853238a65f6e48a9ec3b67e289f5601": "0x0000000000000000000000000000000000000000",
"brdg/cc0027d68ecd0fcf2151a09070efa6d67efaf6541bd1625307d7057562ce2345": "0x0000000000000000000000000000000000000000",
"brdg/34a330df380acf4845e3c3341722a73cc62b57819a2e9960fbb0e040a5210423": "0x0000000000000000000000000000000000000000"
},
"native_depositor_contracts_map": {
"3/arbitrum/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"3/base/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da",
"3/binance/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"3/ethereum/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"3/mantle/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da",
"3/polygon/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"3/avalanche/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da",
"3/optimism/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da"
"brdg/1299d2e94c483e72f64100088886b8a5b7c13595047e53e032c9938d07a98c20": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"brdg/6418666cedaf875fb344dbd90bea7c842300939872365b933f7ee8b6c1e825e8": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da",
"brdg/1768794901f8a19c2ec795a5402653cef6cbfe6b3ec6398d39fc37de963cb667": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"brdg/e3877e2c8ed05e404e04417747e2f430285c11dc839663b943b39ff7cbb56377": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da",
"brdg/e2238fb8fc5f08299c1789177d6d89bb2853238a65f6e48a9ec3b67e289f5601": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"brdg/cc0027d68ecd0fcf2151a09070efa6d67efaf6541bd1625307d7057562ce2345": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da",
"brdg/34a330df380acf4845e3c3341722a73cc62b57819a2e9960fbb0e040a5210423": "0xE9a99ba49BA992265227354d1Aa79b91eB0DB2da"
},
"demex_referrer": {
"address": "swth1prv0t8j8tqcdngdmjlt59pwy6dxxmtqgycy2h7",
Expand Down

0 comments on commit ec15299

Please sign in to comment.