diff --git a/docs/support-bridges.md b/docs/support-bridges.md index e6dc8d8b..256d4ac6 100644 --- a/docs/support-bridges.md +++ b/docs/support-bridges.md @@ -10,10 +10,7 @@ | acala | moonbeam | ACA | | acala | moonbeam | AUSD | | acala | moonbeam | DOT | -| acala | parallel | PARA | -| acala | parallel | ACA | -| acala | parallel | AUSD | -| acala | parallel | LDOT | +| acala | moonbeam | LDOT | | acala | astar | ASTR | | acala | astar | ACA | | acala | astar | AUSD | @@ -21,16 +18,23 @@ | acala | interlay | INTR | | acala | interlay | IBTC | | acala | hydradx | DAI | +| acala | hydradx | DOT | | acala | hydradx | WETH | | acala | hydradx | WBTC | +| acala | hydradx | LDOT | +| acala | hydradx | ACA | | acala | unique | UNQ | +| acala | assetHubPolkadot | USDT | +| acala | assetHubPolkadot | USDC | +| acala | assetHubPolkadot | PINK | | karura | kusama | KSM | -| karura | statemine | RMRK | -| karura | statemine | ARIS | -| karura | statemine | USDT | +| karura | assetHubKusama | RMRK | +| karura | assetHubKusama | ARIS | +| karura | assetHubKusama | USDT | | karura | shiden | SDN | | karura | shiden | KUSD | | karura | bifrost | BNC | +| karura | bifrost | KSM | | karura | bifrost | KAR | | karura | bifrost | KUSD | | karura | bifrost | VSKSM | @@ -47,29 +51,21 @@ | karura | khala | PHA | | karura | khala | KUSD | | karura | khala | KAR | -| karura | kico | KICO | -| karura | kico | KAR | -| karura | kico | KUSD | +| karura | calamari | KSM | | karura | calamari | KMA | | karura | calamari | KUSD | | karura | calamari | KAR | | karura | calamari | LKSM | | karura | moonriver | MOVR | +| karura | moonriver | KSM | | karura | moonriver | KAR | | karura | moonriver | KUSD | -| karura | heiko | HKO | -| karura | heiko | KAR | -| karura | heiko | KUSD | -| karura | heiko | LKSM | -| karura | pichiu | PCHU | -| karura | pichiu | KAR | -| karura | pichiu | KUSD | -| karura | pichiu | LKSM | | karura | turing | TUR | | karura | turing | KAR | | karura | turing | KUSD | | karura | turing | LKSM | | karura | basilisk | BSX | +| karura | basilisk | KSM | | karura | basilisk | KUSD | | karura | basilisk | DAI | | karura | basilisk | USDCet | @@ -80,11 +76,28 @@ | karura | listen | KUSD | | karura | listen | LKSM | | karura | quartz | QTZ | +| assetHubPolkadot | polkadot | DOT | +| assetHubPolkadot | hydradx | USDT | +| assetHubPolkadot | acala | USDT | +| assetHubPolkadot | acala | USDC | +| assetHubPolkadot | acala | PINK | +| assetHubPolkadot | astar | USDT | +| assetHubPolkadot | interlay | USDT | +| assetHubPolkadot | interlay | USDC | +| assetHubPolkadot | moonbeam | USDT | +| assetHubKusama | kusama | KSM | +| assetHubKusama | karura | RMRK | +| assetHubKusama | karura | ARIS | +| assetHubKusama | karura | USDT | +| assetHubKusama | kintsugi | USDT | | astar | acala | ASTR | | astar | acala | ACA | | astar | acala | AUSD | | astar | acala | LDOT | | astar | hydradx | ASTR | +| astar | assetHubPolkadot | USDT | +| astar | interlay | IBTC | +| astar | interlay | INTR | | shiden | karura | SDN | | shiden | karura | KUSD | | bifrost | karura | BNC | @@ -92,31 +105,40 @@ | bifrost | karura | KSM | | bifrost | karura | KAR | | bifrost | karura | KUSD | +| bifrost | kintsugi | VKSM | | basilisk | kusama | KSM | | basilisk | karura | BSX | -| basilisk | karura | KUSD | +| basilisk | karura | aUSD | | basilisk | karura | KSM | | basilisk | karura | DAI | | basilisk | karura | USDCet | | basilisk | karura | WETH | | basilisk | karura | WBTC | -| hydradx | acala | DAI | -| hydradx | acala | WETH | -| hydradx | acala | WBTC | +| basilisk | assetHubKusama | USDT | +| basilisk | tinkernet | TNKR | +| basilisk | robonomics | XRT | | integritee | karura | TEER | | interlay | acala | INTR | | interlay | acala | IBTC | +| interlay | astar | INTR | +| interlay | astar | IBTC | +| interlay | phala | PHA | +| interlay | phala | INTR | +| interlay | phala | IBTC | +| interlay | polkadot | DOT | +| interlay | assetHubPolkadot | USDC | +| interlay | assetHubPolkadot | USDT | | interlay | hydradx | IBTC | +| interlay | hydradx | INTR | +| interlay | hydradx | HDX | +| interlay | bifrostPolkadot | VDOT | +| interlay | bifrostPolkadot | BNC | | kintsugi | karura | KINT | | kintsugi | karura | KBTC | | kintsugi | karura | LKSM | -| kico | karura | KICO | -| kico | karura | KAR | -| kico | karura | KUSD | -| pichiu | karura | PCHU | -| pichiu | karura | KAR | -| pichiu | karura | KUSD | -| pichiu | karura | LKSM | +| kintsugi | kusama | KSM | +| kintsugi | assetHubKusama | USDT | +| kintsugi | bifrost | VKSM | | listen | karura | LT | | listen | karura | KAR | | listen | karura | KUSD | @@ -126,33 +148,30 @@ | calamari | karura | KAR | | calamari | karura | LKSM | | calamari | karura | KSM | +| moonbeam | acala | GLMR | +| moonbeam | acala | xcACA | +| moonbeam | acala | xcaUSD | +| moonbeam | acala | xcDOT | | turing | karura | TUR | | turing | karura | KAR | | turing | karura | KUSD | | turing | karura | LKSM | -| parallel | acala | PARA | -| parallel | acala | ACA | -| parallel | acala | AUSD | -| parallel | acala | LDOT | -| heiko | karura | HKO | -| heiko | karura | KAR | -| heiko | karura | KUSD | -| heiko | karura | LKSM | +| phala | interlay | PHA | +| phala | interlay | IBTC | +| phala | interlay | INTR | | khala | karura | PHA | | khala | karura | KUSD | | khala | karura | KAR | | polkadot | acala | DOT | | polkadot | hydradx | DOT | -| polkadot | statemint | DOT | +| polkadot | assetHubPolkadot | DOT | +| polkadot | interlay | DOT | | kusama | karura | KSM | | kusama | basilisk | KSM | -| kusama | statemine | KSM | -| statemint | polkadot | DOT | -| statemint | hydradx | USDT | -| statemine | kusama | KSM | -| statemine | karura | RMRK | -| statemine | karura | ARIS | -| statemine | karura | USDT | +| kusama | assetHubKusama | KSM | +| kusama | kintsugi | KSM | +| subsocial | hydradx | SUB | +| subsocial | moonbeam | SUB | | unique | acala | UNQ | | quartz | karura | QTZ | | zeitgeist | hydradx | ZTG | \ No newline at end of file diff --git a/package.json b/package.json index d930c735..115ddd91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polkawallet/bridge", - "version": "0.1.7-12", + "version": "0.1.7-13", "description": "polkawallet bridge sdk", "main": "index.js", "types": "index.d.ts", @@ -33,16 +33,17 @@ "@acala-network/sdk": "^4.1.9-13", "@acala-network/sdk-core": "^4.1.9-13", "@polkadot/api": "^14.0.1", - "@polkadot/types": "^14.0.1", - "@polkadot/util": "^13.2.3" + "@polkadot/types": "^14.0.1" }, "dependencies": { "@acala-network/api": "^5", "@acala-network/sdk": "^4.1.9-13", "@acala-network/sdk-core": "^4.1.9-13", "@polkadot/api": "^14.0.1", - "@polkadot/apps-config": "^0.133.1", + "@polkadot/apps-config": "0.146.1", + "@polkadot/keyring": "^13.2.3", "@polkadot/types": "^14.0.1", + "@polkadot/util": "^13.2.3", "axios": "^0.27.2", "ethers": "^5", "lodash": "^4.17.20" @@ -54,6 +55,7 @@ "@types/lodash": "^4.14.161", "eslint-plugin-unused-imports": "^2.0.0", "jest": "^28.1.1", + "ts-node": "^10.9.2", "typescript": "^4.7.4" }, "stableVersion": "0.1.7-11" diff --git a/src/adapters/acala/acala-configs.ts b/src/adapters/acala/acala-configs.ts index b7f6f20d..0fc01802 100644 --- a/src/adapters/acala/acala-configs.ts +++ b/src/adapters/acala/acala-configs.ts @@ -44,34 +44,6 @@ export const acalaRouteConfigs = createRouteConfigs("acala", [ fee: { token: "LDOT", amount: "45977011" }, }, }, - { - to: "parallel", - token: "PARA", - xcm: { - fee: { token: "PARA", amount: "9600000000" }, - }, - }, - { - to: "parallel", - token: "ACA", - xcm: { - fee: { token: "ACA", amount: "1920000000" }, - }, - }, - { - to: "parallel", - token: "AUSD", - xcm: { - fee: { token: "AUSD", amount: "700000" }, - }, - }, - { - to: "parallel", - token: "LDOT", - xcm: { - fee: { token: "LDOT", amount: "96000000" }, - }, - }, { to: "astar", token: "ASTR", diff --git a/src/adapters/acala/karura-configs.ts b/src/adapters/acala/karura-configs.ts index 476c134a..1437babe 100644 --- a/src/adapters/acala/karura-configs.ts +++ b/src/adapters/acala/karura-configs.ts @@ -170,27 +170,6 @@ export const karuraRouteConfigs = createRouteConfigs("karura", [ fee: { token: "KAR", amount: "8000000000" }, }, }, - { - to: "kico", - token: "KICO", - xcm: { - fee: { token: "KICO", amount: "96000000000" }, - }, - }, - { - to: "kico", - token: "KAR", - xcm: { - fee: { token: "KAR", amount: "160000000000" }, - }, - }, - { - to: "kico", - token: "KUSD", - xcm: { - fee: { token: "KUSD", amount: "320000000000" }, - }, - }, { to: "calamari", token: "KSM", @@ -254,62 +233,6 @@ export const karuraRouteConfigs = createRouteConfigs("karura", [ fee: { token: "KUSD", amount: "16536000000" }, }, }, - { - to: "heiko", - token: "HKO", - xcm: { - fee: { token: "HKO", amount: "1440000000" }, - }, - }, - { - to: "heiko", - token: "KAR", - xcm: { - fee: { token: "KAR", amount: "2400000000" }, - }, - }, - { - to: "heiko", - token: "LKSM", - xcm: { - fee: { token: "LKSM", amount: "48000000" }, - }, - }, - { - to: "heiko", - token: "KUSD", - xcm: { - fee: { token: "KUSD", amount: "48000000" }, - }, - }, - { - to: "pichiu", - token: "PCHU", - xcm: { - fee: { token: "PCHU", amount: "400000000000000" }, - }, - }, - { - to: "pichiu", - token: "KAR", - xcm: { - fee: { token: "KAR", amount: "400000000" }, - }, - }, - { - to: "pichiu", - token: "KUSD", - xcm: { - fee: { token: "KUSD", amount: "400000000" }, - }, - }, - { - to: "pichiu", - token: "LKSM", - xcm: { - fee: { token: "LKSM", amount: "400000000" }, - }, - }, { to: "turing", token: "TUR", diff --git a/src/adapters/assethub.ts b/src/adapters/assethub.ts index 14398582..9a94f9e7 100644 --- a/src/adapters/assethub.ts +++ b/src/adapters/assethub.ts @@ -102,15 +102,6 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( weightLimit: "Unlimited", }, }, - { - to: "parallel", - token: "USDT", - xcm: { - deliveryFee: { token: "DOT", amount: "311100000" }, - fee: { token: "USDT", amount: "808" }, - weightLimit: "Unlimited", - }, - }, ] ); diff --git a/src/adapters/interlay.spec.ts b/src/adapters/interlay.spec.ts index 6e8c3480..b6005129 100644 --- a/src/adapters/interlay.spec.ts +++ b/src/adapters/interlay.spec.ts @@ -5,202 +5,194 @@ import { Bridge, ChainId, ApiProvider, FN, chains } from "../index"; import { KintsugiAdapter, InterlayAdapter } from "./interlay"; import { KusamaAdapter, PolkadotAdapter } from "./polkadot"; import { AssetHubKusamaAdapter, AssetHubPolkadotAdapter } from "./assethub"; -import { HeikoAdapter, ParallelAdapter } from "./parallel"; import { AcalaAdapter, KaruraAdapter } from "./acala"; import { BifrostAdapter, BifrostPolkadotAdapter } from "./bifrost"; import { HydraDxAdapter } from "./hydradx"; import { AstarAdapter } from "./astar"; describe.skip("Interlay/Kintsugi connections tests", () => { - jest.setTimeout(30000); - - const provider = new ApiProvider(); - - const availableAdapters: Record = { - polkadot: new PolkadotAdapter(), - interlay: new InterlayAdapter(), - assetHubPolkadot: new AssetHubPolkadotAdapter(), - acala: new AcalaAdapter(), - parallel: new ParallelAdapter(), - bifrostPolkadot: new BifrostPolkadotAdapter(), - hydradx: new HydraDxAdapter(), - astar: new AstarAdapter(), - kusama: new KusamaAdapter(), - kintsugi: new KintsugiAdapter(), - assetHubKusama: new AssetHubKusamaAdapter(), - karura: new KaruraAdapter(), - heiko: new HeikoAdapter(), - bifrost: new BifrostAdapter(), - }; - - const bridge = new Bridge({ - adapters: Object.values(availableAdapters), - }); + jest.setTimeout(30000); - const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); - - const printTx = (fromChain: ChainId, toChain: ChainId, token: string) => { - // Alice test address - const testAddress = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"; - - const tx = availableAdapters[fromChain].createTx({ - to: toChain, - token, - amount: FN.fromInner("1000000000", 10), - address: testAddress, - }); - console.log( - "transfer", - token, - "from", - fromChain, - "to", - toChain + ": " + tx.method.toHex() - ); - } - - function printBidirectionalTxs(chainA: ChainId, chainB: ChainId, token: any) { - printTx(chainA, chainB, token); - printTx(chainB, chainA, token); - } + const provider = new ApiProvider(); + + const availableAdapters: Record = { + polkadot: new PolkadotAdapter(), + interlay: new InterlayAdapter(), + assetHubPolkadot: new AssetHubPolkadotAdapter(), + acala: new AcalaAdapter(), + bifrostPolkadot: new BifrostPolkadotAdapter(), + hydradx: new HydraDxAdapter(), + astar: new AstarAdapter(), + kusama: new KusamaAdapter(), + kintsugi: new KintsugiAdapter(), + assetHubKusama: new AssetHubKusamaAdapter(), + karura: new KaruraAdapter(), + bifrost: new BifrostAdapter(), + }; - afterAll(async () => { - const chains = Object.keys(availableAdapters) as ChainId[]; - chains.forEach((chainId) => provider.disconnect(chainId)); - - // fake wait - await wait(3000); - - }, 6000); - - test("1. connect fromChain should be ok", async () => { - const chains = Object.keys(availableAdapters) as ChainId[]; - - expect(provider.getApi(chains[0])).toEqual(undefined); - expect(provider.getApi(chains[1])).toEqual(undefined); - - // connect all adapters - const connected = await firstValueFrom( - provider.connectFromChain(chains, { - polkadot: ["wss://polkadot-rpc.dwellir.com"], - interlay: ["wss://api.interlay.io/parachain"], - assetHubPolkadot: ["wss://statemint-rpc.dwellir.com"], - acala: ["wss://acala-rpc.aca-api.network"], - parallel: ["wss://parallel-rpc.dwellir.com"], - bifrostPolkadot: ["wss://bifrost-polkadot-rpc.dwellir.com"], - hydradx: ["wss://rpc.hydradx.cloud"], - astar: ["wss://rpc.astar.network"], - kusama: ["wss://kusama-rpc.dwellir.com"], - kintsugi: ["wss://api-kusama.interlay.io/parachain"], - assetHubKusama: ["wss://statemine-rpc.dwellir.com"], - karura: ["wss://karura-rpc-0.aca-api.network"], - heiko: ["wss://heiko-rpc.parallel.fi"], - bifrost: ["wss://bifrost-rpc.dwellir.com"], - }) - ); - // and set apiProvider for each adapter - await Promise.all( - chains.map((chain) => - availableAdapters[chain].init(provider.getApi(chain)) - ) - ); + const bridge = new Bridge({ + adapters: Object.values(availableAdapters), + }); + + const wait = (ms: number) => + new Promise((resolve) => setTimeout(resolve, ms)); + + const printTx = (fromChain: ChainId, toChain: ChainId, token: string) => { + // Alice test address + const testAddress = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"; + + const tx = availableAdapters[fromChain].createTx({ + to: toChain, + token, + amount: FN.fromInner("1000000000", 10), + address: testAddress, }); - - test("2. token balance query & create tx should be ok", async () => { - const chain: ChainId = "interlay"; - const toChain: ChainId = "polkadot"; - const token = "DOT"; - const testAddress = "23M5ttkmR6Kco7bReRDve6bQUSAcwqebatp3fWGJYb4hDSDJ"; - - const balance = await firstValueFrom( - availableAdapters[chain].subscribeTokenBalance(token, testAddress) - ); - - expect(balance.free.toNumber()).toBeGreaterThanOrEqual(0); - expect(balance.available.toNumber()).toBeGreaterThanOrEqual(0); - - const available = availableAdapters[chain].subscribeInputConfig({ - to: toChain, - token, - address: testAddress, - signer: testAddress, - }); - - const inputConfig = await firstValueFrom(available); - - expect(inputConfig.estimateFee.balance.toNumber()).toBeGreaterThan(0); - expect(inputConfig.minInput.toNumber()).toBeGreaterThan(0); - expect(inputConfig.maxInput.toNumber()).toBeLessThanOrEqual( - balance.available.toNumber() - ); - - const tx = availableAdapters[chain].createTx({ - to: toChain, - token, - amount: FN.fromInner("10000000000", 10), - address: testAddress, - }); - - expect(tx.args.length).toBeGreaterThan(1); + console.log( + "transfer", + token, + "from", + fromChain, + "to", + toChain + ": " + tx.method.toHex() + ); + }; + + function printBidirectionalTxs(chainA: ChainId, chainB: ChainId, token: any) { + printTx(chainA, chainB, token); + printTx(chainB, chainA, token); + } + + afterAll(async () => { + const chains = Object.keys(availableAdapters) as ChainId[]; + chains.forEach((chainId) => provider.disconnect(chainId)); + + // fake wait + await wait(3000); + }, 6000); + + test("1. connect fromChain should be ok", async () => { + const chains = Object.keys(availableAdapters) as ChainId[]; + + expect(provider.getApi(chains[0])).toEqual(undefined); + expect(provider.getApi(chains[1])).toEqual(undefined); + + // connect all adapters + const connected = await firstValueFrom( + provider.connectFromChain(chains, { + polkadot: ["wss://polkadot-rpc.dwellir.com"], + interlay: ["wss://api.interlay.io/parachain"], + assetHubPolkadot: ["wss://statemint-rpc.dwellir.com"], + acala: ["wss://acala-rpc.aca-api.network"], + parallel: ["wss://parallel-rpc.dwellir.com"], + bifrostPolkadot: ["wss://bifrost-polkadot-rpc.dwellir.com"], + hydradx: ["wss://rpc.hydradx.cloud"], + astar: ["wss://rpc.astar.network"], + kusama: ["wss://kusama-rpc.dwellir.com"], + kintsugi: ["wss://api-kusama.interlay.io/parachain"], + assetHubKusama: ["wss://statemine-rpc.dwellir.com"], + karura: ["wss://karura-rpc-0.aca-api.network"], + heiko: ["wss://heiko-rpc.parallel.fi"], + bifrost: ["wss://bifrost-rpc.dwellir.com"], + }) + ); + // and set apiProvider for each adapter + await Promise.all( + chains.map((chain) => + availableAdapters[chain].init(provider.getApi(chain)) + ) + ); + }); + + test("2. token balance query & create tx should be ok", async () => { + const chain: ChainId = "interlay"; + const toChain: ChainId = "polkadot"; + const token = "DOT"; + const testAddress = "23M5ttkmR6Kco7bReRDve6bQUSAcwqebatp3fWGJYb4hDSDJ"; + + const balance = await firstValueFrom( + availableAdapters[chain].subscribeTokenBalance(token, testAddress) + ); + + expect(balance.free.toNumber()).toBeGreaterThanOrEqual(0); + expect(balance.available.toNumber()).toBeGreaterThanOrEqual(0); + + const available = availableAdapters[chain].subscribeInputConfig({ + to: toChain, + token, + address: testAddress, + signer: testAddress, }); - - test("3. all transfer tx should be constructable", async () => { - // kintsugi - printBidirectionalTxs("kintsugi", "kusama", "KSM"); - printBidirectionalTxs("kintsugi", "assetHubKusama", "USDT"); - printBidirectionalTxs("kintsugi", "heiko", "KBTC"); - printBidirectionalTxs("kintsugi", "karura", "KINT"); - printBidirectionalTxs("kintsugi", "karura", "KBTC"); - printBidirectionalTxs("kintsugi", "karura", "LKSM"); - printBidirectionalTxs("kintsugi", "bifrost", "VKSM"); - printBidirectionalTxs("kusama", "assetHubKusama", "KSM"); - - // interlay - printBidirectionalTxs("interlay", "polkadot", "DOT"); - printBidirectionalTxs("interlay", "assetHubPolkadot", "USDT"); - printBidirectionalTxs("interlay", "hydradx", "IBTC"); - printBidirectionalTxs("interlay", "hydradx", "INTR"); - printBidirectionalTxs("interlay", "hydradx", "HDX"); - printBidirectionalTxs("interlay", "acala", "INTR"); - printBidirectionalTxs("interlay", "acala", "IBTC"); - printBidirectionalTxs("interlay", "parallel", "INTR"); - printBidirectionalTxs("interlay", "parallel", "IBTC"); - printBidirectionalTxs("interlay", "astar", "INTR"); - printBidirectionalTxs("interlay", "astar", "IBTC"); - printBidirectionalTxs("interlay", "bifrostPolkadot", "VDOT"); - printBidirectionalTxs("interlay", "bifrostPolkadot", "BNC"); - printBidirectionalTxs("polkadot", "assetHubPolkadot", "DOT"); + + const inputConfig = await firstValueFrom(available); + + expect(inputConfig.estimateFee.balance.toNumber()).toBeGreaterThan(0); + expect(inputConfig.minInput.toNumber()).toBeGreaterThan(0); + expect(inputConfig.maxInput.toNumber()).toBeLessThanOrEqual( + balance.available.toNumber() + ); + + const tx = availableAdapters[chain].createTx({ + to: toChain, + token, + amount: FN.fromInner("10000000000", 10), + address: testAddress, }); - - test("4. getting native token should work", () => { - const testCases: [ChainId, string][] = [ - // kusama network - ["kusama", "KSM"], - ["kintsugi", "KINT"], - ["karura", "KAR"], - ["bifrost", "BNC"], - ["heiko", "HKO"], - ["assetHubKusama", "KSM"], - // polkadot network - ["polkadot", "DOT"], - ["interlay", "INTR"], - ["acala", "ACA"], - ["hydradx", "HDX"], - ["parallel", "PARA"], - ["bifrostPolkadot", "BNC"], - ["assetHubPolkadot", "DOT"], - ]; - - for (const [chainId, expectedNativeTokenSymbol] of testCases) { - const adapter = bridge.router.findAdapterByName(chainId); - if (!adapter) { - fail(`Unable to find adapter for chain: ${chainId}`); - } - - const nativeTokenSymbol = adapter.getApi()!.registry.chainTokens[0]; - - const nativeToken = adapter.getToken(nativeTokenSymbol); - expect(nativeToken.symbol).toBe(expectedNativeTokenSymbol); + + expect(tx.args.length).toBeGreaterThan(1); + }); + + test("3. all transfer tx should be constructable", async () => { + // kintsugi + printBidirectionalTxs("kintsugi", "kusama", "KSM"); + printBidirectionalTxs("kintsugi", "assetHubKusama", "USDT"); + printBidirectionalTxs("kintsugi", "karura", "KINT"); + printBidirectionalTxs("kintsugi", "karura", "KBTC"); + printBidirectionalTxs("kintsugi", "karura", "LKSM"); + printBidirectionalTxs("kintsugi", "bifrost", "VKSM"); + printBidirectionalTxs("kusama", "assetHubKusama", "KSM"); + + // interlay + printBidirectionalTxs("interlay", "polkadot", "DOT"); + printBidirectionalTxs("interlay", "assetHubPolkadot", "USDT"); + printBidirectionalTxs("interlay", "hydradx", "IBTC"); + printBidirectionalTxs("interlay", "hydradx", "INTR"); + printBidirectionalTxs("interlay", "hydradx", "HDX"); + printBidirectionalTxs("interlay", "acala", "INTR"); + printBidirectionalTxs("interlay", "acala", "IBTC"); + printBidirectionalTxs("interlay", "astar", "INTR"); + printBidirectionalTxs("interlay", "astar", "IBTC"); + printBidirectionalTxs("interlay", "bifrostPolkadot", "VDOT"); + printBidirectionalTxs("interlay", "bifrostPolkadot", "BNC"); + printBidirectionalTxs("polkadot", "assetHubPolkadot", "DOT"); + }); + + test("4. getting native token should work", () => { + const testCases: [ChainId, string][] = [ + // kusama network + ["kusama", "KSM"], + ["kintsugi", "KINT"], + ["karura", "KAR"], + ["bifrost", "BNC"], + ["assetHubKusama", "KSM"], + // polkadot network + ["polkadot", "DOT"], + ["interlay", "INTR"], + ["acala", "ACA"], + ["hydradx", "HDX"], + ["bifrostPolkadot", "BNC"], + ["assetHubPolkadot", "DOT"], + ]; + + for (const [chainId, expectedNativeTokenSymbol] of testCases) { + const adapter = bridge.router.findAdapterByName(chainId); + if (!adapter) { + fail(`Unable to find adapter for chain: ${chainId}`); } - }); - }); \ No newline at end of file + + const nativeTokenSymbol = adapter.getApi()!.registry.chainTokens[0]; + + const nativeToken = adapter.getToken(nativeTokenSymbol); + expect(nativeToken.symbol).toBe(expectedNativeTokenSymbol); + } + }); +}); diff --git a/src/adapters/interlay.ts b/src/adapters/interlay.ts index f1d9f147..cda4ec28 100644 --- a/src/adapters/interlay.ts +++ b/src/adapters/interlay.ts @@ -40,19 +40,6 @@ export const interlayRouteConfigs = createRouteConfigs("interlay", [ token: "IBTC", xcm: { fee: { token: "IBTC", amount: "5" }, weightLimit: DEST_WEIGHT }, }, - { - to: "parallel", - token: "INTR", - xcm: { - fee: { token: "INTR", amount: "7000000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "parallel", - token: "IBTC", - xcm: { fee: { token: "IBTC", amount: "110" }, weightLimit: DEST_WEIGHT }, - }, { to: "phala", token: "PHA", @@ -165,22 +152,6 @@ export const kintsugiRouteConfigs = createRouteConfigs("kintsugi", [ weightLimit: DEST_WEIGHT, }, }, - { - to: "heiko", - token: "KBTC", - xcm: { - fee: { token: "KBTC", amount: "110" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "heiko", - token: "KINT", - xcm: { - fee: { token: "KINT", amount: "18000000000" }, - weightLimit: DEST_WEIGHT, - }, - }, { to: "bifrost", token: "VKSM", diff --git a/src/adapters/kico.ts b/src/adapters/kico.ts deleted file mode 100644 index a0f0d58f..00000000 --- a/src/adapters/kico.ts +++ /dev/null @@ -1,214 +0,0 @@ -import { Storage } from "@acala-network/sdk/utils/storage"; -import { AnyApi, FixedPointNumber as FN } from "@acala-network/sdk-core"; -import { combineLatest, map, Observable } from "rxjs"; - -import { SubmittableExtrinsic } from "@polkadot/api/types"; -import { DeriveBalancesAll } from "@polkadot/api-derive/balances/types"; -import { ISubmittableResult } from "@polkadot/types/types"; - -import { BalanceAdapter, BalanceAdapterConfigs } from "../balance-adapter"; -import { BaseCrossChainAdapter } from "../base-chain-adapter"; -import { ChainId, chains } from "../configs"; -import { ApiNotFound, InvalidAddress, TokenNotFound } from "../errors"; -import { BalanceData, ExtendedToken, TransferParams } from "../types"; -import { createRouteConfigs, validateAddress } from "../utils"; - -const DEST_WEIGHT = "5000000000"; - -export const kicoRouteConfigs = createRouteConfigs("kico", [ - { - to: "karura", - token: "KICO", - xcm: { - fee: { token: "KICO", amount: "6400000000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "KAR", - xcm: { - fee: { token: "KAR", amount: "6400000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "KUSD", - xcm: { - fee: { token: "KUSD", amount: "10011896008" }, - weightLimit: DEST_WEIGHT, - }, - }, -]); - -export const kicoTokensConfig: Record = { - KICO: { - name: "KICO", - symbol: "KICO", - decimals: 14, - ed: "100000000000000", - toRaw: () => 0, - }, - KAR: { name: "KAR", symbol: "KAR", decimals: 12, ed: "0", toRaw: () => 102 }, - KUSD: { - name: "KUSD", - symbol: "KUSD", - decimals: 12, - ed: "0", - toRaw: () => 10, - }, -}; - -// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types -const createBalanceStorages = (api: AnyApi) => { - return { - balances: (address: string) => - Storage.create({ - api, - path: "derive.balances.all", - params: [address], - }), - assets: (address: string, tokenId: number) => - Storage.create({ - api, - path: "query.tokens.accounts", - params: [address, tokenId], - }), - }; -}; - -class KicoBalanceAdapter extends BalanceAdapter { - private storages: ReturnType; - - constructor({ api, chain, tokens }: BalanceAdapterConfigs) { - super({ api, chain, tokens }); - this.storages = createBalanceStorages(api); - } - - public subscribeBalance( - token: string, - address: string - ): Observable { - if (!validateAddress(address)) throw new InvalidAddress(address); - - const storage = this.storages.balances(address); - - if (token === this.nativeToken) { - return storage.observable.pipe( - map((data) => ({ - free: FN.fromInner(data.freeBalance.toString(), this.decimals), - locked: FN.fromInner(data.lockedBalance.toString(), this.decimals), - reserved: FN.fromInner( - data.reservedBalance.toString(), - this.decimals - ), - available: FN.fromInner( - data.availableBalance.toString(), - this.decimals - ), - })) - ); - } - - const tokenData: ExtendedToken = this.getToken(token); - - if (!tokenData) throw new TokenNotFound(token); - - return this.storages.assets(address, tokenData.toRaw()).observable.pipe( - map((balance) => { - const amount = FN.fromInner( - balance.free?.toString() || "0", - this.getToken(token).decimals - ); - - return { - free: amount, - locked: new FN(0), - reserved: new FN(0), - available: amount, - }; - }) - ); - } -} - -class BaseKicoAdapter extends BaseCrossChainAdapter { - private balanceAdapter?: KicoBalanceAdapter; - - public async init(api: AnyApi) { - this.api = api; - - await api.isReady; - - this.balanceAdapter = new KicoBalanceAdapter({ - chain: this.chain.id as ChainId, - api, - tokens: kicoTokensConfig, - }); - } - - public subscribeTokenBalance( - token: string, - address: string - ): Observable { - if (!this.balanceAdapter) { - throw new ApiNotFound(this.chain.id); - } - - return this.balanceAdapter.subscribeBalance(token, address); - } - - public subscribeMaxInput( - token: string, - address: string, - to: ChainId - ): Observable { - if (!this.balanceAdapter) { - throw new ApiNotFound(this.chain.id); - } - - return combineLatest({ - txFee: - token === this.balanceAdapter?.nativeToken - ? this.estimateTxFee({ - amount: FN.ZERO, - to, - token, - address, - signer: address, - }) - : "0", - balance: this.balanceAdapter - .subscribeBalance(token, address) - .pipe(map((i) => i.available)), - }).pipe( - map(({ balance, txFee }) => { - const tokenMeta = this.balanceAdapter?.getToken(token); - const feeFactor = 1.2; - const fee = FN.fromInner(txFee, tokenMeta?.decimals).mul( - new FN(feeFactor) - ); - - // always minus ed - return balance - .minus(fee) - .minus(FN.fromInner(tokenMeta?.ed || "0", tokenMeta?.decimals)); - }) - ); - } - - public createTx( - params: TransferParams - ): - | SubmittableExtrinsic<"promise", ISubmittableResult> - | SubmittableExtrinsic<"rxjs", ISubmittableResult> { - return this.createXTokensTx(params); - } -} - -export class KicoAdapter extends BaseKicoAdapter { - constructor() { - super(chains.kico, kicoRouteConfigs, kicoTokensConfig); - } -} diff --git a/src/adapters/kylin.ts b/src/adapters/kylin.ts deleted file mode 100644 index e92c54c2..00000000 --- a/src/adapters/kylin.ts +++ /dev/null @@ -1,279 +0,0 @@ -import { Storage } from "@acala-network/sdk/utils/storage"; -import { AnyApi, FixedPointNumber as FN } from "@acala-network/sdk-core"; -import { combineLatest, map, Observable } from "rxjs"; - -import { SubmittableExtrinsic } from "@polkadot/api/types"; -import { DeriveBalancesAll } from "@polkadot/api-derive/balances/types"; -import { ISubmittableResult } from "@polkadot/types/types"; - -import { BalanceAdapter, BalanceAdapterConfigs } from "../balance-adapter"; -import { BaseCrossChainAdapter } from "../base-chain-adapter"; -import { ChainId, chains } from "../configs"; -import { ApiNotFound, InvalidAddress, TokenNotFound } from "../errors"; -import { BalanceData, ExtendedToken, TransferParams } from "../types"; -import { - createRouteConfigs, - createXTokensDestParam, - createXTokensWeight, - isChainEqual, - validateAddress, - getDestAccountInfo, -} from "../utils"; - -const DEST_WEIGHT = "5000000000"; - -export const pichiuRouteConfigs = createRouteConfigs("pichiu", [ - { - to: "karura", - token: "PCHU", - xcm: { - fee: { token: "PCHU", amount: "9324000000000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "KAR", - xcm: { - fee: { token: "KAR", amount: "9324000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "KUSD", - xcm: { - fee: { token: "KUSD", amount: "5060238106" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "LKSM", - xcm: { - fee: { token: "LKSM", amount: "700170039" }, - weightLimit: DEST_WEIGHT, - }, - }, -]); - -export const pichiuTokensConfig: Record = { - PCHU: { - name: "PCHU", - symbol: "PCHU", - decimals: 18, - ed: "1000000000000", - toRaw: () => "PCHU", - }, - KAR: { - name: "KAR", - symbol: "KAR", - decimals: 12, - ed: "100000000000", - toRaw: () => "KAR", - }, - AUSD: { - name: "AUSD", - symbol: "AUSD", - decimals: 12, - ed: "10000000000", - toRaw: () => "AUSD", - }, - KUSD: { - name: "KUSD", - symbol: "KUSD", - decimals: 12, - ed: "10000000000", - toRaw: () => "AUSD", - }, - LKSM: { - name: "LKSM", - symbol: "LKSM", - decimals: 12, - ed: "500000000", - toRaw: () => "LKSM", - }, -}; - -// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types -const createBalanceStorages = (api: AnyApi) => { - return { - balances: (address: string) => - Storage.create({ - api, - path: "derive.balances.all", - params: [address], - }), - assets: (address: string, token: string) => - Storage.create({ - api, - path: "query.ormlTokens.accounts", - params: [address, token], - }), - }; -}; - -class KylinBalanceAdapter extends BalanceAdapter { - private storages: ReturnType; - - constructor({ api, chain, tokens }: BalanceAdapterConfigs) { - super({ api, chain, tokens }); - this.storages = createBalanceStorages(api); - } - - public subscribeBalance( - token: string, - address: string - ): Observable { - if (!validateAddress(address)) throw new InvalidAddress(address); - - const storage = this.storages.balances(address); - - if (token === this.nativeToken) { - return storage.observable.pipe( - map((data) => ({ - free: FN.fromInner(data.freeBalance.toString(), this.decimals), - locked: FN.fromInner(data.lockedBalance.toString(), this.decimals), - reserved: FN.fromInner( - data.reservedBalance.toString(), - this.decimals - ), - available: FN.fromInner( - data.availableBalance.toString(), - this.decimals - ), - })) - ); - } - - const tokenData: ExtendedToken = this.getToken(token); - - if (!tokenData) throw new TokenNotFound(token); - - return this.storages.assets(address, tokenData.toRaw()).observable.pipe( - map((balance) => { - const amount = FN.fromInner( - balance.free?.toString() || "0", - tokenData.decimals - ); - - return { - free: amount, - locked: new FN(0), - reserved: new FN(0), - available: amount, - }; - }) - ); - } -} - -class BaseKylinAdapter extends BaseCrossChainAdapter { - private balanceAdapter?: KylinBalanceAdapter; - - public async init(api: AnyApi) { - this.api = api; - - await api.isReady; - - this.balanceAdapter = new KylinBalanceAdapter({ - chain: this.chain.id as ChainId, - api, - tokens: pichiuTokensConfig, - }); - } - - public subscribeTokenBalance( - token: string, - address: string - ): Observable { - if (!this.balanceAdapter) { - throw new ApiNotFound(this.chain.id); - } - - return this.balanceAdapter.subscribeBalance(token, address); - } - - public subscribeMaxInput( - token: string, - address: string, - to: ChainId - ): Observable { - if (!this.balanceAdapter) { - throw new ApiNotFound(this.chain.id); - } - - return combineLatest({ - txFee: - token === this.balanceAdapter?.nativeToken - ? this.estimateTxFee({ - amount: FN.ZERO, - to, - token, - address, - signer: address, - }) - : "0", - balance: this.balanceAdapter - .subscribeBalance(token, address) - .pipe(map((i) => i.available)), - }).pipe( - map(({ balance, txFee }) => { - const tokenMeta = this.balanceAdapter?.getToken(token); - const feeFactor = 1.2; - const fee = FN.fromInner(txFee, tokenMeta?.decimals).mul( - new FN(feeFactor) - ); - - // always minus ed - return balance - .minus(fee) - .minus(FN.fromInner(tokenMeta?.ed || "0", tokenMeta?.decimals)); - }) - ); - } - - public createTx( - params: TransferParams - ): - | SubmittableExtrinsic<"promise", ISubmittableResult> - | SubmittableExtrinsic<"rxjs", ISubmittableResult> { - if (!this.api) throw new ApiNotFound(this.chain.id); - - const { address, amount, to, token } = params; - - const { accountId, accountType, addrType } = getDestAccountInfo( - address, - token, - this.api, - to - ); - - if (!validateAddress(address, addrType)) throw new InvalidAddress(address); - - const tokenData: ExtendedToken = this.getToken(token); - const toChain = chains[to]; - - const isToRelayChain = - isChainEqual(toChain, "kusama") || isChainEqual(toChain, "polkadot"); - - if (!tokenData) throw new TokenNotFound(token); - - return this.api?.tx.ormlXTokens.transfer( - tokenData.toRaw(), - amount.toChainData(), - createXTokensDestParam(this.api, toChain.paraChainId, accountId, { - isToRelayChain, - useAccountKey20: accountType === "AccountKey20", - }), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - createXTokensWeight(this.api, this.getDestWeight(token, to)!) - ); - } -} - -export class PichiuAdapter extends BaseKylinAdapter { - constructor() { - super(chains.pichiu, pichiuRouteConfigs, pichiuTokensConfig); - } -} diff --git a/src/adapters/parallel.ts b/src/adapters/parallel.ts deleted file mode 100644 index b87f11e1..00000000 --- a/src/adapters/parallel.ts +++ /dev/null @@ -1,380 +0,0 @@ -import { Storage } from "@acala-network/sdk/utils/storage"; -import { AnyApi, FixedPointNumber as FN } from "@acala-network/sdk-core"; -import { combineLatest, map, Observable } from "rxjs"; - -import { SubmittableExtrinsic } from "@polkadot/api/types"; -import { DeriveBalancesAll } from "@polkadot/api-derive/balances/types"; -import { ISubmittableResult } from "@polkadot/types/types"; - -import { BalanceAdapter, BalanceAdapterConfigs } from "../balance-adapter"; -import { BaseCrossChainAdapter } from "../base-chain-adapter"; -import { ChainId, chains } from "../configs"; -import { ApiNotFound, InvalidAddress, TokenNotFound } from "../errors"; -import { BalanceData, ExtendedToken, TransferParams } from "../types"; -import { createRouteConfigs, validateAddress } from "../utils"; - -const DEST_WEIGHT = "Unlimited"; - -export const parallelRouteConfigs = createRouteConfigs("parallel", [ - { - to: "acala", - token: "PARA", - xcm: { - fee: { token: "PARA", amount: "6400000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "acala", - token: "ACA", - xcm: { - fee: { token: "ACA", amount: "6400000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "acala", - token: "AUSD", - xcm: { - fee: { token: "AUSD", amount: "6400000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "acala", - token: "LDOT", - xcm: { - fee: { token: "LDOT", amount: "24037893" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "assetHubPolkadot", - token: "USDT", - xcm: { - fee: { token: "USDT", amount: "24037893" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "interlay", - token: "IBTC", - xcm: { - fee: { token: "IBTC", amount: "72" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "interlay", - token: "INTR", - xcm: { - fee: { token: "INTR", amount: "20000000" }, - weightLimit: DEST_WEIGHT, - }, - }, -]); - -export const heikoRouteConfigs = createRouteConfigs("heiko", [ - { - to: "karura", - token: "HKO", - xcm: { - fee: { token: "HKO", amount: "6400000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "KAR", - xcm: { - fee: { token: "KAR", amount: "6400000000" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "karura", - token: "LKSM", - xcm: { - fee: { token: "LKSM", amount: "589618748" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "kintsugi", - token: "KBTC", - xcm: { - fee: { token: "KBTC", amount: "110" }, - weightLimit: DEST_WEIGHT, - }, - }, - { - to: "kintsugi", - token: "KINT", - xcm: { - fee: { token: "KINT", amount: "225000000" }, - weightLimit: DEST_WEIGHT, - }, - }, -]); - -export const parallelTokensConfig: Record< - string, - Record -> = { - parallel: { - PARA: { - name: "PARA", - symbol: "PARA", - decimals: 12, - ed: "100000000000", - toRaw: () => "1", - }, - ACA: { - name: "ACA", - symbol: "ACA", - decimals: 12, - ed: "100000000000", - toRaw: () => "108", - }, - AUSD: { - name: "AUSD", - symbol: "AUSD", - decimals: 12, - ed: "100000000000", - toRaw: () => "104", - }, - UDST: { - name: "UDST", - symbol: "UDST", - decimals: 6, - ed: "100000000000", - toRaw: () => "102", - }, - LDOT: { - name: "LDOT", - symbol: "LDOT", - decimals: 10, - ed: "500000000", - toRaw: () => "110", - }, - IBTC: { - name: "IBTC", - symbol: "IBTC", - decimals: 8, - ed: "1", - toRaw: () => 122, - }, - INTR: { - name: "INTR", - symbol: "INTR", - decimals: 10, - ed: "1", - toRaw: () => 120, - }, - }, - heiko: { - HKO: { - name: "HKO", - symbol: "HKO", - decimals: 12, - ed: "100000000000", - toRaw: () => "0", - }, - KAR: { - name: "KAR", - symbol: "KAR", - decimals: 12, - ed: "0", - toRaw: () => "107", - }, - KUSD: { - name: "KUSD", - symbol: "KUSD", - decimals: 12, - ed: "0", - toRaw: () => "103", - }, - LKSM: { - name: "LKSM", - symbol: "LKSM", - decimals: 12, - ed: "0", - toRaw: () => "109", - }, - KBTC: { - name: "KBTC", - symbol: "KBTC", - decimals: 8, - ed: "0", - toRaw: () => 121, - }, - KINT: { - name: "Kintsugi", - symbol: "KINT", - decimals: 12, - ed: "0", - toRaw: () => 119, - }, - }, -}; - -// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types -const createBalanceStorages = (api: AnyApi) => { - return { - balances: (address: string) => - Storage.create({ - api, - path: "derive.balances.all", - params: [address], - }), - assets: (tokenId: number, address: string) => - Storage.create({ - api, - path: "query.assets.account", - params: [tokenId, address], - }), - }; -}; - -class ParallelBalanceAdapter extends BalanceAdapter { - private storages: ReturnType; - - constructor({ api, chain, tokens }: BalanceAdapterConfigs) { - super({ api, chain, tokens }); - this.storages = createBalanceStorages(api); - } - - public subscribeBalance( - token: string, - address: string - ): Observable { - if (!validateAddress(address)) throw new InvalidAddress(address); - - const storage = this.storages.balances(address); - - if (token === this.nativeToken) { - return storage.observable.pipe( - map((data) => ({ - free: FN.fromInner(data.freeBalance.toString(), this.decimals), - locked: FN.fromInner(data.lockedBalance.toString(), this.decimals), - reserved: FN.fromInner( - data.reservedBalance.toString(), - this.decimals - ), - available: FN.fromInner( - data.availableBalance.toString(), - this.decimals - ), - })) - ); - } - - const tokenData: ExtendedToken = this.getToken(token); - - if (!tokenData) throw new TokenNotFound(token); - - return this.storages.assets(tokenData.toRaw(), address).observable.pipe( - map((balance) => { - const amount = FN.fromInner( - balance.unwrapOrDefault()?.balance?.toString() || "0", - tokenData.decimals - ); - - return { - free: amount, - locked: new FN(0), - reserved: new FN(0), - available: amount, - }; - }) - ); - } -} - -class BaseParallelAdapter extends BaseCrossChainAdapter { - private balanceAdapter?: ParallelBalanceAdapter; - - public async init(api: AnyApi) { - this.api = api; - - await api.isReady; - - const chain = this.chain.id as ChainId; - - this.balanceAdapter = new ParallelBalanceAdapter({ - chain, - api, - tokens: parallelTokensConfig[chain], - }); - } - - public subscribeTokenBalance( - token: string, - address: string - ): Observable { - if (!this.balanceAdapter) { - throw new ApiNotFound(this.chain.id); - } - - return this.balanceAdapter.subscribeBalance(token, address); - } - - public subscribeMaxInput( - token: string, - address: string, - to: ChainId - ): Observable { - if (!this.balanceAdapter) { - throw new ApiNotFound(this.chain.id); - } - - return combineLatest({ - txFee: - token === this.balanceAdapter?.nativeToken - ? this.estimateTxFee({ - amount: FN.ZERO, - to, - token, - address, - signer: address, - }) - : "0", - balance: this.balanceAdapter - .subscribeBalance(token, address) - .pipe(map((i) => i.available)), - }).pipe( - map(({ balance, txFee }) => { - const tokenMeta = this.balanceAdapter?.getToken(token); - const feeFactor = 1.2; - const fee = FN.fromInner(txFee, tokenMeta?.decimals).mul( - new FN(feeFactor) - ); - - // always minus ed - return balance - .minus(fee) - .minus(FN.fromInner(tokenMeta?.ed || "0", tokenMeta?.decimals)); - }) - ); - } - - public createTx( - params: TransferParams - ): - | SubmittableExtrinsic<"promise", ISubmittableResult> - | SubmittableExtrinsic<"rxjs", ISubmittableResult> { - return this.createXTokensTx(params); - } -} - -export class HeikoAdapter extends BaseParallelAdapter { - constructor() { - super(chains.heiko, heikoRouteConfigs, parallelTokensConfig.heiko); - } -} - -export class ParallelAdapter extends BaseParallelAdapter { - constructor() { - super(chains.parallel, parallelRouteConfigs, parallelTokensConfig.parallel); - } -} diff --git a/src/adapters/polkadot.spec.ts b/src/adapters/polkadot.spec.ts index dd026e15..45cb3c0c 100644 --- a/src/adapters/polkadot.spec.ts +++ b/src/adapters/polkadot.spec.ts @@ -60,7 +60,12 @@ describe.skip("polkadot-adapter should work", () => { adapters: Object.values(adapters), }); - expect(bridge.router.getDestinationChains({ from: chains.kusama, token: "KSM" }).length).toBeGreaterThanOrEqual(1); + expect( + bridge.router.getDestinationChains({ + from: chains.kusama, + token: "KSM", + }).length + ).toBeGreaterThanOrEqual(1); } catch (err) { // ignore node disconnected error } @@ -75,28 +80,56 @@ describe.skip("polkadot-adapter should work", () => { // TODO: add DOT to hydradx tokensConfig to fix this if (e.token === "DOT" && e.to === "hydradx") return; - const balance = await firstValueFrom(adapter.subscribeTokenBalance(e.token, testAccount)); + const balance = await firstValueFrom( + adapter.subscribeTokenBalance(e.token, testAccount) + ); - const balanceLog = formateRouteLogLine(e.token, e.from, e.to, "balance"); + const balanceLog = formateRouteLogLine( + e.token, + e.from, + e.to, + "balance" + ); logFormatedRoute("", [balanceLog]); outputSummary.push(balanceLog); expect(balance.available.toNumber()).toBeGreaterThanOrEqual(0); - expect(balance.free.toNumber()).toBeGreaterThanOrEqual(balance.available.toNumber()); - expect(balance.free.toNumber()).toEqual(balance.locked.add(balance.available).toNumber()); + expect(balance.free.toNumber()).toBeGreaterThanOrEqual( + balance.available.toNumber() + ); + expect(balance.free.toNumber()).toEqual( + balance.locked.add(balance.available).toNumber() + ); const inputConfig = await firstValueFrom( - adapter.subscribeInputConfig({ to: e.to, token: e.token, address: testAccount, signer: testAccount }) + adapter.subscribeInputConfig({ + to: e.to, + token: e.token, + address: testAccount, + signer: testAccount, + }) ); - const inputConfigLog = formateRouteLogLine(e.token, e.from, e.to, "inputConfig"); + const inputConfigLog = formateRouteLogLine( + e.token, + e.from, + e.to, + "inputConfig" + ); logFormatedRoute("", [inputConfigLog]); outputSummary.push(inputConfigLog); expect(inputConfig.minInput.toNumber()).toBeGreaterThan(0); - expect(inputConfig.maxInput.toNumber()).toBeLessThanOrEqual(balance.available.toNumber()); + expect(inputConfig.maxInput.toNumber()).toBeLessThanOrEqual( + balance.available.toNumber() + ); const destFee = adapter.getCrossChainFee(e.token, e.to); - const destFeeLog = formateRouteLogLine(e.token, e.from, e.to, "destFee"); + const destFeeLog = formateRouteLogLine( + e.token, + e.from, + e.to, + "destFee" + ); logFormatedRoute("", [destFeeLog]); outputSummary.push(destFeeLog); expect(destFee.balance.toNumber()).toBeGreaterThan(0); @@ -117,7 +150,12 @@ describe.skip("polkadot-adapter should work", () => { expect(tx.method.method).toEqual("limitedReserveTransferAssets"); } - const createTxLog = formateRouteLogLine(e.token, e.from, e.to, "createTx"); + const createTxLog = formateRouteLogLine( + e.token, + e.from, + e.to, + "createTx" + ); logFormatedRoute("", [createTxLog]); outputSummary.push(createTxLog); }; diff --git a/src/adapters/polkadot.ts b/src/adapters/polkadot.ts index 85cefa2e..5a7b4a90 100644 --- a/src/adapters/polkadot.ts +++ b/src/adapters/polkadot.ts @@ -219,20 +219,6 @@ class BasePolkadotAdapter extends BaseCrossChainAdapter { ); } - // TODO: should remove after kusama upgrade - private get isV0V1() { - try { - const keys = (this.api?.createType("XcmVersionedMultiLocation") as any) - .defKeys as string[]; - - return keys.includes("V0"); - } catch (e) { - // ignore error - } - - return false; - } - public createTx( params: TransferParams ): @@ -257,8 +243,6 @@ class BasePolkadotAdapter extends BaseCrossChainAdapter { throw new TokenNotFound(token); } - const isV0V1Support = this.isV0V1; - // to asset hub if (to === "assetHubKusama" || to === "assetHubPolkadot") { const dst = { @@ -270,7 +254,7 @@ class BasePolkadotAdapter extends BaseCrossChainAdapter { X1: { AccountId32: { id: accountId, - network: isV0V1Support ? "Any" : undefined, + network: undefined, }, }, }, @@ -284,70 +268,42 @@ class BasePolkadotAdapter extends BaseCrossChainAdapter { ]; return this.api?.tx.xcmPallet.limitedTeleportAssets( - { [isV0V1Support ? "V1" : "V3"]: dst }, - { [isV0V1Support ? "V1" : "V3"]: acc }, - { [isV0V1Support ? "V1" : "V3"]: ass }, + { V3: dst }, + { V3: acc }, + { V3: ass }, 0, "Unlimited" ); } - // to acala or karura which is support V0/V1 (old version) - if ((to === "acala" || to === "karura") && isV0V1Support) { - const dst = { X1: { Parachain: toChain.paraChainId } }; - const acc = { X1: { AccountId32: { id: accountId, network: "Any" } } }; - const ass = [{ ConcreteFungible: { amount: amount.toChainData() } }]; - - return this.api?.tx.xcmPallet.reserveTransferAssets( - { V0: dst }, - { V0: acc }, - { V0: ass }, - 0 - ); - } - - if (isV0V1Support) { - const dst = { X1: { Parachain: toChain.paraChainId } }; - const acc = { X1: { AccountId32: { id: accountId, network: "Any" } } }; - const ass = [{ ConcreteFungible: { amount: amount.toChainData() } }]; - - return this.api?.tx.xcmPallet.limitedReserveTransferAssets( - { V0: dst }, - { V0: acc }, - { V0: ass }, - 0, - this.getDestWeight(token, to)?.toString() - ); - } else { - const dst = { - parents: 0, - interior: { X1: { Parachain: toChain.paraChainId } }, - }; - const acc = { - parents: 0, - interior: { - X1: { - [accountType]: { - [accountType === "AccountId32" ? "id" : "key"]: accountId, - }, + const dst = { + parents: 0, + interior: { X1: { Parachain: toChain.paraChainId } }, + }; + const acc = { + parents: 0, + interior: { + X1: { + [accountType]: { + [accountType === "AccountId32" ? "id" : "key"]: accountId, }, }, - }; - const ass = [ - { - id: { Concrete: { parents: 0, interior: "Here" } }, - fun: { Fungible: amount.toChainData() }, - }, - ]; - - return this.api?.tx.xcmPallet.limitedReserveTransferAssets( - { V3: dst }, - { V3: acc }, - { V3: ass }, - 0, - this.getDestWeight(token, to)?.toString() - ); - } + }, + }; + const ass = [ + { + id: { Concrete: { parents: 0, interior: "Here" } }, + fun: { Fungible: amount.toChainData() }, + }, + ]; + + return this.api?.tx.xcmPallet.limitedReserveTransferAssets( + { V3: dst }, + { V3: acc }, + { V3: ass }, + 0, + this.getDestWeight(token, to)?.toString() + ); } } diff --git a/src/configs/chains/kusama-chains.ts b/src/configs/chains/kusama-chains.ts index 6eb22452..445c154c 100644 --- a/src/configs/chains/kusama-chains.ts +++ b/src/configs/chains/kusama-chains.ts @@ -55,20 +55,6 @@ export const kusamaChains = { paraChainId: 2023, ss58Prefix: 1285, }, - heiko: { - display: "Parallel Heiko", - type: "substrate", - icon: "https://resources.acala.network/_next/image?url=%2Fnetworks%2Fparallel.png&w=96&q=75", - paraChainId: 2085, - ss58Prefix: 110, - }, - kico: { - display: "KICO", - type: "substrate", - icon: "https://resources.acala.network/_next/image?url=%2Fnetworks%2Fkico.png&w=96&q=75", - paraChainId: 2107, - ss58Prefix: 42, - }, shadow: { display: "Crust Shadow", type: "substrate", @@ -118,13 +104,6 @@ export const kusamaChains = { paraChainId: 2007, ss58Prefix: 5, }, - pichiu: { - display: "Pichiu", - type: "substrate", - icon: "https://resources.acala.network/_next/image?url=%2Fnetworks%2Fpichiu.png&w=96&q=75", - paraChainId: 2102, - ss58Prefix: 42, - }, basilisk: { display: "Basilisk", type: "substrate", diff --git a/src/configs/chains/polkadot-chains.ts b/src/configs/chains/polkadot-chains.ts index a1064091..e09d5140 100644 --- a/src/configs/chains/polkadot-chains.ts +++ b/src/configs/chains/polkadot-chains.ts @@ -20,13 +20,6 @@ export const polkadotChains = { paraChainId: 2000, ss58Prefix: 10, }, - parallel: { - display: "Parallel", - type: "substrate", - icon: "https://resources.acala.network/_next/image?url=%2Fnetworks%2Fparallel.png&w=96&q=75", - paraChainId: 2012, - ss58Prefix: 172, - }, phala: { display: "Phala", type: "substrate", diff --git a/src/support-bridges.ts b/src/support-bridges.ts index 7bef2c1b..3ce3285c 100644 --- a/src/support-bridges.ts +++ b/src/support-bridges.ts @@ -8,7 +8,7 @@ "xcm": { "fee": { "token": "DOT", - "amount": "469417452" + "amount": "19978738" } }, "from": "acala" @@ -58,45 +58,12 @@ "from": "acala" }, { - "to": "parallel", - "token": "PARA", - "xcm": { - "fee": { - "token": "PARA", - "amount": "9600000000" - } - }, - "from": "acala" - }, - { - "to": "parallel", - "token": "ACA", - "xcm": { - "fee": { - "token": "ACA", - "amount": "1920000000" - } - }, - "from": "acala" - }, - { - "to": "parallel", - "token": "AUSD", - "xcm": { - "fee": { - "token": "AUSD", - "amount": "2880000000" - } - }, - "from": "acala" - }, - { - "to": "parallel", + "to": "moonbeam", "token": "LDOT", "xcm": { "fee": { "token": "LDOT", - "amount": "96000000" + "amount": "45977011" } }, "from": "acala" @@ -107,7 +74,7 @@ "xcm": { "fee": { "token": "ASTR", - "amount": "4635101624603120" + "amount": "4006410300000000" } }, "from": "acala" @@ -151,7 +118,7 @@ "xcm": { "fee": { "token": "INTR", - "amount": "21787589" + "amount": "20000000" } }, "from": "acala" @@ -178,6 +145,17 @@ }, "from": "acala" }, + { + "to": "hydradx", + "token": "DOT", + "xcm": { + "fee": { + "token": "DOT", + "amount": "491129243" + } + }, + "from": "acala" + }, { "to": "hydradx", "token": "WETH", @@ -200,6 +178,28 @@ }, "from": "acala" }, + { + "to": "hydradx", + "token": "LDOT", + "xcm": { + "fee": { + "token": "LDOT", + "amount": "11516111" + } + }, + "from": "acala" + }, + { + "to": "hydradx", + "token": "ACA", + "xcm": { + "fee": { + "token": "ACA", + "amount": "10429291793" + } + }, + "from": "acala" + }, { "to": "unique", "token": "UNQ", @@ -211,6 +211,39 @@ }, "from": "acala" }, + { + "to": "assetHubPolkadot", + "token": "USDT", + "xcm": { + "fee": { + "token": "DOT", + "amount": "160000000" + } + }, + "from": "acala" + }, + { + "to": "assetHubPolkadot", + "token": "USDC", + "xcm": { + "fee": { + "token": "DOT", + "amount": "160000000" + } + }, + "from": "acala" + }, + { + "to": "assetHubPolkadot", + "token": "PINK", + "xcm": { + "fee": { + "token": "DOT", + "amount": "160000000" + } + }, + "from": "acala" + }, { "to": "kusama", "token": "KSM", @@ -223,7 +256,7 @@ "from": "karura" }, { - "to": "statemine", + "to": "assetHubKusama", "token": "RMRK", "xcm": { "fee": { @@ -234,7 +267,7 @@ "from": "karura" }, { - "to": "statemine", + "to": "assetHubKusama", "token": "ARIS", "xcm": { "fee": { @@ -245,12 +278,12 @@ "from": "karura" }, { - "to": "statemine", + "to": "assetHubKusama", "token": "USDT", "xcm": { "fee": { "token": "USDT", - "amount": "1000" + "amount": "1183" } }, "from": "karura" @@ -261,7 +294,7 @@ "xcm": { "fee": { "token": "SDN", - "amount": "4662276356431024" + "amount": "3519949300000000" } }, "from": "karura" @@ -272,7 +305,7 @@ "xcm": { "fee": { "token": "KUSD", - "amount": "1200000000" + "amount": "2080000000" } }, "from": "karura" @@ -288,6 +321,17 @@ }, "from": "karura" }, + { + "to": "bifrost", + "token": "KSM", + "xcm": { + "fee": { + "token": "KSM", + "amount": "5120000000" + } + }, + "from": "karura" + }, { "to": "bifrost", "token": "KAR", @@ -404,7 +448,7 @@ "xcm": { "fee": { "token": "KINT", - "amount": "170666666" + "amount": "220000000" } }, "from": "karura" @@ -426,7 +470,7 @@ "xcm": { "fee": { "token": "LKSM", - "amount": "186480000" + "amount": "190000000" } }, "from": "karura" @@ -465,34 +509,12 @@ "from": "karura" }, { - "to": "kico", - "token": "KICO", - "xcm": { - "fee": { - "token": "KICO", - "amount": "96000000000" - } - }, - "from": "karura" - }, - { - "to": "kico", - "token": "KAR", - "xcm": { - "fee": { - "token": "KAR", - "amount": "160000000000" - } - }, - "from": "karura" - }, - { - "to": "kico", - "token": "KUSD", + "to": "calamari", + "token": "KSM", "xcm": { "fee": { - "token": "KUSD", - "amount": "320000000000" + "token": "KSM", + "amount": "100000000000" } }, "from": "karura" @@ -554,110 +576,33 @@ }, { "to": "moonriver", - "token": "KAR", + "token": "KSM", "xcm": { "fee": { - "token": "KAR", - "amount": "9880000000" + "token": "KSM", + "amount": "353666600" } }, "from": "karura" }, { "to": "moonriver", - "token": "KUSD", - "xcm": { - "fee": { - "token": "KUSD", - "amount": "16536000000" - } - }, - "from": "karura" - }, - { - "to": "heiko", - "token": "HKO", - "xcm": { - "fee": { - "token": "HKO", - "amount": "1440000000" - } - }, - "from": "karura" - }, - { - "to": "heiko", - "token": "KAR", - "xcm": { - "fee": { - "token": "KAR", - "amount": "2400000000" - } - }, - "from": "karura" - }, - { - "to": "heiko", - "token": "KUSD", - "xcm": { - "fee": { - "token": "KUSD", - "amount": "19200000000" - } - }, - "from": "karura" - }, - { - "to": "heiko", - "token": "LKSM", - "xcm": { - "fee": { - "token": "LKSM", - "amount": "48000000" - } - }, - "from": "karura" - }, - { - "to": "pichiu", - "token": "PCHU", - "xcm": { - "fee": { - "token": "PCHU", - "amount": "400000000000000" - } - }, - "from": "karura" - }, - { - "to": "pichiu", "token": "KAR", "xcm": { "fee": { "token": "KAR", - "amount": "400000000" + "amount": "9880000000" } }, "from": "karura" }, { - "to": "pichiu", + "to": "moonriver", "token": "KUSD", "xcm": { "fee": { "token": "KUSD", - "amount": "400000000" - } - }, - "from": "karura" - }, - { - "to": "pichiu", - "token": "LKSM", - "xcm": { - "fee": { - "token": "LKSM", - "amount": "400000000" + "amount": "16536000000" } }, "from": "karura" @@ -717,6 +662,17 @@ }, "from": "karura" }, + { + "to": "basilisk", + "token": "KSM", + "xcm": { + "fee": { + "token": "KSM", + "amount": "359882060" + } + }, + "from": "karura" + }, { "to": "basilisk", "token": "KUSD", @@ -830,91 +786,353 @@ ], [ { - "to": "acala", - "token": "ASTR", + "to": "polkadot", + "token": "DOT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "309700000" + }, "fee": { - "token": "ASTR", - "amount": "9269600000000000" + "token": "DOT", + "amount": "421500000" }, "weightLimit": "Unlimited" }, - "from": "astar" + "from": "assetHubPolkadot" }, { - "to": "acala", - "token": "ACA", + "to": "hydradx", + "token": "USDT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, "fee": { - "token": "ACA", - "amount": "9269600000" + "token": "USDT", + "amount": "2200" }, "weightLimit": "Unlimited" }, - "from": "astar" + "from": "assetHubPolkadot" }, { "to": "acala", - "token": "AUSD", + "token": "USDT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, "fee": { - "token": "AUSD", - "amount": "2931921869" + "token": "USDT", + "amount": "808" }, "weightLimit": "Unlimited" }, - "from": "astar" + "from": "assetHubPolkadot" }, { "to": "acala", - "token": "LDOT", + "token": "USDC", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, "fee": { - "token": "LDOT", - "amount": "31449750" + "token": "USDC", + "amount": "803" }, "weightLimit": "Unlimited" }, - "from": "astar" + "from": "assetHubPolkadot" }, { - "to": "hydradx", - "token": "ASTR", + "to": "acala", + "token": "PINK", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, "fee": { - "token": "ASTR", - "amount": "44306118000000000" + "token": "PINK", + "amount": "80370000" }, "weightLimit": "Unlimited" }, - "from": "astar" + "from": "assetHubPolkadot" }, { - "to": "karura", - "token": "SDN", + "to": "astar", + "token": "USDT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, "fee": { - "token": "SDN", - "amount": "932400000000000" + "token": "USDT", + "amount": "808" }, "weightLimit": "Unlimited" }, - "from": "shiden" + "from": "assetHubPolkadot" }, { - "to": "karura", - "token": "KUSD", + "to": "interlay", + "token": "USDT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, "fee": { - "token": "KUSD", - "amount": "3826597686" + "token": "USDT", + "amount": "25000" }, "weightLimit": "Unlimited" }, - "from": "shiden" - } - ], - [ + "from": "assetHubPolkadot" + }, + { + "to": "interlay", + "token": "USDC", + "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, + "fee": { + "token": "USDC", + "amount": "25000" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubPolkadot" + }, + { + "to": "moonbeam", + "token": "USDT", + "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "311100000" + }, + "fee": { + "token": "USDT", + "amount": "808" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubPolkadot" + }, + { + "to": "kusama", + "token": "KSM", + "xcm": { + "fee": { + "token": "KSM", + "amount": "90049287" + }, + "deliveryFee": { + "token": "KSM", + "amount": "1032333300" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubKusama" + }, + { + "to": "karura", + "token": "RMRK", + "xcm": { + "deliveryFee": { + "token": "KSM", + "amount": "1036333296" + }, + "fee": { + "token": "RMRK", + "amount": "9918117" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubKusama" + }, + { + "to": "karura", + "token": "ARIS", + "xcm": { + "fee": { + "token": "ARIS", + "amount": "6400000" + }, + "deliveryFee": { + "token": "KSM", + "amount": "1036333296" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubKusama" + }, + { + "to": "karura", + "token": "USDT", + "xcm": { + "fee": { + "token": "USDT", + "amount": "808" + }, + "deliveryFee": { + "token": "KSM", + "amount": "1036333296" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubKusama" + }, + { + "to": "kintsugi", + "token": "USDT", + "xcm": { + "fee": { + "token": "USDT", + "amount": "20000" + }, + "deliveryFee": { + "token": "KSM", + "amount": "1036333296" + }, + "weightLimit": "Unlimited" + }, + "from": "assetHubKusama" + } + ], + [ + { + "to": "acala", + "token": "ASTR", + "xcm": { + "fee": { + "token": "ASTR", + "amount": "8082400000000000" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "acala", + "token": "ACA", + "xcm": { + "fee": { + "token": "ACA", + "amount": "8082400000" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "acala", + "token": "AUSD", + "xcm": { + "fee": { + "token": "AUSD", + "amount": "1815098681" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "acala", + "token": "LDOT", + "xcm": { + "fee": { + "token": "LDOT", + "amount": "13400229" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "hydradx", + "token": "ASTR", + "xcm": { + "fee": { + "token": "ASTR", + "amount": "44306118000000000" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "assetHubPolkadot", + "token": "USDT", + "xcm": { + "fee": { + "token": "USDT", + "amount": "44306118000000000" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "interlay", + "token": "IBTC", + "xcm": { + "fee": { + "token": "IBTC", + "amount": "75" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "interlay", + "token": "INTR", + "xcm": { + "fee": { + "token": "INTR", + "amount": "20000000" + }, + "weightLimit": "Unlimited" + }, + "from": "astar" + }, + { + "to": "karura", + "token": "SDN", + "xcm": { + "fee": { + "token": "SDN", + "amount": "801280000000000" + }, + "weightLimit": "Unlimited" + }, + "from": "shiden" + }, + { + "to": "karura", + "token": "KUSD", + "xcm": { + "fee": { + "token": "KUSD", + "amount": "2120203588" + }, + "weightLimit": "Unlimited" + }, + "from": "shiden" + } + ], + [ { "to": "karura", "token": "BNC", @@ -969,6 +1187,17 @@ } }, "from": "bifrost" + }, + { + "to": "kintsugi", + "token": "VKSM", + "xcm": { + "fee": { + "token": "VKSM", + "amount": "175000000" + } + }, + "from": "bifrost" } ], [ @@ -978,9 +1207,8 @@ "xcm": { "fee": { "token": "KSM", - "amount": "11523248" - }, - "weightLimit": "800000000" + "amount": "104571640" + } }, "from": "basilisk" }, @@ -991,20 +1219,18 @@ "fee": { "token": "BSX", "amount": "93240000000" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, { "to": "karura", - "token": "KUSD", + "token": "aUSD", "xcm": { "fee": { - "token": "KUSD", + "token": "aUSD", "amount": "5060238106" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, @@ -1015,8 +1241,7 @@ "fee": { "token": "KSM", "amount": "90741527" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, @@ -1027,8 +1252,7 @@ "fee": { "token": "DAI", "amount": "808240000000000" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, @@ -1039,8 +1263,7 @@ "fee": { "token": "USDCet", "amount": "808" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, @@ -1051,8 +1274,7 @@ "fee": { "token": "WETH", "amount": "449022222222" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, @@ -1063,46 +1285,42 @@ "fee": { "token": "WBTC", "amount": "2" - }, - "weightLimit": "5000000000" + } }, "from": "basilisk" }, { - "to": "acala", - "token": "DAI", + "to": "assetHubKusama", + "token": "USDT", "xcm": { "fee": { - "token": "DAI", - "amount": "808240000000000" - }, - "weightLimit": "5000000000" + "token": "USDT", + "amount": "1183" + } }, - "from": "hydradx" + "from": "basilisk" }, { - "to": "acala", - "token": "WETH", + "to": "tinkernet", + "token": "TNKR", "xcm": { "fee": { - "token": "WETH", - "amount": "687004000000" - }, - "weightLimit": "5000000000" + "token": "TNKR", + "amount": "9270203240" + } }, - "from": "hydradx" + "from": "basilisk" }, { - "to": "acala", - "token": "WBTC", + "to": "robonomics", + "token": "XRT", "xcm": { "fee": { - "token": "WBTC", - "amount": "4" - }, - "weightLimit": "5000000000" + "token": "XRT", + "amount": "4632" + } }, - "from": "hydradx" + "from": "basilisk" } ], [ @@ -1126,9 +1344,8 @@ "xcm": { "fee": { "token": "INTR", - "amount": "92696000" - }, - "weightLimit": "5000000000" + "amount": "81000000" + } }, "from": "interlay" }, @@ -1139,146 +1356,231 @@ "fee": { "token": "IBTC", "amount": "9" + } + }, + "from": "interlay" + }, + { + "to": "astar", + "token": "INTR", + "xcm": { + "fee": { + "token": "INTR", + "amount": "40000000" }, "weightLimit": "5000000000" }, "from": "interlay" }, { - "to": "hydradx", + "to": "astar", "token": "IBTC", "xcm": { "fee": { "token": "IBTC", - "amount": "7" + "amount": "5" }, "weightLimit": "5000000000" }, "from": "interlay" }, { - "to": "karura", - "token": "KINT", + "to": "phala", + "token": "PHA", "xcm": { "fee": { - "token": "KINT", - "amount": "170666666" + "token": "PHA", + "amount": "65000000000" + } + }, + "from": "interlay" + }, + { + "to": "phala", + "token": "INTR", + "xcm": { + "fee": { + "token": "INTR", + "amount": "650000000" + } + }, + "from": "interlay" + }, + { + "to": "phala", + "token": "IBTC", + "xcm": { + "fee": { + "token": "IBTC", + "amount": "6500000" + } + }, + "from": "interlay" + }, + { + "to": "polkadot", + "token": "DOT", + "xcm": { + "fee": { + "token": "DOT", + "amount": "1000000000" }, "weightLimit": "5000000000" }, - "from": "kintsugi" + "from": "interlay" }, { - "to": "karura", - "token": "KBTC", + "to": "assetHubPolkadot", + "token": "USDC", "xcm": { "fee": { - "token": "KBTC", - "amount": "85" + "token": "USDC", + "amount": "80000" }, "weightLimit": "5000000000" }, - "from": "kintsugi" + "from": "interlay" + }, + { + "to": "assetHubPolkadot", + "token": "USDT", + "xcm": { + "fee": { + "token": "USDT", + "amount": "80000" + } + }, + "from": "interlay" + }, + { + "to": "hydradx", + "token": "IBTC", + "xcm": { + "fee": { + "token": "IBTC", + "amount": "15" + } + }, + "from": "interlay" + }, + { + "to": "hydradx", + "token": "INTR", + "xcm": { + "fee": { + "token": "INTR", + "amount": "1500000000" + }, + "weightLimit": "5000000000" + }, + "from": "interlay" + }, + { + "to": "hydradx", + "token": "HDX", + "xcm": { + "fee": { + "token": "HDX", + "amount": "100000000000" + } + }, + "from": "interlay" }, { - "to": "karura", - "token": "LKSM", + "to": "bifrostPolkadot", + "token": "VDOT", "xcm": { "fee": { - "token": "LKSM", - "amount": "647055467" + "token": "VDOT", + "amount": "725" }, "weightLimit": "5000000000" }, - "from": "kintsugi" - } - ], - [ + "from": "interlay" + }, { - "to": "karura", - "token": "KICO", + "to": "bifrostPolkadot", + "token": "BNC", "xcm": { "fee": { - "token": "KICO", - "amount": "6400000000000" + "token": "BNC", + "amount": "550000000" }, "weightLimit": "5000000000" }, - "from": "kico" + "from": "interlay" }, { "to": "karura", - "token": "KAR", + "token": "KINT", "xcm": { "fee": { - "token": "KAR", - "amount": "6400000000" + "token": "KINT", + "amount": "210000000" }, "weightLimit": "5000000000" }, - "from": "kico" + "from": "kintsugi" }, { "to": "karura", - "token": "KUSD", + "token": "KBTC", "xcm": { "fee": { - "token": "KUSD", - "amount": "10011896008" + "token": "KBTC", + "amount": "85" }, "weightLimit": "5000000000" }, - "from": "kico" - } - ], - [ + "from": "kintsugi" + }, { "to": "karura", - "token": "PCHU", + "token": "LKSM", "xcm": { "fee": { - "token": "PCHU", - "amount": "9324000000000000" + "token": "LKSM", + "amount": "270000000" }, "weightLimit": "5000000000" }, - "from": "pichiu" + "from": "kintsugi" }, { - "to": "karura", - "token": "KAR", + "to": "kusama", + "token": "KSM", "xcm": { "fee": { - "token": "KAR", - "amount": "9324000000" + "token": "KSM", + "amount": "100000000" }, "weightLimit": "5000000000" }, - "from": "pichiu" + "from": "kintsugi" }, { - "to": "karura", - "token": "KUSD", + "to": "assetHubKusama", + "token": "USDT", "xcm": { "fee": { - "token": "KUSD", - "amount": "5060238106" + "token": "USDT", + "amount": "10000" }, "weightLimit": "5000000000" }, - "from": "pichiu" + "from": "kintsugi" }, { - "to": "karura", - "token": "LKSM", + "to": "bifrost", + "token": "VKSM", "xcm": { "fee": { - "token": "LKSM", - "amount": "700170039" + "token": "VKSM", + "amount": "85000000" }, "weightLimit": "5000000000" }, - "from": "pichiu" + "from": "kintsugi" } ], [ @@ -1393,6 +1695,52 @@ "from": "calamari" } ], + [ + { + "to": "acala", + "token": "GLMR", + "xcm": { + "fee": { + "token": "GLMR", + "amount": "1000000000" + } + }, + "from": "moonbeam" + }, + { + "to": "acala", + "token": "xcACA", + "xcm": { + "fee": { + "token": "ACA", + "amount": "1000000000" + } + }, + "from": "moonbeam" + }, + { + "to": "acala", + "token": "xcaUSD", + "xcm": { + "fee": { + "token": "AUSD", + "amount": "1000000000" + } + }, + "from": "moonbeam" + }, + { + "to": "acala", + "token": "xcDOT", + "xcm": { + "fee": { + "token": "DOT", + "amount": "1000000000" + } + }, + "from": "moonbeam" + } + ], [ { "to": "karura", @@ -1445,103 +1793,38 @@ ], [ { - "to": "acala", - "token": "PARA", - "xcm": { - "fee": { - "token": "PARA", - "amount": "6400000000" - }, - "weightLimit": "Unlimited" - }, - "from": "parallel" - }, - { - "to": "acala", - "token": "ACA", - "xcm": { - "fee": { - "token": "ACA", - "amount": "6400000000" - }, - "weightLimit": "Unlimited" - }, - "from": "parallel" - }, - { - "to": "acala", - "token": "AUSD", - "xcm": { - "fee": { - "token": "AUSD", - "amount": "3721109059" - }, - "weightLimit": "Unlimited" - }, - "from": "parallel" - }, - { - "to": "acala", - "token": "LDOT", - "xcm": { - "fee": { - "token": "LDOT", - "amount": "24037893" - }, - "weightLimit": "Unlimited" - }, - "from": "parallel" - }, - { - "to": "karura", - "token": "HKO", + "to": "interlay", + "token": "PHA", "xcm": { "fee": { - "token": "HKO", - "amount": "6400000000" - }, - "weightLimit": "Unlimited" + "token": "PHA", + "amount": "80000000000000" + } }, - "from": "heiko" + "from": "phala" }, { - "to": "karura", - "token": "KAR", + "to": "interlay", + "token": "IBTC", "xcm": { "fee": { - "token": "KAR", - "amount": "6400000000" - }, - "weightLimit": "Unlimited" + "token": "IBTC", + "amount": "70" + } }, - "from": "heiko" + "from": "phala" }, { - "to": "karura", - "token": "KUSD", + "to": "interlay", + "token": "INTR", "xcm": { "fee": { - "token": "KUSD", - "amount": "8305746640" - }, - "weightLimit": "Unlimited" + "token": "INTR", + "amount": "20000000" + } }, - "from": "heiko" + "from": "phala" }, - { - "to": "karura", - "token": "LKSM", - "xcm": { - "fee": { - "token": "LKSM", - "amount": "589618748" - }, - "weightLimit": "Unlimited" - }, - "from": "heiko" - } - ], - [ { "to": "karura", "token": "PHA", @@ -1583,7 +1866,11 @@ "xcm": { "fee": { "token": "DOT", - "amount": "3549633" + "amount": "1222070" + }, + "deliveryFee": { + "token": "DOT", + "amount": "397000000" }, "weightLimit": "Unlimited" }, @@ -1593,6 +1880,10 @@ "to": "hydradx", "token": "DOT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "397000000" + }, "fee": { "token": "DOT", "amount": "21711791" @@ -1602,9 +1893,13 @@ "from": "polkadot" }, { - "to": "statemint", + "to": "assetHubPolkadot", "token": "DOT", "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "397000000" + }, "fee": { "token": "DOT", "amount": "15800000" @@ -1613,6 +1908,22 @@ }, "from": "polkadot" }, + { + "to": "interlay", + "token": "DOT", + "xcm": { + "deliveryFee": { + "token": "DOT", + "amount": "397000000" + }, + "fee": { + "token": "DOT", + "amount": "25000000" + }, + "weightLimit": "Unlimited" + }, + "from": "polkadot" + }, { "to": "karura", "token": "KSM", @@ -1621,6 +1932,10 @@ "token": "KSM", "amount": "44163610" }, + "deliveryFee": { + "token": "KSM", + "amount": "1323333009" + }, "weightLimit": "Unlimited" }, "from": "kusama" @@ -1633,95 +1948,69 @@ "token": "KSM", "amount": "72711796" }, + "deliveryFee": { + "token": "KSM", + "amount": "1323333009" + }, "weightLimit": "Unlimited" }, "from": "kusama" }, { - "to": "statemine", + "to": "assetHubKusama", "token": "KSM", "xcm": { "fee": { "token": "KSM", "amount": "34368318" }, - "weightLimit": "Unlimited" - }, - "from": "kusama" - } - ], - [ - { - "to": "polkadot", - "token": "DOT", - "xcm": { - "fee": { - "token": "DOT", - "amount": "421500000" - }, - "weightLimit": "Unlimited" - }, - "from": "statemint" - }, - { - "to": "hydradx", - "token": "USDT", - "xcm": { - "fee": { - "token": "USDT", - "amount": "2200" + "deliveryFee": { + "token": "KSM", + "amount": "1323333009" }, "weightLimit": "Unlimited" }, - "from": "statemint" + "from": "kusama" }, { - "to": "kusama", + "to": "kintsugi", "token": "KSM", "xcm": { "fee": { "token": "KSM", - "amount": "90049287" + "amount": "250000000" }, - "weightLimit": "Unlimited" - }, - "from": "statemine" - }, - { - "to": "karura", - "token": "RMRK", - "xcm": { - "fee": { - "token": "RMRK", - "amount": "9918117" + "deliveryFee": { + "token": "KSM", + "amount": "1323333009" }, "weightLimit": "Unlimited" }, - "from": "statemine" - }, + "from": "kusama" + } + ], + [ { - "to": "karura", - "token": "ARIS", + "to": "hydradx", + "token": "SUB", "xcm": { "fee": { - "token": "ARIS", - "amount": "6400000" - }, - "weightLimit": "Unlimited" + "token": "SUB", + "amount": "65000000" + } }, - "from": "statemine" + "from": "subsocial" }, { - "to": "karura", - "token": "USDT", + "to": "moonbeam", + "token": "SUB", "xcm": { "fee": { - "token": "USDT", - "amount": "808" - }, - "weightLimit": "Unlimited" + "token": "SUB", + "amount": "65000000" + } }, - "from": "statemine" + "from": "subsocial" } ], [ diff --git a/yarn.lock b/yarn.lock index 5201e149..e4a0b093 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1845,12 +1845,12 @@ __metadata: languageName: node linkType: hard -"@bifrost-finance/type-definitions@npm:1.8.4": - version: 1.8.4 - resolution: "@bifrost-finance/type-definitions@npm:1.8.4" +"@bifrost-finance/type-definitions@npm:1.11.3": + version: 1.11.3 + resolution: "@bifrost-finance/type-definitions@npm:1.11.3" peerDependencies: "@polkadot/api": ^10.7.3 - checksum: 6f1e9e63e5b05e07ea3ed46e0106b2e99441e1e86ab06f487a8be2f6bc6cf55283790048b58c7f4cb0fee599041b2daa504ac590ac8becb69b71017ca330a465 + checksum: 040f661a789f90d961f7b36257a40cf748749d19cc04611860023d594df270360071f2c4506096752f85c432d941bbb0ad5c89793c43653d25164a381f3a9685 languageName: node linkType: hard @@ -1863,6 +1863,15 @@ __metadata: languageName: node linkType: hard +"@cspotcode/source-map-support@npm:^0.8.0": + version: 0.8.1 + resolution: "@cspotcode/source-map-support@npm:0.8.1" + dependencies: + "@jridgewell/trace-mapping": 0.3.9 + checksum: 5718f267085ed8edb3e7ef210137241775e607ee18b77d95aa5bd7514f47f5019aa2d82d96b3bf342ef7aa890a346fa1044532ff7cc3009e7d24fce3ce6200fa + languageName: node + linkType: hard + "@darwinia/types-known@npm:2.8.10": version: 2.8.10 resolution: "@darwinia/types-known@npm:2.8.10" @@ -2386,14 +2395,14 @@ __metadata: languageName: node linkType: hard -"@frequency-chain/api-augment@npm:1.7.4": - version: 1.7.4 - resolution: "@frequency-chain/api-augment@npm:1.7.4" +"@frequency-chain/api-augment@npm:1.11.1": + version: 1.11.1 + resolution: "@frequency-chain/api-augment@npm:1.11.1" dependencies: - "@polkadot/api": ^10.7.3 - "@polkadot/rpc-provider": ^10.7.3 - "@polkadot/types": ^10.7.3 - checksum: d5d54414fe133e49a3d8f772407a04dd75e978de79cf2ce2fdf2aaa07ee5f6be8fe1880177279fd7d055d88e4ae9bfcdc96e9d913becc2465032b32dce77dd36 + "@polkadot/api": ^10.9.1 + "@polkadot/rpc-provider": ^10.9.1 + "@polkadot/types": ^10.9.1 + checksum: 61f65634594cd4bdf2f732a956a92a44850888ecf9068e4bbcc9d4a1de4e35011f037a12e008a3a18ad090ad485c9eea810e04b541e20dde2fef58b6871e241e languageName: node linkType: hard @@ -2906,6 +2915,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/resolve-uri@npm:^3.0.3": + version: 3.1.2 + resolution: "@jridgewell/resolve-uri@npm:3.1.2" + checksum: 83b85f72c59d1c080b4cbec0fef84528963a1b5db34e4370fa4bd1e3ff64a0d80e0cee7369d11d73c704e0286fb2865b530acac7a871088fbe92b5edf1000870 + languageName: node + linkType: hard + "@jridgewell/set-array@npm:^1.0.1": version: 1.1.2 resolution: "@jridgewell/set-array@npm:1.1.2" @@ -2927,6 +2943,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:0.3.9": + version: 0.3.9 + resolution: "@jridgewell/trace-mapping@npm:0.3.9" + dependencies: + "@jridgewell/resolve-uri": ^3.0.3 + "@jridgewell/sourcemap-codec": ^1.4.10 + checksum: d89597752fd88d3f3480845691a05a44bd21faac18e2185b6f436c3b0fd0c5a859fbbd9aaa92050c4052caf325ad3e10e2e1d1b64327517471b7d51babc0ddef + languageName: node + linkType: hard + "@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.13, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": version: 0.3.18 resolution: "@jridgewell/trace-mapping@npm:0.3.18" @@ -2937,10 +2963,12 @@ __metadata: languageName: node linkType: hard -"@kiltprotocol/type-definitions@npm:0.33.1": - version: 0.33.1 - resolution: "@kiltprotocol/type-definitions@npm:0.33.1" - checksum: 99aa38f860536356510ecc860070fb9b70d734003d4c7f330e40eb0fc9599cddfc7e42cb8516f17cc74a4f15f56812150bc4ca3b277ed5a9d4580319e093c4ac +"@kiltprotocol/type-definitions@npm:^1.11401.0": + version: 1.11401.1 + resolution: "@kiltprotocol/type-definitions@npm:1.11401.1" + peerDependencies: + "@polkadot/types": ^12.2.0 + checksum: 6f7f8e837cd04d9d823e11879aee3c9986c2686567381548e860969c4b38757274c2b0adee2a01c661c07a86f6583ecc1a99ae1d506b71d7880f3c2f757cc15e languageName: node linkType: hard @@ -2953,26 +2981,26 @@ __metadata: languageName: node linkType: hard -"@logion/node-api@npm:0.19.0-2": - version: 0.19.0-2 - resolution: "@logion/node-api@npm:0.19.0-2" +"@logion/node-api@npm:0.27.0-4": + version: 0.27.0-4 + resolution: "@logion/node-api@npm:0.27.0-4" dependencies: - "@polkadot/api": ^10.9.1 - "@polkadot/util": ^12.3.2 - "@polkadot/util-crypto": ^12.3.2 + "@polkadot/api": ^10.10.1 + "@polkadot/util": ^12.5.1 + "@polkadot/util-crypto": ^12.5.1 "@types/uuid": ^9.0.2 fast-sha256: ^1.3.0 uuid: ^9.0.0 - checksum: 15aa9a0abcf68a4ddc0370a7d690e1154b29b62144083e5a2a463fcb882dd030e05e86bcbc049d3c7f43af94cca69ad7c9904e858ba1e748e66c2c19324788c2 + checksum: e7b15a90e6823505c522ca19c6728e4a73252e42a5407d95e6682820cef0c8dc8a3f08106453f2950763a3d2c7015257404b61aff32b41dcb29499250ff533db languageName: node linkType: hard -"@mangata-finance/type-definitions@npm:^2.0.0": - version: 2.0.0 - resolution: "@mangata-finance/type-definitions@npm:2.0.0" +"@mangata-finance/type-definitions@npm:^2.1.2": + version: 2.1.2 + resolution: "@mangata-finance/type-definitions@npm:2.1.2" peerDependencies: - "@polkadot/types": 10.9.1 - checksum: 4f24764c56afc0cc2113e1517517c786330553e25131a87edbc2cbb5ce85204e273e7706a9aec9c61eea1013adba93b112c35d674890c729cdc4322b46e53d3b + "@polkadot/types": ^10.9.1 + checksum: dd3be9ab8d49c161f2555ba0ab62cec47b5a0fa9d5d36e6ca0ee072b0fab80443b81f26b0a7effa62d827715bfa5cb13bd19c93265221b5a09975e63798f0bf6 languageName: node linkType: hard @@ -2992,15 +3020,6 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:^1.2.0": - version: 1.2.0 - resolution: "@noble/curves@npm:1.2.0" - dependencies: - "@noble/hashes": 1.3.2 - checksum: bb798d7a66d8e43789e93bc3c2ddff91a1e19fdb79a99b86cd98f1e5eff0ee2024a2672902c2576ef3577b6f282f3b5c778bebd55761ddbb30e36bf275e83dd0 - languageName: node - linkType: hard - "@noble/curves@npm:^1.3.0": version: 1.4.0 resolution: "@noble/curves@npm:1.4.0" @@ -3024,13 +3043,6 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.3.2, @noble/hashes@npm:^1.3.2": - version: 1.3.2 - resolution: "@noble/hashes@npm:1.3.2" - checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474 - languageName: node - linkType: hard - "@noble/hashes@npm:1.4.0, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.3.3": version: 1.4.0 resolution: "@noble/hashes@npm:1.4.0" @@ -3380,12 +3392,12 @@ __metadata: languageName: node linkType: hard -"@parallel-finance/type-definitions@npm:2.0.0": - version: 2.0.0 - resolution: "@parallel-finance/type-definitions@npm:2.0.0" +"@parallel-finance/type-definitions@npm:2.0.1": + version: 2.0.1 + resolution: "@parallel-finance/type-definitions@npm:2.0.1" dependencies: "@open-web3/orml-type-definitions": ^2.0.1 - checksum: a594b853d3e578100da30d2ebf9060670eb371fb08c7bf76a617b05716411cde4589bc80cdbe377b62f5e74b9af5b2b9841e2de020930b90de678762709f8fe5 + checksum: 8763944c52fc360f97c804ee3c14d4565feef1f9a58cfbac50ee43cfbbe8ab775346ad248211fe9a21043d8fe614e141bd5630fc038e063aa0ff16d442745dc0 languageName: node linkType: hard @@ -3398,13 +3410,13 @@ __metadata: languageName: node linkType: hard -"@pendulum-chain/type-definitions@npm:0.3.7": - version: 0.3.7 - resolution: "@pendulum-chain/type-definitions@npm:0.3.7" +"@pendulum-chain/type-definitions@npm:0.3.8": + version: 0.3.8 + resolution: "@pendulum-chain/type-definitions@npm:0.3.8" dependencies: "@babel/runtime": ^7.10.2 "@open-web3/orml-type-definitions": ^1.1.4 - checksum: cd955c4cd193b29c16cac3c3e199209eb8f1c2d5b0a2c5c5f80ab332394244927cc70bf4598e38f146076e394d928e8b6331d873cd91edc8a3a9c4635cf48f82 + checksum: 8e4fb89a15af3bbb542682d30070710b1fb242e591472df230f1fe6f46d019b73b169bfcf769cc1f7a41c585a382add7cf93d8d7e2c1c3d799fac732350da09a languageName: node linkType: hard @@ -3415,6 +3427,27 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + dependencies: + "@polkadot-api/metadata-builders": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/substrate-bindings": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/substrate-client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + peerDependencies: + rxjs: ">=7.8.0" + checksum: 98529e8088a4cdbc63a02c87b47f4de1373fb5ce7c0231da1b32baf8125256a6125848a90edf12f93db86bb72f61017d9a23cf0697cc97c8568c491ff64e68fc + languageName: node + linkType: hard + +"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + checksum: 4c47c978806bc62fff1b5788241cd59457d62ebe347b401b0a621d56d301f7b205aeb20ade24b67c2a5d63a497738694cb4030f79d5009460d17a546e8723f81 + languageName: node + linkType: hard + "@polkadot-api/json-rpc-provider-proxy@npm:^0.1.0": version: 0.1.0 resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.1.0" @@ -3429,6 +3462,23 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + checksum: 00d4e1f7900a1739e1ba7a3b13d399e5540a27d5c026c985aa4afdf865fb37da4aa4029a3a740932615482cdf18e657011ef05e7e61c2de04016f68fbb343ae7 + languageName: node + linkType: hard + +"@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + dependencies: + "@polkadot-api/substrate-bindings": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + checksum: 7fb6264fbe7a49c8f8848fb36f51fa9882c504fc026b0ac28cf2d83890cfa2c2ce7a3dd8c01aed28b991cb4d4a64910557111afe8792375aea2aba1b2aabe233 + languageName: node + linkType: hard + "@polkadot-api/metadata-builders@npm:0.3.2": version: 0.3.2 resolution: "@polkadot-api/metadata-builders@npm:0.3.2" @@ -3453,6 +3503,18 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + dependencies: + "@noble/hashes": ^1.3.1 + "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@scure/base": ^1.1.1 + scale-ts: ^1.6.0 + checksum: 3640063696c4655522587bdb4f2ca99eb2772ee13236965418bf6e97026a1c52cec8a5996560eedac453365e96b51e35283464b4dda0d28d9deb398fe8c3551c + languageName: node + linkType: hard + "@polkadot-api/substrate-bindings@npm:0.6.0": version: 0.6.0 resolution: "@polkadot-api/substrate-bindings@npm:0.6.0" @@ -3465,6 +3527,13 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + checksum: 3e04f430be68d54173a3b3c1fae33f3cfe2e61c959eb431f89bd306500b9da7e009c02553cf2464a6eb15c5bbe7aa27c45f6ea1371bbfcdddc08519dedcaf4a3 + languageName: node + linkType: hard + "@polkadot-api/substrate-client@npm:^0.1.2": version: 0.1.4 resolution: "@polkadot-api/substrate-client@npm:0.1.4" @@ -3475,6 +3544,13 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + resolution: "@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + checksum: 0bf7b078a53f1eaf2f4cec3c41f3e82fc5afb4a347dcbc7b538723aeb1b4893834a2f1aeed425443a25ee0e1a6472c85d8be600e73a6d25ea16a0748d25c00bf + languageName: node + linkType: hard + "@polkadot-api/utils@npm:0.1.0": version: 0.1.0 resolution: "@polkadot-api/utils@npm:0.1.0" @@ -3482,21 +3558,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:10.11.1": - version: 10.11.1 - resolution: "@polkadot/api-augment@npm:10.11.1" - dependencies: - "@polkadot/api-base": 10.11.1 - "@polkadot/rpc-augment": 10.11.1 - "@polkadot/types": 10.11.1 - "@polkadot/types-augment": 10.11.1 - "@polkadot/types-codec": 10.11.1 - "@polkadot/util": ^12.6.1 - tslib: ^2.6.2 - checksum: 5d75d2fcedb08e0e9873f1c42104dce96162926818bb37535f4727e71593ec5dd6f31056272162e26cc3ed38d3f517e9b6d0172fa87db9a76d717ff6fedcbf64 - languageName: node - linkType: hard - "@polkadot/api-augment@npm:14.3.1": version: 14.3.1 resolution: "@polkadot/api-augment@npm:14.3.1" @@ -3512,19 +3573,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-base@npm:10.11.1": - version: 10.11.1 - resolution: "@polkadot/api-base@npm:10.11.1" - dependencies: - "@polkadot/rpc-core": 10.11.1 - "@polkadot/types": 10.11.1 - "@polkadot/util": ^12.6.1 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 8fe42617944ede2c4dcc1ffdb9458dd1ef5b27658204d92e2e2acbb4bc7abf08c01b0c73c88a7caa86bcb3263aac65a0921e34d5ba448406e9a4c34b6b9eb91b - languageName: node - linkType: hard - "@polkadot/api-base@npm:14.3.1": version: 14.3.1 resolution: "@polkadot/api-base@npm:14.3.1" @@ -3538,7 +3586,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:14.3.1": +"@polkadot/api-derive@npm:14.3.1, @polkadot/api-derive@npm:^14.3.1": version: 14.3.1 resolution: "@polkadot/api-derive@npm:14.3.1" dependencies: @@ -3556,24 +3604,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:^10.11.1": - version: 10.11.1 - resolution: "@polkadot/api-derive@npm:10.11.1" - dependencies: - "@polkadot/api": 10.11.1 - "@polkadot/api-augment": 10.11.1 - "@polkadot/api-base": 10.11.1 - "@polkadot/rpc-core": 10.11.1 - "@polkadot/types": 10.11.1 - "@polkadot/types-codec": 10.11.1 - "@polkadot/util": ^12.6.1 - "@polkadot/util-crypto": ^12.6.1 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: e6adc01b19ea171e9d7a30578cf14672661f87bb64d5578c261c1f313267828e11462944bc17a30b7ea6803ddb42bc6b92cdaf394763720095b459966acdef5c - languageName: node - linkType: hard - "@polkadot/api@npm:^14.0.1": version: 14.3.1 resolution: "@polkadot/api@npm:14.3.1" @@ -3599,12 +3629,12 @@ __metadata: languageName: node linkType: hard -"@polkadot/apps-config@npm:^0.133.1": - version: 0.133.1 - resolution: "@polkadot/apps-config@npm:0.133.1" +"@polkadot/apps-config@npm:0.146.1": + version: 0.146.1 + resolution: "@polkadot/apps-config@npm:0.146.1" dependencies: "@acala-network/type-definitions": 5.1.2 - "@bifrost-finance/type-definitions": 1.8.4 + "@bifrost-finance/type-definitions": 1.11.3 "@crustio/type-definitions": 1.3.0 "@darwinia/types": 2.8.10 "@darwinia/types-known": 2.8.10 @@ -3613,42 +3643,43 @@ __metadata: "@edgeware/node-types": 3.6.2-wako "@equilab/definitions": 1.4.18 "@fragnova/api-augment": 0.1.0-spec-1.0.4-mainnet - "@frequency-chain/api-augment": 1.7.4 + "@frequency-chain/api-augment": 1.11.1 "@interlay/interbtc-types": 1.13.0 - "@kiltprotocol/type-definitions": 0.33.1 + "@kiltprotocol/type-definitions": ^1.11401.0 "@laminar/type-definitions": 0.3.1 - "@logion/node-api": 0.19.0-2 - "@mangata-finance/type-definitions": ^2.0.0 + "@logion/node-api": 0.27.0-4 + "@mangata-finance/type-definitions": ^2.1.2 "@metaverse-network-sdk/type-definitions": 0.0.1-16 - "@parallel-finance/type-definitions": 2.0.0 + "@parallel-finance/type-definitions": 2.0.1 "@peaqnetwork/type-definitions": 0.0.4 - "@pendulum-chain/type-definitions": 0.3.7 + "@pendulum-chain/type-definitions": 0.3.8 "@phala/typedefs": 0.2.33 - "@polkadot/api": ^10.11.1 - "@polkadot/api-derive": ^10.11.1 - "@polkadot/networks": ^12.6.1 - "@polkadot/react-identicon": ^3.6.4 - "@polkadot/types": ^10.11.1 - "@polkadot/types-codec": ^10.11.1 - "@polkadot/util": ^12.6.1 - "@polkadot/wasm-util": ^7.3.1 - "@polkadot/x-fetch": ^12.6.1 - "@polkadot/x-ws": ^12.6.1 - "@polymeshassociation/polymesh-types": 5.5.2 + "@polkadot/api": ^14.3.1 + "@polkadot/api-derive": ^14.3.1 + "@polkadot/networks": ^13.2.3 + "@polkadot/react-identicon": ^3.11.3 + "@polkadot/types": ^14.3.1 + "@polkadot/types-codec": ^14.3.1 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 + "@polkadot/wasm-util": ^7.4.1 + "@polkadot/x-fetch": ^13.2.3 + "@polkadot/x-ws": ^13.2.3 + "@polymeshassociation/polymesh-types": 5.7.0 "@snowfork/snowbridge-types": 0.2.7 - "@sora-substrate/type-definitions": 1.20.1 - "@subsocial/definitions": 0.8.13 - "@unique-nft/opal-testnet-types": 942.57.0 - "@unique-nft/quartz-mainnet-types": 942.57.0 - "@unique-nft/sapphire-mainnet-types": 942.57.0 - "@unique-nft/unique-mainnet-types": 942.57.0 + "@sora-substrate/type-definitions": 1.27.7 + "@subsocial/definitions": 0.8.14 + "@unique-nft/opal-testnet-types": 1003.70.0 + "@unique-nft/quartz-mainnet-types": 1003.70.0 + "@unique-nft/sapphire-mainnet-types": 1003.70.0 + "@unique-nft/unique-mainnet-types": 1001.63.0 "@zeitgeistpm/type-defs": 1.0.0 "@zeroio/type-definitions": 0.0.14 moonbeam-types-bundle: 2.0.10 pontem-types-bundle: 1.0.15 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 3b0350726e4eedcbcd95e62039688ddb3dbdd82f24c0739da620a1e5825fe3c2ed5fe96b5f442c92faa986aa3bff372d148fb8ce7faf18a24a4b629f1eaad641 + tslib: ^2.8.1 + checksum: 15312afcbf88d0e59074dbd6d800979ca785aa8e833b91731d8c25e5ccdd84023c7bfce71f562a4d9fd93f9735b8146cee1ae363f724ae5083392976681a5089 languageName: node linkType: hard @@ -3666,17 +3697,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/keyring@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/keyring@npm:12.6.1" +"@polkadot/keyring@npm:^12.6.2": + version: 12.6.2 + resolution: "@polkadot/keyring@npm:12.6.2" dependencies: - "@polkadot/util": 12.6.1 - "@polkadot/util-crypto": 12.6.1 + "@polkadot/util": 12.6.2 + "@polkadot/util-crypto": 12.6.2 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.6.1 - "@polkadot/util-crypto": 12.6.1 - checksum: 7495abbd1793481a3d02b9f04c6ac631f6d59e6c8da9479eb636a51da9645ba322284465b92b94b9138141c11b1a6b4b07123cc718633546d965c09ae728aa6e + "@polkadot/util": 12.6.2 + "@polkadot/util-crypto": 12.6.2 + checksum: b8591690cdd2b9c0fea5de88efe0be19190466572ecb696cc284eec61343b1a2fe0b61a7cfad54933730a132f65d7444619bcb2c8620f38bc0246bfaaa5026f4 languageName: node linkType: hard @@ -3747,14 +3778,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/networks@npm:12.6.1, @polkadot/networks@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/networks@npm:12.6.1" +"@polkadot/networks@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/networks@npm:12.6.2" dependencies: - "@polkadot/util": 12.6.1 + "@polkadot/util": 12.6.2 "@substrate/ss58-registry": ^1.44.0 tslib: ^2.6.2 - checksum: ed889a18e4d915ef78f1c59ed2efa11c1942770d71cdb227f907c29620d81e2fd9d5bb29ae94572d92a8b789b57a881cba025ec43df52f4a294cc000634a316d + checksum: 7f3dbdd02d8429f82c36ce284ca279af663d45c1a40ce4ce1e38ec2a06fc9d6d27c66d374f32b91ae3058257f33d60701481c9e95ceab19bd2eb70d83465b026 languageName: node linkType: hard @@ -3798,20 +3829,20 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-identicon@npm:^3.6.4": - version: 3.6.4 - resolution: "@polkadot/react-identicon@npm:3.6.4" +"@polkadot/react-identicon@npm:^3.11.3": + version: 3.11.3 + resolution: "@polkadot/react-identicon@npm:3.11.3" dependencies: - "@polkadot/keyring": ^12.6.1 - "@polkadot/ui-settings": 3.6.4 - "@polkadot/ui-shared": 3.6.4 - "@polkadot/util": ^12.6.1 - "@polkadot/util-crypto": ^12.6.1 + "@polkadot/keyring": ^13.2.3 + "@polkadot/ui-settings": 3.11.3 + "@polkadot/ui-shared": 3.11.3 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 ethereum-blockies-base64: ^1.0.2 jdenticon: 3.2.0 react-copy-to-clipboard: ^5.1.0 styled-components: ^6.1.1 - tslib: ^2.6.2 + tslib: ^2.8.1 peerDependencies: "@polkadot/keyring": "*" "@polkadot/util": "*" @@ -3819,20 +3850,7 @@ __metadata: react: "*" react-dom: "*" react-is: "*" - checksum: cc5b2ab2da4aef1b33515999b1a9b4108d4636873c208e22807e7d61c8b79edeaf38dacc89b88da82763d47dd6620094dffcf545ef849ad9e8aa805065aa0f89 - languageName: node - linkType: hard - -"@polkadot/rpc-augment@npm:10.11.1": - version: 10.11.1 - resolution: "@polkadot/rpc-augment@npm:10.11.1" - dependencies: - "@polkadot/rpc-core": 10.11.1 - "@polkadot/types": 10.11.1 - "@polkadot/types-codec": 10.11.1 - "@polkadot/util": ^12.6.1 - tslib: ^2.6.2 - checksum: 3fa2c1fea6fae22509b70d6a4c6e9e6e9cf473c5c7f85e466b845fdbb27df2fb0111251c693c75d68c3fcd85c66bfb0483899e70300df8e614f146c700cc8d59 + checksum: 5a5157b2ad0a3a99830a225f67a15d626ac85017c010d3ee4a809f5081f36c9a45dffc7c5d2c8398e9cd756a1a4eaa11ebc73e4b88a997209bd24ea70271dcd2 languageName: node linkType: hard @@ -3849,20 +3867,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.11.1": - version: 10.11.1 - resolution: "@polkadot/rpc-core@npm:10.11.1" - dependencies: - "@polkadot/rpc-augment": 10.11.1 - "@polkadot/rpc-provider": 10.11.1 - "@polkadot/types": 10.11.1 - "@polkadot/util": ^12.6.1 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: a1e94c5bb6ddae2daeebdf965e1b04468022db74cf435510f37af15d2cd799305aedcc6f70c5a66e75bed4bd1d8816b1264b68d3948c55871e1d0e9a61a19be6 - languageName: node - linkType: hard - "@polkadot/rpc-core@npm:14.3.1": version: 14.3.1 resolution: "@polkadot/rpc-core@npm:14.3.1" @@ -3877,30 +3881,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.11.1, @polkadot/rpc-provider@npm:^10.7.3": - version: 10.11.1 - resolution: "@polkadot/rpc-provider@npm:10.11.1" - dependencies: - "@polkadot/keyring": ^12.6.1 - "@polkadot/types": 10.11.1 - "@polkadot/types-support": 10.11.1 - "@polkadot/util": ^12.6.1 - "@polkadot/util-crypto": ^12.6.1 - "@polkadot/x-fetch": ^12.6.1 - "@polkadot/x-global": ^12.6.1 - "@polkadot/x-ws": ^12.6.1 - "@substrate/connect": 0.7.35 - eventemitter3: ^5.0.1 - mock-socket: ^9.3.1 - nock: ^13.3.8 - tslib: ^2.6.2 - dependenciesMeta: - "@substrate/connect": - optional: true - checksum: 7df44bdd7f703be4f606dd75acf86f3d6c963886dd12112a76789f44da38a33f8a0207576ce3dbf62f02e9ad46993062b1cb5078f13bcafb938e60b24f250d8c - languageName: node - linkType: hard - "@polkadot/rpc-provider@npm:14.3.1": version: 14.3.1 resolution: "@polkadot/rpc-provider@npm:14.3.1" @@ -3925,6 +3905,30 @@ __metadata: languageName: node linkType: hard +"@polkadot/rpc-provider@npm:^10.9.1": + version: 10.13.1 + resolution: "@polkadot/rpc-provider@npm:10.13.1" + dependencies: + "@polkadot/keyring": ^12.6.2 + "@polkadot/types": 10.13.1 + "@polkadot/types-support": 10.13.1 + "@polkadot/util": ^12.6.2 + "@polkadot/util-crypto": ^12.6.2 + "@polkadot/x-fetch": ^12.6.2 + "@polkadot/x-global": ^12.6.2 + "@polkadot/x-ws": ^12.6.2 + "@substrate/connect": 0.8.8 + eventemitter3: ^5.0.1 + mock-socket: ^9.3.1 + nock: ^13.5.0 + tslib: ^2.6.2 + dependenciesMeta: + "@substrate/connect": + optional: true + checksum: ea254d36c5bcc919869851e9c08683a1f63d79ed6903485864f49a4c984dfdd9c2f10cc816036e54b930d64b8e7965a4bf360e6333b9641d1cfeccd829410777 + languageName: node + linkType: hard + "@polkadot/rpc-provider@npm:^9.13.2": version: 9.14.2 resolution: "@polkadot/rpc-provider@npm:9.14.2" @@ -3949,18 +3953,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-augment@npm:10.11.1": - version: 10.11.1 - resolution: "@polkadot/types-augment@npm:10.11.1" - dependencies: - "@polkadot/types": 10.11.1 - "@polkadot/types-codec": 10.11.1 - "@polkadot/util": ^12.6.1 - tslib: ^2.6.2 - checksum: dbd8d2d8df1e155ef31529ba016fb6603de14f74754c5058680218222b658f6ecca64fca5ef6993dfad2292649ba537e37c8bf84b9f49bfe418347861679178b - languageName: node - linkType: hard - "@polkadot/types-augment@npm:14.3.1": version: 14.3.1 resolution: "@polkadot/types-augment@npm:14.3.1" @@ -3973,18 +3965,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-codec@npm:10.11.1, @polkadot/types-codec@npm:^10.11.1": - version: 10.11.1 - resolution: "@polkadot/types-codec@npm:10.11.1" - dependencies: - "@polkadot/util": ^12.6.1 - "@polkadot/x-bigint": ^12.6.1 - tslib: ^2.6.2 - checksum: b58b5626116c854180094851def146ba36492de71ea263f095b4be72370f25edc33200c4d0c410c9cccf0ad251d1271dd3945b7f1452a85a365bbb2202091adf - languageName: node - linkType: hard - -"@polkadot/types-codec@npm:14.3.1": +"@polkadot/types-codec@npm:14.3.1, @polkadot/types-codec@npm:^14.3.1": version: 14.3.1 resolution: "@polkadot/types-codec@npm:14.3.1" dependencies: @@ -4020,13 +4001,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-support@npm:10.11.1": - version: 10.11.1 - resolution: "@polkadot/types-support@npm:10.11.1" +"@polkadot/types-support@npm:10.13.1": + version: 10.13.1 + resolution: "@polkadot/types-support@npm:10.13.1" dependencies: - "@polkadot/util": ^12.6.1 + "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: a587677fd83d1a1abe6dc8aede4272d43def9fb846aa618344c48b673b9d7df6e76c4330bcb3f6add9e2727423778cac2be16882c919beb2d8f8c23a35fb9264 + checksum: c9b14b6c08922292f08f37a46f1c87973383f8fa657b695212595e839681aeff26b92f686dec2a6ae30bd77083e42674283ad2382f713850cdb95823725bd81d languageName: node linkType: hard @@ -4066,32 +4047,32 @@ __metadata: languageName: node linkType: hard -"@polkadot/ui-settings@npm:3.6.4": - version: 3.6.4 - resolution: "@polkadot/ui-settings@npm:3.6.4" +"@polkadot/ui-settings@npm:3.11.3": + version: 3.11.3 + resolution: "@polkadot/ui-settings@npm:3.11.3" dependencies: - "@polkadot/networks": ^12.6.1 - "@polkadot/util": ^12.6.1 + "@polkadot/networks": ^13.2.3 + "@polkadot/util": ^13.2.3 eventemitter3: ^5.0.1 store: ^2.0.12 - tslib: ^2.6.2 + tslib: ^2.8.1 peerDependencies: "@polkadot/networks": "*" "@polkadot/util": "*" - checksum: 77aa9b6f63c6f01a69cd19830961b17293f7a84acb4f9d01bae5af8315fae8540d64f170c99d9d8dd1c7ac774a31d3a5f524db5e34af05affe3c9ded81513279 + checksum: e90839b1fcea124de27da01ba92fd6f61dceccf18895b872785cb5d162336921b46ebc17ab93af736f02a41a78b1b94e94140c981ec64b0eee1b4834e6041fab languageName: node linkType: hard -"@polkadot/ui-shared@npm:3.6.4": - version: 3.6.4 - resolution: "@polkadot/ui-shared@npm:3.6.4" +"@polkadot/ui-shared@npm:3.11.3": + version: 3.11.3 + resolution: "@polkadot/ui-shared@npm:3.11.3" dependencies: colord: ^2.9.3 - tslib: ^2.6.2 + tslib: ^2.8.1 peerDependencies: "@polkadot/util": "*" "@polkadot/util-crypto": "*" - checksum: a29b5f684a14cd231dd8e9aeecc9f958442bd8870c642681db5a8bc6847f8c99962b835a46f40efa33e6a9eb5195fb2605f55e3bada72e2ca3986b63de76fc88 + checksum: 35f49d558684f93efae94fb2f10e953bfcc0fb443ab65080c40a28530b29dbc2216bb284fe83e0e4bdb8c66178300bf429276aef8b043133aff8f54277c05552 languageName: node linkType: hard @@ -4116,23 +4097,23 @@ __metadata: languageName: node linkType: hard -"@polkadot/util-crypto@npm:12.6.1, @polkadot/util-crypto@npm:^12.3.2, @polkadot/util-crypto@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/util-crypto@npm:12.6.1" +"@polkadot/util-crypto@npm:12.6.2, @polkadot/util-crypto@npm:^12.5.1, @polkadot/util-crypto@npm:^12.6.2": + version: 12.6.2 + resolution: "@polkadot/util-crypto@npm:12.6.2" dependencies: - "@noble/curves": ^1.2.0 - "@noble/hashes": ^1.3.2 - "@polkadot/networks": 12.6.1 - "@polkadot/util": 12.6.1 - "@polkadot/wasm-crypto": ^7.3.1 - "@polkadot/wasm-util": ^7.3.1 - "@polkadot/x-bigint": 12.6.1 - "@polkadot/x-randomvalues": 12.6.1 - "@scure/base": ^1.1.3 + "@noble/curves": ^1.3.0 + "@noble/hashes": ^1.3.3 + "@polkadot/networks": 12.6.2 + "@polkadot/util": 12.6.2 + "@polkadot/wasm-crypto": ^7.3.2 + "@polkadot/wasm-util": ^7.3.2 + "@polkadot/x-bigint": 12.6.2 + "@polkadot/x-randomvalues": 12.6.2 + "@scure/base": ^1.1.5 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.6.1 - checksum: 5c47bc69f14b1a9f4a45d57f22a5a4db979b577d9d6ec9653b7d435978a94713ea1dd1acb3a6ef71848cb2d5b12bf751de68da15a8dd17ae381bc220781bc0d9 + "@polkadot/util": 12.6.2 + checksum: 63d4bd9bdc3a7089a0a68555cd6a510b8da3cfab142a8f96ba4b43d5d1db2a543433079bc88c2daf15a329d19ba2cc60f6cca6dbebaefd25e96169cb6343794b languageName: node linkType: hard @@ -4229,7 +4210,37 @@ __metadata: languageName: node linkType: hard -"@polkadot/util@npm:^13.2.3": +"@polkadot/util@npm:10.4.2, @polkadot/util@npm:^10.4.2": + version: 10.4.2 + resolution: "@polkadot/util@npm:10.4.2" + dependencies: + "@babel/runtime": ^7.20.13 + "@polkadot/x-bigint": 10.4.2 + "@polkadot/x-global": 10.4.2 + "@polkadot/x-textdecoder": 10.4.2 + "@polkadot/x-textencoder": 10.4.2 + "@types/bn.js": ^5.1.1 + bn.js: ^5.2.1 + checksum: a4cca5206e802d58e18819f93892823ea4f267a7c8577332af47f1f38eecf46096498a00e815361118994462017929c888377429e452cda3d2d0947260795a58 + languageName: node + linkType: hard + +"@polkadot/util@npm:12.6.2, @polkadot/util@npm:^12.5.1, @polkadot/util@npm:^12.6.2": + version: 12.6.2 + resolution: "@polkadot/util@npm:12.6.2" + dependencies: + "@polkadot/x-bigint": 12.6.2 + "@polkadot/x-global": 12.6.2 + "@polkadot/x-textdecoder": 12.6.2 + "@polkadot/x-textencoder": 12.6.2 + "@types/bn.js": ^5.1.5 + bn.js: ^5.2.1 + tslib: ^2.6.2 + checksum: a42a226f3c299026458d82e48516abf59c1cd8638167edaa3fc1a17aec0ebab203e0ad68a096a4a4fa188afd55093535a98e5083d682a79242a3c5ad79342599 + languageName: node + linkType: hard + +"@polkadot/util@npm:13.2.3, @polkadot/util@npm:^13.2.3": version: 13.2.3 resolution: "@polkadot/util@npm:13.2.3" dependencies: @@ -4244,6 +4255,52 @@ __metadata: languageName: node linkType: hard +"@polkadot/util@npm:6.11.1": + version: 6.11.1 + resolution: "@polkadot/util@npm:6.11.1" + dependencies: + "@babel/runtime": ^7.14.6 + "@polkadot/x-textdecoder": 6.11.1 + "@polkadot/x-textencoder": 6.11.1 + "@types/bn.js": ^4.11.6 + bn.js: ^4.11.9 + camelcase: ^5.3.1 + ip-regex: ^4.3.0 + checksum: f2583926abeabc323a0822621f5db898717f20b8eb1dec4da08910c9885823bfd5bae0db1ba02c41c775b49a9d345c927f1300a761b5c24953a438c93c68adee + languageName: node + linkType: hard + +"@polkadot/util@npm:7.9.2": + version: 7.9.2 + resolution: "@polkadot/util@npm:7.9.2" + dependencies: + "@babel/runtime": ^7.16.3 + "@polkadot/x-textdecoder": 7.9.2 + "@polkadot/x-textencoder": 7.9.2 + "@types/bn.js": ^4.11.6 + bn.js: ^4.12.0 + camelcase: ^6.2.1 + ip-regex: ^4.3.0 + checksum: 47bf36f3ccdfaaa260186bc99e86e8a396209d00aa5b663c3256e73838b02a05c7ec85db9e228d30d69e38b86f9d8620e0001ea752e1fc3271e10c9d82b22af0 + languageName: node + linkType: hard + +"@polkadot/util@npm:8.7.1": + version: 8.7.1 + resolution: "@polkadot/util@npm:8.7.1" + dependencies: + "@babel/runtime": ^7.17.8 + "@polkadot/x-bigint": 8.7.1 + "@polkadot/x-global": 8.7.1 + "@polkadot/x-textdecoder": 8.7.1 + "@polkadot/x-textencoder": 8.7.1 + "@types/bn.js": ^5.1.0 + bn.js: ^5.2.0 + ip-regex: ^4.3.0 + checksum: cd63352d1f691b4604fbbdb9133b1b6a3db33fee02b25c596ad58048105854378af2431e3b9ce4059207c1293276ba4c7dc42bc7372881b33abe3e6a1c56fe05 + languageName: node + linkType: hard + "@polkadot/wasm-bridge@npm:6.4.1": version: 6.4.1 resolution: "@polkadot/wasm-bridge@npm:6.4.1" @@ -4256,19 +4313,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-bridge@npm:7.3.2" - dependencies: - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 - peerDependencies: - "@polkadot/util": "*" - "@polkadot/x-randomvalues": "*" - checksum: 8c68b78cbd62347ebdf3fa66f2ffd1f7e883df71d770f5099ff652b083a79f1d7e9e7826a6acd8e986e9da0b07c0170a3f77b6a35726c6b24d856e3f8d08d201 - languageName: node - linkType: hard - "@polkadot/wasm-bridge@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-bridge@npm:7.4.1" @@ -4293,17 +4337,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" - dependencies: - tslib: ^2.6.2 - peerDependencies: - "@polkadot/util": "*" - checksum: 669ea001565301f9b1a8feecb0e301c854fc318e5605316b57be7e83d717e7ee8ac460001cd44b18075a3d028c32c4a605c0e0e2e95ae00865282321b009ed26 - languageName: node - linkType: hard - "@polkadot/wasm-crypto-asmjs@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto-asmjs@npm:7.4.1" @@ -4352,22 +4385,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" - dependencies: - "@polkadot/wasm-bridge": 7.3.2 - "@polkadot/wasm-crypto-asmjs": 7.3.2 - "@polkadot/wasm-crypto-wasm": 7.3.2 - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 - peerDependencies: - "@polkadot/util": "*" - "@polkadot/x-randomvalues": "*" - checksum: af7bc62bba16f1fbbfd76601ecf18ed8f4dfc685807e2e89ef8e8d02f824d1a1ed1635e9c2448c6c12a9a183192b18943f9ce077d6b7781c4d43cdb5c45c9161 - languageName: node - linkType: hard - "@polkadot/wasm-crypto-init@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto-init@npm:7.4.1" @@ -4396,18 +4413,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" - dependencies: - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 - peerDependencies: - "@polkadot/util": "*" - checksum: e112ea3d4f8858a95fdaad47341b422db3db3256b7e7d709d1c3e0bc4c4bbdf81028eaa556b688078b32ff15be33af093b903c680f54eb1552072afede621a6a - languageName: node - linkType: hard - "@polkadot/wasm-crypto-wasm@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto-wasm@npm:7.4.1" @@ -4487,24 +4492,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.3.1": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto@npm:7.3.2" - dependencies: - "@polkadot/wasm-bridge": 7.3.2 - "@polkadot/wasm-crypto-asmjs": 7.3.2 - "@polkadot/wasm-crypto-init": 7.3.2 - "@polkadot/wasm-crypto-wasm": 7.3.2 - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 - peerDependencies: - "@polkadot/util": "*" - "@polkadot/x-randomvalues": "*" - checksum: 574006cdcc3e76af28cc79102726a79fdcd765ca5b45cbc4807d70917d82131b59f50b5cc07bd165b2863ed131b8764fef74b00c68ba5ec30a21c04c72061f8f - languageName: node - linkType: hard - -"@polkadot/wasm-crypto@npm:^7.4.1": +"@polkadot/wasm-crypto@npm:^7.3.2, @polkadot/wasm-crypto@npm:^7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto@npm:7.4.1" dependencies: @@ -4532,18 +4520,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.3.2, @polkadot/wasm-util@npm:^7.3.1": - version: 7.3.2 - resolution: "@polkadot/wasm-util@npm:7.3.2" - dependencies: - tslib: ^2.6.2 - peerDependencies: - "@polkadot/util": "*" - checksum: 44bd445043714aac6d184ce02d62fbdb97a117fd4d8bdbf3f2c1d14f6911a7d87ed6bb4682035eb757524ade995f7f4f8aaa07c8a194f761884ded25a6b383a9 - languageName: node - linkType: hard - -"@polkadot/wasm-util@npm:7.4.1, @polkadot/wasm-util@npm:^7.4.1": +"@polkadot/wasm-util@npm:7.4.1, @polkadot/wasm-util@npm:^7.3.2, @polkadot/wasm-util@npm:^7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-util@npm:7.4.1" dependencies: @@ -4564,13 +4541,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.6.1, @polkadot/x-bigint@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/x-bigint@npm:12.6.1" +"@polkadot/x-bigint@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-bigint@npm:12.6.2" dependencies: - "@polkadot/x-global": 12.6.1 + "@polkadot/x-global": 12.6.2 tslib: ^2.6.2 - checksum: e979c19b1a44a27469b81fb62d3504d23edb44923e9a4ba66dad3906dcad723b305f294246657ec56d0138310e4b907098af0b626b68c4fd2066e9729b07103e + checksum: 12b2d5c3a7b994f5bd4f7aeda9e268384b04bd080892400c65b88fb5aa4951df6c4abe3baf9820f3adf3da92e2add710858dd35dcd597d2527bbfd1cd0efe534 languageName: node linkType: hard @@ -4606,14 +4583,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/x-fetch@npm:12.6.1" +"@polkadot/x-fetch@npm:^12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-fetch@npm:12.6.2" dependencies: - "@polkadot/x-global": 12.6.1 + "@polkadot/x-global": 12.6.2 node-fetch: ^3.3.2 tslib: ^2.6.2 - checksum: ed6e2d146c7e45d9ec863bee260f8de78a1317ca42604b0d8a6d470b0cf0df05d6fc0bce8d69426c3bb1a697abbf1690b09904d66e01dc12b980d28543d1bdad + checksum: 2f0269b17ebbb907f4f4fa777898fd8ea16ecd37abfc2c0b69cfc49bd5ab0ed38cf836a4941e85f9100192f7005731a9a8c6b135799efd17b4261c3cc1ebf844 languageName: node linkType: hard @@ -4637,12 +4614,12 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:12.6.1, @polkadot/x-global@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/x-global@npm:12.6.1" +"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-global@npm:12.6.2" dependencies: tslib: ^2.6.2 - checksum: a61675e39ad243de6932e11dd4490c80197009091bcced2f69103ca277b912b233f6898d6bb9a3008ebad82720ff1f5f66214fda5296c86b1b6b9f90ea1e3b43 + checksum: eb17e039cb1668743c84f5eafbf518cf6248e93090e4877f81f338b418b3e6b0173f2414c62bd9cbe7bf8911ec566527ca7c49c4354ba90d57e62e90195329d0 languageName: node linkType: hard @@ -4692,16 +4669,16 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:12.6.1": - version: 12.6.1 - resolution: "@polkadot/x-randomvalues@npm:12.6.1" +"@polkadot/x-randomvalues@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-randomvalues@npm:12.6.2" dependencies: - "@polkadot/x-global": 12.6.1 + "@polkadot/x-global": 12.6.2 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.6.1 + "@polkadot/util": 12.6.2 "@polkadot/wasm-util": "*" - checksum: 4d0812639f5f242bdf01e66b7f8c8ffe1e38c0a2d8a9b629ef6a6066501a5486b525cdd45a8312b14fc8dd2bd167e429b9c50fb7ac05d594280d31472c1b7735 + checksum: 7faccf2dbcf0c7383b5ecfd7beb098c8c8ad5cf4c8f5bafd601657f8271af8f00b66741531ecf8b2f7c59911d96f77e358184a7c5034c70bf387a8e929a4c210 languageName: node linkType: hard @@ -4748,6 +4725,26 @@ __metadata: languageName: node linkType: hard +"@polkadot/x-textdecoder@npm:10.4.2": + version: 10.4.2 + resolution: "@polkadot/x-textdecoder@npm:10.4.2" + dependencies: + "@babel/runtime": ^7.20.13 + "@polkadot/x-global": 10.4.2 + checksum: 2981190e233b0687bc3eab7832e089eca2a0a994b8374329e76365d54bbd6c1b11842eda2bc2bb682142a3d4ce572e76c01c273146baf4dfdc7a82ed267ef543 + languageName: node + linkType: hard + +"@polkadot/x-textdecoder@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-textdecoder@npm:12.6.2" + dependencies: + "@polkadot/x-global": 12.6.2 + tslib: ^2.6.2 + checksum: c7e4b7f7ff943095a96bef3e3e56216d33d6ff38c965931356a06d01594b2c523ccbeada697a31b5457b134e578618f35425e0883f45187adffa98df99a45f27 + languageName: node + linkType: hard + "@polkadot/x-textdecoder@npm:13.2.3": version: 13.2.3 resolution: "@polkadot/x-textdecoder@npm:13.2.3" @@ -4758,6 +4755,56 @@ __metadata: languageName: node linkType: hard +"@polkadot/x-textdecoder@npm:6.11.1": + version: 6.11.1 + resolution: "@polkadot/x-textdecoder@npm:6.11.1" + dependencies: + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.11.1 + checksum: 6daf7246a0bf74afd2eecd11c63b75499ae07a1d689c4f813ad2b69fb4292b0484889b950a5758958ce4e3bcedea3458f467dc13a3fa3e1366d33c32678d69b6 + languageName: node + linkType: hard + +"@polkadot/x-textdecoder@npm:7.9.2": + version: 7.9.2 + resolution: "@polkadot/x-textdecoder@npm:7.9.2" + dependencies: + "@babel/runtime": ^7.16.3 + "@polkadot/x-global": 7.9.2 + checksum: 8161e0aa93c45d2f33fcaf8a41db3b6da8e3fac42df11da63d5d31a0b68bdbf73afdf2534fdc7c90daf1103f4fe22caee1bafda0460b2502138ffbafe89ea23f + languageName: node + linkType: hard + +"@polkadot/x-textdecoder@npm:8.7.1": + version: 8.7.1 + resolution: "@polkadot/x-textdecoder@npm:8.7.1" + dependencies: + "@babel/runtime": ^7.17.8 + "@polkadot/x-global": 8.7.1 + checksum: 00e20d74d1ec3b999c978ffd94eb0e62f00e8be53d2155a77105fe411fb994671046eca57ab8b6d1064228f023b31f40e18a59b5e2124d1992c4bcf45b698ca4 + languageName: node + linkType: hard + +"@polkadot/x-textencoder@npm:10.4.2": + version: 10.4.2 + resolution: "@polkadot/x-textencoder@npm:10.4.2" + dependencies: + "@babel/runtime": ^7.20.13 + "@polkadot/x-global": 10.4.2 + checksum: 8f748d2842b53537b38868b8f2118e5e9a89e3033412605bd98f91f386820f43bac30517e0c83714fbe6498a8495d0301610999e4ebeeb9dd214d6602459f214 + languageName: node + linkType: hard + +"@polkadot/x-textencoder@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-textencoder@npm:12.6.2" + dependencies: + "@polkadot/x-global": 12.6.2 + tslib: ^2.6.2 + checksum: d3eacdc0eb2e1ef8b8132d52a1f1033be62bc64360753a117f2e6517ccf7c9cde628558bbd016a73836eacd91cb1e2ac382dce0ce9c8d32c2f7db3fcc8863911 + languageName: node + linkType: hard + "@polkadot/x-textencoder@npm:13.2.3": version: 13.2.3 resolution: "@polkadot/x-textencoder@npm:13.2.3" @@ -4768,6 +4815,36 @@ __metadata: languageName: node linkType: hard +"@polkadot/x-textencoder@npm:6.11.1": + version: 6.11.1 + resolution: "@polkadot/x-textencoder@npm:6.11.1" + dependencies: + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.11.1 + checksum: 29f740cc230b3235a71e718b3a240a8f6892f675cd04bc9d995937d9053af16bc117161ed285d4bd55d5ddfab6389b9d4736c74f41eeef7196ec175519c83934 + languageName: node + linkType: hard + +"@polkadot/x-textencoder@npm:7.9.2": + version: 7.9.2 + resolution: "@polkadot/x-textencoder@npm:7.9.2" + dependencies: + "@babel/runtime": ^7.16.3 + "@polkadot/x-global": 7.9.2 + checksum: b2d3df5dc0c65b016928a869eee0236d5d6a8ef46917b2db40bbfe60b696721adaf937f41c4f31348197ec472721ea3f8460337ee6527cafd5cce44358371e8c + languageName: node + linkType: hard + +"@polkadot/x-textencoder@npm:8.7.1": + version: 8.7.1 + resolution: "@polkadot/x-textencoder@npm:8.7.1" + dependencies: + "@babel/runtime": ^7.17.8 + "@polkadot/x-global": 8.7.1 + checksum: 29f5c7a1f1c17fc1bb1a494781955645b72f434f5322e9ab8b79307c45c0c46e669426c609ae10a863f877063d735a0786ef84c93d28bd5f0b1b4713f2572e71 + languageName: node + linkType: hard + "@polkadot/x-ws@npm:^10.4.2": version: 10.4.2 resolution: "@polkadot/x-ws@npm:10.4.2" @@ -4780,14 +4857,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-ws@npm:^12.6.1": - version: 12.6.1 - resolution: "@polkadot/x-ws@npm:12.6.1" +"@polkadot/x-ws@npm:^12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-ws@npm:12.6.2" dependencies: - "@polkadot/x-global": 12.6.1 + "@polkadot/x-global": 12.6.2 tslib: ^2.6.2 - ws: ^8.14.2 - checksum: f4303152c9a5bd6d0032f89f995de7f343a479b69fb3530c4a0e703f19af83501edeeab6e8cd53c910649457ec23fd2d1886579d2be4461d837a891a4614d70b + ws: ^8.15.1 + checksum: a6bddc7ac81690f222fbc192f87f2d9b951d67414ea31a0377fb20844db8fde05d7771df5291633417aa4616bf968a31005ff22d416b2d4fecda2109f820abf7 languageName: node linkType: hard @@ -4812,8 +4889,10 @@ __metadata: "@acala-network/sdk-core": ^4.1.9-13 "@open-web3/dev-config": ^0.2.3 "@polkadot/api": ^14.0.1 - "@polkadot/apps-config": ^0.133.1 + "@polkadot/apps-config": 0.146.1 + "@polkadot/keyring": ^13.2.3 "@polkadot/types": ^14.0.1 + "@polkadot/util": ^13.2.3 "@types/jest": ^28.1.1 "@types/lodash": ^4.14.161 axios: ^0.27.2 @@ -4821,6 +4900,7 @@ __metadata: ethers: ^5 jest: ^28.1.1 lodash: ^4.17.20 + ts-node: ^10.9.2 typescript: ^4.7.4 peerDependencies: "@acala-network/api": ^5 @@ -4829,10 +4909,10 @@ __metadata: languageName: unknown linkType: soft -"@polymeshassociation/polymesh-types@npm:5.5.2": - version: 5.5.2 - resolution: "@polymeshassociation/polymesh-types@npm:5.5.2" - checksum: 037189bc841d2b0f0964755f0789804eb0a16636394761efab77c0db77c028e8a1c9aa44d378e90d2d5b093988b24ca0cc7a51c162642cd29667b220d3c381d2 +"@polymeshassociation/polymesh-types@npm:5.7.0": + version: 5.7.0 + resolution: "@polymeshassociation/polymesh-types@npm:5.7.0" + checksum: 1285ad04acf38cd5416e1966d4d4a28f8bbb18aaa99c7ae4048797f6940ba3f1234a589245a38572ed7f918648bade6eab2bc1c505de70ab72602b83be49301e languageName: node linkType: hard @@ -4864,10 +4944,10 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:^1.1.3": - version: 1.1.3 - resolution: "@scure/base@npm:1.1.3" - checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c +"@scure/base@npm:^1.1.5": + version: 1.2.1 + resolution: "@scure/base@npm:1.2.1" + checksum: 061e04e4f6ed7bada6cdad4c799e6a82f30dda3f4008895bdb2e556f333f9b41f44dc067d25c064357ed6c012ea9c8be1e7927caf8a083af865b8de27b52370c languageName: node linkType: hard @@ -4930,22 +5010,22 @@ __metadata: languageName: node linkType: hard -"@sora-substrate/type-definitions@npm:1.20.1": - version: 1.20.1 - resolution: "@sora-substrate/type-definitions@npm:1.20.1" +"@sora-substrate/type-definitions@npm:1.27.7": + version: 1.27.7 + resolution: "@sora-substrate/type-definitions@npm:1.27.7" dependencies: "@open-web3/orml-type-definitions": 1.1.4 - checksum: 0e871d6963cfabe1ae4044908bf9c9d9a7cb34f2de41c0e081b3db21bbc8910f6abae0cec98c7711365088ea6e4242e272a48480041da2284ca04ceed7056fa7 + checksum: a9ad0b17ec772d5e246222374e9eba314eefe1ab138b002c04701656e11450ec7563a2f3450ebdeadb03e1c9216186aea4a66dfebc093b44838c2d2de8893371 languageName: node linkType: hard -"@subsocial/definitions@npm:0.8.13": - version: 0.8.13 - resolution: "@subsocial/definitions@npm:0.8.13" +"@subsocial/definitions@npm:0.8.14": + version: 0.8.14 + resolution: "@subsocial/definitions@npm:0.8.14" dependencies: "@polkadot/api": latest lodash.camelcase: ^4.3.0 - checksum: 9ffc850b672250d57964cf38690a8869f5b076ce00fbef1b0e84672d5329cd71edc426cac899d152af272c569a203ccd165fa473e396c83e2533c937e8bdb1f7 + checksum: afe2f8b6427dfd5b731c036eba7883a1d82d4000664b768a556790ab600bccfdcda5d9e3a1bab971f6e9accb63ea6e36e5391ad16fd0558fced72d0e5b4e92c6 languageName: node linkType: hard @@ -4963,6 +5043,13 @@ __metadata: languageName: node linkType: hard +"@substrate/connect-known-chains@npm:^1.1.1": + version: 1.8.0 + resolution: "@substrate/connect-known-chains@npm:1.8.0" + checksum: ccf536ca2fb6bdfc9f3a85ff0036eebc403ef743f8fbf6290a25439184375e4e90f9ce20ed414fc9c5231b22cfa3382b135bd865ab61cc3d1378959bef0c9ee4 + languageName: node + linkType: hard + "@substrate/connect-known-chains@npm:^1.1.5": version: 1.7.0 resolution: "@substrate/connect-known-chains@npm:1.7.0" @@ -4981,16 +5068,6 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.35": - version: 0.7.35 - resolution: "@substrate/connect@npm:0.7.35" - dependencies: - "@substrate/connect-extension-protocol": ^1.0.1 - smoldot: 2.0.7 - checksum: 4f0cfb2b9521c5300cbcc0245e87b72484738e6cc8103ddf91e3516f627de546d0a152839824ac2716b8ea2f327f3eee0f74a9a07886ed4a091e3b7c1e989441 - languageName: node - linkType: hard - "@substrate/connect@npm:0.8.11": version: 0.8.11 resolution: "@substrate/connect@npm:0.8.11" @@ -5003,6 +5080,35 @@ __metadata: languageName: node linkType: hard +"@substrate/connect@npm:0.8.8": + version: 0.8.8 + resolution: "@substrate/connect@npm:0.8.8" + dependencies: + "@substrate/connect-extension-protocol": ^2.0.0 + "@substrate/connect-known-chains": ^1.1.1 + "@substrate/light-client-extension-helpers": ^0.0.4 + smoldot: 2.0.22 + checksum: c70e8be2a121278af6adbace1060d8f1063c898cbc43b34ce454154cca23cd056e2e8d84407fe49e1c347ff221de9b8e74fbaa18f8145a7e65fb20cd06000368 + languageName: node + linkType: hard + +"@substrate/light-client-extension-helpers@npm:^0.0.4": + version: 0.0.4 + resolution: "@substrate/light-client-extension-helpers@npm:0.0.4" + dependencies: + "@polkadot-api/client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/json-rpc-provider": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/json-rpc-provider-proxy": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/substrate-client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@substrate/connect-extension-protocol": ^2.0.0 + "@substrate/connect-known-chains": ^1.1.1 + rxjs: ^7.8.1 + peerDependencies: + smoldot: 2.x + checksum: 7ec22cbc13d6acd29e40d716f717942be6cfa0af896fccb6ad797b37908d21a6a56398d8ece6b1b79b956c61dc50978594fbc1e660cbfeb127cd60d58203e043 + languageName: node + linkType: hard + "@substrate/light-client-extension-helpers@npm:^1.0.0": version: 1.0.0 resolution: "@substrate/light-client-extension-helpers@npm:1.0.0" @@ -5074,6 +5180,34 @@ __metadata: languageName: node linkType: hard +"@tsconfig/node10@npm:^1.0.7": + version: 1.0.11 + resolution: "@tsconfig/node10@npm:1.0.11" + checksum: 51fe47d55fe1b80ec35e6e5ed30a13665fd3a531945350aa74a14a1e82875fb60b350c2f2a5e72a64831b1b6bc02acb6760c30b3738b54954ec2dea82db7a267 + languageName: node + linkType: hard + +"@tsconfig/node12@npm:^1.0.7": + version: 1.0.11 + resolution: "@tsconfig/node12@npm:1.0.11" + checksum: 5ce29a41b13e7897a58b8e2df11269c5395999e588b9a467386f99d1d26f6c77d1af2719e407621412520ea30517d718d5192a32403b8dfcc163bf33e40a338a + languageName: node + linkType: hard + +"@tsconfig/node14@npm:^1.0.0": + version: 1.0.3 + resolution: "@tsconfig/node14@npm:1.0.3" + checksum: 19275fe80c4c8d0ad0abed6a96dbf00642e88b220b090418609c4376e1cef81bf16237bf170ad1b341452feddb8115d8dd2e5acdfdea1b27422071163dc9ba9d + languageName: node + linkType: hard + +"@tsconfig/node16@npm:^1.0.2": + version: 1.0.4 + resolution: "@tsconfig/node16@npm:1.0.4" + checksum: 202319785901f942a6e1e476b872d421baec20cf09f4b266a1854060efbf78cde16a4d256e8bc949d31e6cd9a90f1e8ef8fb06af96a65e98338a2b6b0de0a0ff + languageName: node + linkType: hard + "@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14": version: 7.20.1 resolution: "@types/babel__core@npm:7.20.1" @@ -5115,7 +5249,16 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.6": +"@types/bn.js@npm:^4.11.6": + version: 4.11.6 + resolution: "@types/bn.js@npm:4.11.6" + dependencies: + "@types/node": "*" + checksum: 7f66f2c7b7b9303b3205a57184261974b114495736b77853af5b18d857c0b33e82ce7146911e86e87a87837de8acae28986716fd381ac7c301fd6e8d8b6c811f + languageName: node + linkType: hard + +"@types/bn.js@npm:^5.1.0, @types/bn.js@npm:^5.1.1, @types/bn.js@npm:^5.1.5, @types/bn.js@npm:^5.1.6": version: 5.1.6 resolution: "@types/bn.js@npm:5.1.6" dependencies: @@ -5438,43 +5581,43 @@ __metadata: languageName: node linkType: hard -"@unique-nft/opal-testnet-types@npm:942.57.0": - version: 942.57.0 - resolution: "@unique-nft/opal-testnet-types@npm:942.57.0" +"@unique-nft/opal-testnet-types@npm:1003.70.0": + version: 1003.70.0 + resolution: "@unique-nft/opal-testnet-types@npm:1003.70.0" peerDependencies: - "@polkadot/api": ^10.7.2 - "@polkadot/types": ^10.7.2 - checksum: 2f8c5d806a74de142165b85d755766da5c28865d1aa8590ae818406d48ceab6ae0e1308d402a304dc225563844754224b4269eb31d7584954d37113aeca307b6 + "@polkadot/api": ^10.10.1 + "@polkadot/types": ^10.10.1 + checksum: 87f58607b3b337f2e6b097be74c1b258cc57418623d3e65705750faf16c194a337264ecc5bb3ef08531b7515e4693703136e6e9021a53994588ee3fa93f40466 languageName: node linkType: hard -"@unique-nft/quartz-mainnet-types@npm:942.57.0": - version: 942.57.0 - resolution: "@unique-nft/quartz-mainnet-types@npm:942.57.0" +"@unique-nft/quartz-mainnet-types@npm:1003.70.0": + version: 1003.70.0 + resolution: "@unique-nft/quartz-mainnet-types@npm:1003.70.0" peerDependencies: - "@polkadot/api": ^10.7.2 - "@polkadot/types": ^10.7.2 - checksum: 16952ecc2f70e69a06399403f49a3190d7f198e10c3f245ce4f92fbe55e186efb219cac69b0d9857a55ed5108d42cdb31081834e20655f9fff707fc037e25c64 + "@polkadot/api": ^10.10.1 + "@polkadot/types": ^10.10.1 + checksum: 3ba513df596799d36dd5e27af72b80a702a0b4f92f6d41ebc6bfa64c8fd9521dafe0dd6cc5379b17b6b2597ca4bf47450001741f99285b2bed7a093e2f2808af languageName: node linkType: hard -"@unique-nft/sapphire-mainnet-types@npm:942.57.0": - version: 942.57.0 - resolution: "@unique-nft/sapphire-mainnet-types@npm:942.57.0" +"@unique-nft/sapphire-mainnet-types@npm:1003.70.0": + version: 1003.70.0 + resolution: "@unique-nft/sapphire-mainnet-types@npm:1003.70.0" peerDependencies: - "@polkadot/api": ^10.7.2 - "@polkadot/types": ^10.7.2 - checksum: c1277fc30e4b420338e61cbe1ce47e5670874e26a39e045df7a045889a150bb423ea468f4c32b7f6997d28a85d9e994251ab6d010c990dd3e1f5c4b56443e5b7 + "@polkadot/api": ^10.10.1 + "@polkadot/types": ^10.10.1 + checksum: 2bc1d18614f85e971d33c71101dfbed87aaafa39697cdfde541f51b94376f49d273869cdaa863a6986fb52e18ebb2b7229242575c762b96e61c1eb8f00bf8c8d languageName: node linkType: hard -"@unique-nft/unique-mainnet-types@npm:942.57.0": - version: 942.57.0 - resolution: "@unique-nft/unique-mainnet-types@npm:942.57.0" +"@unique-nft/unique-mainnet-types@npm:1001.63.0": + version: 1001.63.0 + resolution: "@unique-nft/unique-mainnet-types@npm:1001.63.0" peerDependencies: - "@polkadot/api": ^10.7.2 - "@polkadot/types": ^10.7.2 - checksum: e743ec7eade5efb9e34ec93414d860a6b4fb30ed83ba85fd6882f37e8271d60288a1602d6f85cf77b1b87a52dd3cb080218dcb72e38a9fd3825109fa3ec90e10 + "@polkadot/api": ^10.10.1 + "@polkadot/types": ^10.10.1 + checksum: bd4e15f9f842d243650c136854196c8ae0d26c927494242d243f1e5033ddab7352cbba37e214d90bd62a9321437e77d12b425a737b389888349355d613ced467 languageName: node linkType: hard @@ -5552,6 +5695,15 @@ __metadata: languageName: node linkType: hard +"acorn-walk@npm:^8.1.1": + version: 8.3.4 + resolution: "acorn-walk@npm:8.3.4" + dependencies: + acorn: ^8.11.0 + checksum: 4ff03f42323e7cf90f1683e08606b0f460e1e6ac263d2730e3df91c7665b6f64e696db6ea27ee4bed18c2599569be61f28a8399fa170c611161a348c402ca19c + languageName: node + linkType: hard + "acorn@npm:^7.1.1": version: 7.4.1 resolution: "acorn@npm:7.4.1" @@ -5561,6 +5713,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.11.0, acorn@npm:^8.4.1": + version: 8.14.0 + resolution: "acorn@npm:8.14.0" + bin: + acorn: bin/acorn + checksum: 8755074ba55fff94e84e81c72f1013c2d9c78e973c31231c8ae505a5f966859baf654bddd75046bffd73ce816b149298977fff5077a3033dedba0ae2aad152d4 + languageName: node + linkType: hard + "acorn@npm:^8.2.4, acorn@npm:^8.8.0": version: 8.8.2 resolution: "acorn@npm:8.8.2" @@ -5721,6 +5882,13 @@ __metadata: languageName: node linkType: hard +"arg@npm:^4.1.0": + version: 4.1.3 + resolution: "arg@npm:4.1.3" + checksum: 544af8dd3f60546d3e4aff084d451b96961d2267d668670199692f8d054f0415d86fc5497d0e641e91546f0aa920e7c29e5250e99fc89f5552a34b5d93b77f43 + languageName: node + linkType: hard + "argparse@npm:^1.0.7": version: 1.0.10 resolution: "argparse@npm:1.0.10" @@ -6201,7 +6369,7 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.2.1, bn.js@npm:~5.2.0": +"bn.js@npm:^5.2.0, bn.js@npm:^5.2.1, bn.js@npm:~5.2.0": version: 5.2.1 resolution: "bn.js@npm:5.2.1" checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 @@ -6381,7 +6549,7 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^6.2.0": +"camelcase@npm:^6.2.0, camelcase@npm:^6.2.1": version: 6.3.0 resolution: "camelcase@npm:6.3.0" checksum: 8c96818a9076434998511251dcb2761a94817ea17dbdc37f47ac080bd088fc62c7369429a19e2178b993497132c8cbcf5cc1f44ba963e76782ba469c0474938d @@ -6828,6 +6996,13 @@ __metadata: languageName: node linkType: hard +"create-require@npm:^1.1.0": + version: 1.1.1 + resolution: "create-require@npm:1.1.1" + checksum: a9a1503d4390d8b59ad86f4607de7870b39cad43d929813599a23714831e81c520bddf61bcdd1f8e30f05fd3a2b71ae8538e946eb2786dc65c2bbc520f692eff + languageName: node + linkType: hard + "cross-fetch@npm:^3.0.6, cross-fetch@npm:^3.1.5": version: 3.1.6 resolution: "cross-fetch@npm:3.1.6" @@ -7242,6 +7417,13 @@ __metadata: languageName: node linkType: hard +"diff@npm:^4.0.1": + version: 4.0.2 + resolution: "diff@npm:4.0.2" + checksum: f2c09b0ce4e6b301c221addd83bf3f454c0bc00caa3dd837cf6c127d6edf7223aa2bbe3b688feea110b7f262adbfc845b757c44c8a9f8c0c5b15d8fa9ce9d20d + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -9329,6 +9511,13 @@ __metadata: languageName: node linkType: hard +"ip-regex@npm:^4.3.0": + version: 4.3.0 + resolution: "ip-regex@npm:4.3.0" + checksum: 7ff904b891221b1847f3fdf3dbb3e6a8660dc39bc283f79eb7ed88f5338e1a3d1104b779bc83759159be266249c59c2160e779ee39446d79d4ed0890dfd06f08 + languageName: node + linkType: hard + "ip@npm:^2.0.0": version: 2.0.0 resolution: "ip@npm:2.0.0" @@ -11219,6 +11408,13 @@ __metadata: languageName: node linkType: hard +"make-error@npm:^1.1.1": + version: 1.3.6 + resolution: "make-error@npm:1.3.6" + checksum: b86e5e0e25f7f777b77fabd8e2cbf15737972869d852a22b7e73c17623928fccb826d8e46b9951501d3f20e51ad74ba8c59ed584f610526a48f8ccf88aaec402 + languageName: node + linkType: hard + "make-fetch-happen@npm:^10.0.3": version: 10.2.1 resolution: "make-fetch-happen@npm:10.2.1" @@ -11643,18 +11839,7 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.3.8": - version: 13.4.0 - resolution: "nock@npm:13.4.0" - dependencies: - debug: ^4.1.0 - json-stringify-safe: ^5.0.1 - propagate: ^2.0.0 - checksum: 30c3751854f9c412df5f99e01eeaef25b2583d3cae80b8c46524acb39d8b7fa61043603472ad94a3adc4b7d1e0f3098e6bb06e787734cbfbde2751891115b311 - languageName: node - linkType: hard - -"nock@npm:^13.5.5": +"nock@npm:^13.5.0, nock@npm:^13.5.5": version: 13.5.6 resolution: "nock@npm:13.5.6" dependencies: @@ -13267,21 +13452,21 @@ __metadata: languageName: node linkType: hard -"smoldot@npm:2.0.26": - version: 2.0.26 - resolution: "smoldot@npm:2.0.26" +"smoldot@npm:2.0.22": + version: 2.0.22 + resolution: "smoldot@npm:2.0.22" dependencies: ws: ^8.8.1 - checksum: df1b27afae3ade7ee08947ca73f6e7afd450106b7ae4ff127ad7e71b7c20b01a2dc64135a07a7039aeeb23ad30fb549d7003c3131afa368f47125abf6837d919 + checksum: 383bc6a5481190d64302fad56e9e4120a484885aee5543b268887de425708f04e8b3b3b69893333dfd9fd0e596f006afaa7c7ee5ff260c5d2be929c60302d385 languageName: node linkType: hard -"smoldot@npm:2.0.7": - version: 2.0.7 - resolution: "smoldot@npm:2.0.7" +"smoldot@npm:2.0.26": + version: 2.0.26 + resolution: "smoldot@npm:2.0.26" dependencies: ws: ^8.8.1 - checksum: fc039bfa0560312ae09c2136dd506f2a1994ead804b7234b49b2ecfac2fd19d306973a0fcfb66019645a8cf9a1702c270bc544a622ae40b63cf14790ea3531e0 + checksum: df1b27afae3ade7ee08947ca73f6e7afd450106b7ae4ff127ad7e71b7c20b01a2dc64135a07a7039aeeb23ad30fb549d7003c3131afa368f47125abf6837d919 languageName: node linkType: hard @@ -13848,6 +14033,44 @@ __metadata: languageName: node linkType: hard +"ts-node@npm:^10.9.2": + version: 10.9.2 + resolution: "ts-node@npm:10.9.2" + dependencies: + "@cspotcode/source-map-support": ^0.8.0 + "@tsconfig/node10": ^1.0.7 + "@tsconfig/node12": ^1.0.7 + "@tsconfig/node14": ^1.0.0 + "@tsconfig/node16": ^1.0.2 + acorn: ^8.4.1 + acorn-walk: ^8.1.1 + arg: ^4.1.0 + create-require: ^1.1.0 + diff: ^4.0.1 + make-error: ^1.1.1 + v8-compile-cache-lib: ^3.0.1 + yn: 3.1.1 + peerDependencies: + "@swc/core": ">=1.2.50" + "@swc/wasm": ">=1.2.50" + "@types/node": "*" + typescript: ">=2.7" + peerDependenciesMeta: + "@swc/core": + optional: true + "@swc/wasm": + optional: true + bin: + ts-node: dist/bin.js + ts-node-cwd: dist/bin-cwd.js + ts-node-esm: dist/bin-esm.js + ts-node-script: dist/bin-script.js + ts-node-transpile-only: dist/bin-transpile.js + ts-script: dist/bin-script-deprecated.js + checksum: fde256c9073969e234526e2cfead42591b9a2aec5222bac154b0de2fa9e4ceb30efcd717ee8bc785a56f3a119bdd5aa27b333d9dbec94ed254bd26f8944c67ac + languageName: node + linkType: hard + "tsconfig-paths@npm:^3.10.1, tsconfig-paths@npm:^3.14.1": version: 3.14.2 resolution: "tsconfig-paths@npm:3.14.2" @@ -13881,7 +14104,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.7.0, tslib@npm:^2.8.0": +"tslib@npm:^2.7.0, tslib@npm:^2.8.0, tslib@npm:^2.8.1": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a @@ -14299,6 +14522,13 @@ __metadata: languageName: node linkType: hard +"v8-compile-cache-lib@npm:^3.0.1": + version: 3.0.1 + resolution: "v8-compile-cache-lib@npm:3.0.1" + checksum: 78089ad549e21bcdbfca10c08850022b22024cdcc2da9b168bcf5a73a6ed7bf01a9cebb9eac28e03cd23a684d81e0502797e88f3ccd27a32aeab1cfc44c39da0 + languageName: node + linkType: hard + "v8-to-istanbul@npm:^8.1.0": version: 8.1.1 resolution: "v8-to-istanbul@npm:8.1.1" @@ -14629,22 +14859,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.14.2": - version: 8.14.2 - resolution: "ws@npm:8.14.2" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ">=5.0.2" - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 3ca0dad26e8cc6515ff392b622a1467430814c463b3368b0258e33696b1d4bed7510bc7030f7b72838b9fdeb8dbd8839cbf808367d6aae2e1d668ce741d4308b - languageName: node - linkType: hard - -"ws@npm:^8.18.0": +"ws@npm:^8.15.1, ws@npm:^8.18.0": version: 8.18.0 resolution: "ws@npm:8.18.0" peerDependencies: @@ -14790,6 +15005,13 @@ __metadata: languageName: node linkType: hard +"yn@npm:3.1.1": + version: 3.1.1 + resolution: "yn@npm:3.1.1" + checksum: 2c487b0e149e746ef48cda9f8bad10fc83693cd69d7f9dcd8be4214e985de33a29c9e24f3c0d6bcf2288427040a8947406ab27f7af67ee9456e6b84854f02dd6 + languageName: node + linkType: hard + "yocto-queue@npm:^0.1.0": version: 0.1.0 resolution: "yocto-queue@npm:0.1.0"