@paraspell/assets 10.8.3 → 10.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +148 -3
- package/dist/index.mjs +148 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6111,7 +6111,8 @@ var AssetHubPolkadot = {
|
|
|
6111
6111
|
}
|
|
6112
6112
|
},
|
|
6113
6113
|
existentialDeposit: "10000",
|
|
6114
|
-
isFeeAsset: true
|
|
6114
|
+
isFeeAsset: true,
|
|
6115
|
+
alias: "USDC1"
|
|
6115
6116
|
},
|
|
6116
6117
|
{
|
|
6117
6118
|
assetId: "1984",
|
|
@@ -6465,7 +6466,8 @@ var AssetHubPolkadot = {
|
|
|
6465
6466
|
}
|
|
6466
6467
|
},
|
|
6467
6468
|
existentialDeposit: "10000",
|
|
6468
|
-
isFeeAsset: true
|
|
6469
|
+
isFeeAsset: true,
|
|
6470
|
+
alias: "USDC2"
|
|
6469
6471
|
},
|
|
6470
6472
|
{
|
|
6471
6473
|
symbol: "EQD",
|
|
@@ -6623,6 +6625,32 @@ var AssetHubPolkadot = {
|
|
|
6623
6625
|
},
|
|
6624
6626
|
existentialDeposit: "1000000000",
|
|
6625
6627
|
isFeeAsset: true
|
|
6628
|
+
},
|
|
6629
|
+
{
|
|
6630
|
+
symbol: "wstETH",
|
|
6631
|
+
decimals: 18,
|
|
6632
|
+
multiLocation: {
|
|
6633
|
+
parents: 2,
|
|
6634
|
+
interior: {
|
|
6635
|
+
X2: [
|
|
6636
|
+
{
|
|
6637
|
+
GlobalConsensus: {
|
|
6638
|
+
Ethereum: {
|
|
6639
|
+
chainId: 1
|
|
6640
|
+
}
|
|
6641
|
+
}
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
AccountKey20: {
|
|
6645
|
+
network: null,
|
|
6646
|
+
key: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"
|
|
6647
|
+
}
|
|
6648
|
+
}
|
|
6649
|
+
]
|
|
6650
|
+
}
|
|
6651
|
+
},
|
|
6652
|
+
existentialDeposit: "1",
|
|
6653
|
+
isFeeAsset: true
|
|
6626
6654
|
}
|
|
6627
6655
|
]
|
|
6628
6656
|
};
|
|
@@ -8889,6 +8917,121 @@ var Quartz = {
|
|
|
8889
8917
|
otherAssets: [
|
|
8890
8918
|
]
|
|
8891
8919
|
};
|
|
8920
|
+
var Jamton = {
|
|
8921
|
+
relayChainAssetSymbol: "DOT",
|
|
8922
|
+
nativeAssetSymbol: "DOTON",
|
|
8923
|
+
isEVM: false,
|
|
8924
|
+
ss58Prefix: 5589,
|
|
8925
|
+
supportsDryRunApi: true,
|
|
8926
|
+
supportsXcmPaymentApi: true,
|
|
8927
|
+
nativeAssets: [
|
|
8928
|
+
{
|
|
8929
|
+
isNative: true,
|
|
8930
|
+
symbol: "DOTON",
|
|
8931
|
+
decimals: 18,
|
|
8932
|
+
existentialDeposit: "1000000000000000"
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
isNative: true,
|
|
8936
|
+
symbol: "jamTON",
|
|
8937
|
+
decimals: 9,
|
|
8938
|
+
existentialDeposit: "1000000"
|
|
8939
|
+
},
|
|
8940
|
+
{
|
|
8941
|
+
isNative: true,
|
|
8942
|
+
symbol: "stDOT",
|
|
8943
|
+
decimals: 10,
|
|
8944
|
+
existentialDeposit: "10000000"
|
|
8945
|
+
}
|
|
8946
|
+
],
|
|
8947
|
+
otherAssets: [
|
|
8948
|
+
{
|
|
8949
|
+
assetId: "0",
|
|
8950
|
+
symbol: "DOT",
|
|
8951
|
+
decimals: 10,
|
|
8952
|
+
existentialDeposit: "100000000",
|
|
8953
|
+
multiLocation: {
|
|
8954
|
+
parents: 1,
|
|
8955
|
+
interior: {
|
|
8956
|
+
Here: null
|
|
8957
|
+
}
|
|
8958
|
+
},
|
|
8959
|
+
isFeeAsset: true
|
|
8960
|
+
},
|
|
8961
|
+
{
|
|
8962
|
+
assetId: "2",
|
|
8963
|
+
symbol: "USDt",
|
|
8964
|
+
decimals: 6,
|
|
8965
|
+
existentialDeposit: "10000",
|
|
8966
|
+
multiLocation: {
|
|
8967
|
+
parents: 1,
|
|
8968
|
+
interior: {
|
|
8969
|
+
X3: [
|
|
8970
|
+
{
|
|
8971
|
+
Parachain: 1000
|
|
8972
|
+
},
|
|
8973
|
+
{
|
|
8974
|
+
PalletInstance: 50
|
|
8975
|
+
},
|
|
8976
|
+
{
|
|
8977
|
+
GeneralIndex: 1984
|
|
8978
|
+
}
|
|
8979
|
+
]
|
|
8980
|
+
}
|
|
8981
|
+
},
|
|
8982
|
+
isFeeAsset: true
|
|
8983
|
+
},
|
|
8984
|
+
{
|
|
8985
|
+
assetId: "3",
|
|
8986
|
+
symbol: "CGT",
|
|
8987
|
+
decimals: 18,
|
|
8988
|
+
existentialDeposit: "10000000000000000",
|
|
8989
|
+
multiLocation: {
|
|
8990
|
+
parents: 2,
|
|
8991
|
+
interior: {
|
|
8992
|
+
X2: [
|
|
8993
|
+
{
|
|
8994
|
+
GlobalConsensus: {
|
|
8995
|
+
Ethereum: {
|
|
8996
|
+
chainId: 1
|
|
8997
|
+
}
|
|
8998
|
+
}
|
|
8999
|
+
},
|
|
9000
|
+
{
|
|
9001
|
+
AccountKey20: {
|
|
9002
|
+
network: null,
|
|
9003
|
+
key: "0x0e186357c323c806c1efdad36d217f7a54b63d18"
|
|
9004
|
+
}
|
|
9005
|
+
}
|
|
9006
|
+
]
|
|
9007
|
+
}
|
|
9008
|
+
}
|
|
9009
|
+
},
|
|
9010
|
+
{
|
|
9011
|
+
assetId: "1",
|
|
9012
|
+
symbol: "WUD",
|
|
9013
|
+
decimals: 10,
|
|
9014
|
+
existentialDeposit: "10000000",
|
|
9015
|
+
multiLocation: {
|
|
9016
|
+
parents: 1,
|
|
9017
|
+
interior: {
|
|
9018
|
+
X3: [
|
|
9019
|
+
{
|
|
9020
|
+
Parachain: 1000
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
PalletInstance: 50
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
GeneralIndex: 31337
|
|
9027
|
+
}
|
|
9028
|
+
]
|
|
9029
|
+
}
|
|
9030
|
+
},
|
|
9031
|
+
isFeeAsset: true
|
|
9032
|
+
}
|
|
9033
|
+
]
|
|
9034
|
+
};
|
|
8892
9035
|
var RobonomicsKusama = {
|
|
8893
9036
|
relayChainAssetSymbol: "KSM",
|
|
8894
9037
|
nativeAssetSymbol: "XRT",
|
|
@@ -12091,6 +12234,7 @@ var assetsMapJson = {
|
|
|
12091
12234
|
Litmus: Litmus,
|
|
12092
12235
|
Moonriver: Moonriver,
|
|
12093
12236
|
Quartz: Quartz,
|
|
12237
|
+
Jamton: Jamton,
|
|
12094
12238
|
RobonomicsKusama: RobonomicsKusama,
|
|
12095
12239
|
RobonomicsPolkadot: RobonomicsPolkadot,
|
|
12096
12240
|
PeopleKusama: PeopleKusama,
|
|
@@ -12349,7 +12493,8 @@ var throwDuplicateAssetError = function throwDuplicateAssetError(symbol, nativeM
|
|
|
12349
12493
|
throw new DuplicateAssetError("Multiple matches found for symbol ".concat(symbol, ". Please specify with Native() or Foreign() selector."));
|
|
12350
12494
|
} else if (foreignMatches.length > 1) {
|
|
12351
12495
|
var aliases = foreignMatches.map(function (asset) {
|
|
12352
|
-
|
|
12496
|
+
var idOrLocation = asset.assetId !== undefined ? "ID:".concat(asset.assetId) : "Location:".concat(JSON.stringify(asset.multiLocation));
|
|
12497
|
+
return "".concat(asset.alias, " (").concat(idOrLocation, ")");
|
|
12353
12498
|
}).join(', ');
|
|
12354
12499
|
throw new DuplicateAssetError("Multiple foreign assets found for symbol ".concat(symbol, ". Please specify with ForeignAbstract() selector. Available aliases: ").concat(aliases));
|
|
12355
12500
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -6109,7 +6109,8 @@ var AssetHubPolkadot = {
|
|
|
6109
6109
|
}
|
|
6110
6110
|
},
|
|
6111
6111
|
existentialDeposit: "10000",
|
|
6112
|
-
isFeeAsset: true
|
|
6112
|
+
isFeeAsset: true,
|
|
6113
|
+
alias: "USDC1"
|
|
6113
6114
|
},
|
|
6114
6115
|
{
|
|
6115
6116
|
assetId: "1984",
|
|
@@ -6463,7 +6464,8 @@ var AssetHubPolkadot = {
|
|
|
6463
6464
|
}
|
|
6464
6465
|
},
|
|
6465
6466
|
existentialDeposit: "10000",
|
|
6466
|
-
isFeeAsset: true
|
|
6467
|
+
isFeeAsset: true,
|
|
6468
|
+
alias: "USDC2"
|
|
6467
6469
|
},
|
|
6468
6470
|
{
|
|
6469
6471
|
symbol: "EQD",
|
|
@@ -6621,6 +6623,32 @@ var AssetHubPolkadot = {
|
|
|
6621
6623
|
},
|
|
6622
6624
|
existentialDeposit: "1000000000",
|
|
6623
6625
|
isFeeAsset: true
|
|
6626
|
+
},
|
|
6627
|
+
{
|
|
6628
|
+
symbol: "wstETH",
|
|
6629
|
+
decimals: 18,
|
|
6630
|
+
multiLocation: {
|
|
6631
|
+
parents: 2,
|
|
6632
|
+
interior: {
|
|
6633
|
+
X2: [
|
|
6634
|
+
{
|
|
6635
|
+
GlobalConsensus: {
|
|
6636
|
+
Ethereum: {
|
|
6637
|
+
chainId: 1
|
|
6638
|
+
}
|
|
6639
|
+
}
|
|
6640
|
+
},
|
|
6641
|
+
{
|
|
6642
|
+
AccountKey20: {
|
|
6643
|
+
network: null,
|
|
6644
|
+
key: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"
|
|
6645
|
+
}
|
|
6646
|
+
}
|
|
6647
|
+
]
|
|
6648
|
+
}
|
|
6649
|
+
},
|
|
6650
|
+
existentialDeposit: "1",
|
|
6651
|
+
isFeeAsset: true
|
|
6624
6652
|
}
|
|
6625
6653
|
]
|
|
6626
6654
|
};
|
|
@@ -8887,6 +8915,121 @@ var Quartz = {
|
|
|
8887
8915
|
otherAssets: [
|
|
8888
8916
|
]
|
|
8889
8917
|
};
|
|
8918
|
+
var Jamton = {
|
|
8919
|
+
relayChainAssetSymbol: "DOT",
|
|
8920
|
+
nativeAssetSymbol: "DOTON",
|
|
8921
|
+
isEVM: false,
|
|
8922
|
+
ss58Prefix: 5589,
|
|
8923
|
+
supportsDryRunApi: true,
|
|
8924
|
+
supportsXcmPaymentApi: true,
|
|
8925
|
+
nativeAssets: [
|
|
8926
|
+
{
|
|
8927
|
+
isNative: true,
|
|
8928
|
+
symbol: "DOTON",
|
|
8929
|
+
decimals: 18,
|
|
8930
|
+
existentialDeposit: "1000000000000000"
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
isNative: true,
|
|
8934
|
+
symbol: "jamTON",
|
|
8935
|
+
decimals: 9,
|
|
8936
|
+
existentialDeposit: "1000000"
|
|
8937
|
+
},
|
|
8938
|
+
{
|
|
8939
|
+
isNative: true,
|
|
8940
|
+
symbol: "stDOT",
|
|
8941
|
+
decimals: 10,
|
|
8942
|
+
existentialDeposit: "10000000"
|
|
8943
|
+
}
|
|
8944
|
+
],
|
|
8945
|
+
otherAssets: [
|
|
8946
|
+
{
|
|
8947
|
+
assetId: "0",
|
|
8948
|
+
symbol: "DOT",
|
|
8949
|
+
decimals: 10,
|
|
8950
|
+
existentialDeposit: "100000000",
|
|
8951
|
+
multiLocation: {
|
|
8952
|
+
parents: 1,
|
|
8953
|
+
interior: {
|
|
8954
|
+
Here: null
|
|
8955
|
+
}
|
|
8956
|
+
},
|
|
8957
|
+
isFeeAsset: true
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
assetId: "2",
|
|
8961
|
+
symbol: "USDt",
|
|
8962
|
+
decimals: 6,
|
|
8963
|
+
existentialDeposit: "10000",
|
|
8964
|
+
multiLocation: {
|
|
8965
|
+
parents: 1,
|
|
8966
|
+
interior: {
|
|
8967
|
+
X3: [
|
|
8968
|
+
{
|
|
8969
|
+
Parachain: 1000
|
|
8970
|
+
},
|
|
8971
|
+
{
|
|
8972
|
+
PalletInstance: 50
|
|
8973
|
+
},
|
|
8974
|
+
{
|
|
8975
|
+
GeneralIndex: 1984
|
|
8976
|
+
}
|
|
8977
|
+
]
|
|
8978
|
+
}
|
|
8979
|
+
},
|
|
8980
|
+
isFeeAsset: true
|
|
8981
|
+
},
|
|
8982
|
+
{
|
|
8983
|
+
assetId: "3",
|
|
8984
|
+
symbol: "CGT",
|
|
8985
|
+
decimals: 18,
|
|
8986
|
+
existentialDeposit: "10000000000000000",
|
|
8987
|
+
multiLocation: {
|
|
8988
|
+
parents: 2,
|
|
8989
|
+
interior: {
|
|
8990
|
+
X2: [
|
|
8991
|
+
{
|
|
8992
|
+
GlobalConsensus: {
|
|
8993
|
+
Ethereum: {
|
|
8994
|
+
chainId: 1
|
|
8995
|
+
}
|
|
8996
|
+
}
|
|
8997
|
+
},
|
|
8998
|
+
{
|
|
8999
|
+
AccountKey20: {
|
|
9000
|
+
network: null,
|
|
9001
|
+
key: "0x0e186357c323c806c1efdad36d217f7a54b63d18"
|
|
9002
|
+
}
|
|
9003
|
+
}
|
|
9004
|
+
]
|
|
9005
|
+
}
|
|
9006
|
+
}
|
|
9007
|
+
},
|
|
9008
|
+
{
|
|
9009
|
+
assetId: "1",
|
|
9010
|
+
symbol: "WUD",
|
|
9011
|
+
decimals: 10,
|
|
9012
|
+
existentialDeposit: "10000000",
|
|
9013
|
+
multiLocation: {
|
|
9014
|
+
parents: 1,
|
|
9015
|
+
interior: {
|
|
9016
|
+
X3: [
|
|
9017
|
+
{
|
|
9018
|
+
Parachain: 1000
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
PalletInstance: 50
|
|
9022
|
+
},
|
|
9023
|
+
{
|
|
9024
|
+
GeneralIndex: 31337
|
|
9025
|
+
}
|
|
9026
|
+
]
|
|
9027
|
+
}
|
|
9028
|
+
},
|
|
9029
|
+
isFeeAsset: true
|
|
9030
|
+
}
|
|
9031
|
+
]
|
|
9032
|
+
};
|
|
8890
9033
|
var RobonomicsKusama = {
|
|
8891
9034
|
relayChainAssetSymbol: "KSM",
|
|
8892
9035
|
nativeAssetSymbol: "XRT",
|
|
@@ -12089,6 +12232,7 @@ var assetsMapJson = {
|
|
|
12089
12232
|
Litmus: Litmus,
|
|
12090
12233
|
Moonriver: Moonriver,
|
|
12091
12234
|
Quartz: Quartz,
|
|
12235
|
+
Jamton: Jamton,
|
|
12092
12236
|
RobonomicsKusama: RobonomicsKusama,
|
|
12093
12237
|
RobonomicsPolkadot: RobonomicsPolkadot,
|
|
12094
12238
|
PeopleKusama: PeopleKusama,
|
|
@@ -12347,7 +12491,8 @@ var throwDuplicateAssetError = function throwDuplicateAssetError(symbol, nativeM
|
|
|
12347
12491
|
throw new DuplicateAssetError("Multiple matches found for symbol ".concat(symbol, ". Please specify with Native() or Foreign() selector."));
|
|
12348
12492
|
} else if (foreignMatches.length > 1) {
|
|
12349
12493
|
var aliases = foreignMatches.map(function (asset) {
|
|
12350
|
-
|
|
12494
|
+
var idOrLocation = asset.assetId !== undefined ? "ID:".concat(asset.assetId) : "Location:".concat(JSON.stringify(asset.multiLocation));
|
|
12495
|
+
return "".concat(asset.alias, " (").concat(idOrLocation, ")");
|
|
12351
12496
|
}).join(', ');
|
|
12352
12497
|
throw new DuplicateAssetError("Multiple foreign assets found for symbol ".concat(symbol, ". Please specify with ForeignAbstract() selector. Available aliases: ").concat(aliases));
|
|
12353
12498
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/assets",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.9.0",
|
|
4
4
|
"description": "Assets for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@paraspell/sdk-common": "10.
|
|
26
|
+
"@paraspell/sdk-common": "10.9.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|