From ecb5f99bf0875e3870e242653313ec75987d0e8f Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Mon, 9 Dec 2024 21:06:12 +0300 Subject: [PATCH 1/9] feat: vDOT xcms Hydra<->Moon --- xcm/v6/transfers_dev.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index ed2717bea..db92f0159 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -2678,6 +2678,29 @@ "type": "xcmpallet-transferAssets" } ] + }, + { + "assetId": 19, + "assetLocation": "vDOT", + "assetLocationPath": { + "type": "relative" + }, + "xcmTransfers": [ + { + "destination": { + "chainId": "afdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d", + "assetId": 19, + "fee": { + "mode": { + "type": "proportional", + "value": "27911692308" + }, + "instructions": "xcmPalletDest" + } + }, + "type": "xcmpallet-transferAssets" + } + ] } ] }, @@ -6515,6 +6538,20 @@ } }, "type": "xtokens" + }, + { + "destination": { + "chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d", + "assetId": 19, + "fee": { + "mode": { + "type": "proportional", + "value": "70175328986529379112714240" + }, + "instructions": "xtokensDest" + } + }, + "type": "xtokens" } ] }, From 2c8e83eff0ca1d939fd67cbac677a929dbb8b8a0 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 13:19:37 +0300 Subject: [PATCH 2/9] fix: decrease fee --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index db92f0159..f67bd22fc 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -6546,7 +6546,7 @@ "fee": { "mode": { "type": "proportional", - "value": "70175328986529379112714240" + "value": "701753289865293856768" }, "instructions": "xtokensDest" } From 475acbd4321555c0bfe1572ee5c5b187b74dbf83 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 13:33:56 +0300 Subject: [PATCH 3/9] fix: coeff --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index f67bd22fc..6e6529729 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -6546,7 +6546,7 @@ "fee": { "mode": { "type": "proportional", - "value": "701753289865293856768" + "value": "701753289865294" }, "instructions": "xtokensDest" } From a96e86da8f3272b773ce3cf100cbb6f9cf914eda Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 14:00:29 +0300 Subject: [PATCH 4/9] fix: decrease fee --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index 6e6529729..8fad891f9 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -6546,7 +6546,7 @@ "fee": { "mode": { "type": "proportional", - "value": "701753289865294" + "value": "7017532898653" }, "instructions": "xtokensDest" } From d263b297df06332cd2893b3f57b4d43e97c28d82 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 14:21:35 +0300 Subject: [PATCH 5/9] fix: xcms --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index 8fad891f9..274120c86 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -6546,7 +6546,7 @@ "fee": { "mode": { "type": "proportional", - "value": "7017532898653" + "value": "701753289865" }, "instructions": "xtokensDest" } From 5c1354242699d9698b57ea72441f815e0053c05d Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 15:41:00 +0300 Subject: [PATCH 6/9] change location type to absolute --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index 274120c86..f1adfbee0 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -2683,7 +2683,7 @@ "assetId": 19, "assetLocation": "vDOT", "assetLocationPath": { - "type": "relative" + "type": "absolute" }, "xcmTransfers": [ { From c3068057c419ba19858f4ea49b379cf2615bc821 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 15:49:30 +0300 Subject: [PATCH 7/9] fix moonbeam coeff --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index f1adfbee0..ef6f5064e 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -6546,7 +6546,7 @@ "fee": { "mode": { "type": "proportional", - "value": "701753289865" + "value": "122363662596" }, "instructions": "xtokensDest" } From dfa3c09c29117c2694e42f148859a61f780812e8 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Tue, 10 Dec 2024 16:05:22 +0300 Subject: [PATCH 8/9] update bifrost vDOT fee --- xcm/v6/transfers_dev.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index ef6f5064e..331cad005 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -387,7 +387,7 @@ "reserveFee": { "mode": { "type": "proportional", - "value": "932506" + "value": "42976931800" }, "instructions": "xtokensReserve" } @@ -6532,7 +6532,7 @@ "fee": { "mode": { "type": "proportional", - "value": "932506" + "value": "42976931800" }, "instructions": "xtokensDest" } From 2b898c415e1658297808ad81da8e3f906710b074 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Wed, 11 Dec 2024 12:32:35 +0300 Subject: [PATCH 9/9] fix: update vdot fee --- xcm/v6/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v6/transfers_dev.json b/xcm/v6/transfers_dev.json index 331cad005..cf0a761d3 100644 --- a/xcm/v6/transfers_dev.json +++ b/xcm/v6/transfers_dev.json @@ -6546,7 +6546,7 @@ "fee": { "mode": { "type": "proportional", - "value": "122363662596" + "value": "32574154417" }, "instructions": "xtokensDest" }