From c00227c6d9b0f13006b76308e12af7ecc7bdd074 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev <40560660+stepanLav@users.noreply.github.com> Date: Tue, 7 Nov 2023 08:49:49 +0300 Subject: [PATCH] Feat/adding INTR to HydraDX (#2196) * adding INTR asset for HydraDX * adding XCMs --- chains/v14/chains_dev.json | 14 ++++++++++++++ chains/v15/chains_dev.json | 14 ++++++++++++++ chains/v16/chains_dev.json | 14 ++++++++++++++ xcm/v5/transfers_dev.json | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+) diff --git a/chains/v14/chains_dev.json b/chains/v14/chains_dev.json index a427baef6..d96778aed 100644 --- a/chains/v14/chains_dev.json +++ b/chains/v14/chains_dev.json @@ -5597,6 +5597,20 @@ "existentialDeposit": "0", "transfersEnabled": false } + }, + { + "assetId": 17, + "symbol": "INTR", + "precision": 10, + "priceId": "interlay", + "icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/chains/white/Interlay.svg", + "type": "orml", + "typeExtras": { + "currencyIdScale": "0x11000000", + "currencyIdType": "u32", + "existentialDeposit": "6164274209", + "transfersEnabled": true + } } ], "nodes": [ diff --git a/chains/v15/chains_dev.json b/chains/v15/chains_dev.json index b56e1ba40..77c024c65 100644 --- a/chains/v15/chains_dev.json +++ b/chains/v15/chains_dev.json @@ -5595,6 +5595,20 @@ "existentialDeposit": "0", "transfersEnabled": false } + }, + { + "assetId": 17, + "symbol": "INTR", + "precision": 10, + "priceId": "interlay", + "icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/chains/white/Interlay.svg", + "type": "orml", + "typeExtras": { + "currencyIdScale": "0x11000000", + "currencyIdType": "u32", + "existentialDeposit": "6164274209", + "transfersEnabled": true + } } ], "nodes": [ diff --git a/chains/v16/chains_dev.json b/chains/v16/chains_dev.json index 4aa2042d8..6139275b6 100644 --- a/chains/v16/chains_dev.json +++ b/chains/v16/chains_dev.json @@ -5382,6 +5382,20 @@ "existentialDeposit": "34854864344868000", "transfersEnabled": true } + }, + { + "assetId": 17, + "symbol": "INTR", + "precision": 10, + "priceId": "interlay", + "icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/chains/white/Interlay.svg", + "type": "orml", + "typeExtras": { + "currencyIdScale": "0x11000000", + "currencyIdType": "u32", + "existentialDeposit": "6164274209", + "transfersEnabled": true + } } ], "nodes": [ diff --git a/xcm/v5/transfers_dev.json b/xcm/v5/transfers_dev.json index c936a044c..9e7e44d35 100644 --- a/xcm/v5/transfers_dev.json +++ b/xcm/v5/transfers_dev.json @@ -5305,6 +5305,20 @@ } }, "type": "xtokens" + }, + { + "destination": { + "chainId": "afdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d", + "assetId": 17, + "fee": { + "mode": { + "type": "proportional", + "value": "3404263581899470" + }, + "instructions": "xtokensDest" + } + }, + "type": "xtokens" } ] }, @@ -6711,6 +6725,29 @@ "type": "xtokens" } ] + }, + { + "assetId": 17, + "assetLocation": "INTR", + "assetLocationPath": { + "type": "absolute" + }, + "xcmTransfers": [ + { + "destination": { + "chainId": "bf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72", + "assetId": 0, + "fee": { + "mode": { + "type": "proportional", + "value": "24016821864" + }, + "instructions": "xtokensDest" + } + }, + "type": "xtokens" + } + ] } ] },