Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/support native token deposit #255

Merged
merged 8 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/markets/pr_template.md
felixduc19 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ 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_contract` | `string` | false | Contract address supporting native token deposits

## Maintenance Data Structure
|Field |Type |Required |Description |Notes |
Expand Down
13 changes: 13 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,19 @@
}
}
},
"native_depositor_contract": {
"type": "string",
"description": "Contract address of the native depositor contract"
},
"native_token_contracts_map": {
"type": "object",
"description": "Map of token denoms to their respective contract addresses on the native chain",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"$defs": {
"prelaunch_market": {
"type": "string",
Expand Down
5 changes: 5 additions & 0 deletions configs/mainnet.json
felixduc19 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,11 @@
]
},
"wswth_contract": "0x0e59f6Cf81B5Fae9F7a5912062Fe53909e7221C2",
"native_token_contracts_map": {
"brdg/6418666cedaf875fb344dbd90bea7c842300939872365b933f7ee8b6c1e825e8": "0x0000000000000000000000000000000000000000",
"brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000"
},
"native_depositor_contract": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65",
"market_banners": [
{
"market_id": "cmkt/246",
Expand Down
Loading