Skip to content

Commit

Permalink
feat: enabled transfering Kintsugi tokens (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
impelcrypto committed Dec 21, 2022
1 parent 1f2fac1 commit 29d781c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
18 changes: 9 additions & 9 deletions src/modules/xcm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@ export const xcmChainObj: XcmChainObj = {
subscan: 'https://statemint.subscan.io',
isAstarNativeToken: false,
},
// [Chain.KINTSUGI]: {
// name: Chain.KINTSUGI,
// relayChain: Chain.KUSAMA,
// img: 'https://polkadot.js.org/apps/static/kintsugi.fba9d4ea..png',
// parachainId: parachainIds.KINTSUGI,
// endpoint: 'wss://kintsugi-rpc.dwellir.com',
// subscan: 'https://kintsugi.subscan.io',
// isAstarNativeToken: false,
// },
[Chain.KINTSUGI]: {
name: Chain.KINTSUGI,
relayChain: Chain.KUSAMA,
img: 'https://polkadot.js.org/apps/static/kintsugi.fba9d4ea..png',
parachainId: parachainIds.KINTSUGI,
endpoint: 'wss://api-kusama.interlay.io/parachain',
subscan: 'https://kintsugi.subscan.io',
isAstarNativeToken: false,
},
[Chain.INTERLAY]: {
name: Chain.INTERLAY,
relayChain: Chain.POLKADOT,
Expand Down
40 changes: 20 additions & 20 deletions src/modules/xcm/tokens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,26 +167,26 @@ export const xcmToken = {
originChain: Chain.STATEMINE,
minBridgeAmount: '0.1',
},
// {
// symbol: 'KBTC',
// isNativeToken: false,
// assetId: '18446744073709551621',
// originAssetId: 'KBTC',
// logo: 'https://assets.coingecko.com/coins/images/25816/small/jKEvMy-9_400x400.jpeg?1653990781',
// isXcmCompatible: true,
// originChain: Chain.KINTSUGI,
// minBridgeAmount: '0.00000237',
// },
// {
// symbol: 'KINT',
// isNativeToken: true,
// assetId: '18446744073709551622',
// originAssetId: 'KINT',
// logo: 'https://assets.coingecko.com/coins/images/22045/small/Kintsugi_logo-150x150.jpeg?1640675060',
// isXcmCompatible: true,
// originChain: Chain.KINTSUGI,
// minBridgeAmount: '0.345',
// },
{
symbol: 'KBTC',
isNativeToken: false,
assetId: '18446744073709551621',
originAssetId: 'KBTC',
logo: 'https://assets.coingecko.com/coins/images/25816/small/jKEvMy-9_400x400.jpeg?1653990781',
isXcmCompatible: true,
originChain: Chain.KINTSUGI,
minBridgeAmount: '0.00000237',
},
{
symbol: 'KINT',
isNativeToken: true,
assetId: '18446744073709551622',
originAssetId: 'KINT',
logo: 'https://assets.coingecko.com/coins/images/22045/small/Kintsugi_logo-150x150.jpeg?1640675060',
isXcmCompatible: true,
originChain: Chain.KINTSUGI,
minBridgeAmount: '0.345',
},
{
symbol: 'CSM',
isNativeToken: true,
Expand Down
2 changes: 1 addition & 1 deletion src/v2/config/xcm/XcmRepositoryConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const XcmRepositoryConfiguration: TypeMapping = {
[Chain.MOONRIVER]: MoonbeamXcmRepository,
[Chain.POLKADOT]: PolkadotXcmRepository,
[Chain.KUSAMA]: PolkadotXcmRepository,
// [Chain.KINTSUGI]: InterlayXcmRepository,
[Chain.KINTSUGI]: InterlayXcmRepository,
[Chain.INTERLAY]: InterlayXcmRepository,
[Chain.CRUST_SHADOW]: CrustShadowXcmRepository,
[Chain.KHALA]: PhalaXcmRepository,
Expand Down
4 changes: 2 additions & 2 deletions src/v2/models/XcmModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export enum Chain {
MOONBEAM = 'Moonbeam',
STATEMINE = 'Statemine',
STATEMINT = 'Statemint',
// KINTSUGI = 'Kintsugi',
KINTSUGI = 'Kintsugi',
INTERLAY = 'Interlay',
CRUST_SHADOW = 'Crust-shadow',
KHALA = 'Khala',
Expand All @@ -28,7 +28,7 @@ export enum parachainIds {
MOONBEAM = 2004,
STATEMINE = 1000,
STATEMINT = 1000,
// KINTSUGI = 2092,
KINTSUGI = 2092,
INTERLAY = 2032,
CRUST_SHADOW = 2012,
KHALA = 2004,
Expand Down

0 comments on commit 29d781c

Please sign in to comment.