diff --git a/.husky/pre-commit b/.husky/pre-commit index 73aa3970..dcfea3a5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npm run generate-helper +npm run generate-helper & npm run generate-multihop diff --git a/dist/chains/common/utils.d.ts b/dist/chains/common/utils.d.ts index 5ee9d94e..19862c72 100644 --- a/dist/chains/common/utils.d.ts +++ b/dist/chains/common/utils.d.ts @@ -23,5 +23,12 @@ export declare const convertCosmosAddress: (address: string, newPrefix: string) /**@description When it comes to Cosmos network, coinType should be 114 to use this converter*/ export declare const convertAddressToStr: (address: string, fromChainId: string) => string; export declare const createForwardPathRecursive: (ibcPath: Hop[], index?: number, timeout?: number) => any; +export declare const getSourceChannel: (fromChainId: string, toChainId: string) => string; +export declare const getXcmInfo: (fromChainId: string, toChainId: string) => { + type: "XCM"; + xcmType: string; + version: string; + tokens: string[]; +}; export {}; //# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/dist/chains/common/utils.d.ts.map b/dist/chains/common/utils.d.ts.map index 80bf2e0a..8600957a 100644 --- a/dist/chains/common/utils.d.ts.map +++ b/dist/chains/common/utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/chains/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAIL,YAAY,EACb,MAAM,cAAc,CAAC;AAItB,eAAO,MAAM,OAAO,oCAAsC,CAAC;AAE3D,eAAO,MAAM,WAAW,kCAGrB;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,WAUA,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,UAAU,aAAa,MAAM,QAIzC,CAAC;AAEF,eAAO,MAAM,mBAAmB,kBACf,MAAM,eACR,MAAM,KAId,MAAM,GAAG,SACf,CAAC;AAOF,UAAU,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,aAAa,MAAM,YASxE,CAAC;AAEF,eAAO,MAAM,YAAY,gBAAiB,MAAM,aAAa,MAAM,KAAG,GAAG,EA6CxE,CAAC;AAIF,0EAA0E;AAC1E,eAAO,MAAM,gBAAgB,gBACd,MAAM,aACR,MAAM,KAChB,YAAY,GAAG,SAwBjB,CAAC;AAEF,eAAO,MAAM,qBAAqB,cACrB,MAAM,WACR,MAAM,KACd,MAMF,CAAC;AAEF,eAAO,MAAM,oBAAoB,YACtB,MAAM,aACJ,MAAM,KAChB,MAQF,CAAC;AAEF,+FAA+F;AAC/F,eAAO,MAAM,mBAAmB,YACrB,MAAM,eACF,MAAM,KAClB,MA0BF,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC5B,GAAG,EAAE,0CAwBf,CAAC"} \ No newline at end of file +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/chains/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAIL,YAAY,EACb,MAAM,cAAc,CAAC;AAItB,eAAO,MAAM,OAAO,oCAAsC,CAAC;AAE3D,eAAO,MAAM,WAAW,kCAGrB;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,WAUA,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,UAAU,aAAa,MAAM,QAIzC,CAAC;AAEF,eAAO,MAAM,mBAAmB,kBACf,MAAM,eACR,MAAM,KAId,MAAM,GAAG,SACf,CAAC;AAOF,UAAU,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,aAAa,MAAM,YASxE,CAAC;AAEF,eAAO,MAAM,YAAY,gBAAiB,MAAM,aAAa,MAAM,KAAG,GAAG,EA6CxE,CAAC;AAIF,0EAA0E;AAC1E,eAAO,MAAM,gBAAgB,gBACd,MAAM,aACR,MAAM,KAChB,YAAY,GAAG,SAkBjB,CAAC;AAEF,eAAO,MAAM,qBAAqB,cACrB,MAAM,WACR,MAAM,KACd,MAMF,CAAC;AAEF,eAAO,MAAM,oBAAoB,YACtB,MAAM,aACJ,MAAM,KAChB,MAQF,CAAC;AAEF,+FAA+F;AAC/F,eAAO,MAAM,mBAAmB,YACrB,MAAM,eACF,MAAM,KAClB,MA0BF,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC5B,GAAG,EAAE,0CAwBf,CAAC;AAEF,eAAO,MAAM,gBAAgB,gBAAiB,MAAM,aAAa,MAAM,WAKtE,CAAC;AACF,eAAO,MAAM,UAAU,gBAAiB,MAAM,aAAa,MAAM;;;;;CAEhE,CAAC"} \ No newline at end of file diff --git a/dist/chains/common/utils.js b/dist/chains/common/utils.js index 54854106..dacf40b7 100644 --- a/dist/chains/common/utils.js +++ b/dist/chains/common/utils.js @@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createForwardPathRecursive = exports.convertAddressToStr = exports.convertCosmosAddress = exports.getPolkadotAddressStr = exports.getSupportedType = exports.buildIbcPath = exports.getForbiddenChains = exports.findSourceChannelId = exports.getTimeOut = exports.memoBuilder = exports.emitter = void 0; +exports.getXcmInfo = exports.getSourceChannel = exports.createForwardPathRecursive = exports.convertAddressToStr = exports.convertCosmosAddress = exports.getPolkadotAddressStr = exports.getSupportedType = exports.buildIbcPath = exports.getForbiddenChains = exports.findSourceChannelId = exports.getTimeOut = exports.memoBuilder = exports.emitter = void 0; var eventemitter3_1 = __importDefault(require("eventemitter3")); var big_js_1 = __importDefault(require("big.js")); var config_1 = require("../../config"); @@ -116,8 +116,7 @@ var getSupportedType = function (fromChainId, toChainId) { var _a, _b; if (fromChainId === toChainId || !fromChainId || !toChainId) return; - if ((config_1.tokensPerChannel === null || config_1.tokensPerChannel === void 0 ? void 0 : config_1.tokensPerChannel[fromChainId]) && - Object.values(config_1.tokensPerChannel === null || config_1.tokensPerChannel === void 0 ? void 0 : config_1.tokensPerChannel[fromChainId]).find(function (item) { return (item === null || item === void 0 ? void 0 : item.chainId) === toChainId; })) + if ((0, exports.getSourceChannel)(fromChainId, toChainId)) return 'channel'; //XCM tx if (config_1.networks[fromChainId].polkadot && @@ -144,8 +143,8 @@ var getPolkadotAddressStr = function (accountId, prefix) { exports.getPolkadotAddressStr = getPolkadotAddressStr; var convertCosmosAddress = function (address, newPrefix) { try { - var data = (0, encoding_1.fromBech32)(address).data; - return (0, encoding_1.toBech32)(newPrefix, data); + var data_1 = (0, encoding_1.fromBech32)(address).data; + return (0, encoding_1.toBech32)(newPrefix, data_1); } catch (e) { throw new Error('유효하지 않은 Bech32 주소입니다.'); @@ -199,11 +198,55 @@ var createForwardPathRecursive = function (ibcPath, index, timeout) { }; }; exports.createForwardPathRecursive = createForwardPathRecursive; -// 예시 데이터 -var ibcPath = [ - { chainId: 'osmosis-1', channelId: 1279 }, - { chainId: 'centauri-1', channelId: 52 }, -]; -// 실행 예시 -var result = (0, exports.createForwardPathRecursive)(ibcPath, 0); -console.log(JSON.stringify({ forward: result }, null, 2)); +var getSourceChannel = function (fromChainId, toChainId) { + if (config_1.tokensPerChannel === null || config_1.tokensPerChannel === void 0 ? void 0 : config_1.tokensPerChannel[fromChainId]) + return Object.keys(config_1.tokensPerChannel === null || config_1.tokensPerChannel === void 0 ? void 0 : config_1.tokensPerChannel[fromChainId]).find(function (key) { var _a; return ((_a = config_1.tokensPerChannel === null || config_1.tokensPerChannel === void 0 ? void 0 : config_1.tokensPerChannel[fromChainId][key]) === null || _a === void 0 ? void 0 : _a.chainId) === toChainId; }); +}; +exports.getSourceChannel = getSourceChannel; +var getXcmInfo = function (fromChainId, toChainId) { + var _a, _b, _c; + return (_c = (_b = (_a = config_1.networks === null || config_1.networks === void 0 ? void 0 : config_1.networks[fromChainId]) === null || _a === void 0 ? void 0 : _a.polkadot) === null || _b === void 0 ? void 0 : _b.hops) === null || _c === void 0 ? void 0 : _c[toChainId]; +}; +exports.getXcmInfo = getXcmInfo; +// export const getBatchPath = () => { +// const found = polkadotRoute(origin, destination); +// if (!found) return; +// const route = { +// ...found, +// paths: found.paths?.map((p) => { +// return { +// ...p, +// address: +// toWallet !== '' +// ? // if we have toWallet, normal multihop checking +// getAddressFromNetwork( +// p.chainName, +// pickMultihopWalletByHandler( +// fromWallet, +// toWallet, +// config.networks[p.chainName].handler +// ) +// ) +// : // else, if we have toAddres, check if the next hop is from or to +// toAddress !== undefined && +// pickMultihopWalletByHandlerToAddress( +// fromWallet, +// config.networks[p.chainName].handler, +// toAddress +// ) === 'toAddress' +// ? // is toAddress, we need to generate the address for the chain +// getConvertedAddress({ +// address: toAddress, +// network: p.chainName, +// }) +// : // is fromWallet +// getAddressFromNetwork(p.chainName, fromWallet), +// // getAddressFromNetwork( +// // p.chainName, +// // // TODO: CHECK THIS +// // pickMultihopWalletByHandler(fromWallet, toWallet, config.networks[p.chainName].handler) +// // ) +// }; +// }), +// }; +// }; diff --git a/dist/chains/cosmos/helper.d.ts b/dist/chains/cosmos/helper.d.ts index 6316b02d..acef4984 100644 --- a/dist/chains/cosmos/helper.d.ts +++ b/dist/chains/cosmos/helper.d.ts @@ -28,4 +28,8 @@ export declare const getCosmosClient: ({ chainId, rpc, keplr, feeAssetId, gasPri gasPrice: string; supportLedger: boolean; }) => Promise; +export declare const getCosmosBlockHeight: ({ client, extra, }: { + client: SigningStargateClient; + extra: number; +}) => Promise; //# sourceMappingURL=helper.d.ts.map \ No newline at end of file diff --git a/dist/chains/cosmos/helper.d.ts.map b/dist/chains/cosmos/helper.d.ts.map index f8176c50..07352022 100644 --- a/dist/chains/cosmos/helper.d.ts.map +++ b/dist/chains/cosmos/helper.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/chains/cosmos/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,UACvB,WAAW,WACT,MAAM,iBACA,MAAM,eACR,MAAM,UACX,MAAM,WACL,MAAM,QACT,MAAM,WACH,MAAM;;;;;;;;;;;;;;CAkBhB,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAExD,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,SAAS,YACX,MAAM,SACR,KAAK,kBACG,OAAO,qDAKvB,CAAC;AAIF,eAAO,MAAM,eAAe,kEAOzB;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;CACxB,mCAWA,CAAC"} \ No newline at end of file +{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/chains/cosmos/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,UACvB,WAAW,WACT,MAAM,iBACA,MAAM,eACR,MAAM,UACX,MAAM,WACL,MAAM,QACT,MAAM,WACH,MAAM;;;;;;;;;;;;;;CAkBhB,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAExD,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,SAAS,YACX,MAAM,SACR,KAAK,kBACG,OAAO,qDAKvB,CAAC;AAIF,eAAO,MAAM,eAAe,kEAOzB;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;CACxB,mCAWA,CAAC;AAEF,eAAO,MAAM,oBAAoB,uBAG9B;IACD,MAAM,EAAE,qBAAqB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,oBAEA,CAAC"} \ No newline at end of file diff --git a/dist/chains/cosmos/helper.js b/dist/chains/cosmos/helper.js index 06c9e135..e52b0101 100644 --- a/dist/chains/cosmos/helper.js +++ b/dist/chains/cosmos/helper.js @@ -36,7 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { } }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getCosmosClient = exports.getSigner = exports.getCosmosTimeoutTimestamp = exports.generateTransferMsg = void 0; +exports.getCosmosBlockHeight = exports.getCosmosClient = exports.getSigner = exports.getCosmosTimeoutTimestamp = exports.generateTransferMsg = void 0; var stargate_1 = require("@cosmjs/stargate"); var generateTransferMsg = function (txMsg, channel, sourceAddress, destAddress, amount, assetId, memo, timeout) { var msg = { @@ -88,3 +88,16 @@ var getCosmosClient = function (_a) { return __awaiter(void 0, [_a], void 0, fun }); }); }; exports.getCosmosClient = getCosmosClient; +var getCosmosBlockHeight = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) { + var _c; + var client = _b.client, _d = _b.extra, extra = _d === void 0 ? 100 : _d; + return __generator(this, function (_e) { + switch (_e.label) { + case 0: + _c = Number; + return [4 /*yield*/, client.getHeight()]; + case 1: return [2 /*return*/, _c.apply(void 0, [_e.sent()]) + extra]; + } + }); +}); }; +exports.getCosmosBlockHeight = getCosmosBlockHeight; diff --git a/dist/chains/cosmos/types.d.ts b/dist/chains/cosmos/types.d.ts index 0d69343d..09242dc2 100644 --- a/dist/chains/cosmos/types.d.ts +++ b/dist/chains/cosmos/types.d.ts @@ -1,3 +1,5 @@ import { TX_MSG } from './constants'; export type TX_MSG_TYPE = typeof TX_MSG; +export { type Keplr, type OfflineAminoSigner } from '@keplr-wallet/types'; +export { type IbcExtension } from '@cosmjs/stargate'; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/cosmos/types.d.ts.map b/dist/chains/cosmos/types.d.ts.map index dd689ebf..8d3a1eb4 100644 --- a/dist/chains/cosmos/types.d.ts.map +++ b/dist/chains/cosmos/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/chains/cosmos/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC"} \ No newline at end of file +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/chains/cosmos/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC;AACxC,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/chains/index.d.ts b/dist/chains/index.d.ts index fce60ae4..3e569da9 100644 --- a/dist/chains/index.d.ts +++ b/dist/chains/index.d.ts @@ -2,4 +2,5 @@ export * from './common'; export * from './cosmos'; export * from './ethereum'; export * from './solana'; +export * from './polkadot'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/index.d.ts.map b/dist/chains/index.d.ts.map index 59ef0256..7b492381 100644 --- a/dist/chains/index.d.ts.map +++ b/dist/chains/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/chains/index.js b/dist/chains/index.js index e8a01b4d..c8bd39b0 100644 --- a/dist/chains/index.js +++ b/dist/chains/index.js @@ -18,3 +18,4 @@ __exportStar(require("./common"), exports); __exportStar(require("./cosmos"), exports); __exportStar(require("./ethereum"), exports); __exportStar(require("./solana"), exports); +__exportStar(require("./polkadot"), exports); diff --git a/dist/chains/polkadot/api-scheme/assets/definitions.d.ts b/dist/chains/polkadot/api-scheme/assets/definitions.d.ts new file mode 100644 index 00000000..586e29fa --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/definitions.d.ts @@ -0,0 +1,38 @@ +declare const _default: { + rpc: { + balanceOf: { + description: string; + params: ({ + name: string; + type: string; + isOptional?: undefined; + } | { + name: string; + type: string; + isOptional: boolean; + })[]; + type: string; + }; + listAssets: { + description: string; + params: { + name: string; + type: string; + isOptional: boolean; + }[]; + type: string; + }; + }; + types: { + Asset: { + name: string; + id: string; + decimals: string; + ratio: string; + foreignId: string; + existentialDeposit: string; + }; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/assets/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/assets/definitions.d.ts.map new file mode 100644 index 00000000..e2712762 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/assets/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA2CE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/assets/definitions.js b/dist/chains/polkadot/api-scheme/assets/definitions.js new file mode 100644 index 00000000..53c8d69f --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/definitions.js @@ -0,0 +1,46 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: { + balanceOf: { + description: 'Balance available for the specified account for the specified asset.', + params: [ + { + name: 'asset', + type: 'CustomRpcCurrencyId' + }, + { + name: 'account', + type: 'AccountId32' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'CustomRpcBalance' + }, + listAssets: { + description: 'Lists the available recognized assets for the runtime.', + params: [ + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'Vec' + } + }, + types: { + Asset: { + name: 'Vec', + id: 'u128', + decimals: 'u32', + ratio: 'Option', + foreignId: 'Option', + existentialDeposit: 'CustomRpcBalance' + } + } +}; diff --git a/dist/chains/polkadot/api-scheme/assets/index.d.ts b/dist/chains/polkadot/api-scheme/assets/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/assets/index.d.ts.map b/dist/chains/polkadot/api-scheme/assets/index.d.ts.map new file mode 100644 index 00000000..16efbdd7 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/assets/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/assets/index.js b/dist/chains/polkadot/api-scheme/assets/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/assets/types.d.ts b/dist/chains/polkadot/api-scheme/assets/types.d.ts new file mode 100644 index 00000000..ddb832b1 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/types.d.ts @@ -0,0 +1,13 @@ +import type { Bytes, Option, Struct, u32 } from '@polkadot/types-codec'; +import type { CustomRpcBalance } from '../common'; +import type { ComposableTraitsCurrencyRational64, XcmV1MultiLocation } from '../crowdloanRewards'; +/** @name Asset */ +export interface Asset extends Struct { + readonly name: Bytes; + readonly id: Text; + readonly decimals: u32; + readonly ratio: Option; + readonly foreignId: Option; + readonly existentialDeposit: CustomRpcBalance; +} +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/assets/types.d.ts.map b/dist/chains/polkadot/api-scheme/assets/types.d.ts.map new file mode 100644 index 00000000..1520ea0e --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/assets/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAExE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,EAAE,kCAAkC,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAElG,kBAAkB;AAClB,MAAM,WAAW,KAAM,SAAQ,MAAM;IACpC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,kCAAkC,CAAC,CAAC;IAC3D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC/C,QAAQ,CAAC,kBAAkB,EAAE,gBAAgB,CAAC;CAC9C"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/assets/types.js b/dist/chains/polkadot/api-scheme/assets/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/assets/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-consts.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-consts.d.ts new file mode 100644 index 00000000..76d565ee --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-consts.d.ts @@ -0,0 +1,744 @@ +import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/consts'; +import type { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128 } from '@polkadot/types-codec'; +import type { Codec } from '@polkadot/types-codec/types'; +import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; +import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletCosmwasmInstrumentCostRules, SpVersionRuntimeVersion, XcmV1MultiLocation } from '../crowdloanRewards'; +export type __AugmentedConst = AugmentedConst; +declare module '@polkadot/api-base/types/consts' { + interface AugmentedConsts { + assets: { + nativeAssetId: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + assetTxPayment: { + /** + * where to allow configuring default asset per user + **/ + useUserConfiguration: bool & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + authorship: { + /** + * The number of blocks back we should accept uncles. + * This means that we will deal with uncle-parents that are + * `UncleGenerations + 1` before `now`. + **/ + uncleGenerations: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + balances: { + /** + * The minimum amount required to keep an account open. + **/ + existentialDeposit: u128 & AugmentedConst; + /** + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. + **/ + maxLocks: u32 & AugmentedConst; + /** + * The maximum number of named reserves that can exist on an account. + **/ + maxReserves: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + bondedFinance: { + /** + * The minimum reward for an offer. + * + * Must be > T::Vesting::MinVestedTransfer. + **/ + minReward: u128 & AugmentedConst; + /** + * The pallet ID, required to create sub-accounts used by offers. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * The stake a user has to put to create an offer. + **/ + stake: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + callFilter: { + maxStringSize: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + cosmwasm: { + /** + * Current chain ID. Provided to the contract via the [`Env`]. + **/ + chainId: Text & AugmentedConst; + /** + * Max wasm branch table size limit. + **/ + codeBranchTableSizeLimit: u32 & AugmentedConst; + /** + * Max wasm globals limit. + **/ + codeGlobalVariableLimit: u32 & AugmentedConst; + /** + * Max wasm functions parameters limit. + **/ + codeParameterLimit: u32 & AugmentedConst; + /** + * Max wasm stack size limit. + **/ + codeStackLimit: u32 & AugmentedConst; + /** + * Price of a byte when uploading new code. + * The price is expressed in [`Self::NativeAsset`]. + * This amount is reserved from the owner and released when the code is destroyed. + **/ + codeStorageByteDeposit: u32 & AugmentedConst; + /** + * Max wasm table size. + **/ + codeTableSizeLimit: u32 & AugmentedConst; + /** + * Price of extracting a byte from the storage. + **/ + contractStorageByteReadPrice: u32 & AugmentedConst; + /** + * Price of writing a byte in the storage. + **/ + contractStorageByteWritePrice: u32 & AugmentedConst; + /** + * Max accepted code size. + **/ + maxCodeSize: u32 & AugmentedConst; + /** + * Max contract label size. + **/ + maxContractLabelSize: u32 & AugmentedConst; + /** + * Max contract trie id size. + **/ + maxContractTrieIdSize: u32 & AugmentedConst; + /** + * Max number of frames a contract is able to push, a.k.a recursive calls. + **/ + maxFrames: u32 & AugmentedConst; + /** + * Max assets in a [`FundsOf`] batch. + **/ + maxFundsAssets: u32 & AugmentedConst; + /** + * Max instantiate salt. + **/ + maxInstantiateSaltSize: u32 & AugmentedConst; + /** + * Max code size after gas instrumentation. + **/ + maxInstrumentedCodeSize: u32 & AugmentedConst; + /** + * Max message size. + **/ + maxMessageSize: u32 & AugmentedConst; + /** + * Pallet unique ID. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + wasmCostRules: PalletCosmwasmInstrumentCostRules & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + crowdloanRewards: { + /** + * The AccountId of this pallet. + **/ + accountId: AccountId32 & AugmentedConst; + /** + * The upfront liquidity unlocked at first claim. + **/ + initialPayment: Perbill & AugmentedConst; + /** + * If claimed amounts should be locked by the pallet + **/ + lockByDefault: bool & AugmentedConst; + /** + * The unique identifier for locks maintained by this pallet. + **/ + lockId: U8aFixed & AugmentedConst; + /** + * The percentage of excess funds required to trigger the `OverFunded` event. + **/ + overFundedThreshold: Perbill & AugmentedConst; + /** + * The unique identifier of this pallet. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * The arbitrary prefix used for the proof. + **/ + prefix: Bytes & AugmentedConst; + /** + * The time you have to wait to unlock another part of your reward. + **/ + vestingStep: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + democracy: { + /** + * Period in blocks where an external proposal may not be re-submitted after being vetoed. + **/ + cooloffPeriod: u32 & AugmentedConst; + /** + * Runtime unique identifier for locking currency. + * May be equivalent to PalletId. + **/ + democracyId: U8aFixed & AugmentedConst; + /** + * The period between a proposal being approved and enacted. + * + * It should generally be a little more than the unstake period to ensure that + * voting stakers have an opportunity to remove themselves from the system in the case + * where they are on the losing side of a vote. + **/ + enactmentPeriod: u32 & AugmentedConst; + /** + * Minimum voting period allowed for a fast-track referendum. + **/ + fastTrackVotingPeriod: u32 & AugmentedConst; + /** + * Indicator for whether an emergency origin is even allowed to happen. Some chains may + * want to set this permanently to `false`, others may want to condition it on things such + * as an upgrade having happened recently. + **/ + instantAllowed: bool & AugmentedConst; + /** + * How often (in blocks) new public referenda are launched. + **/ + launchPeriod: u32 & AugmentedConst; + /** + * The maximum number of public proposals that can exist at any time. + **/ + maxProposals: u32 & AugmentedConst; + /** + * The maximum number of votes for an account. + * + * Also used to compute weight, an overly big value can + * lead to extrinsic with very big weight: see `delegate` for instance. + **/ + maxVotes: u32 & AugmentedConst; + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ + minimumDeposit: u128 & AugmentedConst; + /** + * The amount of balance that must be deposited per byte of preimage stored. + **/ + preimageByteDeposit: u128 & AugmentedConst; + /** + * The minimum period of vote locking. + * + * It should be no shorter than enactment period to ensure that in the case of an approval, + * those successful voters are locked into the consequences that their votes entail. + **/ + voteLockingPeriod: u32 & AugmentedConst; + /** + * How often (in blocks) to check for new votes. + **/ + votingPeriod: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + dexRouter: { + /** + * The maximum hops in the route. + **/ + maxHopsInRoute: u32 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + dutchAuction: { + palletId: FrameSupportPalletId & AugmentedConst; + /** + * ED taken to create position. Part of if returned when position is liquidated. + **/ + positionExistentialDeposit: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + fnft: { + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + identity: { + /** + * The amount held on deposit for a registered identity + **/ + basicDeposit: u128 & AugmentedConst; + /** + * The amount held on deposit per additional field for a registered identity. + **/ + fieldDeposit: u128 & AugmentedConst; + /** + * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O + * required to access an identity, but can be pretty high. + **/ + maxAdditionalFields: u32 & AugmentedConst; + /** + * Maxmimum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ + maxRegistrars: u32 & AugmentedConst; + /** + * The maximum number of sub-accounts allowed per identified account. + **/ + maxSubAccounts: u32 & AugmentedConst; + /** + * The amount held on deposit for a registered subaccount. This should account for the fact + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ + subAccountDeposit: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + indices: { + /** + * The deposit needed for reserving an index. + **/ + deposit: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + lending: { + /** + * Minimal price of borrow asset in Oracle price required to create. + * Examples, 100 USDC. + * Creators puts that amount and it is staked under Vault account. + * So he does not owns it anymore. + * So borrow is both stake and tool to create market. + * + * # Why not pure borrow amount minimum? + * + * Borrow may have very small price. Will imbalance some markets on creation. + * + * # Why not native parachain token? + * + * Possible option. But I doubt closing market as easy as transferring back rent. So it is + * not exactly platform rent only. + * + * # Why borrow amount priced by Oracle? + * + * We depend on Oracle to price in Lending. So we know price anyway. + * We normalized price over all markets and protect from spam all possible pairs equally. + * Locking borrow amount ensures manager can create market with borrow assets, and we force + * him to really create it. + * + * This solution forces to have amount before creating market. + * Vault can take that amount if reconfigured so, but that may be changed during runtime + * upgrades. + **/ + oracleMarketCreationStake: u128 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + liquidations: { + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + mosaic: { + /** + * The minimum period for which we lock outgoing/incoming funds. + **/ + minimumTimeLockPeriod: u32 & AugmentedConst; + /** + * The minimum time to live before a relayer account rotation. + **/ + minimumTTL: u32 & AugmentedConst; + timelockPeriod: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + multisig: { + /** + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. + * + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ + depositBase: u128 & AugmentedConst; + /** + * The amount of currency needed per unit threshold when creating a multisig execution. + * + * This is held for adding 32 bytes more into a pre-existing storage value. + **/ + depositFactor: u128 & AugmentedConst; + /** + * The maximum amount of signatories allowed in the multisig. + **/ + maxSignatories: u16 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + oracle: { + maxHistory: u32 & AugmentedConst; + maxPrePrices: u32 & AugmentedConst; + msPerBlock: u64 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + twapWindow: u16 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + pablo: { + msPerBlock: u32 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + /** + * AssetId of the PBLO asset + **/ + pbloAssetId: u128 & AugmentedConst; + /** + * AssetId of the PICA asset + **/ + picaAssetId: u128 & AugmentedConst; + /** + * The interval between TWAP computations. + **/ + twapInterval: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + proxy: { + /** + * The base amount of currency needed to reserve for creating an announcement. + * + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ + announcementDepositBase: u128 & AugmentedConst; + /** + * The amount of currency needed per announcement made. + * + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ + announcementDepositFactor: u128 & AugmentedConst; + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ + maxPending: u32 & AugmentedConst; + /** + * The maximum amount of proxies allowed for a single account. + **/ + maxProxies: u32 & AugmentedConst; + /** + * The base amount of currency needed to reserve for creating a proxy. + * + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ + proxyDepositBase: u128 & AugmentedConst; + /** + * The amount of currency needed per proxy added. + * + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ + proxyDepositFactor: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + scheduler: { + /** + * The maximum weight that may be scheduled per block for any dispatchables of less + * priority than `schedule::HARD_DEADLINE`. + **/ + maximumWeight: u64 & AugmentedConst; + /** + * The maximum number of scheduled calls in the queue for a single block. + * Not strictly enforced, but used for weight estimation. + **/ + maxScheduledPerBlock: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + stakingRewards: { + lockId: U8aFixed & AugmentedConst; + /** + * Maximum number of reward configurations per pool. + **/ + maxRewardConfigsPerPool: u32 & AugmentedConst; + /** + * Maximum number of staking duration presets allowed. + **/ + maxStakingDurationPresets: u32 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + pbloAssetId: u128 & AugmentedConst; + pbloStakeFinancialNftCollectionId: u128 & AugmentedConst; + picaAssetId: u128 & AugmentedConst; + picaStakeFinancialNftCollectionId: u128 & AugmentedConst; + /** + * the size of batch to take each time trying to release rewards + **/ + releaseRewardsPoolsBatchSize: u8 & AugmentedConst; + treasuryAccount: AccountId32 & AugmentedConst; + xPbloAssetId: u128 & AugmentedConst; + xPicaAssetId: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + system: { + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ + blockHashCount: u32 & AugmentedConst; + /** + * The maximum length of a block (in bytes). + **/ + blockLength: FrameSystemLimitsBlockLength & AugmentedConst; + /** + * Block & extrinsics weights: base values and limits. + **/ + blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; + /** + * The weight of runtime database operations the runtime can invoke. + **/ + dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst; + /** + * The designated SS85 prefix of this chain. + * + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ + ss58Prefix: u16 & AugmentedConst; + /** + * Get the chain's current version. + **/ + version: SpVersionRuntimeVersion & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + timestamp: { + /** + * The minimum period between blocks. Beware that this is different to the *expected* + * period that the block production apparatus provides. Your chosen consensus system will + * generally work with this to determine a sensible block time. e.g. For Aura, it will be + * double this period on default settings. + **/ + minimumPeriod: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + tokens: { + maxLocks: u32 & AugmentedConst; + /** + * The maximum number of named reserves that can exist on an account. + **/ + maxReserves: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + transactionPayment: { + /** + * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` + * + * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. + * + * ```rust,ignore + * // For `Normal` + * let priority = priority_calc(tip); + * + * // For `Operational` + * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; + * let priority = priority_calc(tip + virtual_tip); + * ``` + * + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ + operationalFeeMultiplier: u8 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + treasury: { + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ + burn: Permill & AugmentedConst; + /** + * The maximum number of approvals that can wait in the spending queue. + * + * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. + **/ + maxApprovals: u32 & AugmentedConst; + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Fraction of a proposal's value that should be bonded in order to place the proposal. + * An accepted proposal gets these back. A rejected proposal does not. + **/ + proposalBond: Permill & AugmentedConst; + /** + * Maximum amount of funds that should be placed in a deposit for making a proposal. + **/ + proposalBondMaximum: Option & AugmentedConst; + /** + * Minimum amount of funds that should be placed in a deposit for making a proposal. + **/ + proposalBondMinimum: u128 & AugmentedConst; + /** + * Period between successive spends. + **/ + spendPeriod: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + utility: { + /** + * The limit on the number of batched calls. + **/ + batchedCallsLimit: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + vault: { + /** + * The minimum native asset needed to create a vault. + **/ + creationDeposit: u128 & AugmentedConst; + /** + * The deposit needed for a vault to never be cleaned up. Should be significantly higher + * than the rent. + **/ + existentialDeposit: u128 & AugmentedConst; + /** + * The minimum amount needed to deposit in a vault and receive LP tokens. + **/ + minimumDeposit: u128 & AugmentedConst; + /** + * The minimum amount of LP tokens to withdraw funds from a vault. + **/ + minimumWithdrawal: u128 & AugmentedConst; + /** + * The id used as the `AccountId` of the vault. This should be unique across all pallets to + * avoid name collisions with other pallets and vaults. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * The rent being charged per block for vaults which have not committed the + * `ExistentialDeposit`. + **/ + rentPerBlock: u128 & AugmentedConst; + /** + * The duration that a vault may remain tombstoned before it can be deleted. + **/ + tombstoneDuration: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + vesting: { + /** + * The minimum amount transferred to call `vested_transfer`. + **/ + minVestedTransfer: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + xTokens: { + /** + * Base XCM weight. + * + * The actually weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ + baseXcmWeight: u64 & AugmentedConst; + /** + * Self chain location. + **/ + selfLocation: XcmV1MultiLocation & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + } +} +//# sourceMappingURL=augment-api-consts.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-consts.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-consts.d.ts.map new file mode 100644 index 00000000..6106371b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-consts.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-consts.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-consts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC1G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,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G,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YACjD;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;SACrB,CAAC;QACF,OAAO,EAAE;YACR;;gBAEI;YACJ,iBAAiB,EAAE,IAAI,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAClD;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;SACrB,CAAC;QACF,OAAO,EAAE;YACR;;;;;gBAKI;YACJ,aAAa,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC7C;;gBAEI;YACJ,YAAY,EAAE,kBAAkB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC3D;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;SACrB,CAAC;KACF;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-consts.js b/dist/chains/polkadot/api-scheme/augments/augment-api-consts.js new file mode 100644 index 00000000..4f35f23d --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-consts.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/api-base/types/consts"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-errors.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-errors.d.ts new file mode 100644 index 00000000..d9a2f2e7 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-errors.d.ts @@ -0,0 +1,1710 @@ +import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/errors'; +export type __AugmentedError = AugmentedError; +declare module '@polkadot/api-base/types/errors' { + interface AugmentedErrors { + assets: { + CannotSetNewCurrencyToRegistry: AugmentedError; + InvalidCurrency: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + assetsRegistry: { + AssetNotFound: AugmentedError; + ForeignAssetAlreadyRegistered: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + authorship: { + /** + * The uncle is genesis. + **/ + GenesisUncle: AugmentedError; + /** + * The uncle parent not in the chain. + **/ + InvalidUncleParent: AugmentedError; + /** + * The uncle isn't recent enough to be included. + **/ + OldUncle: AugmentedError; + /** + * The uncle is too high in chain. + **/ + TooHighUncle: AugmentedError; + /** + * Too many uncles. + **/ + TooManyUncles: AugmentedError; + /** + * The uncle is already included. + **/ + UncleAlreadyIncluded: AugmentedError; + /** + * Uncles already set in the block. + **/ + UnclesAlreadySet: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + balances: { + /** + * Beneficiary account must pre-exist + **/ + DeadAccount: AugmentedError; + /** + * Value too low to create account due to existential deposit + **/ + ExistentialDeposit: AugmentedError; + /** + * A vesting schedule already exists for this account + **/ + ExistingVestingSchedule: AugmentedError; + /** + * Balance too low to send value + **/ + InsufficientBalance: AugmentedError; + /** + * Transfer/payment would kill account + **/ + KeepAlive: AugmentedError; + /** + * Account liquidity restrictions prevent withdrawal + **/ + LiquidityRestrictions: AugmentedError; + /** + * Number of named reserves exceed MaxReserves + **/ + TooManyReserves: AugmentedError; + /** + * Vesting balance too high to send value + **/ + VestingBalance: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + bondedFinance: { + /** + * The offer could not be found. + **/ + BondOfferNotFound: AugmentedError; + /** + * Someone tried to submit an invalid offer. + **/ + InvalidBondOffer: AugmentedError; + /** + * Someone tried to bond with an invalid number of nb_of_bonds. + **/ + InvalidNumberOfBonds: AugmentedError; + /** + * Someone tried to bond an already completed offer. + **/ + OfferCompleted: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + callFilter: { + /** + * We tried to disable an extrinsic that cannot be disabled. + **/ + CannotDisable: AugmentedError; + /** + * The pallet name is not a valid UTF8 string. + **/ + InvalidString: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + collatorSelection: { + /** + * User is already a candidate + **/ + AlreadyCandidate: AugmentedError; + /** + * User is already an Invulnerable + **/ + AlreadyInvulnerable: AugmentedError; + /** + * Account has no associated validator ID + **/ + NoAssociatedValidatorId: AugmentedError; + /** + * User is not a candidate + **/ + NotCandidate: AugmentedError; + /** + * Permission issue + **/ + Permission: AugmentedError; + /** + * Too few candidates + **/ + TooFewCandidates: AugmentedError; + /** + * Too many candidates + **/ + TooManyCandidates: AugmentedError; + /** + * Too many invulnerables + **/ + TooManyInvulnerables: AugmentedError; + /** + * Unknown error + **/ + Unknown: AugmentedError; + /** + * Validator ID is not yet registered + **/ + ValidatorNotRegistered: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + cosmwasm: { + ChargeGas: AugmentedError; + CodeAlreadyExists: AugmentedError; + CodeDecoding: AugmentedError; + CodeEncoding: AugmentedError; + CodeInstrumentation: AugmentedError; + CodeNotFound: AugmentedError; + CodeValidation: AugmentedError; + ContractAlreadyExists: AugmentedError; + ContractHasNoInfo: AugmentedError; + ContractNotFound: AugmentedError; + ContractTrapped: AugmentedError; + Ibc: AugmentedError; + Instrumentation: AugmentedError; + InstrumentedCodeIsTooBig: AugmentedError; + IteratorIdOverflow: AugmentedError; + IteratorNotFound: AugmentedError; + LabelTooBig: AugmentedError; + NonceOverflow: AugmentedError; + NotAuthorized: AugmentedError; + NotEnoughFundsForUpload: AugmentedError; + RefcountOverflow: AugmentedError; + RefundGas: AugmentedError; + SignatureVerificationError: AugmentedError; + StackOverflow: AugmentedError; + TransferFailed: AugmentedError; + UnknownDenom: AugmentedError; + Unsupported: AugmentedError; + VmCreation: AugmentedError; + VMDepthOverflow: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + council: { + /** + * Members are already initialized! + **/ + AlreadyInitialized: AugmentedError; + /** + * Duplicate proposals not allowed + **/ + DuplicateProposal: AugmentedError; + /** + * Duplicate vote ignored + **/ + DuplicateVote: AugmentedError; + /** + * Account is not a member + **/ + NotMember: AugmentedError; + /** + * Proposal must exist + **/ + ProposalMissing: AugmentedError; + /** + * The close call was made too early, before the end of the voting. + **/ + TooEarly: AugmentedError; + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ + TooManyProposals: AugmentedError; + /** + * Mismatched index + **/ + WrongIndex: AugmentedError; + /** + * The given length bound for the proposal was too low. + **/ + WrongProposalLength: AugmentedError; + /** + * The given weight bound for the proposal was too low. + **/ + WrongProposalWeight: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + councilMembership: { + /** + * Already a member. + **/ + AlreadyMember: AugmentedError; + /** + * Not a member. + **/ + NotMember: AugmentedError; + /** + * Too many members. + **/ + TooManyMembers: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + crowdloanRewards: { + AlreadyAssociated: AugmentedError; + AlreadyInitialized: AugmentedError; + BackToTheFuture: AugmentedError; + InvalidClaim: AugmentedError; + InvalidProof: AugmentedError; + NotAssociated: AugmentedError; + NotClaimableYet: AugmentedError; + NothingToClaim: AugmentedError; + NotInitialized: AugmentedError; + RewardsNotFunded: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + cumulusXcm: { + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + currencyFactory: { + AssetNotFound: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + democracy: { + /** + * Cannot cancel the same proposal twice + **/ + AlreadyCanceled: AugmentedError; + /** + * The account is already delegating. + **/ + AlreadyDelegating: AugmentedError; + /** + * Identity may not veto a proposal twice + **/ + AlreadyVetoed: AugmentedError; + /** + * Preimage already noted + **/ + DuplicatePreimage: AugmentedError; + /** + * Proposal already made + **/ + DuplicateProposal: AugmentedError; + /** + * Imminent + **/ + Imminent: AugmentedError; + /** + * The instant referendum origin is currently disallowed. + **/ + InstantNotAllowed: AugmentedError; + /** + * Too high a balance was provided that the account cannot afford. + **/ + InsufficientFunds: AugmentedError; + /** + * Invalid hash + **/ + InvalidHash: AugmentedError; + /** + * Maximum number of votes reached. + **/ + MaxVotesReached: AugmentedError; + /** + * No proposals waiting + **/ + NoneWaiting: AugmentedError; + /** + * Delegation to oneself makes no sense. + **/ + Nonsense: AugmentedError; + /** + * The actor has no permission to conduct the action. + **/ + NoPermission: AugmentedError; + /** + * No external proposal + **/ + NoProposal: AugmentedError; + /** + * The account is not currently delegating. + **/ + NotDelegating: AugmentedError; + /** + * Not imminent + **/ + NotImminent: AugmentedError; + /** + * Next external proposal not simple majority + **/ + NotSimpleMajority: AugmentedError; + /** + * The given account did not vote on the referendum. + **/ + NotVoter: AugmentedError; + /** + * Invalid preimage + **/ + PreimageInvalid: AugmentedError; + /** + * Preimage not found + **/ + PreimageMissing: AugmentedError; + /** + * Proposal still blacklisted + **/ + ProposalBlacklisted: AugmentedError; + /** + * Proposal does not exist + **/ + ProposalMissing: AugmentedError; + /** + * Vote given for invalid referendum + **/ + ReferendumInvalid: AugmentedError; + /** + * Too early + **/ + TooEarly: AugmentedError; + /** + * Maximum number of proposals reached. + **/ + TooManyProposals: AugmentedError; + /** + * Value too low + **/ + ValueLow: AugmentedError; + /** + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed, either through `unvote` or `reap_vote`. + **/ + VotesExist: AugmentedError; + /** + * Voting period too low + **/ + VotingPeriodLow: AugmentedError; + /** + * Invalid upper bound. + **/ + WrongUpperBound: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + dexRouter: { + /** + * Can not respect minimum amount requested. + **/ + CanNotRespectMinAmountRequested: AugmentedError; + /** + * Route with possible loop is not allowed. + **/ + LoopSuspectedInRouteUpdate: AugmentedError; + /** + * Number of hops in route exceeded maximum limit. + **/ + MaxHopsExceeded: AugmentedError; + /** + * For given asset pair no route found. + **/ + NoRouteFound: AugmentedError; + /** + * Only dual asset pools supported + **/ + OnlyDualAssetPoolsSupported: AugmentedError; + /** + * Unexpected node found while route validation. + **/ + UnexpectedNodeFoundWhileValidation: AugmentedError; + /** + * Unsupported operation. + **/ + UnsupportedOperation: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + dmpQueue: { + /** + * The amount of weight given is possibly not enough for executing the message. + **/ + OverLimit: AugmentedError; + /** + * The message index given is unknown. + **/ + Unknown: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + dutchAuction: { + NotEnoughNativeCurrencyToPayForAuction: AugmentedError; + OrderNotFound: AugmentedError; + OrderParametersIsInvalid: AugmentedError; + RequestedOrderDoesNotExists: AugmentedError; + TakeLimitDoesNotSatisfyOrder: AugmentedError; + TakeOrderDidNotHappen: AugmentedError; + TakeParametersIsInvalid: AugmentedError; + /** + * errors trying to decode and parse XCM input + **/ + XcmCannotDecodeRemoteParametersToLocalRepresentations: AugmentedError; + XcmCannotFindLocalIdentifiersAsDecodedFromRemote: AugmentedError; + XcmNotFoundConfigurationById: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + fnft: { + CollectionAlreadyExists: AugmentedError; + CollectionNotFound: AugmentedError; + InstanceAlreadyExists: AugmentedError; + InstanceNotFound: AugmentedError; + MustBeOwner: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + governanceRegistry: { + /** + * Not found + **/ + NoneError: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + identity: { + /** + * Account ID is already named. + **/ + AlreadyClaimed: AugmentedError; + /** + * Empty index. + **/ + EmptyIndex: AugmentedError; + /** + * Fee is changed. + **/ + FeeChanged: AugmentedError; + /** + * The index is invalid. + **/ + InvalidIndex: AugmentedError; + /** + * Invalid judgement. + **/ + InvalidJudgement: AugmentedError; + /** + * The target is invalid. + **/ + InvalidTarget: AugmentedError; + /** + * Judgement given. + **/ + JudgementGiven: AugmentedError; + /** + * No identity found. + **/ + NoIdentity: AugmentedError; + /** + * Account isn't found. + **/ + NotFound: AugmentedError; + /** + * Account isn't named. + **/ + NotNamed: AugmentedError; + /** + * Sub-account isn't owned by sender. + **/ + NotOwned: AugmentedError; + /** + * Sender is not a sub-account. + **/ + NotSub: AugmentedError; + /** + * Sticky judgement. + **/ + StickyJudgement: AugmentedError; + /** + * Too many additional fields. + **/ + TooManyFields: AugmentedError; + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ + TooManyRegistrars: AugmentedError; + /** + * Too many subs-accounts. + **/ + TooManySubAccounts: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + indices: { + /** + * The index was not available. + **/ + InUse: AugmentedError; + /** + * The index was not already assigned. + **/ + NotAssigned: AugmentedError; + /** + * The index is assigned to another account. + **/ + NotOwner: AugmentedError; + /** + * The source and destination accounts are identical. + **/ + NotTransfer: AugmentedError; + /** + * The index is permanent and may not be freed/changed. + **/ + Permanent: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + lending: { + /** + * Account did not deposit any collateral to particular market. + **/ + AccountCollateralAbsent: AugmentedError; + /** + * Borrow and repay in the same block are not allowed. + * Flashloans are not supported by the pallet. + **/ + BorrowAndRepayInSameBlockIsNotSupported: AugmentedError; + /** + * User tried to repay non-existent loan. + **/ + BorrowDoesNotExist: AugmentedError; + /** + * Borrow limit for particular borrower was not calculated + * due to arithmetic error. + **/ + BorrowLimitCalculationFailed: AugmentedError; + /** + * Account did not pay any rent to particular market. + **/ + BorrowRentDoesNotExist: AugmentedError; + CannotBorrowFromMarketWithUnbalancedVault: AugmentedError; + /** + * Borrow rate can not be calculated. + **/ + CannotCalculateBorrowRate: AugmentedError; + CannotIncreaseCollateralFactorOfOpenMarket: AugmentedError; + /** + * Cannot repay more than total amount of debt when partially repaying. + **/ + CannotRepayMoreThanTotalDebt: AugmentedError; + /** + * A market with a borrow balance of `0` was attempted to be repaid. + **/ + CannotRepayZeroBalance: AugmentedError; + /** + * Market can not be created since + * allowed number of markets was exceeded. + **/ + ExceedLendingCount: AugmentedError; + /** + * Market manager has to deposit initial amount of borrow asset into the market account. + * Initial amount is denominated in normalized currency and calculated based on data + * from Oracle. The error is emitted if calculated amount is incorrect. + **/ + InitialMarketVolumeIncorrect: AugmentedError; + /** + * Invalid collateral factor was provided. + * Collateral factor value must be more than one. + **/ + InvalidCollateralFactor: AugmentedError; + InvalidTimestampOnBorrowRequest: AugmentedError; + /** + * The market could not be found. + **/ + MarketDoesNotExist: AugmentedError; + MarketIsClosing: AugmentedError; + /** + * User has provided not sufficient amount of collateral. + **/ + NotEnoughCollateralToBorrow: AugmentedError; + /** + * When user try to withdraw money beyond what is available. + **/ + NotEnoughCollateralToWithdraw: AugmentedError; + /** + * Block number of provided price is out of allowed tolerance. + **/ + PriceTooOld: AugmentedError; + /** + * Attempted to update a market owned by someone else. + **/ + Unauthorized: AugmentedError; + /** + * The market would go under collateralized if the requested amount of collateral was + * withdrawn. + **/ + WouldGoUnderCollateralized: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + liquidations: { + InvalidLiquidationStrategiesVector: AugmentedError; + NoLiquidationEngineFound: AugmentedError; + OnlyDutchAuctionStrategyIsImplemented: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + mosaic: { + AmountMismatch: AugmentedError; + AssetNotMapped: AugmentedError; + BadTimelockPeriod: AugmentedError; + BadTTL: AugmentedError; + BelowMinTransferSize: AugmentedError; + DestinationAmmIdNotWhitelisted: AugmentedError; + ExceedsMaxTransferSize: AugmentedError; + InsufficientBudget: AugmentedError; + NetworkDisabled: AugmentedError; + NoClaimableTx: AugmentedError; + NoOutgoingTx: AugmentedError; + NoStaleTransactions: AugmentedError; + Overflow: AugmentedError; + RelayerNotSet: AugmentedError; + RemoteAmmIdAlreadyExists: AugmentedError; + RemoteAmmIdNotFound: AugmentedError; + TxStillLocked: AugmentedError; + UnsupportedAsset: AugmentedError; + UnsupportedNetwork: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + multisig: { + /** + * Call is already approved by this signatory. + **/ + AlreadyApproved: AugmentedError; + /** + * The data to be stored is already stored. + **/ + AlreadyStored: AugmentedError; + /** + * The maximum weight information provided was too low. + **/ + MaxWeightTooLow: AugmentedError; + /** + * Threshold must be 2 or greater. + **/ + MinimumThreshold: AugmentedError; + /** + * Call doesn't need any (more) approvals. + **/ + NoApprovalsNeeded: AugmentedError; + /** + * Multisig operation not found when attempting to cancel. + **/ + NotFound: AugmentedError; + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ + NoTimepoint: AugmentedError; + /** + * Only the account that originally created the multisig is able to cancel it. + **/ + NotOwner: AugmentedError; + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ + SenderInSignatories: AugmentedError; + /** + * The signatories were provided out of order; they should be ordered. + **/ + SignatoriesOutOfOrder: AugmentedError; + /** + * There are too few signatories in the list. + **/ + TooFewSignatories: AugmentedError; + /** + * There are too many signatories in the list. + **/ + TooManySignatories: AugmentedError; + /** + * A timepoint was given, yet no multisig operation is underway. + **/ + UnexpectedTimepoint: AugmentedError; + /** + * A different timepoint was given to the multisig operation that is underway. + **/ + WrongTimepoint: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + oracle: { + /** + * Signer has already been set + **/ + AlreadySet: AugmentedError; + /** + * Price already submitted + **/ + AlreadySubmitted: AugmentedError; + /** + * Annual rewarding cost too high + **/ + AnnualRewardLessThanAlreadyRewarded: AugmentedError; + ArithmeticError: AugmentedError; + /** + * Error avoids a panic + **/ + AvoidPanic: AugmentedError; + /** + * Block interval is less then stale price + **/ + BlockIntervalLength: AugmentedError; + /** + * This controller is already in use + **/ + ControllerUsed: AugmentedError; + /** + * Too many weighted averages requested + **/ + DepthTooLarge: AugmentedError; + /** + * Asset count exceeded + **/ + ExceedAssetsCount: AugmentedError; + /** + * Max answers have been exceeded + **/ + ExceedMaxAnswers: AugmentedError; + /** + * Stake exceeded + **/ + ExceedStake: AugmentedError; + /** + * Threshold exceeded + **/ + ExceedThreshold: AugmentedError; + /** + * Invalid asset id + **/ + InvalidAssetId: AugmentedError; + /** + * Invalid min answers + **/ + InvalidMinAnswers: AugmentedError; + MaxAnswersLessThanMinAnswers: AugmentedError; + MaxHistory: AugmentedError; + MaxPrePrices: AugmentedError; + /** + * Max prices already reached + **/ + MaxPrices: AugmentedError; + /** + * Price weight must sum to 100 + **/ + MustSumTo100: AugmentedError; + /** + * No Permission + **/ + NoPermission: AugmentedError; + /** + * Rewarding has not started + **/ + NoRewardTrackerSet: AugmentedError; + /** + * No stake for oracle + **/ + NoStake: AugmentedError; + /** + * Not Enough Funds to complete action + **/ + NotEnoughFunds: AugmentedError; + /** + * Not enough oracle stake for action + **/ + NotEnoughStake: AugmentedError; + /** + * Price not found + **/ + PriceNotFound: AugmentedError; + /** + * Price has not been requested + **/ + PriceNotRequested: AugmentedError; + /** + * This signer is already in use + **/ + SignerUsed: AugmentedError; + /** + * Stake is locked try again later + **/ + StakeLocked: AugmentedError; + /** + * There was an error transferring + **/ + TransferError: AugmentedError; + /** + * Unknown + **/ + Unknown: AugmentedError; + /** + * No controller has been set + **/ + UnsetController: AugmentedError; + /** + * Signer has not been set + **/ + UnsetSigner: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + pablo: { + AmpFactorMustBeGreaterThanZero: AugmentedError; + AssetAmountMustBePositiveNumber: AugmentedError; + AssetNotFound: AugmentedError; + CannotRespectMinimumRequested: AugmentedError; + InvalidAmount: AugmentedError; + InvalidAsset: AugmentedError; + InvalidFees: AugmentedError; + InvalidPair: AugmentedError; + InvalidSaleState: AugmentedError; + MissingAmount: AugmentedError; + MissingMinExpectedAmount: AugmentedError; + MoreThanTwoAssetsNotYetSupported: AugmentedError; + MustBeOwner: AugmentedError; + NoLpTokenForLbp: AugmentedError; + NotEnoughLiquidity: AugmentedError; + NotEnoughLpToken: AugmentedError; + NoXTokenForLbp: AugmentedError; + PairMismatch: AugmentedError; + PoolNotFound: AugmentedError; + StakingPoolConfigError: AugmentedError; + WeightsMustBeNonZero: AugmentedError; + WeightsMustSumToOne: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + parachainSystem: { + /** + * The inherent which supplies the host configuration did not run this block + **/ + HostConfigurationNotAvailable: AugmentedError; + /** + * No code upgrade has been authorized. + **/ + NothingAuthorized: AugmentedError; + /** + * No validation function upgrade is currently scheduled. + **/ + NotScheduled: AugmentedError; + /** + * Attempt to upgrade validation function while existing upgrade pending + **/ + OverlappingUpgrades: AugmentedError; + /** + * Polkadot currently prohibits this parachain from upgrading its validation function + **/ + ProhibitedByPolkadot: AugmentedError; + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run + **/ + TooBig: AugmentedError; + /** + * The given code upgrade has not been authorized. + **/ + Unauthorized: AugmentedError; + /** + * The inherent which supplies the validation data did not run this block + **/ + ValidationDataNotAvailable: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + preimage: { + /** + * Preimage has already been noted on-chain. + **/ + AlreadyNoted: AugmentedError; + /** + * The user is not authorized to perform this action. + **/ + NotAuthorized: AugmentedError; + /** + * The preimage cannot be removed since it has not yet been noted. + **/ + NotNoted: AugmentedError; + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ + NotRequested: AugmentedError; + /** + * A preimage may not be removed when there are outstanding requests. + **/ + Requested: AugmentedError; + /** + * Preimage is too large to store on-chain. + **/ + TooLarge: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + proxy: { + /** + * Account is already a proxy. + **/ + Duplicate: AugmentedError; + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ + NoPermission: AugmentedError; + /** + * Cannot add self as proxy. + **/ + NoSelfProxy: AugmentedError; + /** + * Proxy registration not found. + **/ + NotFound: AugmentedError; + /** + * Sender is not a proxy of the account to be proxied. + **/ + NotProxy: AugmentedError; + /** + * There are too many proxies registered or too many announcements pending. + **/ + TooMany: AugmentedError; + /** + * Announcement, if made at all, was made too recently. + **/ + Unannounced: AugmentedError; + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ + Unproxyable: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + relayerXcm: { + /** + * The location is invalid since it already has a subscription from us. + **/ + AlreadySubscribed: AugmentedError; + /** + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ + BadLocation: AugmentedError; + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ + BadVersion: AugmentedError; + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ + CannotReanchor: AugmentedError; + /** + * The destination `MultiLocation` provided cannot be inverted. + **/ + DestinationNotInvertible: AugmentedError; + /** + * The assets to be sent are empty. + **/ + Empty: AugmentedError; + /** + * The message execution fails the filter. + **/ + Filtered: AugmentedError; + /** + * Origin is invalid for sending. + **/ + InvalidOrigin: AugmentedError; + /** + * The referenced subscription could not be found. + **/ + NoSubscription: AugmentedError; + /** + * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps + * a lack of space for buffering the message. + **/ + SendFailure: AugmentedError; + /** + * Too many assets have been attempted for transfer. + **/ + TooManyAssets: AugmentedError; + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ + Unreachable: AugmentedError; + /** + * The message's weight could not be determined. + **/ + UnweighableMessage: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + scheduler: { + /** + * Failed to schedule a call + **/ + FailedToSchedule: AugmentedError; + /** + * Cannot find the scheduled call. + **/ + NotFound: AugmentedError; + /** + * Reschedule failed because it does not change scheduled time. + **/ + RescheduleNoChange: AugmentedError; + /** + * Given target block number is in the past. + **/ + TargetBlockNumberInPast: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + session: { + /** + * Registered duplicate key. + **/ + DuplicatedKey: AugmentedError; + /** + * Invalid ownership proof. + **/ + InvalidProof: AugmentedError; + /** + * Key setting account is not live, so it's impossible to associate keys. + **/ + NoAccount: AugmentedError; + /** + * No associated validator ID for account. + **/ + NoAssociatedValidatorId: AugmentedError; + /** + * No keys are associated with this account. + **/ + NoKeys: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + stakingRewards: { + /** + * Some operation resulted in an arithmetic overflow. + **/ + ArithmeticError: AugmentedError; + BackToTheFuture: AugmentedError; + /** + * The duration provided was not valid for the pool. + **/ + DurationPresetNotFound: AugmentedError; + /** + * Invalid end block number provided for creating a pool. + **/ + EndBlockMustBeAfterStartBlock: AugmentedError; + FnftNotFound: AugmentedError; + /** + * AssetId is invalid, asset IDs must be greater than 0 + **/ + InvalidAssetId: AugmentedError; + /** + * Reward's max limit reached. + **/ + MaxRewardLimitReached: AugmentedError; + /** + * No duration presets were provided upon pool creation. + **/ + NoDurationPresetsProvided: AugmentedError; + /** + * Not enough assets for a stake. + **/ + NotEnoughAssets: AugmentedError; + /** + * only the owner of stake can unstake it + **/ + OnlyStakeOwnerCanInteractWithStake: AugmentedError; + /** + * Error when creating reduction configs. + **/ + ReductionConfigProblem: AugmentedError; + /** + * Reward asset not found in reward pool. + **/ + RewardAssetNotFound: AugmentedError; + /** + * Error when creating reward configs. + **/ + RewardConfigProblem: AugmentedError; + /** + * Reward pool already exists + **/ + RewardsPoolAlreadyExists: AugmentedError; + /** + * Rewards pool has not started. + **/ + RewardsPoolHasNotStarted: AugmentedError; + /** + * Rewards pool not found. + **/ + RewardsPoolNotFound: AugmentedError; + /** + * The rewards pot for this pool is empty. + **/ + RewardsPotEmpty: AugmentedError; + /** + * Slashed amount of minimum reward is less than existential deposit + **/ + SlashedAmountTooLow: AugmentedError; + /** + * Slashed amount of minimum staking amount is less than existential deposit + **/ + SlashedMinimumStakingAmountTooLow: AugmentedError; + /** + * Staked amount is less than the minimum staking amount for the pool. + **/ + StakedAmountTooLow: AugmentedError; + /** + * Staked amount after split is less than the minimum staking amount for the pool. + **/ + StakedAmountTooLowAfterSplit: AugmentedError; + /** + * No stake found for given id. + **/ + StakeNotFound: AugmentedError; + /** + * Invalid start block number provided for creating a pool. + **/ + StartBlockMustBeAfterCurrentBlock: AugmentedError; + /** + * Too many rewarded asset types per pool violating the storage allowed. + **/ + TooManyRewardAssetTypes: AugmentedError; + /** + * Unimplemented reward pool type. + **/ + UnimplementedRewardPoolConfiguration: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + sudo: { + /** + * Sender must be the Sudo account + **/ + RequireSudo: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + system: { + /** + * The origin filter prevent the call to be dispatched. + **/ + CallFiltered: AugmentedError; + /** + * Failed to extract the runtime version from the new runtime. + * + * Either calling `Core_version` or decoding `RuntimeVersion` failed. + **/ + FailedToExtractRuntimeVersion: AugmentedError; + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ + InvalidSpecName: AugmentedError; + /** + * Suicide called when the account has non-default composite data. + **/ + NonDefaultComposite: AugmentedError; + /** + * There is a non-zero reference count preventing the account from being purged. + **/ + NonZeroRefCount: AugmentedError; + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ + SpecVersionNeedsToIncrease: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + technicalCommittee: { + /** + * Members are already initialized! + **/ + AlreadyInitialized: AugmentedError; + /** + * Duplicate proposals not allowed + **/ + DuplicateProposal: AugmentedError; + /** + * Duplicate vote ignored + **/ + DuplicateVote: AugmentedError; + /** + * Account is not a member + **/ + NotMember: AugmentedError; + /** + * Proposal must exist + **/ + ProposalMissing: AugmentedError; + /** + * The close call was made too early, before the end of the voting. + **/ + TooEarly: AugmentedError; + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ + TooManyProposals: AugmentedError; + /** + * Mismatched index + **/ + WrongIndex: AugmentedError; + /** + * The given length bound for the proposal was too low. + **/ + WrongProposalLength: AugmentedError; + /** + * The given weight bound for the proposal was too low. + **/ + WrongProposalWeight: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + technicalCommitteeMembership: { + /** + * Already a member. + **/ + AlreadyMember: AugmentedError; + /** + * Not a member. + **/ + NotMember: AugmentedError; + /** + * Too many members. + **/ + TooManyMembers: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + tokens: { + /** + * Cannot convert Amount into Balance type + **/ + AmountIntoBalanceFailed: AugmentedError; + /** + * The balance is too low + **/ + BalanceTooLow: AugmentedError; + /** + * Beneficiary account must pre-exist + **/ + DeadAccount: AugmentedError; + /** + * Value too low to create account due to existential deposit + **/ + ExistentialDeposit: AugmentedError; + /** + * Transfer/payment would kill account + **/ + KeepAlive: AugmentedError; + /** + * Failed because liquidity restrictions due to locking + **/ + LiquidityRestrictions: AugmentedError; + /** + * Failed because the maximum locks was exceeded + **/ + MaxLocksExceeded: AugmentedError; + TooManyReserves: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + treasury: { + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ + InsufficientPermission: AugmentedError; + /** + * Proposer's balance is too low. + **/ + InsufficientProposersBalance: AugmentedError; + /** + * No proposal or bounty at that index. + **/ + InvalidIndex: AugmentedError; + /** + * Proposal has not been approved. + **/ + ProposalNotApproved: AugmentedError; + /** + * Too many approvals in the queue. + **/ + TooManyApprovals: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + unknownTokens: { + /** + * The operation will cause balance to overflow. + **/ + BalanceOverflow: AugmentedError; + /** + * The balance is too low. + **/ + BalanceTooLow: AugmentedError; + /** + * Unhandled asset. + **/ + UnhandledAsset: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + utility: { + /** + * Too many calls batched. + **/ + TooManyCalls: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + vault: { + /** + * It is not possible to perform a privileged action using an ordinary account + **/ + AccountIsNotManager: AugmentedError; + /** + * Vaults must allocate the proper ratio between reserved and strategies, so that the + * ratio sums up to one. + **/ + AllocationMustSumToOne: AugmentedError; + /** + * Deposit amounts not exceeding [`MinimumDeposit`](Config::MinimumDeposit) are declined + * and result in `AmountMustGteMinimumDeposit`. + **/ + AmountMustGteMinimumDeposit: AugmentedError; + /** + * Withdrawal amounts not exceeding [`MinimumWithdrawal`](Config::MinimumWithdrawal) are + * declined and result in `AmountMustGteMinimumWithdrawal`. + **/ + AmountMustGteMinimumWithdrawal: AugmentedError; + /** + * Failures in creating LP tokens during vault creation result in `CannotCreateAsset`. + **/ + CannotCreateAsset: AugmentedError; + /** + * The vault has deposits halted, see [Capabilities](crate::capabilities::Capabilities). + **/ + DepositsHalted: AugmentedError; + /** + * Creating vaults with invalid creation deposits results in + * `InsufficientCreationDeposit`. + **/ + InsufficientCreationDeposit: AugmentedError; + /** + * Vaults may have insufficient funds for withdrawals, as well as users wishing to deposit + * an incorrect amount. + **/ + InsufficientFunds: AugmentedError; + /** + * Requesting withdrawals for more LP tokens than available to the user result in + * `InsufficientLpTokens` + **/ + InsufficientLpTokens: AugmentedError; + /** + * Existentially funded vaults do not require extra funds. + **/ + InvalidAddSurcharge: AugmentedError; + InvalidDeletionClaim: AugmentedError; + /** + * Attempting to tombstone a vault which has rent remaining results in + * `InvalidSurchargeClaim`. + **/ + InvalidSurchargeClaim: AugmentedError; + /** + * Minting failures result in `MintFailed`. In general this should never occur. + **/ + MintFailed: AugmentedError; + /** + * If the vault contains too many assets (close to the `Balance::MAX`), it is considered + * full as arithmetic starts overflowing. + **/ + NoFreeVaultAllocation: AugmentedError; + /** + * When trying to withdraw too much from the vault, `NotEnoughLiquidity` is returned. + **/ + NotEnoughLiquidity: AugmentedError; + /** + * Not all vaults have an associated LP token. Attempting to perform LP token related + * operations result in `NotVaultLpToken`. + **/ + NotVaultLpToken: AugmentedError; + OnlyManagerCanDoThisOperation: AugmentedError; + /** + * The vault could not be deleted, as it was not tombstoned for long enough. + **/ + TombstoneDurationNotExceeded: AugmentedError; + /** + * Vaults may have up to [`MaxStrategies`](Config::MaxStrategies) strategies. + **/ + TooManyStrategies: AugmentedError; + /** + * Failures to transfer funds from the vault to users or vice- versa result in + * `TransferFromFailed`. + **/ + TransferFromFailed: AugmentedError; + /** + * Querying/operating on invalid vault id's result in `VaultDoesNotExist`. + **/ + VaultDoesNotExist: AugmentedError; + /** + * The vault could not be deleted, as it was not yet tombstoned. + **/ + VaultNotTombstoned: AugmentedError; + /** + * The vault has withdrawals halted, see + * [Capabilities](crate::capabilities::Capabilities). + **/ + WithdrawalsHalted: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + vesting: { + /** + * The vested transfer amount is too low + **/ + AmountLow: AugmentedError; + /** + * Insufficient amount of balance to lock + **/ + InsufficientBalanceToLock: AugmentedError; + /** + * Failed because the maximum vesting schedules was exceeded + **/ + MaxVestingSchedulesExceeded: AugmentedError; + /** + * This account have too many vesting schedules + **/ + TooManyVestingSchedules: AugmentedError; + /** + * Trying to vest to ourselves + **/ + TryingToSelfVest: AugmentedError; + /** + * There is no vesting schedule with a given id + **/ + VestingScheduleNotFound: AugmentedError; + /** + * Vesting period is zero + **/ + ZeroVestingPeriod: AugmentedError; + /** + * Number of vests is zero + **/ + ZeroVestingPeriodCount: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + xcmpQueue: { + /** + * Bad overweight index. + **/ + BadOverweightIndex: AugmentedError; + /** + * Bad XCM data. + **/ + BadXcm: AugmentedError; + /** + * Bad XCM origin. + **/ + BadXcmOrigin: AugmentedError; + /** + * Failed to send XCM message. + **/ + FailedToSend: AugmentedError; + /** + * Provided weight is possibly not enough to execute the message. + **/ + WeightOverLimit: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + xTokens: { + /** + * Asset has no reserve location. + **/ + AssetHasNoReserve: AugmentedError; + /** + * The specified index does not exist in a MultiAssets struct. + **/ + AssetIndexNonExistent: AugmentedError; + /** + * The version of the `Versioned` value used is not able to be + * interpreted. + **/ + BadVersion: AugmentedError; + /** + * Could not re-anchor the assets to declare the fees for the + * destination chain. + **/ + CannotReanchor: AugmentedError; + /** + * The destination `MultiLocation` provided cannot be inverted. + **/ + DestinationNotInvertible: AugmentedError; + /** + * We tried sending distinct asset and fee but they have different + * reserve chains. + **/ + DistinctReserveForAssetAndFee: AugmentedError; + /** + * Fee is not enough. + **/ + FeeNotEnough: AugmentedError; + /** + * Could not get ancestry of asset reserve location. + **/ + InvalidAncestry: AugmentedError; + /** + * The MultiAsset is invalid. + **/ + InvalidAsset: AugmentedError; + /** + * Invalid transfer destination. + **/ + InvalidDest: AugmentedError; + /** + * MinXcmFee not registered for certain reserve location + **/ + MinXcmFeeNotDefined: AugmentedError; + /** + * Not cross-chain transfer. + **/ + NotCrossChainTransfer: AugmentedError; + /** + * Currency is not cross-chain transferable. + **/ + NotCrossChainTransferableCurrency: AugmentedError; + /** + * Not supported MultiLocation + **/ + NotSupportedMultiLocation: AugmentedError; + /** + * The number of assets to be sent is over the maximum. + **/ + TooManyAssetsBeingSent: AugmentedError; + /** + * The message's weight could not be determined. + **/ + UnweighableMessage: AugmentedError; + /** + * XCM execution failed. + **/ + XcmExecutionFailed: AugmentedError; + /** + * The transfering asset amount is zero. + **/ + ZeroAmount: AugmentedError; + /** + * The fee is zero. + **/ + ZeroFee: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + } +} +//# sourceMappingURL=augment-api-errors.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-errors.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-errors.d.ts.map new file mode 100644 index 00000000..baf8b3b4 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-errors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-errors.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-errors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,iCAAiC,CAAC;AAEzC,MAAM,MAAM,gBAAgB,CAAC,OAAO,SAAS,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC;AAEjF,OAAO,QA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C,OAAO,CAAC,CAAC;YAC/C;;gBAEI;YACJ,iCAAiC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YAC3D;;gBAEI;YACJ,yBAAyB,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YACnD;;gBAEI;YACJ,sBAAsB,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YAChD;;gBAEI;YACJ,kBAAkB,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YAC5C;;gBAEI;YACJ,kBAAkB,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YAC5C;;gBAEI;YACJ,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YACpC;;gBAEI;YACJ,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;YACjC;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SACvC,CAAC;KACF;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-errors.js b/dist/chains/polkadot/api-scheme/augments/augment-api-errors.js new file mode 100644 index 00000000..b78adf01 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-errors.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/api-base/types/errors"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-events.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-events.d.ts new file mode 100644 index 00000000..0c5adfbe --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-events.d.ts @@ -0,0 +1,2636 @@ +import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/events'; +import type { bool, BTreeMap, Bytes, Null, Option, Result, Struct, u8, U8aFixed, u16, u32, u64, u128, Vec } from '@polkadot/types-codec'; +import type { ITuple } from '@polkadot/types-codec/types'; +import type { AccountId32, H256, Percent } from '@polkadot/types/interfaces/runtime'; +import type { ComposableTraitsDefiCurrencyPairCurrencyId } from '../common'; +import type { CommonMosaicRemoteAssetId, ComposableSupportEthereumAddress, ComposableTraitsAccountProxyProxyType, ComposableTraitsCallFilterCallFilterEntry, ComposableTraitsLendingUpdateInput, ComposableTraitsTimeTimeReleaseFunction, ComposableTraitsXcmAssetsXcmAssetLocation, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletCosmwasmContractInfo, PalletCosmwasmEntryPoint, PalletCrowdloanRewardsModelsRemoteAccount, PalletDemocracyVoteAccountVote, PalletDutchAuctionSellOrder, PalletMosaicAmmSwapInfo, PalletMosaicDecayBudgetPenaltyDecayer, PalletMosaicNetworkInfo, PalletMultisigTimepoint, PalletStakingRewardsRewardAccumulationHookError, SpRuntimeDispatchError, XcmV1MultiAsset, XcmV1MultiassetMultiAssets, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '../crowdloanRewards'; +import type { PalletDemocracyVoteThreshold } from '../democracy'; +import type { ComposableTraitsDexFee } from '../pablo'; +import type { ComposableTraitsVestingVestingSchedule, ComposableTraitsVestingVestingScheduleIdSet } from '../vesting'; +export type __AugmentedEvent = AugmentedEvent; +declare module '@polkadot/api-base/types/events' { + interface AugmentedEvents { + assetsRegistry: { + AssetRegistered: AugmentedEvent + ], { + assetId: u128; + location: ComposableTraitsXcmAssetsXcmAssetLocation; + decimals: Option; + }>; + AssetUpdated: AugmentedEvent + ], { + assetId: u128; + location: ComposableTraitsXcmAssetsXcmAssetLocation; + decimals: Option; + }>; + MinFeeUpdated: AugmentedEvent + ], { + targetParachainId: u32; + foreignAssetId: ComposableTraitsXcmAssetsXcmAssetLocation; + amount: Option; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + balances: { + /** + * A balance was set by root. + **/ + BalanceSet: AugmentedEvent; + /** + * Some amount was deposited (e.g. for transaction fees). + **/ + Deposit: AugmentedEvent; + /** + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ + DustLost: AugmentedEvent; + /** + * An account was created with some free balance. + **/ + Endowed: AugmentedEvent; + /** + * Some balance was reserved (moved from free to reserved). + **/ + Reserved: AugmentedEvent; + /** + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ + ReserveRepatriated: AugmentedEvent; + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ + Slashed: AugmentedEvent; + /** + * Transfer succeeded. + **/ + Transfer: AugmentedEvent; + /** + * Some balance was unreserved (moved from reserved to free). + **/ + Unreserved: AugmentedEvent; + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ + Withdraw: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + bondedFinance: { + /** + * A new bond has been registered. + **/ + NewBond: AugmentedEvent; + /** + * A new offer has been created. + **/ + NewOffer: AugmentedEvent; + /** + * An offer has been cancelled by the `AdminOrigin`. + **/ + OfferCancelled: AugmentedEvent; + /** + * An offer has been completed. + **/ + OfferCompleted: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + callFilter: { + /** + * Paused transaction + **/ + Disabled: AugmentedEvent; + /** + * Unpaused transaction + **/ + Enabled: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + collatorSelection: { + CandidateAdded: AugmentedEvent; + CandidateRemoved: AugmentedEvent; + NewCandidacyBond: AugmentedEvent; + NewDesiredCandidates: AugmentedEvent; + NewInvulnerables: AugmentedEvent], { + invulnerables: Vec; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + cosmwasm: { + AdminCleared: AugmentedEvent + ], { + contract: AccountId32; + oldAdmin: Option; + }>; + AdminUpdated: AugmentedEvent, + newAdmin: AccountId32 + ], { + contract: AccountId32; + oldAdmin: Option; + newAdmin: AccountId32; + }>; + Emitted: AugmentedEvent> + ], { + contract: AccountId32; + ty: Bytes; + attributes: Vec>; + }>; + Executed: AugmentedEvent + ], { + contract: AccountId32; + entrypoint: PalletCosmwasmEntryPoint; + data: Option; + }>; + ExecutionFailed: AugmentedEvent; + IbcChannelOpen: AugmentedEvent; + Instantiated: AugmentedEvent; + Migrated: AugmentedEvent; + Uploaded: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + council: { + /** + * A motion was approved by the required threshold. + **/ + Approved: AugmentedEvent; + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ + Closed: AugmentedEvent; + /** + * A motion was not approved by the required threshold. + **/ + Disapproved: AugmentedEvent; + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ + Executed: AugmentedEvent + ], { + proposalHash: H256; + result: Result; + }>; + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ + MemberExecuted: AugmentedEvent + ], { + proposalHash: H256; + result: Result; + }>; + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ + Proposed: AugmentedEvent; + /** + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ + Voted: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + councilMembership: { + /** + * Phantom member, never used. + **/ + Dummy: AugmentedEvent; + /** + * One of the members' keys changed. + **/ + KeyChanged: AugmentedEvent; + /** + * The given member was added; see the transaction for who. + **/ + MemberAdded: AugmentedEvent; + /** + * The given member was removed; see the transaction for who. + **/ + MemberRemoved: AugmentedEvent; + /** + * The membership was reset; see the transaction for who the new set is. + **/ + MembersReset: AugmentedEvent; + /** + * Two members were swapped; see the transaction for who. + **/ + MembersSwapped: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + crowdloanRewards: { + /** + * A remote account has been associated with a reward account. + **/ + Associated: AugmentedEvent; + /** + * A claim has been made. + **/ + Claimed: AugmentedEvent; + /** + * The crowdloan has been initialized or set to initialize at some time. + **/ + Initialized: AugmentedEvent; + /** + * The crowdloan was successfully initialized, but with excess funds that won't be + * claimed. + **/ + OverFunded: AugmentedEvent; + /** + * A portion of rewards have been unlocked and future claims will not have locks + **/ + RewardsUnlocked: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + cumulusXcm: { + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ + ExecutedDownward: AugmentedEvent; + /** + * Downward message is invalid XCM. + * \[ id \] + **/ + InvalidFormat: AugmentedEvent; + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ + UnsupportedVersion: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + currencyFactory: { + RangeCreated: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + democracy: { + /** + * A proposal_hash has been blacklisted permanently. + **/ + Blacklisted: AugmentedEvent; + /** + * A referendum has been cancelled. + **/ + Cancelled: AugmentedEvent; + /** + * An account has delegated their vote to another account. + **/ + Delegated: AugmentedEvent; + /** + * A proposal has been enacted. + **/ + Executed: AugmentedEvent + ], { + refIndex: u32; + result: Result; + }>; + /** + * An external proposal has been tabled. + **/ + ExternalTabled: AugmentedEvent; + /** + * A proposal has been rejected by referendum. + **/ + NotPassed: AugmentedEvent; + /** + * A proposal has been approved by referendum. + **/ + Passed: AugmentedEvent; + /** + * A proposal could not be executed because its preimage was invalid. + **/ + PreimageInvalid: AugmentedEvent; + /** + * A proposal could not be executed because its preimage was missing. + **/ + PreimageMissing: AugmentedEvent; + /** + * A proposal's preimage was noted, and the deposit taken. + **/ + PreimageNoted: AugmentedEvent; + /** + * A registered preimage was removed and the deposit collected by the reaper. + **/ + PreimageReaped: AugmentedEvent; + /** + * A proposal preimage was removed and used (the deposit was returned). + **/ + PreimageUsed: AugmentedEvent; + /** + * A proposal got canceled. + **/ + ProposalCanceled: AugmentedEvent; + /** + * A motion has been proposed by a public account. + **/ + Proposed: AugmentedEvent; + /** + * An account has secconded a proposal + **/ + Seconded: AugmentedEvent; + /** + * A referendum has begun. + **/ + Started: AugmentedEvent; + /** + * A public proposal has been tabled for referendum vote. + **/ + Tabled: AugmentedEvent + ], { + proposalIndex: u32; + deposit: u128; + depositors: Vec; + }>; + /** + * An account has cancelled a previous delegation operation. + **/ + Undelegated: AugmentedEvent; + /** + * An external proposal has been vetoed. + **/ + Vetoed: AugmentedEvent; + /** + * An account has voted in a referendum + **/ + Voted: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + dexRouter: { + RouteAdded: AugmentedEvent + ], { + xAssetId: u128; + yAssetId: u128; + route: Vec; + }>; + RouteDeleted: AugmentedEvent + ], { + xAssetId: u128; + yAssetId: u128; + route: Vec; + }>; + RouteUpdated: AugmentedEvent, + updatedRoute: Vec + ], { + xAssetId: u128; + yAssetId: u128; + oldRoute: Vec; + updatedRoute: Vec; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + dmpQueue: { + /** + * Downward message executed with the given outcome. + **/ + ExecutedDownward: AugmentedEvent; + /** + * Downward message is invalid XCM. + **/ + InvalidFormat: AugmentedEvent; + /** + * Downward message is overweight and was placed in the overweight queue. + **/ + OverweightEnqueued: AugmentedEvent; + /** + * Downward message from the overweight queue was executed. + **/ + OverweightServiced: AugmentedEvent; + /** + * Downward message is unsupported version of XCM. + **/ + UnsupportedVersion: AugmentedEvent; + /** + * The weight limit for handling downward messages was reached. + **/ + WeightExhausted: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + dutchAuction: { + ConfigurationAdded: AugmentedEvent; + OrderAdded: AugmentedEvent; + OrderRemoved: AugmentedEvent; + /** + * raised when part or whole order was taken with mentioned balance + **/ + OrderTaken: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + fnft: { + FinancialNftBurned: AugmentedEvent; + FinancialNftCollectionCreated: AugmentedEvent; + FinancialNftCreated: AugmentedEvent; + FinancialNftTransferred: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + governanceRegistry: { + GrantRoot: AugmentedEvent; + Remove: AugmentedEvent; + Set: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + identity: { + /** + * A name was cleared, and the given balance returned. + **/ + IdentityCleared: AugmentedEvent; + /** + * A name was removed and the given balance slashed. + **/ + IdentityKilled: AugmentedEvent; + /** + * A name was set or reset (which will remove all judgements). + **/ + IdentitySet: AugmentedEvent; + /** + * A judgement was given by a registrar. + **/ + JudgementGiven: AugmentedEvent; + /** + * A judgement was asked from a registrar. + **/ + JudgementRequested: AugmentedEvent; + /** + * A judgement request was retracted. + **/ + JudgementUnrequested: AugmentedEvent; + /** + * A registrar was added. + **/ + RegistrarAdded: AugmentedEvent; + /** + * A sub-identity was added to an identity and the deposit paid. + **/ + SubIdentityAdded: AugmentedEvent; + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ + SubIdentityRemoved: AugmentedEvent; + /** + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ + SubIdentityRevoked: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + indices: { + /** + * A account index was assigned. + **/ + IndexAssigned: AugmentedEvent; + /** + * A account index has been freed up (unassigned). + **/ + IndexFreed: AugmentedEvent; + /** + * A account index has been frozen to its current account ID. + **/ + IndexFrozen: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + lending: { + /** + * Event emitted when user borrows from given market. + **/ + Borrowed: AugmentedEvent; + /** + * Event emitted when user repays borrow of beneficiary in given market. + **/ + BorrowRepaid: AugmentedEvent; + /** + * Event emitted when collateral is deposited. + **/ + CollateralDeposited: AugmentedEvent; + /** + * Event emitted when collateral is withdrawn. + **/ + CollateralWithdrawn: AugmentedEvent; + /** + * Event emitted when a liquidation is initiated for a loan. + **/ + LiquidationInitiated: AugmentedEvent + ], { + marketId: u32; + borrowers: Vec; + }>; + /** + * Event emitted when new lending market is created. + **/ + MarketCreated: AugmentedEvent; + MarketUpdated: AugmentedEvent; + /** + * Event emitted to warn that loan may go under collateralize soon. + **/ + MayGoUnderCollateralizedSoon: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + liquidations: { + PositionWasSentToLiquidation: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + mosaic: { + /** + * An asset mapping has been created. + **/ + AssetMappingCreated: AugmentedEvent; + /** + * An existing asset mapping has been deleted. + **/ + AssetMappingDeleted: AugmentedEvent; + /** + * An existing asset mapping has been updated. + **/ + AssetMappingUpdated: AugmentedEvent; + BudgetUpdated: AugmentedEvent; + /** + * The `NetworkInfos` `network_info` was updated for `network_id`. + **/ + NetworksUpdated: AugmentedEvent; + /** + * The relayer partially accepted the user's `OutgoingTransaction`. + **/ + PartialTransferAccepted: AugmentedEvent; + /** + * The relayer has been rotated to `account_id`. + **/ + RelayerRotated: AugmentedEvent; + /** + * The account of the relayer has been set. + **/ + RelayerSet: AugmentedEvent; + /** + * User claimed outgoing tx that was not (yet) picked up by the relayer + **/ + StaleTxClaimed: AugmentedEvent; + /** + * The relayer accepted the user's `OutgoingTransaction`. + **/ + TransferAccepted: AugmentedEvent; + /** + * The user claims his `IncomingTransaction` and unlocks the locked amount. + **/ + TransferClaimed: AugmentedEvent; + /** + * An incoming tx is created and waiting for the user to claim. + **/ + TransferInto: AugmentedEvent; + /** + * When we have finality issues occur on the Ethereum chain, + * we burn the locked `IncomingTransaction` for which we know that it is invalid. + **/ + TransferIntoRescined: AugmentedEvent; + /** + * An outgoing tx is created, and locked in the outgoing tx pool. + **/ + TransferOut: AugmentedEvent, + minimumAmountOut: u128 + ], { + id: H256; + to: ComposableSupportEthereumAddress; + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + amount: u128; + swapToNative: bool; + sourceUserAccount: AccountId32; + ammSwapInfo: Option; + minimumAmountOut: u128; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + multisig: { + /** + * A multisig operation has been approved by someone. + **/ + MultisigApproval: AugmentedEvent; + /** + * A multisig operation has been cancelled. + **/ + MultisigCancelled: AugmentedEvent; + /** + * A multisig operation has been executed. + **/ + MultisigExecuted: AugmentedEvent + ], { + approving: AccountId32; + timepoint: PalletMultisigTimepoint; + multisig: AccountId32; + callHash: U8aFixed; + result: Result; + }>; + /** + * A new multisig operation has begun. + **/ + NewMultisig: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + oracle: { + /** + * Answer from oracle removed for staleness. \[oracle_address, price\] + **/ + AnswerPruned: AugmentedEvent; + /** + * Asset info created or changed. \[asset_id, threshold, min_answers, max_answers, + * block_interval, reward, slash\] + **/ + AssetInfoChange: AugmentedEvent; + /** + * Oracle rewarded. \[oracle_address, asset_id, price\] + **/ + OracleRewarded: AugmentedEvent; + /** + * Price changed by oracle \[asset_id, price\] + **/ + PriceChanged: AugmentedEvent; + /** + * Price submitted by oracle. \[oracle_address, asset_id, price\] + **/ + PriceSubmitted: AugmentedEvent; + /** + * Rewarding Started \[rewarding start timestamp] + **/ + RewardingAdjustment: AugmentedEvent; + /** + * Signer was set. \[signer, controller\] + **/ + SignerSet: AugmentedEvent; + /** + * Stake was added. \[added_by, amount_added, total_amount\] + **/ + StakeAdded: AugmentedEvent; + /** + * Stake reclaimed. \[reclaimed_by, amount\] + **/ + StakeReclaimed: AugmentedEvent; + /** + * Stake removed. \[removed_by, amount, block_number\] + **/ + StakeRemoved: AugmentedEvent; + /** + * Oracle slashed. \[oracle_address, asset_id, amount\] + **/ + UserSlashed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + pablo: { + /** + * Liquidity added into the pool `T::PoolId`. + **/ + LiquidityAdded: AugmentedEvent; + /** + * Liquidity removed from pool `T::PoolId` by `T::AccountId` in balanced way. + **/ + LiquidityRemoved: AugmentedEvent; + /** + * Pool with specified id `T::PoolId` was created successfully by `T::AccountId`. + **/ + PoolCreated: AugmentedEvent; + /** + * The sale ended, the funds repatriated and the pool deleted. + **/ + PoolDeleted: AugmentedEvent; + /** + * Token exchange happened. + **/ + Swapped: AugmentedEvent; + /** + * TWAP updated. + **/ + TwapUpdated: AugmentedEvent + ], { + poolId: u128; + timestamp: u64; + twaps: BTreeMap; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + parachainSystem: { + /** + * Downward messages were processed using the given weight. + **/ + DownwardMessagesProcessed: AugmentedEvent; + /** + * Some downward messages have been received and will be processed. + **/ + DownwardMessagesReceived: AugmentedEvent; + /** + * An upgrade has been authorized. + **/ + UpgradeAuthorized: AugmentedEvent; + /** + * The validation function was applied as of the contained relay chain block number. + **/ + ValidationFunctionApplied: AugmentedEvent; + /** + * The relay-chain aborted the upgrade process. + **/ + ValidationFunctionDiscarded: AugmentedEvent; + /** + * The validation function has been scheduled to apply. + **/ + ValidationFunctionStored: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + preimage: { + /** + * A preimage has ben cleared. + **/ + Cleared: AugmentedEvent; + /** + * A preimage has been noted. + **/ + Noted: AugmentedEvent; + /** + * A preimage has been requested. + **/ + Requested: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + proxy: { + /** + * An announcement was placed to make a call in the future. + **/ + Announced: AugmentedEvent; + /** + * Anonymous account has been created by new proxy with given + * disambiguation index and proxy type. + **/ + AnonymousCreated: AugmentedEvent; + /** + * A proxy was added. + **/ + ProxyAdded: AugmentedEvent; + /** + * A proxy was executed correctly, with the given. + **/ + ProxyExecuted: AugmentedEvent + ], { + result: Result; + }>; + /** + * A proxy was removed. + **/ + ProxyRemoved: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + relayerXcm: { + /** + * Some assets have been placed in an asset trap. + * + * \[ hash, origin, assets \] + **/ + AssetsTrapped: AugmentedEvent; + /** + * Execution of an XCM message was attempted. + * + * \[ outcome \] + **/ + Attempted: AugmentedEvent; + /** + * Expected query response has been received but the origin location of the response does + * not match that expected. The query remains registered for a later, valid, response to + * be received and acted upon. + * + * \[ origin location, id, expected location \] + **/ + InvalidResponder: AugmentedEvent]>; + /** + * Expected query response has been received but the expected origin location placed in + * storage by this runtime previously cannot be decoded. The query remains registered. + * + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + * + * \[ origin location, id \] + **/ + InvalidResponderVersion: AugmentedEvent; + /** + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + * + * \[ id, pallet index, call index \] + **/ + Notified: AugmentedEvent; + /** + * Query response has been received and query is removed. The dispatch was unable to be + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + * + * \[ id, pallet index, call index \] + **/ + NotifyDecodeFailed: AugmentedEvent; + /** + * Query response has been received and query is removed. There was a general error with + * dispatching the notification call. + * + * \[ id, pallet index, call index \] + **/ + NotifyDispatchError: AugmentedEvent; + /** + * Query response has been received and query is removed. The registered notification could + * not be dispatched because the dispatch weight is greater than the maximum weight + * originally budgeted by this runtime for the query result. + * + * \[ id, pallet index, call index, actual weight, max budgeted weight \] + **/ + NotifyOverweight: AugmentedEvent; + /** + * A given location which had a version change subscription was dropped owing to an error + * migrating the location to our new XCM format. + * + * \[ location, query ID \] + **/ + NotifyTargetMigrationFail: AugmentedEvent; + /** + * A given location which had a version change subscription was dropped owing to an error + * sending the notification to it. + * + * \[ location, query ID, error \] + **/ + NotifyTargetSendFail: AugmentedEvent; + /** + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + * + * \[ id, response \] + **/ + ResponseReady: AugmentedEvent; + /** + * Received query response has been read and removed. + * + * \[ id \] + **/ + ResponseTaken: AugmentedEvent; + /** + * A XCM message was sent. + * + * \[ origin, destination, message \] + **/ + Sent: AugmentedEvent; + /** + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + * + * \[ location, XCM version \] + **/ + SupportedVersionChanged: AugmentedEvent; + /** + * Query response received which does not match a registered query. This may be because a + * matching query was never registered, it may be because it is a duplicate response, or + * because the query timed out. + * + * \[ origin location, id \] + **/ + UnexpectedResponse: AugmentedEvent; + /** + * An XCM version change notification message has been attempted to be sent. + * + * \[ destination, result \] + **/ + VersionChangeNotified: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + scheduler: { + /** + * The call for the provided hash was not found so the task has been aborted. + **/ + CallLookupFailed: AugmentedEvent, + id: Option, + error: FrameSupportScheduleLookupError + ], { + task: ITuple<[u32, u32]>; + id: Option; + error: FrameSupportScheduleLookupError; + }>; + /** + * Canceled some task. + **/ + Canceled: AugmentedEvent; + /** + * Dispatched some task. + **/ + Dispatched: AugmentedEvent, + id: Option, + result: Result + ], { + task: ITuple<[u32, u32]>; + id: Option; + result: Result; + }>; + /** + * Scheduled some task. + **/ + Scheduled: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + session: { + /** + * New session has happened. Note that the argument is the session index, not the + * block number as the type might suggest. + **/ + NewSession: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + stakingRewards: { + Claimed: AugmentedEvent; + RewardAccumulationHookError: AugmentedEvent; + /** + * Pool with specified id `T::AssetId` was created successfully by `T::AccountId`. + **/ + RewardPoolCreated: AugmentedEvent; + RewardPoolUpdated: AugmentedEvent; + RewardsPotIncreased: AugmentedEvent; + /** + * Reward transfer event. + **/ + RewardTransferred: AugmentedEvent; + /** + * A staking position was split. + **/ + SplitPosition: AugmentedEvent> + ], { + positions: Vec>; + }>; + StakeAmountExtended: AugmentedEvent; + Staked: AugmentedEvent; + Unstaked: AugmentedEvent + ], { + owner: AccountId32; + fnftCollectionId: u128; + fnftInstanceId: u64; + slash: Option; + }>; + UnstakeRewardSlashed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + sudo: { + /** + * The \[sudoer\] just switched identity; the old key is supplied if one existed. + **/ + KeyChanged: AugmentedEvent], { + oldSudoer: Option; + }>; + /** + * A sudo just took place. \[result\] + **/ + Sudid: AugmentedEvent + ], { + sudoResult: Result; + }>; + /** + * A sudo just took place. \[result\] + **/ + SudoAsDone: AugmentedEvent + ], { + sudoResult: Result; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + system: { + /** + * `:code` was updated. + **/ + CodeUpdated: AugmentedEvent; + /** + * An extrinsic failed. + **/ + ExtrinsicFailed: AugmentedEvent; + /** + * An extrinsic completed successfully. + **/ + ExtrinsicSuccess: AugmentedEvent; + /** + * An account was reaped. + **/ + KilledAccount: AugmentedEvent; + /** + * A new account was created. + **/ + NewAccount: AugmentedEvent; + /** + * On on-chain remark happened. + **/ + Remarked: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + technicalCommittee: { + /** + * A motion was approved by the required threshold. + **/ + Approved: AugmentedEvent; + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ + Closed: AugmentedEvent; + /** + * A motion was not approved by the required threshold. + **/ + Disapproved: AugmentedEvent; + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ + Executed: AugmentedEvent + ], { + proposalHash: H256; + result: Result; + }>; + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ + MemberExecuted: AugmentedEvent + ], { + proposalHash: H256; + result: Result; + }>; + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ + Proposed: AugmentedEvent; + /** + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ + Voted: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + technicalCommitteeMembership: { + /** + * Phantom member, never used. + **/ + Dummy: AugmentedEvent; + /** + * One of the members' keys changed. + **/ + KeyChanged: AugmentedEvent; + /** + * The given member was added; see the transaction for who. + **/ + MemberAdded: AugmentedEvent; + /** + * The given member was removed; see the transaction for who. + **/ + MemberRemoved: AugmentedEvent; + /** + * The membership was reset; see the transaction for who the new set is. + **/ + MembersReset: AugmentedEvent; + /** + * Two members were swapped; see the transaction for who. + **/ + MembersSwapped: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + tokens: { + /** + * A balance was set by root. + **/ + BalanceSet: AugmentedEvent; + /** + * Deposited some balance into an account + **/ + Deposited: AugmentedEvent; + /** + * An account was removed whose balance was non-zero but below + * ExistentialDeposit, resulting in an outright loss. + **/ + DustLost: AugmentedEvent; + /** + * An account was created with some free balance. + **/ + Endowed: AugmentedEvent; + /** + * Some locked funds were unlocked + **/ + LockRemoved: AugmentedEvent; + /** + * Some funds are locked + **/ + LockSet: AugmentedEvent; + /** + * Some balance was reserved (moved from free to reserved). + **/ + Reserved: AugmentedEvent; + /** + * Some reserved balance was repatriated (moved from reserved to + * another account). + **/ + ReserveRepatriated: AugmentedEvent; + /** + * Some balances were slashed (e.g. due to mis-behavior) + **/ + Slashed: AugmentedEvent; + /** + * The total issuance of an currency has been set + **/ + TotalIssuanceSet: AugmentedEvent; + /** + * Transfer succeeded. + **/ + Transfer: AugmentedEvent; + /** + * Some balance was unreserved (moved from reserved to free). + **/ + Unreserved: AugmentedEvent; + /** + * Some balances were withdrawn (e.g. pay for transaction fee) + **/ + Withdrawn: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + transactionPayment: { + /** + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ + TransactionFeePaid: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + treasury: { + /** + * Some funds have been allocated. + **/ + Awarded: AugmentedEvent; + /** + * Some of our funds have been burnt. + **/ + Burnt: AugmentedEvent; + /** + * Some funds have been deposited. + **/ + Deposit: AugmentedEvent; + /** + * New proposal. + **/ + Proposed: AugmentedEvent; + /** + * A proposal was rejected; funds were slashed. + **/ + Rejected: AugmentedEvent; + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ + Rollover: AugmentedEvent; + /** + * A new spend proposal has been approved. + **/ + SpendApproved: AugmentedEvent; + /** + * We have ended a spend period and will now allocate funds. + **/ + Spending: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + unknownTokens: { + /** + * Deposit success. + **/ + Deposited: AugmentedEvent; + /** + * Withdraw success. + **/ + Withdrawn: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + utility: { + /** + * Batch of dispatches completed fully with no error. + **/ + BatchCompleted: AugmentedEvent; + /** + * Batch of dispatches completed but has errors. + **/ + BatchCompletedWithErrors: AugmentedEvent; + /** + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ + BatchInterrupted: AugmentedEvent; + /** + * A call was dispatched. + **/ + DispatchedAs: AugmentedEvent + ], { + result: Result; + }>; + /** + * A single item within a Batch of dispatches has completed with no error. + **/ + ItemCompleted: AugmentedEvent; + /** + * A single item within a Batch of dispatches has completed with error. + **/ + ItemFailed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + vault: { + /** + * Emitted after a user deposits funds into the vault. + **/ + Deposited: AugmentedEvent; + /** + * Emitted after a successful emergency shutdown. + **/ + EmergencyShutdown: AugmentedEvent; + LiquidateStrategy: AugmentedEvent; + /** + * Emitted after a vault has been successfully created. + **/ + VaultCreated: AugmentedEvent; + /** + * Emitted after a vault is restarted. + **/ + VaultStarted: AugmentedEvent; + /** + * Emitted after a user exchanges LP tokens back for underlying assets + **/ + Withdrawn: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + vesting: { + /** + * Claimed vesting. + **/ + Claimed: AugmentedEvent + ], { + who: AccountId32; + asset: u128; + vestingScheduleIds: ComposableTraitsVestingVestingScheduleIdSet; + lockedAmount: u128; + claimedAmountPerSchedule: BTreeMap; + }>; + /** + * Added new vesting schedule. + **/ + VestingScheduleAdded: AugmentedEvent; + /** + * Updated vesting schedules. + **/ + VestingSchedulesUpdated: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + xcmpQueue: { + /** + * Bad XCM format used. + **/ + BadFormat: AugmentedEvent], { + messageHash: Option; + }>; + /** + * Bad XCM version used. + **/ + BadVersion: AugmentedEvent], { + messageHash: Option; + }>; + /** + * Some XCM failed. + **/ + Fail: AugmentedEvent, + error: XcmV2TraitsError, + weight: u64 + ], { + messageHash: Option; + error: XcmV2TraitsError; + weight: u64; + }>; + /** + * An XCM exceeded the individual message weight budget. + **/ + OverweightEnqueued: AugmentedEvent; + /** + * An XCM from the overweight queue was executed with the given actual weight used. + **/ + OverweightServiced: AugmentedEvent; + /** + * Some XCM was executed ok. + **/ + Success: AugmentedEvent, + weight: u64 + ], { + messageHash: Option; + weight: u64; + }>; + /** + * An upward message was sent to the relay chain. + **/ + UpwardMessageSent: AugmentedEvent], { + messageHash: Option; + }>; + /** + * An HRMP message was sent to a sibling parachain. + **/ + XcmpMessageSent: AugmentedEvent], { + messageHash: Option; + }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + xTokens: { + /** + * Transferred `MultiAsset` with fee. + **/ + TransferredMultiAssets: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + } +} +//# sourceMappingURL=augment-api-events.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-events.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-events.d.ts.map new file mode 100644 index 00000000..f4a7ddc2 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-events.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-events.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-events.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,iCAAiC,CAAC;AACzC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AE,WAAW;gBAAE,MAAM,EAAE,0BAA0B;gBAAE,GAAG,EAAE,eAAe;gBAAE,IAAI,EAAE,kBAAkB;aAAC,EACzG;gBACC,MAAM,EAAE,WAAW,CAAC;gBACpB,MAAM,EAAE,0BAA0B,CAAC;gBACnC,GAAG,EAAE,eAAe,CAAC;gBACrB,IAAI,EAAE,kBAAkB,CAAC;aACzB,CACD,CAAC;YACF;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SACvC,CAAC;KACF;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-events.js b/dist/chains/polkadot/api-scheme/augments/augment-api-events.js new file mode 100644 index 00000000..2f6e9114 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-events.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/api-base/types/events"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-query.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-query.d.ts new file mode 100644 index 00000000..58680894 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-query.d.ts @@ -0,0 +1,1580 @@ +import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/storage'; +import type { Data } from '@polkadot/types'; +import type { bool, BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, u16, u32, u64, u128, Vec, WrapperKeepOpaque } from '@polkadot/types-codec'; +import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; +import type { AccountId32, Call, FixedU128, H256 } from '@polkadot/types/interfaces/runtime'; +import type { Observable } from '@polkadot/types/types'; +import type { ComposableTraitsXcmCumulusMethodId } from '../common'; +import type { CommonMosaicRemoteAssetId, ComposableTraitsAccountProxyProxyDefinition, ComposableTraitsAssetsBasicAssetMetadata, ComposableTraitsBondedFinanceBondOffer, ComposableTraitsCallFilterCallFilterEntry, ComposableTraitsCurrencyRational64, ComposableTraitsDexDexRoute, ComposableTraitsGovernanceSignedRawOrigin, ComposableTraitsLendingMarketConfig, ComposableTraitsOraclePrice, ComposableTraitsOracleRewardTracker, ComposableTraitsStakingRewardPool, ComposableTraitsStakingStake, ComposableTraitsTimeTimeReleaseFunction, ComposableTraitsXcmAssetsForeignMetadata, ComposableTraitsXcmAssetsXcmAssetLocation, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, DaliRuntimeOpaqueSessionKeys, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, PalletAccountProxyAnnouncement, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletCollectiveVotes, PalletCosmwasmCodeInfo, PalletCosmwasmContractInfo, PalletCrowdloanRewardsModelsRemoteAccount, PalletCrowdloanRewardsModelsReward, PalletDutchAuctionSellOrder, PalletDutchAuctionTakeOrder, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletLiquidationsLiquidationStrategyConfiguration, PalletMosaicAssetInfo, PalletMosaicNetworkInfo, PalletMosaicRelayerStaleRelayer, PalletMultisigMultisig, PalletOracleAssetInfo, PalletOraclePrePrice, PalletOracleWithdraw, PalletSchedulerScheduledV3, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVaultModelsStrategyOverview, PalletVaultModelsVaultInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, XcmV1MultiLocation, XcmVersionedMultiLocation } from '../crowdloanRewards'; +import type { PalletCurrencyFactoryRanges } from '../currencyFactory'; +import type { PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletPreimageRequestStatus } from '../democracy'; +import type { PalletPabloPoolConfiguration, PalletPabloPriceCumulative, PalletPabloTimeWeightedAveragePrice } from '../pablo'; +import type { ComposableTraitsVestingVestingSchedule } from '../vesting'; +export type __AugmentedQuery = AugmentedQuery unknown>; +export type __QueryableStorageEntry = QueryableStorageEntry; +declare module '@polkadot/api-base/types/storage' { + interface AugmentedQueries { + assetsRegistry: { + /** + * How much of asset amount is needed to pay for one unit of native token. + **/ + assetRatio: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Mapping foreign asset to local asset. + **/ + foreignToLocal: AugmentedQuery Observable>, [ + ComposableTraitsXcmAssetsXcmAssetLocation + ]> & QueryableStorageEntry; + /** + * Mapping local asset to foreign asset. + **/ + localToForeign: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + minFeeAmounts: AugmentedQuery Observable>, [ + u32, + ComposableTraitsXcmAssetsXcmAssetLocation + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + assetTxPayment: { + /** + * Stores default payment asset of user with ED locked. + **/ + paymentAssets: AugmentedQuery Observable>>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + aura: { + /** + * The current authority set. + **/ + authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current slot of this block. + * + * This will be set in `on_initialize`. + **/ + currentSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + auraExt: { + /** + * Serves as cache for the authorities. + * + * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session, + * but we require the old authorities to verify the seal when validating a PoV. This will always + * be updated to the latest AuRa authorities in `on_finalize`. + **/ + authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + authorship: { + /** + * Author of current block. + **/ + author: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Whether uncles were already set in this block. + **/ + didSetUncles: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Uncles + **/ + uncles: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + balances: { + /** + * The Balances pallet example of storing the balance of an account. + * + * # Example + * + * ```nocompile + * impl pallet_balances::Config for Runtime { + * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> + * } + * ``` + * + * You can also store the balance of an account in the `System` pallet. + * + * # Example + * + * ```nocompile + * impl pallet_balances::Config for Runtime { + * type AccountStore = System + * } + * ``` + * + * But this comes with tradeoffs, storing account balances in the system pallet stores + * `frame_system` data alongside the account data contrary to storing account balances in the + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ + account: AugmentedQuery Observable, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. + **/ + locks: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Named reserves on some account balances. + **/ + reserves: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Storage version of the pallet. + * + * This is set to v2.0.0 for new networks. + **/ + storageVersion: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The total units issued in the system. + **/ + totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + bondedFinance: { + /** + * The counter used to uniquely identify bond offers within this pallet. + **/ + bondOfferCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * A mapping from offer ID to the pair: (issuer, offer) + **/ + bondOffers: AugmentedQuery Observable>>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + callFilter: { + /** + * The list of disabled extrinsics. + **/ + disabledCalls: AugmentedQuery Observable>, [ + ComposableTraitsCallFilterCallFilterEntry + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + collatorSelection: { + /** + * Fixed amount to deposit to become a collator. + * + * When a collator calls `leave_intent` they immediately receive the deposit back. + **/ + candidacyBond: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The (community, limited) collation candidates. + **/ + candidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Desired number of candidates. + * + * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct. + **/ + desiredCandidates: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The invulnerable, fixed collators. + **/ + invulnerables: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Last block authored by collator. + **/ + lastAuthoredBlock: AugmentedQuery Observable, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + cosmwasm: { + /** + * A mapping between a code hash and it's unique ID. + **/ + codeHashToId: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + /** + * A mapping between an original code hash and its metadata. + **/ + codeIdToInfo: AugmentedQuery Observable>, [ + u64 + ]> & QueryableStorageEntry; + /** + * A mapping between a contract and it's metadata. + **/ + contractToInfo: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Monotonic counter incremented on code creation. + **/ + currentCodeId: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * This is a **monotonic** counter incremented on contract instantiation. + * The purpose of this nonce is just to make sure that contract trie are unique. + **/ + currentNonce: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * A mapping between an original code id and instrumented wasm code, ready for execution. + **/ + instrumentedCode: AugmentedQuery Observable>, [ + u64 + ]> & QueryableStorageEntry; + /** + * A mapping from an original code id to the original code, untouched by instrumentation. + **/ + pristineCode: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + council: { + /** + * The current members of the collective. This is stored sorted (just by value). + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The prime member that helps determine the default vote behavior in case of absentations. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Proposals so far. + **/ + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Actual proposal for a given hash, if it's current. + **/ + proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + /** + * The hashes of the active proposals. + **/ + proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Votes on a given proposal, if it is ongoing. + **/ + voting: AugmentedQuery Observable>, [ + H256 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + councilMembership: { + /** + * The current membership, stored as an ordered Vec. + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current prime member, if one exists. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + crowdloanRewards: { + /** + * Associations of reward accounts to remote accounts. + **/ + associations: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * The rewards claimed so far. + **/ + claimedRewards: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * If set, new locks will not be added to claims + **/ + removeRewardLocks: AugmentedQuery Observable>, []> & QueryableStorageEntry; + rewards: AugmentedQuery Observable>, [ + PalletCrowdloanRewardsModelsRemoteAccount + ]> & QueryableStorageEntry; + /** + * The total number of contributors. + **/ + totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The total amount of rewards to be claimed. + **/ + totalRewards: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The timestamp at which the users are able to claim their rewards. + **/ + vestingTimeStart: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + currencyFactory: { + assetEd: AugmentedQuery Observable>, [u128]> & QueryableStorageEntry; + assetIdRanges: AugmentedQuery Observable, []> & QueryableStorageEntry; + assetMetadata: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + democracy: { + /** + * A record of who vetoed what. Maps proposal hash to a possible existent block number + * (until when it may not be resubmitted) and who vetoed it. + **/ + blacklist: AugmentedQuery Observable]>>>, [ + H256 + ]> & QueryableStorageEntry; + /** + * Record of all proposals that have been subject to emergency cancellation. + **/ + cancellations: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; + /** + * Those who have locked a deposit. + * + * TWOX-NOTE: Safe, as increasing integer keys are safe. + **/ + depositOf: AugmentedQuery Observable, u128]>>>, [ + u32 + ]> & QueryableStorageEntry; + /** + * True if the last referendum tabled was submitted externally. False if it was a public + * proposal. + **/ + lastTabledWasExternal: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The lowest referendum index representing an unbaked referendum. Equal to + * `ReferendumCount` if there isn't a unbaked referendum. + **/ + lowestUnbaked: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The referendum to be tabled whenever it would be valid to table an external proposal. + * This happens when a referendum needs to be tabled and one of two conditions are met: + * - `LastTabledWasExternal` is `false`; or + * - `PublicProps` is empty. + **/ + nextExternal: AugmentedQuery Observable>>, [ + ]> & QueryableStorageEntry; + /** + * Map of hashes to the proposal preimage, along with who registered it and their deposit. + * The block number is the block at which it was deposited. + **/ + preimages: AugmentedQuery Observable>, [ + H256 + ]> & QueryableStorageEntry; + /** + * The number of (public) proposals that have been made so far. + **/ + publicPropCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The public proposals. Unsorted. The second item is the proposal's hash. + **/ + publicProps: AugmentedQuery Observable>>, []> & QueryableStorageEntry; + /** + * The next free referendum index, aka the number of referenda started so far. + **/ + referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Information concerning any given referendum. + * + * TWOX-NOTE: SAFE as indexes are not under an attacker’s control. + **/ + referendumInfoOf: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + /** + * Storage version of the pallet. + * + * New networks start with last version. + **/ + storageVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * All votes for a particular voter. We store the balance for the number of votes that we + * have recorded. The second item is the total amount of delegations, that will be added. + * + * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway. + **/ + votingOf: AugmentedQuery Observable, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + dexRouter: { + dexRoutes: AugmentedQuery Observable>, [ + u128, + u128 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + dmpQueue: { + /** + * The configuration. + **/ + configuration: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The overweight messages. + **/ + overweight: AugmentedQuery Observable>>, [ + u64 + ]> & QueryableStorageEntry; + /** + * The page index. + **/ + pageIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The queue pages. + **/ + pages: AugmentedQuery Observable>>, [ + u32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + dutchAuction: { + /** + * set of reusable auction configurations + **/ + configurations: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * orders are handled locally, but if these came from remote, + * these should be notified appropriately + **/ + localOrderIdToRemote: AugmentedQuery Observable>>, [ + u128 + ]> & QueryableStorageEntry; + ordersIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * registered callback location for specific parachain + **/ + parachainXcmCallbackLocation: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + sellOrders: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * one block storage, users payed N * WEIGHT for this Vec, so will not put bound here (neither + * HydraDX does) + **/ + takes: AugmentedQuery Observable>>, [ + u128 + ]> & QueryableStorageEntry; + xcmSellOrders: AugmentedQuery Observable>, [ + u32, + u64 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + fnft: { + collection: AugmentedQuery Observable]>>>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Mapping of fNFT collection to the newest instance ID + **/ + financialNftId: AugmentedQuery Observable, [u128]> & QueryableStorageEntry; + /** + * Mapping of collection and instance IDs to fNFT data + **/ + instance: AugmentedQuery Observable]>>>, [ + u128, + u64 + ]> & QueryableStorageEntry; + /** + * All the NFTs owned by an account. + **/ + ownerInstances: AugmentedQuery Observable>>>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + governanceRegistry: { + originsByAssetId: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + identity: { + /** + * Information that is pertinent to identify the entity behind an account. + * + * TWOX-NOTE: OK ― `AccountId` is a secure hash. + **/ + identityOf: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). + * + * The index into this can be cast to `RegistrarIndex` to get a valid value. + **/ + registrars: AugmentedQuery Observable>>, []> & QueryableStorageEntry; + /** + * Alternative "sub" identities of this account. + * + * The first item is the deposit, the second is a vector of the accounts. + * + * TWOX-NOTE: OK ― `AccountId` is a secure hash. + **/ + subsOf: AugmentedQuery Observable]>>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * The super-identity of an alternative "sub" identity together with its name, within that + * context. If the account is not some other account's sub-identity, then just `None`. + **/ + superOf: AugmentedQuery Observable>>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + indices: { + /** + * The lookup from index to account. + **/ + accounts: AugmentedQuery Observable>>, [ + u32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + lending: { + /** + * (Market, Account) -> Collateral + **/ + accountCollateral: AugmentedQuery Observable>, [ + u32, + AccountId32 + ]> & QueryableStorageEntry; + /** + * market borrow index + **/ + borrowIndex: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + borrowRent: AugmentedQuery Observable>, [ + u32, + AccountId32 + ]> & QueryableStorageEntry; + /** + * Latest timestamp at which account borrowed from market. + * + * (Market, Account) -> Timestamp + **/ + borrowTimestamp: AugmentedQuery Observable>, [ + u32, + AccountId32 + ]> & QueryableStorageEntry; + /** + * at which lending index account did borrowed. + * if first borrow: market index when the borrow occurred + * if additional borrow: market index adjusted wrt the previous index + **/ + debtIndex: AugmentedQuery Observable>, [ + u32, + AccountId32 + ]> & QueryableStorageEntry; + /** + * Maps markets to their corresponding debt token. + * + * ```text + * MarketId -> debt asset + * ``` + * + * See [this clickup task](task) for a more in-depth explanation. + * + * [task]: + **/ + debtTokenForMarket: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + /** + * The timestamp of the previous block or defaults to timestamp at genesis. + **/ + lastBlockTimestamp: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Lending instances counter + **/ + lendingCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Indexed lending instances. Maps markets to their respective [`MarketConfig`]. + * + * ```text + * MarketId -> MarketConfig + * ``` + **/ + markets: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + liquidations: { + defaultStrategyIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + strategies: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + strategyIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + palletLiquidStaking: { + exchangeRate: AugmentedQuery Observable, []> & QueryableStorageEntry; + totalReserves: AugmentedQuery Observable, []> & QueryableStorageEntry; + }; + mosaic: { + assetsInfo: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Locked incoming tx into Picasso that the user needs to claim. + **/ + incomingTransactions: AugmentedQuery Observable>>, [ + AccountId32, + u128 + ]> & QueryableStorageEntry; + localToRemoteAsset: AugmentedQuery Observable>, [ + u128, + u32 + ]> & QueryableStorageEntry; + networkInfos: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Locked outgoing tx out of Picasso, that a relayer needs to process. + **/ + outgoingTransactions: AugmentedQuery Observable>>, [ + AccountId32, + u128 + ]> & QueryableStorageEntry; + relayer: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Remote AMM IDs that exist (NetworkId, AmmId). + * Note that this is actually a set that does bookkeeping of valid AmmIds. + * Therefore, the value type is (), because it is irrelevant for our use case. + **/ + remoteAmmWhitelist: AugmentedQuery Observable>, [ + u32, + u128 + ]> & QueryableStorageEntry; + remoteToLocalAsset: AugmentedQuery Observable>, [ + CommonMosaicRemoteAssetId, + u32 + ]> & QueryableStorageEntry; + timeLockPeriod: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + multisig: { + calls: AugmentedQuery Observable, AccountId32, u128]>>>, [ + U8aFixed + ]> & QueryableStorageEntry; + /** + * The set of open multisig operations. + **/ + multisigs: AugmentedQuery Observable>, [ + AccountId32, + U8aFixed + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + oracle: { + /** + * Mapping of slash amounts currently in transit + **/ + answerInTransit: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Total amount of assets + **/ + assetsCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Information about asset, including precision threshold and max/min answers + **/ + assetsInfo: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Mapping Controller key to signer key + **/ + controllerToSigner: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Tracking withdrawal requests + **/ + declaredWithdraws: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Mapping of signing key to stake + **/ + oracleStake: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Temporary prices before aggregated + **/ + prePrices: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Price for an asset and blocknumber asset was updated at + **/ + priceHistory: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Price for an asset and blocknumber asset was updated at + **/ + prices: AugmentedQuery Observable, [ + u128 + ]> & QueryableStorageEntry; + /** + * Rewarding history for Oracles. Used for calculating the current block reward. + **/ + rewardTrackerStore: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Mapping signing key to controller key + **/ + signerToController: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + pablo: { + poolCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + pools: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + priceCumulativeState: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + twapState: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + parachainInfo: { + parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + parachainSystem: { + /** + * The number of HRMP messages we observed in `on_initialize` and thus used that number for + * announcing the weight of `on_initialize` and `on_finalize`. + **/ + announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The next authorized upgrade, if there is one. + **/ + authorizedUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * A custom head data that should be returned as result of `validate_block`. + * + * See [`Pallet::set_custom_validation_head_data`] for more information. + **/ + customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Were the validation data set to notify the relay chain? + **/ + didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The parachain host configuration that was obtained from the relay parent. + * + * This field is meant to be updated each block with the validation data inherent. Therefore, + * before processing of the inherent, e.g. in `on_initialize` this data may be stale. + * + * This data is also absent from the genesis. + **/ + hostConfiguration: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * HRMP messages that were sent in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + hrmpOutboundMessages: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * HRMP watermark that was set in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The last downward message queue chain head we have observed. + * + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ + lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The message queue chain heads we have observed per each channel incoming channel. + * + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ + lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The relay chain block number associated with the last parachain block. + **/ + lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Validation code that is set by the parachain and is to be communicated to collator and + * consequently the relay-chain. + * + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ + newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ + pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * + * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE] + * which will result the next block process with the new validation code. This concludes the upgrade process. + * + * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE + **/ + pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Number of downward messages processed in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The state proof for the last relay parent block. + * + * This field is meant to be updated each block with the validation data inherent. Therefore, + * before processing of the inherent, e.g. in `on_initialize` this data may be stale. + * + * This data is also absent from the genesis. + **/ + relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The snapshot of some state related to messaging relevant to the current parachain as per + * the relay parent. + * + * This field is meant to be updated each block with the validation data inherent. Therefore, + * before processing of the inherent, e.g. in `on_initialize` this data may be stale. + * + * This data is also absent from the genesis. + **/ + relevantMessagingState: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * The weight we reserve at the beginning of the block for processing DMP messages. This + * overrides the amount set in the Config trait. + **/ + reservedDmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The weight we reserve at the beginning of the block for processing XCMP messages. This + * overrides the amount set in the Config trait. + **/ + reservedXcmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * An option which indicates if the relay-chain restricts signalling a validation code upgrade. + * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced + * candidate will be invalid. + * + * This storage item is a mirror of the corresponding value for the current parachain from the + * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is + * set after the inherent. + **/ + upgradeRestrictionSignal: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * Upward messages that were sent in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ + validationData: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + preimage: { + /** + * The preimages stored by this pallet. + **/ + preimageFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + /** + * The request status of a given hash. + **/ + statusFor: AugmentedQuery Observable>, [ + H256 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + proxy: { + /** + * The announcements made by the proxy (key). + **/ + announcements: AugmentedQuery Observable, u128]>>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ + proxies: AugmentedQuery Observable, u128]>>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + randomnessCollectiveFlip: { + /** + * Series of block headers from the last 81 blocks that acts as random seed material. This + * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of + * the oldest hash. + **/ + randomMaterial: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + relayerXcm: { + /** + * The existing asset traps. + * + * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of + * times this pair has been trapped (usually just 1 if it exists at all). + **/ + assetTraps: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; + /** + * The current migration's stage, if any. + **/ + currentMigration: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The ongoing queries. + **/ + queries: AugmentedQuery Observable>, [ + u64 + ]> & QueryableStorageEntry; + /** + * The latest available query index. + **/ + queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Default version to encode XCM when latest version of destination is unknown. If `None`, + * then the destinations whose XCM version is unknown are considered unreachable. + **/ + safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The Latest versions that we know various locations support. + **/ + supportedVersion: AugmentedQuery Observable>, [ + u32, + XcmVersionedMultiLocation + ]> & QueryableStorageEntry; + /** + * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and + * the `u32` counter is the number of times that a send to the destination has been attempted, + * which is used as a prioritization. + **/ + versionDiscoveryQueue: AugmentedQuery Observable>>, [ + ]> & QueryableStorageEntry; + /** + * All locations that we have requested version notifications from. + **/ + versionNotifiers: AugmentedQuery Observable>, [ + u32, + XcmVersionedMultiLocation + ]> & QueryableStorageEntry; + /** + * The target locations that are subscribed to our version changes, as well as the most recent + * of our versions we informed them of. + **/ + versionNotifyTargets: AugmentedQuery Observable>>, [ + u32, + XcmVersionedMultiLocation + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + scheduler: { + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ + agenda: AugmentedQuery Observable>>, [ + u32 + ]> & QueryableStorageEntry; + /** + * Lookup from identity to the block number and index of the task. + **/ + lookup: AugmentedQuery Observable>>, [ + Bytes + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + session: { + /** + * Current index of the session. + **/ + currentIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Indices of disabled validators. + * + * The vec is always kept sorted so that we can find whether a given validator is + * disabled using binary search. It gets cleared when `on_session_ending` returns + * a new set of identities. + **/ + disabledValidators: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The owner of a key. The key is the `KeyTypeId` + the encoded key. + **/ + keyOwner: AugmentedQuery | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable>, [ + ITuple<[SpCoreCryptoKeyTypeId, Bytes]> + ]> & QueryableStorageEntry]>; + /** + * The next session keys for a validator. + **/ + nextKeys: AugmentedQuery Observable>, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * True if the underlying economic identities or weighting behind the validators + * has changed in the queued validator set. + **/ + queuedChanged: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The queued keys for the next session. When the next session begins, these keys + * will be used to determine the validator's session keys. + **/ + queuedKeys: AugmentedQuery Observable>>, [ + ]> & QueryableStorageEntry; + /** + * The current set of validators. + **/ + validators: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + stakingRewards: { + rewardPools: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + rewardsPotIsEmpty: AugmentedQuery Observable>, [ + u128, + u128 + ]> & QueryableStorageEntry; + stakes: AugmentedQuery Observable>, [ + u128, + u64 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + sudo: { + /** + * The `AccountId` of the sudo key. + **/ + key: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + system: { + /** + * The full account information for a particular account ID. + **/ + account: AugmentedQuery Observable, [ + AccountId32 + ]> & QueryableStorageEntry; + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ + allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Map of block numbers to block hashes. + **/ + blockHash: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; + /** + * The current weight for the block. + **/ + blockWeight: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Digest of the current block, also part of the block header. + **/ + digest: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The number of events in the `Events` list. + **/ + eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Events deposited for the current block. + * + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. + * + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ + events: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. + * + * All topic vectors have deterministic storage locations depending on the topic. This + * allows light-clients to leverage the changes trie storage tracking mechanism and + * in case of changes fetch the list of events of interest. + * + * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just + * the `EventIndex` then in case if the topic has the same contents on the next block + * no notification will be triggered thus the event might be lost. + **/ + eventTopics: AugmentedQuery Observable>>, [ + H256 + ]> & QueryableStorageEntry; + /** + * The execution phase of the block. + **/ + executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Total extrinsics count for the current block. + **/ + extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ + extrinsicData: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ + lastRuntimeUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current block number being processed. Set by `execute_block`. + **/ + number: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Hash of the previous block. + **/ + parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False + * (default) if not. + **/ + upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ + upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + technicalCommittee: { + /** + * The current members of the collective. This is stored sorted (just by value). + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The prime member that helps determine the default vote behavior in case of absentations. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Proposals so far. + **/ + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Actual proposal for a given hash, if it's current. + **/ + proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + /** + * The hashes of the active proposals. + **/ + proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Votes on a given proposal, if it is ongoing. + **/ + voting: AugmentedQuery Observable>, [ + H256 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + technicalCommitteeMembership: { + /** + * The current membership, stored as an ordered Vec. + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current prime member, if one exists. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + timestamp: { + /** + * Did the timestamp get updated in this block? + **/ + didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Current time for the current block. + **/ + now: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + tokens: { + /** + * The balance of a token type under an account. + * + * NOTE: If the total is ever zero, decrease account ref account. + * + * NOTE: This is only used in the case that this module is used to store + * balances. + **/ + accounts: AugmentedQuery Observable, [ + AccountId32, + u128 + ]> & QueryableStorageEntry; + /** + * Any liquidity locks of a token type under an account. + * NOTE: Should only be accessed when setting, changing and freeing a lock. + **/ + locks: AugmentedQuery Observable>, [ + AccountId32, + u128 + ]> & QueryableStorageEntry; + /** + * Named reserves on some account balances. + **/ + reserves: AugmentedQuery Observable>, [ + AccountId32, + u128 + ]> & QueryableStorageEntry; + /** + * The total issuance of a token type. + **/ + totalIssuance: AugmentedQuery Observable, [u128]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + transactionPayment: { + nextFeeMultiplier: AugmentedQuery Observable, []> & QueryableStorageEntry; + storageVersion: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + treasury: { + /** + * Proposal indices that have been approved but not yet awarded. + **/ + approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Number of proposals that have been made. + **/ + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Proposals that have been made. + **/ + proposals: AugmentedQuery Observable>, [ + u32 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + unknownTokens: { + /** + * Abstract fungible balances under a given location and a abstract + * fungible id. + * + * double_map: who, asset_id => u128 + **/ + abstractFungibleBalances: AugmentedQuery Observable, [ + XcmV1MultiLocation, + Bytes + ]> & QueryableStorageEntry; + /** + * Concrete fungible balances under a given location and a concrete + * fungible id. + * + * double_map: who, asset_id => u128 + **/ + concreteFungibleBalances: AugmentedQuery Observable, [ + XcmV1MultiLocation, + XcmV1MultiLocation + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + vault: { + /** + * Overview of the allocation & balances at each strategy. Does not contain the balance held by + * the vault itself. + **/ + capitalStructure: AugmentedQuery Observable, [ + u64, + AccountId32 + ]> & QueryableStorageEntry; + /** + * Associated LP token for each vault. + **/ + lpTokensToVaults: AugmentedQuery Observable>, [ + u128 + ]> & QueryableStorageEntry; + /** + * The number of vaults, also used to generate the next vault identifier. + * + * # Note + * + * Cleaned up vaults do not decrement the counter. + **/ + vaultCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Info for each specific vaults. + **/ + vaults: AugmentedQuery Observable>, [ + u64 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + vesting: { + /** + * Counter used to uniquely identify vesting schedules within this pallet. + **/ + vestingScheduleNonce: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Vesting schedules of an account. + * + * VestingSchedules: map AccountId => Vec + **/ + vestingSchedules: AugmentedQuery Observable>, [ + AccountId32, + u128 + ]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + xcmpQueue: { + /** + * Inbound aggregate XCMP messages. It can only be one per ParaId/block. + **/ + inboundXcmpMessages: AugmentedQuery Observable, [ + u32, + u32 + ]> & QueryableStorageEntry; + /** + * Status of the inbound XCMP channels. + **/ + inboundXcmpStatus: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * The messages outbound in a given XCMP channel. + **/ + outboundXcmpMessages: AugmentedQuery Observable, [ + u32, + u16 + ]> & QueryableStorageEntry; + /** + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ + outboundXcmpStatus: AugmentedQuery Observable>, [ + ]> & QueryableStorageEntry; + /** + * The messages that exceeded max individual message weight budget. + * + * These message stay in this storage map until they are manually dispatched via + * `service_overweight`. + **/ + overweight: AugmentedQuery Observable>>, [ + u64 + ]> & QueryableStorageEntry; + /** + * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next + * available free overweight index. + **/ + overweightCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The configuration which controls the dynamics of the outbound queue. + **/ + queueConfig: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ + queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Any signal messages waiting to be sent. + **/ + signalMessages: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + } +} +//# sourceMappingURL=augment-api-query.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-query.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-query.d.ts.map new file mode 100644 index 00000000..6150ca6f --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-query.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-query.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-query.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAChG,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EACX,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,GAAG,EACH,iBAAiB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,KAAK,EACX,yBAAyB,EACzB,2CAA2C,EAC3C,wCAAwC,EACxC,sCAAsC,EACtC,yCAAyC,EACzC,kCAAkC,EAClC,2BAA2B,EAC3B,yCAAyC,EACzC,mCAAmC,EACnC,2BAA2B,EAC3B,mCAAmC,EACnC,iCAAiC,EACjC,4BAA4B,EAC5B,uCAAuC,EACvC,wCAAwC,EACxC,yCAAyC,EACzC,+BAA+B,EAC/B,kCAAkC,EAClC,oEAAoE,EACpE,2CAA2C,EAC3C,4CAA4C,EAC5C,qCAAqC,EACrC,4BAA4B,EAC5B,sCAAsC,EACtC,sBAAsB,EACtB,sBAAsB,EACtB,iCAAiC,EACjC,gBAAgB,EAChB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CAAC,CAAC;YACzG;;gBAEI;YACJ,WAAW,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,UAAU,CAAC,qCAAqC,CAAC,EAAE,EAAE,CAAC,GAChG,qBAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACpC;;gBAEI;YACJ,cAAc,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,GAAG,qBAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACzG;;gBAEI;YACJ,cAAc,EAAE,cAAc,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,SAAS,GAAG,UAAU,KAAK,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GACvG,qBAAqB,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;YACvC;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;SAC9C,CAAC;KACF;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-query.js b/dist/chains/polkadot/api-scheme/augments/augment-api-query.js new file mode 100644 index 00000000..75f99230 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-query.js @@ -0,0 +1,5 @@ +"use strict"; +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/api-base/types/storage"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.d.ts new file mode 100644 index 00000000..41bea48f --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.d.ts @@ -0,0 +1,614 @@ +import type { AugmentedRpc } from '@polkadot/rpc-core/types'; +import '@polkadot/rpc-core/types/jsonrpc'; +import type { StorageKey } from '@polkadot/types'; +import type { bool, Bytes, f64, HashMap, Json, Null, Option, Text, u32, U64, u64, U256, Vec } from '@polkadot/types-codec'; +import { BTreeMap, u128 } from '@polkadot/types-codec'; +import type { AnyNumber } from '@polkadot/types-codec/types'; +import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; +import type { EpochAuthorship } from '@polkadot/types/interfaces/babe'; +import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; +import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts'; +import type { BlockStats } from '@polkadot/types/interfaces/dev'; +import type { CreatedBlock } from '@polkadot/types/interfaces/engine'; +import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; +import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa'; +import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; +import type { StorageKind } from '@polkadot/types/interfaces/offchain'; +import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; +import type { AccountId, AccountId32, AssetId, Balance, BlockNumber, H64, H160, H256, Hash, Header, Index, Justification, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime'; +import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system'; +import type { IExtrinsic, Observable } from '@polkadot/types/types'; +import { Asset } from '../assets'; +import type { CurrencyId, CustomRpcBalance, CustomRpcCurrencyId } from '../common'; +import type { PalletPabloPoolId, PalletPabloPriceAggregate } from '../pablo'; +export type __AugmentedRpc = AugmentedRpc<() => unknown>; +declare module '@polkadot/rpc-core/types/jsonrpc' { + interface RpcInterface { + assets: { + /** + * Balance available for the specified account for the specified asset. + **/ + balanceOf: AugmentedRpc<(asset: CustomRpcCurrencyId | string, account: AccountId32 | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable>; + /** + * Lists the available recognized assets for the runtime. + **/ + listAssets: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable>>; + }; + author: { + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ + hasKey: AugmentedRpc<(publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable>; + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ + hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; + /** + * Insert a key into the keystore. + **/ + insertKey: AugmentedRpc<(keyType: Text | string, suri: Text | string, publicKey: Bytes | string | Uint8Array) => Observable>; + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ + pendingExtrinsics: AugmentedRpc<() => Observable>>; + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ + removeExtrinsic: AugmentedRpc<(bytesOrHash: Vec | (ExtrinsicOrHash | { + Hash: any; + } | { + Extrinsic: any; + } | string | Uint8Array)[]) => Observable>>; + /** + * Generate new session keys and returns the corresponding public keys + **/ + rotateKeys: AugmentedRpc<() => Observable>; + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ + submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; + /** + * Submit a fully formatted extrinsic for block inclusion + **/ + submitExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; + }; + babe: { + /** + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ + epochAuthorship: AugmentedRpc<() => Observable>>; + }; + beefy: { + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ + getFinalizedHead: AugmentedRpc<() => Observable>; + /** + * Returns the block most recently finalized by BEEFY, alongside side its justification. + **/ + subscribeJustifications: AugmentedRpc<() => Observable>; + }; + chain: { + /** + * Get header and body of a relay chain block + **/ + getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; + /** + * Get the block hash for a specific block + **/ + getBlockHash: AugmentedRpc<(blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Get hash of the last finalized block in the canon chain + **/ + getFinalizedHead: AugmentedRpc<() => Observable>; + /** + * Retrieves the header for a specific block + **/ + getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable
>; + /** + * Retrieves the newest header via subscription + **/ + subscribeAllHeads: AugmentedRpc<() => Observable
>; + /** + * Retrieves the best finalized header via subscription + **/ + subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; + /** + * Retrieves the best header via subscription + **/ + subscribeNewHeads: AugmentedRpc<() => Observable
>; + }; + childstate: { + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ + getKeys: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, prefix: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable>>; + /** + * Returns the keys with prefix from a child storage with pagination support + **/ + getKeysPaged: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, prefix: StorageKey | string | Uint8Array | any, count: u32 | AnyNumber | Uint8Array, startKey?: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable>>; + /** + * Returns a child storage entry at a specific block state + **/ + getStorage: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable>>; + /** + * Returns child storage entries for multiple keys at a specific block state + **/ + getStorageEntries: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | string | Uint8Array) => Observable>>>; + /** + * Returns the hash of a child storage entry at a block state + **/ + getStorageHash: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable>>; + /** + * Returns the size of a child storage entry at a block state + **/ + getStorageSize: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable>>; + }; + contracts: { + /** + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ + call: AugmentedRpc<(callRequest: ContractCallRequest | { + origin?: any; + dest?: any; + value?: any; + gasLimit?: any; + inputData?: any; + } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + /** + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ + getStorage: AugmentedRpc<(address: AccountId | string | Uint8Array, key: H256 | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>>; + /** + * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead + * Instantiate a new contract + **/ + instantiate: AugmentedRpc<(request: InstantiateRequest | { + origin?: any; + value?: any; + gasLimit?: any; + storageDepositLimit?: any; + code?: any; + data?: any; + salt?: any; + } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + /** + * @deprecated Not available in newer versions of the contracts interfaces.ts + * Returns the projected time a given contract will be able to sustain paying its rent + **/ + rentProjection: AugmentedRpc<(address: AccountId | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>>; + /** + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ + uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { + origin?: any; + code?: any; + storageDepositLimit?: any; + } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + }; + crowdloanRewards: { + /** + * The unclaimed amount + **/ + amountAvailableToClaimFor: AugmentedRpc<(accountId: AccountId | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable>; + }; + dev: { + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ + getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable>>; + }; + engine: { + /** + * Instructs the manual-seal authorship task to create a new block + **/ + createBlock: AugmentedRpc<(createEmpty: bool | boolean | Uint8Array, finalize: bool | boolean | Uint8Array, parentHash?: BlockHash | string | Uint8Array) => Observable>; + /** + * Instructs the manual-seal authorship task to finalize a block + **/ + finalizeBlock: AugmentedRpc<(hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable>; + }; + eth: { + /** + * Returns accounts list. + **/ + accounts: AugmentedRpc<() => Observable>>; + /** + * Returns the blockNumber + **/ + blockNumber: AugmentedRpc<() => Observable>; + /** + * Call contract, returning the output data. + **/ + call: AugmentedRpc<(request: EthCallRequest | { + from?: any; + to?: any; + gasPrice?: any; + gas?: any; + value?: any; + data?: any; + nonce?: any; + } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ + chainId: AugmentedRpc<() => Observable>; + /** + * Returns block author. + **/ + coinbase: AugmentedRpc<() => Observable>; + /** + * Estimate gas needed for execution of given contract. + **/ + estimateGas: AugmentedRpc<(request: EthCallRequest | { + from?: any; + to?: any; + gasPrice?: any; + gas?: any; + value?: any; + data?: any; + nonce?: any; + } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns fee history for given block count & reward percentiles + **/ + feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option> | null | Uint8Array | Vec | f64[]) => Observable>; + /** + * Returns current gas price. + **/ + gasPrice: AugmentedRpc<() => Observable>; + /** + * Returns balance of the given account. + **/ + getBalance: AugmentedRpc<(address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns block with given hash. + **/ + getBlockByHash: AugmentedRpc<(hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array) => Observable>>; + /** + * Returns block with given number. + **/ + getBlockByNumber: AugmentedRpc<(block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array) => Observable>>; + /** + * Returns the number of transactions in a block with given hash. + **/ + getBlockTransactionCountByHash: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns the number of transactions in a block with given block number. + **/ + getBlockTransactionCountByNumber: AugmentedRpc<(block: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns the code at given address at given time (block number). + **/ + getCode: AugmentedRpc<(address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns filter changes since last poll. + **/ + getFilterChanges: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ + getFilterLogs: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>>; + /** + * Returns logs matching given filter object. + **/ + getLogs: AugmentedRpc<(filter: EthFilter | { + fromBlock?: any; + toBlock?: any; + blockHash?: any; + address?: any; + topics?: any; + } | string | Uint8Array) => Observable>>; + /** + * Returns proof for account and storage. + **/ + getProof: AugmentedRpc<(address: H160 | string | Uint8Array, storageKeys: Vec | (H256 | string | Uint8Array)[], number: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns content of the storage at given address. + **/ + getStorageAt: AugmentedRpc<(address: H160 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns transaction at given block hash and index. + **/ + getTransactionByBlockHashAndIndex: AugmentedRpc<(hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable>; + /** + * Returns transaction by given block number and index. + **/ + getTransactionByBlockNumberAndIndex: AugmentedRpc<(number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable>; + /** + * Get transaction by its hash. + **/ + getTransactionByHash: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ + getTransactionCount: AugmentedRpc<(hash: H256 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns transaction receipt by transaction hash. + **/ + getTransactionReceipt: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns an uncles at given block and index. + **/ + getUncleByBlockHashAndIndex: AugmentedRpc<(hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable>; + /** + * Returns an uncles at given block and index. + **/ + getUncleByBlockNumberAndIndex: AugmentedRpc<(number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable>; + /** + * Returns the number of uncles in a block with given hash. + **/ + getUncleCountByBlockHash: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns the number of uncles in a block with given block number. + **/ + getUncleCountByBlockNumber: AugmentedRpc<(number: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ + getWork: AugmentedRpc<() => Observable>; + /** + * Returns the number of hashes per second that the node is mining with. + **/ + hashrate: AugmentedRpc<() => Observable>; + /** + * Returns max priority fee per gas + **/ + maxPriorityFeePerGas: AugmentedRpc<() => Observable>; + /** + * Returns true if client is actively mining new blocks. + **/ + mining: AugmentedRpc<() => Observable>; + /** + * Returns id of new block filter. + **/ + newBlockFilter: AugmentedRpc<() => Observable>; + /** + * Returns id of new filter. + **/ + newFilter: AugmentedRpc<(filter: EthFilter | { + fromBlock?: any; + toBlock?: any; + blockHash?: any; + address?: any; + topics?: any; + } | string | Uint8Array) => Observable>; + /** + * Returns id of new block filter. + **/ + newPendingTransactionFilter: AugmentedRpc<() => Observable>; + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ + protocolVersion: AugmentedRpc<() => Observable>; + /** + * Sends signed transaction, returning its hash. + **/ + sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ + sendTransaction: AugmentedRpc<(tx: EthTransactionRequest | { + from?: any; + to?: any; + gasPrice?: any; + gas?: any; + value?: any; + data?: any; + nonce?: any; + } | string | Uint8Array) => Observable>; + /** + * Used for submitting mining hashrate. + **/ + submitHashrate: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable>; + /** + * Used for submitting a proof-of-work solution. + **/ + submitWork: AugmentedRpc<(nonce: H64 | string | Uint8Array, headerHash: H256 | string | Uint8Array, mixDigest: H256 | string | Uint8Array) => Observable>; + /** + * Subscribe to Eth subscription. + **/ + subscribe: AugmentedRpc<(kind: EthSubKind | 'newHeads' | 'logs' | 'newPendingTransactions' | 'syncing' | number | Uint8Array, params?: EthSubParams | { + None: any; + } | { + Logs: any; + } | string | Uint8Array) => Observable>; + /** + * Returns an object with data about the sync status or false. + **/ + syncing: AugmentedRpc<() => Observable>; + /** + * Uninstalls filter. + **/ + uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; + }; + grandpa: { + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ + proveFinality: AugmentedRpc<(blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable>>; + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ + roundState: AugmentedRpc<() => Observable>; + /** + * Subscribes to grandpa justifications + **/ + subscribeJustifications: AugmentedRpc<() => Observable>; + }; + mmr: { + /** + * Generate MMR proof for the given leaf indices. + **/ + generateBatchProof: AugmentedRpc<(leafIndices: Vec | (u64 | AnyNumber | Uint8Array)[], at?: BlockHash | string | Uint8Array) => Observable>; + /** + * Generate MMR proof for given leaf index. + **/ + generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + }; + net: { + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ + listening: AugmentedRpc<() => Observable>; + /** + * Returns number of peers connected to node. + **/ + peerCount: AugmentedRpc<() => Observable>; + /** + * Returns protocol version. + **/ + version: AugmentedRpc<() => Observable>; + }; + offchain: { + /** + * Get offchain local storage under given key and prefix + **/ + localStorageGet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable>>; + /** + * Set offchain local storage under given key and prefix + **/ + localStorageSet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable>; + }; + pablo: { + /** + * Get the price(in quote asset) for the given asset pair in the given pool for the given amount + **/ + pricesFor: AugmentedRpc<(poolId: PalletPabloPoolId | string, baseAssetId: CustomRpcCurrencyId | string, quoteAssetId: CustomRpcCurrencyId | string, amount: CustomRpcBalance | string, at?: Hash | string | Uint8Array) => Observable>; + isFlatFee: AugmentedRpc<(assetId: AssetId | string) => Observable>>; + simulateAddLiquidity: AugmentedRpc<(who: AccountId | string, poolId: PalletPabloPoolId | string, amounts: BTreeMap | { + [assetIn in string]: string; + }) => Observable>; + simulateRemoveLiquidity: AugmentedRpc<(who: AccountId | string, poolId: PalletPabloPoolId | string, amount: Balance | string, minExpectedAmounts: BTreeMap | { + [assetIn in string]: string; + }) => Observable>>; + }; + payment: { + /** + * Query the detailed fee of a given encoded extrinsic + **/ + queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + /** + * Retrieves the fee information for an encoded extrinsic + **/ + queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + }; + reward: { + estimateFarmingReward: AugmentedRpc<(accountId: AccountId, poolCurrencyId: Text, rewardCurrencyId: Text, at?: Option) => Observable>; + computeFarmingReward: AugmentedRpc<(accountId: AccountId, poolCurrencyId: Text, rewardCurrencyId: Text, at?: Option) => Observable>; + }; + rpc: { + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ + methods: AugmentedRpc<() => Observable>; + }; + syncstate: { + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ + genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; + }; + system: { + /** + * Retrieves the next accountIndex as available on the node + **/ + accountNextIndex: AugmentedRpc<(accountId: AccountId | string | Uint8Array) => Observable>; + /** + * Adds the supplied directives to the current log filter + **/ + addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; + /** + * Adds a reserved peer + **/ + addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; + /** + * Retrieves the chain + **/ + chain: AugmentedRpc<() => Observable>; + /** + * Retrieves the chain type + **/ + chainType: AugmentedRpc<() => Observable>; + /** + * Dry run an extrinsic at a given block + **/ + dryRun: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; + /** + * Return health status of the node + **/ + health: AugmentedRpc<() => Observable>; + /** + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ + localListenAddresses: AugmentedRpc<() => Observable>>; + /** + * Returns the base58-encoded PeerId of the node + **/ + localPeerId: AugmentedRpc<() => Observable>; + /** + * Retrieves the node name + **/ + name: AugmentedRpc<() => Observable>; + /** + * Returns current state of the network + **/ + networkState: AugmentedRpc<() => Observable>; + /** + * Returns the roles the node is running as + **/ + nodeRoles: AugmentedRpc<() => Observable>>; + /** + * Returns the currently connected peers + **/ + peers: AugmentedRpc<() => Observable>>; + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ + properties: AugmentedRpc<() => Observable>; + /** + * Remove a reserved peer + **/ + removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; + /** + * Returns the list of reserved peers + **/ + reservedPeers: AugmentedRpc<() => Observable>>; + /** + * Resets the log filter to Substrate defaults + **/ + resetLogFilter: AugmentedRpc<() => Observable>; + /** + * Returns the state of the syncing of the node + **/ + syncState: AugmentedRpc<() => Observable>; + /** + * Retrieves the version of the node + **/ + version: AugmentedRpc<() => Observable>; + }; + web3: { + /** + * Returns current client version. + **/ + clientVersion: AugmentedRpc<() => Observable>; + /** + * Returns sha3 of the given data + **/ + sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; + }; + ibc: { + queryBalanceWithAddress: AugmentedRpc<(addr: AccountId32, assetId: CurrencyId) => Observable, SafeRpcWrapper>>>; + queryPacketAcknowledgement: AugmentedRpc<(chainId: Vec, portId: Vec, seq: u64) => Observable, SafeRpcWrapper>>>; + }; + } +} +//# sourceMappingURL=augment-api-rpc.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.d.ts.map new file mode 100644 index 00000000..8df9a495 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-rpc.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-rpc.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EACX,IAAI,EACJ,KAAK,EACL,GAAG,EACH,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,GAAG,EACH,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE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ACf,GAAG,EAAE,GAAG,KACJ,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAC3E,CAAC;SACF,CAAC;KACF;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.js b/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.js new file mode 100644 index 00000000..d27a47b8 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-rpc.js @@ -0,0 +1,5 @@ +"use strict"; +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/rpc-core/types/jsonrpc"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.d.ts new file mode 100644 index 00000000..a0b4a7ba --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.d.ts @@ -0,0 +1,193 @@ +import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/calls'; +import type { Bytes, Null, Option, u32, Vec } from '@polkadot/types-codec'; +import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; +import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; +import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; +import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { AccountId, Block, Header, Index, KeyTypeId, SlotDuration } from '@polkadot/types/interfaces/runtime'; +import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; +import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system'; +import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; +import type { IExtrinsic, Observable } from '@polkadot/types/types'; +export type __AugmentedCall = AugmentedCall; +export type __DecoratedCallBase = DecoratedCallBase; +declare module '@polkadot/api-base/types/calls' { + interface AugmentedCalls { + /** 0xbc9d89904f5b923f/1 */ + accountNonceApi: { + /** + * The API to query account nonce (aka transaction index) + **/ + accountNonce: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xdd718d5cc53262d4/1 */ + auraApi: { + /** + * Return the current set of authorities. + **/ + authorities: AugmentedCall Observable>>; + /** + * Returns the slot duration for Aura. + **/ + slotDuration: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x40fe3ad401f8959a/6 */ + blockBuilder: { + /** + * Apply the given extrinsic. + **/ + applyExtrinsic: AugmentedCall Observable>; + /** + * Check that the inherents are valid. + **/ + checkInherents: AugmentedCall Observable>; + /** + * Finish the current block. + **/ + finalizeBlock: AugmentedCall Observable
>; + /** + * Generate inherent extrinsics. + **/ + inherentExtrinsics: AugmentedCall Observable>>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xea93e3f16f3d6962/2 */ + collectCollationInfo: { + /** + * Collect information about a collation. + **/ + collectCollationInfo: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xdf6acb689907609b/4 */ + core: { + /** + * Execute the given block. + **/ + executeBlock: AugmentedCall Observable>; + /** + * Initialize a block with the given header. + **/ + initializeBlock: AugmentedCall Observable>; + /** + * Returns the version of the runtime. + **/ + version: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x37e397fc7c91f5e4/1 */ + metadata: { + /** + * Returns the metadata of a runtime + **/ + metadata: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xf78b278be53f454c/2 */ + offchainWorkerApi: { + /** + * Starts the off-chain task for given block header. + **/ + offchainWorker: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xab3c0572291feb8b/1 */ + sessionKeys: { + /** + * Decode the given public session keys. + **/ + decodeSessionKeys: AugmentedCall Observable>>>>; + /** + * Generate a set of session keys with optionally using the given seed. + **/ + generateSessionKeys: AugmentedCall | null | Uint8Array | Bytes | string) => Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xd2bc9897eed08f15/3 */ + taggedTransactionQueue: { + /** + * Validate the transaction. + **/ + validateTransaction: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x37c8bb1350a9a2a8/1 */ + transactionPaymentApi: { + /** + * The transaction fee details + **/ + queryFeeDetails: AugmentedCall Observable>; + /** + * The transaction info + **/ + queryInfo: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + } +} +//# sourceMappingURL=augment-api-runtime.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.d.ts.map new file mode 100644 index 00000000..9e5cea4c --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-runtime.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-runtime.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC3F,OAAO,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,6BA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ime.js b/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.js new file mode 100644 index 00000000..9a7d66bb --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-runtime.js @@ -0,0 +1,5 @@ +"use strict"; +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/api-base/types/calls"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-tx.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-api-tx.d.ts new file mode 100644 index 00000000..047d3cae --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-tx.d.ts @@ -0,0 +1,5111 @@ +import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/submittable'; +import type { Data } from '@polkadot/types'; +import type { bool, BTreeMap, Bytes, Compact, Option, Text, u8, U8aFixed, u16, u32, u64, u128, Vec, WrapperKeepOpaque } from '@polkadot/types-codec'; +import type { AnyNumber, Codec, IMethod, ITuple } from '@polkadot/types-codec/types'; +import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime'; +import type { ComposableTraitsDefiCurrencyPairCurrencyId, ComposableTraitsDefiSellCurrencyId, ComposableTraitsXcmXcmSellRequest } from '../common'; +import type { CommonMosaicRemoteAssetId, ComposableSupportEthereumAddress, ComposableTraitsAccountProxyProxyType, ComposableTraitsAssetsBasicAssetMetadata, ComposableTraitsBondedFinanceBondOffer, ComposableTraitsCallFilterCallFilterEntry, ComposableTraitsCurrencyRational64, ComposableTraitsDefiTake, ComposableTraitsDexAssetAmount, ComposableTraitsLendingCreateInput, ComposableTraitsLendingRepayStrategy, ComposableTraitsLendingUpdateInput, ComposableTraitsStakingRewardPoolConfiguration, ComposableTraitsStakingRewardUpdate, ComposableTraitsTimeTimeReleaseFunction, ComposableTraitsVaultVaultConfig, ComposableTraitsXcmAssetsXcmAssetLocation, CumulusPrimitivesParachainInherentParachainInherentData, DaliRuntimeOpaqueSessionKeys, DaliRuntimeOriginCaller, FrameSupportScheduleMaybeHashed, PalletCosmwasmCodeIdentifier, PalletCrowdloanRewardsModelsProof, PalletCrowdloanRewardsModelsRemoteAccount, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletIbcAny, PalletIbcPalletParams, PalletIbcPingSendPingParams, PalletIbcTransferParams, PalletIbcUpgradeParams, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletLiquidationsLiquidationStrategyConfiguration, PalletLiquidStakingUnstakeProvider, PalletMosaicAmmSwapInfo, PalletMosaicDecayBudgetPenaltyDecayer, PalletMosaicNetworkInfo, PalletMultisigTimepoint, SpRuntimeHeader, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '../crowdloanRewards'; +import type { PalletPabloPoolInitConfiguration } from '../pablo'; +import type { ComposableTraitsVestingVestingScheduleIdSet, ComposableTraitsVestingVestingScheduleInfo } from '../vesting'; +export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; +export type __SubmittableExtrinsic = SubmittableExtrinsic; +export type __SubmittableExtrinsicFunction = SubmittableExtrinsicFunction; +declare module '@polkadot/api-base/types/submittable' { + interface AugmentedSubmittables { + assetsTransactorRouter: { + /** + * Burns `amount` of `asset_id` into the `dest` account. + **/ + burnFrom: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + MultiAddress, + Compact + ]>; + /** + * Transfer `amount` of the `asset` from `origin` to `dest`. This requires root. + * + * # Errors + * - When `origin` is not root. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + forceTransfer: AugmentedSubmittable<(asset: u128 | AnyNumber | Uint8Array, source: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + MultiAddress, + MultiAddress, + Compact, + bool + ]>; + /** + * Transfer `amount` of the the native asset from `origin` to `dest`. This requires root. + * + * # Errors + * - When `origin` is not root. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + forceTransferNative: AugmentedSubmittable<(source: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + MultiAddress, + Compact, + bool + ]>; + /** + * Creates a new asset, minting `amount` of funds into the `dest` account. Intended to be + * used for creating wrapped assets, not associated with any project. + **/ + mintInitialize: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + MultiAddress + ]>; + /** + * Creates a new asset, minting `amount` of funds into the `dest` account. The `dest` + * account can use the democracy pallet to mint further assets, or if the governance_origin + * is set to an owned account, using signed transactions. In general the + * `governance_origin` should be generated from the pallet id. + **/ + mintInitializeWithGovernance: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, governanceOrigin: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + MultiAddress, + MultiAddress + ]>; + /** + * Mints `amount` of `asset_id` into the `dest` account. + **/ + mintInto: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + MultiAddress, + Compact + ]>; + /** + * Transfer `amount` of `asset` from `origin` to `dest`. + * + * # Errors + * - When `origin` is not signed. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + transfer: AugmentedSubmittable<(asset: u128 | AnyNumber | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + MultiAddress, + Compact, + bool + ]>; + /** + * Transfer all free balance of the `asset` from `origin` to `dest`. + * + * # Errors + * - When `origin` is not signed. + * - If the `dest` cannot be looked up. + **/ + transferAll: AugmentedSubmittable<(asset: u128 | AnyNumber | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + MultiAddress, + bool + ]>; + /** + * Transfer all free balance of the native asset from `origin` to `dest`. + * + * # Errors + * - When `origin` is not signed. + * - If the `dest` cannot be looked up. + **/ + transferAllNative: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + bool + ]>; + /** + * Transfer `amount` of the native asset from `origin` to `dest`. This is slightly + * cheaper to call, as it avoids an asset lookup. + * + * # Errors + * - When `origin` is not signed. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + transferNative: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Compact, + bool + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + assetsRegistry: { + /** + * Creates asset using `CurrencyFactory`. + * Raises `AssetRegistered` event + * + * Sets only required fields by `CurrencyFactory`, to upsert metadata use referenced + * pallet. + * + * # Parameters: + * + * `ratio` - + * Allows `bring you own gas` fees. + * Set to `None` to prevent payment in this asset, only transferring. + * Setting to some will NOT start minting tokens with specified ratio. + * + * ```python + * ratio = foreign_token / native_token + * amount_of_foreign_asset = amount_of_native_asset * ratio + * ``` + * + * `decimals` - `human` number of decimals + * + * `ed` - same meaning as in for foreign asset account (if None, then asset is not + * sufficient) + **/ + registerAsset: AugmentedSubmittable<(location: ComposableTraitsXcmAssetsXcmAssetLocation | { + parents?: any; + interior?: any; + } | string | Uint8Array, ratio: ComposableTraitsCurrencyRational64 | { + n?: any; + d?: any; + } | string | Uint8Array, decimals: Option | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic, [ + ComposableTraitsXcmAssetsXcmAssetLocation, + ComposableTraitsCurrencyRational64, + Option + ]>; + /** + * Minimal amount of `foreign_asset_id` required to send message to other network. + * Target network may or may not accept payment `amount`. + * Assumed this is maintained up to date by technical team. + * Mostly UI hint and fail fast solution. + * Messages sending smaller fee will not be sent. + * In theory can be updated by parachain sovereign account too. + * If None, than it is well known cannot pay with that asset on target_parachain_id. + * If Some(0), than price can be anything greater or equal to zero. + * If Some(MAX), than actually it forbids transfers. + **/ + setMinFee: AugmentedSubmittable<(targetParachainId: u32 | AnyNumber | Uint8Array, foreignAssetId: ComposableTraitsXcmAssetsXcmAssetLocation | { + parents?: any; + interior?: any; + } | string | Uint8Array, amount: Option | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic, [ + u32, + ComposableTraitsXcmAssetsXcmAssetLocation, + Option + ]>; + /** + * Given well existing asset, update its remote information. + * Use with caution as it allow reroute assets location. + * See `register_asset` for parameters meaning. + **/ + updateAsset: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, location: ComposableTraitsXcmAssetsXcmAssetLocation | { + parents?: any; + interior?: any; + } | string | Uint8Array, ratio: ComposableTraitsCurrencyRational64 | { + n?: any; + d?: any; + } | string | Uint8Array, decimals: Option | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic, [ + u128, + ComposableTraitsXcmAssetsXcmAssetLocation, + ComposableTraitsCurrencyRational64, + Option + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + assetTxPayment: { + /** + * Sets or resets payment asset. + * + * If `asset_id` is `None`, then native asset is used. + * Else new asset is configured and ED is on hold. + **/ + setPaymentAsset: AugmentedSubmittable<(payer: AccountId32 | string | Uint8Array, assetId: Option | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic, [ + AccountId32, + Option + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + authorship: { + /** + * Provide a set of uncles. + **/ + setUncles: AugmentedSubmittable<(newUncles: Vec | (SpRuntimeHeader | { + parentHash?: any; + number?: any; + stateRoot?: any; + extrinsicsRoot?: any; + digest?: any; + } | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + balances: { + /** + * Exactly as `transfer`, except the origin must be root and the source account may be + * specified. + * # + * - Same as transfer, but additional read and write because the source account is not + * assumed to be in the overlay. + * # + **/ + forceTransfer: AugmentedSubmittable<(source: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + MultiAddress, + Compact + ]>; + /** + * Unreserve some balance from a user by force. + * + * Can only be called by ROOT. + **/ + forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + u128 + ]>; + /** + * Set the balances of a given account. + * + * This will alter `FreeBalance` and `ReservedBalance` in storage. it will + * also alter the total issuance of the system (`TotalIssuance`) appropriately. + * If the new free or reserved balance is below the existential deposit, + * it will reset the account nonce (`frame_system::AccountNonce`). + * + * The dispatch origin for this call is `root`. + **/ + setBalance: AugmentedSubmittable<(who: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Compact, + Compact + ]>; + /** + * Transfer some liquid free balance to another account. + * + * `transfer` will set the `FreeBalance` of the sender and receiver. + * If the sender's account is below the existential deposit as a result + * of the transfer, the account will be reaped. + * + * The dispatch origin for this call must be `Signed` by the transactor. + * + * # + * - Dependent on arguments but not critical, given proper implementations for input config + * types. See related functions below. + * - It contains a limited number of reads and writes internally and no complex + * computation. + * + * Related functions: + * + * - `ensure_can_withdraw` is always called internally but has a bounded complexity. + * - Transferring balances to accounts that did not exist before will cause + * `T::OnNewAccount::on_new_account` to be called. + * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`. + * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check + * that the transfer will not kill the origin account. + * --------------------------------- + * - Origin account is already in memory, so no DB operations for them. + * # + **/ + transfer: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Compact + ]>; + /** + * Transfer the entire transferable balance from the caller account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the account has, causing the sender account to be killed (false), or + * transfer everything except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). # + * - O(1). Just like transfer, but reading the user's transferable balance first. + * # + **/ + transferAll: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + bool + ]>; + /** + * Same as the [`transfer`] call, but with a check that the transfer will not kill the + * origin account. + * + * 99% of the time you want [`transfer`] instead. + * + * [`transfer`]: struct.Pallet.html#method.transfer + **/ + transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Compact + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + bondedFinance: { + /** + * Bond to an offer. + * + * The issuer should provide the number of contracts they are willing to buy. + * Once there are no more contracts available on the offer, the `stake` put by the + * offer creator is refunded. + * + * The dispatch origin for this call must be _Signed_ and the sender must have the + * appropriate funds to buy the desired number of contracts. + * + * Allows the issuer to ask for their account to be kept alive using the `keep_alive` + * parameter. + * + * Emits a `NewBond`. + * Possibly Emits a `OfferCompleted`. + **/ + bond: AugmentedSubmittable<(offerId: u128 | AnyNumber | Uint8Array, nbOfBonds: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + bool + ]>; + /** + * Cancel a running offer. + * + * Blocking further bonds but not cancelling the currently vested rewards. The `stake` put + * by the offer creator is refunded. + * + * The dispatch origin for this call must be _Signed_ and the sender must be `AdminOrigin` + * + * Emits a `OfferCancelled`. + **/ + cancel: AugmentedSubmittable<(offerId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + /** + * Create a new bond offer. To be `bond` to later. + * + * The dispatch origin for this call must be _Signed_ and the sender must have the + * appropriate funds to stake the offer. + * + * Allows the issuer to ask for their account to be kept alive using the `keep_alive` + * parameter. + * + * Emits a `NewOffer`. + **/ + offer: AugmentedSubmittable<(offer: ComposableTraitsBondedFinanceBondOffer | { + beneficiary?: any; + asset?: any; + bondPrice?: any; + nbOfBonds?: any; + maturity?: any; + reward?: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsBondedFinanceBondOffer, + bool + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + callFilter: { + /** + * Disable a pallet function. + * + * The dispatch origin for this call must be _Signed_ and the sender must be + * `UpdateOrigin`. + * + * Possibly emits a `Disabled` event. + **/ + disable: AugmentedSubmittable<(entry: ComposableTraitsCallFilterCallFilterEntry | { + palletName?: any; + functionName?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsCallFilterCallFilterEntry + ]>; + /** + * Enable a previously disabled pallet function. + * + * The dispatch origin for this call must be _Signed_ and the sender must be + * `UpdateOrigin`. + * + * Possibly emits an `Enabled` event. + **/ + enable: AugmentedSubmittable<(entry: ComposableTraitsCallFilterCallFilterEntry | { + palletName?: any; + functionName?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsCallFilterCallFilterEntry + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + collatorSelection: { + /** + * Deregister `origin` as a collator candidate. Note that the collator can only leave on + * session change. The `CandidacyBond` will be unreserved immediately. + * + * This call will fail if the total number of candidates would drop below `MinCandidates`. + * + * This call is not available to `Invulnerable` collators. + **/ + leaveIntent: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Register this account as a collator candidate. The account must (a) already have + * registered session keys and (b) be able to reserve the `CandidacyBond`. + * + * This call is not available to `Invulnerable` collators. + **/ + registerAsCandidate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Set the candidacy bond amount. + **/ + setCandidacyBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128 + ]>; + /** + * Set the ideal number of collators (not including the invulnerables). + * If lowering this number, then the number of running collators could be higher than this figure. + * Aside from that edge case, there should be no other way to have more collators than the desired number. + **/ + setDesiredCandidates: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Set the list of invulnerable (fixed) collators. + **/ + setInvulnerables: AugmentedSubmittable<(updated: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + cosmwasm: { + /** + * Clear the admin of a contract. + * + * * Emits a `AdminCleared` event on success. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `contract` the address of the contract that we want to migrate. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + clearAdmin: AugmentedSubmittable<(contract: AccountId32 | string | Uint8Array, gas: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + u64 + ]>; + /** + * Execute a previously instantiated contract. + * + * * Emits an `Executed` event. + * * Possibly emit `Emitted` events. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `code_id` the unique code id generated when the code has been uploaded via [`upload`]. + * * `salt` the salt, usually used to instantiate the same contract multiple times. + * * `funds` the assets transferred to the contract prior to calling it's `instantiate` + * export. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + execute: AugmentedSubmittable<(contract: AccountId32 | string | Uint8Array, funds: BTreeMap>, gas: u64 | AnyNumber | Uint8Array, message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + BTreeMap>, + u64, + Bytes + ]>; + /** + * Instantiate a previously uploaded code resulting in a new contract being generated. + * + * * Emits an `Instantiated` event on success. + * * Emits an `Executed` event. + * * Possibly emit `Emitted` events. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `code_id` the unique code id generated when the code has been uploaded via [`upload`]. + * * `salt` the salt, usually used to instantiate the same contract multiple times. + * * `funds` the assets transferred to the contract prior to calling it's `instantiate` + * export. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + instantiate: AugmentedSubmittable<(codeIdentifier: PalletCosmwasmCodeIdentifier | { + CodeId: any; + } | { + CodeHash: any; + } | string | Uint8Array, salt: Bytes | string | Uint8Array, admin: Option | null | Uint8Array | AccountId32 | string, label: Bytes | string | Uint8Array, funds: BTreeMap>, gas: u64 | AnyNumber | Uint8Array, message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + PalletCosmwasmCodeIdentifier, + Bytes, + Option, + Bytes, + BTreeMap>, + u64, + Bytes + ]>; + /** + * Migrate a previously instantiated contract. + * + * * Emits a `Migrated` event on success. + * * Emits an `Executed` event. + * * Possibly emit `Emitted` events. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `contract` the address of the contract that we want to migrate + * * `new_code_identifier` the code identifier that we want to switch to. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + * * `message` MigrateMsg, that will be passed to the contract. + **/ + migrate: AugmentedSubmittable<(contract: AccountId32 | string | Uint8Array, newCodeIdentifier: PalletCosmwasmCodeIdentifier | { + CodeId: any; + } | { + CodeHash: any; + } | string | Uint8Array, gas: u64 | AnyNumber | Uint8Array, message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + PalletCosmwasmCodeIdentifier, + u64, + Bytes + ]>; + /** + * Update the admin of a contract. + * + * * Emits a `AdminUpdated` event on success. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `contract` the address of the contract that we want to migrate. + * * `new_admin` new admin of the contract that we want to update to. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + updateAdmin: AugmentedSubmittable<(contract: AccountId32 | string | Uint8Array, newAdmin: AccountId32 | string | Uint8Array, gas: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + AccountId32, + u64 + ]>; + /** + * Upload a CosmWasm contract. + * The function will ensure that the wasm module is well formed and that it fits the + * according limits. The module exports are going to be checked against the expected + * CosmWasm export signatures. + * + * * Emits an `Uploaded` event on success. + * + * Arguments + * + * - `origin` the original dispatching the extrinsic. + * - `code` the actual wasm code. + **/ + upload: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + council: { + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * # + * ## Weight + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + * - DB: + * - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`) + * - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec + * `O(P2)`) + * - any mutations done while executing `proposal` (`P1`) + * - up to 3 events + * # + **/ + close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: Compact | AnyNumber | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + H256, + Compact, + Compact, + Compact + ]>; + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * # + * Complexity: O(P) where P is the number of max proposals + * DB Weight: + * * Reads: Proposals + * * Writes: Voting, Proposals, ProposalOf + * # + **/ + disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * # + * ## Weight + * - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching + * `proposal` + * - DB: 1 read (codec `O(M)`) + DB access of `proposal` + * - 1 event + * # + **/ + execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Call, + Compact + ]>; + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * # + * ## Weight + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + * - DB: + * - 1 storage read `is_member` (codec `O(M)`) + * - 1 storage read `ProposalOf::contains_key` (codec `O(1)`) + * - DB accesses influenced by `threshold`: + * - EITHER storage accesses done by `proposal` (`threshold < 2`) + * - OR proposal insertion (`threshold <= 2`) + * - 1 storage mutation `Proposals` (codec `O(P2)`) + * - 1 storage mutation `ProposalCount` (codec `O(1)`) + * - 1 storage write `ProposalOf` (codec `O(B)`) + * - 1 storage write `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact, + Call, + Compact + ]>; + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * Requires root origin. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * # + * ## Weight + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + * - DB: + * - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the + * members + * - 1 storage read (codec `O(P)`) for reading the proposals + * - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal + * - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one + * # + **/ + setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Vec, + Option, + u32 + ]>; + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * # + * ## Weight + * - `O(M)` where `M` is members-count (code- and governance-bounded) + * - DB: + * - 1 storage read `Members` (codec `O(M)`) + * - 1 storage mutation `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + H256, + Compact, + bool + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + councilMembership: { + /** + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. + **/ + addMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. + **/ + changeKey: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. + **/ + clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. + **/ + removeMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. + **/ + resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. + **/ + setPrime: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. + **/ + swapMember: AugmentedSubmittable<(remove: AccountId32 | string | Uint8Array, add: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + AccountId32 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + crowdloanRewards: { + /** + * Associate a reward account. A valid proof has to be provided. + * This call also claim the first reward (a.k.a. the first payment, which is a % of the + * vested reward). + * If logic gate pass, no fees are applied. + * + * The proof should be: + * ```haskell + * proof = sign (concat prefix (hex reward_account)) + * ``` + **/ + associate: AugmentedSubmittable<(rewardAccount: AccountId32 | string | Uint8Array, proof: PalletCrowdloanRewardsModelsProof | { + RelayChain: any; + } | { + Ethereum: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + PalletCrowdloanRewardsModelsProof + ]>; + /** + * Claim a reward from the associated reward account. + * A previous call to `associate` should have been made. + * If logic gate pass, no fees are applied. + **/ + claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Initialize the pallet at the current timestamp. + **/ + initialize: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Initialize the pallet at the given timestamp. + **/ + initializeAt: AugmentedSubmittable<(at: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Populate pallet by adding more rewards. + * + * Each index in the rewards vector should contain: `remote_account`, `reward_account`, + * `vesting_period`. + * + * Can be called multiple times. If an remote account + * already has a reward, it will be replaced by the new reward value. + * + * Can only be called before `initialize`. + **/ + populate: AugmentedSubmittable<(rewards: Vec> | [ + (PalletCrowdloanRewardsModelsRemoteAccount | { + RelayChain: any; + } | { + Ethereum: any; + } | string | Uint8Array), + u128 | AnyNumber | Uint8Array, + u64 | AnyNumber | Uint8Array + ][]) => SubmittableExtrinsic, [ + Vec> + ]>; + unlockRewardsFor: AugmentedSubmittable<(rewardAccounts: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + cumulusXcm: { + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + currencyFactory: { + addRange: AugmentedSubmittable<(length: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Sets metadata + **/ + setMetadata: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, metadata: ComposableTraitsAssetsBasicAssetMetadata | { + symbol?: any; + name?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + ComposableTraitsAssetsBasicAssetMetadata + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + democracy: { + /** + * Permanently place a proposal into the blacklist. This prevents it from ever being + * proposed again. + * + * If called on a queued public or external proposal, then this will result in it being + * removed. If the `ref_index` supplied is an active referendum with the proposal hash, + * then it will be cancelled. + * + * The dispatch origin of this call must be `BlacklistOrigin`. + * + * - `proposal_hash`: The proposal hash to blacklist permanently. + * - `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be + * cancelled. + * + * Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a + * reasonable value). + **/ + blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [ + H256, + Option + ]>; + /** + * Remove a proposal. + * + * The dispatch origin of this call must be `CancelProposalOrigin`. + * + * - `prop_index`: The index of the proposal to cancel. + * + * Weight: `O(p)` where `p = PublicProps::::decode_len()` + **/ + cancelProposal: AugmentedSubmittable<(propIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact + ]>; + /** + * Cancel a proposal queued for enactment. + * + * The dispatch origin of this call must be _Root_. + * + * - `which`: The index of the referendum to cancel. + * + * Weight: `O(D)` where `D` is the items in the dispatch queue. Weighted as `D = 10`. + **/ + cancelQueued: AugmentedSubmittable<(which: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Remove a referendum. + * + * The dispatch origin of this call must be _Root_. + * + * - `ref_index`: The index of the referendum to cancel. + * + * # Weight: `O(1)`. + **/ + cancelReferendum: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact + ]>; + /** + * Clears all public proposals. + * + * The dispatch origin of this call must be _Root_. + * + * Weight: `O(1)`. + **/ + clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Delegate the voting power (with some given conviction) of the sending account. + * + * The balance delegated is locked for as long as it's delegated, and thereafter for the + * time appropriate for the conviction's lock period. + * + * The dispatch origin of this call must be _Signed_, and the signing account must either: + * - be delegating already; or + * - have no voting activity (if there is, then it will need to be removed/consolidated + * through `reap_vote` or `unvote`). + * + * - `to`: The account whose voting the `target` account's voting power will follow. + * - `conviction`: The conviction that will be attached to the delegated votes. When the + * account is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not + * be more than the account's current balance. + * + * Emits `Delegated`. + * + * Weight: `O(R)` where R is the number of referendums the voter delegating to has + * voted on. Weight is charged as if maximum votes. + **/ + delegate: AugmentedSubmittable<(to: AccountId32 | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + PalletDemocracyConviction, + u128 + ]>; + /** + * Schedule an emergency cancellation of a referendum. Cannot happen twice to the same + * referendum. + * + * The dispatch origin of this call must be `CancellationOrigin`. + * + * -`ref_index`: The index of the referendum to cancel. + * + * Weight: `O(1)`. + **/ + emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Enact a proposal from a referendum. For now we just make the weight be the maximum. + **/ + enactProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + H256, + u32 + ]>; + /** + * Schedule a referendum to be tabled once it is legal to schedule an external + * referendum. + * + * The dispatch origin of this call must be `ExternalOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Weight: `O(V)` with V number of vetoers in the blacklist of proposal. + * Decoding vec of length V. Charged as maximum + **/ + externalPropose: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to + * schedule an external referendum. + * + * The dispatch of this call must be `ExternalDefaultOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Unlike `external_propose`, blacklisting has no effect on this and it may replace a + * pre-scheduled `external_propose` call. + * + * Weight: `O(1)` + **/ + externalProposeDefault: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Schedule a majority-carries referendum to be tabled next once it is legal to schedule + * an external referendum. + * + * The dispatch of this call must be `ExternalMajorityOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Unlike `external_propose`, blacklisting has no effect on this and it may replace a + * pre-scheduled `external_propose` call. + * + * Weight: `O(1)` + **/ + externalProposeMajority: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Schedule the currently externally-proposed majority-carries referendum to be tabled + * immediately. If there is no externally-proposed referendum currently, or if there is one + * but it is not a majority-carries referendum then it fails. + * + * The dispatch of this call must be `FastTrackOrigin`. + * + * - `proposal_hash`: The hash of the current external proposal. + * - `voting_period`: The period that is allowed for voting on this proposal. + * Must be always greater than zero. + * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`. + * - `delay`: The number of block after voting has ended in approval and this should be + * enacted. This doesn't have a minimum amount. + * + * Emits `Started`. + * + * Weight: `O(1)` + **/ + fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + H256, + u32, + u32 + ]>; + /** + * Register the preimage for an upcoming proposal. This requires the proposal to be + * in the dispatch queue. No deposit is needed. When this call is successful, i.e. + * the preimage has not been uploaded before and matches some imminent proposal, + * no fee is paid. + * + * The dispatch origin of this call must be _Signed_. + * + * - `encoded_proposal`: The preimage of a proposal. + * + * Emits `PreimageNoted`. + * + * Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit). + **/ + noteImminentPreimage: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Same as `note_imminent_preimage` but origin is `OperationalPreimageOrigin`. + **/ + noteImminentPreimageOperational: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Register the preimage for an upcoming proposal. This doesn't require the proposal to be + * in the dispatch queue but does require a deposit, returned once enacted. + * + * The dispatch origin of this call must be _Signed_. + * + * - `encoded_proposal`: The preimage of a proposal. + * + * Emits `PreimageNoted`. + * + * Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit). + **/ + notePreimage: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Same as `note_preimage` but origin is `OperationalPreimageOrigin`. + **/ + notePreimageOperational: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Propose a sensitive action to be taken. + * + * The dispatch origin of this call must be _Signed_ and the sender must + * have funds to cover the deposit. + * + * - `proposal_hash`: The hash of the proposal preimage. + * - `value`: The amount of deposit (must be at least `MinimumDeposit`). + * + * Emits `Proposed`. + * + * Weight: `O(p)` + **/ + propose: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + H256, + Compact + ]>; + /** + * Remove an expired proposal preimage and collect the deposit. + * + * The dispatch origin of this call must be _Signed_. + * + * - `proposal_hash`: The preimage hash of a proposal. + * - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is + * weighted according to this value with no refund. + * + * This will only work after `VotingPeriod` blocks from the time that the preimage was + * noted, if it's the same account doing it. If it's a different account, then it'll only + * work an additional `EnactmentPeriod` later. + * + * Emits `PreimageReaped`. + * + * Weight: `O(D)` where D is length of proposal. + **/ + reapPreimage: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, proposalLenUpperBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + H256, + Compact + ]>; + /** + * Remove a vote for a referendum. + * + * If the `target` is equal to the signer, then this function is exactly equivalent to + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the referendum was cancelled, because the voter lost the referendum or + * because the conviction period is over. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account of the vote to be removed; this account must have voted for + * referendum `index`. + * - `index`: The index of referendum of the vote to be removed. + * + * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ + removeOtherVote: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + u32 + ]>; + /** + * Remove a vote for a referendum. + * + * If: + * - the referendum was cancelled, or + * - the referendum is ongoing, or + * - the referendum has ended such that + * - the vote of the account was in opposition to the result; or + * - there was no conviction to the account's vote; or + * - the account made a split vote + * ...then the vote is removed cleanly and a following call to `unlock` may result in more + * funds being available. + * + * If, however, the referendum has ended and: + * - it finished corresponding to the vote of the account, and + * - the account made a standard vote with conviction, and + * - the lock period of the conviction is not over + * ...then the lock will be aggregated into the overall account's lock, which may involve + * *overlocking* (where the two locks are combined into a single lock that is the maximum + * of both the amount locked and the time is it locked for). + * + * The dispatch origin of this call must be _Signed_, and the signer must have a vote + * registered for referendum `index`. + * + * - `index`: The index of referendum of the vote to be removed. + * + * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ + removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Signals agreement with a particular proposal. + * + * The dispatch origin of this call must be _Signed_ and the sender + * must have funds to cover the deposit, equal to the original deposit. + * + * - `proposal`: The index of the proposal to second. + * - `seconds_upper_bound`: an upper bound on the current number of seconds on this + * proposal. Extrinsic is weighted according to this value with no refund. + * + * Weight: `O(S)` where S is the number of seconds a proposal already has. + **/ + second: AugmentedSubmittable<(proposal: Compact | AnyNumber | Uint8Array, secondsUpperBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact, + Compact + ]>; + /** + * Undelegate the voting power of the sending account. + * + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued. + * + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. + * + * Emits `Undelegated`. + * + * Weight: `O(R)` where R is the number of referendums the voter delegating to has + * voted on. Weight is charged as if maximum votes. + **/ + undelegate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Unlock tokens that have an expired lock. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account to remove the lock on. + * + * Weight: `O(R)` with R number of vote of target. + **/ + unlock: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Veto and blacklist the external proposal hash. + * + * The dispatch origin of this call must be `VetoOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal to veto and blacklist. + * + * Emits `Vetoed`. + * + * Weight: `O(V + log(V))` where V is number of `existing vetoers` + **/ + vetoExternal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; + * otherwise it is a vote to keep the status quo. + * + * The dispatch origin of this call must be _Signed_. + * + * - `ref_index`: The index of the referendum to vote for. + * - `vote`: The vote configuration. + * + * Weight: `O(R)` where R is the number of referendums the voter has voted on. + **/ + vote: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | { + Standard: any; + } | { + Split: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + PalletDemocracyVoteAccountVote + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + dexRouter: { + /** + * Add liquidity to the underlying pablo pool. + * Works only for single pool route. + **/ + addLiquidity: AugmentedSubmittable<(assets: BTreeMap, minMintAmount: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + BTreeMap, + u128, + bool + ]>; + /** + * Buy `amount` of quote asset for `asset_pair` via route found in router. + * On successful underlying DEX pallets will emit appropriate event. + **/ + buy: AugmentedSubmittable<(inAssetId: u128 | AnyNumber | Uint8Array, outAsset: ComposableTraitsDexAssetAmount | { + assetId?: any; + amount?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + ComposableTraitsDexAssetAmount + ]>; + /** + * Remove liquidity from the underlying pablo pool. + * Works only for single pool route. + **/ + removeLiquidity: AugmentedSubmittable<(lpAmount: u128 | AnyNumber | Uint8Array, minReceive: BTreeMap) => SubmittableExtrinsic, [ + u128, + BTreeMap + ]>; + /** + * Exchange `amount` of quote asset for `asset_pair` via route found in router. + * On successful underlying DEX pallets will emit appropriate event + **/ + swap: AugmentedSubmittable<(inAsset: ComposableTraitsDexAssetAmount | { + assetId?: any; + amount?: any; + } | string | Uint8Array, minReceive: ComposableTraitsDexAssetAmount | { + assetId?: any; + amount?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsDexAssetAmount, + ComposableTraitsDexAssetAmount + ]>; + /** + * Create, update or remove route. + * On successful emits one of `RouteAdded`, `RouteUpdated` or `RouteDeleted`. + **/ + updateRoute: AugmentedSubmittable<(assetPair: ComposableTraitsDefiCurrencyPairCurrencyId | { + base?: any; + quote?: any; + } | string | Uint8Array, route: Option> | null | Uint8Array | Vec | (u128 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic, [ + ComposableTraitsDefiCurrencyPairCurrencyId, + Option> + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + dmpQueue: { + /** + * Service a single overweight message. + * + * - `origin`: Must pass `ExecuteOverweightOrigin`. + * - `index`: The index of the overweight message to service. + * - `weight_limit`: The amount of weight that message execution may take. + * + * Errors: + * - `Unknown`: Message of `index` is unknown. + * - `OverLimit`: Message execution may use greater than `weight_limit`. + * + * Events: + * - `OverweightServiced`: On success. + **/ + serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64, + u64 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + farming: { + deposit: AugmentedSubmittable<(poolCurrencyId: u128, amount: u128) => SubmittableExtrinsic, [ + u128, + u128 + ]>; + claim: AugmentedSubmittable<(poolCurrencyId: u128, rewardCurrencyId: u128) => SubmittableExtrinsic, [ + u128, + u128 + ]>; + withdraw: AugmentedSubmittable<(poolCurrencyId: u128, amount: u128) => SubmittableExtrinsic, [ + u128, + u128 + ]>; + updateRewardSchedule: AugmentedSubmittable<(poolCurrencyId: u128, currencyId: u128, periodCount: u128, amount: u128) => SubmittableExtrinsic, [ + u128, + u128, + u128, + u128 + ]>; + }; + dutchAuction: { + /** + * Inserts or replaces auction configuration. + * Already running auctions are not updated. + **/ + addConfiguration: AugmentedSubmittable<(configurationId: u128 | AnyNumber | Uint8Array, configuration: ComposableTraitsTimeTimeReleaseFunction | { + LinearDecrease: any; + } | { + StairstepExponentialDecrease: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + ComposableTraitsTimeTimeReleaseFunction + ]>; + /** + * sell `order` in auction with `configuration` + * some deposit is taken for storing sell order + **/ + ask: AugmentedSubmittable<(order: ComposableTraitsDefiSellCurrencyId | { + pair?: any; + take?: any; + } | string | Uint8Array, configuration: ComposableTraitsTimeTimeReleaseFunction | { + LinearDecrease: any; + } | { + StairstepExponentialDecrease: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsDefiSellCurrencyId, + ComposableTraitsTimeTimeReleaseFunction + ]>; + /** + * allows to remove `order_id` from storage + **/ + liquidate: AugmentedSubmittable<(orderId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128 + ]>; + /** + * adds take to list, does not execute take immediately + **/ + take: AugmentedSubmittable<(orderId: u128 | AnyNumber | Uint8Array, take: ComposableTraitsDefiTake | { + amount?: any; + limit?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + ComposableTraitsDefiTake + ]>; + xcmSell: AugmentedSubmittable<(request: ComposableTraitsXcmXcmSellRequest | { + orderId?: any; + fromTo?: any; + order?: any; + configuration?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsXcmXcmSellRequest + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + governanceRegistry: { + /** + * Sets the value of an `asset_id` to root. Only callable by root. + **/ + grantRoot: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128 + ]>; + /** + * Removes mapping of an `asset_id`. Only callable by root. + **/ + remove: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + /** + * Sets the value of an `asset_id` to the signed account id. Only callable by root. + **/ + set: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, value: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + AccountId32 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + ibc: { + deliver: AugmentedSubmittable<(messages: Vec | (PalletIbcAny | { + typeUrl?: any; + value?: any; + } | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Freeze a client at a specific height + **/ + freezeClient: AugmentedSubmittable<(clientId: Bytes | string | Uint8Array, height: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Bytes, + u64 + ]>; + setParams: AugmentedSubmittable<(params: PalletIbcPalletParams | { + sendEnabled?: any; + receiveEnabled?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + PalletIbcPalletParams + ]>; + transfer: AugmentedSubmittable<(params: PalletIbcTransferParams | { + to?: any; + sourceChannel?: any; + timeout?: any; + } | string | Uint8Array, assetId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, memo?: Text) => SubmittableExtrinsic, [ + PalletIbcTransferParams, + u128, + u128, + Option + ]>; + /** + * We write the consensus & client state under these predefined paths so that + * we can produce state proofs of the values to connected chains + * in order to execute client upgrades. + **/ + upgradeClient: AugmentedSubmittable<(params: PalletIbcUpgradeParams | { + clientState?: any; + consensusState?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + PalletIbcUpgradeParams + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + ibcPing: { + sendPing: AugmentedSubmittable<(params: PalletIbcPingSendPingParams | { + data?: any; + timeoutHeightOffset?: any; + timeoutTimestampOffset?: any; + channelId?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + PalletIbcPingSendPingParams + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + identity: { + /** + * Add a registrar to the system. + * + * The dispatch origin for this call must be `T::RegistrarOrigin`. + * + * - `account`: the account of the registrar. + * + * Emits `RegistrarAdded` if successful. + * + * # + * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded). + * - One storage mutation (codec `O(R)`). + * - One event. + * # + **/ + addRegistrar: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Add the given account to the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + **/ + addSub: AugmentedSubmittable<(sub: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, data: Data | { + None: any; + } | { + Raw: any; + } | { + BlakeTwo256: any; + } | { + Sha256: any; + } | { + Keccak256: any; + } | { + ShaThree256: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Data + ]>; + /** + * Cancel a previous request. + * + * Payment: A previously reserved deposit is returned on success. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is no longer requested. + * + * Emits `JudgementUnrequested` if successful. + * + * # + * - `O(R + X)`. + * - One balance-reserve operation. + * - One storage mutation `O(R + X)`. + * - One event + * # + **/ + cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Clear an account's identity info and all sub-accounts and return all deposits. + * + * Payment: All reserved balances on the account are returned. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. + * + * Emits `IdentityCleared` if successful. + * + * # + * - `O(R + S + X)` + * - where `R` registrar-count (governance-bounded). + * - where `S` subs-count (hard- and deposit-bounded). + * - where `X` additional-field-count (deposit-bounded and code-bounded). + * - One balance-unreserve operation. + * - `2` storage reads and `S + 2` storage deletions. + * - One event. + * # + **/ + clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove an account's identity and sub-account information and slash the deposits. + * + * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by + * `Slash`. Verification request deposits are not returned; they should be cancelled + * manually using `cancel_request`. + * + * The dispatch origin for this call must match `T::ForceOrigin`. + * + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. + * + * Emits `IdentityKilled` if successful. + * + * # + * - `O(R + S + X)`. + * - One balance-reserve operation. + * - `S + 2` storage mutations. + * - One event. + * # + **/ + killIdentity: AugmentedSubmittable<(target: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress + ]>; + /** + * Provide a judgement for an account's identity. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `reg_index`. + * + * - `reg_index`: the index of the registrar whose judgement is being made. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. + * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. + * + * Emits `JudgementGiven` if successful. + * + * # + * - `O(R + X)`. + * - One balance-transfer operation. + * - Up to one account-lookup operation. + * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`. + * - One event. + * # + **/ + provideJudgement: AugmentedSubmittable<(regIndex: Compact | AnyNumber | Uint8Array, target: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, judgement: PalletIdentityJudgement | { + Unknown: any; + } | { + FeePaid: any; + } | { + Reasonable: any; + } | { + KnownGood: any; + } | { + OutOfDate: any; + } | { + LowQuality: any; + } | { + Erroneous: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + MultiAddress, + PalletIdentityJudgement + ]>; + /** + * Remove the sender as a sub-account. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender (*not* the original depositor). + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * super-identity. + * + * NOTE: This should not normally be used, but is provided in the case that the non- + * controller of an account is maliciously registered as a sub-account. + **/ + quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove the given account from the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + **/ + removeSub: AugmentedSubmittable<(sub: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress + ]>; + /** + * Alter the associated name of the given sub-account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + **/ + renameSub: AugmentedSubmittable<(sub: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, data: Data | { + None: any; + } | { + Raw: any; + } | { + BlakeTwo256: any; + } | { + Sha256: any; + } | { + Keccak256: any; + } | { + ShaThree256: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Data + ]>; + /** + * Request a judgement from a registrar. + * + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement + * given. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is requested. + * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: + * + * ```nocompile + * Self::registrars().get(reg_index).unwrap().fee + * ``` + * + * Emits `JudgementRequested` if successful. + * + * # + * - `O(R + X)`. + * - One balance-reserve operation. + * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`. + * - One event. + * # + **/ + requestJudgement: AugmentedSubmittable<(regIndex: Compact | AnyNumber | Uint8Array, maxFee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact, + Compact + ]>; + /** + * Change the account associated with a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `new`: the new account ID. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis) + * # + **/ + setAccountId: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + AccountId32 + ]>; + /** + * Set the fee required for a judgement to be requested from a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fee`: the new fee. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis) + * # + **/ + setFee: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact, + Compact + ]>; + /** + * Set the field information for a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fields`: the fields that the registrar concerns themselves with. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis) + * # + **/ + setFields: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic, [ + Compact, + PalletIdentityBitFlags + ]>; + /** + * Set an account's identity information and reserve the appropriate deposit. + * + * If the account already has identity information, the deposit is taken as part payment + * for the new deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * - `info`: The identity information. + * + * Emits `IdentitySet` if successful. + * + * # + * - `O(X + X' + R)` + * - where `X` additional-field-count (deposit-bounded and code-bounded) + * - where `R` judgements-count (registrar-count-bounded) + * - One balance reserve operation. + * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`). + * - One event. + * # + **/ + setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { + additional?: any; + display?: any; + legal?: any; + web?: any; + riot?: any; + email?: any; + pgpFingerprint?: any; + image?: any; + twitter?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + PalletIdentityIdentityInfo + ]>; + /** + * Set the sub-accounts of the sender. + * + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned + * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. + * + * - `subs`: The identity's (new) sub-accounts. + * + * # + * - `O(P + S)` + * - where `P` old-subs-count (hard- and deposit-bounded). + * - where `S` subs-count (hard- and deposit-bounded). + * - At most one balance operations. + * - DB: + * - `P + S` storage mutations (codec complexity `O(1)`) + * - One storage read (codec complexity `O(P)`). + * - One storage write (codec complexity `O(S)`). + * - One storage-exists (`IdentityOf::contains_key`). + * # + **/ + setSubs: AugmentedSubmittable<(subs: Vec> | [ + AccountId32 | string | Uint8Array, + (Data | { + None: any; + } | { + Raw: any; + } | { + BlakeTwo256: any; + } | { + Sha256: any; + } | { + Keccak256: any; + } | { + ShaThree256: any; + } | string | Uint8Array) + ][]) => SubmittableExtrinsic, [ + Vec> + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + indices: { + /** + * Assign an previously unassigned index. + * + * Payment: `Deposit` is reserved from the sender account. + * + * The dispatch origin for this call must be _Signed_. + * + * - `index`: the index to be claimed. This must not be in use. + * + * Emits `IndexAssigned` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - One reserve operation. + * - One event. + * ------------------- + * - DB Weight: 1 Read/Write (Accounts) + * # + **/ + claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Force an index to an account. This doesn't require a deposit. If the index is already + * held, then any deposit is reimbursed to its current owner. + * + * The dispatch origin for this call must be _Root_. + * + * - `index`: the index to be (re-)assigned. + * - `new`: the new owner of the index. This function is a no-op if it is equal to sender. + * - `freeze`: if set to `true`, will freeze the index so it cannot be transferred. + * + * Emits `IndexAssigned` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - Up to one reserve operation. + * - One event. + * ------------------- + * - DB Weight: + * - Reads: Indices Accounts, System Account (original owner) + * - Writes: Indices Accounts, System Account (original owner) + * # + **/ + forceTransfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + u32, + bool + ]>; + /** + * Free up an index owned by the sender. + * + * Payment: Any previous deposit placed for the index is unreserved in the sender account. + * + * The dispatch origin for this call must be _Signed_ and the sender must own the index. + * + * - `index`: the index to be freed. This must be owned by the sender. + * + * Emits `IndexFreed` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - One reserve operation. + * - One event. + * ------------------- + * - DB Weight: 1 Read/Write (Accounts) + * # + **/ + free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Freeze an index so it will always point to the sender account. This consumes the + * deposit. + * + * The dispatch origin for this call must be _Signed_ and the signing account must have a + * non-frozen account `index`. + * + * - `index`: the index to be frozen in place. + * + * Emits `IndexFrozen` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - Up to one slash operation. + * - One event. + * ------------------- + * - DB Weight: 1 Read/Write (Accounts) + * # + **/ + freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Assign an index already owned by the sender to another account. The balance reservation + * is effectively transferred to the new account. + * + * The dispatch origin for this call must be _Signed_. + * + * - `index`: the index to be re-assigned. This must be owned by the sender. + * - `new`: the new owner of the index. This function is a no-op if it is equal to sender. + * + * Emits `IndexAssigned` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - One transfer operation. + * - One event. + * ------------------- + * - DB Weight: + * - Reads: Indices Accounts, System Account (recipient) + * - Writes: Indices Accounts, System Account (recipient) + * # + **/ + transfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + u32 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + lending: { + /** + * Borrow asset against deposited collateral. + * - `origin` : Sender of this extrinsic. (Also the user who wants to borrow from market.) + * - `market_id` : Market index from which user wants to borrow. + * - `amount_to_borrow` : Amount which user wants to borrow. + **/ + borrow: AugmentedSubmittable<(marketId: u32 | AnyNumber | Uint8Array, amountToBorrow: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32, + u128 + ]>; + /** + * Create a new lending market. + * - `origin` : Sender of this extrinsic. Manager for new market to be created. Can pause + * borrow operations. + * - `input` : Borrow & deposits of assets, percentages. + * + * `origin` irreversibly pays `T::OracleMarketCreationStake`. + **/ + createMarket: AugmentedSubmittable<(input: ComposableTraitsLendingCreateInput | { + updatable?: any; + currencyPair?: any; + reservedFactor?: any; + interestRateModel?: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsLendingCreateInput, + bool + ]>; + /** + * Deposit collateral to market. + * - `origin` : Sender of this extrinsic. + * - `market` : Market index to which collateral will be deposited. + * - `amount` : Amount of collateral to be deposited. + **/ + depositCollateral: AugmentedSubmittable<(marketId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u32, + u128, + bool + ]>; + /** + * Check if borrows for the `borrowers` accounts are required to be liquidated, initiate + * liquidation. + * - `origin` : Sender of this extrinsic. + * - `market_id` : Market index from which `borrower` has taken borrow. + * - `borrowers` : Vector of borrowers accounts' ids. + **/ + liquidate: AugmentedSubmittable<(marketId: u32 | AnyNumber | Uint8Array, borrowers: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [ + u32, + Vec + ]>; + /** + * Repay part or all of the borrow in the given market. + * + * # Parameters + * + * - `origin` : Sender of this extrinsic. (Also the user who repays beneficiary's borrow.) + * - `market_id` : [`MarketId`] of the market being repaid. + * - `beneficiary` : [`AccountId`] of the account who is in debt to (has borrowed assets + * from) the market. This can be same or different from the `origin`, allowing one + * account to pay off another's debts. + * - `amount`: The amount to repay. See [`RepayStrategy`] for more information. + **/ + repayBorrow: AugmentedSubmittable<(marketId: u32 | AnyNumber | Uint8Array, beneficiary: AccountId32 | string | Uint8Array, amount: ComposableTraitsLendingRepayStrategy | { + TotalDebt: any; + } | { + PartialAmount: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u32, + AccountId32, + ComposableTraitsLendingRepayStrategy, + bool + ]>; + /** + * owner must be very careful calling this + **/ + updateMarket: AugmentedSubmittable<(marketId: u32 | AnyNumber | Uint8Array, input: ComposableTraitsLendingUpdateInput | { + collateralFactor?: any; + underCollateralizedWarnPercent?: any; + liquidators?: any; + maxPriceAge?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u32, + ComposableTraitsLendingUpdateInput + ]>; + /** + * Withdraw collateral from market. + * - `origin` : Sender of this extrinsic. + * - `market_id` : Market index from which collateral will be withdraw. + * - `amount` : Amount of collateral to be withdrawn. + **/ + withdrawCollateral: AugmentedSubmittable<(marketId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32, + u128 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + liquidations: { + addLiquidationStrategy: AugmentedSubmittable<(configuration: PalletLiquidationsLiquidationStrategyConfiguration | { + DutchAuction: any; + } | { + Pablo: any; + } | { + Xcm: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + PalletLiquidationsLiquidationStrategyConfiguration + ]>; + sell: AugmentedSubmittable<(order: ComposableTraitsDefiSellCurrencyId | { + pair?: any; + take?: any; + } | string | Uint8Array, configuration: Vec | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic, [ + ComposableTraitsDefiSellCurrencyId, + Vec + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + palletLiquidStaking: { + stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + unstake: AugmentedSubmittable<(liquidAmount: u128 | AnyNumber | Uint8Array, unstakeProvider: Codec | PalletLiquidStakingUnstakeProvider | 'RelayChain' | 'Loans' | 'MatchingPool' | Uint8Array) => SubmittableExtrinsic, [ + u128, + PalletLiquidStakingUnstakeProvider + ]>; + }; + mosaic: { + /** + * This is called by the Relayer to confirm that it will relay a transaction. + * + * Once this is called, the sender will be unable to reclaim their tokens. + * + * If all the funds are not removed, the reclaim period will not be reset. If the + * reclaim period is not reset, the Relayer will still attempt to pick up the + * remainder of the transaction. + * + * # Restrictions + * - Only callable by the current Relayer + * - Outgoing transaction must exist for the user + * - Amount must be equal or lower than what the user has locked + * + * # Note + * - Reclaim period is not reset if not all the funds are moved; meaning that the clock + * remains ticking for the relayer to pick up the rest of the transaction. + **/ + acceptTransfer: AugmentedSubmittable<(from: AccountId32 | string | Uint8Array, networkId: u32 | AnyNumber | Uint8Array, remoteAssetId: CommonMosaicRemoteAssetId | { + EthereumTokenAddress: any; + } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + u32, + CommonMosaicRemoteAssetId, + u128 + ]>; + /** + * Adds a remote AMM for a specific Network + **/ + addRemoteAmmId: AugmentedSubmittable<(networkId: u32 | AnyNumber | Uint8Array, ammId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32, + u128 + ]>; + /** + * Claims user funds from the `OutgoingTransactions`, in case that the Relayer has not + * picked them up. + **/ + claimStaleTo: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, to: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + AccountId32 + ]>; + /** + * Collects funds deposited by the Relayer into the owner's account + **/ + claimTo: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, to: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + AccountId32 + ]>; + /** + * Removes a remote AMM for a specific Network + **/ + removeRemoteAmmId: AugmentedSubmittable<(networkId: u32 | AnyNumber | Uint8Array, ammId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32, + u128 + ]>; + /** + * Burns funds waiting in incoming_transactions that are still unclaimed. + * + * May be used by the Relayer in case of finality issues on the other side of the bridge. + **/ + rescindTimelockedMint: AugmentedSubmittable<(networkId: u32 | AnyNumber | Uint8Array, remoteAssetId: CommonMosaicRemoteAssetId | { + EthereumTokenAddress: any; + } | string | Uint8Array, account: AccountId32 | string | Uint8Array, untrustedAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32, + CommonMosaicRemoteAssetId, + AccountId32, + u128 + ]>; + /** + * Rotates the Relayer Account + * + * # Restrictions + * - Only callable by the current Relayer. + * - The Time To Live (TTL) must be greater than the [`MinimumTTL`](Config::MinimumTTL) + **/ + rotateRelayer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, validatedTtl: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + u32 + ]>; + /** + * Sets the relayer budget for _incoming_ transactions for specific assets. Does not reset + * the current `penalty`. + * + * # Restrictions + * - This can only be called by the [`ControlOrigin`](Config::ControlOrigin) + **/ + setBudget: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, decay: PalletMosaicDecayBudgetPenaltyDecayer | { + Linear: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + PalletMosaicDecayBudgetPenaltyDecayer + ]>; + /** + * Sets supported networks and maximum transaction sizes accepted by the Relayer. + * + * Only callable by the current Relayer + **/ + setNetwork: AugmentedSubmittable<(networkId: u32 | AnyNumber | Uint8Array, networkInfo: PalletMosaicNetworkInfo | { + enabled?: any; + minTransferSize?: any; + maxTransferSize?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u32, + PalletMosaicNetworkInfo + ]>; + /** + * Sets the current Relayer configuration. + * + * This is enacted immediately and invalidates inflight/ incoming transactions from the + * previous Relayer. However, existing budgets remain in place. + * + * This can only be called by the [`ControlOrigin`]. + * + * [`ControlOrigin`]: https://dali.devnets.composablefinance.ninja/doc/pallet_mosaic/pallet/trait.Config.html#associatedtype.ControlOrigin + **/ + setRelayer: AugmentedSubmittable<(relayer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Sets the time lock, in blocks, on new transfers + * + * This can only be called by the [`ControlOrigin`](Config::ControlOrigin) + **/ + setTimelockDuration: AugmentedSubmittable<(period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Mints new tokens into the pallet's wallet, ready for the user to be picked up after + * `lock_time` blocks have expired. + * + * Only callable by the current Relayer + **/ + timelockedMint: AugmentedSubmittable<(networkId: u32 | AnyNumber | Uint8Array, remoteAssetId: CommonMosaicRemoteAssetId | { + EthereumTokenAddress: any; + } | string | Uint8Array, to: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, lockTime: u32 | AnyNumber | Uint8Array, id: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + u32, + CommonMosaicRemoteAssetId, + AccountId32, + u128, + u32, + H256 + ]>; + /** + * Creates an outgoing transaction request, locking the funds locally until picked up by + * the Relayer. + * + * # Restrictions + * - Network must be supported. + * - AssetId must be supported. + * - Amount must be lower than the networks `max_transfer_size`. + * - Origin must have sufficient funds. + * - Transfers near Balance::max may result in overflows, which are caught and returned as + * an error. + **/ + transferTo: AugmentedSubmittable<(networkId: u32 | AnyNumber | Uint8Array, assetId: u128 | AnyNumber | Uint8Array, address: ComposableSupportEthereumAddress | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, minimumAmountOut: u128 | AnyNumber | Uint8Array, swapToNative: bool | boolean | Uint8Array, sourceUserAccount: AccountId32 | string | Uint8Array, ammSwapInfo: Option | null | Uint8Array | PalletMosaicAmmSwapInfo | { + destinationTokenOutAddress?: any; + destinationAmm?: any; + minimumAmountOut?: any; + } | string, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u32, + u128, + ComposableSupportEthereumAddress, + u128, + u128, + bool, + AccountId32, + Option, + bool + ]>; + /** + * Update a network asset mapping. + * + * This can only be called by the [`ControlOrigin`](Config::ControlOrigin) + * + * Possibly emits one of: + * - `AssetMappingCreated` + * - `AssetMappingDeleted` + * - `AssetMappingUpdated` + **/ + updateAssetMapping: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, networkId: u32 | AnyNumber | Uint8Array, remoteAssetId: Option | null | Uint8Array | CommonMosaicRemoteAssetId | { + EthereumTokenAddress: any; + } | string) => SubmittableExtrinsic, [ + u128, + u32, + Option + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + multisig: { + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call_hash`: The hash of the call to be executed. + * + * NOTE: If this is the final approval, you will want to use `as_multi` instead. + * + * # + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + * ---------------------------------- + * - DB Weight: + * - Read: Multisig Storage, [Caller Account] + * - Write: Multisig Storage, [Caller Account] + * # + **/ + approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option | null | Uint8Array | PalletMultisigTimepoint | { + height?: any; + index?: any; + } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u16, + Vec, + Option, + U8aFixed, + u64 + ]>; + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * If there are enough, then dispatch the call. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call`: The call to be executed. + * + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. + * + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. + * + * # + * - `O(S + Z + Call)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. + * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - The weight of the `call`. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + * ------------------------------- + * - DB Weight: + * - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`) + * - Writes: Multisig Storage, [Caller Account], Calls (if `store_call`) + * - Plus Call Weight + * # + **/ + asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option | null | Uint8Array | PalletMultisigTimepoint | { + height?: any; + index?: any; + } | string, call: WrapperKeepOpaque | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u16, + Vec, + Option, + WrapperKeepOpaque, + bool, + u64 + ]>; + /** + * Immediately dispatch a multi-signature call using a single approval from the caller. + * + * The dispatch origin for this call must be _Signed_. + * + * - `other_signatories`: The accounts (other than the sender) who are part of the + * multi-signature, but do not participate in the approval process. + * - `call`: The call to be executed. + * + * Result is equivalent to the dispatched result. + * + * # + * O(Z + C) where Z is the length of the call and C its execution weight. + * ------------------------------- + * - DB Weight: None + * - Plus Call Weight + * # + **/ + asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [ + Vec, + Call + ]>; + /** + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `timepoint`: The timepoint (block number and transaction index) of the first approval + * transaction for this dispatch. + * - `call_hash`: The hash of the call to be executed. + * + * # + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - One event. + * - I/O: 1 read `O(S)`, one remove. + * - Storage: removes one item. + * ---------------------------------- + * - DB Weight: + * - Read: Multisig Storage, [Caller Account], Refund Account, Calls + * - Write: Multisig Storage, [Caller Account], Refund Account, Calls + * # + **/ + cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { + height?: any; + index?: any; + } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [ + u16, + Vec, + PalletMultisigTimepoint, + U8aFixed + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + oracle: { + /** + * Permissioned call to add an asset + * + * - `asset_id`: Id for the asset + * - `threshold`: Percent close to mean to be rewarded + * - `min_answers`: Min answers before aggregation + * - `max_answers`: Max answers to aggregate + * - `block_interval`: blocks until oracle triggered + * - `reward`: reward amount for correct answer + * - `slash`: slash amount for bad answer + * - `emit_price_changes`: emit PriceChanged event when asset price changes + * + * Emits `DepositEvent` event when successful. + **/ + addAssetAndInfo: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, threshold: Percent | AnyNumber | Uint8Array, minAnswers: u32 | AnyNumber | Uint8Array, maxAnswers: u32 | AnyNumber | Uint8Array, blockInterval: u32 | AnyNumber | Uint8Array, rewardWeight: u128 | AnyNumber | Uint8Array, slash: u128 | AnyNumber | Uint8Array, emitPriceChanges: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + Percent, + u32, + u32, + u32, + u128, + u128, + bool + ]>; + /** + * call to add more stake from a controller + * + * - `stake`: amount to add to stake + * + * Emits `StakeAdded` event when successful. + **/ + addStake: AugmentedSubmittable<(stake: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + /** + * Call to start rewarding Oracles. + * - `annual_cost_per_oracle`: Annual cost of an Oracle. + * - `num_ideal_oracles`: Number of ideal Oracles. This in fact should be higher than the + * actual ideal number so that the Oracles make a profit under ideal conditions. + * + * Emits `RewardRateSet` event when successful. + **/ + adjustRewards: AugmentedSubmittable<(annualCostPerOracle: u128 | AnyNumber | Uint8Array, numIdealOracles: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u8 + ]>; + /** + * Call to reclaim stake after proper time has passed, called from controller + * + * Emits `StakeReclaimed` event when successful. + **/ + reclaimStake: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Call to put in a claim to remove stake, called from controller + * + * Emits `StakeRemoved` event when successful. + **/ + removeStake: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Call for a signer to be set, called from controller, adds stake. + * + * - `signer`: signer to tie controller to + * + * Emits `SignerSet` and `StakeAdded` events when successful. + **/ + setSigner: AugmentedSubmittable<(signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Call to submit a price, gas is returned if extrinsic is successful. + * Should be called from offchain worker but can be called manually too. + * + * This is an operational transaction. + * + * - `price`: price to submit, normalized to 12 decimals + * - `asset_id`: id for the asset + * + * Emits `PriceSubmitted` event when successful. + **/ + submitPrice: AugmentedSubmittable<(price: u128 | AnyNumber | Uint8Array, assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + pablo: { + /** + * Add liquidity to the given pool. + * + * Emits `LiquidityAdded` event when successful. + **/ + addLiquidity: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, assets: BTreeMap, minMintAmount: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + BTreeMap, + u128, + bool + ]>; + /** + * Execute a buy order on pool. + * + * Emits `Swapped` event when successful. + **/ + buy: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, inAssetId: u128 | AnyNumber | Uint8Array, outAsset: ComposableTraitsDexAssetAmount | { + assetId?: any; + amount?: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + ComposableTraitsDexAssetAmount, + bool + ]>; + /** + * Create a new pool. Note that this extrinsic does NOT validate if a pool with the same + * assets already exists in the runtime. + * + * Emits `PoolCreated` event when successful. + **/ + create: AugmentedSubmittable<(pool: PalletPabloPoolInitConfiguration | { + DualAssetConstantProduct: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + PalletPabloPoolInitConfiguration + ]>; + enableTwap: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128 + ]>; + /** + * Remove liquidity from the given pool. + * + * Emits `LiquidityRemoved` event when successful. + **/ + removeLiquidity: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, lpAmount: u128 | AnyNumber | Uint8Array, minReceive: BTreeMap) => SubmittableExtrinsic, [ + u128, + u128, + BTreeMap + ]>; + /** + * Execute a specific swap operation. + * + * The `quote_amount` is always the quote asset amount (A/B => B), (B/A => A). + * + * Emits `Swapped` event when successful. + **/ + swap: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, inAsset: ComposableTraitsDexAssetAmount | { + assetId?: any; + amount?: any; + } | string | Uint8Array, minReceive: ComposableTraitsDexAssetAmount | { + assetId?: any; + amount?: any; + } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + ComposableTraitsDexAssetAmount, + ComposableTraitsDexAssetAmount, + bool + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + parachainInfo: { + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + parachainSystem: { + authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Set the current validation data. + * + * This should be invoked exactly once per block. It will panic at the finalization + * phase if the call was not invoked. + * + * The dispatch origin for this call must be `Inherent` + * + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ + setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { + validationData?: any; + relayChainState?: any; + downwardMessages?: any; + horizontalMessages?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + CumulusPrimitivesParachainInherentParachainInherentData + ]>; + sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + preimage: { + /** + * Register a preimage on-chain. + * + * If the preimage was previously requested, no fees or deposits are taken for providing + * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + **/ + notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Request a preimage be uploaded to the chain without paying any fees or deposits. + * + * If the preimage requests has already been provided on-chain, we unreserve any deposit + * a user may have paid, and take the control of the preimage out of their hands. + **/ + requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Clear an unrequested preimage from the runtime storage. + **/ + unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; + /** + * Clear a previously made request for a preimage. + * + * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + **/ + unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + proxy: { + /** + * Register a proxy account for the sender that is able to make calls on its behalf. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `proxy`: The account that the `caller` would like to make a proxy. + * - `proxy_type`: The permissions allowed for this proxy account. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + ComposableTraitsAccountProxyProxyType, + u32 + ]>; + /** + * Publish the hash of a proxy-call that will be made in the future. + * + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. + * + * No more than `MaxPending` announcements may be made at any one time. + * + * This will take a deposit of `AnnouncementDepositFactor` as well as + * `AnnouncementDepositBase` if there are no other pending announcements. + * + * The dispatch origin for this call must be _Signed_ and a proxy of `real`. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + announce: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + H256 + ]>; + /** + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. + * + * Requires a `Signed` origin. + * + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. + * - `index`: A disambiguation index, in case this is called multiple times in the same + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + * + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. + * + * Fails if there are insufficient funds to pay for deposit. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + * TODO: Might be over counting 1 read + **/ + anonymous: AugmentedSubmittable<(proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsAccountProxyProxyType, + u32, + u16 + ]>; + /** + * Removes a previously spawned anonymous proxy. + * + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. + * + * Requires a `Signed` origin, and the sender account must have been created by a call to + * `anonymous` with corresponding parameters. + * + * - `spawner`: The account that originally called `anonymous` to create this account. + * - `index`: The disambiguation index originally passed to `anonymous`. Probably `0`. + * - `proxy_type`: The proxy type originally passed to `anonymous`. + * - `height`: The height of the chain when the call to `anonymous` was processed. + * - `ext_index`: The extrinsic index in which the call to `anonymous` was processed. + * + * Fails with `NoPermission` in case the caller is not a previously created anonymous + * account whose `anonymous` call has corresponding parameters. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact | AnyNumber | Uint8Array, extIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + ComposableTraitsAccountProxyProxyType, + u16, + Compact, + Compact + ]>; + /** + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option | null | Uint8Array | ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + Option, + Call + ]>; + /** + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option | null | Uint8Array | ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + AccountId32, + Option, + Call + ]>; + /** + * Remove the given announcement of a delegate. + * + * May be called by a target (proxied) account to remove a call that one of their delegates + * (`delegate`) has announced they want to execute. The deposit is returned. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `delegate`: The account that previously announced the call. + * - `call_hash`: The hash of the call to be made. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + rejectAnnouncement: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + H256 + ]>; + /** + * Remove a given announcement. + * + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + removeAnnouncement: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + H256 + ]>; + /** + * Unregister all proxy accounts for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * WARNING: This may be called on accounts created by `anonymous`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Unregister a proxy account for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `proxy`: The account that the `caller` would like to remove as a proxy. + * - `proxy_type`: The permissions currently enabled for the removed proxy account. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + ComposableTraitsAccountProxyProxyType, + u32 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + relayerXcm: { + /** + * Execute an XCM message from a local, signed, origin. + * + * An event is deposited indicating whether `msg` could be executed completely or only + * partially. + * + * No more than `max_weight` will be used in its attempted execution. If this is less than the + * maximum amount of weight that the message could take to be executed, then no execution + * attempt will be made. + * + * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully + * to completion; only that *some* of it was executed. + **/ + execute: AugmentedSubmittable<(message: XcmVersionedXcm | { + V0: any; + } | { + V1: any; + } | { + V2: any; + } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedXcm, + u64 + ]>; + /** + * Set a safe XCM version (the version that XCM should be encoded with if the most recent + * version a destination can accept is unknown). + * + * - `origin`: Must be Root. + * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + **/ + forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [ + Option + ]>; + /** + * Ask a location to notify us regarding their XCM version and any changes to it. + * + * - `origin`: Must be Root. + * - `location`: The location to which we should subscribe for XCM version notifications. + **/ + forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation + ]>; + /** + * Require that a particular destination should no longer notify us regarding any XCM + * version changes. + * + * - `origin`: Must be Root. + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ + forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation + ]>; + /** + * Extoll that a particular destination can be communicated with through a particular + * version of XCM. + * + * - `origin`: Must be Root. + * - `location`: The destination that is being described. + * - `xcm_version`: The latest version of XCM that `location` supports. + **/ + forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { + parents?: any; + interior?: any; + } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmV1MultiLocation, + u32 + ]>; + /** + * Transfer some assets from the local chain to the sovereign account of a destination + * chain and forward a notification XCM. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the assets send may be + * at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the + * `dest` side. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, assets: XcmVersionedMultiAssets | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { + Unlimited: any; + } | { + Limited: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation, + XcmVersionedMultiLocation, + XcmVersionedMultiAssets, + u32, + XcmV2WeightLimit + ]>; + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the assets send may be + * at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the + * `dest` side. May not be empty. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, assets: XcmVersionedMultiAssets | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { + Unlimited: any; + } | { + Limited: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation, + XcmVersionedMultiLocation, + XcmVersionedMultiAssets, + u32, + XcmV2WeightLimit + ]>; + /** + * Transfer some assets from the local chain to the sovereign account of a destination + * chain and forward a notification XCM. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the + * `dest` side. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ + reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, assets: XcmVersionedMultiAssets | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation, + XcmVersionedMultiLocation, + XcmVersionedMultiAssets, + u32 + ]>; + send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, message: XcmVersionedXcm | { + V0: any; + } | { + V1: any; + } | { + V2: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation, + XcmVersionedXcm + ]>; + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the + * `dest` side. May not be empty. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ + teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, assets: XcmVersionedMultiAssets | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiLocation, + XcmVersionedMultiLocation, + XcmVersionedMultiAssets, + u32 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + scheduler: { + /** + * Cancel an anonymously scheduled task. + **/ + cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32, + u32 + ]>; + /** + * Cancel a named scheduled task. + **/ + cancelNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Anonymously schedule a task. + **/ + schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { + Value: any; + } | { + Hash: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u32, + Option>, + u8, + FrameSupportScheduleMaybeHashed + ]>; + /** + * Anonymously schedule a task after a delay. + * + * # + * Same as [`schedule`]. + * # + **/ + scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { + Value: any; + } | { + Hash: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u32, + Option>, + u8, + FrameSupportScheduleMaybeHashed + ]>; + /** + * Schedule a named task. + **/ + scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { + Value: any; + } | { + Hash: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes, + u32, + Option>, + u8, + FrameSupportScheduleMaybeHashed + ]>; + /** + * Schedule a named task after a delay. + * + * # + * Same as [`schedule_named`](Self::schedule_named). + * # + **/ + scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { + Value: any; + } | { + Hash: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes, + u32, + Option>, + u8, + FrameSupportScheduleMaybeHashed + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + session: { + /** + * Removes any session key(s) of the function caller. + * + * This doesn't take effect until the next session. + * + * The dispatch origin of this function must be Signed and the account must be either be + * convertible to a validator ID using the chain's typical addressing system (this usually + * means being a controller account) or directly convertible into a validator ID (which + * usually means being a stash account). + * + * # + * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length + * of `T::Keys::key_ids()` which is fixed. + * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account` + * - DbWrites: `NextKeys`, `origin account` + * - DbWrites per key id: `KeyOwner` + * # + **/ + purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Sets the session key(s) of the function caller to `keys`. + * Allows an account to set its session key prior to becoming a validator. + * This doesn't take effect until the next session. + * + * The dispatch origin of this function must be signed. + * + * # + * - Complexity: `O(1)`. Actual cost depends on the number of length of + * `T::Keys::key_ids()` which is fixed. + * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys` + * - DbWrites: `origin account`, `NextKeys` + * - DbReads per key id: `KeyOwner` + * - DbWrites per key id: `KeyOwner` + * # + **/ + setKeys: AugmentedSubmittable<(keys: DaliRuntimeOpaqueSessionKeys | { + aura?: any; + } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + DaliRuntimeOpaqueSessionKeys, + Bytes + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + stakingRewards: { + /** + * Add funds to the reward pool's rewards pot for the specified asset. + * + * Emits `RewardsPotIncreased` when successful. + **/ + addToRewardsPot: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, assetId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + u128, + bool + ]>; + /** + * Claim a current reward for some position. + * + * Emits `Claimed` event when successful. + **/ + claim: AugmentedSubmittable<(fnftCollectionId: u128 | AnyNumber | Uint8Array, fnftInstanceId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u64 + ]>; + /** + * Create a new reward pool based on the config. + * + * Emits `RewardPoolCreated` event when successful. + **/ + createRewardPool: AugmentedSubmittable<(poolConfig: ComposableTraitsStakingRewardPoolConfiguration | { + RewardRateBasedIncentive: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsStakingRewardPoolConfiguration + ]>; + /** + * Extend an existing stake. + * + * Emits `StakeExtended` event when successful. + **/ + extend: AugmentedSubmittable<(fnftCollectionId: u128 | AnyNumber | Uint8Array, fnftInstanceId: u64 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u64, + u128 + ]>; + split: AugmentedSubmittable<(fnftCollectionId: u128 | AnyNumber | Uint8Array, fnftInstanceId: u64 | AnyNumber | Uint8Array, ratio: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u64, + Permill + ]>; + /** + * Create a new stake. + * + * Emits `Staked` event when successful. + **/ + stake: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, durationPreset: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + u64 + ]>; + /** + * Remove a stake. + * + * Emits `Unstaked` event when successful. + **/ + unstake: AugmentedSubmittable<(fnftCollectionId: u128 | AnyNumber | Uint8Array, fnftInstanceId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u64 + ]>; + /** + * Updates the reward pool configuration. + * + * Emits `RewardPoolUpdated` when successful. + **/ + updateRewardsPool: AugmentedSubmittable<(poolId: u128 | AnyNumber | Uint8Array, rewardUpdates: BTreeMap) => SubmittableExtrinsic, [ + u128, + BTreeMap + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + sudo: { + /** + * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo + * key. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB change. + * # + **/ + setKey: AugmentedSubmittable<(updated: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress + ]>; + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call]>; + /** + * Authenticates the sudo key and dispatches a function call with `Signed` origin from + * a given account. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudoAs: AugmentedSubmittable<(who: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + Call + ]>; + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * This function does not check the weight of the call, and instead allows the + * Sudo user to specify the weight of the call. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - The weight of this call is defined by the caller. + * # + **/ + sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Call, + u64 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + system: { + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ + fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Perbill + ]>; + /** + * Kill all storage items with a key that starts with the given prefix. + * + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under + * the prefix we are removing to accurately calculate the weight of this function. + **/ + killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Bytes, + u32 + ]>; + /** + * Kill some items from storage. + **/ + killStorage: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Make some on-chain remark. + * + * # + * - `O(1)` + * # + **/ + remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Make some on-chain remark and emit event. + **/ + remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Set the new runtime code. + * + * # + * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code` + * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is + * expensive). + * - 1 storage write (codec `O(C)`). + * - 1 digest item. + * - 1 event. + * The weight of this function is dependent on the runtime, but generally this is very + * expensive. We will treat this as a full block. + * # + **/ + setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Set the new runtime code without doing any checks of the given `code`. + * + * # + * - `O(C)` where `C` length of `code` + * - 1 storage write (codec `O(C)`). + * - 1 digest item. + * - 1 event. + * The weight of this function is dependent on the runtime. We will treat this as a full + * block. # + **/ + setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ + Bytes + ]>; + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ + setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Set some items of storage. + **/ + setStorage: AugmentedSubmittable<(items: Vec> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic, [ + Vec> + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + technicalCommittee: { + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * # + * ## Weight + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + * - DB: + * - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`) + * - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec + * `O(P2)`) + * - any mutations done while executing `proposal` (`P1`) + * - up to 3 events + * # + **/ + close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: Compact | AnyNumber | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + H256, + Compact, + Compact, + Compact + ]>; + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * # + * Complexity: O(P) where P is the number of max proposals + * DB Weight: + * * Reads: Proposals + * * Writes: Voting, Proposals, ProposalOf + * # + **/ + disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [ + H256 + ]>; + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * # + * ## Weight + * - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching + * `proposal` + * - DB: 1 read (codec `O(M)`) + DB access of `proposal` + * - 1 event + * # + **/ + execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Call, + Compact + ]>; + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * # + * ## Weight + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + * - DB: + * - 1 storage read `is_member` (codec `O(M)`) + * - 1 storage read `ProposalOf::contains_key` (codec `O(1)`) + * - DB accesses influenced by `threshold`: + * - EITHER storage accesses done by `proposal` (`threshold < 2`) + * - OR proposal insertion (`threshold <= 2`) + * - 1 storage mutation `Proposals` (codec `O(P2)`) + * - 1 storage mutation `ProposalCount` (codec `O(1)`) + * - 1 storage write `ProposalOf` (codec `O(B)`) + * - 1 storage write `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact, + Call, + Compact + ]>; + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * Requires root origin. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * # + * ## Weight + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + * - DB: + * - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the + * members + * - 1 storage read (codec `O(P)`) for reading the proposals + * - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal + * - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one + * # + **/ + setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Vec, + Option, + u32 + ]>; + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * # + * ## Weight + * - `O(M)` where `M` is members-count (code- and governance-bounded) + * - DB: + * - 1 storage read `Members` (codec `O(M)`) + * - 1 storage mutation `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + H256, + Compact, + bool + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + technicalCommitteeMembership: { + /** + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. + **/ + addMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. + **/ + changeKey: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. + **/ + clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. + **/ + removeMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. + **/ + resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. + **/ + setPrime: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32 + ]>; + /** + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. + **/ + swapMember: AugmentedSubmittable<(remove: AccountId32 | string | Uint8Array, add: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + AccountId32, + AccountId32 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + timestamp: { + /** + * Set the current time. + * + * This call should be invoked exactly once per block. It will panic at the finalization + * phase, if this call hasn't been invoked by that time. + * + * The timestamp should be greater than the previous one by the amount specified by + * `MinimumPeriod`. + * + * The dispatch origin for this call must be `Inherent`. + * + * # + * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) + * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in + * `on_finalize`) + * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + * # + **/ + set: AugmentedSubmittable<(now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + tokens: { + /** + * Exactly as `transfer`, except the origin must be root and the source + * account may be specified. + * + * The dispatch origin for this call must be _Root_. + * + * - `source`: The sender of the transfer. + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `amount`: free balance amount to tranfer. + **/ + forceTransfer: AugmentedSubmittable<(source: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, currencyId: u128 | AnyNumber | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + MultiAddress, + u128, + Compact + ]>; + /** + * Set the balances of a given account. + * + * This will alter `FreeBalance` and `ReservedBalance` in storage. it + * will also decrease the total issuance of the system + * (`TotalIssuance`). If the new free or reserved balance is below the + * existential deposit, it will reap the `AccountInfo`. + * + * The dispatch origin for this call is `root`. + **/ + setBalance: AugmentedSubmittable<(who: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, currencyId: u128 | AnyNumber | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + u128, + Compact, + Compact + ]>; + /** + * Transfer some liquid free balance to another account. + * + * `transfer` will set the `FreeBalance` of the sender and receiver. + * It will decrease the total issuance of the system by the + * `TransferFee`. If the sender's account is below the existential + * deposit as a result of the transfer, the account will be reaped. + * + * The dispatch origin for this call must be `Signed` by the + * transactor. + * + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `amount`: free balance amount to tranfer. + **/ + transfer: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, currencyId: u128 | AnyNumber | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + u128, + Compact + ]>; + /** + * Transfer all remaining balance to the given account. + * + * NOTE: This function only attempts to transfer _transferable_ + * balances. This means that any locked, reserved, or existential + * deposits (when `keep_alive` is `true`), will not be transferred by + * this function. To ensure that this function results in a killed + * account, you might need to prepare the account by removing any + * reference counters, storage deposits, etc... + * + * The dispatch origin for this call must be `Signed` by the + * transactor. + * + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `keep_alive`: A boolean to determine if the `transfer_all` + * operation should send all of the funds the account has, causing + * the sender account to be killed (false), or transfer everything + * except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). + **/ + transferAll: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, currencyId: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + u128, + bool + ]>; + /** + * Same as the [`transfer`] call, but with a check that the transfer + * will not kill the origin account. + * + * 99% of the time you want [`transfer`] instead. + * + * The dispatch origin for this call must be `Signed` by the + * transactor. + * + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `amount`: free balance amount to tranfer. + **/ + transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, currencyId: u128 | AnyNumber | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + u128, + Compact + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + treasury: { + /** + * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary + * and the original deposit will be returned. + * + * May only be called from `T::ApproveOrigin`. + * + * # + * - Complexity: O(1). + * - DbReads: `Proposals`, `Approvals` + * - DbWrite: `Approvals` + * # + **/ + approveProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact + ]>; + /** + * Put forward a suggestion for spending. A deposit proportional to the value + * is reserved and slashed if the proposal is rejected. It is returned once the + * proposal is awarded. + * + * # + * - Complexity: O(1) + * - DbReads: `ProposalCount`, `origin account` + * - DbWrites: `ProposalCount`, `Proposals`, `origin account` + * # + **/ + proposeSpend: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + MultiAddress + ]>; + /** + * Reject a proposed spend. The original deposit will be slashed. + * + * May only be called from `T::RejectOrigin`. + * + * # + * - Complexity: O(1) + * - DbReads: `Proposals`, `rejected proposer account` + * - DbWrites: `Proposals`, `rejected proposer account` + * # + **/ + rejectProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact + ]>; + /** + * Force a previously approved proposal to be removed from the approval queue. + * The original deposit will no longer be returned. + * + * May only be called from `T::RejectOrigin`. + * - `proposal_id`: The index of a proposal + * + * # + * - Complexity: O(A) where `A` is the number of approvals + * - Db reads and writes: `Approvals` + * # + * + * Errors: + * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue, + * i.e., the proposal has not been approved. This could also mean the proposal does not + * exist altogether, thus there is no way it would have been approved in the first place. + **/ + removeApproval: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Compact + ]>; + /** + * Propose and approve a spend of treasury funds. + * + * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`. + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The destination account for the transfer. + * + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. + **/ + spend: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + Compact, + MultiAddress + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + unknownTokens: { + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + utility: { + /** + * Send a call through an indexed pseudonym of the sender. + * + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. + * + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. + * + * NOTE: Prior to version *12, this was called `as_limited_sub`. + * + * The dispatch origin for this call must be _Signed_. + **/ + asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [ + u16, + Call + ]>; + /** + * Send a batch of dispatch calls. + * + * May be called from any origin. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then call are dispatch without checking origin filter. (This includes + * bypassing `frame_system::Config::BaseCallFilter`). + * + * # + * - Complexity: O(C) where C is the number of calls to be batched. + * # + * + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ + batch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. + * + * May be called from any origin. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then call are dispatch without checking origin filter. (This includes + * bypassing `frame_system::Config::BaseCallFilter`). + * + * # + * - Complexity: O(C) where C is the number of calls to be batched. + * # + **/ + batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Dispatches a function call with a provided origin. + * + * The dispatch origin for this call must be _Root_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + T::WeightInfo::dispatch_as(). + * # + **/ + dispatchAs: AugmentedSubmittable<(asOrigin: DaliRuntimeOriginCaller | { + system: any; + } | { + Void: any; + } | { + Council: any; + } | { + RelayerXcm: any; + } | { + CumulusXcm: any; + } | { + TechnicalCommittee: any; + } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [ + DaliRuntimeOriginCaller, + Call + ]>; + /** + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. + * + * May be called from any origin. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then call are dispatch without checking origin filter. (This includes + * bypassing `frame_system::Config::BaseCallFilter`). + * + * # + * - Complexity: O(C) where C is the number of calls to be batched. + * # + **/ + forceBatch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [ + Vec + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + vault: { + addSurcharge: AugmentedSubmittable<(dest: u64 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64, + u128 + ]>; + /** + * Subtracts rent from a vault, rewarding the caller if successful with a small fee and + * possibly tombstoning the vault. + * + * A tombstoned vault still allows for withdrawals but blocks deposits, and requests all + * strategies to return their funds. + **/ + claimSurcharge: AugmentedSubmittable<(dest: u64 | AnyNumber | Uint8Array, address: Option | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic, [ + u64, + Option + ]>; + /** + * Creates a new vault, locking up the deposit. If the deposit is greater than the + * `ExistentialDeposit` + `CreationDeposit`, the vault will remain alive forever, else it + * can be `tombstoned` after `deposit / RentPerBlock `. Accounts may deposit more funds to + * keep the vault alive. + * + * # Emits + * - [`Event::VaultCreated`](Event::VaultCreated) + * + * # Errors + * - When the origin is not signed. + * - When `deposit < CreationDeposit`. + * - Origin has insufficient funds to lock the deposit. + **/ + create: AugmentedSubmittable<(vault: ComposableTraitsVaultVaultConfig | { + assetId?: any; + reserved?: any; + manager?: any; + strategies?: any; + } | string | Uint8Array, depositAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + ComposableTraitsVaultVaultConfig, + u128 + ]>; + deleteTombstoned: AugmentedSubmittable<(dest: u64 | AnyNumber | Uint8Array, address: Option | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic, [ + u64, + Option + ]>; + /** + * Deposit funds in the vault and receive LP tokens in return. + * # Emits + * - Event::Deposited + * + * # Errors + * - When the origin is not signed. + * - When `deposit < MinimumDeposit`. + **/ + deposit: AugmentedSubmittable<(vault: u64 | AnyNumber | Uint8Array, assetAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64, + u128 + ]>; + /** + * Stops a vault. To be used in case of severe protocol flaws. + * + * # Emits + * - Event::EmergencyShutdown + * + * # Errors + * - When the origin is not root. + * - When `vault` does not exist. + **/ + emergencyShutdown: AugmentedSubmittable<(vault: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64 + ]>; + /** + * Turns an existent strategy account `strategy_account` of a vault determined by + * `vault_idx` into a liquidation state where withdrawn funds should be returned as soon + * as possible. + * + * Only the vault's manager will be able to call this method. + * + * # Emits + * - Event::LiquidateStrategy + **/ + liquidateStrategy: AugmentedSubmittable<(vaultIdx: u64 | AnyNumber | Uint8Array, strategyAccountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [ + u64, + AccountId32 + ]>; + /** + * (Re)starts a vault after emergency shutdown. + * + * # Emits + * - Event::VaultStarted + * + * # Errors + * - When the origin is not root. + * - When `vault` does not exist. + **/ + start: AugmentedSubmittable<(vault: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Withdraw funds + * + * # Emits + * - Event::Withdrawn + * + * # Errors + * - When the origin is not signed. + * - When `lp_amount < MinimumWithdrawal`. + * - When the vault has insufficient amounts reserved. + **/ + withdraw: AugmentedSubmittable<(vault: u64 | AnyNumber | Uint8Array, lpAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64, + u128 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + vesting: { + /** + * Unlock any vested funds of the origin account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have funds still + * locked under this pallet. + * + * - `asset`: The asset associated with the vesting schedule + * - `vesting_schedule_ids`: The ids of the vesting schedules to be claimed + * + * Emits `Claimed`. + **/ + claim: AugmentedSubmittable<(asset: u128 | AnyNumber | Uint8Array, vestingScheduleIds: ComposableTraitsVestingVestingScheduleIdSet | { + All: any; + } | { + One: any; + } | { + Many: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + u128, + ComposableTraitsVestingVestingScheduleIdSet + ]>; + /** + * Unlock any vested funds of a `target` account. + * + * The dispatch origin for this call must be _Signed_. + * + * - `dest`: The account whose vested funds should be unlocked. Must have funds still + * locked under this pallet. + * - `asset`: The asset associated with the vesting schedule. + * - `vesting_schedule_ids`: The ids of the vesting schedules to be claimed. + * + * Emits `Claimed`. + **/ + claimFor: AugmentedSubmittable<(dest: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, asset: u128 | AnyNumber | Uint8Array, vestingScheduleIds: ComposableTraitsVestingVestingScheduleIdSet | { + All: any; + } | { + One: any; + } | { + Many: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + u128, + ComposableTraitsVestingVestingScheduleIdSet + ]>; + /** + * Update vesting schedules + * + * The dispatch origin for this call must be _Root_ or democracy. + * + * - `who`: The account whose vested funds should be updated. + * - `asset`: The asset associated with the vesting schedules. + * - `vesting_schedules`: The updated vesting schedules. + * + * Emits `VestingSchedulesUpdated`. + **/ + updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, asset: u128 | AnyNumber | Uint8Array, vestingSchedules: Vec | (ComposableTraitsVestingVestingScheduleInfo | { + window?: any; + periodCount?: any; + perPeriod?: any; + } | string | Uint8Array)[]) => SubmittableExtrinsic, [ + MultiAddress, + u128, + Vec + ]>; + /** + * Create a vested transfer. + * + * The dispatch origin for this call must be _Root_ or Democracy. + * + * - `from`: The account sending the vested funds. + * - `beneficiary`: The account receiving the vested funds. + * - `asset`: The asset associated with this vesting schedule. + * - `schedule_info`: The vesting schedule data attached to the transfer. + * + * Emits `VestingScheduleAdded`. + * + * NOTE: This will unlock all schedules through the current block. + **/ + vestedTransfer: AugmentedSubmittable<(from: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, beneficiary: MultiAddress | { + Id: any; + } | { + Index: any; + } | { + Raw: any; + } | { + Address32: any; + } | { + Address20: any; + } | string | Uint8Array, asset: u128 | AnyNumber | Uint8Array, scheduleInfo: ComposableTraitsVestingVestingScheduleInfo | { + window?: any; + periodCount?: any; + perPeriod?: any; + } | string | Uint8Array) => SubmittableExtrinsic, [ + MultiAddress, + MultiAddress, + u128, + ComposableTraitsVestingVestingScheduleInfo + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + xcmpQueue: { + /** + * Resumes all XCM executions for the XCMP queue. + * + * Note that this function doesn't change the status of the in/out bound channels. + * + * - `origin`: Must pass `ControllerOrigin`. + **/ + resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Services a single overweight XCM. + * + * - `origin`: Must pass `ExecuteOverweightOrigin`. + * - `index`: The index of the overweight XCM to service + * - `weight_limit`: The amount of weight that XCM execution may take. + * + * Errors: + * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map. + * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format. + * - `WeightOverLimit`: XCM execution may use greater `weight_limit`. + * + * Events: + * - `OverweightServiced`: On success. + **/ + serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64, + u64 + ]>; + /** + * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. + * + * - `origin`: Must pass `ControllerOrigin`. + **/ + suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Overwrites the number of pages of messages which must be in the queue after which we drop any further + * messages from the channel. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.drop_threshold` + **/ + updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Overwrites the number of pages of messages which the queue must be reduced to before it signals that + * message sending may recommence after it has been suspended. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.resume_threshold` + **/ + updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Overwrites the number of pages of messages which must be in the queue for the other side to be told to + * suspend their sending. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.suspend_value` + **/ + updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u32 + ]>; + /** + * Overwrites the amount of remaining weight under which we stop processing messages. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.threshold_weight` + **/ + updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64 + ]>; + /** + * Overwrites the speed to which the available weight approaches the maximum weight. + * A lower number results in a faster progression. A value of 1 makes the entire weight available initially. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`. + **/ + updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64 + ]>; + /** + * Overwrite the maximum amount of weight any individual message may consume. + * Messages above this weight go into the overweight queue and may only be serviced explicitly. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`. + **/ + updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u64 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + xTokens: { + /** + * Transfer native currencies. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transfer: AugmentedSubmittable<(currencyId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + XcmVersionedMultiLocation, + u64 + ]>; + /** + * Transfer `MultiAsset`. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiAsset, + XcmVersionedMultiLocation, + u64 + ]>; + /** + * Transfer several `MultiAsset` specifying the item to be used as fee + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee_item` is index of the MultiAssets that we want to use for + * payment + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiAssets, + u32, + XcmVersionedMultiLocation, + u64 + ]>; + /** + * Transfer `MultiAsset` specifying the fee and amount as separate. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee` is the multiasset to be spent to pay for execution in + * destination chain. Both fee and amount will be subtracted form the + * callers balance For now we only accept fee and asset having the same + * `MultiLocation` id. + * + * If `fee` is not high enough to cover for the execution costs in the + * destination chain, then the assets will be trapped in the + * destination chain + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, fee: XcmVersionedMultiAsset | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + XcmVersionedMultiAsset, + XcmVersionedMultiAsset, + XcmVersionedMultiLocation, + u64 + ]>; + /** + * Transfer several currencies specifying the item to be used as fee + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee_item` is index of the currencies tuple that we want to use for + * payment + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array][], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + Vec>, + u32, + XcmVersionedMultiLocation, + u64 + ]>; + /** + * Transfer native currencies specifying the fee and amount as + * separate. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee` is the amount to be spent to pay for execution in destination + * chain. Both fee and amount will be subtracted form the callers + * balance. + * + * If `fee` is not high enough to cover for the execution costs in the + * destination chain, then the assets will be trapped in the + * destination chain + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferWithFee: AugmentedSubmittable<(currencyId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { + V0: any; + } | { + V1: any; + } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ + u128, + u128, + u128, + XcmVersionedMultiLocation, + u64 + ]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + } +} +//# sourceMappingURL=augment-api-tx.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-tx.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-api-tx.d.ts.map new file mode 100644 index 00000000..8ab1b8e0 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-tx.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-api-tx.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-api-tx.ts"],"names":[],"mappings":"AA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AU,KACpC,oBAAoB,CAAC,OAAO,CAAC,EAClC;gBAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;gBAAE,GAAG;gBAAE,yBAAyB;gBAAE,GAAG;aAAC,CAChE,CAAC;YACF;;;;;;;;;;;;;;;;;;;;;;gBAsBI;YACJ,eAAe,EAAE,oBAAoB,CACpC,CACC,UAAU,EAAE,IAAI,GAAG,SAAS,GAAG,UAAU,EACzC,MAAM,EAAE,IAAI,GAAG,SAAS,GAAG,UAAU,EACrC,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,UAAU,EAClC,IAAI,EAAE,yBAAyB,GAAG;gBAAE,EAAE,EAAE,GAAG,CAAA;aAAE,GAAG;gBAAE,EAAE,EAAE,GAAG,CAAA;aAAE,GAAG,MAAM,GAAG,UAAU,EACjF,UAAU,EAAE,GAAG,GAAG,SAAS,GAAG,UAAU,KACpC,oBAAoB,CAAC,OAAO,CAAC,EAClC;gBAAC,IAAI;gBAAE,IAAI;gBAAE,IAAI;gBAAE,yBAAyB;gBAAE,GAAG;aAAC,CAClD,CAAC;YACF;;gBAEI;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,4BAA4B,CAAC,OAAO,CAAC,CAAC;SACrD,CAAC;KACF;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-api-tx.js b/dist/chains/polkadot/api-scheme/augments/augment-api-tx.js new file mode 100644 index 00000000..da58abbc --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-api-tx.js @@ -0,0 +1,5 @@ +"use strict"; +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/api-base/types/submittable"); diff --git a/dist/chains/polkadot/api-scheme/augments/augment-types.d.ts b/dist/chains/polkadot/api-scheme/augments/augment-types.d.ts new file mode 100644 index 00000000..8e4fc20e --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-types.d.ts @@ -0,0 +1,1335 @@ +import type { Data, StorageKey } from '@polkadot/types'; +import type { BitVec, Bool, bool, Bytes, F32, f32, F64, f64, I8, i8, I16, i16, I32, i32, I64, i64, I128, i128, I256, i256, Json, Null, OptionBool, Raw, Text, Type, U8, u8, U16, u16, U32, u32, U64, u64, U128, u128, U256, u256, USize, usize } from '@polkadot/types-codec'; +import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; +import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; +import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; +import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; +import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; +import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; +import type { BeefyAuthoritySet, BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; +import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark'; +import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; +import type { BridgedBlockHash, BridgedBlockNumber, BridgedHeader, BridgeMessageId, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; +import type { StatementKind } from '@polkadot/types/interfaces/claims'; +import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; +import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; +import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; +import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; +import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; +import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; +import type { BlockStats } from '@polkadot/types/interfaces/dev'; +import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoterInfo, VoteThreshold } from '@polkadot/types/interfaces/elections'; +import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; +import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { EvmAccount, EvmCallInfo, EvmCreateInfo, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; +import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; +import type { AssetOptions, Owner, PermissionLatest, PermissionsV1, PermissionVersions } from '@polkadot/types/interfaces/genericAsset'; +import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; +import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; +import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; +import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; +import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; +import type { ErrorMetadataLatest, ErrorMetadataV9, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, EventMetadataLatest, EventMetadataV9, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV9, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionMetadataLatest, FunctionMetadataV9, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, MetadataAll, MetadataLatest, MetadataV9, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, ModuleConstantMetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV9, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryModifierLatest, StorageEntryModifierV9, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryTypeLatest, StorageEntryTypeV9, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageHasher, StorageHasherV9, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageMetadataV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13 } from '@polkadot/types/interfaces/metadata'; +import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; +import type { NpApiError } from '@polkadot/types/interfaces/nompools'; +import type { StorageKind } from '@polkadot/types/interfaces/offchain'; +import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, Reporter, ReportIdOf } from '@polkadot/types/interfaces/offences'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidDisputeStatementKind, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { Approvals } from '@polkadot/types/interfaces/poll'; +import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; +import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; +import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; +import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; +import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed64, Fixed128, FixedI64, FixedI128, FixedU64, FixedU128, H32, H64, H128, H160, H256, H512, H1024, H2048, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Percent, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime'; +import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo'; +import type { Period, Priority, Scheduled, ScheduledTo254, SchedulePeriod, SchedulePriority, TaskAddress } from '@polkadot/types/interfaces/scheduler'; +import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, SessionKeys10, SessionKeys10B, ValidatorCount } from '@polkadot/types/interfaces/session'; +import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; +import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashingSpans, SlashingSpansTo204, SlashJournalEntry, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, Voter, VoteWeight } from '@polkadot/types/interfaces/staking'; +import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; +import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; +import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionalError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; +import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; +import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; +import type { TransactionSource, TransactionValidity, ValidTransaction } from '@polkadot/types/interfaces/txqueue'; +import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques'; +import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; +import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, Junctions, JunctionsV1, JunctionsV2, JunctionV0, JunctionV1, JunctionV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, VersionMigrationStage, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmpMessageFormat, XcmV0, XcmV1, XcmV2, XcmVersion } from '@polkadot/types/interfaces/xcm'; +import '@polkadot/types/types/registry'; +import type { Asset } from '../assets'; +import type { AssetsBalance, ComposableTraitsDefiCurrencyPairCurrencyId, ComposableTraitsDefiSellCurrencyId, ComposableTraitsXcmCumulusMethodId, ComposableTraitsXcmXcmSellRequest, CurrencyId, CustomRpcBalance, CustomRpcCurrencyId, SafeRpcWrapper } from '../common'; +import type { CommonMosaicRemoteAssetId, ComposableSupportEthereumAddress, ComposableTraitsAccountProxyProxyDefinition, ComposableTraitsAccountProxyProxyType, ComposableTraitsAssetsBasicAssetMetadata, ComposableTraitsAssetsXcmAssetLocation, ComposableTraitsAuctionAuctionStepFunction, ComposableTraitsBondedFinanceBondDuration, ComposableTraitsBondedFinanceBondOffer, ComposableTraitsBondedFinanceBondOfferReward, ComposableTraitsCallFilterCallFilterEntry, ComposableTraitsCurrencyRational64, ComposableTraitsDefiSell, ComposableTraitsDefiTake, ComposableTraitsDexAssetAmount, ComposableTraitsDexConstantProductPoolInfo, ComposableTraitsDexDexRoute, ComposableTraitsDexStableSwapPoolInfo, ComposableTraitsGovernanceSignedRawOrigin, ComposableTraitsLendingCreateInput, ComposableTraitsLendingMarketConfig, ComposableTraitsLendingRepayStrategy, ComposableTraitsLendingUpdateInput, ComposableTraitsOraclePrice, ComposableTraitsOracleRewardTracker, ComposableTraitsStakingRewardPool, ComposableTraitsStakingRewardPoolConfiguration, ComposableTraitsStakingRewardUpdate, ComposableTraitsStakingStake, ComposableTraitsTimeTimeReleaseFunction, ComposableTraitsVaultVaultConfig, ComposableTraitsXcmAssetsForeignMetadata, ComposableTraitsXcmAssetsXcmAssetLocation, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, DaliRuntimeOpaqueSessionKeys, DaliRuntimeOriginCaller, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemPhase, IbcTraitOpenChannelParams, IbcTransferPalletParams, IbcTransferTransferParams, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, PalletAccountProxyAnnouncement, PalletAssetsRegistryCandidateStatus, PalletAssetsRegistryForeignMetadata, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletCollectiveVotes, PalletCosmwasmCodeIdentifier, PalletCosmwasmCodeInfo, PalletCosmwasmContractInfo, PalletCosmwasmEntryPoint, PalletCosmwasmInstrumentCostRules, PalletCrowdloanRewardsModelsEcdsaSignature, PalletCrowdloanRewardsModelsProof, PalletCrowdloanRewardsModelsRemoteAccount, PalletCrowdloanRewardsModelsReward, PalletCrowdloanRewardsReward, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletDutchAuctionSellOrder, PalletDutchAuctionTakeOrder, PalletIbcAny, PalletIbcConnectionParams, PalletIbcErrorsIbcError, PalletIbcEventsIbcEvent, PalletIbcIbcConsensusState, PalletIbcPalletParams, PalletIbcPingSendPingParams, PalletIbcTransferParams, PalletIbcUpgradeParams, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletLiquidationsLiquidationStrategyConfiguration, PalletLiquidityBootstrappingPool, PalletMosaicAmmSwapInfo, PalletMosaicAssetInfo, PalletMosaicDecayBudgetPenaltyDecayer, PalletMosaicNetworkInfo, PalletMosaicRelayerStaleRelayer, PalletMultisigMultisig, PalletMultisigTimepoint, PalletOracleAssetInfo, PalletOraclePrePrice, PalletOraclePrice, PalletOracleWithdraw, PalletSchedulerReleases, PalletSchedulerScheduledV2, PalletSchedulerScheduledV3, PalletStakingRewardsRewardAccumulationHookError, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVaultModelsStrategyOverview, PalletVaultModelsVaultInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpRuntimeDispatchError, SpRuntimeHeader, SpTrieStorageProof, SpVersionRuntimeVersion, XcmV1MultiAsset, XcmV1MultiassetMultiAssets, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '../crowdloanRewards'; +import type { PalletCurrencyFactoryRanges, PalletCurrencyFactoryRangesRange } from '../currencyFactory'; +import type { PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletPreimageRequestStatus } from '../democracy'; +import type { ComposableTraitsDexFee, ComposableTraitsDexStakingRewardPool, PalletPabloPoolConfiguration, PalletPabloPoolId, PalletPabloPoolInitConfiguration, PalletPabloPriceAggregate, PalletPabloPriceCumulative, PalletPabloTimeWeightedAveragePrice } from '../pablo'; +import type { ComposableTraitsVestingVestingSchedule, ComposableTraitsVestingVestingScheduleIdSet, ComposableTraitsVestingVestingScheduleInfo, VestingWindow } from '../vesting'; +export declare module '@polkadot/types/types/registry' { + interface InterfaceTypes { + AbridgedCandidateReceipt: AbridgedCandidateReceipt; + AbridgedHostConfiguration: AbridgedHostConfiguration; + AbridgedHrmpChannel: AbridgedHrmpChannel; + AccountData: AccountData; + AccountId: AccountId; + AccountId20: AccountId20; + AccountId32: AccountId32; + AccountId33: AccountId33; + AccountIdOf: AccountIdOf; + AccountIndex: AccountIndex; + AccountInfo: AccountInfo; + AccountInfoWithDualRefCount: AccountInfoWithDualRefCount; + AccountInfoWithProviders: AccountInfoWithProviders; + AccountInfoWithRefCount: AccountInfoWithRefCount; + AccountInfoWithRefCountU8: AccountInfoWithRefCountU8; + AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount; + AccountStatus: AccountStatus; + AccountValidity: AccountValidity; + ActiveEraInfo: ActiveEraInfo; + ActiveGilt: ActiveGilt; + ActiveGiltsTotal: ActiveGiltsTotal; + ActiveIndex: ActiveIndex; + ActiveRecovery: ActiveRecovery; + Address: Address; + AliveContractInfo: AliveContractInfo; + AllowedSlots: AllowedSlots; + AnySignature: AnySignature; + ApiId: ApiId; + ApplyExtrinsicResult: ApplyExtrinsicResult; + ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; + ApprovalFlag: ApprovalFlag; + Approvals: Approvals; + ArithmeticError: ArithmeticError; + Asset: Asset; + AssetId: AssetId; + AssetInstance: AssetInstance; + AssetInstanceV0: AssetInstanceV0; + AssetInstanceV1: AssetInstanceV1; + AssetInstanceV2: AssetInstanceV2; + AssetOptions: AssetOptions; + AssetsBalance: AssetsBalance; + AssignmentId: AssignmentId; + AssignmentKind: AssignmentKind; + AttestedCandidate: AttestedCandidate; + AuctionIndex: AuctionIndex; + AuthIndex: AuthIndex; + AuthorityDiscoveryId: AuthorityDiscoveryId; + AuthorityId: AuthorityId; + AuthorityIndex: AuthorityIndex; + AuthorityList: AuthorityList; + AuthoritySet: AuthoritySet; + AuthoritySetChange: AuthoritySetChange; + AuthoritySetChanges: AuthoritySetChanges; + AuthoritySignature: AuthoritySignature; + AuthorityWeight: AuthorityWeight; + AvailabilityBitfield: AvailabilityBitfield; + AvailabilityBitfieldRecord: AvailabilityBitfieldRecord; + BabeAuthorityWeight: BabeAuthorityWeight; + BabeBlockWeight: BabeBlockWeight; + BabeEpochConfiguration: BabeEpochConfiguration; + BabeEquivocationProof: BabeEquivocationProof; + BabeGenesisConfiguration: BabeGenesisConfiguration; + BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; + BabeWeight: BabeWeight; + BackedCandidate: BackedCandidate; + Balance: Balance; + BalanceLock: BalanceLock; + BalanceLockTo212: BalanceLockTo212; + BalanceOf: BalanceOf; + BalanceStatus: BalanceStatus; + BeefyAuthoritySet: BeefyAuthoritySet; + BeefyCommitment: BeefyCommitment; + BeefyId: BeefyId; + BeefyKey: BeefyKey; + BeefyNextAuthoritySet: BeefyNextAuthoritySet; + BeefyPayload: BeefyPayload; + BeefyPayloadId: BeefyPayloadId; + BeefySignedCommitment: BeefySignedCommitment; + BenchmarkBatch: BenchmarkBatch; + BenchmarkConfig: BenchmarkConfig; + BenchmarkList: BenchmarkList; + BenchmarkMetadata: BenchmarkMetadata; + BenchmarkParameter: BenchmarkParameter; + BenchmarkResult: BenchmarkResult; + Bid: Bid; + Bidder: Bidder; + BidKind: BidKind; + BitVec: BitVec; + Block: Block; + BlockAttestations: BlockAttestations; + BlockHash: BlockHash; + BlockLength: BlockLength; + BlockNumber: BlockNumber; + BlockNumberFor: BlockNumberFor; + BlockNumberOf: BlockNumberOf; + BlockStats: BlockStats; + BlockTrace: BlockTrace; + BlockTraceEvent: BlockTraceEvent; + BlockTraceEventData: BlockTraceEventData; + BlockTraceSpan: BlockTraceSpan; + BlockV0: BlockV0; + BlockV1: BlockV1; + BlockV2: BlockV2; + BlockWeights: BlockWeights; + BodyId: BodyId; + BodyPart: BodyPart; + bool: bool; + Bool: Bool; + Bounty: Bounty; + BountyIndex: BountyIndex; + BountyStatus: BountyStatus; + BountyStatusActive: BountyStatusActive; + BountyStatusCuratorProposed: BountyStatusCuratorProposed; + BountyStatusPendingPayout: BountyStatusPendingPayout; + BridgedBlockHash: BridgedBlockHash; + BridgedBlockNumber: BridgedBlockNumber; + BridgedHeader: BridgedHeader; + BridgeMessageId: BridgeMessageId; + BufferedSessionChange: BufferedSessionChange; + Bytes: Bytes; + Call: Call; + CallHash: CallHash; + CallHashOf: CallHashOf; + CallIndex: CallIndex; + CallOrigin: CallOrigin; + CandidateCommitments: CandidateCommitments; + CandidateDescriptor: CandidateDescriptor; + CandidateEvent: CandidateEvent; + CandidateHash: CandidateHash; + CandidateInfo: CandidateInfo; + CandidatePendingAvailability: CandidatePendingAvailability; + CandidateReceipt: CandidateReceipt; + ChainId: ChainId; + ChainProperties: ChainProperties; + ChainType: ChainType; + ChangesTrieConfiguration: ChangesTrieConfiguration; + ChangesTrieSignal: ChangesTrieSignal; + CheckInherentsResult: CheckInherentsResult; + ClassDetails: ClassDetails; + ClassId: ClassId; + ClassMetadata: ClassMetadata; + CodecHash: CodecHash; + CodeHash: CodeHash; + CodeSource: CodeSource; + CodeUploadRequest: CodeUploadRequest; + CodeUploadResult: CodeUploadResult; + CodeUploadResultValue: CodeUploadResultValue; + CollationInfo: CollationInfo; + CollationInfoV1: CollationInfoV1; + CollatorId: CollatorId; + CollatorSignature: CollatorSignature; + CollectiveOrigin: CollectiveOrigin; + CommittedCandidateReceipt: CommittedCandidateReceipt; + CommonMosaicRemoteAssetId: CommonMosaicRemoteAssetId; + CompactAssignments: CompactAssignments; + CompactAssignmentsTo257: CompactAssignmentsTo257; + CompactAssignmentsTo265: CompactAssignmentsTo265; + CompactAssignmentsWith16: CompactAssignmentsWith16; + CompactAssignmentsWith24: CompactAssignmentsWith24; + CompactScore: CompactScore; + CompactScoreCompact: CompactScoreCompact; + ComposableSupportEthereumAddress: ComposableSupportEthereumAddress; + ComposableTraitsAccountProxyProxyDefinition: ComposableTraitsAccountProxyProxyDefinition; + ComposableTraitsAccountProxyProxyType: ComposableTraitsAccountProxyProxyType; + ComposableTraitsAssetsBasicAssetMetadata: ComposableTraitsAssetsBasicAssetMetadata; + ComposableTraitsAssetsXcmAssetLocation: ComposableTraitsAssetsXcmAssetLocation; + ComposableTraitsAuctionAuctionStepFunction: ComposableTraitsAuctionAuctionStepFunction; + ComposableTraitsBondedFinanceBondDuration: ComposableTraitsBondedFinanceBondDuration; + ComposableTraitsBondedFinanceBondOffer: ComposableTraitsBondedFinanceBondOffer; + ComposableTraitsBondedFinanceBondOfferReward: ComposableTraitsBondedFinanceBondOfferReward; + ComposableTraitsCallFilterCallFilterEntry: ComposableTraitsCallFilterCallFilterEntry; + ComposableTraitsCurrencyRational64: ComposableTraitsCurrencyRational64; + ComposableTraitsDefiCurrencyPairCurrencyId: ComposableTraitsDefiCurrencyPairCurrencyId; + ComposableTraitsDefiSell: ComposableTraitsDefiSell; + ComposableTraitsDefiSellCurrencyId: ComposableTraitsDefiSellCurrencyId; + ComposableTraitsDefiTake: ComposableTraitsDefiTake; + ComposableTraitsDexAssetAmount: ComposableTraitsDexAssetAmount; + ComposableTraitsDexConstantProductPoolInfo: ComposableTraitsDexConstantProductPoolInfo; + ComposableTraitsDexDexRoute: ComposableTraitsDexDexRoute; + ComposableTraitsDexFee: ComposableTraitsDexFee; + ComposableTraitsDexStableSwapPoolInfo: ComposableTraitsDexStableSwapPoolInfo; + ComposableTraitsDexStakingRewardPool: ComposableTraitsDexStakingRewardPool; + ComposableTraitsGovernanceSignedRawOrigin: ComposableTraitsGovernanceSignedRawOrigin; + ComposableTraitsLendingCreateInput: ComposableTraitsLendingCreateInput; + ComposableTraitsLendingMarketConfig: ComposableTraitsLendingMarketConfig; + ComposableTraitsLendingRepayStrategy: ComposableTraitsLendingRepayStrategy; + ComposableTraitsLendingUpdateInput: ComposableTraitsLendingUpdateInput; + ComposableTraitsOraclePrice: ComposableTraitsOraclePrice; + ComposableTraitsOracleRewardTracker: ComposableTraitsOracleRewardTracker; + ComposableTraitsStakingRewardPool: ComposableTraitsStakingRewardPool; + ComposableTraitsStakingRewardPoolConfiguration: ComposableTraitsStakingRewardPoolConfiguration; + ComposableTraitsStakingRewardUpdate: ComposableTraitsStakingRewardUpdate; + ComposableTraitsStakingStake: ComposableTraitsStakingStake; + ComposableTraitsTimeTimeReleaseFunction: ComposableTraitsTimeTimeReleaseFunction; + ComposableTraitsVaultVaultConfig: ComposableTraitsVaultVaultConfig; + ComposableTraitsVestingVestingSchedule: ComposableTraitsVestingVestingSchedule; + ComposableTraitsVestingVestingScheduleIdSet: ComposableTraitsVestingVestingScheduleIdSet; + ComposableTraitsVestingVestingScheduleInfo: ComposableTraitsVestingVestingScheduleInfo; + ComposableTraitsXcmAssetsForeignMetadata: ComposableTraitsXcmAssetsForeignMetadata; + ComposableTraitsXcmAssetsXcmAssetLocation: ComposableTraitsXcmAssetsXcmAssetLocation; + ComposableTraitsXcmCumulusMethodId: ComposableTraitsXcmCumulusMethodId; + ComposableTraitsXcmXcmSellRequest: ComposableTraitsXcmXcmSellRequest; + ConfigData: ConfigData; + Consensus: Consensus; + ConsensusEngineId: ConsensusEngineId; + ConsumedWeight: ConsumedWeight; + ContractCallFlags: ContractCallFlags; + ContractCallRequest: ContractCallRequest; + ContractConstructorSpecLatest: ContractConstructorSpecLatest; + ContractConstructorSpecV0: ContractConstructorSpecV0; + ContractConstructorSpecV1: ContractConstructorSpecV1; + ContractConstructorSpecV2: ContractConstructorSpecV2; + ContractConstructorSpecV3: ContractConstructorSpecV3; + ContractContractSpecV0: ContractContractSpecV0; + ContractContractSpecV1: ContractContractSpecV1; + ContractContractSpecV2: ContractContractSpecV2; + ContractContractSpecV3: ContractContractSpecV3; + ContractContractSpecV4: ContractContractSpecV4; + ContractCryptoHasher: ContractCryptoHasher; + ContractDiscriminant: ContractDiscriminant; + ContractDisplayName: ContractDisplayName; + ContractEventParamSpecLatest: ContractEventParamSpecLatest; + ContractEventParamSpecV0: ContractEventParamSpecV0; + ContractEventParamSpecV2: ContractEventParamSpecV2; + ContractEventSpecLatest: ContractEventSpecLatest; + ContractEventSpecV0: ContractEventSpecV0; + ContractEventSpecV1: ContractEventSpecV1; + ContractEventSpecV2: ContractEventSpecV2; + ContractExecResult: ContractExecResult; + ContractExecResultOk: ContractExecResultOk; + ContractExecResultResult: ContractExecResultResult; + ContractExecResultSuccessTo255: ContractExecResultSuccessTo255; + ContractExecResultSuccessTo260: ContractExecResultSuccessTo260; + ContractExecResultTo255: ContractExecResultTo255; + ContractExecResultTo260: ContractExecResultTo260; + ContractExecResultTo267: ContractExecResultTo267; + ContractInfo: ContractInfo; + ContractInstantiateResult: ContractInstantiateResult; + ContractInstantiateResultTo267: ContractInstantiateResultTo267; + ContractInstantiateResultTo299: ContractInstantiateResultTo299; + ContractLayoutArray: ContractLayoutArray; + ContractLayoutCell: ContractLayoutCell; + ContractLayoutEnum: ContractLayoutEnum; + ContractLayoutHash: ContractLayoutHash; + ContractLayoutHashingStrategy: ContractLayoutHashingStrategy; + ContractLayoutKey: ContractLayoutKey; + ContractLayoutStruct: ContractLayoutStruct; + ContractLayoutStructField: ContractLayoutStructField; + ContractMessageParamSpecLatest: ContractMessageParamSpecLatest; + ContractMessageParamSpecV0: ContractMessageParamSpecV0; + ContractMessageParamSpecV2: ContractMessageParamSpecV2; + ContractMessageSpecLatest: ContractMessageSpecLatest; + ContractMessageSpecV0: ContractMessageSpecV0; + ContractMessageSpecV1: ContractMessageSpecV1; + ContractMessageSpecV2: ContractMessageSpecV2; + ContractMetadata: ContractMetadata; + ContractMetadataLatest: ContractMetadataLatest; + ContractMetadataV0: ContractMetadataV0; + ContractMetadataV1: ContractMetadataV1; + ContractMetadataV2: ContractMetadataV2; + ContractMetadataV3: ContractMetadataV3; + ContractMetadataV4: ContractMetadataV4; + ContractProject: ContractProject; + ContractProjectContract: ContractProjectContract; + ContractProjectInfo: ContractProjectInfo; + ContractProjectSource: ContractProjectSource; + ContractProjectV0: ContractProjectV0; + ContractReturnFlags: ContractReturnFlags; + ContractSelector: ContractSelector; + ContractStorageKey: ContractStorageKey; + ContractStorageLayout: ContractStorageLayout; + ContractTypeSpec: ContractTypeSpec; + CoreAssignment: CoreAssignment; + CoreIndex: CoreIndex; + CoreOccupied: CoreOccupied; + CoreState: CoreState; + CrateVersion: CrateVersion; + CreatedBlock: CreatedBlock; + CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData; + CumulusPalletDmpQueuePageIndexData: CumulusPalletDmpQueuePageIndexData; + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot; + CumulusPalletXcmpQueueInboundChannelDetails: CumulusPalletXcmpQueueInboundChannelDetails; + CumulusPalletXcmpQueueInboundStatus: CumulusPalletXcmpQueueInboundStatus; + CumulusPalletXcmpQueueOutboundChannelDetails: CumulusPalletXcmpQueueOutboundChannelDetails; + CumulusPalletXcmpQueueOutboundStatus: CumulusPalletXcmpQueueOutboundStatus; + CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData; + CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData; + CurrencyId: CurrencyId; + CustomRpcBalance: CustomRpcBalance; + CustomRpcCurrencyId: CustomRpcCurrencyId; + DaliRuntimeOpaqueSessionKeys: DaliRuntimeOpaqueSessionKeys; + DaliRuntimeOriginCaller: DaliRuntimeOriginCaller; + Data: Data; + DeferredOffenceOf: DeferredOffenceOf; + DefunctVoter: DefunctVoter; + DelayKind: DelayKind; + DelayKindBest: DelayKindBest; + DeletedContract: DeletedContract; + DeliveredMessages: DeliveredMessages; + DepositBalance: DepositBalance; + DepositBalanceOf: DepositBalanceOf; + DestroyWitness: DestroyWitness; + Digest: Digest; + DigestItem: DigestItem; + DigestOf: DigestOf; + DispatchClass: DispatchClass; + DispatchError: DispatchError; + DispatchErrorModule: DispatchErrorModule; + DispatchErrorModulePre6: DispatchErrorModulePre6; + DispatchErrorModuleU8: DispatchErrorModuleU8; + DispatchErrorModuleU8a: DispatchErrorModuleU8a; + DispatchErrorPre6: DispatchErrorPre6; + DispatchErrorPre6First: DispatchErrorPre6First; + DispatchErrorTo198: DispatchErrorTo198; + DispatchFeePayment: DispatchFeePayment; + DispatchInfo: DispatchInfo; + DispatchInfoTo190: DispatchInfoTo190; + DispatchInfoTo244: DispatchInfoTo244; + DispatchOutcome: DispatchOutcome; + DispatchOutcomePre6: DispatchOutcomePre6; + DispatchResult: DispatchResult; + DispatchResultOf: DispatchResultOf; + DispatchResultTo198: DispatchResultTo198; + DisputeLocation: DisputeLocation; + DisputeResult: DisputeResult; + DisputeState: DisputeState; + DisputeStatement: DisputeStatement; + DisputeStatementSet: DisputeStatementSet; + DoubleEncodedCall: DoubleEncodedCall; + DoubleVoteReport: DoubleVoteReport; + DownwardMessage: DownwardMessage; + EcdsaSignature: EcdsaSignature; + Ed25519Signature: Ed25519Signature; + EIP1559Transaction: EIP1559Transaction; + EIP2930Transaction: EIP2930Transaction; + ElectionCompute: ElectionCompute; + ElectionPhase: ElectionPhase; + ElectionResult: ElectionResult; + ElectionScore: ElectionScore; + ElectionSize: ElectionSize; + ElectionStatus: ElectionStatus; + EncodedFinalityProofs: EncodedFinalityProofs; + EncodedJustification: EncodedJustification; + Epoch: Epoch; + EpochAuthorship: EpochAuthorship; + Era: Era; + EraIndex: EraIndex; + EraPoints: EraPoints; + EraRewardPoints: EraRewardPoints; + EraRewards: EraRewards; + ErrorMetadataLatest: ErrorMetadataLatest; + ErrorMetadataV10: ErrorMetadataV10; + ErrorMetadataV11: ErrorMetadataV11; + ErrorMetadataV12: ErrorMetadataV12; + ErrorMetadataV13: ErrorMetadataV13; + ErrorMetadataV14: ErrorMetadataV14; + ErrorMetadataV9: ErrorMetadataV9; + EthAccessList: EthAccessList; + EthAccessListItem: EthAccessListItem; + EthAccount: EthAccount; + EthAddress: EthAddress; + EthBlock: EthBlock; + EthBloom: EthBloom; + EthCallRequest: EthCallRequest; + EthereumAccountId: EthereumAccountId; + EthereumAddress: EthereumAddress; + EthereumLookupSource: EthereumLookupSource; + EthereumSignature: EthereumSignature; + EthFeeHistory: EthFeeHistory; + EthFilter: EthFilter; + EthFilterAddress: EthFilterAddress; + EthFilterChanges: EthFilterChanges; + EthFilterTopic: EthFilterTopic; + EthFilterTopicEntry: EthFilterTopicEntry; + EthFilterTopicInner: EthFilterTopicInner; + EthHeader: EthHeader; + EthLog: EthLog; + EthReceipt: EthReceipt; + EthReceiptV0: EthReceiptV0; + EthReceiptV3: EthReceiptV3; + EthRichBlock: EthRichBlock; + EthRichHeader: EthRichHeader; + EthStorageProof: EthStorageProof; + EthSubKind: EthSubKind; + EthSubParams: EthSubParams; + EthSubResult: EthSubResult; + EthSyncInfo: EthSyncInfo; + EthSyncStatus: EthSyncStatus; + EthTransaction: EthTransaction; + EthTransactionAction: EthTransactionAction; + EthTransactionCondition: EthTransactionCondition; + EthTransactionRequest: EthTransactionRequest; + EthTransactionSignature: EthTransactionSignature; + EthTransactionStatus: EthTransactionStatus; + EthWork: EthWork; + Event: Event; + EventId: EventId; + EventIndex: EventIndex; + EventMetadataLatest: EventMetadataLatest; + EventMetadataV10: EventMetadataV10; + EventMetadataV11: EventMetadataV11; + EventMetadataV12: EventMetadataV12; + EventMetadataV13: EventMetadataV13; + EventMetadataV14: EventMetadataV14; + EventMetadataV9: EventMetadataV9; + EventRecord: EventRecord; + EvmAccount: EvmAccount; + EvmCallInfo: EvmCallInfo; + EvmCreateInfo: EvmCreateInfo; + EvmLog: EvmLog; + EvmVicinity: EvmVicinity; + ExecReturnValue: ExecReturnValue; + ExitError: ExitError; + ExitFatal: ExitFatal; + ExitReason: ExitReason; + ExitRevert: ExitRevert; + ExitSucceed: ExitSucceed; + ExplicitDisputeStatement: ExplicitDisputeStatement; + Exposure: Exposure; + ExtendedBalance: ExtendedBalance; + Extrinsic: Extrinsic; + ExtrinsicEra: ExtrinsicEra; + ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; + ExtrinsicMetadataV11: ExtrinsicMetadataV11; + ExtrinsicMetadataV12: ExtrinsicMetadataV12; + ExtrinsicMetadataV13: ExtrinsicMetadataV13; + ExtrinsicMetadataV14: ExtrinsicMetadataV14; + ExtrinsicOrHash: ExtrinsicOrHash; + ExtrinsicPayload: ExtrinsicPayload; + ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; + ExtrinsicPayloadV4: ExtrinsicPayloadV4; + ExtrinsicSignature: ExtrinsicSignature; + ExtrinsicSignatureV4: ExtrinsicSignatureV4; + ExtrinsicStatus: ExtrinsicStatus; + ExtrinsicsWeight: ExtrinsicsWeight; + ExtrinsicUnknown: ExtrinsicUnknown; + ExtrinsicV4: ExtrinsicV4; + f32: f32; + F32: F32; + f64: f64; + F64: F64; + FeeDetails: FeeDetails; + Fixed128: Fixed128; + Fixed64: Fixed64; + FixedI128: FixedI128; + FixedI64: FixedI64; + FixedU128: FixedU128; + FixedU64: FixedU64; + Forcing: Forcing; + ForkTreePendingChange: ForkTreePendingChange; + ForkTreePendingChangeNode: ForkTreePendingChangeNode; + FrameSupportPalletId: FrameSupportPalletId; + FrameSupportScheduleLookupError: FrameSupportScheduleLookupError; + FrameSupportScheduleMaybeHashed: FrameSupportScheduleMaybeHashed; + FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; + FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo; + FrameSupportWeightsPerDispatchClassU64: FrameSupportWeightsPerDispatchClassU64; + FrameSupportWeightsRuntimeDbWeight: FrameSupportWeightsRuntimeDbWeight; + FrameSystemAccountInfo: FrameSystemAccountInfo; + FrameSystemEventRecord: FrameSystemEventRecord; + FrameSystemLastRuntimeUpgradeInfo: FrameSystemLastRuntimeUpgradeInfo; + FrameSystemLimitsBlockLength: FrameSystemLimitsBlockLength; + FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights; + FrameSystemPhase: FrameSystemPhase; + FullIdentification: FullIdentification; + FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest; + FunctionArgumentMetadataV10: FunctionArgumentMetadataV10; + FunctionArgumentMetadataV11: FunctionArgumentMetadataV11; + FunctionArgumentMetadataV12: FunctionArgumentMetadataV12; + FunctionArgumentMetadataV13: FunctionArgumentMetadataV13; + FunctionArgumentMetadataV14: FunctionArgumentMetadataV14; + FunctionArgumentMetadataV9: FunctionArgumentMetadataV9; + FunctionMetadataLatest: FunctionMetadataLatest; + FunctionMetadataV10: FunctionMetadataV10; + FunctionMetadataV11: FunctionMetadataV11; + FunctionMetadataV12: FunctionMetadataV12; + FunctionMetadataV13: FunctionMetadataV13; + FunctionMetadataV14: FunctionMetadataV14; + FunctionMetadataV9: FunctionMetadataV9; + FundIndex: FundIndex; + FundInfo: FundInfo; + Fungibility: Fungibility; + FungibilityV0: FungibilityV0; + FungibilityV1: FungibilityV1; + FungibilityV2: FungibilityV2; + Gas: Gas; + GiltBid: GiltBid; + GlobalValidationData: GlobalValidationData; + GlobalValidationSchedule: GlobalValidationSchedule; + GrandpaCommit: GrandpaCommit; + GrandpaEquivocation: GrandpaEquivocation; + GrandpaEquivocationProof: GrandpaEquivocationProof; + GrandpaEquivocationValue: GrandpaEquivocationValue; + GrandpaJustification: GrandpaJustification; + GrandpaPrecommit: GrandpaPrecommit; + GrandpaPrevote: GrandpaPrevote; + GrandpaSignedPrecommit: GrandpaSignedPrecommit; + GroupIndex: GroupIndex; + GroupRotationInfo: GroupRotationInfo; + H1024: H1024; + H128: H128; + H160: H160; + H2048: H2048; + H256: H256; + H32: H32; + H512: H512; + H64: H64; + Hash: Hash; + HeadData: HeadData; + Header: Header; + HeaderPartial: HeaderPartial; + Health: Health; + Heartbeat: Heartbeat; + HeartbeatTo244: HeartbeatTo244; + HostConfiguration: HostConfiguration; + HostFnWeights: HostFnWeights; + HostFnWeightsTo264: HostFnWeightsTo264; + HrmpChannel: HrmpChannel; + HrmpChannelId: HrmpChannelId; + HrmpOpenChannelRequest: HrmpOpenChannelRequest; + i128: i128; + I128: I128; + i16: i16; + I16: I16; + i256: i256; + I256: I256; + i32: i32; + I32: I32; + I32F32: I32F32; + i64: i64; + I64: I64; + i8: i8; + I8: I8; + IbcTraitOpenChannelParams: IbcTraitOpenChannelParams; + IbcTransferPalletParams: IbcTransferPalletParams; + IbcTransferTransferParams: IbcTransferTransferParams; + IdentificationTuple: IdentificationTuple; + IdentityFields: IdentityFields; + IdentityInfo: IdentityInfo; + IdentityInfoAdditional: IdentityInfoAdditional; + IdentityInfoTo198: IdentityInfoTo198; + IdentityJudgement: IdentityJudgement; + ImmortalEra: ImmortalEra; + ImportedAux: ImportedAux; + InboundDownwardMessage: InboundDownwardMessage; + InboundHrmpMessage: InboundHrmpMessage; + InboundHrmpMessages: InboundHrmpMessages; + InboundLaneData: InboundLaneData; + InboundRelayer: InboundRelayer; + InboundStatus: InboundStatus; + IncludedBlocks: IncludedBlocks; + InclusionFee: InclusionFee; + IncomingParachain: IncomingParachain; + IncomingParachainDeploy: IncomingParachainDeploy; + IncomingParachainFixed: IncomingParachainFixed; + Index: Index; + IndicesLookupSource: IndicesLookupSource; + IndividualExposure: IndividualExposure; + InherentData: InherentData; + InherentIdentifier: InherentIdentifier; + InitializationData: InitializationData; + InstanceDetails: InstanceDetails; + InstanceId: InstanceId; + InstanceMetadata: InstanceMetadata; + InstantiateRequest: InstantiateRequest; + InstantiateRequestV1: InstantiateRequestV1; + InstantiateRequestV2: InstantiateRequestV2; + InstantiateReturnValue: InstantiateReturnValue; + InstantiateReturnValueOk: InstantiateReturnValueOk; + InstantiateReturnValueTo267: InstantiateReturnValueTo267; + InstructionV2: InstructionV2; + InstructionWeights: InstructionWeights; + InteriorMultiLocation: InteriorMultiLocation; + InvalidDisputeStatementKind: InvalidDisputeStatementKind; + InvalidTransaction: InvalidTransaction; + Json: Json; + Junction: Junction; + Junctions: Junctions; + JunctionsV1: JunctionsV1; + JunctionsV2: JunctionsV2; + JunctionV0: JunctionV0; + JunctionV1: JunctionV1; + JunctionV2: JunctionV2; + Justification: Justification; + JustificationNotification: JustificationNotification; + Justifications: Justifications; + Key: Key; + KeyOwnerProof: KeyOwnerProof; + Keys: Keys; + KeyType: KeyType; + KeyTypeId: KeyTypeId; + KeyValue: KeyValue; + KeyValueOption: KeyValueOption; + Kind: Kind; + LaneId: LaneId; + LastContribution: LastContribution; + LastRuntimeUpgradeInfo: LastRuntimeUpgradeInfo; + LeasePeriod: LeasePeriod; + LeasePeriodOf: LeasePeriodOf; + LegacyTransaction: LegacyTransaction; + Limits: Limits; + LimitsTo264: LimitsTo264; + LocalValidationData: LocalValidationData; + LockIdentifier: LockIdentifier; + LookupSource: LookupSource; + LookupTarget: LookupTarget; + LotteryConfig: LotteryConfig; + MaybeRandomness: MaybeRandomness; + MaybeVrf: MaybeVrf; + MemberCount: MemberCount; + MembershipProof: MembershipProof; + MessageData: MessageData; + MessageId: MessageId; + MessageIngestionType: MessageIngestionType; + MessageKey: MessageKey; + MessageNonce: MessageNonce; + MessageQueueChain: MessageQueueChain; + MessagesDeliveryProofOf: MessagesDeliveryProofOf; + MessagesProofOf: MessagesProofOf; + MessagingStateSnapshot: MessagingStateSnapshot; + MessagingStateSnapshotEgressEntry: MessagingStateSnapshotEgressEntry; + MetadataAll: MetadataAll; + MetadataLatest: MetadataLatest; + MetadataV10: MetadataV10; + MetadataV11: MetadataV11; + MetadataV12: MetadataV12; + MetadataV13: MetadataV13; + MetadataV14: MetadataV14; + MetadataV9: MetadataV9; + MigrationStatusResult: MigrationStatusResult; + MmrBatchProof: MmrBatchProof; + MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; + MmrError: MmrError; + MmrLeafBatchProof: MmrLeafBatchProof; + MmrLeafIndex: MmrLeafIndex; + MmrLeafProof: MmrLeafProof; + MmrNodeIndex: MmrNodeIndex; + MmrProof: MmrProof; + MmrRootHash: MmrRootHash; + ModuleConstantMetadataV10: ModuleConstantMetadataV10; + ModuleConstantMetadataV11: ModuleConstantMetadataV11; + ModuleConstantMetadataV12: ModuleConstantMetadataV12; + ModuleConstantMetadataV13: ModuleConstantMetadataV13; + ModuleConstantMetadataV9: ModuleConstantMetadataV9; + ModuleId: ModuleId; + ModuleMetadataV10: ModuleMetadataV10; + ModuleMetadataV11: ModuleMetadataV11; + ModuleMetadataV12: ModuleMetadataV12; + ModuleMetadataV13: ModuleMetadataV13; + ModuleMetadataV9: ModuleMetadataV9; + Moment: Moment; + MomentOf: MomentOf; + MoreAttestations: MoreAttestations; + MortalEra: MortalEra; + MultiAddress: MultiAddress; + MultiAsset: MultiAsset; + MultiAssetFilter: MultiAssetFilter; + MultiAssetFilterV1: MultiAssetFilterV1; + MultiAssetFilterV2: MultiAssetFilterV2; + MultiAssets: MultiAssets; + MultiAssetsV1: MultiAssetsV1; + MultiAssetsV2: MultiAssetsV2; + MultiAssetV0: MultiAssetV0; + MultiAssetV1: MultiAssetV1; + MultiAssetV2: MultiAssetV2; + MultiDisputeStatementSet: MultiDisputeStatementSet; + MultiLocation: MultiLocation; + MultiLocationV0: MultiLocationV0; + MultiLocationV1: MultiLocationV1; + MultiLocationV2: MultiLocationV2; + Multiplier: Multiplier; + Multisig: Multisig; + MultiSignature: MultiSignature; + MultiSigner: MultiSigner; + NetworkId: NetworkId; + NetworkState: NetworkState; + NetworkStatePeerset: NetworkStatePeerset; + NetworkStatePeersetInfo: NetworkStatePeersetInfo; + NewBidder: NewBidder; + NextAuthority: NextAuthority; + NextConfigDescriptor: NextConfigDescriptor; + NextConfigDescriptorV1: NextConfigDescriptorV1; + NodeRole: NodeRole; + Nominations: Nominations; + NominatorIndex: NominatorIndex; + NominatorIndexCompact: NominatorIndexCompact; + NotConnectedPeer: NotConnectedPeer; + NpApiError: NpApiError; + Null: Null; + OccupiedCore: OccupiedCore; + OccupiedCoreAssumption: OccupiedCoreAssumption; + OffchainAccuracy: OffchainAccuracy; + OffchainAccuracyCompact: OffchainAccuracyCompact; + OffenceDetails: OffenceDetails; + Offender: Offender; + OldV1SessionInfo: OldV1SessionInfo; + OpaqueCall: OpaqueCall; + OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof; + OpaqueMetadata: OpaqueMetadata; + OpaqueMultiaddr: OpaqueMultiaddr; + OpaqueNetworkState: OpaqueNetworkState; + OpaquePeerId: OpaquePeerId; + OpaqueTimeSlot: OpaqueTimeSlot; + OpenTip: OpenTip; + OpenTipFinderTo225: OpenTipFinderTo225; + OpenTipTip: OpenTipTip; + OpenTipTo225: OpenTipTo225; + OperatingMode: OperatingMode; + OptionBool: OptionBool; + Origin: Origin; + OriginCaller: OriginCaller; + OriginKindV0: OriginKindV0; + OriginKindV1: OriginKindV1; + OriginKindV2: OriginKindV2; + OrmlTokensAccountData: OrmlTokensAccountData; + OrmlTokensBalanceLock: OrmlTokensBalanceLock; + OrmlTokensReserveData: OrmlTokensReserveData; + OutboundHrmpMessage: OutboundHrmpMessage; + OutboundLaneData: OutboundLaneData; + OutboundMessageFee: OutboundMessageFee; + OutboundPayload: OutboundPayload; + OutboundStatus: OutboundStatus; + Outcome: Outcome; + OverweightIndex: OverweightIndex; + Owner: Owner; + PageCounter: PageCounter; + PageIndexData: PageIndexData; + PalletAccountProxyAnnouncement: PalletAccountProxyAnnouncement; + PalletAssetsRegistryCandidateStatus: PalletAssetsRegistryCandidateStatus; + PalletAssetsRegistryForeignMetadata: PalletAssetsRegistryForeignMetadata; + PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem; + PalletBalancesAccountData: PalletBalancesAccountData; + PalletBalancesBalanceLock: PalletBalancesBalanceLock; + PalletBalancesReleases: PalletBalancesReleases; + PalletBalancesReserveData: PalletBalancesReserveData; + PalletCallMetadataLatest: PalletCallMetadataLatest; + PalletCallMetadataV14: PalletCallMetadataV14; + PalletCollatorSelectionCandidateInfo: PalletCollatorSelectionCandidateInfo; + PalletCollectiveVotes: PalletCollectiveVotes; + PalletConstantMetadataLatest: PalletConstantMetadataLatest; + PalletConstantMetadataV14: PalletConstantMetadataV14; + PalletCosmwasmCodeIdentifier: PalletCosmwasmCodeIdentifier; + PalletCosmwasmCodeInfo: PalletCosmwasmCodeInfo; + PalletCosmwasmContractInfo: PalletCosmwasmContractInfo; + PalletCosmwasmEntryPoint: PalletCosmwasmEntryPoint; + PalletCosmwasmInstrumentCostRules: PalletCosmwasmInstrumentCostRules; + PalletCrowdloanRewardsModelsEcdsaSignature: PalletCrowdloanRewardsModelsEcdsaSignature; + PalletCrowdloanRewardsModelsProof: PalletCrowdloanRewardsModelsProof; + PalletCrowdloanRewardsModelsRemoteAccount: PalletCrowdloanRewardsModelsRemoteAccount; + PalletCrowdloanRewardsModelsReward: PalletCrowdloanRewardsModelsReward; + PalletCrowdloanRewardsReward: PalletCrowdloanRewardsReward; + PalletCurrencyFactoryRanges: PalletCurrencyFactoryRanges; + PalletCurrencyFactoryRangesRange: PalletCurrencyFactoryRangesRange; + PalletDemocracyConviction: PalletDemocracyConviction; + PalletDemocracyPreimageStatus: PalletDemocracyPreimageStatus; + PalletDemocracyReferendumInfo: PalletDemocracyReferendumInfo; + PalletDemocracyReleases: PalletDemocracyReleases; + PalletDemocracyVoteAccountVote: PalletDemocracyVoteAccountVote; + PalletDemocracyVoteThreshold: PalletDemocracyVoteThreshold; + PalletDemocracyVoteVoting: PalletDemocracyVoteVoting; + PalletDutchAuctionSellOrder: PalletDutchAuctionSellOrder; + PalletDutchAuctionTakeOrder: PalletDutchAuctionTakeOrder; + PalletErrorMetadataLatest: PalletErrorMetadataLatest; + PalletErrorMetadataV14: PalletErrorMetadataV14; + PalletEventMetadataLatest: PalletEventMetadataLatest; + PalletEventMetadataV14: PalletEventMetadataV14; + PalletIbcAny: PalletIbcAny; + PalletIbcConnectionParams: PalletIbcConnectionParams; + PalletIbcErrorsIbcError: PalletIbcErrorsIbcError; + PalletIbcEventsIbcEvent: PalletIbcEventsIbcEvent; + PalletIbcIbcConsensusState: PalletIbcIbcConsensusState; + PalletIbcPalletParams: PalletIbcPalletParams; + PalletIbcPingSendPingParams: PalletIbcPingSendPingParams; + PalletIbcTransferParams: PalletIbcTransferParams; + PalletIbcUpgradeParams: PalletIbcUpgradeParams; + PalletId: PalletId; + PalletIdentityBitFlags: PalletIdentityBitFlags; + PalletIdentityIdentityInfo: PalletIdentityIdentityInfo; + PalletIdentityJudgement: PalletIdentityJudgement; + PalletIdentityRegistrarInfo: PalletIdentityRegistrarInfo; + PalletIdentityRegistration: PalletIdentityRegistration; + PalletLiquidationsLiquidationStrategyConfiguration: PalletLiquidationsLiquidationStrategyConfiguration; + PalletLiquidityBootstrappingPool: PalletLiquidityBootstrappingPool; + PalletMetadataLatest: PalletMetadataLatest; + PalletMetadataV14: PalletMetadataV14; + PalletMosaicAmmSwapInfo: PalletMosaicAmmSwapInfo; + PalletMosaicAssetInfo: PalletMosaicAssetInfo; + PalletMosaicDecayBudgetPenaltyDecayer: PalletMosaicDecayBudgetPenaltyDecayer; + PalletMosaicNetworkInfo: PalletMosaicNetworkInfo; + PalletMosaicRelayerStaleRelayer: PalletMosaicRelayerStaleRelayer; + PalletMultisigMultisig: PalletMultisigMultisig; + PalletMultisigTimepoint: PalletMultisigTimepoint; + PalletOracleAssetInfo: PalletOracleAssetInfo; + PalletOraclePrePrice: PalletOraclePrePrice; + PalletOraclePrice: PalletOraclePrice; + PalletOracleWithdraw: PalletOracleWithdraw; + PalletPabloPoolConfiguration: PalletPabloPoolConfiguration; + PalletPabloPoolId: PalletPabloPoolId; + PalletPabloPoolInitConfiguration: PalletPabloPoolInitConfiguration; + PalletPabloPriceAggregate: PalletPabloPriceAggregate; + PalletPabloPriceCumulative: PalletPabloPriceCumulative; + PalletPabloTimeWeightedAveragePrice: PalletPabloTimeWeightedAveragePrice; + PalletPreimageRequestStatus: PalletPreimageRequestStatus; + PalletSchedulerReleases: PalletSchedulerReleases; + PalletSchedulerScheduledV2: PalletSchedulerScheduledV2; + PalletSchedulerScheduledV3: PalletSchedulerScheduledV3; + PalletsOrigin: PalletsOrigin; + PalletStakingRewardsRewardAccumulationHookError: PalletStakingRewardsRewardAccumulationHookError; + PalletStorageMetadataLatest: PalletStorageMetadataLatest; + PalletStorageMetadataV14: PalletStorageMetadataV14; + PalletTransactionPaymentReleases: PalletTransactionPaymentReleases; + PalletTreasuryProposal: PalletTreasuryProposal; + PalletVaultModelsStrategyOverview: PalletVaultModelsStrategyOverview; + PalletVaultModelsVaultInfo: PalletVaultModelsVaultInfo; + PalletVersion: PalletVersion; + PalletXcmQueryStatus: PalletXcmQueryStatus; + PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage; + ParachainDispatchOrigin: ParachainDispatchOrigin; + ParachainInherentData: ParachainInherentData; + ParachainProposal: ParachainProposal; + ParachainsInherentData: ParachainsInherentData; + ParaGenesisArgs: ParaGenesisArgs; + ParaId: ParaId; + ParaInfo: ParaInfo; + ParaLifecycle: ParaLifecycle; + Parameter: Parameter; + ParaPastCodeMeta: ParaPastCodeMeta; + ParaScheduling: ParaScheduling; + ParathreadClaim: ParathreadClaim; + ParathreadClaimQueue: ParathreadClaimQueue; + ParathreadEntry: ParathreadEntry; + ParaValidatorIndex: ParaValidatorIndex; + Pays: Pays; + Peer: Peer; + PeerEndpoint: PeerEndpoint; + PeerEndpointAddr: PeerEndpointAddr; + PeerInfo: PeerInfo; + PeerPing: PeerPing; + PendingChange: PendingChange; + PendingPause: PendingPause; + PendingResume: PendingResume; + Perbill: Perbill; + Percent: Percent; + PerDispatchClassU32: PerDispatchClassU32; + PerDispatchClassWeight: PerDispatchClassWeight; + PerDispatchClassWeightsPerClass: PerDispatchClassWeightsPerClass; + Period: Period; + Permill: Permill; + PermissionLatest: PermissionLatest; + PermissionsV1: PermissionsV1; + PermissionVersions: PermissionVersions; + Perquintill: Perquintill; + PersistedValidationData: PersistedValidationData; + PerU16: PerU16; + Phantom: Phantom; + PhantomData: PhantomData; + Phase: Phase; + PhragmenScore: PhragmenScore; + Points: Points; + PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; + PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat; + PolkadotPrimitivesV1AbridgedHostConfiguration: PolkadotPrimitivesV1AbridgedHostConfiguration; + PolkadotPrimitivesV1PersistedValidationData: PolkadotPrimitivesV1PersistedValidationData; + PolkadotPrimitivesV2AbridgedHostConfiguration: PolkadotPrimitivesV2AbridgedHostConfiguration; + PolkadotPrimitivesV2PersistedValidationData: PolkadotPrimitivesV2PersistedValidationData; + PolkadotPrimitivesV2UpgradeRestriction: PolkadotPrimitivesV2UpgradeRestriction; + PortableType: PortableType; + PortableTypeV14: PortableTypeV14; + Precommits: Precommits; + PrefabWasmModule: PrefabWasmModule; + PrefixedStorageKey: PrefixedStorageKey; + PreRuntime: PreRuntime; + Prevotes: Prevotes; + Priority: Priority; + ProposalIndex: ProposalIndex; + ProxyAnnouncement: ProxyAnnouncement; + ProxyDefinition: ProxyDefinition; + ProxyType: ProxyType; + PvfCheckStatement: PvfCheckStatement; + QueryId: QueryId; + QueryStatus: QueryStatus; + QueueConfigData: QueueConfigData; + QueuedParathread: QueuedParathread; + Randomness: Randomness; + Raw: Raw; + RawAuraPreDigest: RawAuraPreDigest; + RawBabePreDigest: RawBabePreDigest; + RawBabePreDigestCompat: RawBabePreDigestCompat; + RawBabePreDigestPrimary: RawBabePreDigestPrimary; + RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159; + RawBabePreDigestSecondaryPlain: RawBabePreDigestSecondaryPlain; + RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159; + RawBabePreDigestSecondaryVRF: RawBabePreDigestSecondaryVRF; + RawBabePreDigestTo159: RawBabePreDigestTo159; + RawOrigin: RawOrigin; + RawSolution: RawSolution; + RawSolutionTo265: RawSolutionTo265; + RawSolutionWith16: RawSolutionWith16; + RawSolutionWith24: RawSolutionWith24; + RawVRFOutput: RawVRFOutput; + ReadProof: ReadProof; + ReadySolution: ReadySolution; + Reasons: Reasons; + RecoveryConfig: RecoveryConfig; + RefCount: RefCount; + RefCountTo259: RefCountTo259; + RegisteredParachainInfo: RegisteredParachainInfo; + RegistrarIndex: RegistrarIndex; + RegistrarInfo: RegistrarInfo; + Registration: Registration; + RegistrationJudgement: RegistrationJudgement; + RegistrationTo198: RegistrationTo198; + RelayBlockNumber: RelayBlockNumber; + RelayChainBlockNumber: RelayChainBlockNumber; + RelayChainHash: RelayChainHash; + RelayerId: RelayerId; + RelayHash: RelayHash; + Releases: Releases; + Remark: Remark; + Renouncing: Renouncing; + RentProjection: RentProjection; + ReplacementTimes: ReplacementTimes; + ReportedRoundStates: ReportedRoundStates; + Reporter: Reporter; + ReportIdOf: ReportIdOf; + ReserveData: ReserveData; + ReserveIdentifier: ReserveIdentifier; + Response: Response; + ResponseV0: ResponseV0; + ResponseV1: ResponseV1; + ResponseV2: ResponseV2; + ResponseV2Error: ResponseV2Error; + ResponseV2Result: ResponseV2Result; + Retriable: Retriable; + RewardDestination: RewardDestination; + RewardPoint: RewardPoint; + RoundSnapshot: RoundSnapshot; + RoundState: RoundState; + RpcMethods: RpcMethods; + RuntimeDbWeight: RuntimeDbWeight; + RuntimeDispatchInfo: RuntimeDispatchInfo; + RuntimeVersion: RuntimeVersion; + RuntimeVersionApi: RuntimeVersionApi; + RuntimeVersionPartial: RuntimeVersionPartial; + RuntimeVersionPre3: RuntimeVersionPre3; + RuntimeVersionPre4: RuntimeVersionPre4; + SafeRpcWrapper: SafeRpcWrapper; + Schedule: Schedule; + Scheduled: Scheduled; + ScheduledCore: ScheduledCore; + ScheduledTo254: ScheduledTo254; + SchedulePeriod: SchedulePeriod; + SchedulePriority: SchedulePriority; + ScheduleTo212: ScheduleTo212; + ScheduleTo258: ScheduleTo258; + ScheduleTo264: ScheduleTo264; + Scheduling: Scheduling; + ScrapedOnChainVotes: ScrapedOnChainVotes; + Seal: Seal; + SealV0: SealV0; + SeatHolder: SeatHolder; + SeedOf: SeedOf; + ServiceQuality: ServiceQuality; + SessionIndex: SessionIndex; + SessionInfo: SessionInfo; + SessionInfoValidatorGroup: SessionInfoValidatorGroup; + SessionKeys1: SessionKeys1; + SessionKeys10: SessionKeys10; + SessionKeys10B: SessionKeys10B; + SessionKeys2: SessionKeys2; + SessionKeys3: SessionKeys3; + SessionKeys4: SessionKeys4; + SessionKeys5: SessionKeys5; + SessionKeys6: SessionKeys6; + SessionKeys6B: SessionKeys6B; + SessionKeys7: SessionKeys7; + SessionKeys7B: SessionKeys7B; + SessionKeys8: SessionKeys8; + SessionKeys8B: SessionKeys8B; + SessionKeys9: SessionKeys9; + SessionKeys9B: SessionKeys9B; + SetId: SetId; + SetIndex: SetIndex; + Si0Field: Si0Field; + Si0LookupTypeId: Si0LookupTypeId; + Si0Path: Si0Path; + Si0Type: Si0Type; + Si0TypeDef: Si0TypeDef; + Si0TypeDefArray: Si0TypeDefArray; + Si0TypeDefBitSequence: Si0TypeDefBitSequence; + Si0TypeDefCompact: Si0TypeDefCompact; + Si0TypeDefComposite: Si0TypeDefComposite; + Si0TypeDefPhantom: Si0TypeDefPhantom; + Si0TypeDefPrimitive: Si0TypeDefPrimitive; + Si0TypeDefSequence: Si0TypeDefSequence; + Si0TypeDefTuple: Si0TypeDefTuple; + Si0TypeDefVariant: Si0TypeDefVariant; + Si0TypeParameter: Si0TypeParameter; + Si0Variant: Si0Variant; + Si1Field: Si1Field; + Si1LookupTypeId: Si1LookupTypeId; + Si1Path: Si1Path; + Si1Type: Si1Type; + Si1TypeDef: Si1TypeDef; + Si1TypeDefArray: Si1TypeDefArray; + Si1TypeDefBitSequence: Si1TypeDefBitSequence; + Si1TypeDefCompact: Si1TypeDefCompact; + Si1TypeDefComposite: Si1TypeDefComposite; + Si1TypeDefPrimitive: Si1TypeDefPrimitive; + Si1TypeDefSequence: Si1TypeDefSequence; + Si1TypeDefTuple: Si1TypeDefTuple; + Si1TypeDefVariant: Si1TypeDefVariant; + Si1TypeParameter: Si1TypeParameter; + Si1Variant: Si1Variant; + SiField: SiField; + Signature: Signature; + SignedAvailabilityBitfield: SignedAvailabilityBitfield; + SignedAvailabilityBitfields: SignedAvailabilityBitfields; + SignedBlock: SignedBlock; + SignedBlockWithJustification: SignedBlockWithJustification; + SignedBlockWithJustifications: SignedBlockWithJustifications; + SignedExtensionMetadataLatest: SignedExtensionMetadataLatest; + SignedExtensionMetadataV14: SignedExtensionMetadataV14; + SignedSubmission: SignedSubmission; + SignedSubmissionOf: SignedSubmissionOf; + SignedSubmissionTo276: SignedSubmissionTo276; + SignerPayload: SignerPayload; + SigningContext: SigningContext; + SiLookupTypeId: SiLookupTypeId; + SiPath: SiPath; + SiType: SiType; + SiTypeDef: SiTypeDef; + SiTypeDefArray: SiTypeDefArray; + SiTypeDefBitSequence: SiTypeDefBitSequence; + SiTypeDefCompact: SiTypeDefCompact; + SiTypeDefComposite: SiTypeDefComposite; + SiTypeDefPrimitive: SiTypeDefPrimitive; + SiTypeDefSequence: SiTypeDefSequence; + SiTypeDefTuple: SiTypeDefTuple; + SiTypeDefVariant: SiTypeDefVariant; + SiTypeParameter: SiTypeParameter; + SiVariant: SiVariant; + SlashingSpans: SlashingSpans; + SlashingSpansTo204: SlashingSpansTo204; + SlashJournalEntry: SlashJournalEntry; + Slot: Slot; + SlotDuration: SlotDuration; + SlotNumber: SlotNumber; + SlotRange: SlotRange; + SlotRange10: SlotRange10; + SocietyJudgement: SocietyJudgement; + SocietyVote: SocietyVote; + SolutionOrSnapshotSize: SolutionOrSnapshotSize; + SolutionSupport: SolutionSupport; + SolutionSupports: SolutionSupports; + SpanIndex: SpanIndex; + SpanRecord: SpanRecord; + SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public; + SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId; + SpecVersion: SpecVersion; + SpRuntimeDigest: SpRuntimeDigest; + SpRuntimeDispatchError: SpRuntimeDispatchError; + SpRuntimeHeader: SpRuntimeHeader; + SpTrieStorageProof: SpTrieStorageProof; + SpVersionRuntimeVersion: SpVersionRuntimeVersion; + Sr25519Signature: Sr25519Signature; + StakingLedger: StakingLedger; + StakingLedgerTo223: StakingLedgerTo223; + StakingLedgerTo240: StakingLedgerTo240; + Statement: Statement; + StatementKind: StatementKind; + StorageChangeSet: StorageChangeSet; + StorageData: StorageData; + StorageDeposit: StorageDeposit; + StorageEntryMetadataLatest: StorageEntryMetadataLatest; + StorageEntryMetadataV10: StorageEntryMetadataV10; + StorageEntryMetadataV11: StorageEntryMetadataV11; + StorageEntryMetadataV12: StorageEntryMetadataV12; + StorageEntryMetadataV13: StorageEntryMetadataV13; + StorageEntryMetadataV14: StorageEntryMetadataV14; + StorageEntryMetadataV9: StorageEntryMetadataV9; + StorageEntryModifierLatest: StorageEntryModifierLatest; + StorageEntryModifierV10: StorageEntryModifierV10; + StorageEntryModifierV11: StorageEntryModifierV11; + StorageEntryModifierV12: StorageEntryModifierV12; + StorageEntryModifierV13: StorageEntryModifierV13; + StorageEntryModifierV14: StorageEntryModifierV14; + StorageEntryModifierV9: StorageEntryModifierV9; + StorageEntryTypeLatest: StorageEntryTypeLatest; + StorageEntryTypeV10: StorageEntryTypeV10; + StorageEntryTypeV11: StorageEntryTypeV11; + StorageEntryTypeV12: StorageEntryTypeV12; + StorageEntryTypeV13: StorageEntryTypeV13; + StorageEntryTypeV14: StorageEntryTypeV14; + StorageEntryTypeV9: StorageEntryTypeV9; + StorageHasher: StorageHasher; + StorageHasherV10: StorageHasherV10; + StorageHasherV11: StorageHasherV11; + StorageHasherV12: StorageHasherV12; + StorageHasherV13: StorageHasherV13; + StorageHasherV14: StorageHasherV14; + StorageHasherV9: StorageHasherV9; + StorageInfo: StorageInfo; + StorageKey: StorageKey; + StorageKind: StorageKind; + StorageMetadataV10: StorageMetadataV10; + StorageMetadataV11: StorageMetadataV11; + StorageMetadataV12: StorageMetadataV12; + StorageMetadataV13: StorageMetadataV13; + StorageMetadataV9: StorageMetadataV9; + StorageProof: StorageProof; + StoredPendingChange: StoredPendingChange; + StoredState: StoredState; + StrikeCount: StrikeCount; + SubId: SubId; + SubmissionIndicesOf: SubmissionIndicesOf; + Supports: Supports; + SyncState: SyncState; + SystemInherentData: SystemInherentData; + SystemOrigin: SystemOrigin; + TaskAddress: TaskAddress; + Text: Text; + Timepoint: Timepoint; + TokenError: TokenError; + TombstoneContractInfo: TombstoneContractInfo; + TraceBlockResponse: TraceBlockResponse; + TraceError: TraceError; + TransactionalError: TransactionalError; + TransactionInfo: TransactionInfo; + TransactionLongevity: TransactionLongevity; + TransactionPriority: TransactionPriority; + TransactionSource: TransactionSource; + TransactionStorageProof: TransactionStorageProof; + TransactionTag: TransactionTag; + TransactionV0: TransactionV0; + TransactionV1: TransactionV1; + TransactionV2: TransactionV2; + TransactionValidity: TransactionValidity; + TransactionValidityError: TransactionValidityError; + TransientValidationData: TransientValidationData; + TreasuryProposal: TreasuryProposal; + TrieId: TrieId; + TrieIndex: TrieIndex; + Type: Type; + u128: u128; + U128: U128; + u16: u16; + U16: U16; + u256: u256; + U256: U256; + u32: u32; + U32: U32; + U32F32: U32F32; + u64: u64; + U64: U64; + u8: u8; + U8: U8; + UnappliedSlash: UnappliedSlash; + UnappliedSlashOther: UnappliedSlashOther; + UncleEntryItem: UncleEntryItem; + UnknownTransaction: UnknownTransaction; + UnlockChunk: UnlockChunk; + UnrewardedRelayer: UnrewardedRelayer; + UnrewardedRelayersState: UnrewardedRelayersState; + UpgradeGoAhead: UpgradeGoAhead; + UpgradeRestriction: UpgradeRestriction; + UpwardMessage: UpwardMessage; + usize: usize; + USize: USize; + ValidationCode: ValidationCode; + ValidationCodeHash: ValidationCodeHash; + ValidationData: ValidationData; + ValidationDataType: ValidationDataType; + ValidationFunctionParams: ValidationFunctionParams; + ValidatorCount: ValidatorCount; + ValidatorId: ValidatorId; + ValidatorIdOf: ValidatorIdOf; + ValidatorIndex: ValidatorIndex; + ValidatorIndexCompact: ValidatorIndexCompact; + ValidatorPrefs: ValidatorPrefs; + ValidatorPrefsTo145: ValidatorPrefsTo145; + ValidatorPrefsTo196: ValidatorPrefsTo196; + ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked; + ValidatorPrefsWithCommission: ValidatorPrefsWithCommission; + ValidatorSet: ValidatorSet; + ValidatorSetId: ValidatorSetId; + ValidatorSignature: ValidatorSignature; + ValidDisputeStatementKind: ValidDisputeStatementKind; + ValidityAttestation: ValidityAttestation; + ValidTransaction: ValidTransaction; + VecInboundHrmpMessage: VecInboundHrmpMessage; + VersionedMultiAsset: VersionedMultiAsset; + VersionedMultiAssets: VersionedMultiAssets; + VersionedMultiLocation: VersionedMultiLocation; + VersionedResponse: VersionedResponse; + VersionedXcm: VersionedXcm; + VersionMigrationStage: VersionMigrationStage; + VestingSchedule: VestingSchedule; + VestingWindow: VestingWindow; + Vote: Vote; + VoteIndex: VoteIndex; + Voter: Voter; + VoterInfo: VoterInfo; + Votes: Votes; + VotesTo230: VotesTo230; + VoteThreshold: VoteThreshold; + VoteWeight: VoteWeight; + VouchingStatus: VouchingStatus; + VrfData: VrfData; + VrfOutput: VrfOutput; + VrfProof: VrfProof; + Weight: Weight; + WeightLimitV2: WeightLimitV2; + WeightMultiplier: WeightMultiplier; + WeightPerClass: WeightPerClass; + WeightToFeeCoefficient: WeightToFeeCoefficient; + WeightV1: WeightV1; + WeightV2: WeightV2; + WildFungibility: WildFungibility; + WildFungibilityV0: WildFungibilityV0; + WildFungibilityV1: WildFungibilityV1; + WildFungibilityV2: WildFungibilityV2; + WildMultiAsset: WildMultiAsset; + WildMultiAssetV1: WildMultiAssetV1; + WildMultiAssetV2: WildMultiAssetV2; + WinnersData: WinnersData; + WinnersData10: WinnersData10; + WinnersDataTuple: WinnersDataTuple; + WinnersDataTuple10: WinnersDataTuple10; + WinningData: WinningData; + WinningData10: WinningData10; + WinningDataEntry: WinningDataEntry; + WithdrawReasons: WithdrawReasons; + Xcm: Xcm; + XcmAssetId: XcmAssetId; + XcmError: XcmError; + XcmErrorV0: XcmErrorV0; + XcmErrorV1: XcmErrorV1; + XcmErrorV2: XcmErrorV2; + XcmOrder: XcmOrder; + XcmOrderV0: XcmOrderV0; + XcmOrderV1: XcmOrderV1; + XcmOrderV2: XcmOrderV2; + XcmOrigin: XcmOrigin; + XcmOriginKind: XcmOriginKind; + XcmpMessageFormat: XcmpMessageFormat; + XcmV0: XcmV0; + XcmV1: XcmV1; + XcmV1MultiAsset: XcmV1MultiAsset; + XcmV1MultiassetMultiAssets: XcmV1MultiassetMultiAssets; + XcmV1MultiLocation: XcmV1MultiLocation; + XcmV2: XcmV2; + XcmV2Response: XcmV2Response; + XcmV2TraitsError: XcmV2TraitsError; + XcmV2TraitsOutcome: XcmV2TraitsOutcome; + XcmV2WeightLimit: XcmV2WeightLimit; + XcmV2Xcm: XcmV2Xcm; + XcmVersion: XcmVersion; + XcmVersionedMultiAsset: XcmVersionedMultiAsset; + XcmVersionedMultiAssets: XcmVersionedMultiAssets; + XcmVersionedMultiLocation: XcmVersionedMultiLocation; + XcmVersionedXcm: XcmVersionedXcm; + } +} +//# sourceMappingURL=augment-types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-types.d.ts.map b/dist/chains/polkadot/api-scheme/augments/augment-types.d.ts.map new file mode 100644 index 00000000..c7632800 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"augment-types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/augment-types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EACX,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,EAAE,EACF,EAAE,EACF,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,EAAE,EACF,EAAE,EACF,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AACnH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC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AU,EAAE,UAAU,CAAC;QACvB,UAAU,EAAE,UAAU,CAAC;QACvB,QAAQ,EAAE,QAAQ,CAAC;QACnB,UAAU,EAAE,UAAU,CAAC;QACvB,UAAU,EAAE,UAAU,CAAC;QACvB,UAAU,EAAE,UAAU,CAAC;QACvB,SAAS,EAAE,SAAS,CAAC;QACrB,aAAa,EAAE,aAAa,CAAC;QAC7B,iBAAiB,EAAE,iBAAiB,CAAC;QACrC,KAAK,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,KAAK,CAAC;QACb,eAAe,EAAE,eAAe,CAAC;QACjC,0BAA0B,EAAE,0BAA0B,CAAC;QACvD,kBAAkB,EAAE,kBAAkB,CAAC;QACvC,KAAK,EAAE,KAAK,CAAC;QACb,aAAa,EAAE,aAAa,CAAC;QAC7B,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,kBAAkB,EAAE,kBAAkB,CAAC;QACvC,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,QAAQ,EAAE,QAAQ,CAAC;QACnB,UAAU,EAAE,UAAU,CAAC;QACvB,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,uBAAuB,EAAE,uBAAuB,CAAC;QACjD,yBAAyB,EAAE,yBAAyB,CAAC;QACrD,eAAe,EAAE,eAAe,CAAC;KACjC;CACD"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/augment-types.js b/dist/chains/polkadot/api-scheme/augments/augment-types.js new file mode 100644 index 00000000..081b6d70 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/augment-types.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +require("@polkadot/types/types/registry"); diff --git a/dist/chains/polkadot/api-scheme/augments/index.d.ts b/dist/chains/polkadot/api-scheme/augments/index.d.ts new file mode 100644 index 00000000..e54dfa1b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/index.d.ts @@ -0,0 +1,9 @@ +export * from './augment-api-consts'; +export * from './augment-api-errors'; +export * from './augment-api-events'; +export * from './augment-api-query'; +export * from './augment-api-rpc'; +export * from './augment-api-runtime'; +export * from './augment-api-tx'; +export * from './augment-types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/index.d.ts.map b/dist/chains/polkadot/api-scheme/augments/index.d.ts.map new file mode 100644 index 00000000..14116ae9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/augments/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/augments/index.js b/dist/chains/polkadot/api-scheme/augments/index.js new file mode 100644 index 00000000..375fa9b9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/augments/index.js @@ -0,0 +1,24 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./augment-api-consts"), exports); +__exportStar(require("./augment-api-errors"), exports); +__exportStar(require("./augment-api-events"), exports); +__exportStar(require("./augment-api-query"), exports); +__exportStar(require("./augment-api-rpc"), exports); +__exportStar(require("./augment-api-runtime"), exports); +__exportStar(require("./augment-api-tx"), exports); +__exportStar(require("./augment-types"), exports); diff --git a/dist/chains/polkadot/api-scheme/common/definitions.d.ts b/dist/chains/polkadot/api-scheme/common/definitions.d.ts new file mode 100644 index 00000000..04b3de80 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/definitions.d.ts @@ -0,0 +1,19 @@ +declare const _default: { + rpc: {}; + types: { + SafeRpcWrapper: string; + CustomRpcCurrencyId: string; + CustomRpcBalance: string; + CurrencyId: string; + AssetsBalance: string; + ComposableTraitsDefiSellCurrencyId: string; + ComposableTraitsDefiCurrencyPairCurrencyId: { + base: string; + quote: string; + }; + ComposableTraitsXcmCumulusMethodId: string; + ComposableTraitsXcmXcmSellRequest: string; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/common/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/common/definitions.d.ts.map new file mode 100644 index 00000000..d1d7e906 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/common/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wBAgBE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/common/definitions.js b/dist/chains/polkadot/api-scheme/common/definitions.js new file mode 100644 index 00000000..a3973b9b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/definitions.js @@ -0,0 +1,19 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: {}, + types: { + SafeRpcWrapper: 'String', + CustomRpcCurrencyId: 'SafeRpcWrapper', + CustomRpcBalance: 'SafeRpcWrapper', + CurrencyId: 'u128', + AssetsBalance: 'u128', + ComposableTraitsDefiSellCurrencyId: 'CurrencyId', + ComposableTraitsDefiCurrencyPairCurrencyId: { + base: 'CurrencyId', + quote: 'CurrencyId' + }, + ComposableTraitsXcmCumulusMethodId: 'Null', + ComposableTraitsXcmXcmSellRequest: 'Null' + } +}; diff --git a/dist/chains/polkadot/api-scheme/common/index.d.ts b/dist/chains/polkadot/api-scheme/common/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/common/index.d.ts.map b/dist/chains/polkadot/api-scheme/common/index.d.ts.map new file mode 100644 index 00000000..a2376ed1 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/common/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/common/index.js b/dist/chains/polkadot/api-scheme/common/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/common/types.d.ts b/dist/chains/polkadot/api-scheme/common/types.d.ts new file mode 100644 index 00000000..32d75aea --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/types.d.ts @@ -0,0 +1,32 @@ +import type { Null, Struct, Text, u128 } from '@polkadot/types-codec'; +/** @name AssetsBalance */ +export interface AssetsBalance extends u128 { +} +/** @name ComposableTraitsDefiCurrencyPairCurrencyId */ +export interface ComposableTraitsDefiCurrencyPairCurrencyId extends Struct { + readonly base: CurrencyId; + readonly quote: CurrencyId; +} +/** @name ComposableTraitsDefiSellCurrencyId */ +export interface ComposableTraitsDefiSellCurrencyId extends CurrencyId { +} +/** @name ComposableTraitsXcmCumulusMethodId */ +export interface ComposableTraitsXcmCumulusMethodId extends Null { +} +/** @name ComposableTraitsXcmXcmSellRequest */ +export interface ComposableTraitsXcmXcmSellRequest extends Null { +} +/** @name CurrencyId */ +export interface CurrencyId extends u128 { +} +/** @name CustomRpcBalance */ +export interface CustomRpcBalance extends SafeRpcWrapper { +} +/** @name CustomRpcCurrencyId */ +export interface CustomRpcCurrencyId extends SafeRpcWrapper { +} +/** @name SafeRpcWrapper */ +export interface SafeRpcWrapper extends Text { +} +export type PHANTOM_COMMON = 'common'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/common/types.d.ts.map b/dist/chains/polkadot/api-scheme/common/types.d.ts.map new file mode 100644 index 00000000..5e8bd2a8 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/common/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAEtE,0BAA0B;AAC1B,MAAM,WAAW,aAAc,SAAQ,IAAI;CAAG;AAE9C,uDAAuD;AACvD,MAAM,WAAW,0CAA2C,SAAQ,MAAM;IACzE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;CAC3B;AAED,+CAA+C;AAC/C,MAAM,WAAW,kCAAmC,SAAQ,UAAU;CAAG;AAEzE,+CAA+C;AAC/C,MAAM,WAAW,kCAAmC,SAAQ,IAAI;CAAG;AAEnE,8CAA8C;AAC9C,MAAM,WAAW,iCAAkC,SAAQ,IAAI;CAAG;AAElE,uBAAuB;AACvB,MAAM,WAAW,UAAW,SAAQ,IAAI;CAAG;AAC3C,6BAA6B;AAC7B,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D,gCAAgC;AAChC,MAAM,WAAW,mBAAoB,SAAQ,cAAc;CAAG;AAE9D,2BAA2B;AAC3B,MAAM,WAAW,cAAe,SAAQ,IAAI;CAAG;AAE/C,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/common/types.js b/dist/chains/polkadot/api-scheme/common/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/common/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.d.ts b/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.d.ts new file mode 100644 index 00000000..f5643cca --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.d.ts @@ -0,0 +1,250 @@ +declare const _default: { + rpc: { + amountAvailableToClaimFor: { + description: string; + params: ({ + name: string; + type: string; + isOptional?: undefined; + } | { + name: string; + type: string; + isOptional: boolean; + })[]; + type: string; + }; + }; + types: { + ComposableTraitsAssetsXcmAssetLocation: string; + PalletCrowdloanRewardsModelsReward: { + total: string; + claimed: string; + vestingPeriod: string; + }; + PalletCrowdloanRewardsModelsRemoteAccount: { + _enum: { + RelayChain: string; + Ethereum: string; + Registry: string; + }; + }; + ComposableTraitsCallFilterCallFilterEntry: string; + PalletAssetsRegistryCandidateStatus: string; + SpConsensusAuraSr25519AppSr25519Public: string; + ComposableTraitsBondedFinanceBondOffer: { + beneficiary: string; + asset: string; + bondPrice: string; + nbOfBonds: string; + maturity: string; + reward: string; + keepAlive: string; + }; + ComposableTraitsBondedFinanceBondDuration: { + Finite: { + returnIn: string; + }; + }; + ComposableTraitsBondedFinanceBondOfferReward: { + asset: string; + amount: string; + maturity: string; + }; + PalletCollatorSelectionCandidateInfo: string; + PalletCrowdloanRewardsReward: string; + CumulusPalletDmpQueueConfigData: string; + PalletDutchAuctionSellOrder: string; + CumulusPalletDmpQueuePageIndexData: string; + PalletDutchAuctionTakeOrder: string; + ComposableTraitsGovernanceSignedRawOrigin: { + _enum: { + Root: string; + Signed: string; + isSigned: string; + asSigned: string; + }; + }; + PalletIdentityRegistration: string; + PalletIdentityRegistrarInfo: string; + PalletOracleAssetInfo: string; + PalletOracleWithdraw: { + stake: string; + unlockBlock: string; + }; + PalletOraclePrePrice: string; + PalletOraclePrice: string; + PolkadotPrimitivesV1AbridgedHostConfiguration: string; + PolkadotPrimitivesV2PersistedValidationData: string; + PolkadotPrimitivesV2UpgradeRestriction: string; + PolkadotPrimitivesV2AbridgedHostConfiguration: string; + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: string; + PolkadotPrimitivesV1PersistedValidationData: string; + PalletSchedulerScheduledV2: string; + PalletSchedulerReleases: string; + PalletSchedulerScheduledV3: string; + DaliRuntimeOpaqueSessionKeys: string; + OrmlTokensAccountData: { + free: string; + reserved: string; + frozen: string; + }; + OrmlTokensBalanceLock: string; + OrmlTokensReserveData: string; + PalletTreasuryProposal: string; + PalletVaultModelsStrategyOverview: string; + PalletVaultModelsVaultInfo: string; + CumulusPalletXcmpQueueInboundStatus: string; + CumulusPalletXcmpQueueInboundChannelDetails: string; + PolkadotParachainPrimitivesXcmpMessageFormat: string; + CumulusPalletXcmpQueueOutboundStatus: string; + CumulusPalletXcmpQueueQueueConfigData: string; + CumulusPalletXcmpQueueOutboundChannelDetails: string; + PalletCrowdloanRewardsModelsProof: { + _enum: { + RelayChain: string; + Ethereum: string; + }; + }; + PalletCrowdloanRewardsModelsEcdsaSignature: string; + PalletDemocracyConviction: string; + PalletDemocracyVoteAccountVote: string; + ComposableTraitsDefiSell: string; + ComposableTraitsAuctionAuctionStepFunction: string; + ComposableTraitsDefiTake: string; + ComposableTraitsTimeTimeReleaseFunction: string; + PalletIdentityJudgement: string; + PalletIdentityBitFlags: string; + PalletIdentityIdentityInfo: string; + CumulusPrimitivesParachainInherentParachainInherentData: string; + DaliRuntimeOriginCaller: string; + ComposableTraitsVaultVaultConfig: string; + XcmVersionedMultiAsset: string; + PalletMosaicNetworkInfo: { + enabled: string; + maxTransferSize: string; + }; + PalletMosaicDecayBudgetPenaltyDecayer: string; + PalletAssetsRegistryForeignMetadata: string; + PalletMosaicAssetInfo: string; + PalletMosaicRelayerStaleRelayer: { + relayer: { + current: string; + next: { + ttl: string; + account: string; + }; + }; + }; + FrameSupportScheduleMaybeHashed: string; + FrameSupportScheduleLookupError: string; + PalletLiquidationsLiquidationStrategyConfiguration: string; + CommonMosaicRemoteAssetId: string; + ComposableTraitsLendingMarketConfig: string; + ComposableTraitsLendingCreateInput: string; + ComposableTraitsLendingUpdateInput: string; + ComposableTraitsDexStableSwapPoolInfo: string; + ComposableTraitsOraclePrice: string; + PalletLiquidityBootstrappingPool: string; + ComposableTraitsDexConstantProductPoolInfo: { + owner: string; + pair: string; + lpToken: string; + fee: string; + ownerFee: string; + }; + ComposableSupportEthereumAddress: string; + ComposableTraitsAssetsBasicAssetMetadata: { + symbol: { + inner: string; + }; + name: { + inner: string; + }; + }; + ComposableTraitsDexDexRoute: string; + ComposableTraitsLendingRepayStrategy: string; + ComposableTraitsXcmAssetsXcmAssetLocation: string; + SpTrieStorageProof: string; + ComposableTraitsXcmAssetsForeignMetadata: string; + FrameSystemAccountInfo: { + nonce: string; + consumers: string; + providers: string; + sufficients: string; + data: { + free: string; + reserved: string; + miscFrozen: string; + feeFrozen: string; + }; + }; + PalletIbcPingSendPingParams: string; + IbcTraitOpenChannelParams: string; + PalletIbcConnectionParams: string; + PalletIbcAny: string; + PalletIbcIbcConsensusState: string; + PalletIbcEventsIbcEvent: string; + PalletIbcErrorsIbcError: string; + PalletMosaicAmmSwapInfo: string; + ComposableTraitsStakingRewardPool: string; + ComposableTraitsStakingRewardPoolConfiguration: string; + IbcTransferPalletParams: string; + IbcTransferTransferParams: string; + ComposableTraitsOracleRewardTracker: string; + ComposableTraitsStakingStake: string; + ComposableTraitsStakingRewardUpdate: string; + ComposableTraitsAccountProxyProxyType: string; + ComposableTraitsAccountProxyProxyDefinition: string; + PalletAccountProxyAnnouncement: string; + PalletCosmwasmContractInfo: string; + PalletCosmwasmCodeInfo: string; + PalletCosmwasmEntryPoint: string; + PalletStakingRewardsRewardAccumulationHookError: string; + XcmVersionedMultiAssets: string; + XcmVersionedMultiLocation: string; + XcmVersionedXcm: string; + PalletMultisigTimepoint: string; + XcmV2WeightLimit: string; + ComposableTraitsDexAssetAmount: string; + PalletCosmwasmCodeIdentifier: string; + XcmV1MultiLocation: string; + XcmV1MultiAsset: string; + XcmV1MultiassetMultiAssets: string; + XcmV2TraitsOutcome: string; + XcmV2Xcm: string; + SpRuntimeDispatchError: string; + SpRuntimeHeader: string; + SpVersionRuntimeVersion: string; + FrameSystemLimitsBlockWeights: string; + FrameSystemLimitsBlockLength: string; + FrameSupportWeightsRuntimeDbWeight: string; + PalletCollectiveVotes: string; + FrameSystemLastRuntimeUpgradeInfo: string; + FrameSystemPhase: string; + FrameSystemEventRecord: string; + SpRuntimeDigest: string; + FrameSupportWeightsPerDispatchClassU64: string; + SpCoreCryptoKeyTypeId: string; + PalletXcmQueryStatus: string; + PalletXcmVersionMigrationStage: string; + PolkadotCorePrimitivesOutboundHrmpMessage: string; + PalletBalancesReleases: string; + PalletBalancesReserveData: string; + PalletBalancesBalanceLock: { + amount: string; + }; + PalletBalancesAccountData: string; + PalletAuthorshipUncleEntryItem: string; + PalletMultisigMultisig: string; + PalletTransactionPaymentReleases: string; + XcmV2TraitsError: string; + XcmV2Response: string; + FrameSupportTokensMiscBalanceStatus: string; + FrameSupportWeightsDispatchInfo: string; + FrameSupportPalletId: string; + ComposableTraitsCurrencyRational64: string; + PalletCosmwasmInstrumentCostRules: string; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.d.ts.map new file mode 100644 index 00000000..119b1a19 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/crowdloanRewards/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuPE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.js b/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.js new file mode 100644 index 00000000..e95448c6 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/definitions.js @@ -0,0 +1,250 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: { + amountAvailableToClaimFor: { + description: 'The unclaimed amount', + params: [ + { + name: 'accountId', + type: 'AccountId' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'Balance' + } + }, + types: { + ComposableTraitsAssetsXcmAssetLocation: 'Null', + PalletCrowdloanRewardsModelsReward: { + total: 'u128', + claimed: 'u128', + vestingPeriod: 'u64' + }, + PalletCrowdloanRewardsModelsRemoteAccount: { + _enum: { + RelayChain: 'AccountId32', + Ethereum: 'EthereumAccountId', + Registry: 'Null' + } + }, + ComposableTraitsCallFilterCallFilterEntry: 'Null', + PalletAssetsRegistryCandidateStatus: 'Null', + SpConsensusAuraSr25519AppSr25519Public: 'Null', + ComposableTraitsBondedFinanceBondOffer: { + beneficiary: 'AccountId32', + asset: 'CurrencyId', + bondPrice: 'u128', + nbOfBonds: 'u128', + maturity: 'ComposableTraitsBondedFinanceBondDuration', + reward: 'ComposableTraitsBondedFinanceBondOfferReward', + keepAlive: 'bool' + }, + ComposableTraitsBondedFinanceBondDuration: { + Finite: { returnIn: 'u32' } + }, + ComposableTraitsBondedFinanceBondOfferReward: { + asset: 'CurrencyId', + amount: 'u128', + maturity: 'u32' + }, + PalletCollatorSelectionCandidateInfo: 'Null', + PalletCrowdloanRewardsReward: 'Null', + CumulusPalletDmpQueueConfigData: 'Null', + PalletDutchAuctionSellOrder: 'Null', + CumulusPalletDmpQueuePageIndexData: 'Null', + PalletDutchAuctionTakeOrder: 'Null', + ComposableTraitsGovernanceSignedRawOrigin: { + _enum: { + Root: 'Null', + Signed: '', + isSigned: 'bool', + asSigned: 'AccountId32' + } + }, + PalletIdentityRegistration: 'Null', + PalletIdentityRegistrarInfo: 'Null', + PalletOracleAssetInfo: 'Null', + PalletOracleWithdraw: { + stake: 'u128', + unlockBlock: 'u32' + }, + PalletOraclePrePrice: 'Null', + PalletOraclePrice: 'Null', + PolkadotPrimitivesV1AbridgedHostConfiguration: 'Null', + PolkadotPrimitivesV2PersistedValidationData: 'Null', + PolkadotPrimitivesV2UpgradeRestriction: 'Null', + PolkadotPrimitivesV2AbridgedHostConfiguration: 'Null', + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: 'Null', + PolkadotPrimitivesV1PersistedValidationData: 'PersistedValidationData', + PalletSchedulerScheduledV2: 'Null', + PalletSchedulerReleases: 'Null', + PalletSchedulerScheduledV3: 'Null', + DaliRuntimeOpaqueSessionKeys: 'Null', + OrmlTokensAccountData: { + free: 'u128', + reserved: 'u128', + frozen: 'u128' + }, + OrmlTokensBalanceLock: 'Null', + OrmlTokensReserveData: 'Null', + PalletTreasuryProposal: 'Null', + PalletVaultModelsStrategyOverview: 'Null', + PalletVaultModelsVaultInfo: 'Null', + CumulusPalletXcmpQueueInboundStatus: 'Null', + CumulusPalletXcmpQueueInboundChannelDetails: 'Null', + PolkadotParachainPrimitivesXcmpMessageFormat: 'Null', + CumulusPalletXcmpQueueOutboundStatus: 'Null', + CumulusPalletXcmpQueueQueueConfigData: 'Null', + CumulusPalletXcmpQueueOutboundChannelDetails: 'Null', + PalletCrowdloanRewardsModelsProof: { + _enum: { + RelayChain: '(AccountId32, MultiSignature)', + Ethereum: 'PalletCrowdloanRewardsModelsEcdsaSignature' + } + }, + PalletCrowdloanRewardsModelsEcdsaSignature: 'EcdsaSignature', + PalletDemocracyConviction: 'Null', + PalletDemocracyVoteAccountVote: 'Null', + ComposableTraitsDefiSell: 'Null', + ComposableTraitsAuctionAuctionStepFunction: 'Null', + ComposableTraitsDefiTake: 'Null', + ComposableTraitsTimeTimeReleaseFunction: 'Null', + PalletIdentityJudgement: 'Null', + PalletIdentityBitFlags: 'Null', + PalletIdentityIdentityInfo: 'Null', + CumulusPrimitivesParachainInherentParachainInherentData: 'ParachainInherentData', + DaliRuntimeOriginCaller: 'Null', + ComposableTraitsVaultVaultConfig: 'Null', + XcmVersionedMultiAsset: 'Null', + PalletMosaicNetworkInfo: { + enabled: 'bool', + maxTransferSize: 'Balance' + }, + PalletMosaicDecayBudgetPenaltyDecayer: 'Null', + PalletAssetsRegistryForeignMetadata: 'Null', + PalletMosaicAssetInfo: 'Null', + PalletMosaicRelayerStaleRelayer: { + relayer: { + current: 'AccountId32', + next: { + ttl: 'u32', + account: 'AccountId32' + } + } + }, + FrameSupportScheduleMaybeHashed: 'Null', + FrameSupportScheduleLookupError: 'Null', + PalletLiquidationsLiquidationStrategyConfiguration: 'Null', + CommonMosaicRemoteAssetId: 'Null', + ComposableTraitsLendingMarketConfig: 'Null', + ComposableTraitsLendingCreateInput: 'Null', + ComposableTraitsLendingUpdateInput: 'Null', + ComposableTraitsDexStableSwapPoolInfo: 'Null', + ComposableTraitsOraclePrice: 'Null', + PalletLiquidityBootstrappingPool: 'Null', + ComposableTraitsDexConstantProductPoolInfo: { + owner: 'AccountId32', + pair: 'ComposableTraitsDefiCurrencyPairCurrencyId', + lpToken: 'u128', + fee: 'Permill', + ownerFee: 'Permill' + }, + ComposableSupportEthereumAddress: 'Null', + ComposableTraitsAssetsBasicAssetMetadata: { + symbol: { + inner: 'Null' + }, + name: { + inner: 'Null' + } + }, + ComposableTraitsDexDexRoute: 'Null', + ComposableTraitsLendingRepayStrategy: 'Null', + ComposableTraitsXcmAssetsXcmAssetLocation: 'Null', + SpTrieStorageProof: 'Null', + ComposableTraitsXcmAssetsForeignMetadata: 'Null', + FrameSystemAccountInfo: { + nonce: 'Null', + consumers: 'Null', + providers: 'Null', + sufficients: 'Null', + data: { + free: 'u128', + reserved: 'u128', + miscFrozen: 'u128', + feeFrozen: 'u128' + } + }, + PalletIbcPingSendPingParams: 'Null', + IbcTraitOpenChannelParams: 'Null', + PalletIbcConnectionParams: 'Null', + PalletIbcAny: 'Null', + PalletIbcIbcConsensusState: 'Null', + PalletIbcEventsIbcEvent: 'Null', + PalletIbcErrorsIbcError: 'Null', + PalletMosaicAmmSwapInfo: 'Null', + ComposableTraitsStakingRewardPool: 'Null', + ComposableTraitsStakingRewardPoolConfiguration: 'Null', + IbcTransferPalletParams: 'Null', + IbcTransferTransferParams: 'Null', + ComposableTraitsOracleRewardTracker: 'Null', + ComposableTraitsStakingStake: 'Null', + ComposableTraitsStakingRewardUpdate: 'Null', + ComposableTraitsAccountProxyProxyType: 'Null', + ComposableTraitsAccountProxyProxyDefinition: 'Null', + PalletAccountProxyAnnouncement: 'Null', + PalletCosmwasmContractInfo: 'Null', + PalletCosmwasmCodeInfo: 'Null', + PalletCosmwasmEntryPoint: 'Null', + PalletStakingRewardsRewardAccumulationHookError: 'Null', + XcmVersionedMultiAssets: 'Null', + XcmVersionedMultiLocation: 'Null', + XcmVersionedXcm: 'Null', + PalletMultisigTimepoint: 'Null', + XcmV2WeightLimit: 'Null', + ComposableTraitsDexAssetAmount: 'Null', + PalletCosmwasmCodeIdentifier: 'Null', + XcmV1MultiLocation: 'Null', + XcmV1MultiAsset: 'Null', + XcmV1MultiassetMultiAssets: 'Null', + XcmV2TraitsOutcome: 'Null', + XcmV2Xcm: 'Null', + SpRuntimeDispatchError: 'Null', + SpRuntimeHeader: 'Null', + SpVersionRuntimeVersion: 'Null', + FrameSystemLimitsBlockWeights: 'Null', + FrameSystemLimitsBlockLength: 'Null', + FrameSupportWeightsRuntimeDbWeight: 'Null', + PalletCollectiveVotes: 'Null', + FrameSystemLastRuntimeUpgradeInfo: 'Null', + FrameSystemPhase: 'Null', + FrameSystemEventRecord: 'Null', + SpRuntimeDigest: 'Null', + FrameSupportWeightsPerDispatchClassU64: 'Null', + SpCoreCryptoKeyTypeId: 'Null', + PalletXcmQueryStatus: 'Null', + PalletXcmVersionMigrationStage: 'Null', + PolkadotCorePrimitivesOutboundHrmpMessage: 'Null', + PalletBalancesReleases: 'Null', + PalletBalancesReserveData: 'Null', + PalletBalancesBalanceLock: { + amount: 'Null' + }, + PalletBalancesAccountData: 'Null', + PalletAuthorshipUncleEntryItem: 'Null', + PalletMultisigMultisig: 'Null', + PalletTransactionPaymentReleases: 'Null', + XcmV2TraitsError: 'Null', + XcmV2Response: 'Null', + FrameSupportTokensMiscBalanceStatus: 'Null', + FrameSupportWeightsDispatchInfo: 'Null', + FrameSupportPalletId: 'Null', + ComposableTraitsCurrencyRational64: 'Null', + PalletCosmwasmInstrumentCostRules: 'Null' + } +}; diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/index.d.ts b/dist/chains/polkadot/api-scheme/crowdloanRewards/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/index.d.ts.map b/dist/chains/polkadot/api-scheme/crowdloanRewards/index.d.ts.map new file mode 100644 index 00000000..43e9a3e3 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/crowdloanRewards/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/index.js b/dist/chains/polkadot/api-scheme/crowdloanRewards/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/types.d.ts b/dist/chains/polkadot/api-scheme/crowdloanRewards/types.d.ts new file mode 100644 index 00000000..899eba53 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/types.d.ts @@ -0,0 +1,535 @@ +import type { bool, Enum, Null, Struct, u32, u64, u128 } from '@polkadot/types-codec'; +import type { ITuple } from '@polkadot/types-codec/types'; +import type { EthereumAccountId } from '@polkadot/types/interfaces/eth'; +import type { EcdsaSignature, MultiSignature } from '@polkadot/types/interfaces/extrinsics'; +import type { ParachainInherentData, PersistedValidationData } from '@polkadot/types/interfaces/parachains'; +import type { AccountId32, Balance, Permill } from '@polkadot/types/interfaces/runtime'; +import type { ComposableTraitsDefiCurrencyPairCurrencyId, CurrencyId } from '../common'; +/** @name CommonMosaicRemoteAssetId */ +export interface CommonMosaicRemoteAssetId extends Null { +} +/** @name ComposableSupportEthereumAddress */ +export interface ComposableSupportEthereumAddress extends Null { +} +/** @name ComposableTraitsAccountProxyProxyDefinition */ +export interface ComposableTraitsAccountProxyProxyDefinition extends Null { +} +/** @name ComposableTraitsAccountProxyProxyType */ +export interface ComposableTraitsAccountProxyProxyType extends Null { +} +/** @name ComposableTraitsAssetsBasicAssetMetadata */ +export interface ComposableTraitsAssetsBasicAssetMetadata extends Struct { + readonly symbol: { + readonly inner: Null; + } & Struct; + readonly name: { + readonly inner: Null; + } & Struct; +} +/** @name ComposableTraitsAssetsXcmAssetLocation */ +export interface ComposableTraitsAssetsXcmAssetLocation extends Null { +} +/** @name ComposableTraitsAuctionAuctionStepFunction */ +export interface ComposableTraitsAuctionAuctionStepFunction extends Null { +} +/** @name ComposableTraitsBondedFinanceBondDuration */ +export interface ComposableTraitsBondedFinanceBondDuration extends Struct { + readonly Finite: { + readonly returnIn: u32; + } & Struct; +} +/** @name ComposableTraitsBondedFinanceBondOffer */ +export interface ComposableTraitsBondedFinanceBondOffer extends Struct { + readonly beneficiary: AccountId32; + readonly asset: CurrencyId; + readonly bondPrice: u128; + readonly nbOfBonds: u128; + readonly maturity: ComposableTraitsBondedFinanceBondDuration; + readonly reward: ComposableTraitsBondedFinanceBondOfferReward; + readonly keepAlive: bool; +} +/** @name ComposableTraitsBondedFinanceBondOfferReward */ +export interface ComposableTraitsBondedFinanceBondOfferReward extends Struct { + readonly asset: CurrencyId; + readonly amount: u128; + readonly maturity: u32; +} +/** @name ComposableTraitsCallFilterCallFilterEntry */ +export interface ComposableTraitsCallFilterCallFilterEntry extends Null { +} +/** @name ComposableTraitsCurrencyRational64 */ +export interface ComposableTraitsCurrencyRational64 extends Null { +} +/** @name ComposableTraitsDefiSell */ +export interface ComposableTraitsDefiSell extends Null { +} +/** @name ComposableTraitsDefiTake */ +export interface ComposableTraitsDefiTake extends Null { +} +/** @name ComposableTraitsDexAssetAmount */ +export interface ComposableTraitsDexAssetAmount extends Null { +} +/** @name ComposableTraitsDexConstantProductPoolInfo */ +export interface ComposableTraitsDexConstantProductPoolInfo extends Struct { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly lpToken: u128; + readonly fee: Permill; + readonly ownerFee: Permill; +} +/** @name ComposableTraitsDexDexRoute */ +export interface ComposableTraitsDexDexRoute extends Null { +} +/** @name ComposableTraitsDexStableSwapPoolInfo */ +export interface ComposableTraitsDexStableSwapPoolInfo extends Null { +} +/** @name ComposableTraitsGovernanceSignedRawOrigin */ +export interface ComposableTraitsGovernanceSignedRawOrigin extends Enum { + readonly isRoot: boolean; + readonly isSigned: boolean; + readonly isIsSigned: boolean; + readonly asIsSigned: bool; + readonly isAsSigned: boolean; + readonly asAsSigned: AccountId32; + readonly type: 'Root' | 'Signed' | 'IsSigned' | 'AsSigned'; +} +/** @name ComposableTraitsLendingCreateInput */ +export interface ComposableTraitsLendingCreateInput extends Null { +} +/** @name ComposableTraitsLendingMarketConfig */ +export interface ComposableTraitsLendingMarketConfig extends Null { +} +/** @name ComposableTraitsLendingRepayStrategy */ +export interface ComposableTraitsLendingRepayStrategy extends Null { +} +/** @name ComposableTraitsLendingUpdateInput */ +export interface ComposableTraitsLendingUpdateInput extends Null { +} +/** @name ComposableTraitsOraclePrice */ +export interface ComposableTraitsOraclePrice extends Null { +} +/** @name ComposableTraitsOracleRewardTracker */ +export interface ComposableTraitsOracleRewardTracker extends Null { +} +/** @name ComposableTraitsStakingRewardPool */ +export interface ComposableTraitsStakingRewardPool extends Null { +} +/** @name ComposableTraitsStakingRewardPoolConfiguration */ +export interface ComposableTraitsStakingRewardPoolConfiguration extends Null { +} +/** @name ComposableTraitsStakingRewardUpdate */ +export interface ComposableTraitsStakingRewardUpdate extends Null { +} +/** @name ComposableTraitsStakingStake */ +export interface ComposableTraitsStakingStake extends Null { +} +/** @name ComposableTraitsTimeTimeReleaseFunction */ +export interface ComposableTraitsTimeTimeReleaseFunction extends Null { +} +/** @name ComposableTraitsVaultVaultConfig */ +export interface ComposableTraitsVaultVaultConfig extends Null { +} +/** @name ComposableTraitsXcmAssetsForeignMetadata */ +export interface ComposableTraitsXcmAssetsForeignMetadata extends Null { +} +/** @name ComposableTraitsXcmAssetsXcmAssetLocation */ +export interface ComposableTraitsXcmAssetsXcmAssetLocation extends Null { +} +/** @name CumulusPalletDmpQueueConfigData */ +export interface CumulusPalletDmpQueueConfigData extends Null { +} +/** @name CumulusPalletDmpQueuePageIndexData */ +export interface CumulusPalletDmpQueuePageIndexData extends Null { +} +/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */ +export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Null { +} +/** @name CumulusPalletXcmpQueueInboundChannelDetails */ +export interface CumulusPalletXcmpQueueInboundChannelDetails extends Null { +} +/** @name CumulusPalletXcmpQueueInboundStatus */ +export interface CumulusPalletXcmpQueueInboundStatus extends Null { +} +/** @name CumulusPalletXcmpQueueOutboundChannelDetails */ +export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Null { +} +/** @name CumulusPalletXcmpQueueOutboundStatus */ +export interface CumulusPalletXcmpQueueOutboundStatus extends Null { +} +/** @name CumulusPalletXcmpQueueQueueConfigData */ +export interface CumulusPalletXcmpQueueQueueConfigData extends Null { +} +/** @name CumulusPrimitivesParachainInherentParachainInherentData */ +export interface CumulusPrimitivesParachainInherentParachainInherentData extends ParachainInherentData { +} +/** @name DaliRuntimeOpaqueSessionKeys */ +export interface DaliRuntimeOpaqueSessionKeys extends Null { +} +/** @name DaliRuntimeOriginCaller */ +export interface DaliRuntimeOriginCaller extends Null { +} +/** @name FrameSupportPalletId */ +export interface FrameSupportPalletId extends Null { +} +/** @name FrameSupportScheduleLookupError */ +export interface FrameSupportScheduleLookupError extends Null { +} +/** @name FrameSupportScheduleMaybeHashed */ +export interface FrameSupportScheduleMaybeHashed extends Null { +} +/** @name FrameSupportTokensMiscBalanceStatus */ +export interface FrameSupportTokensMiscBalanceStatus extends Null { +} +/** @name FrameSupportWeightsDispatchInfo */ +export interface FrameSupportWeightsDispatchInfo extends Null { +} +/** @name FrameSupportWeightsPerDispatchClassU64 */ +export interface FrameSupportWeightsPerDispatchClassU64 extends Null { +} +/** @name FrameSupportWeightsRuntimeDbWeight */ +export interface FrameSupportWeightsRuntimeDbWeight extends Null { +} +/** @name FrameSystemAccountInfo */ +export interface FrameSystemAccountInfo extends Struct { + readonly nonce: Null; + readonly consumers: Null; + readonly providers: Null; + readonly sufficients: Null; + readonly data: { + readonly free: u128; + readonly reserved: u128; + readonly miscFrozen: u128; + readonly feeFrozen: u128; + } & Struct; +} +/** @name FrameSystemEventRecord */ +export interface FrameSystemEventRecord extends Null { +} +/** @name FrameSystemLastRuntimeUpgradeInfo */ +export interface FrameSystemLastRuntimeUpgradeInfo extends Null { +} +/** @name FrameSystemLimitsBlockLength */ +export interface FrameSystemLimitsBlockLength extends Null { +} +/** @name FrameSystemLimitsBlockWeights */ +export interface FrameSystemLimitsBlockWeights extends Null { +} +/** @name FrameSystemPhase */ +export interface FrameSystemPhase extends Null { +} +/** @name IbcTraitOpenChannelParams */ +export interface IbcTraitOpenChannelParams extends Null { +} +/** @name IbcTransferPalletParams */ +export interface IbcTransferPalletParams extends Null { +} +/** @name IbcTransferTransferParams */ +export interface IbcTransferTransferParams extends Null { +} +/** @name OrmlTokensAccountData */ +export interface OrmlTokensAccountData extends Struct { + readonly free: u128; + readonly reserved: u128; + readonly frozen: u128; +} +/** @name OrmlTokensBalanceLock */ +export interface OrmlTokensBalanceLock extends Null { +} +/** @name OrmlTokensReserveData */ +export interface OrmlTokensReserveData extends Null { +} +/** @name PalletAccountProxyAnnouncement */ +export interface PalletAccountProxyAnnouncement extends Null { +} +/** @name PalletAssetsRegistryCandidateStatus */ +export interface PalletAssetsRegistryCandidateStatus extends Null { +} +/** @name PalletAssetsRegistryForeignMetadata */ +export interface PalletAssetsRegistryForeignMetadata extends Null { +} +/** @name PalletAuthorshipUncleEntryItem */ +export interface PalletAuthorshipUncleEntryItem extends Null { +} +/** @name PalletBalancesAccountData */ +export interface PalletBalancesAccountData extends Null { +} +/** @name PalletBalancesBalanceLock */ +export interface PalletBalancesBalanceLock extends Struct { + readonly amount: Null; +} +/** @name PalletBalancesReleases */ +export interface PalletBalancesReleases extends Null { +} +/** @name PalletBalancesReserveData */ +export interface PalletBalancesReserveData extends Null { +} +/** @name PalletCollatorSelectionCandidateInfo */ +export interface PalletCollatorSelectionCandidateInfo extends Null { +} +/** @name PalletCollectiveVotes */ +export interface PalletCollectiveVotes extends Null { +} +/** @name PalletCosmwasmCodeIdentifier */ +export interface PalletCosmwasmCodeIdentifier extends Null { +} +/** @name PalletCosmwasmCodeInfo */ +export interface PalletCosmwasmCodeInfo extends Null { +} +/** @name PalletCosmwasmContractInfo */ +export interface PalletCosmwasmContractInfo extends Null { +} +/** @name PalletCosmwasmEntryPoint */ +export interface PalletCosmwasmEntryPoint extends Null { +} +/** @name PalletCosmwasmInstrumentCostRules */ +export interface PalletCosmwasmInstrumentCostRules extends Null { +} +/** @name PalletCrowdloanRewardsModelsEcdsaSignature */ +export interface PalletCrowdloanRewardsModelsEcdsaSignature extends EcdsaSignature { +} +/** @name PalletCrowdloanRewardsModelsProof */ +export interface PalletCrowdloanRewardsModelsProof extends Enum { + readonly isRelayChain: boolean; + readonly asRelayChain: ITuple<[AccountId32, MultiSignature]>; + readonly isEthereum: boolean; + readonly asEthereum: PalletCrowdloanRewardsModelsEcdsaSignature; + readonly type: 'RelayChain' | 'Ethereum'; +} +/** @name PalletCrowdloanRewardsModelsRemoteAccount */ +export interface PalletCrowdloanRewardsModelsRemoteAccount extends Enum { + readonly isRelayChain: boolean; + readonly asRelayChain: AccountId32; + readonly isEthereum: boolean; + readonly asEthereum: EthereumAccountId; + readonly isRegistry: boolean; + readonly type: 'RelayChain' | 'Ethereum' | 'Registry'; +} +/** @name PalletCrowdloanRewardsModelsReward */ +export interface PalletCrowdloanRewardsModelsReward extends Struct { + readonly total: u128; + readonly claimed: u128; + readonly vestingPeriod: u64; +} +/** @name PalletCrowdloanRewardsReward */ +export interface PalletCrowdloanRewardsReward extends Null { +} +/** @name PalletDemocracyConviction */ +export interface PalletDemocracyConviction extends Null { +} +/** @name PalletDemocracyVoteAccountVote */ +export interface PalletDemocracyVoteAccountVote extends Null { +} +/** @name PalletDutchAuctionSellOrder */ +export interface PalletDutchAuctionSellOrder extends Null { +} +/** @name PalletDutchAuctionTakeOrder */ +export interface PalletDutchAuctionTakeOrder extends Null { +} +/** @name PalletIbcAny */ +export interface PalletIbcAny extends Null { +} +/** @name PalletIbcConnectionParams */ +export interface PalletIbcConnectionParams extends Null { +} +/** @name PalletIbcErrorsIbcError */ +export interface PalletIbcErrorsIbcError extends Null { +} +/** @name PalletIbcEventsIbcEvent */ +export interface PalletIbcEventsIbcEvent extends Null { +} +/** @name PalletIbcIbcConsensusState */ +export interface PalletIbcIbcConsensusState extends Null { +} +/** @name PalletIbcPalletParams */ +export interface PalletIbcPalletParams extends Null { +} +/** @name PalletIbcPingSendPingParams */ +export interface PalletIbcPingSendPingParams extends Null { +} +/** @name PalletIbcTransferParams */ +export interface PalletIbcTransferParams extends Null { +} +/** @name PalletIbcUpgradeParams */ +export interface PalletIbcUpgradeParams extends Null { +} +/** @name PalletIdentityBitFlags */ +export interface PalletIdentityBitFlags extends Null { +} +/** @name PalletIdentityIdentityInfo */ +export interface PalletIdentityIdentityInfo extends Null { +} +/** @name PalletIdentityJudgement */ +export interface PalletIdentityJudgement extends Null { +} +/** @name PalletIdentityRegistrarInfo */ +export interface PalletIdentityRegistrarInfo extends Null { +} +/** @name PalletIdentityRegistration */ +export interface PalletIdentityRegistration extends Null { +} +/** @name PalletLiquidationsLiquidationStrategyConfiguration */ +export interface PalletLiquidationsLiquidationStrategyConfiguration extends Null { +} +/** @name PalletLiquidityBootstrappingPool */ +export interface PalletLiquidityBootstrappingPool extends Null { +} +/** @name PalletMosaicAmmSwapInfo */ +export interface PalletMosaicAmmSwapInfo extends Null { +} +/** @name PalletMosaicAssetInfo */ +export interface PalletMosaicAssetInfo extends Null { +} +/** @name PalletMosaicDecayBudgetPenaltyDecayer */ +export interface PalletMosaicDecayBudgetPenaltyDecayer extends Null { +} +/** @name PalletLiquidStakingUnstakeProvider */ +export interface PalletLiquidStakingUnstakeProvider extends Null { +} +/** @name PalletMosaicNetworkInfo */ +export interface PalletMosaicNetworkInfo extends Struct { + readonly enabled: bool; + readonly maxTransferSize: Balance; +} +/** @name PalletMosaicRelayerStaleRelayer */ +export interface PalletMosaicRelayerStaleRelayer extends Struct { + readonly relayer: { + readonly current: AccountId32; + readonly next: { + readonly ttl: u32; + readonly account: AccountId32; + } & Struct; + } & Struct; +} +/** @name PalletMultisigMultisig */ +export interface PalletMultisigMultisig extends Null { +} +/** @name PalletMultisigTimepoint */ +export interface PalletMultisigTimepoint extends Null { +} +/** @name PalletOracleAssetInfo */ +export interface PalletOracleAssetInfo extends Null { +} +/** @name PalletOraclePrePrice */ +export interface PalletOraclePrePrice extends Null { +} +/** @name PalletOraclePrice */ +export interface PalletOraclePrice extends Null { +} +/** @name PalletOracleWithdraw */ +export interface PalletOracleWithdraw extends Struct { + readonly stake: u128; + readonly unlockBlock: u32; +} +/** @name PalletSchedulerReleases */ +export interface PalletSchedulerReleases extends Null { +} +/** @name PalletSchedulerScheduledV2 */ +export interface PalletSchedulerScheduledV2 extends Null { +} +/** @name PalletSchedulerScheduledV3 */ +export interface PalletSchedulerScheduledV3 extends Null { +} +/** @name PalletStakingRewardsRewardAccumulationHookError */ +export interface PalletStakingRewardsRewardAccumulationHookError extends Null { +} +/** @name PalletTransactionPaymentReleases */ +export interface PalletTransactionPaymentReleases extends Null { +} +/** @name PalletTreasuryProposal */ +export interface PalletTreasuryProposal extends Null { +} +/** @name PalletVaultModelsStrategyOverview */ +export interface PalletVaultModelsStrategyOverview extends Null { +} +/** @name PalletVaultModelsVaultInfo */ +export interface PalletVaultModelsVaultInfo extends Null { +} +/** @name PalletXcmQueryStatus */ +export interface PalletXcmQueryStatus extends Null { +} +/** @name PalletXcmVersionMigrationStage */ +export interface PalletXcmVersionMigrationStage extends Null { +} +/** @name PolkadotCorePrimitivesOutboundHrmpMessage */ +export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Null { +} +/** @name PolkadotParachainPrimitivesXcmpMessageFormat */ +export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Null { +} +/** @name PolkadotPrimitivesV1AbridgedHostConfiguration */ +export interface PolkadotPrimitivesV1AbridgedHostConfiguration extends Null { +} +/** @name PolkadotPrimitivesV1PersistedValidationData */ +export interface PolkadotPrimitivesV1PersistedValidationData extends PersistedValidationData { +} +/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */ +export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Null { +} +/** @name PolkadotPrimitivesV2PersistedValidationData */ +export interface PolkadotPrimitivesV2PersistedValidationData extends Null { +} +/** @name PolkadotPrimitivesV2UpgradeRestriction */ +export interface PolkadotPrimitivesV2UpgradeRestriction extends Null { +} +/** @name SpConsensusAuraSr25519AppSr25519Public */ +export interface SpConsensusAuraSr25519AppSr25519Public extends Null { +} +/** @name SpCoreCryptoKeyTypeId */ +export interface SpCoreCryptoKeyTypeId extends Null { +} +/** @name SpRuntimeDigest */ +export interface SpRuntimeDigest extends Null { +} +/** @name SpRuntimeDispatchError */ +export interface SpRuntimeDispatchError extends Null { +} +/** @name SpRuntimeHeader */ +export interface SpRuntimeHeader extends Null { +} +/** @name SpTrieStorageProof */ +export interface SpTrieStorageProof extends Null { +} +/** @name SpVersionRuntimeVersion */ +export interface SpVersionRuntimeVersion extends Null { +} +/** @name XcmV1MultiAsset */ +export interface XcmV1MultiAsset extends Null { +} +/** @name XcmV1MultiassetMultiAssets */ +export interface XcmV1MultiassetMultiAssets extends Null { +} +/** @name XcmV1MultiLocation */ +export interface XcmV1MultiLocation extends Null { +} +/** @name XcmV2Response */ +export interface XcmV2Response extends Null { +} +/** @name XcmV2TraitsError */ +export interface XcmV2TraitsError extends Null { +} +/** @name XcmV2TraitsOutcome */ +export interface XcmV2TraitsOutcome extends Null { +} +/** @name XcmV2WeightLimit */ +export interface XcmV2WeightLimit extends Null { +} +/** @name XcmV2Xcm */ +export interface XcmV2Xcm extends Null { +} +/** @name XcmVersionedMultiAsset */ +export interface XcmVersionedMultiAsset extends Null { +} +/** @name XcmVersionedMultiAssets */ +export interface XcmVersionedMultiAssets extends Null { +} +/** @name XcmVersionedMultiLocation */ +export interface XcmVersionedMultiLocation extends Null { +} +/** @name StagingXcmVersionedMultiLocation */ +export interface StagingXcmVersionedMultiLocation extends Null { +} +/** @name XcmVersionedXcm */ +export interface XcmVersionedXcm extends Null { +} +export type PHANTOM_CROWDLOANREWARDS = 'crowdloanRewards'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/types.d.ts.map b/dist/chains/polkadot/api-scheme/crowdloanRewards/types.d.ts.map new file mode 100644 index 00000000..9f22c167 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/crowdloanRewards/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAC5G,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAExF,OAAO,KAAK,EAAE,0CAA0C,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAExF,sCAAsC;AACtC,MAAM,WAAW,yBAA0B,SAAQ,IAAI;CAAG;AAE1D,6CAA6C;AAC7C,MAAM,WAAW,gCAAiC,SAAQ,IAAI;CAAG;AAEjE,wDAAwD;AACxD,MAAM,WAAW,2CAA4C,SAAQ,IAAI;CAAG;AAE5E,kDAAkD;AAClD,MAAM,WAAW,qCAAsC,SAAQ,IAAI;CAAG;AAEtE,qDAAqD;AACrD,MAAM,WAAW,wCAAyC,SAAQ,MAAM;IACvE,QAAQ,CAAC,MAAM,EAAE;QAChB,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC;KACrB,GAAG,MAAM,CAAC;IACX,QAAQ,CAAC,IAAI,EAAE;QACd,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC;KACrB,GAAG,MAAM,CAAC;CACX;AAED,mDAAmD;AACnD,MAAM,WAAW,sCAAuC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AAG;AAE3D,+BAA+B;AAC/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI;CAAG;AAEnD,0BAA0B;AAC1B,MAAM,WAAW,aAAc,SAAQ,IAAI;CAAG;AAE9C,6BAA6B;AAC7B,MAAM,WAAW,gBAAiB,SAAQ,IAAI;CAAG;AAEjD,+BAA+B;AAC/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI;CAAG;AAEnD,6BAA6B;AAC7B,MAAM,WAAW,gBAAiB,SAAQ,IAAI;CAAG;AAEjD,qBAAqB;AACrB,MAAM,WAAW,QAAS,SAAQ,IAAI;CAAG;AAEzC,mCAAmC;AACnC,MAAM,WAAW,sBAAuB,SAAQ,IAAI;CAAG;AAEvD,oCAAoC;AACpC,MAAM,WAAW,uBAAwB,SAAQ,IAAI;CAAG;AAExD,sCAAsC;AACtC,MAAM,WAAW,yBAA0B,SAAQ,IAAI;CAAG;AAE1D,6CAA6C;AAC7C,MAAM,WAAW,gCAAiC,SAAQ,IAAI;CAAG;AAEjE,4BAA4B;AAC5B,MAAM,WAAW,eAAgB,SAAQ,IAAI;CAAG;AAEhD,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/crowdloanRewards/types.js b/dist/chains/polkadot/api-scheme/crowdloanRewards/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/crowdloanRewards/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/definitions.d.ts b/dist/chains/polkadot/api-scheme/currencyFactory/definitions.d.ts new file mode 100644 index 00000000..14fb9f0d --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/definitions.d.ts @@ -0,0 +1,14 @@ +declare const _default: { + rpc: {}; + types: { + PalletCurrencyFactoryRanges: { + ranges: string; + }; + PalletCurrencyFactoryRangesRange: { + current: string; + end: string; + }; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/currencyFactory/definitions.d.ts.map new file mode 100644 index 00000000..04c73043 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/currencyFactory/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wBAWE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/definitions.js b/dist/chains/polkadot/api-scheme/currencyFactory/definitions.js new file mode 100644 index 00000000..ebfd7867 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/definitions.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: {}, + types: { + PalletCurrencyFactoryRanges: { + ranges: 'BoundedVec, MaxRanges>' + }, + PalletCurrencyFactoryRangesRange: { + current: 'AssetId', + end: 'AssetId' + } + } +}; diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/index.d.ts b/dist/chains/polkadot/api-scheme/currencyFactory/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/index.d.ts.map b/dist/chains/polkadot/api-scheme/currencyFactory/index.d.ts.map new file mode 100644 index 00000000..1eaf18f8 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/currencyFactory/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/index.js b/dist/chains/polkadot/api-scheme/currencyFactory/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/types.d.ts b/dist/chains/polkadot/api-scheme/currencyFactory/types.d.ts new file mode 100644 index 00000000..aca32e4e --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/types.d.ts @@ -0,0 +1,13 @@ +import type { Struct, Vec } from '@polkadot/types-codec'; +import type { AssetId } from '@polkadot/types/interfaces/runtime'; +/** @name PalletCurrencyFactoryRanges */ +export interface PalletCurrencyFactoryRanges extends Struct { + readonly ranges: Vec; +} +/** @name PalletCurrencyFactoryRangesRange */ +export interface PalletCurrencyFactoryRangesRange extends Struct { + readonly current: AssetId; + readonly end: AssetId; +} +export type PHANTOM_CURRENCYFACTORY = 'currencyFactory'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/types.d.ts.map b/dist/chains/polkadot/api-scheme/currencyFactory/types.d.ts.map new file mode 100644 index 00000000..c805e96b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/currencyFactory/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAElE,wCAAwC;AACxC,MAAM,WAAW,2BAA4B,SAAQ,MAAM;IAC1D,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,gCAAgC,CAAC,CAAC;CACvD;AAED,6CAA6C;AAC7C,MAAM,WAAW,gCAAiC,SAAQ,MAAM;IAC/D,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/currencyFactory/types.js b/dist/chains/polkadot/api-scheme/currencyFactory/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/currencyFactory/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/definitions.d.ts b/dist/chains/polkadot/api-scheme/definitions.d.ts new file mode 100644 index 00000000..105316db --- /dev/null +++ b/dist/chains/polkadot/api-scheme/definitions.d.ts @@ -0,0 +1,12 @@ +export { default as crowdloanRewards } from './crowdloanRewards/definitions'; +export { default as assets } from './assets/definitions'; +export { default as reward } from './reward/definitions'; +export { default as lending } from './lending/definitions'; +export { default as common } from './common/definitions'; +export { default as pablo } from './pablo/definitions'; +export { default as currencyFactory } from './currencyFactory/definitions'; +export { default as democracy } from './democracy/definitions'; +export { default as vesting } from './vesting/definitions'; +export { default as ibc } from './ibc/definitions'; +export { default as liquidStaking } from './liquidStaking/definitions'; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/definitions.d.ts.map new file mode 100644 index 00000000..33493266 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../src/chains/polkadot/api-scheme/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/definitions.js b/dist/chains/polkadot/api-scheme/definitions.js new file mode 100644 index 00000000..a507f90b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/definitions.js @@ -0,0 +1,28 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.liquidStaking = exports.ibc = exports.vesting = exports.democracy = exports.currencyFactory = exports.pablo = exports.common = exports.lending = exports.reward = exports.assets = exports.crowdloanRewards = void 0; +var definitions_1 = require("./crowdloanRewards/definitions"); +Object.defineProperty(exports, "crowdloanRewards", { enumerable: true, get: function () { return __importDefault(definitions_1).default; } }); +var definitions_2 = require("./assets/definitions"); +Object.defineProperty(exports, "assets", { enumerable: true, get: function () { return __importDefault(definitions_2).default; } }); +var definitions_3 = require("./reward/definitions"); +Object.defineProperty(exports, "reward", { enumerable: true, get: function () { return __importDefault(definitions_3).default; } }); +var definitions_4 = require("./lending/definitions"); +Object.defineProperty(exports, "lending", { enumerable: true, get: function () { return __importDefault(definitions_4).default; } }); +var definitions_5 = require("./common/definitions"); +Object.defineProperty(exports, "common", { enumerable: true, get: function () { return __importDefault(definitions_5).default; } }); +var definitions_6 = require("./pablo/definitions"); +Object.defineProperty(exports, "pablo", { enumerable: true, get: function () { return __importDefault(definitions_6).default; } }); +var definitions_7 = require("./currencyFactory/definitions"); +Object.defineProperty(exports, "currencyFactory", { enumerable: true, get: function () { return __importDefault(definitions_7).default; } }); +var definitions_8 = require("./democracy/definitions"); +Object.defineProperty(exports, "democracy", { enumerable: true, get: function () { return __importDefault(definitions_8).default; } }); +var definitions_9 = require("./vesting/definitions"); +Object.defineProperty(exports, "vesting", { enumerable: true, get: function () { return __importDefault(definitions_9).default; } }); +var definitions_10 = require("./ibc/definitions"); +Object.defineProperty(exports, "ibc", { enumerable: true, get: function () { return __importDefault(definitions_10).default; } }); +var definitions_11 = require("./liquidStaking/definitions"); +Object.defineProperty(exports, "liquidStaking", { enumerable: true, get: function () { return __importDefault(definitions_11).default; } }); diff --git a/dist/chains/polkadot/api-scheme/democracy/definitions.d.ts b/dist/chains/polkadot/api-scheme/democracy/definitions.d.ts new file mode 100644 index 00000000..9d528f6b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/definitions.d.ts @@ -0,0 +1,34 @@ +declare const _default: { + rpc: {}; + types: { + PalletDemocracyVoteVoting: { + _enum: { + delegating: { + balance: string; + target: string; + conviction: string; + delegations: { + votes: string; + capital: string; + }; + prior: string; + }; + direct: { + votes: string; + delegations: { + votes: string; + capital: string; + prior: string; + }; + }; + }; + }; + PalletDemocracyVoteThreshold: string; + PalletDemocracyPreimageStatus: string; + PalletDemocracyReferendumInfo: string; + PalletPreimageRequestStatus: string; + PalletDemocracyReleases: string; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/democracy/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/democracy/definitions.d.ts.map new file mode 100644 index 00000000..00e9e607 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/democracy/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA+BE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/democracy/definitions.js b/dist/chains/polkadot/api-scheme/democracy/definitions.js new file mode 100644 index 00000000..1a26bf2a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/definitions.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: {}, + types: { + PalletDemocracyVoteVoting: { + _enum: { + delegating: { + balance: 'Balance', + target: 'AccountId32', + conviction: 'Null', + delegations: { + votes: 'Null', + capital: 'Null' + }, + prior: 'Null' + }, + direct: { + votes: 'Vec', + delegations: { + votes: 'u128', + capital: 'u128', + prior: 'Null' + } + } + } + }, + PalletDemocracyVoteThreshold: 'Null', + PalletDemocracyPreimageStatus: 'Null', + PalletDemocracyReferendumInfo: 'Null', + PalletPreimageRequestStatus: 'Null', + PalletDemocracyReleases: 'Null' + } +}; diff --git a/dist/chains/polkadot/api-scheme/democracy/index.d.ts b/dist/chains/polkadot/api-scheme/democracy/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/democracy/index.d.ts.map b/dist/chains/polkadot/api-scheme/democracy/index.d.ts.map new file mode 100644 index 00000000..595e1236 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/democracy/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/democracy/index.js b/dist/chains/polkadot/api-scheme/democracy/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/democracy/types.d.ts b/dist/chains/polkadot/api-scheme/democracy/types.d.ts new file mode 100644 index 00000000..b54da0fd --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/types.d.ts @@ -0,0 +1,43 @@ +import type { Enum, Null, Struct, u128, Vec } from '@polkadot/types-codec'; +import type { AccountId32, Balance } from '@polkadot/types/interfaces/runtime'; +/** @name PalletDemocracyPreimageStatus */ +export interface PalletDemocracyPreimageStatus extends Null { +} +/** @name PalletDemocracyReferendumInfo */ +export interface PalletDemocracyReferendumInfo extends Null { +} +/** @name PalletDemocracyReleases */ +export interface PalletDemocracyReleases extends Null { +} +/** @name PalletDemocracyVoteThreshold */ +export interface PalletDemocracyVoteThreshold extends Null { +} +/** @name PalletDemocracyVoteVoting */ +export interface PalletDemocracyVoteVoting extends Enum { + readonly isDelegating: boolean; + readonly asDelegating: { + readonly balance: Balance; + readonly target: AccountId32; + readonly conviction: Null; + readonly delegations: { + readonly votes: Null; + readonly capital: Null; + } & Struct; + readonly prior: Null; + } & Struct; + readonly isDirect: boolean; + readonly asDirect: { + readonly votes: Vec; + readonly delegations: { + readonly votes: u128; + readonly capital: u128; + readonly prior: Null; + } & Struct; + } & Struct; + readonly type: 'Delegating' | 'Direct'; +} +/** @name PalletPreimageRequestStatus */ +export interface PalletPreimageRequestStatus extends Null { +} +export type PHANTOM_DEMOCRACY = 'democracy'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/democracy/types.d.ts.map b/dist/chains/polkadot/api-scheme/democracy/types.d.ts.map new file mode 100644 index 00000000..77e09c74 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/democracy/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAE/E,0C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end of file diff --git a/dist/chains/polkadot/api-scheme/democracy/types.js b/dist/chains/polkadot/api-scheme/democracy/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/democracy/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/ibc/definitions.d.ts b/dist/chains/polkadot/api-scheme/ibc/definitions.d.ts new file mode 100644 index 00000000..143c1295 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/ibc/definitions.d.ts @@ -0,0 +1,138 @@ +declare const _default: { + rpc: { + queryBalanceWithAddress: { + description: string; + params: { + name: string; + type: string; + }[]; + type: string; + }; + clientUpdateTimeAndHeight: { + description: string; + params: any[]; + }; + generateConnectionHandshakeProof: { + description: string; + params: any[]; + }; + queryChannel: { + description: string; + params: any[]; + }; + queryChannelClient: { + description: string; + params: any[]; + }; + queryChannels: { + description: string; + params: any[]; + }; + queryClientConsensusState: { + description: string; + params: any[]; + }; + queryClientState: { + description: string; + params: any[]; + }; + queryClients: { + description: string; + params: any[]; + }; + queryConnection: { + description: string; + params: any[]; + }; + queryConnectionChannels: { + description: string; + params: any[]; + }; + queryConnectionUsingClient: { + description: string; + params: any[]; + }; + queryConnections: { + description: string; + params: any[]; + }; + queryDenomTrace: { + description: string; + params: any[]; + }; + queryDenomTraces: { + description: string; + params: any[]; + }; + queryEvents: { + description: string; + params: any[]; + }; + queryLatestHeight: { + description: string; + params: any[]; + }; + queryNewlyCreatedClient: { + description: string; + params: any[]; + }; + queryNextSeqRecv: { + description: string; + params: any[]; + }; + queryPacketAcknowledgement: { + description: string; + params: { + name: string; + type: string; + }[]; + }; + queryPacketAcknowledgements: { + description: string; + params: any[]; + }; + queryPacketCommitment: { + description: string; + params: any[]; + }; + queryPacketCommitments: { + description: string; + params: any[]; + }; + queryPacketReceipt: { + description: string; + params: any[]; + }; + queryProof: { + description: string; + params: any[]; + }; + queryRecvPackets: { + description: string; + params: any[]; + }; + querySendPackets: { + description: string; + params: any[]; + }; + queryUnreceivedAcknowledgement: { + description: string; + params: any[]; + }; + queryUnreceivedPackets: { + description: string; + params: any[]; + }; + queryUpgradedClient: { + description: string; + params: any[]; + }; + queryUpgradedConnectionState: { + description: string; + params: any[]; + }; + }; + types: {}; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/ibc/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/ibc/definitions.d.ts.map new file mode 100644 index 00000000..92464ede --- /dev/null +++ b/dist/chains/polkadot/api-scheme/ibc/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/ibc/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuJE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/ibc/definitions.js b/dist/chains/polkadot/api-scheme/ibc/definitions.js new file mode 100644 index 00000000..0ead2e76 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/ibc/definitions.js @@ -0,0 +1,154 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: { + queryBalanceWithAddress: { + description: 'Get the balance with address', + params: [ + { + name: 'addr', + type: 'AccountId32' + }, + { + name: 'asset_id', + type: 'CurrencyId' + } + ], + type: 'BTreeMap, SafeRpcWrapper>' + }, + clientUpdateTimeAndHeight: { + description: '', + params: [] + }, + generateConnectionHandshakeProof: { + description: '', + params: [] + }, + queryChannel: { + description: '', + params: [] + }, + queryChannelClient: { + description: '', + params: [] + }, + queryChannels: { + description: '', + params: [] + }, + queryClientConsensusState: { + description: '', + params: [] + }, + queryClientState: { + description: '', + params: [] + }, + queryClients: { + description: '', + params: [] + }, + queryConnection: { + description: '', + params: [] + }, + queryConnectionChannels: { + description: '', + params: [] + }, + queryConnectionUsingClient: { + description: '', + params: [] + }, + queryConnections: { + description: '', + params: [] + }, + queryDenomTrace: { + description: '', + params: [] + }, + queryDenomTraces: { + description: '', + params: [] + }, + queryEvents: { + description: '', + params: [] + }, + queryLatestHeight: { + description: '', + params: [] + }, + queryNewlyCreatedClient: { + description: '', + params: [] + }, + queryNextSeqRecv: { + description: '', + params: [] + }, + queryPacketAcknowledgement: { + description: '', + params: [ + { + name: 'channelId', + type: 'Vec' + }, + { + name: 'portId', + type: 'Vec' + }, + { + name: 'seq', + type: 'u64' + } + ] + }, + queryPacketAcknowledgements: { + description: '', + params: [] + }, + queryPacketCommitment: { + description: '', + params: [] + }, + queryPacketCommitments: { + description: '', + params: [] + }, + queryPacketReceipt: { + description: '', + params: [] + }, + queryProof: { + description: '', + params: [] + }, + queryRecvPackets: { + description: '', + params: [] + }, + querySendPackets: { + description: '', + params: [] + }, + queryUnreceivedAcknowledgement: { + description: '', + params: [] + }, + queryUnreceivedPackets: { + description: '', + params: [] + }, + queryUpgradedClient: { + description: '', + params: [] + }, + queryUpgradedConnectionState: { + description: '', + params: [] + } + }, + types: {} +}; diff --git a/dist/chains/polkadot/api-scheme/index.d.ts b/dist/chains/polkadot/api-scheme/index.d.ts new file mode 100644 index 00000000..63027728 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/index.d.ts @@ -0,0 +1,8 @@ +export declare const ENDPOINT: string; +export declare const PALLET_ID = "modl"; +export declare const PALLET_TYPE_ID: Uint8Array; +export declare const polkadotApiTypes: any; +export declare const polkadotApiRpc: {}; +export declare function concatU8a(a: Uint8Array, b: Uint8Array): Uint8Array; +export declare const hexToDecimalStr: (hex: string) => string; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/index.d.ts.map b/dist/chains/polkadot/api-scheme/index.d.ts.map new file mode 100644 index 00000000..dcdf5d5f --- /dev/null +++ b/dist/chains/polkadot/api-scheme/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/chains/polkadot/api-scheme/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,QACiD,CAAC;AAEvE,eAAO,MAAM,SAAS,SAAS,CAAC;AAChC,eAAO,MAAM,cAAc,YAAyB,CAAC;AACrD,eAAO,MAAM,gBAAgB,KAQ1B,CAAC;AAEJ,eAAO,MAAM,cAAc,IAaxB,CAAC;AAEJ,wBAAgB,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,UAAU,CAKlE;AAED,eAAO,MAAM,eAAe,QAAS,MAAM,WAE1C,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/index.js b/dist/chains/polkadot/api-scheme/index.js new file mode 100644 index 00000000..25c5fda0 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/index.js @@ -0,0 +1,68 @@ +"use strict"; +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var _a; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.hexToDecimalStr = exports.polkadotApiRpc = exports.polkadotApiTypes = exports.PALLET_TYPE_ID = exports.PALLET_ID = exports.ENDPOINT = void 0; +exports.concatU8a = concatU8a; +var util_1 = require("@polkadot/util"); +var definitions = __importStar(require("./definitions")); +exports.ENDPOINT = (_a = process.env.NEXT_PUBLIC_ENDPOINT) !== null && _a !== void 0 ? _a : 'wss://rpc.composablenodes.tech'; +exports.PALLET_ID = 'modl'; +exports.PALLET_TYPE_ID = (0, util_1.stringToU8a)(exports.PALLET_ID); +exports.polkadotApiTypes = Object.keys(definitions) + .filter(function (key) { return Object.keys(definitions[key].types).length > 0; }) + .reduce(function (accumulator, key) { return (__assign(__assign({}, accumulator), definitions[key].types)); }, {}); +exports.polkadotApiRpc = Object.keys(definitions) + .filter(function (k) { + if (!definitions[k].rpc) { + return false; + } + return Object.keys(definitions[k].rpc).length > 0; +}) + .reduce(function (accumulator, key) { + var _a; + return (__assign(__assign({}, accumulator), (_a = {}, _a[key] = definitions[key].rpc, _a))); +}, {}); +function concatU8a(a, b) { + var c = new Uint8Array(a.length + b.length); + c.set(a); + c.set(b, a.length); + return c; +} +var hexToDecimalStr = function (hex) { + return BigInt(hex).toString(10); +}; +exports.hexToDecimalStr = hexToDecimalStr; diff --git a/dist/chains/polkadot/api-scheme/interfaces.d.ts b/dist/chains/polkadot/api-scheme/interfaces.d.ts new file mode 100644 index 00000000..b8625cb0 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/interfaces.d.ts @@ -0,0 +1,37 @@ +import type Big from 'big.js'; +export type AssetRatio = { + n: number; + d: number; +}; +export interface BalanceRes { + consumers: string; + nonce: string; + providers: string; + sufficients: string; + data: { + free: string; + reserved: string; + miscFrozen: string; + feeFrozen: string; + }; +} +export interface Balance { + assetId: string; + value: string; +} +export interface AssetInterface { + name: string; + id: string; + decimals: number; + existentialDeposit: string; + ratio: AssetRatio; + balance?: string; + exchangeRate?: string; +} +export interface BalancesInterface { + assetId: string; + assetName: string; + balance: string; + decimal: Big; +} +//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/interfaces.d.ts.map b/dist/chains/polkadot/api-scheme/interfaces.d.ts.map new file mode 100644 index 00000000..adbaeb8b --- /dev/null +++ b/dist/chains/polkadot/api-scheme/interfaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/chains/polkadot/api-scheme/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,UAAU,GAAG;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV,CAAC;AAEF,MAAM,WAAW,UAAU;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KAClB,CAAC;CACF;AAED,MAAM,WAAW,OAAO;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,GAAG,CAAC;CACb"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/interfaces.js b/dist/chains/polkadot/api-scheme/interfaces.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/interfaces.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/lending/definitions.d.ts b/dist/chains/polkadot/api-scheme/lending/definitions.d.ts new file mode 100644 index 00000000..901f2b67 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/definitions.d.ts @@ -0,0 +1,6 @@ +declare const _default: { + rpc: {}; + types: {}; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/lending/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/lending/definitions.d.ts.map new file mode 100644 index 00000000..86952800 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/lending/definitions.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/lending/definitions.js b/dist/chains/polkadot/api-scheme/lending/definitions.js new file mode 100644 index 00000000..e9b51ea1 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/definitions.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: {}, + types: {} +}; diff --git a/dist/chains/polkadot/api-scheme/lending/index.d.ts b/dist/chains/polkadot/api-scheme/lending/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/lending/index.d.ts.map b/dist/chains/polkadot/api-scheme/lending/index.d.ts.map new file mode 100644 index 00000000..b3eef787 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/lending/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/lending/index.js b/dist/chains/polkadot/api-scheme/lending/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/lending/types.d.ts b/dist/chains/polkadot/api-scheme/lending/types.d.ts new file mode 100644 index 00000000..261302b1 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/types.d.ts @@ -0,0 +1,2 @@ +export type PHANTOM_LENDING = 'lending'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/lending/types.d.ts.map b/dist/chains/polkadot/api-scheme/lending/types.d.ts.map new file mode 100644 index 00000000..2a940874 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/lending/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/lending/types.js b/dist/chains/polkadot/api-scheme/lending/types.js new file mode 100644 index 00000000..13163d4a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/lending/types.js @@ -0,0 +1,3 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/liquidStaking/definitions.d.ts b/dist/chains/polkadot/api-scheme/liquidStaking/definitions.d.ts new file mode 100644 index 00000000..161e6134 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/liquidStaking/definitions.d.ts @@ -0,0 +1,14 @@ +declare const _default: { + rpc: {}; + types: { + UnstakeProvider: { + _enum: { + RelayChain: number; + Loans: number; + MatchingPool: number; + }; + }; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/liquidStaking/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/liquidStaking/definitions.d.ts.map new file mode 100644 index 00000000..f7a558aa --- /dev/null +++ b/dist/chains/polkadot/api-scheme/liquidStaking/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/liquidStaking/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wBAWE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/liquidStaking/definitions.js b/dist/chains/polkadot/api-scheme/liquidStaking/definitions.js new file mode 100644 index 00000000..59315982 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/liquidStaking/definitions.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: {}, + types: { + UnstakeProvider: { + _enum: { + RelayChain: 0, + Loans: 1, + MatchingPool: 2 + } + } + } +}; diff --git a/dist/chains/polkadot/api-scheme/pablo/definitions.d.ts b/dist/chains/polkadot/api-scheme/pablo/definitions.d.ts new file mode 100644 index 00000000..9a12682a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/definitions.d.ts @@ -0,0 +1,78 @@ +declare const _default: { + rpc: { + pricesFor: { + description: string; + params: ({ + name: string; + type: string; + isOptional?: undefined; + } | { + name: string; + type: string; + isOptional: boolean; + })[]; + type: string; + }; + simulateAddLiquidity: { + description: string; + params: { + name: string; + type: string; + }[]; + type: string; + }; + isFlatFee: { + description: string; + params: { + name: string; + type: string; + }[]; + type: string; + }; + simulateRemoveLiquidity: { + description: string; + params: { + name: string; + type: string; + }[]; + type: string; + }; + }; + types: { + PalletPabloPoolInitConfiguration: string; + PalletPabloPoolConfiguration: { + _enum: { + DualAssetConstantProduct: { + owner: string; + assetsWeights: string; + lpToken: string; + feeConfig: { + feeRate: string; + ownerFeeRate: string; + protocolFeeRate: string; + }; + }; + }; + }; + PalletPabloPriceCumulative: string; + PalletPabloTimeWeightedAveragePrice: string; + PalletPabloPoolId: string; + PalletPabloPriceAggregate: { + poolId: string; + baseAssetId: string; + quoteAssetId: string; + spotPrice: string; + }; + ComposableTraitsDexFee: { + fee: string; + lpFee: string; + ownerFee: string; + protocolFee: string; + assetId: string; + }; + ComposableTraitsDexStakingRewardPool: string; + RemoveLiquiditySimulationResult: string; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/pablo/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/pablo/definitions.d.ts.map new file mode 100644 index 00000000..7069068a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/pablo/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAmHE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/pablo/definitions.js b/dist/chains/polkadot/api-scheme/pablo/definitions.js new file mode 100644 index 00000000..b497cbc5 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/definitions.js @@ -0,0 +1,118 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: { + pricesFor: { + description: 'Get the price(in quote asset) for the given asset pair in the given pool for the given amount', + params: [ + { + name: 'poolId', + type: 'PalletPabloPoolId' + }, + { + name: 'baseAssetId', + type: 'CustomRpcCurrencyId' + }, + { + name: 'quoteAssetId', + type: 'CustomRpcCurrencyId' + }, + { + name: 'amount', + type: 'CustomRpcBalance' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'PalletPabloPriceAggregate' + }, + simulateAddLiquidity: { + description: 'Simulate add liquidity', + params: [ + { + name: 'who', + type: 'SafeRpcWrapper' + }, + { + name: 'poolId', + type: 'SafeRpcWrapper' + }, + { + name: 'amounts', + type: 'BTreeMap, SafeRpcWrapper>' + } + ], + type: 'SafeRpcWrapper' + }, + isFlatFee: { + description: 'Check whether asset has a flat fee', + params: [ + { + name: 'assetId', + type: 'SafeRpcWrapper' + } + ], + type: 'Option>' + }, + simulateRemoveLiquidity: { + description: 'Get the price(in quote asset) for the given asset pair in the given pool for the given amount', + params: [ + { + name: 'who', + type: 'SafeRpcWrapper' + }, + { + name: 'poolId', + type: 'SafeRpcWrapper' + }, + { + name: 'lpAmount', + type: 'SafeRpcWrapper' + }, + { + name: 'minExpectedAmounts', + type: 'BTreeMap, SafeRpcWrapper>' + } + ], + type: 'RemoveLiquiditySimulationResult, SafeRpcWrapper>' + } + }, + types: { + PalletPabloPoolInitConfiguration: 'PalletPabloPoolConfiguration', + PalletPabloPoolConfiguration: { + _enum: { + DualAssetConstantProduct: { + owner: 'AccountId32', + assetsWeights: 'BoundedBTreeMap>', + lpToken: 'u128', + feeConfig: { + feeRate: 'Permill', + ownerFeeRate: 'Permill', + protocolFeeRate: 'Permill' + } + } + } + }, + PalletPabloPriceCumulative: 'Null', + PalletPabloTimeWeightedAveragePrice: 'Null', + PalletPabloPoolId: 'SafeRpcWrapper', + PalletPabloPriceAggregate: { + poolId: 'PalletPabloPoolId', + baseAssetId: 'CustomRpcCurrencyId', + quoteAssetId: 'CustomRpcCurrencyId', + spotPrice: 'CustomRpcBalance' + }, + ComposableTraitsDexFee: { + fee: 'u128', + lpFee: 'u128', + ownerFee: 'u128', + protocolFee: 'u128', + assetId: 'u128' + }, + ComposableTraitsDexStakingRewardPool: 'Null', + RemoveLiquiditySimulationResult: 'BTreeMap' + } +}; diff --git a/dist/chains/polkadot/api-scheme/pablo/index.d.ts b/dist/chains/polkadot/api-scheme/pablo/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/pablo/index.d.ts.map b/dist/chains/polkadot/api-scheme/pablo/index.d.ts.map new file mode 100644 index 00000000..7389a8e3 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/pablo/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/pablo/index.js b/dist/chains/polkadot/api-scheme/pablo/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/pablo/types.d.ts b/dist/chains/polkadot/api-scheme/pablo/types.d.ts new file mode 100644 index 00000000..b4a1f2c4 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/types.d.ts @@ -0,0 +1,69 @@ +import type { Enum, Null, Struct, u16, u128 } from '@polkadot/types-codec'; +import type { AccountId32, BlockNumber, Permill } from '@polkadot/types/interfaces/runtime'; +import type { ComposableTraitsDefiCurrencyPairCurrencyId, CustomRpcBalance, CustomRpcCurrencyId, SafeRpcWrapper } from '../common'; +/** @name ComposableTraitsDexFee */ +export interface ComposableTraitsDexFee extends Struct { + readonly fee: u128; + readonly lp_fee: u128; + readonly owner_fee: u128; + readonly protocol_fee: u128; + readonly asset_id: u128; +} +/** @name ComposableTraitsDexStakingRewardPool */ +export interface ComposableTraitsDexStakingRewardPool extends Null { +} +/** @name PalletPabloPoolConfiguration */ +export interface PalletPabloPoolConfiguration extends Enum { + readonly isStableSwap: boolean; + readonly asStableSwap: { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly amplification_coefficient: u16; + readonly fee: Permill; + } & Struct; + readonly isConstantProduct: boolean; + readonly asConstantProduct: { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly fee: Permill; + readonly baseWeight: Permill; + } & Struct; + readonly isLiquidityBootstrapping: boolean; + readonly asLiquidityBootstrapping: { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly sale: { + readonly start: BlockNumber; + readonly end: BlockNumber; + readonly initial_weight: Permill; + readonly final_weight: Permill; + } & Struct; + readonly feeConfig: { + readonly feeRate: Permill; + readonly ownerFeeRate: Permill; + readonly protocolFeeRate: Permill; + } & Struct; + } & Struct; + readonly type: 'StableSwap' | 'ConstantProduct' | 'LiquidityBootstrapping'; +} +/** @name PalletPabloPoolId */ +export interface PalletPabloPoolId extends SafeRpcWrapper { +} +/** @name PalletPabloPoolInitConfiguration */ +export interface PalletPabloPoolInitConfiguration extends PalletPabloPoolConfiguration { +} +/** @name PalletPabloPriceAggregate */ +export interface PalletPabloPriceAggregate extends Struct { + readonly poolId: PalletPabloPoolId; + readonly baseAssetId: CustomRpcCurrencyId; + readonly quoteAssetId: CustomRpcCurrencyId; + readonly spotPrice: CustomRpcBalance; +} +/** @name PalletPabloPriceCumulative */ +export interface PalletPabloPriceCumulative extends Null { +} +/** @name PalletPabloTimeWeightedAveragePrice */ +export interface PalletPabloTimeWeightedAveragePrice extends Null { +} +export type PHANTOM_PABLO = 'pablo'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/pablo/types.d.ts.map b/dist/chains/polkadot/api-scheme/pablo/types.d.ts.map new file mode 100644 index 00000000..eafc225e --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/pablo/types.ts"],"names":[],"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CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/pablo/types.js b/dist/chains/polkadot/api-scheme/pablo/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/pablo/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/api-scheme/reward/definitions.d.ts b/dist/chains/polkadot/api-scheme/reward/definitions.d.ts new file mode 100644 index 00000000..6593358a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/reward/definitions.d.ts @@ -0,0 +1,33 @@ +declare const _default: { + rpc: { + estimateFarmingReward: { + description: string; + params: ({ + name: string; + type: string; + isOptional?: undefined; + } | { + name: string; + type: string; + isOptional: boolean; + })[]; + type: string; + }; + computeFarmingReward: { + description: string; + params: ({ + name: string; + type: string; + isOptional?: undefined; + } | { + name: string; + type: string; + isOptional: boolean; + })[]; + type: string; + }; + }; + types: {}; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/reward/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/reward/definitions.d.ts.map new file mode 100644 index 00000000..fa6c141a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/reward/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/reward/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAkDE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/reward/definitions.js b/dist/chains/polkadot/api-scheme/reward/definitions.js new file mode 100644 index 00000000..f5b2888f --- /dev/null +++ b/dist/chains/polkadot/api-scheme/reward/definitions.js @@ -0,0 +1,53 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: { + estimateFarmingReward: { + description: 'Reward available for the specified account for the specified asset.', + params: [ + { + name: 'address', + type: 'AccountId32' + }, + { + name: 'poolCurrencyId', + type: 'Text' + }, + { + name: 'rewardCurrencyId', + type: 'Text' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'u128' + }, + computeFarmingReward: { + description: 'Reward available for the specified account for the specified asset.', + params: [ + { + name: 'accountId', + type: 'AccountId32' + }, + { + name: 'poolCurrencyId', + type: 'Text' + }, + { + name: 'rewardCurrencyId', + type: 'Text' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'Balance' + } + }, + types: {} +}; diff --git a/dist/chains/polkadot/api-scheme/types.d.ts b/dist/chains/polkadot/api-scheme/types.d.ts new file mode 100644 index 00000000..b3f4a313 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/types.d.ts @@ -0,0 +1,9 @@ +export * from './crowdloanRewards/types'; +export * from './assets/types'; +export * from './lending/types'; +export * from './common/types'; +export * from './pablo/types'; +export * from './currencyFactory/types'; +export * from './democracy/types'; +export * from './vesting/types'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/types.d.ts.map b/dist/chains/polkadot/api-scheme/types.d.ts.map new file mode 100644 index 00000000..d09f56c1 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/chains/polkadot/api-scheme/types.ts"],"names":[],"mappings":"AAEA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/types.js b/dist/chains/polkadot/api-scheme/types.js new file mode 100644 index 00000000..cce0163d --- /dev/null +++ b/dist/chains/polkadot/api-scheme/types.js @@ -0,0 +1,25 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./crowdloanRewards/types"), exports); +__exportStar(require("./assets/types"), exports); +__exportStar(require("./lending/types"), exports); +__exportStar(require("./common/types"), exports); +__exportStar(require("./pablo/types"), exports); +__exportStar(require("./currencyFactory/types"), exports); +__exportStar(require("./democracy/types"), exports); +__exportStar(require("./vesting/types"), exports); diff --git a/dist/chains/polkadot/api-scheme/vesting/definitions.d.ts b/dist/chains/polkadot/api-scheme/vesting/definitions.d.ts new file mode 100644 index 00000000..1e39be50 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/definitions.d.ts @@ -0,0 +1,32 @@ +declare const _default: { + rpc: {}; + types: { + VestingWindow: { + _enum: { + MomentBased: { + start: string; + period: string; + }; + BlockNumberBased: { + start: string; + period: string; + }; + }; + }; + ComposableTraitsVestingVestingSchedule: { + vestingScheduleId: string; + window: string; + periodCount: string; + perPeriod: string; + alreadyClaimed: string; + }; + ComposableTraitsVestingVestingScheduleIdSet: string; + ComposableTraitsVestingVestingScheduleInfo: { + window: string; + periodCount: string; + perPeriod: string; + }; + }; +}; +export default _default; +//# sourceMappingURL=definitions.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/vesting/definitions.d.ts.map b/dist/chains/polkadot/api-scheme/vesting/definitions.d.ts.map new file mode 100644 index 00000000..b52a93ef --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/definitions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/vesting/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA6BE"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/vesting/definitions.js b/dist/chains/polkadot/api-scheme/vesting/definitions.js new file mode 100644 index 00000000..ca312141 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/definitions.js @@ -0,0 +1,32 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + rpc: {}, + types: { + VestingWindow: { + _enum: { + MomentBased: { + start: 'Moment', + period: 'Moment' + }, + BlockNumberBased: { + start: 'BlockNumber', + period: 'BlockNumber' + } + } + }, + ComposableTraitsVestingVestingSchedule: { + vestingScheduleId: 'u128', + window: 'VestingWindow', + periodCount: 'u32', + perPeriod: 'Balance', + alreadyClaimed: 'Balance' + }, + ComposableTraitsVestingVestingScheduleIdSet: 'Null', + ComposableTraitsVestingVestingScheduleInfo: { + window: 'VestingWindow', + periodCount: 'u128', + perPeriod: 'u128' + } + } +}; diff --git a/dist/chains/polkadot/api-scheme/vesting/index.d.ts b/dist/chains/polkadot/api-scheme/vesting/index.d.ts new file mode 100644 index 00000000..3bd9daac --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/index.d.ts @@ -0,0 +1,2 @@ +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/vesting/index.d.ts.map b/dist/chains/polkadot/api-scheme/vesting/index.d.ts.map new file mode 100644 index 00000000..d4f213ad --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/vesting/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/vesting/index.js b/dist/chains/polkadot/api-scheme/vesting/index.js new file mode 100644 index 00000000..fe2595d9 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/index.js @@ -0,0 +1,18 @@ +"use strict"; +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/api-scheme/vesting/types.d.ts b/dist/chains/polkadot/api-scheme/vesting/types.d.ts new file mode 100644 index 00000000..8c4f1580 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/types.d.ts @@ -0,0 +1,35 @@ +import type { Enum, Null, Struct, u32, u128 } from '@polkadot/types-codec'; +import type { Balance, BlockNumber, Moment } from '@polkadot/types/interfaces/runtime'; +/** @name ComposableTraitsVestingVestingSchedule */ +export interface ComposableTraitsVestingVestingSchedule extends Struct { + readonly vestingScheduleId: u128; + readonly window: VestingWindow; + readonly periodCount: u32; + readonly perPeriod: Balance; + readonly alreadyClaimed: Balance; +} +/** @name ComposableTraitsVestingVestingScheduleIdSet */ +export interface ComposableTraitsVestingVestingScheduleIdSet extends Null { +} +/** @name ComposableTraitsVestingVestingScheduleInfo */ +export interface ComposableTraitsVestingVestingScheduleInfo extends Struct { + readonly window: VestingWindow; + readonly periodCount: u128; + readonly perPeriod: u128; +} +/** @name VestingWindow */ +export interface VestingWindow extends Enum { + readonly isMomentBased: boolean; + readonly asMomentBased: { + readonly start: Moment; + readonly period: Moment; + } & Struct; + readonly isBlockNumberBased: boolean; + readonly asBlockNumberBased: { + readonly start: BlockNumber; + readonly period: BlockNumber; + } & Struct; + readonly type: 'MomentBased' | 'BlockNumberBased'; +} +export type PHANTOM_VESTING = 'vesting'; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/vesting/types.d.ts.map b/dist/chains/polkadot/api-scheme/vesting/types.d.ts.map new file mode 100644 index 00000000..7ea7b37a --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/chains/polkadot/api-scheme/vesting/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAEvF,mDAAmD;AACnD,MAAM,WAAW,sCAAuC,SAAQ,MAAM;IACrE,QAAQ,CAAC,iBAAiB,EAAE,IAAI,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CACjC;AAED,wDAAwD;AACxD,MAAM,WAAW,2CAA4C,SAAQ,IAAI;CAAG;AAE5E,uDAAuD;AACvD,MAAM,WAAW,0CAA2C,SAAQ,MAAM;IACzE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CACzB;AAED,0BAA0B;AAC1B,MAAM,WAAW,aAAc,SAAQ,IAAI;IAC1C,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,aAAa,EAAE;QACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACxB,GAAG,MAAM,CAAC;IACX,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,kBAAkB,EAAE;QAC5B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;QAC5B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;KAC7B,GAAG,MAAM,CAAC;IACX,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,kBAAkB,CAAC;CAClD;AAED,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/api-scheme/vesting/types.js b/dist/chains/polkadot/api-scheme/vesting/types.js new file mode 100644 index 00000000..c8ad2e54 --- /dev/null +++ b/dist/chains/polkadot/api-scheme/vesting/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/chains/polkadot/helper.d.ts b/dist/chains/polkadot/helper.d.ts new file mode 100644 index 00000000..4a60c0fc --- /dev/null +++ b/dist/chains/polkadot/helper.d.ts @@ -0,0 +1,58 @@ +import { ApiPromise } from '@polkadot/api'; +import { type AddressOrPair, type SubmittableExtrinsic } from '@polkadot/api-base/types'; +import { ApiOptions } from '@polkadot/api/types'; +import { type AnyTuple, type IEvent, type ISubmittableResult } from '@polkadot/types/types'; +import Big from 'big.js'; +import { MultihopRoutePath } from './types'; +export { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; +export { base58Decode } from '@polkadot/util-crypto'; +export type OnFailedTxHandler = (result: ISubmittableResult, errorMessage?: string) => void; +export declare function getSubAccount(api: ApiPromise, poolId: string): string; +export declare function getPaymentAsset({ endpoint, accountId, }: { + endpoint: string; + accountId: string; +}): Promise<[string, string] | null>; +export declare function setPaymentAsset({ endpoint, accountId, assetId, signer, }: { + endpoint: string; + accountId: string; + assetId: string; + signer: any; +}): Promise; +export declare function getSignAndSendParams(accountId: string, signer: any): Promise<{ + account: AddressOrPair; + signerOption: { + signer: any; + }; +}>; +export declare function signAndSend({ accountId, extrinsics, filter, onFailedTx, endpoint, signer, }: { + accountId: string; + extrinsics: SubmittableExtrinsic<'promise'>[]; + filter: (event: IEvent) => event is IEvent; + onFailedTx: OnFailedTxHandler | undefined; + endpoint: string; + signer: any; +}): Promise; +export declare function getAvailableCoin(endpoint: string, accountId: string | null): Promise; +export declare function getApi(endpoint: string, option?: ApiOptions): Promise; +export declare const getMultiApi: (endpoints: string[]) => Promise; +export declare const getPolkadotBlockHeight: (api: ApiPromise, extra?: number) => Promise; +export declare const makeIbcToPolkadot: ({ api, toAddress, sourceChannel, assetId, amount, destinationHeight, memo, }: { + api: ApiPromise; + toAddress: string; + sourceChannel: number; + assetId: string; + amount: string; + destinationHeight: number; + memo: string; +}) => SubmittableExtrinsic<"promise", ISubmittableResult>; +export declare const makeIbcToCosmos: ({ api, toAddress, sourceChannel, assetId, amount, destinationHeight, memo, }: { + api: ApiPromise; + toAddress: string; + sourceChannel: number; + assetId: string; + amount: string; + destinationHeight: number; + memo: string; +}) => SubmittableExtrinsic<"promise", ISubmittableResult>; +export declare const getMultihopPath: (fromChainId: string, networkType: "2019" | "2087") => Promise; +//# sourceMappingURL=helper.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/helper.d.ts.map b/dist/chains/polkadot/helper.d.ts.map new file mode 100644 index 00000000..cf79096b --- /dev/null +++ b/dist/chains/polkadot/helper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/chains/polkadot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F,eAAO,MAAM,eAAe,iFAQzB;IACD,GAAG,EAAE,UAAU,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd,wDA+BA,CAAC;AAEF,eAAO,MAAM,eAAe,gBACb,MAAM,eACN,MAAM,GAAG,MAAM,KAC3B,OAAO,CAAC,iBAAiB,EAAE,CAyB7B,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/helper.js b/dist/chains/polkadot/helper.js new file mode 100644 index 00000000..b1f83390 --- /dev/null +++ b/dist/chains/polkadot/helper.js @@ -0,0 +1,419 @@ +"use strict"; +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __read = (this && this.__read) || function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +}; +var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMultihopPath = exports.makeIbcToCosmos = exports.makeIbcToPolkadot = exports.getPolkadotBlockHeight = exports.getMultiApi = exports.base58Decode = exports.encodeAddress = exports.decodeAddress = void 0; +exports.getSubAccount = getSubAccount; +exports.getPaymentAsset = getPaymentAsset; +exports.setPaymentAsset = setPaymentAsset; +exports.getSignAndSendParams = getSignAndSendParams; +exports.signAndSend = signAndSend; +exports.getAvailableCoin = getAvailableCoin; +exports.getApi = getApi; +var api_1 = require("@polkadot/api"); +var big_js_1 = __importDefault(require("big.js")); +var api_scheme_1 = require("./api-scheme"); +var config_1 = require("../../config"); +var util_1 = require("@polkadot/util"); +var util_crypto_1 = require("@polkadot/util-crypto"); +Object.defineProperty(exports, "decodeAddress", { enumerable: true, get: function () { return util_crypto_1.decodeAddress; } }); +Object.defineProperty(exports, "encodeAddress", { enumerable: true, get: function () { return util_crypto_1.encodeAddress; } }); +var util_crypto_2 = require("@polkadot/util-crypto"); +Object.defineProperty(exports, "base58Decode", { enumerable: true, get: function () { return util_crypto_2.base58Decode; } }); +function checkWalletIdForSigning(accountId) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/]; + }); + }); +} +function getSubAccount(api, poolId) { + var palletId = api.consts.pablo.palletId.toU8a(); + var poolAccountId = api.createType('([u8; 4], [u8; 8], u64)', [ + api_scheme_1.PALLET_TYPE_ID, + palletId, + poolId, + ]); + var accountIdu8a = poolAccountId.toU8a(); + var poolAccount = (0, api_scheme_1.concatU8a)(accountIdu8a, new Uint8Array(32 - accountIdu8a.length).fill(0)); + return api.createType('AccountId32', poolAccount).toString(); +} +function getPaymentAsset(_a) { + return __awaiter(this, arguments, void 0, function (_b) { + var api, accountId32, result; + var endpoint = _b.endpoint, accountId = _b.accountId; + return __generator(this, function (_c) { + switch (_c.label) { + case 0: return [4 /*yield*/, getApi(endpoint)]; + case 1: + api = _c.sent(); + accountId32 = api.createType('AccountId32', accountId); + return [4 /*yield*/, api.query.assetTxPayment.paymentAssets(accountId32)]; + case 2: + result = _c.sent(); + return [2 /*return*/, result.toJSON()]; + } + }); + }); +} +function setPaymentAsset(_a) { + return __awaiter(this, arguments, void 0, function ( + // networkType: NetworkType, + // walletId: PolkadotWalletId, + // accountId: string, + // assetId: string, + // walletApi: WalletApi + _b) { + var api, asset; + var endpoint = _b.endpoint, accountId = _b.accountId, assetId = _b.assetId, signer = _b.signer; + return __generator(this, function (_c) { + switch (_c.label) { + case 0: return [4 /*yield*/, getApi(endpoint)]; + case 1: + api = _c.sent(); + asset = Number(assetId) === 1 ? null : api.createType('u128', assetId); + return [4 /*yield*/, signAndSend({ + accountId: accountId, + extrinsics: [api.tx.assetTxPayment.setPaymentAsset(accountId, asset)], + filter: api.events.system.ExtrinsicSuccess.is, + onFailedTx: undefined, + endpoint: endpoint, + signer: signer, + })]; + case 2: return [2 /*return*/, _c.sent()]; + } + }); + }); +} +function getSignAndSendParams(accountId, signer) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, checkWalletIdForSigning(accountId)]; + case 1: + _a.sent(); + if (!signer) + throw new Error('No signer found'); + return [2 /*return*/, { + account: accountId, + signerOption: { signer: signer }, + }]; + } + }); + }); +} +function signAndSend(_a) { + return __awaiter(this, arguments, void 0, function (_b) { + var api, _c, account, signerOption; + var accountId = _b.accountId, extrinsics = _b.extrinsics, filter = _b.filter, onFailedTx = _b.onFailedTx, endpoint = _b.endpoint, signer = _b.signer; + return __generator(this, function (_d) { + switch (_d.label) { + case 0: return [4 /*yield*/, getApi(endpoint)]; + case 1: + api = _d.sent(); + return [4 /*yield*/, getSignAndSendParams(accountId, signer)]; + case 2: + _c = _d.sent(), account = _c.account, signerOption = _c.signerOption; + return [2 /*return*/, new Promise(function (resolve, reject) { + var state = { isFailedTxShown: false }; + (extrinsics.length === 1 ? extrinsics[0] : api.tx.utility.batch(extrinsics)) + .signAndSend(account, signerOption, function (result) { + var dispatchError = result.dispatchError, status = result.status, events = result.events; + if (dispatchError) { + var errorMessage = void 0; + if (dispatchError.isModule) { + var decoded = api.registry.findMetaError(dispatchError.asModule); + var docs = decoded.docs, name_1 = decoded.name, section = decoded.section; + errorMessage = "".concat(section, ".").concat(name_1, ": ").concat(docs.join(' ')); + } + else { + errorMessage = dispatchError.toString(); + } + if ((result === null || result === void 0 ? void 0 : result.txHash) && !state.isFailedTxShown) { + if (onFailedTx) { + onFailedTx(result, errorMessage); + } + state.isFailedTxShown = true; + } + return reject(state.isFailedTxShown ? null : errorMessage); + } + if (status.isInBlock || status.isFinalized) { + var found = events.find(function (e) { return filter(e.event); }); + if (!found && !state.isFailedTxShown) { + state.isFailedTxShown = true; + if (onFailedTx) { + onFailedTx(result); + } + return reject(null); + } + return resolve(result); + } + else { + if (typeof window !== 'undefined') + console.log('status', status); + } + }) + .catch(function (e) { + var errors = e.toString().split(':'); + reject(Error(errors[errors.length - 1])); + }); + })]; + } + }); + }); +} +function getAvailableCoin(endpoint, accountId) { + return __awaiter(this, void 0, void 0, function () { + var api, accountId32, accountInfo, free, feeFrozen, getDecimal; + var _a, _b; + return __generator(this, function (_c) { + switch (_c.label) { + case 0: return [4 /*yield*/, getApi(endpoint)]; + case 1: + api = _c.sent(); + accountId32 = api.createType('AccountId32', accountId); + return [4 /*yield*/, api.query.system.account(accountId32)]; + case 2: + accountInfo = (_c.sent()).toJSON(); + free = (_a = accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.data) === null || _a === void 0 ? void 0 : _a['free']; + feeFrozen = (_b = accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.data) === null || _b === void 0 ? void 0 : _b['frozen']; + getDecimal = function (str) { + if (!str) + return 10; + if (str.toString().startsWith('0x')) + return 16; + return 10; + }; + return [2 /*return*/, new big_js_1.default(parseInt(free, getDecimal(free)) || '0').minus(parseInt(feeFrozen, getDecimal(feeFrozen)) || 0)]; + } + }); + }); +} +function getApi(endpoint, option) { + return __awaiter(this, void 0, void 0, function () { + var wsProvider, api, ex_1; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + wsProvider = new api_1.WsProvider(endpoint); + _a.label = 1; + case 1: + _a.trys.push([1, 4, , 5]); + return [4 /*yield*/, api_1.ApiPromise.create(__assign({ provider: wsProvider, rpc: api_scheme_1.polkadotApiRpc, types: api_scheme_1.polkadotApiTypes, noInitWarn: false, throwOnConnect: true }, option))]; + case 2: + api = _a.sent(); + return [4 /*yield*/, api.isReadyOrError]; + case 3: + _a.sent(); + return [2 /*return*/, api]; + case 4: + ex_1 = _a.sent(); + void wsProvider.disconnect(); + throw ex_1; + case 5: return [2 /*return*/]; + } + }); + }); +} +var getMultiApi = function (endpoints) { + var promises = []; + endpoints.forEach(function (api) { + if (api.startsWith('wss://')) + promises.push(getApi(api)); + }); + return Promise.all(promises); +}; +exports.getMultiApi = getMultiApi; +var getPolkadotBlockHeight = function (api_2) { + var args_1 = []; + for (var _i = 1; _i < arguments.length; _i++) { + args_1[_i - 1] = arguments[_i]; + } + return __awaiter(void 0, __spreadArray([api_2], __read(args_1), false), void 0, function (api, extra) { + var height, _a; + if (extra === void 0) { extra = 100; } + return __generator(this, function (_b) { + switch (_b.label) { + case 0: + _a = Number; + return [4 /*yield*/, api.query.system.number()]; + case 1: + height = _a.apply(void 0, [_b.sent()]); + return [2 /*return*/, height + extra]; + } + }); + }); +}; +exports.getPolkadotBlockHeight = getPolkadotBlockHeight; +var makeIbcToPolkadot = function (_a) { + var api = _a.api, toAddress = _a.toAddress, sourceChannel = _a.sourceChannel, assetId = _a.assetId, amount = _a.amount, destinationHeight = _a.destinationHeight, _b = _a.memo, memo = _b === void 0 ? '' : _b; + if (memo === '') { + return api.tx.ibc.transfer(api.createType('PalletIbcTransferParams', { + to: { id: api.createType('AccountId32', toAddress) }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), api.createType('u128', assetId), api.createType('u128', amount), undefined); + } + return api.tx.ibc.transfer(api.createType('PalletIbcTransferParams', { + to: { id: api.createType('AccountId32', toAddress) }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), api.createType('u128', assetId), api.createType('u128', amount), api.createType('Text', memo)); +}; +exports.makeIbcToPolkadot = makeIbcToPolkadot; +var makeIbcToCosmos = function (_a) { + var api = _a.api, toAddress = _a.toAddress, sourceChannel = _a.sourceChannel, assetId = _a.assetId, amount = _a.amount, destinationHeight = _a.destinationHeight, _b = _a.memo, memo = _b === void 0 ? '' : _b; + if (memo === '') { + return api.tx.ibc.transfer(api.createType('PalletIbcTransferParams', { + to: { Raw: toAddress }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), api.createType('AssetId', assetId), api.createType('Balance', amount), undefined); + } + return api.tx.ibc.transfer(api.createType('PalletIbcTransferParams', { + to: { Raw: toAddress }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), api.createType('AssetId', assetId), api.createType('Balance', amount), api.createType('Text', memo)); +}; +exports.makeIbcToCosmos = makeIbcToCosmos; +var getMultihopPath = function (fromChainId, networkType // composable |picasso +) { return __awaiter(void 0, void 0, void 0, function () { + var rpc, api, result; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + rpc = config_1.networks[networkType].rpc; + return [4 /*yield*/, getApi(rpc)]; + case 1: + api = _a.sent(); + return [4 /*yield*/, api.query.palletMultihopXcmIbc.routeIdToRoutePath.entries()]; + case 2: + result = _a.sent(); + return [2 /*return*/, result.map(function (p) { + var paths = JSON.parse(JSON.stringify(p[1])).map(function (path) { + return __assign(__assign({}, path[0]), { chainId: path[1].startsWith('0x') + ? chainNameMap[(0, util_1.hexToString)(path[1])] + : path[1] }); + }); + var to = paths[paths.length - 1].chainId || 'NONE'; + var route = { + fromChainId: fromChainId, // Join the characters into a string. + toChainId: to.toString(), + paraChain: fromChainId === 'kusama' ? undefined : networkType, + index: p[0][48], // currently p[0] is array of numbers - the 48th digit represents the actual index. but on the polkadot.js UI, this field is a simple integer. + paths: paths, + }; + return route; + })]; + } + }); +}); }; +exports.getMultihopPath = getMultihopPath; +// for batching tx - inside of route there's a chain name. need to match it with networkType +var chainNameMap = { + polkadot: 'polkadot', + picasso: '2087', + composable: '2019', + centauri: 'centauri-1', + osmo: 'osmosis-1', + cre: 'crescent-1', + neutron: 'neutron-1', + kujira: 'kaiyo-1', + celestia: 'celestia', + umee: 'umee-1', + sei: 'pacific-1', + secret: 'secret-4', + quicksilver: 'quicksilver-2', + inj: 'injective-1', + agoric: 'agoric-3', +}; diff --git a/dist/chains/polkadot/index.d.ts b/dist/chains/polkadot/index.d.ts new file mode 100644 index 00000000..318262f9 --- /dev/null +++ b/dist/chains/polkadot/index.d.ts @@ -0,0 +1,5 @@ +export * from './helper'; +export * from './methods'; +export * from './type-builder'; +export * from './types'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/index.d.ts.map b/dist/chains/polkadot/index.d.ts.map new file mode 100644 index 00000000..51c732a6 --- /dev/null +++ b/dist/chains/polkadot/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chains/polkadot/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/index.js b/dist/chains/polkadot/index.js new file mode 100644 index 00000000..640ce0d5 --- /dev/null +++ b/dist/chains/polkadot/index.js @@ -0,0 +1,20 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./helper"), exports); +__exportStar(require("./methods"), exports); +__exportStar(require("./type-builder"), exports); +__exportStar(require("./types"), exports); diff --git a/dist/chains/polkadot/methods.d.ts b/dist/chains/polkadot/methods.d.ts new file mode 100644 index 00000000..3c7d53e0 --- /dev/null +++ b/dist/chains/polkadot/methods.d.ts @@ -0,0 +1,47 @@ +import { ApiPromise } from '@polkadot/api'; +import { Signer } from '@polkadot/types/types'; +import { TransferStatusByAddress } from './types'; +export declare const buildStatusInfo: (txHash: any, events: any) => { + txHash: any; + sequence: any; +}; +export declare function transferXcm({ fromChainId, toChainId, fromAddress, toAddress, amount, assetId, signer, fromApi, toApi, }: { + fromChainId: string; + toChainId: string; + fromAddress: string; + toAddress: string; + amount: string; + assetId: string; + signer: Signer; + fromApi: ApiPromise; + toApi: ApiPromise; +}): Promise; +export declare function transferIbc({ fromChainId, toChainId, fromAddress, toAddress, amount, assetId, signer, sourceChannel, memo, fromApi, toApi, destinationHeight, }: { + fromChainId: string; + toChainId: string; + fromAddress: string; + toAddress: string; + amount: string; + assetId: string; + signer: Signer; + sourceChannel: number; + memo: string; + fromApi: ApiPromise; + toApi?: ApiPromise; + destinationHeight: number; +}): Promise; +export declare const polkadotTransfer: ({ fromChainId, toChainId, fromAddress, toAddress, amount, assetId, signer, memo, sourceChannel, fromApi, toApi, destinationHeight, }: { + fromChainId: string; + toChainId: string; + fromAddress: string; + toAddress: string; + amount: string; + assetId: string; + signer: any; + sourceChannel?: number; + memo: string; + fromApi: ApiPromise; + toApi?: ApiPromise; + destinationHeight: number; +}) => Promise; +//# sourceMappingURL=methods.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/methods.d.ts.map b/dist/chains/polkadot/methods.d.ts.map new file mode 100644 index 00000000..614132a9 --- /dev/null +++ b/dist/chains/polkadot/methods.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../../src/chains/polkadot/methods.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,UAAU,EAAc,MAAM,eAAe,CAAC;AAUvD,OAAO,EAAoB,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA+IlD,eAAO,MAAM,eAAe;;;CAoB3B,CAAC;AAEF,wBAAsB,WAAW,CAAC,EAChC,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAO,EACP,KAAK,GACN,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;CACnB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAyLnC;AAED,wBAAsB,WAAW,CAC/B,EACE,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,MAAM,EACN,OAAO,EACP,MAAM,EACN,aAAa,EACb,IAAI,EACJ,OAAO,EACP,KAAK,EACL,iBAAiB,GAClB,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GAaA,OAAO,CAAC,uBAAuB,CAAC,CA0DlC;AAED,eAAO,MAAM,gBAAgB,yIAa1B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,GAAG,CAAC;IACZ,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,qCA+BA,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/methods.js b/dist/chains/polkadot/methods.js new file mode 100644 index 00000000..cb507eb6 --- /dev/null +++ b/dist/chains/polkadot/methods.js @@ -0,0 +1,403 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.polkadotTransfer = exports.buildStatusInfo = void 0; +exports.transferXcm = transferXcm; +exports.transferIbc = transferIbc; +var util_crypto_1 = require("@polkadot/util-crypto"); +var type_builder_1 = require("./type-builder"); +var helper_1 = require("./helper"); +var config_1 = require("../../config"); +var common_1 = require("../common"); +// import { makeIbcToCosmos, makeIbcToPolkadot, getDefaultTxHeight } from './ibc'; +function signAndSendTransfer(_a) { + return __awaiter(this, arguments, void 0, function (_b) { + var _c, account, signerOption; + var _this = this; + var api = _b.api, apiTo = _b.apiTo, fromAddress = _b.fromAddress, toAddress = _b.toAddress, extrinsic = _b.extrinsic, isIbc = _b.isIbc, filter = _b.filter, signer = _b.signer; + return __generator(this, function (_d) { + switch (_d.label) { + case 0: return [4 /*yield*/, (0, helper_1.getSignAndSendParams)(fromAddress, signer)]; + case 1: + _c = _d.sent(), account = _c.account, signerOption = _c.signerOption; + return [2 /*return*/, new Promise(function (resolve, reject) { + var state = { isFailedTxShown: false }; + extrinsic + .signAndSend(account, signerOption, function (result) { return __awaiter(_this, void 0, void 0, function () { + var dispatchError, status, events, _a, txHash, sequence, errorMessage, decoded, docs, name_1, section, errorResult, found, header, _b, result_1, found_1, result_2, header, _c, result_3; + return __generator(this, function (_d) { + switch (_d.label) { + case 0: + dispatchError = result.dispatchError, status = result.status, events = result.events; + _a = (0, exports.buildStatusInfo)(result.txHash.toString(), JSON.parse(JSON.stringify(events))), txHash = _a.txHash, sequence = _a.sequence; + // Handle dispatch errors + if (dispatchError) { + errorMessage = void 0; + if (dispatchError.isModule) { + decoded = api.registry.findMetaError(dispatchError.asModule); + docs = decoded.docs, name_1 = decoded.name, section = decoded.section; + errorMessage = "".concat(section, ".").concat(name_1, ": ").concat(docs.join(' ')); + } + else { + errorMessage = dispatchError.toString(); + } + if ((result === null || result === void 0 ? void 0 : result.txHash) && !state.isFailedTxShown) { + state.isFailedTxShown = true; + } + errorResult = { + destAddress: toAddress, + txHash: txHash, + sequence: sequence, + status: 'error', + currentHopIndex: 0, + message: errorMessage, + }; + return [2 /*return*/, reject(errorResult)]; + } + found = JSON.parse(JSON.stringify(events)).find(function (e) { var _a, _b; return (_b = (_a = e.event) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.find(function (data) { var _a; return ((_a = data['incomplete']) === null || _a === void 0 ? void 0 : _a.length) > 0; }); }); + if (found) { + return [2 /*return*/, reject({ + destAddress: toAddress, + txHash: txHash, + sequence: sequence, + status: 'error', + message: 'Transfer incomplete', + })]; + } + if (!status) return [3 /*break*/, 9]; + if (!isIbc) return [3 /*break*/, 4]; + if (!apiTo) return [3 /*break*/, 2]; + return [4 /*yield*/, apiTo.rpc.chain.getHeader()]; + case 1: + _b = _d.sent(); + return [3 /*break*/, 3]; + case 2: + _b = null; + _d.label = 3; + case 3: + header = _b; + result_1 = { + destAddress: toAddress, + txHash: txHash, + sequence: sequence, + currentHopIndex: 0, + status: 'pending', + latestBlockNumber: header ? header.number.toNumber() : -1, // For COSMOS + }; + return [2 /*return*/, resolve(result_1)]; + case 4: + if (!filter) return [3 /*break*/, 5]; + found_1 = events.find(function (e) { return filter(e.event); }); + if (!found_1 && !state.isFailedTxShown) { + state.isFailedTxShown = true; + return [2 /*return*/, reject({ + destAddress: toAddress, + txHash: txHash, + sequence: sequence, + status: 'error', + })]; + } + if (found_1 && found_1.event.data.find(function (x) { return x['isComplete']; })) { + result_2 = { + destAddress: toAddress, + txHash: txHash, + sequence: sequence, + currentHopIndex: 0, + status: 'success', + }; + return [2 /*return*/, resolve(result_2)]; + } + return [3 /*break*/, 9]; + case 5: + if (!apiTo) return [3 /*break*/, 7]; + return [4 /*yield*/, apiTo.rpc.chain.getHeader()]; + case 6: + _c = _d.sent(); + return [3 /*break*/, 8]; + case 7: + _c = null; + _d.label = 8; + case 8: + header = _c; + result_3 = { + destAddress: toAddress, + txHash: txHash, + sequence: sequence, + status: 'success', + currentHopIndex: 0, + latestBlockNumber: header ? header.number.toNumber() : -1, + }; + return [2 /*return*/, resolve(result_3)]; + case 9: return [2 /*return*/]; + } + }); + }); }) + .catch(function (e) { + return reject({ + fromAddress: fromAddress, + destAddress: toAddress, + txHash: 'NONE', + sequence: 'NONE', + status: 'error', + errorMessage: e.toString(), + }); + }); + })]; + } + }); + }); +} +var buildStatusInfo = function (txHash, events) { + if (!events) + return { txHash: txHash, sequence: 'NONE' }; + var packet = events + .filter(function (d) { return d.event && d.event.data && typeof d.event.data[0] !== 'string'; }) + .reduce(function (a, e) { return a.concat(e.event.data[0]); }, []); + for (var i = 0; i < packet.length; i++) { + if (packet[i].ok && + packet[i].ok.sendPacket && + packet[i].ok.sendPacket.sequence) { + var sequence = packet[i].ok.sendPacket.sequence; + return { txHash: txHash, sequence: sequence }; + } + } + return { txHash: txHash, sequence: 'NONE' }; +}; +exports.buildStatusInfo = buildStatusInfo; +function transferXcm(_a) { + return __awaiter(this, arguments, void 0, function (_b) { + var _c, fromSs58Format, isFromParachain, _d, toSs58Format, isToParachain, _e, xcmType, version, ethreumlish, convertedToAddr, convertedFromAddr, result; + var fromChainId = _b.fromChainId, toChainId = _b.toChainId, fromAddress = _b.fromAddress, toAddress = _b.toAddress, amount = _b.amount, assetId = _b.assetId, signer = _b.signer, fromApi = _b.fromApi, toApi = _b.toApi; + return __generator(this, function (_f) { + switch (_f.label) { + case 0: + _c = config_1.networks[fromChainId].polkadot, fromSs58Format = _c.ss58Format, isFromParachain = _c.isParachain; + _d = config_1.networks[toChainId].polkadot, toSs58Format = _d.ss58Format, isToParachain = _d.isParachain; + _e = (0, common_1.getXcmInfo)(fromChainId, toChainId), xcmType = _e.xcmType, version = _e.version; + ethreumlish = ['2004', '2023']; + convertedToAddr = ethreumlish.includes(toChainId) + ? toAddress + : (0, util_crypto_1.encodeAddress)((0, util_crypto_1.decodeAddress)(toAddress), toSs58Format); + convertedFromAddr = ethreumlish.includes(fromChainId) + ? fromAddress + : (0, util_crypto_1.encodeAddress)((0, util_crypto_1.decodeAddress)(fromAddress), fromSs58Format); + // Ensure transferMedium is defined + if (!xcmType || !version) + return [2 /*return*/]; + // Handle different transfer mediums + if (xcmType === 'xcmPallet.reserveTransferAssets') { + if (version === 'V1') { + result = (0, type_builder_1.buildXcmPalletTransferV1)(fromApi, toChainId, convertedToAddr, amount); + } + else { + result = (0, type_builder_1.buildXcmPalletTransferV2)(fromApi, toChainId, convertedToAddr, amount); + } + } + else if (xcmType === 'xTokens.transfer') { + if (version === 'V2') { + if (assetId === '32' && toChainId === '2087' && fromChainId === '2001') { + result = (0, type_builder_1.buildXTokensTransferV2)(fromApi, convertedToAddr, assetId, amount, toChainId, 'VToken', 'AccountId32'); + } + else if (assetId === '31' && + toChainId === '2087' && + fromChainId === '2001') { + result = (0, type_builder_1.buildXTokensTransferV2)(fromApi, convertedToAddr, assetId, amount, toChainId, 'Native', 'AccountId32'); + } + else if (fromChainId === '2030' && assetId === '33') { + result = (0, type_builder_1.buildXTokensTransferV2)(fromApi, convertedToAddr, assetId, amount, toChainId, 'Native', 'AccountId32'); + } + else if (fromChainId === '2030' && assetId === '34') { + result = (0, type_builder_1.buildXTokensTransferV2)(fromApi, convertedToAddr, '0', amount, toChainId, 'VToken2', 'AccountId32'); + } + else if (toChainId === '2004' || toChainId === '2023') { + result = (0, type_builder_1.buildXTokensTransferV2)(fromApi, convertedToAddr, assetId, amount, toChainId, 'AssetId', 'AccountKey20'); + } + else if (fromChainId === '2004' || fromChainId === '2023') { + result = (0, type_builder_1.buildXTokensMoonbeamTransferV2)(fromApi, convertedToAddr, assetId, amount, toChainId); + } + else { + result = (0, type_builder_1.buildXTokensTransferV2)(fromApi, convertedToAddr, assetId, amount, toChainId, 'AssetId', 'AccountId32'); + } + } + else { + if (fromChainId === '2125') { + result = (0, type_builder_1.buildXTokensTransferV3X2)(fromApi, convertedToAddr, '0', amount, toChainId); + } + else { + result = (0, type_builder_1.buildXTokensTransferV3)(fromApi, convertedToAddr, assetId, amount); + } + } + } + else if (xcmType === 'polkadotXcm.limitedReserveTransferAssets') { + if (version === 'V2') { + result = (0, type_builder_1.buildPolkadotXcmTransferV2)(fromApi, convertedToAddr, toChainId, assetId, amount, fromChainId === '1000' ? '1984' : '' // only for statemine + ); + } + else { + result = (0, type_builder_1.buildPolkadotXcmTransferV3)(fromApi, convertedToAddr, toChainId, amount); + } + } + else if (xcmType === 'xcmPallet.limitedReserveTransferAssets') { + result = (0, type_builder_1.buildXcmLimitedReserveTransferV2)(fromApi, convertedToAddr, toChainId, assetId, amount); + } + else if (xcmType === 'xTokens.transferMultiasset') { + result = (0, type_builder_1.buildXcmVersionedMultiAssetV3)(fromApi, convertedToAddr, toChainId, amount, '1984', ''); + } + return [4 /*yield*/, signAndSendTransfer({ + api: fromApi, + apiTo: toApi, + fromAddress: convertedFromAddr, + toAddress: convertedToAddr, + extrinsic: result(), + isIbc: false, + filter: isFromParachain ? null : fromApi.events.xcmPallet.Attempted.is, + signer: signer, + })]; + case 1: + // Call signAndSendTransfer with the appropriate parameters + return [2 /*return*/, _f.sent()]; + } + }); + }); +} +function transferIbc(_a) { + return __awaiter(this, arguments, void 0, function (_b + // networkFrom: NetworkType, + // networkTo: NetworkType, + // fromAddress: string, + // toAddress: string, + // amount: string, + // assetId: string, + // feeAmount: string, + // gas: string, + // transferMedium: TransferApi | undefined, + // memo: string, + // config: any, + ) { + var _c, _d, _e, fromSs58Format, _f, toChainType, _g, _h, _j, toSs58Format, convertedFromAddr, convertedToAddr, extrinsic; + var fromChainId = _b.fromChainId, toChainId = _b.toChainId, fromAddress = _b.fromAddress, toAddress = _b.toAddress, amount = _b.amount, assetId = _b.assetId, signer = _b.signer, sourceChannel = _b.sourceChannel, memo = _b.memo, fromApi = _b.fromApi, toApi = _b.toApi, destinationHeight = _b.destinationHeight; + return __generator(this, function (_k) { + switch (_k.label) { + case 0: + if (!assetId) + throw 'assetId not found'; + if (!sourceChannel) + throw 'sourceChannel not found'; + _c = config_1.networks[fromChainId].polkadot, _d = _c === void 0 ? {} : _c, _e = _d.ss58Format, fromSs58Format = _e === void 0 ? 0 : _e; + _f = config_1.networks[toChainId], toChainType = _f.chainType, _g = _f.polkadot, _h = _g === void 0 ? {} : _g, _j = _h.ss58Format, toSs58Format = _j === void 0 ? 0 : _j; + convertedFromAddr = (0, util_crypto_1.encodeAddress)((0, util_crypto_1.decodeAddress)(fromAddress), fromSs58Format); + convertedToAddr = ''; + convertedToAddr = + config_1.networks[toChainId].chainType === 'polkadot' + ? (0, util_crypto_1.encodeAddress)((0, util_crypto_1.decodeAddress)(toAddress), toSs58Format) + : toAddress; + // const defaultHeight = getPolkadotBlockHeight(height, chainType); + extrinsic = + toChainType === 'polkadot' + ? (0, helper_1.makeIbcToPolkadot)({ + api: fromApi, + toAddress: convertedToAddr, + sourceChannel: Number(sourceChannel), + assetId: assetId, + amount: amount, + destinationHeight: destinationHeight, + memo: memo, + }) + : (0, helper_1.makeIbcToCosmos)({ + api: fromApi, + toAddress: convertedToAddr, + sourceChannel: Number(sourceChannel), + assetId: assetId, + amount: amount, + destinationHeight: destinationHeight, + memo: memo, + }); + return [4 /*yield*/, signAndSendTransfer({ + api: fromApi, + apiTo: toApi, + fromAddress: convertedFromAddr, + toAddress: convertedToAddr, + extrinsic: extrinsic, + isIbc: true, + filter: null, + signer: signer, + })]; + case 1: return [2 /*return*/, _k.sent()]; + } + }); + }); +} +var polkadotTransfer = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) { + var _c; + var fromChainId = _b.fromChainId, toChainId = _b.toChainId, fromAddress = _b.fromAddress, toAddress = _b.toAddress, amount = _b.amount, assetId = _b.assetId, signer = _b.signer, memo = _b.memo, sourceChannel = _b.sourceChannel, fromApi = _b.fromApi, toApi = _b.toApi, destinationHeight = _b.destinationHeight; + return __generator(this, function (_d) { + try { + if (((_c = (0, common_1.getXcmInfo)(fromChainId, toChainId)) === null || _c === void 0 ? void 0 : _c.type) === 'XCM') + return [2 /*return*/, transferXcm({ + fromApi: fromApi, + toApi: toApi, + fromChainId: fromChainId, + toChainId: toChainId, + fromAddress: fromAddress, + toAddress: toAddress, + amount: amount, + assetId: assetId, + signer: signer, + })]; + return [2 /*return*/, transferIbc({ + fromChainId: fromChainId, + toChainId: toChainId, + fromAddress: fromAddress, + toAddress: toAddress, + amount: amount, + assetId: assetId, + signer: signer, + sourceChannel: sourceChannel, + memo: memo, + destinationHeight: destinationHeight, + fromApi: fromApi, + toApi: toApi, + })]; + } + catch (err) { + console.error(err); + } + return [2 /*return*/]; + }); +}); }; +exports.polkadotTransfer = polkadotTransfer; diff --git a/dist/chains/polkadot/type-builder.d.ts b/dist/chains/polkadot/type-builder.d.ts new file mode 100644 index 00000000..2c06200d --- /dev/null +++ b/dist/chains/polkadot/type-builder.d.ts @@ -0,0 +1,15 @@ +import { type ApiPromise } from '@polkadot/api'; +import { MultihopRoutePath } from './types'; +export declare const buildXcmPalletTransferV1: (fromApi: ApiPromise, chainInfo: any, convertedToAddr: string, amount: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildBatchTransfer: (fromApi: ApiPromise, path: MultihopRoutePath, amount: string, polkadotAddr: string, parachainId: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXcmPalletTransferV2: (fromApi: ApiPromise, chainInfo: any, convertedToAddr: string, amount: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXTokensTransferV1: (fromApi: ApiPromise, convertedToAddr: string, assetId: string, amount: string, toChainId: string, type: "VToken" | "Native" | "AssetId" | "VToken2") => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXTokensTransferV2: (fromApi: ApiPromise, convertedToAddr: string, assetId: string, amount: string, toChainId: string, type: "VToken" | "Native" | "AssetId" | "VToken2", addrType: "AccountId32" | "AccountKey20") => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXTokensMoonbeamTransferV2: (fromApi: ApiPromise, convertedToAddr: string, assetId: string, amount: string, toChainId: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXTokensTransferV3: (fromApi: ApiPromise, convertedToAddr: string, assetId: string, amount: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXTokensTransferV3X2: (fromApi: ApiPromise, convertedToAddr: string, assetId: string, amount: string, toChainId: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXcmVersionedMultiAssetV3: (fromApi: ApiPromise, convertedToAddr: string, toChainId: string, amount: string, general_index: string, para_chain_id: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildXcmLimitedReserveTransferV2: (fromApi: ApiPromise, convertedToAddr: string, toChainId: string, assetId: string, amount: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildPolkadotXcmTransferV2: (fromApi: ApiPromise, convertedToAddr: string, toChainId: string, assetId: string, amount: string, general_index?: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +export declare const buildPolkadotXcmTransferV3: (fromApi: ApiPromise, convertedToAddr: string, toChainId: string, amount: string) => () => import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>; +//# sourceMappingURL=type-builder.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/type-builder.d.ts.map b/dist/chains/polkadot/type-builder.d.ts.map new file mode 100644 index 00000000..dcff0398 --- /dev/null +++ b/dist/chains/polkadot/type-builder.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"type-builder.d.ts","sourceRoot":"","sources":["../../../src/chains/polkadot/type-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQ5C,eAAO,MAAM,wBAAwB,YAC1B,UAAU,mCAEF,MAAM,UACf,MAAM,iIAiDf,CAAC;AACF,eAAO,MAAM,kBAAkB,YACpB,UAAU,QACb,iBAAiB,UACf,MAAM,gBACA,MAAM,eACP,MAAM,iIAuEpB,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAC1B,UAAU,mCAEF,MAAM,UACf,MAAM,iIAkDf,CAAC;AAEF,eAAO,MAAM,sBAAsB,YACxB,UAAU,mBACF,MAAM,WACd,MAAM,UACP,MAAM,aACH,MAAM,QACX,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,iIA8ClD,CAAC;AACF,eAAO,MAAM,sBAAsB,YACxB,UAAU,mBACF,MAAM,WACd,MAAM,UACP,MAAM,aACH,MAAM,QAEX,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,YACvC,aAAa,GAAG,cAAc,iIAkDzC,CAAC;AAEF,eAAO,MAAM,8BAA8B,YAChC,UAAU,mBACF,MAAM,WACd,MAAM,UACP,MAAM,aACH,MAAM,iIAiDlB,CAAC;AAEF,eAAO,MAAM,sBAAsB,YACxB,UAAU,mBACF,MAAM,WACd,MAAM,UACP,MAAM,iIAef,CAAC;AACF,eAAO,MAAM,wBAAwB,YAC1B,UAAU,mBACF,MAAM,WACd,MAAM,UACP,MAAM,aACH,MAAM,iIAqBlB,CAAC;AAEF,eAAO,MAAM,6BAA6B,YAC/B,UAAU,mBACF,MAAM,aACZ,MAAM,UACT,MAAM,iBACC,MAAM,iBACN,MAAM,iIAkEtB,CAAC;AAEF,eAAO,MAAM,gCAAgC,YAClC,UAAU,mBACF,MAAM,aACZ,MAAM,WACR,MAAM,UACP,MAAM,iIAkDf,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC5B,UAAU,mBACF,MAAM,aACZ,MAAM,WACR,MAAM,UACP,MAAM,kBACE,MAAM,iIA0EvB,CAAC;AACF,eAAO,MAAM,0BAA0B,YAC5B,UAAU,mBACF,MAAM,aACZ,MAAM,UACT,MAAM,iIAmDf,CAAC"} \ No newline at end of file diff --git a/dist/chains/polkadot/type-builder.js b/dist/chains/polkadot/type-builder.js new file mode 100644 index 00000000..f92dfd27 --- /dev/null +++ b/dist/chains/polkadot/type-builder.js @@ -0,0 +1,548 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.buildPolkadotXcmTransferV3 = exports.buildPolkadotXcmTransferV2 = exports.buildXcmLimitedReserveTransferV2 = exports.buildXcmVersionedMultiAssetV3 = exports.buildXTokensTransferV3X2 = exports.buildXTokensTransferV3 = exports.buildXTokensMoonbeamTransferV2 = exports.buildXTokensTransferV2 = exports.buildXTokensTransferV1 = exports.buildXcmPalletTransferV2 = exports.buildBatchTransfer = exports.buildXcmPalletTransferV1 = void 0; +var bech32_1 = require("bech32"); +var buildXcmPalletTransferV1 = function (fromApi, chainInfo, convertedToAddr, amount) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V1: { + parents: 0, + interior: { + X1: { + Parachain: chainInfo.chainId, + }, + }, + }, + }); + var beneficiary = fromApi.createType('XcmVersionedMultiLocation', { + V1: fromApi.createType('XcmV1MultiLocation', { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }), + }); + var assets = fromApi.createType('XcmVersionedMultiAssets', { + V1: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount.toString(), + }, + }, + ], + }); + var feeAssetItem = fromApi.createType('u32', 0); + return function () { + return fromApi.tx.xcmPallet.reserveTransferAssets(dest, beneficiary, assets, feeAssetItem); + }; +}; +exports.buildXcmPalletTransferV1 = buildXcmPalletTransferV1; +var buildBatchTransfer = function (fromApi, path, amount, polkadotAddr, parachainId) { + var dest = fromApi.createType('XcmVersionedLocation', { + V2: { + parents: 0, + interior: { + X1: { + Parachain: parachainId, + }, + }, + }, + }); + var list = [ + { PalletInstance: 192 }, + { GeneralIndex: path.index }, + { + AccountId32: { + id: fromApi.createType('AccountId32', polkadotAddr), + network: 'Any', + }, + }, + ]; + path.paths.forEach(function (p) { + list.push({ + AccountId32: { + network: 'Any', + id: fromApi.createType('AccountId32', p.chainHop === 'CosmosIbc' + ? bech32_1.bech32.decode(p.address || '').words + : polkadotAddr), + }, + }); + }); + var interior = {}; + // for example if number of paths = 3, interior will be X6 including PalletInstance, GeneralIndex and AccountId32 + interior["X".concat(path.paths.length + 3)] = list; + var beneficiary = fromApi.createType('XcmVersionedLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 0, + interior: fromApi.createType('XcmV2MultilocationJunctions', interior), + }), + }); + var assets = fromApi.createType('XcmVersionedAssets', { + V2: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount, + }, + }, + ], + }); + return function () { + return fromApi.tx.xcmPallet.reserveTransferAssets(dest, beneficiary, assets, fromApi.createType('u32', 0)); + }; +}; +exports.buildBatchTransfer = buildBatchTransfer; +var buildXcmPalletTransferV2 = function (fromApi, chainInfo, convertedToAddr, amount) { + var dest = fromApi.createType('XcmVersionedLocation', { + V2: { + parents: 0, + interior: { + X1: { + Parachain: chainInfo.chainId, + }, + }, + }, + }); + var beneficiary = fromApi.createType('XcmVersionedLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }), + }); + var assets = fromApi.createType('XcmVersionedAssets', { + V2: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount.toString(), + }, + }, + ], + }); + var feeAssetItem = fromApi.createType('u32', 0); + return function () { + return fromApi.tx.xcmPallet.reserveTransferAssets(dest, beneficiary, assets, feeAssetItem); + }; +}; +exports.buildXcmPalletTransferV2 = buildXcmPalletTransferV2; +var buildXTokensTransferV1 = function (fromApi, convertedToAddr, assetId, amount, toChainId, type) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V1: fromApi.createType('XcmV1MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV1MultilocationJunctions', { + X2: [ + fromApi.createType('XcmV1Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV1Junction', { + //suspicious + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }), + ], + }), + }), + destWeightLimit: fromApi.createType('XcmV2WeightLimit', 'Unlimited'), + }); + var getCurrencyId = function () { + if (type === 'VToken') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'KSM'), + }); + } + else if (type === 'Native') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + Native: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'BNC'), + }); + } + else if (type === 'VToken2') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken2: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 0), + }); + } + return assetId; + }; + return function () { + return fromApi.tx.xTokens.transfer(getCurrencyId(), amount, dest, 'unlimited'); + }; +}; +exports.buildXTokensTransferV1 = buildXTokensTransferV1; +var buildXTokensTransferV2 = function (fromApi, convertedToAddr, assetId, amount, toChainId, type, addrType) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV2MultilocationJunctions', { + X2: [ + fromApi.createType('XcmV2Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV2Junction', addrType === 'AccountId32' + ? { + AccountId32: { + id: fromApi.createType(addrType, convertedToAddr), + network: 'Any', + }, + } + : { + AccountKey20: { + key: convertedToAddr, + network: 'Any', + }, + }), + ], + }), + }), + destWeightLimit: fromApi.createType('XcmV2WeightLimit', 'Unlimited'), + }); + var getCurrencyId = function () { + if (type === 'VToken') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'KSM'), + }); + } + else if (type === 'Native') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + Native: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'BNC'), + }); + } + else if (type === 'VToken2') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken2: fromApi.createType('u8', 0), + }); + } + return assetId; + }; + return function () { + return fromApi.tx.xTokens.transfer(getCurrencyId(), amount, dest, 'unlimited'); + }; +}; +exports.buildXTokensTransferV2 = buildXTokensTransferV2; +var buildXTokensMoonbeamTransferV2 = function (fromApi, convertedToAddr, assetId, amount, toChainId) { + var list = [ + fromApi.createType('StagingXcmV2Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('StagingXcmV2Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }), + ]; + var interior = {}; + // for example if number of paths = 3, interior will be X6 including PalletInstance, GeneralIndex and AccountId32 + interior["X2"] = list; + var getCurrencyId = function () { + if (assetId === '792281' || assetId === '167283') { + return null; + } + return fromApi.createType(toChainId === '2019' + ? 'MoonbeamRuntimeXcmConfigCurrencyId' + : 'MoonriverRuntimeXcmConfigCurrencyId', { + ForeignAsset: fromApi.createType('u128', assetId), + }); + }; + var dest = fromApi.createType('StagingXcmVersionedMultiLocation', { + V2: fromApi.createType('StagingXcmV2MultiLocation', { + parents: 1, + interior: fromApi.createType('StagingXcmV2MultilocationJunctions', interior), + }), + destWeightLimit: fromApi.createType('StagingXcmV3WeightLimit', 'Unlimited'), + }); + return function () { + return fromApi.tx.xTokens.transfer(getCurrencyId(), amount, dest, 'unlimited'); + }; +}; +exports.buildXTokensMoonbeamTransferV2 = buildXTokensMoonbeamTransferV2; +var buildXTokensTransferV3 = function (fromApi, convertedToAddr, assetId, amount) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV3Junctions', { + X1: fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + }), + }), + }); + return function () { return fromApi.tx.xTokens.transfer(assetId, amount, dest, 'unlimited'); }; +}; +exports.buildXTokensTransferV3 = buildXTokensTransferV3; +var buildXTokensTransferV3X2 = function (fromApi, convertedToAddr, assetId, amount, toChainId) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('StagingXcmV3MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV3Junctions', { + X2: [ + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + ], + }), + }), + }); + return function () { return fromApi.tx.xTokens.transfer(assetId, amount, dest, 'unlimited'); }; +}; +exports.buildXTokensTransferV3X2 = buildXTokensTransferV3X2; +var buildXcmVersionedMultiAssetV3 = function (fromApi, convertedToAddr, toChainId, amount, general_index, para_chain_id) { + var asset = fromApi.createType('XcmVersionedMultiAsset', { + V3: fromApi.createType('XcmV3MultiAsset', { + id: fromApi.createType('XcmV3MultiassetAssetId', { + Concrete: fromApi.createType('XcmV3MultiLocation', { + parents: fromApi.createType('u8', 1), + interior: fromApi.createType('XcmV3Junctions', { + X3: [ + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV3Junction', { + PalletInstance: fromApi.createType('u8', 50), + }), + fromApi.createType('XcmV3Junction', { + GeneralIndex: fromApi.createType('u128', general_index), + }), + ], + }), + }), + }), + fun: fromApi.createType('XcmV3MultiassetFungibility', { + Fungible: amount, + }), + }), + }); + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: fromApi.createType('u8', 1), + interior: fromApi.createType('XcmV3Junctions', { + X2: [ + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('Compact', toChainId), + }), + fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('Compact', para_chain_id), + }), + ], + }), + }), + }); + // const fee = fromApi.createType('XcmVersionedMultiAsset', { + // V3: fromApi.createType('XcmV3MultiAsset', { + // id: fromApi.createType('XcmV3MultiassetAssetId', { + // Concrete: fromApi.createType('XcmV3MultiLocation', { + // parents: fromApi.createType('u8', 1), + // interior: fromApi.createType('XcmV3Junctions', 'Here'), + // }), + // }), + // fun: fromApi.createType('XcmV3MultiassetFungibility', { + // Fungible: fromApi.createType( + // 'u128', + // 10_000_000_000 //TODO: fix it + // ), + // }), + // }), + // }); + return function () { return fromApi.tx.xTokens.transferMultiasset(asset, dest, 'unlimited'); }; +}; +exports.buildXcmVersionedMultiAssetV3 = buildXcmVersionedMultiAssetV3; +var buildXcmLimitedReserveTransferV2 = function (fromApi, convertedToAddr, toChainId, assetId, amount) { + var dest = fromApi.createType('XcmVersionedLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 0, + interior: { + X1: { + Parachain: toChainId, + }, + }, + }), + }); + var beneficiary = fromApi.createType('XcmVersionedLocation', { + V2: { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }, + }); + // Setting up the asset & amount + var assets = fromApi.createType('XcmVersionedAssets', { + V2: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount, + }, + }, + ], + }); + var feeAssetItem = fromApi.createType('u32', 0); // First item in the list. + return function () { + return fromApi.tx.xcmPallet.limitedReserveTransferAssets(dest, beneficiary, assets, feeAssetItem, 'unlimited'); + }; +}; +exports.buildXcmLimitedReserveTransferV2 = buildXcmLimitedReserveTransferV2; +var buildPolkadotXcmTransferV2 = function (fromApi, convertedToAddr, toChainId, assetId, amount, general_index) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 1, + interior: { + X1: { + Parachain: toChainId, + }, + }, + }), + }); + var beneficiary = fromApi.createType('XcmVersionedMultiLocation', { + V2: { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }, + }); + // Setting up the asset & amount + var assets = fromApi.createType('XcmVersionedMultiAssets', { + V2: assetId === '130' && !!general_index //USDT Kusama + ? [ + { + id: { + Concrete: { + parents: 0, + interior: { + X2: [ + { + PalletInstance: 50, + }, + { + GeneralIndex: fromApi.createType('u128', general_index), + }, + ], + }, + }, + }, + fun: { + Fungible: amount, + }, + }, + ] + : [ + { + id: { + Concrete: { + parents: assetId === '79228162514264337593543952342' ? 0 : 1, + interior: 'Here', + }, + }, + fun: { + Fungible: amount, + }, + }, + ], + }); + var feeAssetItem = fromApi.createType('u32', 0); // First item in the list. + return function () { + return fromApi.tx.polkadotXcm.limitedReserveTransferAssets(dest, beneficiary, assets, feeAssetItem, 'unlimited'); + }; +}; +exports.buildPolkadotXcmTransferV2 = buildPolkadotXcmTransferV2; +var buildPolkadotXcmTransferV3 = function (fromApi, convertedToAddr, toChainId, amount) { + var dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: 1, + interior: { + X1: { + Parachain: toChainId, + }, + }, + }), + }); + var beneficiary = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: 0, + interior: fromApi.createType('XcmV3Junctions', { + X1: fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + }), + }), + }); + // Setting up the asset & amount + var assets = fromApi.createType('XcmVersionedMultiAssets', { + V3: [ + fromApi.createType('XcmV3MultiAsset', { + id: fromApi.createType('XcmV3MultiassetAssetId', { + Concrete: { + parents: 0, + interior: fromApi.createType('XcmV3Junctions', 'Here'), + }, + }), + fun: fromApi.createType('XcmV3MultiassetFungibility', { + Fungible: fromApi.createType('u128', amount), + }), + }), + ], + }); + var feeAssetItem = fromApi.createType('u32', 0); // First item in the list. + var destWeightLimit = fromApi.createType('XcmV3WeightLimit', 'Unlimited'); + return function () { + return fromApi.tx.polkadotXcm.limitedReserveTransferAssets(dest, beneficiary, assets, feeAssetItem, destWeightLimit); + }; +}; +exports.buildPolkadotXcmTransferV3 = buildPolkadotXcmTransferV3; diff --git a/dist/chains/polkadot/types.d.ts b/dist/chains/polkadot/types.d.ts new file mode 100644 index 00000000..27fce288 --- /dev/null +++ b/dist/chains/polkadot/types.d.ts @@ -0,0 +1,37 @@ +export { ApiPromise, WsProvider } from '@polkadot/api'; +export { type Injected, type InjectedAccount, type InjectedWindowProvider, } from '@polkadot/extension-inject/types'; +export interface TransferStatusByAddress { + destAddress: string; + sequence: string; + txHash: string; + status: TransferTxStatus; + currentHopIndex: number; + timestamp?: string; + destChannel?: string; + message?: string; + latestBlockNumber?: number; + errorMessage?: string; +} +export type TransferTxStatus = 'init' | 'pending' | 'swapping' | 'timeout' | 'success' | 'error'; +export declare const ChainHops: readonly ["CosmosIbc", "SubstrateIbc", "SubstrateXcm"]; +export type ChainHop = (typeof ChainHops)[number]; +export interface RouteDetail { + chainId?: string; + order?: number; + channelId?: number; + timestamp?: number; + height?: number; + retries?: number; + timeout?: number; + chainHop: ChainHop; + paraId?: string | null; + address?: string; +} +export interface MultihopRoutePath { + fromChainId: string; + toChainId: string; + paraChain?: string | ''; + index?: number; + paths: RouteDetail[]; +} +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/dist/chains/polkadot/types.d.ts.map b/dist/chains/polkadot/types.d.ts.map new file mode 100644 index 00000000..7633073b --- /dev/null +++ b/dist/chains/polkadot/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/chains/polkadot/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,gBAAgB,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,OAAO,CAAC;AAEZ,eAAO,MAAM,SAAS,wDAAyD,CAAC;AAChF,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB"} \ No newline at end of file diff --git a/dist/chains/polkadot/types.js b/dist/chains/polkadot/types.js new file mode 100644 index 00000000..a40cc7cb --- /dev/null +++ b/dist/chains/polkadot/types.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChainHops = exports.WsProvider = exports.ApiPromise = void 0; +var api_1 = require("@polkadot/api"); +Object.defineProperty(exports, "ApiPromise", { enumerable: true, get: function () { return api_1.ApiPromise; } }); +Object.defineProperty(exports, "WsProvider", { enumerable: true, get: function () { return api_1.WsProvider; } }); +exports.ChainHops = ['CosmosIbc', 'SubstrateIbc', 'SubstrateXcm']; diff --git a/dist/chains/solana/helper.d.ts b/dist/chains/solana/helper.d.ts index 225b6743..1da981ac 100644 --- a/dist/chains/solana/helper.d.ts +++ b/dist/chains/solana/helper.d.ts @@ -1,5 +1,6 @@ import * as anchor from '@coral-xyz/anchor'; import { BorshSchema } from 'borsher'; +export { Keypair, PublicKey } from '@solana/web3.js'; /**@description get connection of solana */ export declare const getConnection: (endpoint: string) => anchor.web3.Connection; export declare const getPublicKey: (address: string) => anchor.web3.PublicKey; diff --git a/dist/chains/solana/helper.d.ts.map b/dist/chains/solana/helper.d.ts.map index 2f8453d0..8dd92ca7 100644 --- a/dist/chains/solana/helper.d.ts.map +++ b/dist/chains/solana/helper.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/chains/solana/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAI5C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC,2CAA2C;AAC3C,eAAO,MAAM,aAAa,aAAc,MAAM,2BAE7C,CAAC;AAEF,eAAO,MAAM,YAAY,YAAa,MAAM,0BAE3C,CAAC;AACF,eAAO,MAAM,mBAAmB,iBAAkB,MAAM,YAEvD,CAAC;AACF,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,YAKrC;AACD,wDAAwD;AACxD,eAAO,MAAM,YAAY,gBAAiB,MAAM,EAAE,WAOjD,CAAC;AACF,eAAO,MAAM,yBAAyB,UAAW,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAChB,MAAM,gBACD,MAAM,YACV,OAAO;;;;;CAyBlB,CAAC;AAEF,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ACJ,MAAM,EAAE;;;;;;;CA2CtB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CA2B5D;AAiCD,eAAO,MAAM,iBAAiB,aAM5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,aAI5B,CAAC"} \ No newline at end of file diff --git a/dist/chains/solana/helper.js b/dist/chains/solana/helper.js index 72148384..c8de5996 100644 --- a/dist/chains/solana/helper.js +++ b/dist/chains/solana/helper.js @@ -87,7 +87,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.instructionSchema = exports.msgTransferSchema = exports.getSolanaGuestChainAccounts = exports.getSolanaTracePath = exports.getLatestBlockhash = exports.getSolanaAsset = exports.getBaseDenomFromTracePath = exports.getTokenMint = exports.isNativeSolanaAsset = exports.getPublicKey = exports.getConnection = void 0; +exports.instructionSchema = exports.msgTransferSchema = exports.getSolanaGuestChainAccounts = exports.getSolanaTracePath = exports.getLatestBlockhash = exports.getSolanaAsset = exports.getBaseDenomFromTracePath = exports.getTokenMint = exports.isNativeSolanaAsset = exports.getPublicKey = exports.getConnection = exports.PublicKey = exports.Keypair = void 0; exports.hexToBytes = hexToBytes; exports.numberTo32ByteBuffer = numberTo32ByteBuffer; var anchor = __importStar(require("@coral-xyz/anchor")); @@ -97,6 +97,9 @@ var axios_1 = __importDefault(require("axios")); var borsher_1 = require("borsher"); var js_sha256_1 = require("js-sha256"); var constants_1 = require("./constants"); +var web3_js_2 = require("@solana/web3.js"); +Object.defineProperty(exports, "Keypair", { enumerable: true, get: function () { return web3_js_2.Keypair; } }); +Object.defineProperty(exports, "PublicKey", { enumerable: true, get: function () { return web3_js_2.PublicKey; } }); /**@description get connection of solana */ var getConnection = function (endpoint) { return new web3_js_1.Connection(endpoint, 'finalized'); diff --git a/dist/config/coinGecko.d.ts.map b/dist/config/coinGecko.d.ts.map index 2bfaee4e..a096fd04 100644 --- a/dist/config/coinGecko.d.ts.map +++ b/dist/config/coinGecko.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"coinGecko.d.ts","sourceRoot":"","sources":["../../src/config/coinGecko.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,SAAS,EAAE,cAAc,EAiTtC,CAAE"} \ No newline at end of file +{"version":3,"file":"coinGecko.d.ts","sourceRoot":"","sources":["../../src/config/coinGecko.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,SAAS,EAAE,cAAc,EAqatC,CAAE"} \ No newline at end of file diff --git a/dist/config/coinGecko.js b/dist/config/coinGecko.js index 7d4bb407..c8686097 100644 --- a/dist/config/coinGecko.js +++ b/dist/config/coinGecko.js @@ -42,6 +42,134 @@ exports.coinGecko = [ "name": "bCRE", "id": "liquid-staking-crescent" }, + { + "name": "INJ", + "id": "injective-protocol" + }, + { + "name": "KUJI", + "id": "kujira" + }, + { + "name": "ASTRO", + "id": "astroport-fi" + }, + { + "name": "NTRN", + "id": "neutron-3" + }, + { + "name": "QCK", + "id": "quicksilver" + }, + { + "name": "SCRT", + "id": "secret" + }, + { + "name": "SILK", + "id": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2" + }, + { + "name": "SHD", + "id": "shade-protocol" + }, + { + "name": "SEI", + "id": "sei-network" + }, + { + "name": "STARS", + "id": "stargaze" + }, + { + "name": "stTIA", + "id": "stride-staked-tia" + }, + { + "name": "STRD", + "id": "stride" + }, + { + "name": "stATOM", + "id": "stride-staked-atom" + }, + { + "name": "UMEE", + "id": "umee" + }, + { + "name": "ASTR", + "id": "astar" + }, + { + "name": "PICA", + "id": "picasso" + }, + { + "name": "USDT", + "id": "tether" + }, + { + "name": "BNC_DOT", + "id": "bifrost-native-coin" + }, + { + "name": "ASTR", + "id": "bifrost-native-coin" + }, + { + "name": "DOT", + "id": "polkadot" + }, + { + "name": "KSM", + "id": "kusama" + }, + { + "name": "GLMR", + "id": "moonbeam" + }, + { + "name": "MOVR", + "id": "moonriver" + }, + { + "name": "DOT", + "id": "polkadot" + }, + { + "name": "SDN", + "id": "shiden" + }, + { + "name": "TNKR", + "id": "tinkernet" + }, + { + "name": "BNC_KSM", + "id": "bifrost-native-coin" + }, + { + "name": "BNC_DOT", + "id": "bifrost-native-coin" + }, + { + "name": "PICA", + "id": "picasso" + }, + { + "name": "USDT Kusama", + "id": "tether" + }, + { + "name": "OSMO", + "id": "osmosis" + }, + { + "name": "milkTIA", + "id": "milkyway-staked-tia" + }, { "name": "ETH", "id": "ethereum" @@ -123,84 +251,60 @@ exports.coinGecko = [ "id": "curve-dao-token" }, { - "name": "INJ", - "id": "injective-protocol" - }, - { - "name": "KUJI", - "id": "kujira" - }, - { - "name": "ASTRO", - "id": "astroport-fi" - }, - { - "name": "NTRN", - "id": "neutron-3" - }, - { - "name": "QCK", - "id": "quicksilver" - }, - { - "name": "SCRT", - "id": "secret" - }, - { - "name": "SILK", - "id": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2" + "name": "SOL", + "id": "solana" }, { - "name": "SHD", - "id": "shade-protocol" + "name": "JitoSOL", + "id": "jito-staked-sol" }, { - "name": "SEI", - "id": "sei-network" + "name": "mSOL", + "id": "msol" }, { - "name": "STARS", - "id": "stargaze" + "name": "bSOL", + "id": "blazestake-staked-sol" }, { - "name": "stTIA", - "id": "stride-staked-tia" + "name": "LST", + "id": "liquid-staking-token" }, { - "name": "STRD", - "id": "stride" + "name": "BLZE", + "id": "solblaze" }, { - "name": "stATOM", - "id": "stride-staked-atom" + "name": "edgeSOL", + "id": "edgevana-staked-sol" }, { - "name": "UMEE", - "id": "umee" + "name": "wSOL", + "id": "wrapped-solana" }, { - "name": "ASTR", - "id": "astar" + "name": "WIF", + "id": "dogwifcoin" }, { - "name": "DOT", - "id": "polkadot" + "name": "BONK", + "id": "bonk" }, { - "name": "BNC_DOT", - "id": "bifrost-native-coin" + "name": "USDT Solana", + "id": "tether" }, { - "name": "ASTR", - "id": "astar" + "name": "SEI", + "id": "sei-network" }, { - "name": "KSM", - "id": "kusama" + "name": "SILK", + "id": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2" }, { - "name": "GLMR", - "id": "moonbeam" + "name": "QCK", + "id": "quicksilver" }, { "name": "MOVR", @@ -211,99 +315,111 @@ exports.coinGecko = [ "id": "tether" }, { - "name": "TNKR", - "id": "tinkernet" + "name": "STRD", + "id": "stride" }, { - "name": "KSM", - "id": "kusama" + "name": "PICA", + "id": "picasso" }, { "name": "BNC_KSM", "id": "bifrost-native-coin" }, - { - "name": "KSM", - "id": "kusama" - }, { "name": "SDN", "id": "shiden" }, { - "name": "TNKR", - "id": "tinkernet" + "name": "BLD", + "id": "agoric" }, { - "name": "BNC_KSM", - "id": "bifrost-native-coin" + "name": "OSMO", + "id": "osmosis" }, { "name": "BNC_DOT", "id": "bifrost-native-coin" }, { - "name": "PICA", - "id": "picasso" + "name": "wSOL", + "id": "wrapped-solana" }, { - "name": "USDT Kusama", - "id": "tether" + "name": "ASTR", + "id": "astar" }, { - "name": "USDT Kusama", - "id": "tether" + "name": "stATOM", + "id": "stride-staked-atom" }, { - "name": "OSMO", - "id": "osmosis" + "name": "NTRN", + "id": "neutron-3" }, { - "name": "milkTIA", - "id": "milkyway-staked-tia" + "name": "ATOM", + "id": "cosmos" }, { - "name": "SOL", - "id": "solana" + "name": "UMEE", + "id": "umee" }, { - "name": "JitoSOL", - "id": "jito-staked-sol" + "name": "ETH", + "id": "ethereum" }, { - "name": "mSOL", - "id": "msol" + "name": "IST", + "id": "inter-stable-token" }, { - "name": "bSOL", - "id": "blazestake-staked-sol" + "name": "CRE", + "id": "crescent-network" }, { - "name": "LST", - "id": "liquid-staking-token" + "name": "GLMR", + "id": "moonbeam" }, { - "name": "BLZE", - "id": "solblaze" + "name": "DOT", + "id": "polkadot" }, { - "name": "edgeSOL", - "id": "edgevana-staked-sol" + "name": "KUJI", + "id": "kujira" }, { - "name": "wSOL", - "id": "wrapped-solana" + "name": "KSM", + "id": "kusama" }, { - "name": "WIF", - "id": "dogwifcoin" + "name": "INJ", + "id": "injective-protocol" }, { - "name": "BONK", - "id": "bonk" + "name": "TIA", + "id": "celestia" }, { - "name": "USDT Solana", - "id": "tether" + "name": "SCRT", + "id": "secret" + }, + { + "name": "TNKR", + "id": "tinkernet" + }, + { + "name": "STARS", + "id": "stargaze" + }, + { + "name": "bCRE", + "id": "liquid-staking-crescent" + }, + { + "name": "HUAHUA", + "id": "chihuahua-token" } ]; diff --git a/dist/config/crossChainAssets.d.ts.map b/dist/config/crossChainAssets.d.ts.map index 8bfe39ca..de63923d 100644 --- a/dist/config/crossChainAssets.d.ts.map +++ b/dist/config/crossChainAssets.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"crossChainAssets.d.ts","sourceRoot":"","sources":["../../src/config/crossChainAssets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,eAAO,MAAM,gBAAgB,EAAE,gBA41C9B,CAAE"} \ No newline at end of file +{"version":3,"file":"crossChainAssets.d.ts","sourceRoot":"","sources":["../../src/config/crossChainAssets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,eAAO,MAAM,gBAAgB,EAAE,gBAklD9B,CAAE"} \ No newline at end of file diff --git a/dist/config/crossChainAssets.js b/dist/config/crossChainAssets.js index 56d48ed7..fa811a7b 100644 --- a/dist/config/crossChainAssets.js +++ b/dist/config/crossChainAssets.js @@ -73,6 +73,132 @@ exports.crossChainAssets = { "denom": "bCRE", "imageUrl": "" }, + "inj": { + "chainId": "injective-1", + "decimals": 18, + "minimalDenom": "inj", + "denom": "INJ", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/inj.png" + }, + "ukuji": { + "chainId": "kaiyo-1", + "decimals": 6, + "minimalDenom": "ukuji", + "denom": "KUJI", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png" + }, + "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro": { + "chainId": "neutron-1", + "decimals": 6, + "minimalDenom": "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro", + "denom": "ASTRO", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" + }, + "untrn": { + "chainId": "neutron-1", + "decimals": 6, + "minimalDenom": "untrn", + "denom": "NTRN", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png" + }, + "uqck": { + "chainId": "quicksilver-2", + "decimals": 6, + "minimalDenom": "uqck", + "denom": "QCK", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/quicksilver/uqck.png" + }, + "uscrt": { + "chainId": "secret-4", + "decimals": 6, + "minimalDenom": "uscrt", + "denom": "SCRT", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" + }, + "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd": { + "chainId": "ethereum", + "decimals": 6, + "minimalDenom": "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", + "denom": "SILK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/silk.svg" + }, + "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm": { + "chainId": "secret-4", + "decimals": 8, + "minimalDenom": "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", + "denom": "SHD", + "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" + }, + "usei": { + "chainId": "pacific-1", + "decimals": 6, + "minimalDenom": "usei", + "denom": "SEI", + "imageUrl": "" + }, + "ustars": { + "chainId": "stargaze-1", + "decimals": 6, + "minimalDenom": "ustars", + "denom": "STARS", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" + }, + "stutia": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "stutia", + "denom": "stTIA", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/sttia.png" + }, + "ustrd": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "ustrd", + "denom": "STRD", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" + }, + "stuatom": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "stuatom", + "denom": "stATOM", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" + }, + "uumee": { + "chainId": "umee-1", + "decimals": 6, + "minimalDenom": "uumee", + "denom": "UMEE", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/uumee.png" + }, + "undefined": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "", + "denom": "AMPE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/AMPE.svg" + }, + "ppica": { + "chainId": "centauri-1", + "decimals": 12, + "minimalDenom": "ppica", + "denom": "PICA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "uosmo": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "uosmo", + "denom": "OSMO", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" + }, + "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA", + "denom": "milkTIA", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/milktia.png" + }, "wei": { "chainId": "ethereum", "decimals": 18, @@ -171,13 +297,6 @@ exports.crossChainAssets = { "denom": "eETH", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/eeth.svg" }, - "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", - "denom": "SILK", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, "0xbf5495efe5db9ce00f80364c8b423567e58d2110": { "chainId": "ethereum", "decimals": 18, @@ -213,125 +332,6 @@ exports.crossChainAssets = { "denom": "CRV", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/crv.svg" }, - "inj": { - "chainId": "injective-1", - "decimals": 18, - "minimalDenom": "inj", - "denom": "INJ", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/inj.png" - }, - "ukuji": { - "chainId": "kaiyo-1", - "decimals": 6, - "minimalDenom": "ukuji", - "denom": "KUJI", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png" - }, - "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro": { - "chainId": "neutron-1", - "decimals": 6, - "minimalDenom": "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro", - "denom": "ASTRO", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" - }, - "untrn": { - "chainId": "neutron-1", - "decimals": 6, - "minimalDenom": "untrn", - "denom": "NTRN", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png" - }, - "uqck": { - "chainId": "quicksilver-2", - "decimals": 6, - "minimalDenom": "uqck", - "denom": "QCK", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/quicksilver/uqck.png" - }, - "uscrt": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "uscrt", - "denom": "SCRT", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" - }, - "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm": { - "chainId": "secret-4", - "decimals": 8, - "minimalDenom": "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", - "denom": "SHD", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, - "usei": { - "chainId": "pacific-1", - "decimals": 6, - "minimalDenom": "usei", - "denom": "SEI", - "imageUrl": "" - }, - "ustars": { - "chainId": "stargaze-1", - "decimals": 6, - "minimalDenom": "ustars", - "denom": "STARS", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" - }, - "stutia": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "stutia", - "denom": "stTIA", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/sttia.png" - }, - "ustrd": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "ustrd", - "denom": "STRD", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" - }, - "stuatom": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "stuatom", - "denom": "stATOM", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" - }, - "uumee": { - "chainId": "umee-1", - "decimals": 6, - "minimalDenom": "uumee", - "denom": "UMEE", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/uumee.png" - }, - "undefined": { - "chainId": "1000", - "decimals": 6, - "minimalDenom": "", - "denom": "USDT Kusama", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg" - }, - "ppica": { - "chainId": "centauri-1", - "decimals": 12, - "minimalDenom": "ppica", - "denom": "PICA", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" - }, - "uosmo": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "uosmo", - "denom": "OSMO", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" - }, - "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA", - "denom": "milkTIA", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/milktia.png" - }, "SOL": { "chainId": "solana", "decimals": 9, @@ -521,16 +521,112 @@ exports.crossChainAssets = { "realDecimals": 6, "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/uatom.png" }, - "EXZbXNMbdTbMYpr9J5MUDv29XnWfxLZYyCCtk2tCy7XV": { - "chainId": "ethereum", - "decimals": 9, - "minimalDenom": "transfer/channel-1/transfer/channel-52/wei", - "denom": "ETH", - "realDecimals": 18, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg" - }, - "6SYCn6Hj4X3XV6dzRk8vXa1UyZc4SBvAT7p3e1AcATAx": { - "chainId": "ethereum", + "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET": { + "chainId": "neutron-1", + "decimals": 6, + "minimalDenom": "", + "denom": "ASTRO", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" + }, + "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V": { + "chainId": "secret-4", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-14/uscrt", + "denom": "SCRT", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" + }, + "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn": { + "chainId": "ethereum", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", + "denom": "SILK", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/silk.svg" + }, + "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ": { + "chainId": "secret-4", + "decimals": 8, + "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", + "denom": "SHD", + "realDecimals": 8, + "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" + }, + "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S": { + "chainId": "pacific-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-3/transfer/channel-782/usei", + "denom": "SEI", + "realDecimals": 6, + "imageUrl": "" + }, + "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB": { + "chainId": "stargaze-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-6/ustars", + "denom": "STARS", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" + }, + "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-5/ustrd", + "denom": "STRD", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" + }, + "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-5/stuatom", + "denom": "stATOM", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" + }, + "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J": { + "chainId": "polkadot", + "decimals": 9, + "minimalDenom": "transfer/channel-1/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", + "denom": "DOT", + "realDecimals": 10, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12": { + "chainId": "kusama", + "decimals": 9, + "minimalDenom": "transfer/channel-1/transfer/channel-2/4", + "denom": "KSM", + "realDecimals": 12, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ": { + "chainId": "centauri-1", + "decimals": 9, + "minimalDenom": "transfer/channel-1/ppica", + "denom": "PICA", + "realDecimals": 12, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-3/uosmo", + "denom": "OSMO", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" + }, + "EXZbXNMbdTbMYpr9J5MUDv29XnWfxLZYyCCtk2tCy7XV": { + "chainId": "ethereum", + "decimals": 9, + "minimalDenom": "transfer/channel-1/transfer/channel-52/wei", + "denom": "ETH", + "realDecimals": 18, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg" + }, + "6SYCn6Hj4X3XV6dzRk8vXa1UyZc4SBvAT7p3e1AcATAx": { + "chainId": "ethereum", "decimals": 9, "minimalDenom": "transfer/channel-1/transfer/channel-52/0x6B175474E89094C44Da98b954EedeAC495271d0F", "denom": "DAI", @@ -633,14 +729,6 @@ exports.crossChainAssets = { "realDecimals": 18, "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ezeth.svg" }, - "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", - "denom": "SILK", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, "GM4RuF5gLcytcq36wNJkX3UBYRKP9hQwJyyRWm6d6o47": { "chainId": "ethereum", "decimals": 9, @@ -673,94 +761,6 @@ exports.crossChainAssets = { "realDecimals": 18, "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/crv.svg" }, - "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET": { - "chainId": "neutron-1", - "decimals": 6, - "minimalDenom": "", - "denom": "ASTRO", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" - }, - "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-14/uscrt", - "denom": "SCRT", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" - }, - "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ": { - "chainId": "secret-4", - "decimals": 8, - "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", - "denom": "SHD", - "realDecimals": 8, - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, - "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S": { - "chainId": "pacific-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-3/transfer/channel-782/usei", - "denom": "SEI", - "realDecimals": 6, - "imageUrl": "" - }, - "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB": { - "chainId": "stargaze-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-6/ustars", - "denom": "STARS", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" - }, - "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-5/ustrd", - "denom": "STRD", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" - }, - "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-5/stuatom", - "denom": "stATOM", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" - }, - "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J": { - "chainId": "2019", - "decimals": 9, - "minimalDenom": "transfer/channel-1/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", - "denom": "DOT", - "realDecimals": 10, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" - }, - "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12": { - "chainId": "polkadot", - "decimals": 9, - "minimalDenom": "transfer/channel-1/transfer/channel-2/4", - "denom": "KSM", - "realDecimals": 12, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" - }, - "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ": { - "chainId": "centauri-1", - "decimals": 9, - "minimalDenom": "transfer/channel-1/ppica", - "denom": "PICA", - "realDecimals": 12, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" - }, - "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-3/uosmo", - "denom": "OSMO", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" - }, "SOL": { "chainId": "solana", "decimals": 9, @@ -958,6 +958,83 @@ exports.crossChainAssets = { "denom": "ATOM", "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/uatom.png" }, + "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C": { + "chainId": "secret-4", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-14/uscrt", + "denom": "SCRT", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" + }, + "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa": { + "chainId": "ethereum", + "decimals": 6, + "minimalDenom": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", + "denom": "SILK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/silk.svg" + }, + "0x": { + "chainId": "secret-4", + "decimals": 8, + "minimalDenom": "", + "denom": "SHD", + "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" + }, + "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5": { + "chainId": "pacific-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-3/transfer/channel-782/usei", + "denom": "SEI", + "imageUrl": "" + }, + "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956": { + "chainId": "stargaze-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-6/ustars", + "denom": "STARS", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" + }, + "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-5/ustrd", + "denom": "STRD", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" + }, + "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-5/stuatom", + "denom": "stATOM", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" + }, + "0x21c2c96Dbfa137E23946143c71AC8330F9B44001": { + "chainId": "polkadot", + "decimals": 10, + "minimalDenom": "transfer/channel-2/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", + "denom": "DOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "0xB44D6C324A6c15127F1451465f1E1DbC39142A60": { + "chainId": "kusama", + "decimals": 12, + "minimalDenom": "transfer/channel-2/transfer/channel-2/4", + "denom": "KSM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c": { + "chainId": "centauri-1", + "decimals": 12, + "minimalDenom": "transfer/channel-2/ppica", + "denom": "PICA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "0x9243b3615ed297403c0cafa156c3fa16057526ca": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-3/uosmo", + "denom": "OSMO", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" + }, "ETH": { "chainId": "ethereum", "decimals": 18, @@ -1056,13 +1133,6 @@ exports.crossChainAssets = { "denom": "eETH", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/eeth.svg" }, - "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", - "denom": "SILK", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, "0xbf5495efe5db9ce00f80364c8b423567e58d2110": { "chainId": "ethereum", "decimals": 18, @@ -1098,76 +1168,6 @@ exports.crossChainAssets = { "denom": "CRV", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/crv.svg" }, - "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-14/uscrt", - "denom": "SCRT", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" - }, - "0x": { - "chainId": "secret-4", - "decimals": 8, - "minimalDenom": "", - "denom": "SHD", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, - "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5": { - "chainId": "pacific-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-3/transfer/channel-782/usei", - "denom": "SEI", - "imageUrl": "" - }, - "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956": { - "chainId": "stargaze-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-6/ustars", - "denom": "STARS", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" - }, - "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-5/ustrd", - "denom": "STRD", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" - }, - "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-5/stuatom", - "denom": "stATOM", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" - }, - "0x21c2c96Dbfa137E23946143c71AC8330F9B44001": { - "chainId": "2019", - "decimals": 10, - "minimalDenom": "transfer/channel-2/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", - "denom": "DOT", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" - }, - "0xB44D6C324A6c15127F1451465f1E1DbC39142A60": { - "chainId": "polkadot", - "decimals": 12, - "minimalDenom": "transfer/channel-2/transfer/channel-2/4", - "denom": "KSM", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" - }, - "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c": { - "chainId": "centauri-1", - "decimals": 12, - "minimalDenom": "transfer/channel-2/ppica", - "denom": "PICA", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" - }, - "0x9243b3615ed297403c0cafa156c3fa16057526ca": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-3/uosmo", - "denom": "OSMO", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" - }, "0xBe90556468e5eE2A15Da99a5C0e045ED0B142143": { "chainId": "solana", "decimals": 9, @@ -1248,76 +1248,294 @@ exports.crossChainAssets = { }, "polkadot": { "1": { - "chainId": "centauri-1", + "chainId": "2087", "decimals": 12, - "minimalDenom": "ppica", + "minimalDenom": "1", "denom": "PICA", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" }, + "2": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "2", + "denom": "ETH", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg" + }, + "3": { + "chainId": "2087", + "decimals": 9, + "minimalDenom": "3", + "denom": "wSOL", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/WSOL.svg" + }, "4": { - "chainId": "polkadot", + "chainId": "2087", "decimals": 12, "minimalDenom": "4", "denom": "KSM", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" }, + "6": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "6", + "denom": "DOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" + }, + "7": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "7", + "denom": "ATOM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ATOM.svg" + }, + "8": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "8", + "denom": "OSMO", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/OSMO.svg" + }, + "9": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "9", + "denom": "STRD", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STRD.svg" + }, + "10": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "10", + "denom": "stATOM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STATOM.svg" + }, + "11": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "11", + "denom": "STARS", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STARS.svg" + }, + "12": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "12", + "denom": "NTRN", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/NTRN.svg" + }, + "13": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "13", + "denom": "CRE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/CRE.svg" + }, + "14": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "14", + "denom": "bCRE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BCRE.svg" + }, + "15": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "15", + "denom": "SCRT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SCRT.svg" + }, + "16": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "16", + "denom": "SILK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SILK.svg" + }, + "17": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "17", + "denom": "UMEE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/UMEE.svg" + }, "18": { - "chainId": "agoric-3", + "chainId": "2087", "decimals": 6, - "minimalDenom": "ubld", + "minimalDenom": "18", "denom": "BLD", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/ubld.png" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BLD.svg" + }, + "19": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "19", + "denom": "TIA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TIA.svg" + }, + "20": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "20", + "denom": "Liquid Staked Kusama", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LIQUID STAKED KUSAMA.svg" }, "23": { - "chainId": "2023", + "chainId": "2087", "decimals": 18, "minimalDenom": "23", "denom": "MOVR", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/MOVR.svg" }, + "24": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "24", + "denom": "INJ", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/INJ.svg" + }, "25": { - "chainId": "agoric-3", + "chainId": "2087", "decimals": 6, - "minimalDenom": "uist", + "minimalDenom": "25", "denom": "IST", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/uist.png" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/IST.svg" + }, + "26": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "26", + "denom": "USK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USK.svg" + }, + "27": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "27", + "denom": "lsDOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg" + }, + "28": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "28", + "denom": "KUJI", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KUJI.svg" + }, + "29": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "29", + "denom": "QCK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/QCK.svg" }, "31": { - "chainId": "2001", + "chainId": "2087", "decimals": 12, "minimalDenom": "31", "denom": "BNC_KSM", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_KSM.svg" }, "32": { - "chainId": "2001", + "chainId": "2087", "decimals": 12, "minimalDenom": "32", "denom": "vKSM", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vKSM.svg" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VKSM.svg" + }, + "33": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "33", + "denom": "ASTR", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg" + }, + "34": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "34", + "denom": "vDOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VDOT.svg" }, "35": { - "chainId": "pacific-1", + "chainId": "2087", "decimals": 6, - "minimalDenom": "usei", - "denom": "SEI" + "minimalDenom": "35", + "denom": "SEI", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SEI.svg" + }, + "40": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "40", + "denom": "GLMR", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/GLMR.svg" + }, + "44": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "44", + "denom": "AMPE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/AMPE.svg" + }, + "45": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "45", + "denom": "XLM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/XLM.svg" + }, + "129": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "129", + "denom": "Karura Dollar", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KARURA DOLLAR.svg" }, "130": { - "chainId": "1000", + "chainId": "2087", "decimals": 6, "minimalDenom": "130", "denom": "USDT Kusama", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT KUSAMA.svg" + }, + "149": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "149", + "denom": "USDT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg" + }, + "150": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "150", + "denom": "USDC", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg" + }, + "420": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "420", + "denom": "HUAHUA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/HUAHUA.svg" }, "2007": { - "chainId": "2007", + "chainId": "2087", "decimals": 18, "minimalDenom": "2007", "denom": "SDN", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SDN.svg" }, + "2011": { + "chainId": "2087", + "decimals": 9, + "minimalDenom": "2011", + "denom": "Equilibrium", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/EQUILIBRIUM.svg" + }, "2125": { - "chainId": "2125", + "chainId": "2087", "decimals": 12, "minimalDenom": "2125", "denom": "TNKR", @@ -1338,18 +1556,25 @@ exports.crossChainAssets = { "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/uist.png" }, "79228162514264337593543952342": { - "chainId": "2019", + "chainId": "2087", "decimals": 18, "minimalDenom": "79228162514264337593543952342", "denom": "ASTR", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg" }, - "79228162514264337593543950342": { - "chainId": "2019", - "decimals": 10, - "minimalDenom": "79228162514264337593543950342", - "denom": "DOT", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" + "79228162514264337593543950337": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "79228162514264337593543950337", + "denom": "PICA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "79228162514264337593543950485": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "79228162514264337593543950485", + "denom": "USDT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg" }, "79228162514264337593543950369": { "chainId": "2030", @@ -1358,12 +1583,33 @@ exports.crossChainAssets = { "denom": "BNC_DOT", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg" }, + "79228162514264337593543950342": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "79228162514264337593543950342", + "denom": "DOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" + }, "79228162514264337593543950370": { - "chainId": "2030", + "chainId": "2087", "decimals": 10, "minimalDenom": "79228162514264337593543950370", "denom": "vDOT", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vDOT.svg" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VDOT.svg" + }, + "79228162514264337593543950351": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "79228162514264337593543950351", + "denom": "lsDOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg" + }, + "79228162514264337593543950486": { + "chainId": "2019", + "decimals": 6, + "minimalDenom": "79228162514264337593543950486", + "denom": "USDC", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg" }, "79228162514264337593543950376": { "chainId": "2004", diff --git a/dist/config/ethereumAssets.js b/dist/config/ethereumAssets.js index 792a83a7..fdf1ffc6 100644 --- a/dist/config/ethereumAssets.js +++ b/dist/config/ethereumAssets.js @@ -27,6 +27,61 @@ exports.ethereumAssets = { "cosmosToEthereumFee": 2, "minimumTransfer": 5 }, + "SCRT": { + "erc20Address": "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C", + "cosmosToEthereumFee": 34, + "minimumTransfer": 80 + }, + "SILK": { + "erc20Address": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", + "cosmosToEthereumFee": 20, + "minimumTransfer": 50 + }, + "SHD": { + "erc20Address": "0x", + "cosmosToEthereumFee": 3, + "minimumTransfer": 7 + }, + "SEI": { + "erc20Address": "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5", + "cosmosToEthereumFee": 27, + "minimumTransfer": 50 + }, + "STARS": { + "erc20Address": "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956", + "cosmosToEthereumFee": 875, + "minimumTransfer": 2000 + }, + "STRD": { + "erc20Address": "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587", + "cosmosToEthereumFee": 7, + "minimumTransfer": 17 + }, + "stATOM": { + "erc20Address": "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2", + "cosmosToEthereumFee": 2, + "minimumTransfer": 5 + }, + "DOT": { + "erc20Address": "0x21c2c96Dbfa137E23946143c71AC8330F9B44001", + "cosmosToEthereumFee": 2, + "minimumTransfer": 5 + }, + "KSM": { + "erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60", + "cosmosToEthereumFee": 0.5, + "minimumTransfer": 1 + }, + "PICA": { + "erc20Address": "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c", + "cosmosToEthereumFee": 2000, + "minimumTransfer": 5000 + }, + "OSMO": { + "erc20Address": "0x9243b3615ed297403c0cafa156c3fa16057526ca", + "cosmosToEthereumFee": 15, + "minimumTransfer": 40 + }, "ETH": { "erc20Address": "ETH", "cosmosToEthereumFee": 0.0055, @@ -97,11 +152,6 @@ exports.ethereumAssets = { "cosmosToEthereumFee": 0.0055, "minimumTransfer": 0.01 }, - "SILK": { - "erc20Address": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", - "cosmosToEthereumFee": 20, - "minimumTransfer": 50 - }, "ezETH": { "erc20Address": "0xbf5495efe5db9ce00f80364c8b423567e58d2110", "cosmosToEthereumFee": 0.0055, @@ -127,56 +177,6 @@ exports.ethereumAssets = { "cosmosToEthereumFee": 30, "minimumTransfer": 50 }, - "SCRT": { - "erc20Address": "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C", - "cosmosToEthereumFee": 34, - "minimumTransfer": 80 - }, - "SHD": { - "erc20Address": "0x", - "cosmosToEthereumFee": 3, - "minimumTransfer": 7 - }, - "SEI": { - "erc20Address": "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5", - "cosmosToEthereumFee": 27, - "minimumTransfer": 50 - }, - "STARS": { - "erc20Address": "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956", - "cosmosToEthereumFee": 875, - "minimumTransfer": 2000 - }, - "STRD": { - "erc20Address": "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587", - "cosmosToEthereumFee": 7, - "minimumTransfer": 17 - }, - "stATOM": { - "erc20Address": "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2", - "cosmosToEthereumFee": 2, - "minimumTransfer": 5 - }, - "DOT": { - "erc20Address": "0x21c2c96Dbfa137E23946143c71AC8330F9B44001", - "cosmosToEthereumFee": 2, - "minimumTransfer": 5 - }, - "KSM": { - "erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60", - "cosmosToEthereumFee": 0.5, - "minimumTransfer": 1 - }, - "PICA": { - "erc20Address": "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c", - "cosmosToEthereumFee": 2000, - "minimumTransfer": 5000 - }, - "OSMO": { - "erc20Address": "0x9243b3615ed297403c0cafa156c3fa16057526ca", - "cosmosToEthereumFee": 15, - "minimumTransfer": 40 - }, "JitoSOL": { "erc20Address": "0xBe90556468e5eE2A15Da99a5C0e045ED0B142143", "cosmosToEthereumFee": 0.05, diff --git a/dist/config/keplrChains.d.ts.map b/dist/config/keplrChains.d.ts.map index d2d1b497..398af631 100644 --- a/dist/config/keplrChains.d.ts.map +++ b/dist/config/keplrChains.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"keplrChains.d.ts","sourceRoot":"","sources":["../../src/config/keplrChains.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAk5CjD,CAAE"} \ No newline at end of file +{"version":3,"file":"keplrChains.d.ts","sourceRoot":"","sources":["../../src/config/keplrChains.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAy6BjD,CAAE"} \ No newline at end of file diff --git a/dist/config/keplrChains.js b/dist/config/keplrChains.js index 84dce96c..558281c6 100644 --- a/dist/config/keplrChains.js +++ b/dist/config/keplrChains.js @@ -46,17 +46,6 @@ exports.keplrChains = { "high": 0.07 }, "coinMinimalDenom": "ubld" - }, - { - "coinDecimals": 6, - "coinDenom": "IST", - "coinGeckoId": "inter-stable-token", - "gasPriceStep": { - "low": 0.0034, - "average": 0.007, - "high": 0.02 - }, - "coinMinimalDenom": "uist" } ], "rest": "https://agoric-cmp-api.polkachu.com", @@ -266,9 +255,9 @@ exports.keplrChains = { "rpc": "https://full-node.mainnet-1.coreum.dev:26657", "stakeCurrency": { "coinDecimals": 6, - "coinDenom": "XRP", - "coinGeckoId": "ripple", - "coinMinimalDenom": "drop-core1zhs909jp9yktml6qqx9f0ptcq2xnhhj99cja03j3lfcsp2pgm86studdrz" + "coinDenom": "CORE", + "coinGeckoId": "coreum", + "coinMinimalDenom": "ucore" } }, "cosmoshub-4": { @@ -362,182 +351,6 @@ exports.keplrChains = { "high": 0.03 }, "coinMinimalDenom": "ucre" - }, - { - "coinDecimals": 6, - "coinDenom": "bCRE", - "coinGeckoId": "liquid-staking-crescent", - "gasPriceStep": { - "low": 0.0083, - "average": 0.02075, - "high": 0.0249 - }, - "coinMinimalDenom": "ubcre" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "gasPriceStep": { - "low": 0.000063, - "average": 0.0001575, - "high": 0.000189 - }, - "coinMinimalDenom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" - }, - { - "coinDecimals": 6, - "coinDenom": "USDC.grav", - "coinGeckoId": "usd-coin", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/CD01034D6749F20AAC5330EF4FD8B8CA7C40F7527AB8C4A302FBD2A070852EE1" - }, - { - "coinDecimals": 6, - "coinDenom": "USDC.axl", - "coinGeckoId": "usd-coin", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/BFF0D3805B50D93E2FA5C0B2DDF7E0B30A631076CD80BC12A48C0E95404B4A41" - }, - { - "coinDecimals": 6, - "coinDenom": "IST", - "coinGeckoId": "inter-stable-token", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/CA1261224952DF089EFD363D8DBB30A8AB6D8CD181E60EE9E68E432F8DE14FE3" - }, - { - "coinDecimals": 6, - "coinDenom": "CMST", - "coinGeckoId": "composite", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/9EC8A1701813BB7B73BFED2496009ABB2C8BF187E6CDFA788D77F68E08BC05CD" - }, - { - "coinDecimals": 6, - "coinDenom": "JUNO", - "coinGeckoId": "juno-network", - "gasPriceStep": { - "low": 0.000568, - "average": 0.00142, - "high": 0.001704 - }, - "coinMinimalDenom": "ibc/C814F0B662234E24248AE3B2FE2C1B54BBAF12934B757F6E7BC5AEC119963895" - }, - { - "coinDecimals": 6, - "coinDenom": "BLD", - "coinGeckoId": "agoric", - "gasPriceStep": { - "low": 0.002, - "average": 0.005, - "high": 0.006 - }, - "coinMinimalDenom": "ibc/11F940BCDFD7CFBFD7EDA13F25DA95D308286D441209D780C9863FD4271514EB" - }, - { - "coinDecimals": 6, - "coinDenom": "CMDX", - "coinGeckoId": "comdex", - "gasPriceStep": { - "low": 0.008146, - "average": 0.020365, - "high": 0.024438 - }, - "coinMinimalDenom": "ibc/61DF64ADF65230540C14C63D64897BE08A3DC9A516A91425913F01240E2F432F" - }, - { - "coinDecimals": 6, - "coinDenom": "GRAV", - "coinGeckoId": "graviton", - "gasPriceStep": { - "low": 0.065405, - "average": 0.1635125, - "high": 0.196215 - }, - "coinMinimalDenom": "ibc/C950356239AD2A205DE09FDF066B1F9FF19A7CA7145EA48A5B19B76EE47E52F7" - }, - { - "coinDecimals": 18, - "coinDenom": "INJ", - "coinGeckoId": "injective-protocol", - "gasPriceStep": { - "low": 3350000000, - "average": 8375000000, - "high": 10050000000 - }, - "coinMinimalDenom": "ibc/5A76568E079A31FA12165E4559BA9F1E9D4C97F9C2060B538C84DCD503815E30" - }, - { - "coinDecimals": 6, - "coinDenom": "LUNA", - "coinGeckoId": "terra-luna-2", - "gasPriceStep": { - "low": 0.0004, - "average": 0.001, - "high": 0.0012 - }, - "coinMinimalDenom": "ibc/8F865D9760B482FF6254EDFEC1FF2F1273B9AB6873A7DE484F89639795D73D75" - }, - { - "coinDecimals": 6, - "coinDenom": "LUNC", - "coinGeckoId": "terra-luna", - "gasPriceStep": { - "low": 5, - "average": 12.5, - "high": 15 - }, - "coinMinimalDenom": "ibc/4627AD2524E3E0523047E35BB76CC90E37D9D57ACF14F0FCBCEB2480705F3CB8" - }, - { - "coinDecimals": 6, - "coinDenom": "stATOM", - "coinGeckoId": "stride-staked-atom", - "gasPriceStep": { - "low": 0.00006, - "average": 0.00015, - "high": 0.00018 - }, - "coinMinimalDenom": "ibc/D64F87FAE0B35C1954DD7921BA7A2939705DE77CBF72B8002F2E3552EDE4DE52" - }, - { - "coinDecimals": 18, - "coinDenom": "OKT", - "coinGeckoId": "oec-token", - "gasPriceStep": { - "low": 200000000, - "average": 500000000, - "high": 600000000 - }, - "coinMinimalDenom": "ibc/764D1629980B02BAFF3D25BEE4FB1E0C5E350AFA252FDF66E68E10D2179A826A" - }, - { - "coinDecimals": 6, - "coinDenom": "AXL", - "coinGeckoId": "axelar", - "gasPriceStep": { - "low": 0.0014, - "average": 0.0035, - "high": 0.0042 - }, - "coinMinimalDenom": "ibc/0634D0993744740D675AD01E81156EAC945AEAAE17C074918DC7FF52F41B263E" } ], "rest": "https://crescent-cmp-api.polkachu.com", @@ -631,72 +444,6 @@ exports.keplrChains = { "coinGeckoId": "kujira", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png", "coinMinimalDenom": "ukuji" - }, - { - "coinDecimals": 6, - "coinDenom": "USK", - "coinGeckoId": "usk", - "coinMinimalDenom": "factory/kujira1qk00h5atutpsv900x202pxx42npjr9thg58dnqpa72f2p7m2luase444a7/uusk" - }, - { - "coinDecimals": 6, - "coinDenom": "axlUSDC", - "coinGeckoId": "usd-coin", - "coinMinimalDenom": "ibc/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "coinMinimalDenom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2" - }, - { - "coinDecimals": 6, - "coinDenom": "OSMO", - "coinGeckoId": "osmosis", - "coinMinimalDenom": "ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" - }, - { - "coinDecimals": 6, - "coinDenom": "CMDX", - "coinGeckoId": "comdex", - "coinMinimalDenom": "ibc/3607EB5B5E64DD1C0E12E07F077FF470D5BC4706AFCBC98FE1BA960E5AE4CE07" - }, - { - "coinDecimals": 6, - "coinDenom": "EVMOS", - "coinGeckoId": "evmos", - "coinMinimalDenom": "ibc/F3AA7EF362EC5E791FE78A0F4CCC69FEE1F9A7485EB1A8CAB3F6601C00522F10" - }, - { - "coinDecimals": 6, - "coinDenom": "JUNO", - "coinGeckoId": "juno-network", - "coinMinimalDenom": "ibc/EFF323CC632EC4F747C61BCE238A758EFDB7699C3226565F7C20DA06509D59A5" - }, - { - "coinDecimals": 6, - "coinDenom": "SCRT", - "coinGeckoId": "secret", - "coinMinimalDenom": "ibc/A358D7F19237777AF6D8AD0E0F53268F8B18AE8A53ED318095C14D6D7F3B2DB5" - }, - { - "coinDecimals": 6, - "coinDenom": "STARS", - "coinGeckoId": "stargaze", - "coinMinimalDenom": "ibc/4F393C3FCA4190C0A6756CE7F6D897D5D1BE57D6CCB80D0BC87393566A7B6602" - }, - { - "coinDecimals": 18, - "coinDenom": "wAVAX", - "coinGeckoId": "avalanche-2", - "coinMinimalDenom": "ibc/004EBF085BBED1029326D56BE8A2E67C08CECE670A94AC1947DF413EF5130EB2" - }, - { - "coinDecimals": 18, - "coinDenom": "wETH", - "coinGeckoId": "ethereum", - "coinMinimalDenom": "ibc/1B38805B1C75352B28169284F96DF56BDEBD9E8FAC005BDCC8CF0378C82AA8E7" } ], "rest": "https://kujira-api.polkachu.com", @@ -746,82 +493,23 @@ exports.keplrChains = { "coinDecimals": 6, "coinDenom": "NTRN", "coinGeckoId": "neutron-3", - "gasPriceStep": { - "low": 0.0053, - "average": 0.0053, - "high": 0.0053 - }, - "coinMinimalDenom": "untrn" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png", "gasPriceStep": { "low": 0.0008, "average": 0.0008, "high": 0.0008 }, - "coinMinimalDenom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" - }, - { - "coinDecimals": 6, - "coinDenom": "USDC", - "gasPriceStep": { - "low": 0.008, - "average": 0.008, - "high": 0.008 - }, - "coinMinimalDenom": "ibc/F082B65C88E4B6D5EF1DB243CDA1D331D002759E938A0F5CD3FFDC5D53B3E349" - }, - { - "coinDecimals": 18, - "coinDenom": "wstETH", - "gasPriceStep": { - "low": 2903231.6597, - "average": 2903231.6597, - "high": 2903231.6597 - }, - "coinMinimalDenom": "factory/neutron1ug740qrkquxzrk2hh29qrlx3sktkfml3je7juusc2te7xmvsscns0n2wry/wstETH" - }, - { - "coinDecimals": 18, - "coinDenom": "DYDX", - "gasPriceStep": { - "low": 2564102564.1026, - "average": 2564102564.1026, - "high": 2564102564.1026 - }, - "coinMinimalDenom": "ibc/2CB87BCE0937B1D1DFCEE79BE4501AAF3C265E923509AEAC410AD85D27F35130" - }, - { - "coinDecimals": 6, - "coinDenom": "TIA", - "gasPriceStep": { - "low": 0.0004, - "average": 0.0004, - "high": 0.0004 - }, - "coinMinimalDenom": "ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7" - }, - { - "coinDecimals": 6, - "coinDenom": "stATOM", - "gasPriceStep": { - "low": 0.0006, - "average": 0.0006, - "high": 0.0006 - }, - "coinMinimalDenom": "ibc/B7864B03E1B9FD4F049243E92ABD691586F682137037A9F3FCA5222815620B3C" + "coinMinimalDenom": "untrn" } ], "rest": "https://neutron-cmp-api.polkachu.com", "rpc": "https://neutron-cmp-rpc.polkachu.com", "stakeCurrency": { "coinDecimals": 6, - "coinDenom": "ASTRO", - "coinGeckoId": "astroport-fi", - "coinMinimalDenom": "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro", - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" + "coinDenom": "NTRN", + "coinGeckoId": "neutron-3", + "coinMinimalDenom": "untrn", + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png" } }, "quicksilver-2": { @@ -919,11 +607,6 @@ exports.keplrChains = { "coinDenom": "SCRT", "coinGeckoId": "secret", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png", - "gasPriceStep": { - "low": 0.05, - "average": 0.1, - "high": 0.25 - }, "coinMinimalDenom": "uscrt" } ], @@ -1085,189 +768,16 @@ exports.keplrChains = { "high": 0.05 }, "coinMinimalDenom": "ustrd" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "gasPriceStep": { - "low": 0.0001, - "average": 0.001, - "high": 0.01 - }, - "coinMinimalDenom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2" - }, - { - "coinDecimals": 6, - "coinDenom": "OSMO", - "coinGeckoId": "osmosis", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/uosmo.png", - "gasPriceStep": { - "low": 0.001, - "average": 0.01, - "high": 0.1 - }, - "coinMinimalDenom": "ibc/D24B4564BCD51D3D02D9987D92571EAC5915676A9BD6D9B0C1D0254CB8A5EA34" - }, - { - "coinDecimals": 6, - "coinDenom": "stOSMO", - "coinGeckoId": "stride-staked-osmo", - "gasPriceStep": { - "low": 0.001, - "average": 0.01, - "high": 0.1 - }, - "coinMinimalDenom": "stuosmo" - }, - { - "coinDecimals": 6, - "coinDenom": "stATOM", - "coinGeckoId": "stride-staked-atom", - "gasPriceStep": { - "low": 0.0001, - "average": 0.001, - "high": 0.01 - }, - "coinMinimalDenom": "stuatom" - }, - { - "coinDecimals": 18, - "coinDenom": "INJ", - "coinGeckoId": "injective-protocol", - "gasPriceStep": { - "low": 500000000, - "average": 500000000, - "high": 500000000 - }, - "coinMinimalDenom": "ibc/A7454562FF29FE068F42F9DE4805ABEF54F599D1720B345D6518D9B5C64EA6D2" - }, - { - "coinDecimals": 18, - "coinDenom": "stINJ", - "coinGeckoId": "stride-staked-injective", - "gasPriceStep": { - "low": 500000000, - "average": 500000000, - "high": 500000000 - }, - "coinMinimalDenom": "stinj" - }, - { - "coinDecimals": 18, - "coinDenom": "EVMOS", - "coinGeckoId": "evmos", - "gasPriceStep": { - "low": 20000000000, - "average": 20000000000, - "high": 20000000000 - }, - "coinMinimalDenom": "ibc/4B322204B4F59D770680FE4D7A565DDC3F37BFF035474B717476C66A4F83DD72" - }, - { - "coinDecimals": 18, - "coinDenom": "stEVMOS", - "gasPriceStep": { - "low": 20000000000, - "average": 20000000000, - "high": 20000000000 - }, - "coinMinimalDenom": "staevmos" - }, - { - "coinDecimals": 6, - "coinDenom": "TIA", - "coinGeckoId": "celestia", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "ibc/BF3B4F53F3694B66E13C23107C84B6485BD2B96296BB7EC680EA77BBA75B4801" - }, - { - "coinDecimals": 6, - "coinDenom": "stTIA", - "coinGeckoId": "stride-staked-tia", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "stutia" - }, - { - "coinDecimals": 18, - "coinDenom": "DYDX", - "coinGeckoId": "dydx-chain", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 15000000000 - }, - "coinMinimalDenom": "ibc/561C70B20188A047BFDE6F9946BDDC5D8AC172B9BE04FF868DFABF819E5A9CCE" - }, - { - "coinDecimals": 18, - "coinDenom": "stDYDX", - "coinGeckoId": "stride-staked-dydx", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 15000000000 - }, - "coinMinimalDenom": "stadydx" - }, - { - "coinDecimals": 18, - "coinDenom": "DYM", - "coinGeckoId": "dymension", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 50000000000 - }, - "coinMinimalDenom": "ibc/E1C22332C083574F3418481359733BA8887D171E76C80AD9237422AEABB66018" - }, - { - "coinDecimals": 18, - "coinDenom": "stDYM", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 50000000000 - }, - "coinMinimalDenom": "stadym" - }, - { - "coinDecimals": 6, - "coinDenom": "stSAGA", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "stusaga" - }, - { - "coinDecimals": 6, - "coinDenom": "SAGA", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "ibc/520D9C4509027DE66C737A1D6A6021915A3071E30DBA8F758B46532B060D7AA5" } ], "rest": "https://stride-cmp-api.polkachu.com", "rpc": "https://stride-cmp-rpc.polkachu.com", "stakeCurrency": { "coinDecimals": 6, - "coinDenom": "stTIA", - "coinGeckoId": "stride-staked-tia", - "coinMinimalDenom": "stutia", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/sttia.png" + "coinDenom": "STRD", + "coinGeckoId": "stride", + "coinMinimalDenom": "ustrd", + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" }, "walletUrlForStaking": "https://wallet.keplr.app/chains/stride" }, @@ -1350,7 +860,8 @@ exports.keplrChains = { { "coinDecimals": 12, "coinDenom": "PICA", - "coinGeckoId": "unknown", + "coinGeckoId": "picasso", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", "gasPriceStep": { "low": 0, "average": 0, diff --git a/dist/config/multihopRoute.d.ts b/dist/config/multihopRoute.d.ts new file mode 100644 index 00000000..7ad773df --- /dev/null +++ b/dist/config/multihopRoute.d.ts @@ -0,0 +1,3 @@ +import { MultihopRoutePath } from "../chains/polkadot/types"; +export declare const multihopRoute: MultihopRoutePath[]; +//# sourceMappingURL=multihopRoute.d.ts.map \ No newline at end of file diff --git a/dist/config/multihopRoute.d.ts.map b/dist/config/multihopRoute.d.ts.map new file mode 100644 index 00000000..341b9276 --- /dev/null +++ b/dist/config/multihopRoute.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"multihopRoute.d.ts","sourceRoot":"","sources":["../../src/config/multihopRoute.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG3D,eAAO,MAAM,aAAa,EAAE,iBAAiB,EA8mBhD,CAAE"} \ No newline at end of file diff --git a/dist/config/multihopRoute.js b/dist/config/multihopRoute.js new file mode 100644 index 00000000..b2465e0e --- /dev/null +++ b/dist/config/multihopRoute.js @@ -0,0 +1,626 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.multihopRoute = void 0; +exports.multihopRoute = [ + { + "fromChainId": "polkadot", + "toChainId": "crescent-1", + "paraChain": "2019", + "index": 5, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "crescent-1", + "order": 3, + "channelId": 11, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "injective-1", + "paraChain": "2019", + "index": 16, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "injective-1", + "order": 3, + "channelId": 29, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "2087", + "paraChain": "2019", + "index": 9, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "osmosis-1", + "paraChain": "2019", + "index": 1, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "neutron-1", + "paraChain": "2019", + "index": 3, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "neutron-1", + "order": 3, + "channelId": 18, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "centauri-1", + "paraChain": "2019", + "index": 10, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "umee-1", + "paraChain": "2019", + "index": 7, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "umee-1", + "order": 3, + "channelId": 20, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "kaiyo-1", + "paraChain": "2019", + "index": 17, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "kaiyo-1", + "order": 3, + "channelId": 27, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "pacific-1", + "paraChain": "2019", + "index": 13, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "pacific-1", + "order": 4, + "channelId": 782, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "agoric-3", + "paraChain": "2019", + "index": 15, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "agoric-3", + "order": 3, + "channelId": 13, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "secret-4", + "paraChain": "2019", + "index": 14, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "secret-4", + "order": 3, + "channelId": 14, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "osmosis-1", + "index": 1, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "umee-1", + "index": 8, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "umee-1", + "order": 2, + "channelId": 20, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "2019", + "index": 12, + "paths": [ + { + "chainId": "2019", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "osmosis-1", + "index": 2, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 2, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "crescent-1", + "index": 6, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "crescent-1", + "order": 2, + "channelId": 11, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "neutron-1", + "index": 4, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "neutron-1", + "order": 2, + "channelId": 18, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "centauri-1", + "index": 11, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + } +]; diff --git a/dist/config/networks.d.ts.map b/dist/config/networks.d.ts.map index ea2d74b9..75c7994e 100644 --- a/dist/config/networks.d.ts.map +++ b/dist/config/networks.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../src/config/networks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACrC,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CA+7BjD,CAAC"} \ No newline at end of file +{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../src/config/networks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACrC,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAm6BjD,CAAC"} \ No newline at end of file diff --git a/dist/config/networks.js b/dist/config/networks.js index b89ff6a3..581a3e09 100644 --- a/dist/config/networks.js +++ b/dist/config/networks.js @@ -9,7 +9,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "1000", - "feeAssetId": "USDT Kusama", + "feeAssetId": "130", "polkadot": { "ss58Format": 2, "isParachain": true, @@ -37,7 +37,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2001", - "feeAssetId": "BNC_KSM", + "feeAssetId": "31", "polkadot": { "ss58Format": 6, "isParachain": true, @@ -66,7 +66,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2004", - "feeAssetId": "GLMR", + "feeAssetId": "79228162514264337593543950376", "polkadot": { "ss58Format": 0, "isParachain": true, @@ -94,7 +94,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2006", - "feeAssetId": "ASTR", + "feeAssetId": "79228162514264337593543952342", "polkadot": { "ss58Format": 5, "isParachain": true, @@ -122,7 +122,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2007", - "feeAssetId": "SDN", + "feeAssetId": "2007", "polkadot": { "ss58Format": 5, "isParachain": true, @@ -150,7 +150,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2019", - "feeAssetId": "DOT", + "feeAssetId": "", "polkadot": { "ss58Format": 50, "isParachain": true, @@ -198,7 +198,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2023", - "feeAssetId": "MOVR", + "feeAssetId": "23", "polkadot": { "ss58Format": 0, "isParachain": true, @@ -226,7 +226,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2030", - "feeAssetId": "BNC_DOT", + "feeAssetId": "79228162514264337593543950369", "polkadot": { "ss58Format": 6, "isParachain": true, @@ -255,7 +255,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2087", - "feeAssetId": "USDT Kusama", + "feeAssetId": "79228162514264337593543950337", "polkadot": { "ss58Format": 49, "isParachain": true, @@ -306,34 +306,6 @@ exports.networks = { "centauri-1" ] }, - "2124": { - "name": "amplitude", - "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/amplitude.svg", - "rpc": "wss://rpc-amplitude.pendulumchain.tech", - "rest": "", - "chainType": "polkadot", - "chainId": "2124", - "feeAssetId": "", - "polkadot": { - "ss58Format": 56, - "isParachain": true, - "relayChain": "polkadot", - "hops": { - "2019": { - "type": "XCM", - "xcmType": "xTokens.transfer", - "version": "V2", - "tokens": [ - "0000" - ] - } - } - }, - "enabled": true, - "network_to": [ - "2019" - ] - }, "2125": { "name": "Tinkernet", "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/tinkernet.svg", @@ -341,7 +313,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "2125", - "feeAssetId": "TNKR", + "feeAssetId": "2125", "polkadot": { "ss58Format": 117, "isParachain": true, @@ -369,7 +341,7 @@ exports.networks = { "rest": "https://agoric-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "agoric-3", - "feeAssetId": "BLD", + "feeAssetId": "ubld", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/agoric", "walletUrlForStaking": "https://wallet.keplr.app/chains/agoric", @@ -402,7 +374,7 @@ exports.networks = { "rest": "https://api.mainnet.archway.io", "chainType": "cosmos", "chainId": "archway-1", - "feeAssetId": "ARCH", + "feeAssetId": "aarch", "cosmos": { "bech32Config": { "bech32PrefixAccAddr": "archway", @@ -428,7 +400,7 @@ exports.networks = { "rest": "https://api.celestia.nodestake.top", "chainType": "cosmos", "chainId": "celestia", - "feeAssetId": "TIA", + "feeAssetId": "utia", "cosmos": { "bech32Config": { "bech32PrefixAccAddr": "celestia", @@ -455,7 +427,7 @@ exports.networks = { "rest": "https://chihuahua-api.polkachu.com", "chainType": "cosmos", "chainId": "chihuahua-1", - "feeAssetId": "HUAHUA", + "feeAssetId": "uhuahua", "cosmos": { "bip44": { "coinType": 118 @@ -482,7 +454,7 @@ exports.networks = { "rest": "https://rest-coreum.ecostake.com", "chainType": "cosmos", "chainId": "coreum-mainnet-1", - "feeAssetId": "XRP", + "feeAssetId": "ucore", "cosmos": { "bip44": { "coinType": 990 @@ -508,7 +480,7 @@ exports.networks = { "rest": "https://cosmos-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "cosmoshub-4", - "feeAssetId": "ATOM", + "feeAssetId": "uatom", "cosmos": { "bech32Config": { "bech32PrefixAccAddr": "cosmos", @@ -535,7 +507,7 @@ exports.networks = { "rest": "https://crescent-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "crescent-1", - "feeAssetId": "CRE", + "feeAssetId": "ucre", "cosmos": { "walletUrl": "https://app.crescent.network/", "walletUrlForStaking": "https://app.crescent.network/staking", @@ -556,19 +528,6 @@ exports.networks = { "centauri-1" ] }, - "ethereum": { - "name": "Ethereum", - "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ethereum.svg", - "rpc": "https://mainnet.infura.io/v3/a5d75c55a92a4e01b089047f19cc6bdd", - "rest": "", - "chainType": "ethereum", - "chainId": "ethereum", - "feeAssetId": "ETH", - "enabled": true, - "network_to": [ - "centauri-1" - ] - }, "injective-1": { "name": "Injective", "image": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/chain.png", @@ -576,7 +535,7 @@ exports.networks = { "rest": "https://injective-api.polkachu.com", "chainType": "cosmos", "chainId": "injective-1", - "feeAssetId": "INJ", + "feeAssetId": "inj", "cosmos": { "bech32Config": { "bech32PrefixAccPub": "injpub", @@ -602,7 +561,7 @@ exports.networks = { "rest": "https://kujira-api.polkachu.com", "chainType": "cosmos", "chainId": "kaiyo-1", - "feeAssetId": "KUJI", + "feeAssetId": "ukuji", "cosmos": { "bip44": { "coinType": 118 @@ -628,7 +587,7 @@ exports.networks = { "rest": "https://neutron-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "neutron-1", - "feeAssetId": "ASTRO", + "feeAssetId": "untrn", "cosmos": { "bip44": { "coinType": 118 @@ -654,7 +613,7 @@ exports.networks = { "rest": "https://quicksilver-api.polkachu.com", "chainType": "cosmos", "chainId": "quicksilver-2", - "feeAssetId": "QCK", + "feeAssetId": "uqck", "cosmos": { "walletUrlForStaking": "https://wallet.keplr.app/chains/quicksilver", "bip44": { @@ -681,7 +640,7 @@ exports.networks = { "rest": "https://lcd.mainnet.secretsaturn.net", "chainType": "cosmos", "chainId": "secret-4", - "feeAssetId": "SCRT", + "feeAssetId": "uscrt", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/secret-network", "walletUrlForStaking": "https://wallet.keplr.app/chains/secret-network", @@ -714,7 +673,7 @@ exports.networks = { "rest": "https://sei-api.polkachu.com", "chainType": "cosmos", "chainId": "pacific-1", - "feeAssetId": "SEI", + "feeAssetId": "usei", "cosmos": { "bip44": { "coinType": 118 @@ -740,7 +699,7 @@ exports.networks = { "rest": "https://stargaze-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "stargaze-1", - "feeAssetId": "STARS", + "feeAssetId": "ustars", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/stargaze", "walletUrlForStaking": "https://wallet.keplr.app/chains/stargaze", @@ -768,7 +727,7 @@ exports.networks = { "rest": "https://stride-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "stride-1", - "feeAssetId": "stTIA", + "feeAssetId": "ustrd", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/stride", "walletUrlForStaking": "https://wallet.keplr.app/chains/stride", @@ -796,7 +755,7 @@ exports.networks = { "rest": "https://umee-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "umee-1", - "feeAssetId": "UMEE", + "feeAssetId": "uumee", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/umee", "walletUrlForStaking": "https://wallet.keplr.app/chains/umee", @@ -824,7 +783,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "kusama", - "feeAssetId": "KSM", + "feeAssetId": "4", "polkadot": { "ss58Format": 2, "isParachain": false, @@ -852,7 +811,7 @@ exports.networks = { "rest": "", "chainType": "polkadot", "chainId": "polkadot", - "feeAssetId": "KSM", + "feeAssetId": "79228162514264337593543950342", "polkadot": { "ss58Format": 0, "isParachain": false, @@ -880,7 +839,7 @@ exports.networks = { "rest": "https://picasso-api.polkachu.com", "chainType": "cosmos", "chainId": "centauri-1", - "feeAssetId": "PICA", + "feeAssetId": "ppica", "cosmos": { "bip44": { "coinType": 118 @@ -925,7 +884,7 @@ exports.networks = { "rest": "https://osmosis-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "osmosis-1", - "feeAssetId": "OSMO", + "feeAssetId": "uosmo", "cosmos": { "walletUrl": "https://app.osmosis.zone", "walletUrlForStaking": "https://wallet.keplr.app/chains/osmosis", @@ -947,6 +906,19 @@ exports.networks = { "centauri-1" ] }, + "ethereum": { + "name": "Ethereum", + "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ethereum.svg", + "rpc": "https://mainnet.infura.io/v3/a5d75c55a92a4e01b089047f19cc6bdd", + "rest": "", + "chainType": "ethereum", + "chainId": "ethereum", + "feeAssetId": "ETH", + "enabled": true, + "network_to": [ + "centauri-1" + ] + }, "solana": { "name": "Solana", "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/solana.svg", diff --git a/dist/config/picassoAssets.d.ts b/dist/config/picassoAssets.d.ts new file mode 100644 index 00000000..48735806 --- /dev/null +++ b/dist/config/picassoAssets.d.ts @@ -0,0 +1,345 @@ +declare const picassoAssets: ({ + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; + foreign_id?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; + foreign_id?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + IbcIcs20: { + trace_path: string; + base_denom: string; + }; + Xcm?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + IbcIcs20: { + trace_path: string; + base_denom: string; + }; + Xcm?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + PalletInstance?: undefined; + } | { + PalletInstance: string; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X3: ({ + Parachain: string; + PalletInstance?: undefined; + GeneralIndex?: undefined; + } | { + PalletInstance: string; + Parachain?: undefined; + GeneralIndex?: undefined; + } | { + GeneralIndex: string; + Parachain?: undefined; + PalletInstance?: undefined; + })[]; + X2?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + GeneralKey?: undefined; + } | { + GeneralKey: { + length: string; + data: number[]; + }; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X1: { + Parachain: string; + }; + X2?: undefined; + X3?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + GeneralKey?: undefined; + } | { + GeneralKey: { + length: string; + data: number[]; + }; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X3: ({ + Parachain: string; + PalletInstance?: undefined; + GeneralIndex?: undefined; + } | { + PalletInstance: string; + Parachain?: undefined; + GeneralIndex?: undefined; + } | { + GeneralIndex: string; + Parachain?: undefined; + PalletInstance?: undefined; + })[]; + X2?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: string; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + GeneralIndex?: undefined; + } | { + GeneralIndex: string; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: number; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X1: { + Parachain: string; + }; + X2?: undefined; + X3?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: number; +})[]; +//# sourceMappingURL=picassoAssets.d.ts.map \ No newline at end of file diff --git a/dist/config/picassoAssets.d.ts.map b/dist/config/picassoAssets.d.ts.map new file mode 100644 index 00000000..1e39404b --- /dev/null +++ b/dist/config/picassoAssets.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"picassoAssets.d.ts","sourceRoot":"","sources":["../../src/config/picassoAssets.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+gClB,CAAC"} \ No newline at end of file diff --git a/dist/config/picassoAssets.js b/dist/config/picassoAssets.js new file mode 100644 index 00000000..c68602cf --- /dev/null +++ b/dist/config/picassoAssets.js @@ -0,0 +1,1039 @@ +var picassoAssets = [ + { + name: 'USDT', + symbol: [85, 83, 68, 84], + id: '79228162514264337593543950485', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'Equilibrium USD', + symbol: [69, 81, 68], + id: '79228162514264337593543950463', + decimals: 9, + ratio: { + n: '2', + d: '100000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '79228162514264337593543950369', + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '79228162514264337593543952342', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'Equilibrium', + symbol: [69, 81], + id: '79228162514264337593543952347', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '79228162514264337593543950342', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '79228162514264337593543950370', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '79228162514264337593543950351', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '79228162514264337593543950486', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USDT', + symbol: [85, 83, 68, 84], + id: '149', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950485', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USK', + symbol: [85, 83, 75], + id: '26', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'uusk', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'SEI', + symbol: [83, 69, 73], + id: '35', + decimals: 6, + ratio: { + n: '143', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-3/transfer/channel-782', + base_denom: 'usei', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.276379', + }, + { + name: 'SILK', + symbol: [83, 73, 76, 75], + id: '16', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-26', + base_denom: 'cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.11', + }, + { + name: 'QCK', + symbol: [81, 67, 75], + id: '29', + decimals: 6, + ratio: { + n: '1', + d: '30', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-9', + base_denom: 'uqck', + }, + }, + existential_deposit: '333300', + existentialDeposit: '333300', + exchangeRate: '0.00823899', + }, + { + name: 'MOVR', + symbol: [77, 79, 86, 82], + id: '23', + decimals: 18, + ratio: { + n: '40900', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2023', + }, + { + PalletInstance: '10', + }, + ], + }, + }, + }, + }, + existential_deposit: '4100000000000000', + existentialDeposit: '4100000000000000', + exchangeRate: '8.81', + }, + { + name: 'USDT Kusama', + symbol: [85, 83, 68, 84, 32, 75, 117, 115, 97, 109, 97], + id: '130', + decimals: 6, + ratio: { + n: '2', + d: '10000000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '1000', + }, + { + PalletInstance: '50', + }, + { + GeneralIndex: '1984', + }, + ], + }, + }, + }, + }, + existential_deposit: '1500', + existentialDeposit: '1500', + exchangeRate: '1', + }, + { + name: 'STRD', + symbol: [83, 84, 82, 68], + id: '9', + decimals: 6, + ratio: { + n: '18', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'ustrd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '0.640319', + }, + { + name: 'PICA', + symbol: [80, 73, 67, 65], + id: '1', + decimals: 12, + ratio: null, + foreign_id: null, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + exchangeRate: '0.00051113', + }, + { + name: 'BNC_KSM', + symbol: [66, 78, 67, 32, 75, 117, 115, 97, 109, 97], + id: '31', + decimals: 12, + ratio: { + n: '11', + d: '10', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '11000000000', + existentialDeposit: '11000000000', + exchangeRate: '0.188741', + }, + { + name: 'SDN', + symbol: [83, 68, 110], + id: '2007', + decimals: 18, + ratio: { + n: '1000000', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2007', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: '0.129428', + }, + { + name: 'BLD', + symbol: [66, 76, 68], + id: '18', + decimals: 6, + ratio: { + n: '12', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'ubld', + }, + }, + existential_deposit: '120000', + existentialDeposit: '120000', + exchangeRate: '0.054234', + }, + { + name: 'Equilibrium USD', + symbol: [69, 81, 68], + id: '127', + decimals: 9, + ratio: { + n: '2', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950463', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'Liquid Staked Kusama', + symbol: [108, 115, 75, 83, 77], + id: '20', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: null, + existential_deposit: '375000000', + existentialDeposit: '375000000', + }, + { + name: 'OSMO', + symbol: [79, 83, 77, 79], + id: '8', + decimals: 6, + ratio: { + n: '3', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-3', + base_denom: 'uosmo', + }, + }, + existential_deposit: '40000', + existentialDeposit: '40000', + exchangeRate: '0.370691', + }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '33', + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950369', + }, + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'Karura Dollar', + symbol: [107, 85, 83, 68], + id: '129', + decimals: 12, + ratio: { + n: '1', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2000', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + }, + { + name: 'wSOL', + symbol: [119, 83, 79, 76], + id: '3', + decimals: 9, + ratio: { + n: '8350000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-71/transfer/channel-17', + base_denom: 'So11111111111111111111111111111111111111112', + }, + }, + existential_deposit: '5620', + existentialDeposit: '5620', + exchangeRate: '129.33', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '2006', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952342', + }, + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'stATOM', + symbol: [115, 116, 65, 84, 79, 77], + id: '10', + decimals: 6, + ratio: { + n: '18', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'stuatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + }, + { + name: 'NTRN', + symbol: [78, 84, 82, 78], + id: '12', + decimals: 6, + ratio: { + n: '5', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-18', + base_denom: 'untrn', + }, + }, + existential_deposit: '60000', + existentialDeposit: '60000', + exchangeRate: '0.341433', + }, + { + name: 'ATOM', + symbol: [65, 84, 79, 77], + id: '7', + decimals: 6, + ratio: { + n: '2', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-4', + base_denom: 'uatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + exchangeRate: '3.69', + }, + { + name: 'UMEE', + symbol: [85, 77, 69, 69], + id: '17', + decimals: 6, + ratio: { + n: '5', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-20', + base_denom: 'uumee', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00089998', + }, + { + name: 'ETH', + symbol: [69, 84, 72], + id: '2', + decimals: 18, + ratio: { + n: '19', + d: '100', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-52/transfer/channel-17', + base_denom: 'wei', + }, + }, + existential_deposit: '200000000000', + existentialDeposit: '200000000000', + exchangeRate: '2297.69', + }, + { + name: 'Equilibrium', + symbol: [69, 81], + id: '2011', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952347', + }, + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'XLM', + symbol: [88, 76, 77], + id: '45', + decimals: 12, + ratio: { + n: '5', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '2124', + }, + { + PalletInstance: '53', + }, + { + GeneralIndex: '2', + }, + ], + }, + }, + }, + }, + existential_deposit: '2000000000000', + existentialDeposit: '2000000000000', + }, + { + name: 'IST', + symbol: [73, 83, 84], + id: '25', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'uist', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.002', + }, + { + name: 'CRE', + symbol: [67, 82, 69], + id: '13', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ucre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00009829', + }, + { + name: 'GLMR', + symbol: [71, 76, 77, 82], + id: '40', + decimals: 18, + ratio: { + n: '400000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79,228,162,514,264,337,593,543,950,376', + }, + }, + existential_deposit: '40000000000000000', + existentialDeposit: '40000000000000000', + exchangeRate: '0.150156', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '6', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950342', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'KUJI', + symbol: [75, 85, 74, 73], + id: '28', + decimals: 6, + ratio: { + n: '3', + d: '50000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'ukuji', + }, + }, + existential_deposit: '6006', + existentialDeposit: '6006', + exchangeRate: '0.412083', + }, + { + name: 'KSM', + symbol: [75, 83, 77], + id: '4', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: 'Here', + }, + }, + }, + existential_deposit: '375000000', + existentialDeposit: '375000000', + exchangeRate: '17.98', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '34', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950370', + }, + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'INJ', + symbol: [73, 78, 74], + id: '24', + decimals: 18, + ratio: { + n: '12500', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-29', + base_denom: 'inj', + }, + }, + existential_deposit: '1250000000000000', + existentialDeposit: '1250000000000000', + exchangeRate: '16.38', + }, + { + name: 'TIA', + symbol: [84, 73, 65], + id: '19', + decimals: 6, + ratio: { + n: '85', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-38', + base_denom: 'utia', + }, + }, + existential_deposit: '9000', + existentialDeposit: '9000', + exchangeRate: '4.01', + }, + { + name: 'vKSM', + symbol: [118, 75, 83, 77], + id: '32', + decimals: 12, + ratio: { + n: '8', + d: '1000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '1000000000', + existentialDeposit: '1000000000', + exchangeRate: '25.876857207706724', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '27', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950351', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'SCRT', + symbol: [83, 67, 82, 84], + id: '15', + decimals: 6, + ratio: { + n: '6', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-14', + base_denom: 'uscrt', + }, + }, + existential_deposit: '70000', + existentialDeposit: '70000', + exchangeRate: '0.192984', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '150', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950486', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'TNKR', + symbol: [84, 78, 75, 82], + id: '2125', + decimals: 12, + ratio: { + n: '3', + d: '100', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2125', + }, + { + GeneralIndex: '0', + }, + ], + }, + }, + }, + }, + existential_deposit: '135000000000', + existentialDeposit: '135000000000', + exchangeRate: 0, + }, + { + name: 'STARS', + symbol: [83, 84, 65, 82, 83], + id: '11', + decimals: 6, + ratio: { + n: '18', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-6', + base_denom: 'ustars', + }, + }, + existential_deposit: '2000000', + existentialDeposit: '2000000', + exchangeRate: '0.00670642', + }, + { + name: 'bCRE', + symbol: [98, 67, 82, 69], + id: '14', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ubcre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00012694', + }, + { + name: 'HUAHUA', + symbol: [72, 85, 65, 72, 85, 65], + id: '420', + decimals: 6, + ratio: null, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-0', + base_denom: 'uhuahua', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00004107', + }, + { + name: 'AMPE', + symbol: [65, 77, 80, 69], + id: '44', + decimals: 12, + ratio: { + n: '1', + d: '8', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2124', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: 0, + }, +]; diff --git a/dist/config/solanaAssets.js b/dist/config/solanaAssets.js index 8dc4b975..0090213b 100644 --- a/dist/config/solanaAssets.js +++ b/dist/config/solanaAssets.js @@ -22,6 +22,54 @@ exports.solanaAssets = { "mintAddress": "9gjHXkUVtDEPfxXXT9Jj3ZbYbFzS4zN92ewsCH8zGUKc", "minimumTransfer": 2 }, + "ASTRO": { + "mintAddress": "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET", + "minimumTransfer": 0 + }, + "SCRT": { + "mintAddress": "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V", + "minimumTransfer": 50 + }, + "SILK": { + "mintAddress": "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn", + "minimumTransfer": 0 + }, + "SHD": { + "mintAddress": "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ", + "minimumTransfer": 5 + }, + "SEI": { + "mintAddress": "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S", + "minimumTransfer": 30 + }, + "STARS": { + "mintAddress": "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB", + "minimumTransfer": 990 + }, + "STRD": { + "mintAddress": "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE", + "minimumTransfer": 11 + }, + "stATOM": { + "mintAddress": "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea", + "minimumTransfer": 2 + }, + "DOT": { + "mintAddress": "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J", + "minimumTransfer": 3 + }, + "KSM": { + "mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12", + "minimumTransfer": 0.7 + }, + "PICA": { + "mintAddress": "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ", + "minimumTransfer": 4000 + }, + "OSMO": { + "mintAddress": "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM", + "minimumTransfer": 20 + }, "ETH": { "mintAddress": "EXZbXNMbdTbMYpr9J5MUDv29XnWfxLZYyCCtk2tCy7XV", "minimumTransfer": 0 @@ -78,10 +126,6 @@ exports.solanaAssets = { "mintAddress": "CqzASJJsEA1TDvjCahP9pa7wPjqFEdouup6g5eNV71uv", "minimumTransfer": 0 }, - "SILK": { - "mintAddress": "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn", - "minimumTransfer": 20 - }, "ezETH": { "mintAddress": "CqzASJJsEA1TDvjCahP9pa7wPjqFEdouup6g5eNV71uv", "minimumTransfer": 0 @@ -102,50 +146,6 @@ exports.solanaAssets = { "mintAddress": "4tjtYi8dCVkE539ANy3qUHhKdqkjzqhn2iW4WSZMfMa6", "minimumTransfer": 0 }, - "ASTRO": { - "mintAddress": "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET", - "minimumTransfer": 0 - }, - "SCRT": { - "mintAddress": "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V", - "minimumTransfer": 50 - }, - "SHD": { - "mintAddress": "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ", - "minimumTransfer": 5 - }, - "SEI": { - "mintAddress": "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S", - "minimumTransfer": 30 - }, - "STARS": { - "mintAddress": "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB", - "minimumTransfer": 990 - }, - "STRD": { - "mintAddress": "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE", - "minimumTransfer": 11 - }, - "stATOM": { - "mintAddress": "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea", - "minimumTransfer": 2 - }, - "DOT": { - "mintAddress": "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J", - "minimumTransfer": 3 - }, - "KSM": { - "mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12", - "minimumTransfer": 0.7 - }, - "PICA": { - "mintAddress": "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ", - "minimumTransfer": 4000 - }, - "OSMO": { - "mintAddress": "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM", - "minimumTransfer": 20 - }, "SOL": { "mintAddress": "SOL", "minimumTransfer": 0.2 diff --git a/dist/config/temp.d.ts b/dist/config/temp.d.ts new file mode 100644 index 00000000..f18feb9e --- /dev/null +++ b/dist/config/temp.d.ts @@ -0,0 +1,345 @@ +declare const data: ({ + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; + foreign_id?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; + foreign_id?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + IbcIcs20: { + trace_path: string; + base_denom: string; + }; + Xcm?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + IbcIcs20: { + trace_path: string; + base_denom: string; + }; + Xcm?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + PalletInstance?: undefined; + } | { + PalletInstance: string; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X3: ({ + Parachain: string; + PalletInstance?: undefined; + GeneralIndex?: undefined; + } | { + PalletInstance: string; + Parachain?: undefined; + GeneralIndex?: undefined; + } | { + GeneralIndex: string; + Parachain?: undefined; + PalletInstance?: undefined; + })[]; + X2?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + GeneralKey?: undefined; + } | { + GeneralKey: { + length: string; + data: number[]; + }; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X1: { + Parachain: string; + }; + X2?: undefined; + X3?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + GeneralKey?: undefined; + } | { + GeneralKey: { + length: string; + data: number[]; + }; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X3: ({ + Parachain: string; + PalletInstance?: undefined; + GeneralIndex?: undefined; + } | { + PalletInstance: string; + Parachain?: undefined; + GeneralIndex?: undefined; + } | { + GeneralIndex: string; + Parachain?: undefined; + PalletInstance?: undefined; + })[]; + X2?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate?: undefined; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: string; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: string; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X2: ({ + Parachain: string; + GeneralIndex?: undefined; + } | { + GeneralIndex: string; + Parachain?: undefined; + })[]; + X3?: undefined; + X1?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: number; +} | { + name: string; + symbol: number[]; + id: string; + decimals: number; + ratio: { + n: string; + d: string; + }; + foreign_id: { + Xcm: { + V3: { + parents: string; + interior: { + X1: { + Parachain: string; + }; + X2?: undefined; + X3?: undefined; + }; + }; + }; + IbcIcs20?: undefined; + }; + existential_deposit: string; + existentialDeposit: string; + exchangeRate: number; +})[]; +//# sourceMappingURL=temp.d.ts.map \ No newline at end of file diff --git a/dist/config/temp.d.ts.map b/dist/config/temp.d.ts.map new file mode 100644 index 00000000..c2e09f10 --- /dev/null +++ b/dist/config/temp.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"temp.d.ts","sourceRoot":"","sources":["../../src/config/temp.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAghCT,CAAC"} \ No newline at end of file diff --git a/dist/config/temp.js b/dist/config/temp.js new file mode 100644 index 00000000..1ddb8982 --- /dev/null +++ b/dist/config/temp.js @@ -0,0 +1,1039 @@ +var data = [ + { + name: 'USDT', + symbol: [85, 83, 68, 84], + id: '79228162514264337593543950485', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + // { + // name: 'Equilibrium USD', //does not support + // symbol: [69, 81, 68], + // id: '79228162514264337593543950463', + // decimals: 9, + // ratio: { + // n: '2', + // d: '100000', + // }, + // existential_deposit: '200000', + // existentialDeposit: '200000', + // }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '79228162514264337593543950369', //only at composable + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '79228162514264337593543952342', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'Equilibrium', //none + symbol: [69, 81], + id: '79228162514264337593543952347', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '79228162514264337593543950342', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '79228162514264337593543950370', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '79228162514264337593543950351', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '79228162514264337593543950486', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USDT', //added at picasso + symbol: [85, 83, 68, 84], + id: '149', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950485', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USK', + symbol: [85, 83, 75], + id: '26', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'uusk', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'SEI', + symbol: [83, 69, 73], + id: '35', + decimals: 6, + ratio: { + n: '143', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-3/transfer/channel-782', + base_denom: 'usei', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.276379', + }, + { + name: 'SILK', + symbol: [83, 73, 76, 75], + id: '16', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-26', + base_denom: 'cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.11', + }, + { + name: 'QCK', + symbol: [81, 67, 75], + id: '29', + decimals: 6, + ratio: { + n: '1', + d: '30', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-9', + base_denom: 'uqck', + }, + }, + existential_deposit: '333300', + existentialDeposit: '333300', + exchangeRate: '0.00823899', + }, + { + name: 'MOVR', + symbol: [77, 79, 86, 82], + id: '23', + decimals: 18, + ratio: { + n: '40900', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2023', + }, + { + PalletInstance: '10', + }, + ], + }, + }, + }, + }, + existential_deposit: '4100000000000000', + existentialDeposit: '4100000000000000', + exchangeRate: '8.81', + }, + { + name: 'USDT Kusama', + symbol: [85, 83, 68, 84, 32, 75, 117, 115, 97, 109, 97], + id: '130', + decimals: 6, + ratio: { + n: '2', + d: '10000000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '1000', + }, + { + PalletInstance: '50', + }, + { + GeneralIndex: '1984', + }, + ], + }, + }, + }, + }, + existential_deposit: '1500', + existentialDeposit: '1500', + exchangeRate: '1', + }, + { + name: 'STRD', + symbol: [83, 84, 82, 68], + id: '9', + decimals: 6, + ratio: { + n: '18', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'ustrd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '0.640319', + }, + { + name: 'PICA', + symbol: [80, 73, 67, 65], + id: '1', + decimals: 12, + ratio: null, + foreign_id: null, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + exchangeRate: '0.00051113', + }, + { + name: 'BNC_KSM', + symbol: [66, 78, 67, 32, 75, 117, 115, 97, 109, 97], + id: '31', + decimals: 12, + ratio: { + n: '11', + d: '10', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '11000000000', + existentialDeposit: '11000000000', + exchangeRate: '0.188741', + }, + { + name: 'SDN', + symbol: [83, 68, 110], + id: '2007', + decimals: 18, + ratio: { + n: '1000000', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2007', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: '0.129428', + }, + { + name: 'BLD', + symbol: [66, 76, 68], + id: '18', + decimals: 6, + ratio: { + n: '12', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'ubld', + }, + }, + existential_deposit: '120000', + existentialDeposit: '120000', + exchangeRate: '0.054234', + }, + // { + // name: 'Equilibrium USD', //does not support + // symbol: [69, 81, 68], + // id: '127', + // decimals: 9, + // ratio: { + // n: '2', + // d: '100000', + // }, + // foreign_id: { + // IbcIcs20: { + // trace_path: 'transfer/channel-15', + // base_denom: '79228162514264337593543950463', + // }, + // }, + // existential_deposit: '200000', + // existentialDeposit: '200000', + // }, + { + name: 'Liquid Staked Kusama', + symbol: [108, 115, 75, 83, 77], + id: '20', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: null, + existential_deposit: '375000000', + existentialDeposit: '375000000', + }, + { + name: 'OSMO', + symbol: [79, 83, 77, 79], + id: '8', + decimals: 6, + ratio: { + n: '3', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-3', + base_denom: 'uosmo', + }, + }, + existential_deposit: '40000', + existentialDeposit: '40000', + exchangeRate: '0.370691', + }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '33', + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950369', + }, + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'Karura Dollar', + symbol: [107, 85, 83, 68], + id: '129', + decimals: 12, + ratio: { + n: '1', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2000', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + }, + { + name: 'wSOL', + symbol: [119, 83, 79, 76], + id: '3', + decimals: 9, + ratio: { + n: '8350000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-71/transfer/channel-17', + base_denom: 'So11111111111111111111111111111111111111112', + }, + }, + existential_deposit: '5620', + existentialDeposit: '5620', + exchangeRate: '129.33', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '2006', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952342', + }, + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'stATOM', + symbol: [115, 116, 65, 84, 79, 77], + id: '10', + decimals: 6, + ratio: { + n: '18', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'stuatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + }, + { + name: 'NTRN', + symbol: [78, 84, 82, 78], + id: '12', + decimals: 6, + ratio: { + n: '5', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-18', + base_denom: 'untrn', + }, + }, + existential_deposit: '60000', + existentialDeposit: '60000', + exchangeRate: '0.341433', + }, + { + name: 'ATOM', + symbol: [65, 84, 79, 77], + id: '7', + decimals: 6, + ratio: { + n: '2', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-4', + base_denom: 'uatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + exchangeRate: '3.69', + }, + { + name: 'UMEE', + symbol: [85, 77, 69, 69], + id: '17', + decimals: 6, + ratio: { + n: '5', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-20', + base_denom: 'uumee', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00089998', + }, + { + name: 'ETH', + symbol: [69, 84, 72], + id: '2', + decimals: 18, + ratio: { + n: '19', + d: '100', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-52/transfer/channel-17', + base_denom: 'wei', + }, + }, + existential_deposit: '200000000000', + existentialDeposit: '200000000000', + exchangeRate: '2297.69', + }, + { + name: 'Equilibrium', + symbol: [69, 81], + id: '2011', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952347', + }, + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'XLM', + symbol: [88, 76, 77], + id: '45', + decimals: 12, + ratio: { + n: '5', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '2124', + }, + { + PalletInstance: '53', + }, + { + GeneralIndex: '2', + }, + ], + }, + }, + }, + }, + existential_deposit: '2000000000000', + existentialDeposit: '2000000000000', + }, + { + name: 'IST', + symbol: [73, 83, 84], + id: '25', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'uist', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.002', + }, + { + name: 'CRE', + symbol: [67, 82, 69], + id: '13', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ucre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00009829', + }, + { + name: 'GLMR', + symbol: [71, 76, 77, 82], + id: '40', + decimals: 18, + ratio: { + n: '400000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79,228,162,514,264,337,593,543,950,376', + }, + }, + existential_deposit: '40000000000000000', + existentialDeposit: '40000000000000000', + exchangeRate: '0.150156', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '6', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950342', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'KUJI', + symbol: [75, 85, 74, 73], + id: '28', + decimals: 6, + ratio: { + n: '3', + d: '50000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'ukuji', + }, + }, + existential_deposit: '6006', + existentialDeposit: '6006', + exchangeRate: '0.412083', + }, + { + name: 'KSM', + symbol: [75, 83, 77], + id: '4', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: 'Here', + }, + }, + }, + existential_deposit: '375000000', + existentialDeposit: '375000000', + exchangeRate: '17.98', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '34', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950370', + }, + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'INJ', + symbol: [73, 78, 74], + id: '24', + decimals: 18, + ratio: { + n: '12500', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-29', + base_denom: 'inj', + }, + }, + existential_deposit: '1250000000000000', + existentialDeposit: '1250000000000000', + exchangeRate: '16.38', + }, + { + name: 'TIA', + symbol: [84, 73, 65], + id: '19', + decimals: 6, + ratio: { + n: '85', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-38', + base_denom: 'utia', + }, + }, + existential_deposit: '9000', + existentialDeposit: '9000', + exchangeRate: '4.01', + }, + { + name: 'vKSM', + symbol: [118, 75, 83, 77], + id: '32', + decimals: 12, + ratio: { + n: '8', + d: '1000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '1000000000', + existentialDeposit: '1000000000', + exchangeRate: '25.876857207706724', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '27', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950351', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'SCRT', + symbol: [83, 67, 82, 84], + id: '15', + decimals: 6, + ratio: { + n: '6', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-14', + base_denom: 'uscrt', + }, + }, + existential_deposit: '70000', + existentialDeposit: '70000', + exchangeRate: '0.192984', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '150', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950486', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'TNKR', + symbol: [84, 78, 75, 82], + id: '2125', + decimals: 12, + ratio: { + n: '3', + d: '100', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2125', + }, + { + GeneralIndex: '0', + }, + ], + }, + }, + }, + }, + existential_deposit: '135000000000', + existentialDeposit: '135000000000', + exchangeRate: 0, + }, + { + name: 'STARS', + symbol: [83, 84, 65, 82, 83], + id: '11', + decimals: 6, + ratio: { + n: '18', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-6', + base_denom: 'ustars', + }, + }, + existential_deposit: '2000000', + existentialDeposit: '2000000', + exchangeRate: '0.00670642', + }, + { + name: 'bCRE', + symbol: [98, 67, 82, 69], + id: '14', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ubcre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00012694', + }, + { + name: 'HUAHUA', + symbol: [72, 85, 65, 72, 85, 65], + id: '420', + decimals: 6, + ratio: null, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-0', + base_denom: 'uhuahua', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00004107', + }, + { + name: 'AMPE', + symbol: [65, 77, 80, 69], + id: '44', + decimals: 12, + ratio: { + n: '1', + d: '8', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2124', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: 0, + }, +]; diff --git a/dist/config/tokensPerChannel.js b/dist/config/tokensPerChannel.js index 41ef455a..81bb9d02 100644 --- a/dist/config/tokensPerChannel.js +++ b/dist/config/tokensPerChannel.js @@ -114,41 +114,6 @@ exports.tokensPerChannel = { ] } }, - "ethereum": { - "2": { - "chainId": "centauri-1", - "destinationId": 52, - "tokens": [ - "PICA", - "ETH", - "DAI", - "FXS", - "sFRAX", - "sfrxETH", - "OSMO", - "ENA", - "FRAX", - "frxETH", - "wBTC", - "pxETH", - "PEPE", - "CRV", - "rETH", - "crvUSD", - "eETH", - "USDe", - "USDT Ethereum", - "stETH", - "ATOM", - "IST", - "stATOM", - "BLD", - "SEI", - "SCRT", - "STRD" - ] - } - }, "injective-1": { "145": { "chainId": "centauri-1", @@ -473,6 +438,41 @@ exports.tokensPerChannel = { ] } }, + "ethereum": { + "2": { + "chainId": "centauri-1", + "destinationId": 52, + "tokens": [ + "PICA", + "ETH", + "DAI", + "FXS", + "sFRAX", + "sfrxETH", + "OSMO", + "ENA", + "FRAX", + "frxETH", + "wBTC", + "pxETH", + "PEPE", + "CRV", + "rETH", + "crvUSD", + "eETH", + "USDe", + "USDT Ethereum", + "stETH", + "ATOM", + "IST", + "stATOM", + "BLD", + "SEI", + "SCRT", + "STRD" + ] + } + }, "solana": { "1": { "chainId": "centauri-1", diff --git a/dist/scripts/generate-helper.js b/dist/scripts/generate-helper.js index 9c279850..f7b4e296 100644 --- a/dist/scripts/generate-helper.js +++ b/dist/scripts/generate-helper.js @@ -50,6 +50,23 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { Object.defineProperty(exports, "__esModule", { value: true }); var fs = __importStar(require("fs")); var path = __importStar(require("path")); +var getFeeAssetId = function (data) { + var _a, _b, _c, _d; + var coin = data.currencies.filter(function (item) { return item.isCoin; }); + if (data.chainType === 'polkadot') { + if (data.polkadot.relayChain === 'kusama') + return ((_b = (_a = coin[0]) === null || _a === void 0 ? void 0 : _a.polkadot) === null || _b === void 0 ? void 0 : _b.picassoAssetId) || ''; + if (data.polkadot.relayChain === 'polkadot') { + return ((_d = (_c = coin[0]) === null || _c === void 0 ? void 0 : _c.polkadot) === null || _d === void 0 ? void 0 : _d.composableAssetId) || ''; + } + } + if (data.chainType === 'cosmos') + return coin[0].cosmos.minimalDenom; + if (data.chainType === 'solana') + return coin[0].solana.minimalDenom; + if (data.chainType === 'ethereum') + return coin[0].ethereum.minimalDenom; +}; var dataDir = path.join(__dirname, '../config/json'); var ethereumOutputFilePath = path.join(__dirname, '../config/ethereumAssets.ts'); var solanaOutputFilePath = path.join(__dirname, '../config/solanaAssets.ts'); @@ -71,6 +88,8 @@ var processFiles = function () { }; var networks = {}; var keplrChains = {}; + var temp = []; + var temp2 = []; var files = fs .readdirSync(dataDir) .filter(function (file) { return file.endsWith('.json'); }) @@ -85,10 +104,11 @@ var processFiles = function () { .sort(function (a, b) { return Number(a.birthtime) - Number(b.birthtime); }) // 생성 날짜 기준 오름차순 정렬 .map(function (fileInfo) { return fileInfo.file; }); // 정렬 후 파일 이름만 추출 files.forEach(function (file) { - var _a, _b; + var _a; var filePath = path.join(dataDir, file); var data = JSON.parse(fs.readFileSync(filePath, 'utf-8')); // generate networks + var coin = data.currencies.filter(function (item) { return item.isCoin; }); networks[data.chainId] = { name: data.chainName || '', image: data.chainSymbolImageUrl || '', @@ -96,11 +116,11 @@ var processFiles = function () { rest: data.rest || '', chainType: data.chainType || '', chainId: data.chainId || '', - feeAssetId: ((_a = data.currencies[0]) === null || _a === void 0 ? void 0 : _a.coinDenom) || '', + feeAssetId: getFeeAssetId(data) || '', polkadot: data.polkadot || undefined, cosmos: data.cosmos || undefined, enabled: data.enabled || false, - network_to: __spreadArray(__spreadArray([], __read((((_b = data.polkadot) === null || _b === void 0 ? void 0 : _b['hops']) ? Object.keys(data.polkadot['hops']) : [])), false), __read(Object.values(data.channelMap || {}).map(function (item) { return item.chainId; })), false), + network_to: __spreadArray(__spreadArray([], __read((((_a = data.polkadot) === null || _a === void 0 ? void 0 : _a['hops']) ? Object.keys(data.polkadot['hops']) : [])), false), __read(Object.values(data.channelMap || {}).map(function (item) { return item.chainId; })), false), }; if (data.chainType === 'cosmos') { keplrChains[data.chainId] = { @@ -117,7 +137,7 @@ var processFiles = function () { coinMinimalDenom: item.coinMinimalDenom, }); }), features: [], - feeCurrencies: data.feeCurrencies.map(function (item) { return ({ + feeCurrencies: coin.map(function (item) { return ({ coinDecimals: item.coinDecimals, coinDenom: item.coinDenom, coinGeckoId: item.coinGeckoId, @@ -128,11 +148,11 @@ var processFiles = function () { rest: data.rest, rpc: data.rpc, stakeCurrency: { - coinDecimals: data.currencies[0].coinDecimals, - coinDenom: data.currencies[0].coinDenom, - coinGeckoId: data.currencies[0].coinGeckoId, - coinMinimalDenom: data.currencies[0].coinMinimalDenom, - coinImageUrl: data.currencies[0].coinImageUrl, + coinDecimals: coin[0].coinDecimals, + coinDenom: coin[0].coinDenom, + coinGeckoId: coin[0].coinGeckoId, + coinMinimalDenom: coin[0].coinMinimalDenom, + coinImageUrl: coin[0].coinImageUrl, }, walletUrlForStaking: data.cosmos.walletUrlForStaking, }; diff --git a/dist/scripts/generate-multihop.d.ts b/dist/scripts/generate-multihop.d.ts new file mode 100644 index 00000000..8304b7e1 --- /dev/null +++ b/dist/scripts/generate-multihop.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=generate-multihop.d.ts.map \ No newline at end of file diff --git a/dist/scripts/generate-multihop.d.ts.map b/dist/scripts/generate-multihop.d.ts.map new file mode 100644 index 00000000..a270979f --- /dev/null +++ b/dist/scripts/generate-multihop.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-multihop.d.ts","sourceRoot":"","sources":["../../src/scripts/generate-multihop.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/scripts/generate-multihop.js b/dist/scripts/generate-multihop.js new file mode 100644 index 00000000..d33002bf --- /dev/null +++ b/dist/scripts/generate-multihop.js @@ -0,0 +1,73 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var polkadot_1 = require("../chains/polkadot"); +var path_1 = __importDefault(require("path")); +var fs = require('fs'); +var multihopRouteFilePath = path_1.default.join(__dirname, '../config/multihopRoute.ts'); +var fetchMultihopPaths = function () { return __awaiter(void 0, void 0, void 0, function () { + var polkadotComposable, kusamaPicasso, result, multihopOutputContent, error_1; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + _a.trys.push([0, 3, , 4]); + return [4 /*yield*/, (0, polkadot_1.getMultihopPath)('polkadot', '2019')]; + case 1: + polkadotComposable = _a.sent(); + return [4 /*yield*/, (0, polkadot_1.getMultihopPath)('kusama', '2087')]; + case 2: + kusamaPicasso = _a.sent(); + result = polkadotComposable.concat(kusamaPicasso); + multihopOutputContent = "\n // [GENERATED]\n import { MultihopRoutePath } from \"../chains/polkadot/types\";\n\n \n export const multihopRoute :MultihopRoutePath[]= ".concat(JSON.stringify(result, null, 2), " ;\n \n "); + fs.writeFileSync(multihopRouteFilePath, multihopOutputContent, 'utf-8'); + // save as tsfile + // fs.writeFileSync('result.json', JSON.stringify(result, null, 2)); + process.exit(0); + return [2 /*return*/]; + case 3: + error_1 = _a.sent(); + console.error('Error fetching multihop paths:', error_1); + return [3 /*break*/, 4]; + case 4: return [2 /*return*/]; + } + }); +}); }; +fetchMultihopPaths(); diff --git a/package-lock.json b/package-lock.json index 0d890331..0b438e7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,22 @@ { "name": "picasso-sdk", - "version": "0.3.86", + "version": "0.3.110", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "picasso-sdk", - "version": "0.3.86", + "version": "0.3.110", "license": "ISC", "dependencies": { "@coral-xyz/anchor": "^0.29.0", "@cosmjs/stargate": "^0.31.0-alpha.2", - "@polkadot/util-crypto": "^13.0.2", + "@polkadot/api": "^11.3.1", + "@polkadot/extension-dapp": "^0.46.3", + "@polkadot/extension-inject": "^0.46.3", + "@polkadot/keyring": "12.2.1", + "@polkadot/util": "^12.2.1", + "@polkadot/util-crypto": "^12.2.1", "@solana/spl-token": "^0.3.10", "@solana/web3.js": "^1.87.6", "axios": "^1.3.4", @@ -30,6 +35,10 @@ }, "devDependencies": { "@keplr-wallet/types": "^0.11.26", + "@polkadot/api-base": "^11.3.1", + "@polkadot/rpc-core": "^11.3.1", + "@polkadot/types": "^11.3.1", + "@polkadot/types-codec": "^11.3.1", "@types/jest": "^29.5.12", "husky": "^9.1.4", "jest": "^29.7.0", @@ -2002,28 +2011,906 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/@polkadot-api/client": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/client/-/client-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-0fqK6pUKcGHSG2pBvY+gfSS+1mMdjd/qRygAcKI5d05tKsnZLRnmhb9laDguKmGEIB0Bz9vQqNK3gIN/cfvVwg==", + "optional": true, + "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" + } + }, + "node_modules/@polkadot-api/client/node_modules/@polkadot-api/metadata-builders": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-BD7rruxChL1VXt0icC2gD45OtT9ofJlql0qIllHSRYgama1CR2Owt+ApInQxB+lWqM+xNOznZRpj8CXNDvKIMg==", + "optional": true, + "dependencies": { + "@polkadot-api/substrate-bindings": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "@polkadot-api/utils": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + } + }, + "node_modules/@polkadot-api/client/node_modules/@polkadot-api/substrate-bindings": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-N4vdrZopbsw8k57uG58ofO7nLXM4Ai7835XqakN27MkjXMp5H830A1KJE0L9sGQR7ukOCDEIHHcwXVrzmJ/PBg==", + "optional": true, + "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" + } + }, + "node_modules/@polkadot-api/client/node_modules/@polkadot-api/substrate-client": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-lcdvd2ssUmB1CPzF8s2dnNOqbrDa+nxaaGbuts+Vo8yjgSKwds2Lo7Oq+imZN4VKW7t9+uaVcKFLMF7PdH0RWw==", + "optional": true + }, + "node_modules/@polkadot-api/client/node_modules/@polkadot-api/utils": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-0CYaCjfLQJTCRCiYvZ81OncHXEKPzAexCMoVloR+v2nl/O2JRya/361MtPkeNLC6XBoaEgLAG9pWQpH3WePzsw==", + "optional": true + }, + "node_modules/@polkadot-api/json-rpc-provider": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.1.tgz", + "integrity": "sha512-/SMC/l7foRjpykLTUTacIH05H3mr9ip8b5xxfwXlVezXrNVLp3Cv0GX6uItkKd+ZjzVPf3PFrDF2B2/HLSNESA==", + "optional": true + }, + "node_modules/@polkadot-api/json-rpc-provider-proxy": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.0.1.tgz", + "integrity": "sha512-gmVDUP8LpCH0BXewbzqXF2sdHddq1H1q+XrAW2of+KZj4woQkIGBRGTJHeBEVHe30EB+UejR1N2dT4PO/RvDdg==", + "optional": true + }, + "node_modules/@polkadot-api/metadata-builders": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.0.1.tgz", + "integrity": "sha512-GCI78BHDzXAF/L2pZD6Aod/yl82adqQ7ftNmKg51ixRL02JpWUA+SpUKTJE5MY1p8kiJJIo09P2um24SiJHxNA==", + "optional": true, + "dependencies": { + "@polkadot-api/substrate-bindings": "0.0.1", + "@polkadot-api/utils": "0.0.1" + } + }, + "node_modules/@polkadot-api/observable-client": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.1.0.tgz", + "integrity": "sha512-GBCGDRztKorTLna/unjl/9SWZcRmvV58o9jwU2Y038VuPXZcr01jcw/1O3x+yeAuwyGzbucI/mLTDa1QoEml3A==", + "optional": true, + "dependencies": { + "@polkadot-api/metadata-builders": "0.0.1", + "@polkadot-api/substrate-bindings": "0.0.1", + "@polkadot-api/substrate-client": "0.0.1", + "@polkadot-api/utils": "0.0.1" + }, + "peerDependencies": { + "rxjs": ">=7.8.0" + } + }, + "node_modules/@polkadot-api/substrate-bindings": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.0.1.tgz", + "integrity": "sha512-bAe7a5bOPnuFVmpv7y4BBMRpNTnMmE0jtTqRUw/+D8ZlEHNVEJQGr4wu3QQCl7k1GnSV1wfv3mzIbYjErEBocg==", + "optional": true, + "dependencies": { + "@noble/hashes": "^1.3.1", + "@polkadot-api/utils": "0.0.1", + "@scure/base": "^1.1.1", + "scale-ts": "^1.6.0" + } + }, + "node_modules/@polkadot-api/substrate-client": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.0.1.tgz", + "integrity": "sha512-9Bg9SGc3AwE+wXONQoW8GC00N3v6lCZLW74HQzqB6ROdcm5VAHM4CB/xRzWSUF9CXL78ugiwtHx3wBcpx4H4Wg==", + "optional": true + }, + "node_modules/@polkadot-api/utils": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.0.1.tgz", + "integrity": "sha512-3j+pRmlF9SgiYDabSdZsBSsN5XHbpXOAce1lWj56IEEaFZVjsiCaxDOA7C9nCcgfVXuvnbxqqEGQvnY+QfBAUw==", + "optional": true + }, + "node_modules/@polkadot/api": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-11.3.1.tgz", + "integrity": "sha512-q4kFIIHTLvKxM24b0Eo8hJevsPMme+aITJGrDML9BgdZYTRN14+cu5nXiCsQvaEamdyYj+uCXWe2OV9X7pPxsA==", + "dependencies": { + "@polkadot/api-augment": "11.3.1", + "@polkadot/api-base": "11.3.1", + "@polkadot/api-derive": "11.3.1", + "@polkadot/keyring": "^12.6.2", + "@polkadot/rpc-augment": "11.3.1", + "@polkadot/rpc-core": "11.3.1", + "@polkadot/rpc-provider": "11.3.1", + "@polkadot/types": "11.3.1", + "@polkadot/types-augment": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/types-create": "11.3.1", + "@polkadot/types-known": "11.3.1", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "eventemitter3": "^5.0.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/api-augment": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-11.3.1.tgz", + "integrity": "sha512-Yj+6rb6h0WwY3yJ+UGhjGW+tyMRFUMsKQuGw+eFsXdjiNU9UoXsAqA2dG7Q1F+oeX/g+y2gLGBezNoCwbl6HfA==", + "dependencies": { + "@polkadot/api-base": "11.3.1", + "@polkadot/rpc-augment": "11.3.1", + "@polkadot/types": "11.3.1", + "@polkadot/types-augment": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/api-base": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-11.3.1.tgz", + "integrity": "sha512-b8UkNL00NN7+3QaLCwL5cKg+7YchHoKCAhwKusWHNBZkkO6Oo2BWilu0dZkPJOyqV9P389Kbd9+oH+SKs9u2VQ==", + "dependencies": { + "@polkadot/rpc-core": "11.3.1", + "@polkadot/types": "11.3.1", + "@polkadot/util": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/api-derive": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-11.3.1.tgz", + "integrity": "sha512-9dopzrh4cRuft1nANmBvMY/hEhFDu0VICMTOGxQLOl8NMfcOFPTLAN0JhSBUoicGZhV+c4vpv01NBx/7/IL1HA==", + "dependencies": { + "@polkadot/api": "11.3.1", + "@polkadot/api-augment": "11.3.1", + "@polkadot/api-base": "11.3.1", + "@polkadot/rpc-core": "11.3.1", + "@polkadot/types": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/api/node_modules/@polkadot/keyring": { + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.6.2.tgz", + "integrity": "sha512-O3Q7GVmRYm8q7HuB3S0+Yf/q/EB2egKRRU3fv9b3B7V+A52tKzA+vIwEmNVaD1g5FKW9oB97rmpggs0zaKFqHw==", + "dependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2" + } + }, + "node_modules/@polkadot/extension-dapp": { + "version": "0.46.9", + "resolved": "https://registry.npmjs.org/@polkadot/extension-dapp/-/extension-dapp-0.46.9.tgz", + "integrity": "sha512-y5udSeQ/X9MEoyjlpTcCn0UAEjZ2jjy6U3V/jiVFQo5vBKhdqAhN1oN8X5c4yWurmhYM/7oibImxAjEoXuwH+Q==", + "dependencies": { + "@polkadot/extension-inject": "0.46.9", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/api": "*", + "@polkadot/util": "*", + "@polkadot/util-crypto": "*" + } + }, + "node_modules/@polkadot/extension-inject": { + "version": "0.46.9", + "resolved": "https://registry.npmjs.org/@polkadot/extension-inject/-/extension-inject-0.46.9.tgz", + "integrity": "sha512-m0jnrs9+jEOpMH6OUNl7nHpz9SFFWK9LzuqB8T3htEE3RUYPL//SLCPyEKxAAgHu7F8dgkUHssAWQfANofALCQ==", + "dependencies": { + "@polkadot/api": "^10.12.4", + "@polkadot/rpc-provider": "^10.12.4", + "@polkadot/types": "^10.12.4", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "@polkadot/x-global": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/api": "*", + "@polkadot/util": "*" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot-api/json-rpc-provider": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-EaUS9Fc3wsiUr6ZS43PQqaRScW7kM6DYbuM/ou0aYjm8N9MBqgDbGm2oL6RE1vAVmOfEuHcXZuZkhzWtyvQUtA==", + "optional": true + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot-api/json-rpc-provider-proxy": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-0hZ8vtjcsyCX8AyqP2sqUHa1TFFfxGWmlXJkit0Nqp9b32MwZqn5eaUAiV2rNuEpoglKOdKnkGtUF8t5MoodKw==", + "optional": true + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot-api/substrate-client": { + "version": "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz", + "integrity": "sha512-lcdvd2ssUmB1CPzF8s2dnNOqbrDa+nxaaGbuts+Vo8yjgSKwds2Lo7Oq+imZN4VKW7t9+uaVcKFLMF7PdH0RWw==", + "optional": true + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/api": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-10.13.1.tgz", + "integrity": "sha512-YrKWR4TQR5CDyGkF0mloEUo7OsUA+bdtENpJGOtNavzOQUDEbxFE0PVzokzZfVfHhHX2CojPVmtzmmLxztyJkg==", + "dependencies": { + "@polkadot/api-augment": "10.13.1", + "@polkadot/api-base": "10.13.1", + "@polkadot/api-derive": "10.13.1", + "@polkadot/keyring": "^12.6.2", + "@polkadot/rpc-augment": "10.13.1", + "@polkadot/rpc-core": "10.13.1", + "@polkadot/rpc-provider": "10.13.1", + "@polkadot/types": "10.13.1", + "@polkadot/types-augment": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/types-create": "10.13.1", + "@polkadot/types-known": "10.13.1", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "eventemitter3": "^5.0.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/api-augment": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-10.13.1.tgz", + "integrity": "sha512-IAKaCp19QxgOG4HKk9RAgUgC/VNVqymZ2GXfMNOZWImZhxRIbrK+raH5vN2MbWwtVHpjxyXvGsd1RRhnohI33A==", + "dependencies": { + "@polkadot/api-base": "10.13.1", + "@polkadot/rpc-augment": "10.13.1", + "@polkadot/types": "10.13.1", + "@polkadot/types-augment": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/api-base": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-10.13.1.tgz", + "integrity": "sha512-Okrw5hjtEjqSMOG08J6qqEwlUQujTVClvY1/eZkzKwNzPelWrtV6vqfyJklB7zVhenlxfxqhZKKcY7zWSW/q5Q==", + "dependencies": { + "@polkadot/rpc-core": "10.13.1", + "@polkadot/types": "10.13.1", + "@polkadot/util": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/api-derive": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-10.13.1.tgz", + "integrity": "sha512-ef0H0GeCZ4q5Om+c61eLLLL29UxFC2/u/k8V1K2JOIU+2wD5LF7sjAoV09CBMKKHfkLenRckVk2ukm4rBqFRpg==", + "dependencies": { + "@polkadot/api": "10.13.1", + "@polkadot/api-augment": "10.13.1", + "@polkadot/api-base": "10.13.1", + "@polkadot/rpc-core": "10.13.1", + "@polkadot/types": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/keyring": { + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.6.2.tgz", + "integrity": "sha512-O3Q7GVmRYm8q7HuB3S0+Yf/q/EB2egKRRU3fv9b3B7V+A52tKzA+vIwEmNVaD1g5FKW9oB97rmpggs0zaKFqHw==", + "dependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/rpc-augment": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-10.13.1.tgz", + "integrity": "sha512-iLsWUW4Jcx3DOdVrSHtN0biwxlHuTs4QN2hjJV0gd0jo7W08SXhWabZIf9mDmvUJIbR7Vk+9amzvegjRyIf5+A==", + "dependencies": { + "@polkadot/rpc-core": "10.13.1", + "@polkadot/types": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/rpc-core": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-10.13.1.tgz", + "integrity": "sha512-eoejSHa+/tzHm0vwic62/aptTGbph8vaBpbvLIK7gd00+rT813ROz5ckB1CqQBFB23nHRLuzzX/toY8ID3xrKw==", + "dependencies": { + "@polkadot/rpc-augment": "10.13.1", + "@polkadot/rpc-provider": "10.13.1", + "@polkadot/types": "10.13.1", + "@polkadot/util": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/rpc-provider": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-10.13.1.tgz", + "integrity": "sha512-oJ7tatVXYJ0L7NpNiGd69D558HG5y5ZDmH2Bp9Dd4kFTQIiV8A39SlWwWUPCjSsen9lqSvvprNLnG/VHTpenbw==", + "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", + "eventemitter3": "^5.0.1", + "mock-socket": "^9.3.1", + "nock": "^13.5.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@substrate/connect": "0.8.8" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/types": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-10.13.1.tgz", + "integrity": "sha512-Hfvg1ZgJlYyzGSAVrDIpp3vullgxrjOlh/CSThd/PI4TTN1qHoPSFm2hs77k3mKkOzg+LrWsLE0P/LP2XddYcw==", + "dependencies": { + "@polkadot/keyring": "^12.6.2", + "@polkadot/types-augment": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/types-create": "10.13.1", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/types-augment": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-10.13.1.tgz", + "integrity": "sha512-TcrLhf95FNFin61qmVgOgayzQB/RqVsSg9thAso1Fh6pX4HSbvI35aGPBAn3SkA6R+9/TmtECirpSNLtIGFn0g==", + "dependencies": { + "@polkadot/types": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/types-codec": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-10.13.1.tgz", + "integrity": "sha512-AiQ2Vv2lbZVxEdRCN8XSERiWlOWa2cTDLnpAId78EnCtx4HLKYQSd+Jk9Y4BgO35R79mchK4iG+w6gZ+ukG2bg==", + "dependencies": { + "@polkadot/util": "^12.6.2", + "@polkadot/x-bigint": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/types-create": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-10.13.1.tgz", + "integrity": "sha512-Usn1jqrz35SXgCDAqSXy7mnD6j4RvB4wyzTAZipFA6DGmhwyxxIgOzlWQWDb+1PtPKo9vtMzen5IJ+7w5chIeA==", + "dependencies": { + "@polkadot/types-codec": "10.13.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/types-known": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-10.13.1.tgz", + "integrity": "sha512-uHjDW05EavOT5JeU8RbiFWTgPilZ+odsCcuEYIJGmK+es3lk/Qsdns9Zb7U7NJl7eJ6OWmRtyrWsLs+bU+jjIQ==", + "dependencies": { + "@polkadot/networks": "^12.6.2", + "@polkadot/types": "10.13.1", + "@polkadot/types-codec": "10.13.1", + "@polkadot/types-create": "10.13.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@polkadot/types-support": { + "version": "10.13.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-10.13.1.tgz", + "integrity": "sha512-4gEPfz36XRQIY7inKq0HXNVVhR6HvXtm7yrEmuBuhM86LE0lQQBkISUSgR358bdn2OFSLMxMoRNoh3kcDvdGDQ==", + "dependencies": { + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@substrate/connect": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.8.8.tgz", + "integrity": "sha512-zwaxuNEVI9bGt0rT8PEJiXOyebLIo6QN1SyiAHRPBOl6g3Sy0KKdSN8Jmyn++oXhVRD8aIe75/V8ZkS81T+BPQ==", + "deprecated": "versions below 1.x are no longer maintained", + "optional": true, + "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" + } + }, + "node_modules/@polkadot/extension-inject/node_modules/@substrate/light-client-extension-helpers": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-0.0.4.tgz", + "integrity": "sha512-vfKcigzL0SpiK+u9sX6dq2lQSDtuFLOxIJx2CKPouPEHIs8C+fpsufn52r19GQn+qDhU8POMPHOVoqLktj8UEA==", + "optional": true, + "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" + } + }, + "node_modules/@polkadot/keyring": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.2.1.tgz", + "integrity": "sha512-YqgpU+97OZgnSUL56DEMib937Dpb1bTTDPYHhBiN1yNCKod7UboWXIe4xPh+1Kzugum+dEyPpdV+fHH10rtDzw==", + "dependencies": { + "@polkadot/util": "12.2.1", + "@polkadot/util-crypto": "12.2.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@polkadot/util": "12.2.1", + "@polkadot/util-crypto": "12.2.1" + } + }, + "node_modules/@polkadot/keyring/node_modules/@noble/curves": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", + "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "@noble/hashes": "1.3.0" + } + }, + "node_modules/@polkadot/keyring/node_modules/@noble/hashes": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", + "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/networks": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-12.2.1.tgz", + "integrity": "sha512-lYLvFv6iQ2UzkP66zJfsiTo2goeaNeKuwiaGoRoFrDwdwVeZK/+rCsz1uAyvbwmpZIaK8K+dTlSBVWlFoAkgcA==", + "dependencies": { + "@polkadot/util": "12.2.1", + "@substrate/ss58-registry": "^1.40.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/util": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-12.2.1.tgz", + "integrity": "sha512-MQmPx9aCX4GTpDY/USUQywXRyaDbaibg4V1+c/CoRTsoDu+XHNM8G3lpabdNAYKZrtxg+3/1bTS0ojm6ANSQRw==", + "dependencies": { + "@polkadot/x-bigint": "12.2.1", + "@polkadot/x-global": "12.2.1", + "@polkadot/x-textdecoder": "12.2.1", + "@polkadot/x-textencoder": "12.2.1", + "@types/bn.js": "^5.1.1", + "bn.js": "^5.2.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/util-crypto": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-12.2.1.tgz", + "integrity": "sha512-MFh7Sdm7/G9ot5eIBZGuQXTYP/EbOCh1+ODyygp9/TjWAmJZMq1J73Uqk4KmzkwpDBpNZO8TGjiYwL8lR6BnGg==", + "dependencies": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@polkadot/networks": "12.2.1", + "@polkadot/util": "12.2.1", + "@polkadot/wasm-crypto": "^7.2.1", + "@polkadot/wasm-util": "^7.2.1", + "@polkadot/x-bigint": "12.2.1", + "@polkadot/x-randomvalues": "12.2.1", + "@scure/base": "1.1.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@polkadot/util": "12.2.1" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/x-bigint": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-12.2.1.tgz", + "integrity": "sha512-3cZLsV8kU1MFOTcyloeg61CF+qdBkbZxWZJkSjh4AGlPXy+2tKwwoBPExxfCWXK61+Lo/q3/U1+lln8DSBCI2A==", + "dependencies": { + "@polkadot/x-global": "12.2.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/x-global": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-12.2.1.tgz", + "integrity": "sha512-JNMziAZjvfzMrXASuBPCvSzEqlhsgw0x95SOBtqJWsxmbCMAiZbYAC51vI1B9Z9wiKuzPtSh9Sk7YHsUOGCrIQ==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/x-randomvalues": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-12.2.1.tgz", + "integrity": "sha512-NwSDLcLjgHa0C7Un54Yhg2/E3Y/PcVfW5QNB9TDyzDbkmod3ziaVhh0iWG0sOmm26K6Q3phY+0uYt0etq0Gu3w==", + "dependencies": { + "@polkadot/x-global": "12.2.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@polkadot/util": "12.2.1", + "@polkadot/wasm-util": "*" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/x-textdecoder": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-12.2.1.tgz", + "integrity": "sha512-5nQCIwyaGS0fXU2cbtMOSjFo0yTw1Z94m/UC+Gu5lm3ZU+kK4DpKFxhfLQORWAbvQkn12chRj3LI5Gm944hcrQ==", + "dependencies": { + "@polkadot/x-global": "12.2.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@polkadot/keyring/node_modules/@polkadot/x-textencoder": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-12.2.1.tgz", + "integrity": "sha512-Ou6OXypRsJloK5a7Kn7re3ImqcL26h22fVw1cNv4fsTgkRFUdJDgPux2TpCZ3N+cyrfGVv42xKYFbdKMQCczjg==", + "dependencies": { + "@polkadot/x-global": "12.2.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@polkadot/keyring/node_modules/@scure/base": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, "node_modules/@polkadot/networks": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-13.0.2.tgz", - "integrity": "sha512-ABAL+vug/gIwkdFEzeh87JoJd0YKrxSYg/HjUrZ+Zis2ucxQEKpvtCpJ34ku+YrjacBfVqIAkkwd3ZdIPGq9aQ==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-12.6.2.tgz", + "integrity": "sha512-1oWtZm1IvPWqvMrldVH6NI2gBoCndl5GEwx7lAuQWGr7eNL+6Bdc5K3Z9T0MzFvDGoi2/CBqjX9dRKo39pDC/w==", + "dependencies": { + "@polkadot/util": "12.6.2", + "@substrate/ss58-registry": "^1.44.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/rpc-augment": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-11.3.1.tgz", + "integrity": "sha512-2PaDcKNju4QYQpxwVkWbRU3M0t340nMX9cMo+8awgvgL1LliV/fUDZueMKLuSS910JJMTPQ7y2pK4eQgMt08gQ==", + "dependencies": { + "@polkadot/rpc-core": "11.3.1", + "@polkadot/types": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/rpc-core": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-11.3.1.tgz", + "integrity": "sha512-KKNepsDd/mpmXcA6v/h14eFFPEzLGd7nrvx2UUXUxoZ0Fq2MH1hplP3s93k1oduNY/vOXJR2K9S4dKManA6GVQ==", + "dependencies": { + "@polkadot/rpc-augment": "11.3.1", + "@polkadot/rpc-provider": "11.3.1", + "@polkadot/types": "11.3.1", + "@polkadot/util": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/rpc-provider": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-11.3.1.tgz", + "integrity": "sha512-pqERChoHo45hd3WAgW8UuzarRF+G/o/eXEbl0PXLubiayw4X4qCmIzmtntUcKYgxGNcYGZaG87ZU8OjN97m6UA==", + "dependencies": { + "@polkadot/keyring": "^12.6.2", + "@polkadot/types": "11.3.1", + "@polkadot/types-support": "11.3.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", + "eventemitter3": "^5.0.1", + "mock-socket": "^9.3.1", + "nock": "^13.5.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@substrate/connect": "0.8.10" + } + }, + "node_modules/@polkadot/rpc-provider/node_modules/@polkadot/keyring": { + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.6.2.tgz", + "integrity": "sha512-O3Q7GVmRYm8q7HuB3S0+Yf/q/EB2egKRRU3fv9b3B7V+A52tKzA+vIwEmNVaD1g5FKW9oB97rmpggs0zaKFqHw==", + "dependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2" + } + }, + "node_modules/@polkadot/types": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-11.3.1.tgz", + "integrity": "sha512-5c7uRFXQTT11Awi6T0yFIdAfD6xGDAOz06Kp7M5S9OGNZY28wSPk5x6BYfNphWPaIBmHHewYJB5qmnrdYQAWKQ==", + "dependencies": { + "@polkadot/keyring": "^12.6.2", + "@polkadot/types-augment": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/types-create": "11.3.1", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "rxjs": "^7.8.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/types-augment": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-11.3.1.tgz", + "integrity": "sha512-eR3HVpvUmB3v7q2jTWVmVfAVfb1/kuNn7ij94Zqadg/fuUq0pKqIOKwkUj3OxRM3A/5BnW3MbgparjKD3r+fyw==", + "dependencies": { + "@polkadot/types": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/types-codec": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-11.3.1.tgz", + "integrity": "sha512-i7IiiuuL+Z/jFoKTA9xeh4wGQnhnNNjMT0+1ohvlOvnFsoKZKFQQOaDPPntGJVL1JDCV+KjkN2uQKZSeW8tguQ==", + "dependencies": { + "@polkadot/util": "^12.6.2", + "@polkadot/x-bigint": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/types-create": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-11.3.1.tgz", + "integrity": "sha512-pBXtpz5FehcRJ6j5MzFUIUN8ZWM7z6HbqK1GxBmYbJVRElcGcOg7a/rL2pQVphU0Rx1E8bSO4thzGf4wUxSX7w==", + "dependencies": { + "@polkadot/types-codec": "11.3.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/types-known": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-11.3.1.tgz", + "integrity": "sha512-3BIof7u6tn9bk3ZCIxA07iNoQ3uj4+vn3DTOjCKECozkRlt6V+kWRvqh16Hc0SHMg/QjcMb2fIu/WZhka1McUQ==", + "dependencies": { + "@polkadot/networks": "^12.6.2", + "@polkadot/types": "11.3.1", + "@polkadot/types-codec": "11.3.1", + "@polkadot/types-create": "11.3.1", + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/types-support": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-11.3.1.tgz", + "integrity": "sha512-jTFz1GKyF7nI29yIOq4v0NiWTOf5yX4HahJNeFD8TcxoLhF+6tH/XXqrUXJEfbaTlSrRWiW1LZYlb+snctqKHA==", + "dependencies": { + "@polkadot/util": "^12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/types/node_modules/@polkadot/keyring": { + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.6.2.tgz", + "integrity": "sha512-O3Q7GVmRYm8q7HuB3S0+Yf/q/EB2egKRRU3fv9b3B7V+A52tKzA+vIwEmNVaD1g5FKW9oB97rmpggs0zaKFqHw==", "dependencies": { - "@polkadot/util": "13.0.2", - "@substrate/ss58-registry": "^1.46.0", + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2", "tslib": "^2.6.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2" } }, "node_modules/@polkadot/util": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-13.0.2.tgz", - "integrity": "sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg==", - "dependencies": { - "@polkadot/x-bigint": "13.0.2", - "@polkadot/x-global": "13.0.2", - "@polkadot/x-textdecoder": "13.0.2", - "@polkadot/x-textencoder": "13.0.2", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-12.6.2.tgz", + "integrity": "sha512-l8TubR7CLEY47240uki0TQzFvtnxFIO7uI/0GoWzpYD/O62EIAMRsuY01N4DuwgKq2ZWD59WhzsLYmA5K6ksdw==", + "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" @@ -2033,18 +2920,18 @@ } }, "node_modules/@polkadot/util-crypto": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-13.0.2.tgz", - "integrity": "sha512-woUsJJ6zd/caL7U+D30a5oM/+WK9iNI00Y8aNUHSj6Zq/KPzK9uqDBaLGWwlgrejoMQkxxiU2X0f2LzP15AtQg==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-12.6.2.tgz", + "integrity": "sha512-FEWI/dJ7wDMNN1WOzZAjQoIcCP/3vz3wvAp5QQm+lOrzOLj0iDmaIGIcBkz8HVm3ErfSe/uKP0KS4jgV/ib+Mg==", "dependencies": { "@noble/curves": "^1.3.0", "@noble/hashes": "^1.3.3", - "@polkadot/networks": "13.0.2", - "@polkadot/util": "13.0.2", + "@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": "13.0.2", - "@polkadot/x-randomvalues": "13.0.2", + "@polkadot/x-bigint": "12.6.2", + "@polkadot/x-randomvalues": "12.6.2", "@scure/base": "^1.1.5", "tslib": "^2.6.2" }, @@ -2052,7 +2939,7 @@ "node": ">=18" }, "peerDependencies": { - "@polkadot/util": "13.0.2" + "@polkadot/util": "12.6.2" } }, "node_modules/@polkadot/wasm-bridge": { @@ -2154,21 +3041,51 @@ } }, "node_modules/@polkadot/x-bigint": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-13.0.2.tgz", - "integrity": "sha512-h2jKT/UaxiEal8LhQeH6+GCjO7GwEqVAD2SNYteCOXff6yNttqAZYJuHZsndbVjVNwqRNf8D5q/zZkD0HUd6xQ==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-12.6.2.tgz", + "integrity": "sha512-HSIk60uFPX4GOFZSnIF7VYJz7WZA7tpFJsne7SzxOooRwMTWEtw3fUpFy5cYYOeLh17/kHH1Y7SVcuxzVLc74Q==", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/x-fetch": { + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-12.6.2.tgz", + "integrity": "sha512-8wM/Z9JJPWN1pzSpU7XxTI1ldj/AfC8hKioBlUahZ8gUiJaOF7K9XEFCrCDLis/A1BoOu7Ne6WMx/vsJJIbDWw==", "dependencies": { - "@polkadot/x-global": "13.0.2", + "@polkadot/x-global": "12.6.2", + "node-fetch": "^3.3.2", "tslib": "^2.6.2" }, "engines": { "node": ">=18" } }, + "node_modules/@polkadot/x-fetch/node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, "node_modules/@polkadot/x-global": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.0.2.tgz", - "integrity": "sha512-OoNIXLB5y8vIKpk4R+XmpDPhipNXWSUvEwUnpQT7NAxNLmzgMq1FhbrwBWWPRNHPrQonp7mqxV/X+v5lv1HW/g==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-12.6.2.tgz", + "integrity": "sha512-a8d6m+PW98jmsYDtAWp88qS4dl8DyqUBsd0S+WgyfSMtpEXu6v9nXDgPZgwF5xdDvXhm+P0ZfVkVTnIGrScb5g==", "dependencies": { "tslib": "^2.6.2" }, @@ -2177,27 +3094,27 @@ } }, "node_modules/@polkadot/x-randomvalues": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-13.0.2.tgz", - "integrity": "sha512-SGj+L0H/7TWZtSmtkWlixO4DFzXDdluI0UscN2h285os2Ns8PnmBbue+iJ8PVSzpY1BOxd66gvkkpboPz+jXFQ==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-12.6.2.tgz", + "integrity": "sha512-Vr8uG7rH2IcNJwtyf5ebdODMcr0XjoCpUbI91Zv6AlKVYOGKZlKLYJHIwpTaKKB+7KPWyQrk4Mlym/rS7v9feg==", "dependencies": { - "@polkadot/x-global": "13.0.2", + "@polkadot/x-global": "12.6.2", "tslib": "^2.6.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@polkadot/util": "13.0.2", + "@polkadot/util": "12.6.2", "@polkadot/wasm-util": "*" } }, "node_modules/@polkadot/x-textdecoder": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-13.0.2.tgz", - "integrity": "sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-12.6.2.tgz", + "integrity": "sha512-M1Bir7tYvNappfpFWXOJcnxUhBUFWkUFIdJSyH0zs5LmFtFdbKAeiDXxSp2Swp5ddOZdZgPac294/o2TnQKN1w==", "dependencies": { - "@polkadot/x-global": "13.0.2", + "@polkadot/x-global": "12.6.2", "tslib": "^2.6.2" }, "engines": { @@ -2205,17 +3122,50 @@ } }, "node_modules/@polkadot/x-textencoder": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-13.0.2.tgz", - "integrity": "sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw==", + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-12.6.2.tgz", + "integrity": "sha512-4N+3UVCpI489tUJ6cv3uf0PjOHvgGp9Dl+SZRLgFGt9mvxnvpW/7+XBADRMtlG4xi5gaRK7bgl5bmY6OMDsNdw==", "dependencies": { - "@polkadot/x-global": "13.0.2", + "@polkadot/x-global": "12.6.2", "tslib": "^2.6.2" }, "engines": { "node": ">=18" } }, + "node_modules/@polkadot/x-ws": { + "version": "12.6.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-12.6.2.tgz", + "integrity": "sha512-cGZWo7K5eRRQCRl2LrcyCYsrc3lRbTlixZh3AzgU8uX4wASVGRlNWi/Hf4TtHNe1ExCDmxabJzdIsABIfrr7xw==", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2", + "ws": "^8.15.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/x-ws/node_modules/ws": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", @@ -2601,6 +3551,49 @@ "node": ">=14.0.0" } }, + "node_modules/@substrate/connect": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.8.10.tgz", + "integrity": "sha512-DIyQ13DDlXqVFnLV+S6/JDgiGowVRRrh18kahieJxhgvzcWicw5eLc6jpfQ0moVVLBYkO7rctB5Wreldwpva8w==", + "deprecated": "versions below 1.x are no longer maintained", + "optional": true, + "dependencies": { + "@substrate/connect-extension-protocol": "^2.0.0", + "@substrate/connect-known-chains": "^1.1.4", + "@substrate/light-client-extension-helpers": "^0.0.6", + "smoldot": "2.0.22" + } + }, + "node_modules/@substrate/connect-extension-protocol": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-2.1.0.tgz", + "integrity": "sha512-Wz5Cbn6S6P4vWfHyrsnPW7g15IAViMaXCk+jYkq4nNEMmzPtTKIEbtxrdDMBKrouOFtYKKp0znx5mh9KTCNqlA==", + "optional": true + }, + "node_modules/@substrate/connect-known-chains": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@substrate/connect-known-chains/-/connect-known-chains-1.4.0.tgz", + "integrity": "sha512-p/mxn1GobtxJ+7xbIkUH4+/njH1neRHHKTcSGHNOC78Cf6Ch1Xzp082+nMjOBDLQLmraK5PF74AKV3WXHGuALw==", + "optional": true + }, + "node_modules/@substrate/light-client-extension-helpers": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-0.0.6.tgz", + "integrity": "sha512-girltEuxQ1BvkJWmc8JJlk4ZxnlGXc/wkLcNguhY+UoDEMBK0LsdtfzQKIfrIehi4QdeSBlFEFBoI4RqPmsZzA==", + "optional": true, + "dependencies": { + "@polkadot-api/json-rpc-provider": "0.0.1", + "@polkadot-api/json-rpc-provider-proxy": "0.0.1", + "@polkadot-api/observable-client": "0.1.0", + "@polkadot-api/substrate-client": "0.0.1", + "@substrate/connect-extension-protocol": "^2.0.0", + "@substrate/connect-known-chains": "^1.1.4", + "rxjs": "^7.8.1" + }, + "peerDependencies": { + "smoldot": "2.x" + } + }, "node_modules/@substrate/ss58-registry": { "version": "1.50.0", "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.50.0.tgz", @@ -4099,6 +5092,14 @@ "node": ">=0.10" } }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "engines": { + "node": ">= 12" + } + }, "node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -4795,6 +5796,28 @@ "bser": "2.1.1" } }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, "node_modules/file-uri-to-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", @@ -4925,6 +5948,17 @@ "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.1.tgz", "integrity": "sha512-EFRDrsMm/kyqbTQocNvRXMLjc7Es2Vk+IQFx/YW7hkUH1eBl4J1fqiP34l74Yt0pFLCNpc06fkbVk00008mzjg==" }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -7529,6 +8563,14 @@ "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.14.0.tgz", "integrity": "sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw==" }, + "node_modules/mock-socket": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.3.1.tgz", + "integrity": "sha512-qxBgB7Qa2sEQgHFjj0dSigq7fX4k6Saisd5Nelwp2q8mlbAFh5dHV9JTTlF8viYJLSSWgMCZFUom8PJcMNBoJw==", + "engines": { + "node": ">= 8" + } + }, "node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -7606,11 +8648,63 @@ "tslib": "^2.0.3" } }, + "node_modules/nock": { + "version": "13.5.5", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", + "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", + "dependencies": { + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "propagate": "^2.0.0" + }, + "engines": { + "node": ">= 10.13" + } + }, + "node_modules/nock/node_modules/debug": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/nock/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, "node_modules/node-addon-api": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "engines": { + "node": ">=10.5.0" + } + }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -8025,6 +9119,14 @@ "node": ">= 6" } }, + "node_modules/propagate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", + "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", + "engines": { + "node": ">= 8" + } + }, "node_modules/protobufjs": { "version": "6.11.4", "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", @@ -8422,6 +9524,14 @@ } } }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dependencies": { + "tslib": "^2.1.0" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -8446,6 +9556,12 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "node_modules/scale-ts": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/scale-ts/-/scale-ts-1.6.0.tgz", + "integrity": "sha512-Ja5VCjNZR8TGKhUumy9clVVxcDpM+YFjAnkMuwQy68Hixio3VRRvWdE3g8T/yC+HXA0ZDQl2TGyUmtmbcVl40Q==", + "optional": true + }, "node_modules/scrypt-js": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", @@ -8668,6 +9784,36 @@ "node": ">=8" } }, + "node_modules/smoldot": { + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/smoldot/-/smoldot-2.0.22.tgz", + "integrity": "sha512-B50vRgTY6v3baYH6uCgL15tfaag5tcS2o/P5q1OiXcKGv1axZDfz2dzzMuIkVpyMR2ug11F6EAtQlmYBQd292g==", + "optional": true, + "dependencies": { + "ws": "^8.8.1" + } + }, + "node_modules/smoldot/node_modules/ws": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "optional": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/snake-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz", @@ -9450,6 +10596,14 @@ "makeerror": "1.0.12" } }, + "node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "engines": { + "node": ">= 8" + } + }, "node_modules/web3": { "version": "1.10.4", "resolved": "https://registry.npmjs.org/web3/-/web3-1.10.4.tgz", diff --git a/package.json b/package.json index 2a3aedd9..29f70832 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "picasso-sdk", - "version": "0.3.86", + "version": "0.3.110", "description": "Picasso sdk for cosmos, ethereum, solana, and polkadot ibc transfer", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -20,15 +20,22 @@ "prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"", "publish-npm": "npm version patch && rm -rf ./dist && npm run build && npm publish --access public", "generate-helper": "ts-node ./src/scripts/generate-helper.ts", + "generate-multihop": "ts-node ./src/scripts/generate-multihop.ts", "prepare": "husky install" }, "dependencies": { "@coral-xyz/anchor": "^0.29.0", "@cosmjs/stargate": "^0.31.0-alpha.2", - "@polkadot/util-crypto": "^13.0.2", + "@polkadot/api": "^11.3.1", + "@polkadot/extension-dapp": "^0.46.3", + "@polkadot/extension-inject": "^0.46.3", + "@polkadot/keyring": "12.2.1", + "@polkadot/util": "^12.2.1", + "@polkadot/util-crypto": "^12.2.1", "@solana/spl-token": "^0.3.10", "@solana/web3.js": "^1.87.6", "axios": "^1.3.4", + "bech32": "^2.0.0", "big.js": "^6.2.1", "borsher": "^3.5.0", "eventemitter3": "^5.0.0", @@ -47,6 +54,10 @@ ], "devDependencies": { "@keplr-wallet/types": "^0.11.26", + "@polkadot/api-base": "^11.3.1", + "@polkadot/rpc-core": "^11.3.1", + "@polkadot/types": "^11.3.1", + "@polkadot/types-codec": "^11.3.1", "@types/jest": "^29.5.12", "husky": "^9.1.4", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7d7b469..9c55d3a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,9 +14,24 @@ importers: '@cosmjs/stargate': specifier: ^0.31.0-alpha.2 version: 0.31.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api': + specifier: ^11.3.1 + version: 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/extension-dapp': + specifier: ^0.46.3 + version: 0.46.9(@polkadot/api@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/extension-inject': + specifier: ^0.46.3 + version: 0.46.9(@polkadot/api@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/util@12.6.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/keyring': + specifier: 12.2.1 + version: 12.2.1(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2) + '@polkadot/util': + specifier: ^12.2.1 + version: 12.6.2 '@polkadot/util-crypto': - specifier: ^13.0.2 - version: 13.0.2(@polkadot/util@13.0.2) + specifier: ^12.2.1 + version: 12.6.2(@polkadot/util@12.6.2) '@solana/spl-token': specifier: ^0.3.10 version: 0.3.11(@solana/web3.js@1.95.3(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(utf-8-validate@5.0.10) @@ -26,6 +41,9 @@ importers: axios: specifier: ^1.3.4 version: 1.7.5 + bech32: + specifier: ^2.0.0 + version: 2.0.0 big.js: specifier: ^6.2.1 version: 6.2.1 @@ -66,6 +84,18 @@ importers: '@keplr-wallet/types': specifier: ^0.11.26 version: 0.11.64 + '@polkadot/api-base': + specifier: ^11.3.1 + version: 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-core': + specifier: ^11.3.1 + version: 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': + specifier: ^11.3.1 + version: 11.3.1 + '@polkadot/types-codec': + specifier: ^11.3.1 + version: 11.3.1 '@types/jest': specifier: ^29.5.12 version: 29.5.12 @@ -491,18 +521,169 @@ packages: resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} - '@polkadot/networks@13.0.2': - resolution: {integrity: sha512-ABAL+vug/gIwkdFEzeh87JoJd0YKrxSYg/HjUrZ+Zis2ucxQEKpvtCpJ34ku+YrjacBfVqIAkkwd3ZdIPGq9aQ==} + '@polkadot-api/client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-0fqK6pUKcGHSG2pBvY+gfSS+1mMdjd/qRygAcKI5d05tKsnZLRnmhb9laDguKmGEIB0Bz9vQqNK3gIN/cfvVwg==} + peerDependencies: + rxjs: '>=7.8.0' + + '@polkadot-api/json-rpc-provider-proxy@0.0.1': + resolution: {integrity: sha512-gmVDUP8LpCH0BXewbzqXF2sdHddq1H1q+XrAW2of+KZj4woQkIGBRGTJHeBEVHe30EB+UejR1N2dT4PO/RvDdg==} + + '@polkadot-api/json-rpc-provider-proxy@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-0hZ8vtjcsyCX8AyqP2sqUHa1TFFfxGWmlXJkit0Nqp9b32MwZqn5eaUAiV2rNuEpoglKOdKnkGtUF8t5MoodKw==} + + '@polkadot-api/json-rpc-provider@0.0.1': + resolution: {integrity: sha512-/SMC/l7foRjpykLTUTacIH05H3mr9ip8b5xxfwXlVezXrNVLp3Cv0GX6uItkKd+ZjzVPf3PFrDF2B2/HLSNESA==} + + '@polkadot-api/json-rpc-provider@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-EaUS9Fc3wsiUr6ZS43PQqaRScW7kM6DYbuM/ou0aYjm8N9MBqgDbGm2oL6RE1vAVmOfEuHcXZuZkhzWtyvQUtA==} + + '@polkadot-api/metadata-builders@0.0.1': + resolution: {integrity: sha512-GCI78BHDzXAF/L2pZD6Aod/yl82adqQ7ftNmKg51ixRL02JpWUA+SpUKTJE5MY1p8kiJJIo09P2um24SiJHxNA==} + + '@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-BD7rruxChL1VXt0icC2gD45OtT9ofJlql0qIllHSRYgama1CR2Owt+ApInQxB+lWqM+xNOznZRpj8CXNDvKIMg==} + + '@polkadot-api/observable-client@0.1.0': + resolution: {integrity: sha512-GBCGDRztKorTLna/unjl/9SWZcRmvV58o9jwU2Y038VuPXZcr01jcw/1O3x+yeAuwyGzbucI/mLTDa1QoEml3A==} + peerDependencies: + rxjs: '>=7.8.0' + + '@polkadot-api/substrate-bindings@0.0.1': + resolution: {integrity: sha512-bAe7a5bOPnuFVmpv7y4BBMRpNTnMmE0jtTqRUw/+D8ZlEHNVEJQGr4wu3QQCl7k1GnSV1wfv3mzIbYjErEBocg==} + + '@polkadot-api/substrate-bindings@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-N4vdrZopbsw8k57uG58ofO7nLXM4Ai7835XqakN27MkjXMp5H830A1KJE0L9sGQR7ukOCDEIHHcwXVrzmJ/PBg==} + + '@polkadot-api/substrate-client@0.0.1': + resolution: {integrity: sha512-9Bg9SGc3AwE+wXONQoW8GC00N3v6lCZLW74HQzqB6ROdcm5VAHM4CB/xRzWSUF9CXL78ugiwtHx3wBcpx4H4Wg==} + + '@polkadot-api/substrate-client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-lcdvd2ssUmB1CPzF8s2dnNOqbrDa+nxaaGbuts+Vo8yjgSKwds2Lo7Oq+imZN4VKW7t9+uaVcKFLMF7PdH0RWw==} + + '@polkadot-api/utils@0.0.1': + resolution: {integrity: sha512-3j+pRmlF9SgiYDabSdZsBSsN5XHbpXOAce1lWj56IEEaFZVjsiCaxDOA7C9nCcgfVXuvnbxqqEGQvnY+QfBAUw==} + + '@polkadot-api/utils@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + resolution: {integrity: sha512-0CYaCjfLQJTCRCiYvZ81OncHXEKPzAexCMoVloR+v2nl/O2JRya/361MtPkeNLC6XBoaEgLAG9pWQpH3WePzsw==} + + '@polkadot/api-augment@11.3.1': + resolution: {integrity: sha512-Yj+6rb6h0WwY3yJ+UGhjGW+tyMRFUMsKQuGw+eFsXdjiNU9UoXsAqA2dG7Q1F+oeX/g+y2gLGBezNoCwbl6HfA==} + engines: {node: '>=18'} + + '@polkadot/api-base@11.3.1': + resolution: {integrity: sha512-b8UkNL00NN7+3QaLCwL5cKg+7YchHoKCAhwKusWHNBZkkO6Oo2BWilu0dZkPJOyqV9P389Kbd9+oH+SKs9u2VQ==} + engines: {node: '>=18'} + + '@polkadot/api-derive@11.3.1': + resolution: {integrity: sha512-9dopzrh4cRuft1nANmBvMY/hEhFDu0VICMTOGxQLOl8NMfcOFPTLAN0JhSBUoicGZhV+c4vpv01NBx/7/IL1HA==} + engines: {node: '>=18'} + + '@polkadot/api@11.3.1': + resolution: {integrity: sha512-q4kFIIHTLvKxM24b0Eo8hJevsPMme+aITJGrDML9BgdZYTRN14+cu5nXiCsQvaEamdyYj+uCXWe2OV9X7pPxsA==} + engines: {node: '>=18'} + + '@polkadot/extension-dapp@0.46.9': + resolution: {integrity: sha512-y5udSeQ/X9MEoyjlpTcCn0UAEjZ2jjy6U3V/jiVFQo5vBKhdqAhN1oN8X5c4yWurmhYM/7oibImxAjEoXuwH+Q==} + engines: {node: '>=18'} + peerDependencies: + '@polkadot/api': '*' + '@polkadot/util': '*' + '@polkadot/util-crypto': '*' + + '@polkadot/extension-inject@0.46.9': + resolution: {integrity: sha512-m0jnrs9+jEOpMH6OUNl7nHpz9SFFWK9LzuqB8T3htEE3RUYPL//SLCPyEKxAAgHu7F8dgkUHssAWQfANofALCQ==} + engines: {node: '>=18'} + peerDependencies: + '@polkadot/api': '*' + '@polkadot/util': '*' + + '@polkadot/keyring@12.2.1': + resolution: {integrity: sha512-YqgpU+97OZgnSUL56DEMib937Dpb1bTTDPYHhBiN1yNCKod7UboWXIe4xPh+1Kzugum+dEyPpdV+fHH10rtDzw==} + engines: {node: '>=16'} + peerDependencies: + '@polkadot/util': 12.2.1 + '@polkadot/util-crypto': 12.2.1 + + '@polkadot/keyring@12.6.2': + resolution: {integrity: sha512-O3Q7GVmRYm8q7HuB3S0+Yf/q/EB2egKRRU3fv9b3B7V+A52tKzA+vIwEmNVaD1g5FKW9oB97rmpggs0zaKFqHw==} + engines: {node: '>=18'} + peerDependencies: + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2 + + '@polkadot/networks@12.6.2': + resolution: {integrity: sha512-1oWtZm1IvPWqvMrldVH6NI2gBoCndl5GEwx7lAuQWGr7eNL+6Bdc5K3Z9T0MzFvDGoi2/CBqjX9dRKo39pDC/w==} + engines: {node: '>=18'} + + '@polkadot/rpc-augment@11.3.1': + resolution: {integrity: sha512-2PaDcKNju4QYQpxwVkWbRU3M0t340nMX9cMo+8awgvgL1LliV/fUDZueMKLuSS910JJMTPQ7y2pK4eQgMt08gQ==} + engines: {node: '>=18'} + + '@polkadot/rpc-core@11.3.1': + resolution: {integrity: sha512-KKNepsDd/mpmXcA6v/h14eFFPEzLGd7nrvx2UUXUxoZ0Fq2MH1hplP3s93k1oduNY/vOXJR2K9S4dKManA6GVQ==} + engines: {node: '>=18'} + + '@polkadot/rpc-provider@10.13.1': + resolution: {integrity: sha512-oJ7tatVXYJ0L7NpNiGd69D558HG5y5ZDmH2Bp9Dd4kFTQIiV8A39SlWwWUPCjSsen9lqSvvprNLnG/VHTpenbw==} + engines: {node: '>=18'} + + '@polkadot/rpc-provider@11.3.1': + resolution: {integrity: sha512-pqERChoHo45hd3WAgW8UuzarRF+G/o/eXEbl0PXLubiayw4X4qCmIzmtntUcKYgxGNcYGZaG87ZU8OjN97m6UA==} + engines: {node: '>=18'} + + '@polkadot/types-augment@10.13.1': + resolution: {integrity: sha512-TcrLhf95FNFin61qmVgOgayzQB/RqVsSg9thAso1Fh6pX4HSbvI35aGPBAn3SkA6R+9/TmtECirpSNLtIGFn0g==} + engines: {node: '>=18'} + + '@polkadot/types-augment@11.3.1': + resolution: {integrity: sha512-eR3HVpvUmB3v7q2jTWVmVfAVfb1/kuNn7ij94Zqadg/fuUq0pKqIOKwkUj3OxRM3A/5BnW3MbgparjKD3r+fyw==} + engines: {node: '>=18'} + + '@polkadot/types-codec@10.13.1': + resolution: {integrity: sha512-AiQ2Vv2lbZVxEdRCN8XSERiWlOWa2cTDLnpAId78EnCtx4HLKYQSd+Jk9Y4BgO35R79mchK4iG+w6gZ+ukG2bg==} + engines: {node: '>=18'} + + '@polkadot/types-codec@11.3.1': + resolution: {integrity: sha512-i7IiiuuL+Z/jFoKTA9xeh4wGQnhnNNjMT0+1ohvlOvnFsoKZKFQQOaDPPntGJVL1JDCV+KjkN2uQKZSeW8tguQ==} engines: {node: '>=18'} - '@polkadot/util-crypto@13.0.2': - resolution: {integrity: sha512-woUsJJ6zd/caL7U+D30a5oM/+WK9iNI00Y8aNUHSj6Zq/KPzK9uqDBaLGWwlgrejoMQkxxiU2X0f2LzP15AtQg==} + '@polkadot/types-create@10.13.1': + resolution: {integrity: sha512-Usn1jqrz35SXgCDAqSXy7mnD6j4RvB4wyzTAZipFA6DGmhwyxxIgOzlWQWDb+1PtPKo9vtMzen5IJ+7w5chIeA==} + engines: {node: '>=18'} + + '@polkadot/types-create@11.3.1': + resolution: {integrity: sha512-pBXtpz5FehcRJ6j5MzFUIUN8ZWM7z6HbqK1GxBmYbJVRElcGcOg7a/rL2pQVphU0Rx1E8bSO4thzGf4wUxSX7w==} + engines: {node: '>=18'} + + '@polkadot/types-known@11.3.1': + resolution: {integrity: sha512-3BIof7u6tn9bk3ZCIxA07iNoQ3uj4+vn3DTOjCKECozkRlt6V+kWRvqh16Hc0SHMg/QjcMb2fIu/WZhka1McUQ==} + engines: {node: '>=18'} + + '@polkadot/types-support@10.13.1': + resolution: {integrity: sha512-4gEPfz36XRQIY7inKq0HXNVVhR6HvXtm7yrEmuBuhM86LE0lQQBkISUSgR358bdn2OFSLMxMoRNoh3kcDvdGDQ==} + engines: {node: '>=18'} + + '@polkadot/types-support@11.3.1': + resolution: {integrity: sha512-jTFz1GKyF7nI29yIOq4v0NiWTOf5yX4HahJNeFD8TcxoLhF+6tH/XXqrUXJEfbaTlSrRWiW1LZYlb+snctqKHA==} + engines: {node: '>=18'} + + '@polkadot/types@10.13.1': + resolution: {integrity: sha512-Hfvg1ZgJlYyzGSAVrDIpp3vullgxrjOlh/CSThd/PI4TTN1qHoPSFm2hs77k3mKkOzg+LrWsLE0P/LP2XddYcw==} + engines: {node: '>=18'} + + '@polkadot/types@11.3.1': + resolution: {integrity: sha512-5c7uRFXQTT11Awi6T0yFIdAfD6xGDAOz06Kp7M5S9OGNZY28wSPk5x6BYfNphWPaIBmHHewYJB5qmnrdYQAWKQ==} + engines: {node: '>=18'} + + '@polkadot/util-crypto@12.6.2': + resolution: {integrity: sha512-FEWI/dJ7wDMNN1WOzZAjQoIcCP/3vz3wvAp5QQm+lOrzOLj0iDmaIGIcBkz8HVm3ErfSe/uKP0KS4jgV/ib+Mg==} engines: {node: '>=18'} peerDependencies: - '@polkadot/util': 13.0.2 + '@polkadot/util': 12.6.2 - '@polkadot/util@13.0.2': - resolution: {integrity: sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg==} + '@polkadot/util@12.6.2': + resolution: {integrity: sha512-l8TubR7CLEY47240uki0TQzFvtnxFIO7uI/0GoWzpYD/O62EIAMRsuY01N4DuwgKq2ZWD59WhzsLYmA5K6ksdw==} engines: {node: '>=18'} '@polkadot/wasm-bridge@7.3.2': @@ -544,27 +725,35 @@ packages: peerDependencies: '@polkadot/util': '*' - '@polkadot/x-bigint@13.0.2': - resolution: {integrity: sha512-h2jKT/UaxiEal8LhQeH6+GCjO7GwEqVAD2SNYteCOXff6yNttqAZYJuHZsndbVjVNwqRNf8D5q/zZkD0HUd6xQ==} + '@polkadot/x-bigint@12.6.2': + resolution: {integrity: sha512-HSIk60uFPX4GOFZSnIF7VYJz7WZA7tpFJsne7SzxOooRwMTWEtw3fUpFy5cYYOeLh17/kHH1Y7SVcuxzVLc74Q==} engines: {node: '>=18'} - '@polkadot/x-global@13.0.2': - resolution: {integrity: sha512-OoNIXLB5y8vIKpk4R+XmpDPhipNXWSUvEwUnpQT7NAxNLmzgMq1FhbrwBWWPRNHPrQonp7mqxV/X+v5lv1HW/g==} + '@polkadot/x-fetch@12.6.2': + resolution: {integrity: sha512-8wM/Z9JJPWN1pzSpU7XxTI1ldj/AfC8hKioBlUahZ8gUiJaOF7K9XEFCrCDLis/A1BoOu7Ne6WMx/vsJJIbDWw==} engines: {node: '>=18'} - '@polkadot/x-randomvalues@13.0.2': - resolution: {integrity: sha512-SGj+L0H/7TWZtSmtkWlixO4DFzXDdluI0UscN2h285os2Ns8PnmBbue+iJ8PVSzpY1BOxd66gvkkpboPz+jXFQ==} + '@polkadot/x-global@12.6.2': + resolution: {integrity: sha512-a8d6m+PW98jmsYDtAWp88qS4dl8DyqUBsd0S+WgyfSMtpEXu6v9nXDgPZgwF5xdDvXhm+P0ZfVkVTnIGrScb5g==} + engines: {node: '>=18'} + + '@polkadot/x-randomvalues@12.6.2': + resolution: {integrity: sha512-Vr8uG7rH2IcNJwtyf5ebdODMcr0XjoCpUbI91Zv6AlKVYOGKZlKLYJHIwpTaKKB+7KPWyQrk4Mlym/rS7v9feg==} engines: {node: '>=18'} peerDependencies: - '@polkadot/util': 13.0.2 + '@polkadot/util': 12.6.2 '@polkadot/wasm-util': '*' - '@polkadot/x-textdecoder@13.0.2': - resolution: {integrity: sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA==} + '@polkadot/x-textdecoder@12.6.2': + resolution: {integrity: sha512-M1Bir7tYvNappfpFWXOJcnxUhBUFWkUFIdJSyH0zs5LmFtFdbKAeiDXxSp2Swp5ddOZdZgPac294/o2TnQKN1w==} + engines: {node: '>=18'} + + '@polkadot/x-textencoder@12.6.2': + resolution: {integrity: sha512-4N+3UVCpI489tUJ6cv3uf0PjOHvgGp9Dl+SZRLgFGt9mvxnvpW/7+XBADRMtlG4xi5gaRK7bgl5bmY6OMDsNdw==} engines: {node: '>=18'} - '@polkadot/x-textencoder@13.0.2': - resolution: {integrity: sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw==} + '@polkadot/x-ws@12.6.2': + resolution: {integrity: sha512-cGZWo7K5eRRQCRl2LrcyCYsrc3lRbTlixZh3AzgU8uX4wASVGRlNWi/Hf4TtHNe1ExCDmxabJzdIsABIfrr7xw==} engines: {node: '>=18'} '@protobufjs/aspromise@1.1.2': @@ -670,6 +859,30 @@ packages: '@solana/web3.js@1.95.3': resolution: {integrity: sha512-O6rPUN0w2fkNqx/Z3QJMB9L225Ex10PRDH8bTaIUPZXMPV0QP8ZpPvjQnXK+upUczlRgzHzd6SjKIha1p+I6og==} + '@substrate/connect-extension-protocol@2.1.0': + resolution: {integrity: sha512-Wz5Cbn6S6P4vWfHyrsnPW7g15IAViMaXCk+jYkq4nNEMmzPtTKIEbtxrdDMBKrouOFtYKKp0znx5mh9KTCNqlA==} + + '@substrate/connect-known-chains@1.4.0': + resolution: {integrity: sha512-p/mxn1GobtxJ+7xbIkUH4+/njH1neRHHKTcSGHNOC78Cf6Ch1Xzp082+nMjOBDLQLmraK5PF74AKV3WXHGuALw==} + + '@substrate/connect@0.8.10': + resolution: {integrity: sha512-DIyQ13DDlXqVFnLV+S6/JDgiGowVRRrh18kahieJxhgvzcWicw5eLc6jpfQ0moVVLBYkO7rctB5Wreldwpva8w==} + deprecated: versions below 1.x are no longer maintained + + '@substrate/connect@0.8.8': + resolution: {integrity: sha512-zwaxuNEVI9bGt0rT8PEJiXOyebLIo6QN1SyiAHRPBOl6g3Sy0KKdSN8Jmyn++oXhVRD8aIe75/V8ZkS81T+BPQ==} + deprecated: versions below 1.x are no longer maintained + + '@substrate/light-client-extension-helpers@0.0.4': + resolution: {integrity: sha512-vfKcigzL0SpiK+u9sX6dq2lQSDtuFLOxIJx2CKPouPEHIs8C+fpsufn52r19GQn+qDhU8POMPHOVoqLktj8UEA==} + peerDependencies: + smoldot: 2.x + + '@substrate/light-client-extension-helpers@0.0.6': + resolution: {integrity: sha512-girltEuxQ1BvkJWmc8JJlk4ZxnlGXc/wkLcNguhY+UoDEMBK0LsdtfzQKIfrIehi4QdeSBlFEFBoI4RqPmsZzA==} + peerDependencies: + smoldot: 2.x + '@substrate/ss58-registry@1.50.0': resolution: {integrity: sha512-mkmlMlcC+MSd9rA+PN8ljGAm5fVZskvVwkXIsbx4NFwaT8kt38r7e9cyDWscG3z2Zn40POviZvEMrJSk+r2SgQ==} @@ -912,6 +1125,9 @@ packages: bech32@1.1.4: resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} + bech32@2.0.0: + resolution: {integrity: sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==} + big.js@6.2.1: resolution: {integrity: sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==} @@ -1201,6 +1417,10 @@ packages: resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} engines: {node: '>=0.10'} + data-uri-to-buffer@4.0.1: + resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} + engines: {node: '>= 12'} + debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -1464,6 +1684,10 @@ packages: fb-watchman@2.0.2: resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + fetch-blob@3.2.0: + resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} + engines: {node: ^12.20 || >= 14.13} + file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} @@ -1508,6 +1732,10 @@ packages: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} engines: {node: '>= 6'} + formdata-polyfill@4.0.10: + resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} + engines: {node: '>=12.20.0'} + forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} @@ -2130,6 +2358,10 @@ packages: mock-fs@4.14.0: resolution: {integrity: sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw==} + mock-socket@9.3.1: + resolution: {integrity: sha512-qxBgB7Qa2sEQgHFjj0dSigq7fX4k6Saisd5Nelwp2q8mlbAFh5dHV9JTTlF8viYJLSSWgMCZFUom8PJcMNBoJw==} + engines: {node: '>= 8'} + ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -2174,9 +2406,17 @@ packages: no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + nock@13.5.5: + resolution: {integrity: sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==} + engines: {node: '>= 10.13'} + node-addon-api@2.0.2: resolution: {integrity: sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==} + node-domexception@1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -2186,6 +2426,10 @@ packages: encoding: optional: true + node-fetch@3.3.2: + resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + node-gyp-build@4.8.1: resolution: {integrity: sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==} hasBin: true @@ -2340,6 +2584,10 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} + propagate@2.0.1: + resolution: {integrity: sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==} + engines: {node: '>= 8'} + protobufjs@6.11.4: resolution: {integrity: sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==} hasBin: true @@ -2449,6 +2697,9 @@ packages: rpc-websockets@9.0.2: resolution: {integrity: sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==} + rxjs@7.8.1: + resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} + safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} @@ -2458,6 +2709,9 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + scale-ts@1.6.0: + resolution: {integrity: sha512-Ja5VCjNZR8TGKhUumy9clVVxcDpM+YFjAnkMuwQy68Hixio3VRRvWdE3g8T/yC+HXA0ZDQl2TGyUmtmbcVl40Q==} + scrypt-js@3.0.1: resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} @@ -2528,6 +2782,9 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + smoldot@2.0.22: + resolution: {integrity: sha512-B50vRgTY6v3baYH6uCgL15tfaag5tcS2o/P5q1OiXcKGv1axZDfz2dzzMuIkVpyMR2ug11F6EAtQlmYBQd292g==} + snake-case@3.0.4: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} @@ -2813,6 +3070,10 @@ packages: walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + web-streams-polyfill@3.3.3: + resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} + engines: {node: '>= 8'} + web3-bzz@1.10.4: resolution: {integrity: sha512-ZZ/X4sJ0Uh2teU9lAGNS8EjveEppoHNQiKlOXAjedsrdWuaMErBPdLQjXfcrYvN6WM6Su9PMsAxf3FXXZ+HwQw==} engines: {node: '>=8.0.0'} @@ -3814,105 +4075,441 @@ snapshots: '@noble/hashes@1.4.0': {} - '@polkadot/networks@13.0.2': + '@polkadot-api/client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0(rxjs@7.8.1)': + 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 + rxjs: 7.8.1 + optional: true + + '@polkadot-api/json-rpc-provider-proxy@0.0.1': + optional: true + + '@polkadot-api/json-rpc-provider-proxy@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + optional: true + + '@polkadot-api/json-rpc-provider@0.0.1': + optional: true + + '@polkadot-api/json-rpc-provider@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + optional: true + + '@polkadot-api/metadata-builders@0.0.1': + dependencies: + '@polkadot-api/substrate-bindings': 0.0.1 + '@polkadot-api/utils': 0.0.1 + optional: true + + '@polkadot-api/metadata-builders@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 + optional: true + + '@polkadot-api/observable-client@0.1.0(rxjs@7.8.1)': + dependencies: + '@polkadot-api/metadata-builders': 0.0.1 + '@polkadot-api/substrate-bindings': 0.0.1 + '@polkadot-api/substrate-client': 0.0.1 + '@polkadot-api/utils': 0.0.1 + rxjs: 7.8.1 + optional: true + + '@polkadot-api/substrate-bindings@0.0.1': dependencies: - '@polkadot/util': 13.0.2 + '@noble/hashes': 1.4.0 + '@polkadot-api/utils': 0.0.1 + '@scure/base': 1.1.7 + scale-ts: 1.6.0 + optional: true + + '@polkadot-api/substrate-bindings@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + dependencies: + '@noble/hashes': 1.4.0 + '@polkadot-api/utils': 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + '@scure/base': 1.1.7 + scale-ts: 1.6.0 + optional: true + + '@polkadot-api/substrate-client@0.0.1': + optional: true + + '@polkadot-api/substrate-client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + optional: true + + '@polkadot-api/utils@0.0.1': + optional: true + + '@polkadot-api/utils@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': + optional: true + + '@polkadot/api-augment@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api-base': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-augment': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 11.3.1 + '@polkadot/types-augment': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/api-base@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/rpc-core': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 11.3.1 + '@polkadot/util': 12.6.2 + rxjs: 7.8.1 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/api-derive@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-core': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + rxjs: 7.8.1 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/api@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api-augment': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-derive': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2) + '@polkadot/rpc-augment': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-core': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 11.3.1 + '@polkadot/types-augment': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/types-create': 11.3.1 + '@polkadot/types-known': 11.3.1 + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + eventemitter3: 5.0.1 + rxjs: 7.8.1 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/extension-dapp@0.46.9(@polkadot/api@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/extension-inject': 0.46.9(@polkadot/api@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/util@12.6.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/extension-inject@0.46.9(@polkadot/api@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/util@12.6.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 10.13.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 10.13.1 + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + '@polkadot/x-global': 12.6.2 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/keyring@12.2.1(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2)': + dependencies: + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + tslib: 2.7.0 + + '@polkadot/keyring@12.6.2(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2)': + dependencies: + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + tslib: 2.7.0 + + '@polkadot/networks@12.6.2': + dependencies: + '@polkadot/util': 12.6.2 '@substrate/ss58-registry': 1.50.0 tslib: 2.7.0 - '@polkadot/util-crypto@13.0.2(@polkadot/util@13.0.2)': + '@polkadot/rpc-augment@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/rpc-core': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/rpc-core@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/rpc-augment': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 11.3.1 + '@polkadot/util': 12.6.2 + rxjs: 7.8.1 + tslib: 2.7.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/rpc-provider@10.13.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@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/util@12.6.2) + '@polkadot/x-fetch': 12.6.2 + '@polkadot/x-global': 12.6.2 + '@polkadot/x-ws': 12.6.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + eventemitter3: 5.0.1 + mock-socket: 9.3.1 + nock: 13.5.5 + tslib: 2.7.0 + optionalDependencies: + '@substrate/connect': 0.8.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/rpc-provider@11.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2) + '@polkadot/types': 11.3.1 + '@polkadot/types-support': 11.3.1 + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + '@polkadot/x-fetch': 12.6.2 + '@polkadot/x-global': 12.6.2 + '@polkadot/x-ws': 12.6.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + eventemitter3: 5.0.1 + mock-socket: 9.3.1 + nock: 13.5.5 + tslib: 2.7.0 + optionalDependencies: + '@substrate/connect': 0.8.10(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + '@polkadot/types-augment@10.13.1': + dependencies: + '@polkadot/types': 10.13.1 + '@polkadot/types-codec': 10.13.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-augment@11.3.1': + dependencies: + '@polkadot/types': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-codec@10.13.1': + dependencies: + '@polkadot/util': 12.6.2 + '@polkadot/x-bigint': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-codec@11.3.1': + dependencies: + '@polkadot/util': 12.6.2 + '@polkadot/x-bigint': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-create@10.13.1': + dependencies: + '@polkadot/types-codec': 10.13.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-create@11.3.1': + dependencies: + '@polkadot/types-codec': 11.3.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-known@11.3.1': + dependencies: + '@polkadot/networks': 12.6.2 + '@polkadot/types': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/types-create': 11.3.1 + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-support@10.13.1': + dependencies: + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types-support@11.3.1': + dependencies: + '@polkadot/util': 12.6.2 + tslib: 2.7.0 + + '@polkadot/types@10.13.1': + dependencies: + '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2) + '@polkadot/types-augment': 10.13.1 + '@polkadot/types-codec': 10.13.1 + '@polkadot/types-create': 10.13.1 + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + rxjs: 7.8.1 + tslib: 2.7.0 + + '@polkadot/types@11.3.1': + dependencies: + '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2))(@polkadot/util@12.6.2) + '@polkadot/types-augment': 11.3.1 + '@polkadot/types-codec': 11.3.1 + '@polkadot/types-create': 11.3.1 + '@polkadot/util': 12.6.2 + '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) + rxjs: 7.8.1 + tslib: 2.7.0 + + '@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2)': dependencies: '@noble/curves': 1.5.0 '@noble/hashes': 1.4.0 - '@polkadot/networks': 13.0.2 - '@polkadot/util': 13.0.2 - '@polkadot/wasm-crypto': 7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2))) - '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/x-bigint': 13.0.2 - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) + '@polkadot/networks': 12.6.2 + '@polkadot/util': 12.6.2 + '@polkadot/wasm-crypto': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) + '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/x-bigint': 12.6.2 + '@polkadot/x-randomvalues': 12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) '@scure/base': 1.1.7 tslib: 2.7.0 - '@polkadot/util@13.0.2': + '@polkadot/util@12.6.2': dependencies: - '@polkadot/x-bigint': 13.0.2 - '@polkadot/x-global': 13.0.2 - '@polkadot/x-textdecoder': 13.0.2 - '@polkadot/x-textencoder': 13.0.2 + '@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.7.0 - '@polkadot/wasm-bridge@7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)))': + '@polkadot/wasm-bridge@7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)))': dependencies: - '@polkadot/util': 13.0.2 - '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) + '@polkadot/util': 12.6.2 + '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/x-randomvalues': 12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) tslib: 2.7.0 - '@polkadot/wasm-crypto-asmjs@7.3.2(@polkadot/util@13.0.2)': + '@polkadot/wasm-crypto-asmjs@7.3.2(@polkadot/util@12.6.2)': dependencies: - '@polkadot/util': 13.0.2 + '@polkadot/util': 12.6.2 tslib: 2.7.0 - '@polkadot/wasm-crypto-init@7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)))': + '@polkadot/wasm-crypto-init@7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)))': dependencies: - '@polkadot/util': 13.0.2 - '@polkadot/wasm-bridge': 7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2))) - '@polkadot/wasm-crypto-asmjs': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/wasm-crypto-wasm': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) + '@polkadot/util': 12.6.2 + '@polkadot/wasm-bridge': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) + '@polkadot/wasm-crypto-asmjs': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/wasm-crypto-wasm': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/x-randomvalues': 12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) tslib: 2.7.0 - '@polkadot/wasm-crypto-wasm@7.3.2(@polkadot/util@13.0.2)': + '@polkadot/wasm-crypto-wasm@7.3.2(@polkadot/util@12.6.2)': dependencies: - '@polkadot/util': 13.0.2 - '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) + '@polkadot/util': 12.6.2 + '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) tslib: 2.7.0 - '@polkadot/wasm-crypto@7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)))': + '@polkadot/wasm-crypto@7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)))': dependencies: - '@polkadot/util': 13.0.2 - '@polkadot/wasm-bridge': 7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2))) - '@polkadot/wasm-crypto-asmjs': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/wasm-crypto-init': 7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2))) - '@polkadot/wasm-crypto-wasm': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) + '@polkadot/util': 12.6.2 + '@polkadot/wasm-bridge': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) + '@polkadot/wasm-crypto-asmjs': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/wasm-crypto-init': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) + '@polkadot/wasm-crypto-wasm': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/x-randomvalues': 12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) tslib: 2.7.0 - '@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)': + '@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)': dependencies: - '@polkadot/util': 13.0.2 + '@polkadot/util': 12.6.2 tslib: 2.7.0 - '@polkadot/x-bigint@13.0.2': + '@polkadot/x-bigint@12.6.2': dependencies: - '@polkadot/x-global': 13.0.2 + '@polkadot/x-global': 12.6.2 tslib: 2.7.0 - '@polkadot/x-global@13.0.2': + '@polkadot/x-fetch@12.6.2': dependencies: + '@polkadot/x-global': 12.6.2 + node-fetch: 3.3.2 tslib: 2.7.0 - '@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2))': + '@polkadot/x-global@12.6.2': dependencies: - '@polkadot/util': 13.0.2 - '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) - '@polkadot/x-global': 13.0.2 tslib: 2.7.0 - '@polkadot/x-textdecoder@13.0.2': + '@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))': dependencies: - '@polkadot/x-global': 13.0.2 + '@polkadot/util': 12.6.2 + '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) + '@polkadot/x-global': 12.6.2 tslib: 2.7.0 - '@polkadot/x-textencoder@13.0.2': + '@polkadot/x-textdecoder@12.6.2': dependencies: - '@polkadot/x-global': 13.0.2 + '@polkadot/x-global': 12.6.2 tslib: 2.7.0 + '@polkadot/x-textencoder@12.6.2': + dependencies: + '@polkadot/x-global': 12.6.2 + tslib: 2.7.0 + + '@polkadot/x-ws@12.6.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/x-global': 12.6.2 + tslib: 2.7.0 + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + '@protobufjs/aspromise@1.1.2': {} '@protobufjs/base64@1.1.2': {} @@ -4065,6 +4662,58 @@ snapshots: - encoding - utf-8-validate + '@substrate/connect-extension-protocol@2.1.0': + optional: true + + '@substrate/connect-known-chains@1.4.0': + optional: true + + '@substrate/connect@0.8.10(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@substrate/connect-extension-protocol': 2.1.0 + '@substrate/connect-known-chains': 1.4.0 + '@substrate/light-client-extension-helpers': 0.0.6(smoldot@2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + smoldot: 2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + optional: true + + '@substrate/connect@0.8.8(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@substrate/connect-extension-protocol': 2.1.0 + '@substrate/connect-known-chains': 1.4.0 + '@substrate/light-client-extension-helpers': 0.0.4(smoldot@2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + smoldot: 2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + optional: true + + '@substrate/light-client-extension-helpers@0.0.4(smoldot@2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10))': + dependencies: + '@polkadot-api/client': 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0(rxjs@7.8.1) + '@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.1.0 + '@substrate/connect-known-chains': 1.4.0 + rxjs: 7.8.1 + smoldot: 2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10) + optional: true + + '@substrate/light-client-extension-helpers@0.0.6(smoldot@2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10))': + dependencies: + '@polkadot-api/json-rpc-provider': 0.0.1 + '@polkadot-api/json-rpc-provider-proxy': 0.0.1 + '@polkadot-api/observable-client': 0.1.0(rxjs@7.8.1) + '@polkadot-api/substrate-client': 0.0.1 + '@substrate/connect-extension-protocol': 2.1.0 + '@substrate/connect-known-chains': 1.4.0 + rxjs: 7.8.1 + smoldot: 2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10) + optional: true + '@substrate/ss58-registry@1.50.0': {} '@swc/helpers@0.5.12': @@ -4358,6 +5007,8 @@ snapshots: bech32@1.1.4: {} + bech32@2.0.0: {} + big.js@6.2.1: {} bigint-buffer@1.1.5: @@ -4684,6 +5335,8 @@ snapshots: dependencies: assert-plus: 1.0.0 + data-uri-to-buffer@4.0.1: {} + debug@2.6.9: dependencies: ms: 2.0.0 @@ -4999,6 +5652,11 @@ snapshots: dependencies: bser: 2.1.1 + fetch-blob@3.2.0: + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 3.3.3 + file-uri-to-path@1.0.0: {} filelist@1.0.4: @@ -5048,6 +5706,10 @@ snapshots: combined-stream: 1.0.8 mime-types: 2.1.35 + formdata-polyfill@4.0.10: + dependencies: + fetch-blob: 3.2.0 + forwarded@0.2.0: {} fresh@0.5.2: {} @@ -5844,6 +6506,8 @@ snapshots: mock-fs@4.14.0: {} + mock-socket@9.3.1: {} + ms@2.0.0: {} ms@2.1.2: {} @@ -5888,12 +6552,28 @@ snapshots: lower-case: 2.0.2 tslib: 2.7.0 + nock@13.5.5: + dependencies: + debug: 4.3.6 + json-stringify-safe: 5.0.1 + propagate: 2.0.1 + transitivePeerDependencies: + - supports-color + node-addon-api@2.0.2: {} + node-domexception@1.0.0: {} + node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 + node-fetch@3.3.2: + dependencies: + data-uri-to-buffer: 4.0.1 + fetch-blob: 3.2.0 + formdata-polyfill: 4.0.10 + node-gyp-build@4.8.1: {} node-int64@0.4.0: {} @@ -6015,6 +6695,8 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 + propagate@2.0.1: {} + protobufjs@6.11.4: dependencies: '@protobufjs/aspromise': 1.1.2 @@ -6157,12 +6839,19 @@ snapshots: bufferutil: 4.0.8 utf-8-validate: 5.0.10 + rxjs@7.8.1: + dependencies: + tslib: 2.7.0 + safe-buffer@5.1.2: {} safe-buffer@5.2.1: {} safer-buffer@2.1.2: {} + scale-ts@1.6.0: + optional: true + scrypt-js@3.0.1: {} secp256k1@4.0.3: @@ -6257,6 +6946,14 @@ snapshots: slash@3.0.0: {} + smoldot@2.0.22(bufferutil@4.0.8)(utf-8-validate@5.0.10): + dependencies: + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + optional: true + snake-case@3.0.4: dependencies: dot-case: 3.0.4 @@ -6529,6 +7226,8 @@ snapshots: dependencies: makeerror: 1.0.12 + web-streams-polyfill@3.3.3: {} + web3-bzz@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: '@types/node': 12.20.55 diff --git a/result.json b/result.json new file mode 100644 index 00000000..017aa8d3 --- /dev/null +++ b/result.json @@ -0,0 +1,623 @@ +[ + { + "fromChainId": "polkadot", + "toChainId": "crescent-1", + "paraChain": "2019", + "index": 5, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "crescent-1", + "order": 3, + "channelId": 11, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "injective-1", + "paraChain": "2019", + "index": 16, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "injective-1", + "order": 3, + "channelId": 29, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "2087", + "paraChain": "2019", + "index": 9, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "osmosis-1", + "paraChain": "2019", + "index": 1, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "neutron-1", + "paraChain": "2019", + "index": 3, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "neutron-1", + "order": 3, + "channelId": 18, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "centauri-1", + "paraChain": "2019", + "index": 10, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "umee-1", + "paraChain": "2019", + "index": 7, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "umee-1", + "order": 3, + "channelId": 20, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "kaiyo-1", + "paraChain": "2019", + "index": 17, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "kaiyo-1", + "order": 3, + "channelId": 27, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "pacific-1", + "paraChain": "2019", + "index": 13, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "pacific-1", + "order": 4, + "channelId": 782, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "agoric-3", + "paraChain": "2019", + "index": 15, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "agoric-3", + "order": 3, + "channelId": 13, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "secret-4", + "paraChain": "2019", + "index": 14, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "secret-4", + "order": 3, + "channelId": 14, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "osmosis-1", + "index": 1, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "umee-1", + "index": 8, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "umee-1", + "order": 2, + "channelId": 20, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "2019", + "index": 12, + "paths": [ + { + "chainId": "2019", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "osmosis-1", + "index": 2, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 2, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "crescent-1", + "index": 6, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "crescent-1", + "order": 2, + "channelId": 11, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "neutron-1", + "index": 4, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "neutron-1", + "order": 2, + "channelId": 18, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "centauri-1", + "index": 11, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + } +] \ No newline at end of file diff --git a/src/chains/common/utils.ts b/src/chains/common/utils.ts index d28d8588..f4a9a7dd 100644 --- a/src/chains/common/utils.ts +++ b/src/chains/common/utils.ts @@ -123,13 +123,7 @@ export const getSupportedType = ( toChainId: string ): TransferType | undefined => { if (fromChainId === toChainId || !fromChainId || !toChainId) return; - if ( - tokensPerChannel?.[fromChainId] && - Object.values(tokensPerChannel?.[fromChainId]).find( - (item) => item?.chainId === toChainId - ) - ) - return 'channel'; + if (getSourceChannel(fromChainId, toChainId)) return 'channel'; //XCM tx if ( @@ -230,12 +224,56 @@ export const createForwardPathRecursive = ( }; }; -// 예시 데이터 -const ibcPath = [ - { chainId: 'osmosis-1', channelId: 1279 }, - { chainId: 'centauri-1', channelId: 52 }, -]; +export const getSourceChannel = (fromChainId: string, toChainId: string) => { + if (tokensPerChannel?.[fromChainId]) + return Object.keys(tokensPerChannel?.[fromChainId]).find( + (key) => tokensPerChannel?.[fromChainId][key]?.chainId === toChainId + ); +}; +export const getXcmInfo = (fromChainId: string, toChainId: string) => { + return networks?.[fromChainId]?.polkadot?.hops?.[toChainId]; +}; + +// export const getBatchPath = () => { +// const found = polkadotRoute(origin, destination); +// if (!found) return; +// const route = { +// ...found, +// paths: found.paths?.map((p) => { +// return { +// ...p, +// address: +// toWallet !== '' +// ? // if we have toWallet, normal multihop checking +// getAddressFromNetwork( +// p.chainName, +// pickMultihopWalletByHandler( +// fromWallet, +// toWallet, +// config.networks[p.chainName].handler +// ) +// ) +// : // else, if we have toAddres, check if the next hop is from or to +// toAddress !== undefined && +// pickMultihopWalletByHandlerToAddress( +// fromWallet, +// config.networks[p.chainName].handler, +// toAddress +// ) === 'toAddress' +// ? // is toAddress, we need to generate the address for the chain +// getConvertedAddress({ +// address: toAddress, +// network: p.chainName, +// }) +// : // is fromWallet +// getAddressFromNetwork(p.chainName, fromWallet), -// 실행 예시 -const result = createForwardPathRecursive(ibcPath, 0); -console.log(JSON.stringify({ forward: result }, null, 2)); +// // getAddressFromNetwork( +// // p.chainName, +// // // TODO: CHECK THIS +// // pickMultihopWalletByHandler(fromWallet, toWallet, config.networks[p.chainName].handler) +// // ) +// }; +// }), +// }; +// }; diff --git a/src/chains/cosmos/helper.ts b/src/chains/cosmos/helper.ts index 1ac07687..4acd4345 100644 --- a/src/chains/cosmos/helper.ts +++ b/src/chains/cosmos/helper.ts @@ -74,3 +74,13 @@ export const getCosmosClient = async ({ ); return finalClient; }; + +export const getCosmosBlockHeight = async ({ + client, + extra = 100, +}: { + client: SigningStargateClient; + extra: number; +}) => { + return Number(await client.getHeight()) + extra; +}; diff --git a/src/chains/cosmos/types.ts b/src/chains/cosmos/types.ts index a8fef270..97a4470d 100644 --- a/src/chains/cosmos/types.ts +++ b/src/chains/cosmos/types.ts @@ -1,3 +1,5 @@ import { TX_MSG } from './constants'; export type TX_MSG_TYPE = typeof TX_MSG; +export { type Keplr, type OfflineAminoSigner } from '@keplr-wallet/types'; +export { type IbcExtension } from '@cosmjs/stargate'; diff --git a/src/chains/index.ts b/src/chains/index.ts index 865a8f42..af26856b 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -2,3 +2,4 @@ export * from './common'; export * from './cosmos'; export * from './ethereum'; export * from './solana'; +export * from './polkadot'; diff --git a/src/chains/polkadot/api-scheme/assets/definitions.ts b/src/chains/polkadot/api-scheme/assets/definitions.ts new file mode 100644 index 00000000..5a4686ee --- /dev/null +++ b/src/chains/polkadot/api-scheme/assets/definitions.ts @@ -0,0 +1,44 @@ +export default { + rpc: { + balanceOf: { + description: 'Balance available for the specified account for the specified asset.', + params: [ + { + name: 'asset', + type: 'CustomRpcCurrencyId' + }, + { + name: 'account', + type: 'AccountId32' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'CustomRpcBalance' + }, + listAssets: { + description: 'Lists the available recognized assets for the runtime.', + params: [ + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'Vec' + } + }, + types: { + Asset: { + name: 'Vec', + id: 'u128', + decimals: 'u32', + ratio: 'Option', + foreignId: 'Option', + existentialDeposit: 'CustomRpcBalance' + } + } +}; diff --git a/src/chains/polkadot/api-scheme/assets/index.ts b/src/chains/polkadot/api-scheme/assets/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/assets/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/assets/types.ts b/src/chains/polkadot/api-scheme/assets/types.ts new file mode 100644 index 00000000..d0309198 --- /dev/null +++ b/src/chains/polkadot/api-scheme/assets/types.ts @@ -0,0 +1,15 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { Bytes, Option, Struct, u32 } from '@polkadot/types-codec'; + +import type { CustomRpcBalance } from '../common'; +import type { ComposableTraitsCurrencyRational64, XcmV1MultiLocation } from '../crowdloanRewards'; + +/** @name Asset */ +export interface Asset extends Struct { + readonly name: Bytes; + readonly id: Text; + readonly decimals: u32; + readonly ratio: Option; + readonly foreignId: Option; + readonly existentialDeposit: CustomRpcBalance; +} diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-consts.ts b/src/chains/polkadot/api-scheme/augments/augment-api-consts.ts new file mode 100644 index 00000000..4b04b24f --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-consts.ts @@ -0,0 +1,758 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/consts'; +import type { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128 } from '@polkadot/types-codec'; +import type { Codec } from '@polkadot/types-codec/types'; +import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; + +import type { + FrameSupportPalletId, + FrameSupportWeightsRuntimeDbWeight, + FrameSystemLimitsBlockLength, + FrameSystemLimitsBlockWeights, + PalletCosmwasmInstrumentCostRules, + SpVersionRuntimeVersion, + XcmV1MultiLocation +} from '../crowdloanRewards'; + +export type __AugmentedConst = AugmentedConst; + +declare module '@polkadot/api-base/types/consts' { + export interface AugmentedConsts { + assets: { + nativeAssetId: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + assetTxPayment: { + /** + * where to allow configuring default asset per user + **/ + useUserConfiguration: bool & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + authorship: { + /** + * The number of blocks back we should accept uncles. + * This means that we will deal with uncle-parents that are + * `UncleGenerations + 1` before `now`. + **/ + uncleGenerations: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + balances: { + /** + * The minimum amount required to keep an account open. + **/ + existentialDeposit: u128 & AugmentedConst; + /** + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. + **/ + maxLocks: u32 & AugmentedConst; + /** + * The maximum number of named reserves that can exist on an account. + **/ + maxReserves: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + bondedFinance: { + /** + * The minimum reward for an offer. + * + * Must be > T::Vesting::MinVestedTransfer. + **/ + minReward: u128 & AugmentedConst; + /** + * The pallet ID, required to create sub-accounts used by offers. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * The stake a user has to put to create an offer. + **/ + stake: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + callFilter: { + maxStringSize: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + cosmwasm: { + /** + * Current chain ID. Provided to the contract via the [`Env`]. + **/ + chainId: Text & AugmentedConst; + /** + * Max wasm branch table size limit. + **/ + codeBranchTableSizeLimit: u32 & AugmentedConst; + /** + * Max wasm globals limit. + **/ + codeGlobalVariableLimit: u32 & AugmentedConst; + /** + * Max wasm functions parameters limit. + **/ + codeParameterLimit: u32 & AugmentedConst; + /** + * Max wasm stack size limit. + **/ + codeStackLimit: u32 & AugmentedConst; + /** + * Price of a byte when uploading new code. + * The price is expressed in [`Self::NativeAsset`]. + * This amount is reserved from the owner and released when the code is destroyed. + **/ + codeStorageByteDeposit: u32 & AugmentedConst; + /** + * Max wasm table size. + **/ + codeTableSizeLimit: u32 & AugmentedConst; + /** + * Price of extracting a byte from the storage. + **/ + contractStorageByteReadPrice: u32 & AugmentedConst; + /** + * Price of writing a byte in the storage. + **/ + contractStorageByteWritePrice: u32 & AugmentedConst; + /** + * Max accepted code size. + **/ + maxCodeSize: u32 & AugmentedConst; + /** + * Max contract label size. + **/ + maxContractLabelSize: u32 & AugmentedConst; + /** + * Max contract trie id size. + **/ + maxContractTrieIdSize: u32 & AugmentedConst; + /** + * Max number of frames a contract is able to push, a.k.a recursive calls. + **/ + maxFrames: u32 & AugmentedConst; + /** + * Max assets in a [`FundsOf`] batch. + **/ + maxFundsAssets: u32 & AugmentedConst; + /** + * Max instantiate salt. + **/ + maxInstantiateSaltSize: u32 & AugmentedConst; + /** + * Max code size after gas instrumentation. + **/ + maxInstrumentedCodeSize: u32 & AugmentedConst; + /** + * Max message size. + **/ + maxMessageSize: u32 & AugmentedConst; + /** + * Pallet unique ID. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + wasmCostRules: PalletCosmwasmInstrumentCostRules & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + crowdloanRewards: { + /** + * The AccountId of this pallet. + **/ + accountId: AccountId32 & AugmentedConst; + /** + * The upfront liquidity unlocked at first claim. + **/ + initialPayment: Perbill & AugmentedConst; + /** + * If claimed amounts should be locked by the pallet + **/ + lockByDefault: bool & AugmentedConst; + /** + * The unique identifier for locks maintained by this pallet. + **/ + lockId: U8aFixed & AugmentedConst; + /** + * The percentage of excess funds required to trigger the `OverFunded` event. + **/ + overFundedThreshold: Perbill & AugmentedConst; + /** + * The unique identifier of this pallet. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * The arbitrary prefix used for the proof. + **/ + prefix: Bytes & AugmentedConst; + /** + * The time you have to wait to unlock another part of your reward. + **/ + vestingStep: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + democracy: { + /** + * Period in blocks where an external proposal may not be re-submitted after being vetoed. + **/ + cooloffPeriod: u32 & AugmentedConst; + /** + * Runtime unique identifier for locking currency. + * May be equivalent to PalletId. + **/ + democracyId: U8aFixed & AugmentedConst; + /** + * The period between a proposal being approved and enacted. + * + * It should generally be a little more than the unstake period to ensure that + * voting stakers have an opportunity to remove themselves from the system in the case + * where they are on the losing side of a vote. + **/ + enactmentPeriod: u32 & AugmentedConst; + /** + * Minimum voting period allowed for a fast-track referendum. + **/ + fastTrackVotingPeriod: u32 & AugmentedConst; + /** + * Indicator for whether an emergency origin is even allowed to happen. Some chains may + * want to set this permanently to `false`, others may want to condition it on things such + * as an upgrade having happened recently. + **/ + instantAllowed: bool & AugmentedConst; + /** + * How often (in blocks) new public referenda are launched. + **/ + launchPeriod: u32 & AugmentedConst; + /** + * The maximum number of public proposals that can exist at any time. + **/ + maxProposals: u32 & AugmentedConst; + /** + * The maximum number of votes for an account. + * + * Also used to compute weight, an overly big value can + * lead to extrinsic with very big weight: see `delegate` for instance. + **/ + maxVotes: u32 & AugmentedConst; + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ + minimumDeposit: u128 & AugmentedConst; + /** + * The amount of balance that must be deposited per byte of preimage stored. + **/ + preimageByteDeposit: u128 & AugmentedConst; + /** + * The minimum period of vote locking. + * + * It should be no shorter than enactment period to ensure that in the case of an approval, + * those successful voters are locked into the consequences that their votes entail. + **/ + voteLockingPeriod: u32 & AugmentedConst; + /** + * How often (in blocks) to check for new votes. + **/ + votingPeriod: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + dexRouter: { + /** + * The maximum hops in the route. + **/ + maxHopsInRoute: u32 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + dutchAuction: { + palletId: FrameSupportPalletId & AugmentedConst; + /** + * ED taken to create position. Part of if returned when position is liquidated. + **/ + positionExistentialDeposit: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + fnft: { + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + identity: { + /** + * The amount held on deposit for a registered identity + **/ + basicDeposit: u128 & AugmentedConst; + /** + * The amount held on deposit per additional field for a registered identity. + **/ + fieldDeposit: u128 & AugmentedConst; + /** + * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O + * required to access an identity, but can be pretty high. + **/ + maxAdditionalFields: u32 & AugmentedConst; + /** + * Maxmimum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ + maxRegistrars: u32 & AugmentedConst; + /** + * The maximum number of sub-accounts allowed per identified account. + **/ + maxSubAccounts: u32 & AugmentedConst; + /** + * The amount held on deposit for a registered subaccount. This should account for the fact + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ + subAccountDeposit: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + indices: { + /** + * The deposit needed for reserving an index. + **/ + deposit: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + lending: { + /** + * Minimal price of borrow asset in Oracle price required to create. + * Examples, 100 USDC. + * Creators puts that amount and it is staked under Vault account. + * So he does not owns it anymore. + * So borrow is both stake and tool to create market. + * + * # Why not pure borrow amount minimum? + * + * Borrow may have very small price. Will imbalance some markets on creation. + * + * # Why not native parachain token? + * + * Possible option. But I doubt closing market as easy as transferring back rent. So it is + * not exactly platform rent only. + * + * # Why borrow amount priced by Oracle? + * + * We depend on Oracle to price in Lending. So we know price anyway. + * We normalized price over all markets and protect from spam all possible pairs equally. + * Locking borrow amount ensures manager can create market with borrow assets, and we force + * him to really create it. + * + * This solution forces to have amount before creating market. + * Vault can take that amount if reconfigured so, but that may be changed during runtime + * upgrades. + **/ + oracleMarketCreationStake: u128 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + liquidations: { + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + mosaic: { + /** + * The minimum period for which we lock outgoing/incoming funds. + **/ + minimumTimeLockPeriod: u32 & AugmentedConst; + /** + * The minimum time to live before a relayer account rotation. + **/ + minimumTTL: u32 & AugmentedConst; + timelockPeriod: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + multisig: { + /** + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. + * + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ + depositBase: u128 & AugmentedConst; + /** + * The amount of currency needed per unit threshold when creating a multisig execution. + * + * This is held for adding 32 bytes more into a pre-existing storage value. + **/ + depositFactor: u128 & AugmentedConst; + /** + * The maximum amount of signatories allowed in the multisig. + **/ + maxSignatories: u16 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + oracle: { + maxHistory: u32 & AugmentedConst; + maxPrePrices: u32 & AugmentedConst; + msPerBlock: u64 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + twapWindow: u16 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + pablo: { + msPerBlock: u32 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + /** + * AssetId of the PBLO asset + **/ + pbloAssetId: u128 & AugmentedConst; + /** + * AssetId of the PICA asset + **/ + picaAssetId: u128 & AugmentedConst; + /** + * The interval between TWAP computations. + **/ + twapInterval: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + proxy: { + /** + * The base amount of currency needed to reserve for creating an announcement. + * + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ + announcementDepositBase: u128 & AugmentedConst; + /** + * The amount of currency needed per announcement made. + * + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ + announcementDepositFactor: u128 & AugmentedConst; + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ + maxPending: u32 & AugmentedConst; + /** + * The maximum amount of proxies allowed for a single account. + **/ + maxProxies: u32 & AugmentedConst; + /** + * The base amount of currency needed to reserve for creating a proxy. + * + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ + proxyDepositBase: u128 & AugmentedConst; + /** + * The amount of currency needed per proxy added. + * + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ + proxyDepositFactor: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + scheduler: { + /** + * The maximum weight that may be scheduled per block for any dispatchables of less + * priority than `schedule::HARD_DEADLINE`. + **/ + maximumWeight: u64 & AugmentedConst; + /** + * The maximum number of scheduled calls in the queue for a single block. + * Not strictly enforced, but used for weight estimation. + **/ + maxScheduledPerBlock: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + stakingRewards: { + lockId: U8aFixed & AugmentedConst; + /** + * Maximum number of reward configurations per pool. + **/ + maxRewardConfigsPerPool: u32 & AugmentedConst; + /** + * Maximum number of staking duration presets allowed. + **/ + maxStakingDurationPresets: u32 & AugmentedConst; + palletId: FrameSupportPalletId & AugmentedConst; + pbloAssetId: u128 & AugmentedConst; + pbloStakeFinancialNftCollectionId: u128 & AugmentedConst; + picaAssetId: u128 & AugmentedConst; + picaStakeFinancialNftCollectionId: u128 & AugmentedConst; + /** + * the size of batch to take each time trying to release rewards + **/ + releaseRewardsPoolsBatchSize: u8 & AugmentedConst; + treasuryAccount: AccountId32 & AugmentedConst; + xPbloAssetId: u128 & AugmentedConst; + xPicaAssetId: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + system: { + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ + blockHashCount: u32 & AugmentedConst; + /** + * The maximum length of a block (in bytes). + **/ + blockLength: FrameSystemLimitsBlockLength & AugmentedConst; + /** + * Block & extrinsics weights: base values and limits. + **/ + blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; + /** + * The weight of runtime database operations the runtime can invoke. + **/ + dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst; + /** + * The designated SS85 prefix of this chain. + * + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ + ss58Prefix: u16 & AugmentedConst; + /** + * Get the chain's current version. + **/ + version: SpVersionRuntimeVersion & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + timestamp: { + /** + * The minimum period between blocks. Beware that this is different to the *expected* + * period that the block production apparatus provides. Your chosen consensus system will + * generally work with this to determine a sensible block time. e.g. For Aura, it will be + * double this period on default settings. + **/ + minimumPeriod: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + tokens: { + maxLocks: u32 & AugmentedConst; + /** + * The maximum number of named reserves that can exist on an account. + **/ + maxReserves: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + transactionPayment: { + /** + * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` + * + * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. + * + * ```rust,ignore + * // For `Normal` + * let priority = priority_calc(tip); + * + * // For `Operational` + * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; + * let priority = priority_calc(tip + virtual_tip); + * ``` + * + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ + operationalFeeMultiplier: u8 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + treasury: { + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ + burn: Permill & AugmentedConst; + /** + * The maximum number of approvals that can wait in the spending queue. + * + * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. + **/ + maxApprovals: u32 & AugmentedConst; + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * Fraction of a proposal's value that should be bonded in order to place the proposal. + * An accepted proposal gets these back. A rejected proposal does not. + **/ + proposalBond: Permill & AugmentedConst; + /** + * Maximum amount of funds that should be placed in a deposit for making a proposal. + **/ + proposalBondMaximum: Option & AugmentedConst; + /** + * Minimum amount of funds that should be placed in a deposit for making a proposal. + **/ + proposalBondMinimum: u128 & AugmentedConst; + /** + * Period between successive spends. + **/ + spendPeriod: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + utility: { + /** + * The limit on the number of batched calls. + **/ + batchedCallsLimit: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + vault: { + /** + * The minimum native asset needed to create a vault. + **/ + creationDeposit: u128 & AugmentedConst; + /** + * The deposit needed for a vault to never be cleaned up. Should be significantly higher + * than the rent. + **/ + existentialDeposit: u128 & AugmentedConst; + /** + * The minimum amount needed to deposit in a vault and receive LP tokens. + **/ + minimumDeposit: u128 & AugmentedConst; + /** + * The minimum amount of LP tokens to withdraw funds from a vault. + **/ + minimumWithdrawal: u128 & AugmentedConst; + /** + * The id used as the `AccountId` of the vault. This should be unique across all pallets to + * avoid name collisions with other pallets and vaults. + **/ + palletId: FrameSupportPalletId & AugmentedConst; + /** + * The rent being charged per block for vaults which have not committed the + * `ExistentialDeposit`. + **/ + rentPerBlock: u128 & AugmentedConst; + /** + * The duration that a vault may remain tombstoned before it can be deleted. + **/ + tombstoneDuration: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + vesting: { + /** + * The minimum amount transferred to call `vested_transfer`. + **/ + minVestedTransfer: u128 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + xTokens: { + /** + * Base XCM weight. + * + * The actually weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ + baseXcmWeight: u64 & AugmentedConst; + /** + * Self chain location. + **/ + selfLocation: XcmV1MultiLocation & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + } // AugmentedConsts +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-errors.ts b/src/chains/polkadot/api-scheme/augments/augment-api-errors.ts new file mode 100644 index 00000000..0b847068 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-errors.ts @@ -0,0 +1,1714 @@ +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/errors'; + +export type __AugmentedError = AugmentedError; + +declare module '@polkadot/api-base/types/errors' { + export interface AugmentedErrors { + assets: { + CannotSetNewCurrencyToRegistry: AugmentedError; + InvalidCurrency: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + assetsRegistry: { + AssetNotFound: AugmentedError; + ForeignAssetAlreadyRegistered: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + authorship: { + /** + * The uncle is genesis. + **/ + GenesisUncle: AugmentedError; + /** + * The uncle parent not in the chain. + **/ + InvalidUncleParent: AugmentedError; + /** + * The uncle isn't recent enough to be included. + **/ + OldUncle: AugmentedError; + /** + * The uncle is too high in chain. + **/ + TooHighUncle: AugmentedError; + /** + * Too many uncles. + **/ + TooManyUncles: AugmentedError; + /** + * The uncle is already included. + **/ + UncleAlreadyIncluded: AugmentedError; + /** + * Uncles already set in the block. + **/ + UnclesAlreadySet: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + balances: { + /** + * Beneficiary account must pre-exist + **/ + DeadAccount: AugmentedError; + /** + * Value too low to create account due to existential deposit + **/ + ExistentialDeposit: AugmentedError; + /** + * A vesting schedule already exists for this account + **/ + ExistingVestingSchedule: AugmentedError; + /** + * Balance too low to send value + **/ + InsufficientBalance: AugmentedError; + /** + * Transfer/payment would kill account + **/ + KeepAlive: AugmentedError; + /** + * Account liquidity restrictions prevent withdrawal + **/ + LiquidityRestrictions: AugmentedError; + /** + * Number of named reserves exceed MaxReserves + **/ + TooManyReserves: AugmentedError; + /** + * Vesting balance too high to send value + **/ + VestingBalance: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + bondedFinance: { + /** + * The offer could not be found. + **/ + BondOfferNotFound: AugmentedError; + /** + * Someone tried to submit an invalid offer. + **/ + InvalidBondOffer: AugmentedError; + /** + * Someone tried to bond with an invalid number of nb_of_bonds. + **/ + InvalidNumberOfBonds: AugmentedError; + /** + * Someone tried to bond an already completed offer. + **/ + OfferCompleted: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + callFilter: { + /** + * We tried to disable an extrinsic that cannot be disabled. + **/ + CannotDisable: AugmentedError; + /** + * The pallet name is not a valid UTF8 string. + **/ + InvalidString: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + collatorSelection: { + /** + * User is already a candidate + **/ + AlreadyCandidate: AugmentedError; + /** + * User is already an Invulnerable + **/ + AlreadyInvulnerable: AugmentedError; + /** + * Account has no associated validator ID + **/ + NoAssociatedValidatorId: AugmentedError; + /** + * User is not a candidate + **/ + NotCandidate: AugmentedError; + /** + * Permission issue + **/ + Permission: AugmentedError; + /** + * Too few candidates + **/ + TooFewCandidates: AugmentedError; + /** + * Too many candidates + **/ + TooManyCandidates: AugmentedError; + /** + * Too many invulnerables + **/ + TooManyInvulnerables: AugmentedError; + /** + * Unknown error + **/ + Unknown: AugmentedError; + /** + * Validator ID is not yet registered + **/ + ValidatorNotRegistered: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + cosmwasm: { + ChargeGas: AugmentedError; + CodeAlreadyExists: AugmentedError; + CodeDecoding: AugmentedError; + CodeEncoding: AugmentedError; + CodeInstrumentation: AugmentedError; + CodeNotFound: AugmentedError; + CodeValidation: AugmentedError; + ContractAlreadyExists: AugmentedError; + ContractHasNoInfo: AugmentedError; + ContractNotFound: AugmentedError; + ContractTrapped: AugmentedError; + Ibc: AugmentedError; + Instrumentation: AugmentedError; + InstrumentedCodeIsTooBig: AugmentedError; + IteratorIdOverflow: AugmentedError; + IteratorNotFound: AugmentedError; + LabelTooBig: AugmentedError; + NonceOverflow: AugmentedError; + NotAuthorized: AugmentedError; + NotEnoughFundsForUpload: AugmentedError; + RefcountOverflow: AugmentedError; + RefundGas: AugmentedError; + SignatureVerificationError: AugmentedError; + StackOverflow: AugmentedError; + TransferFailed: AugmentedError; + UnknownDenom: AugmentedError; + Unsupported: AugmentedError; + VmCreation: AugmentedError; + VMDepthOverflow: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + council: { + /** + * Members are already initialized! + **/ + AlreadyInitialized: AugmentedError; + /** + * Duplicate proposals not allowed + **/ + DuplicateProposal: AugmentedError; + /** + * Duplicate vote ignored + **/ + DuplicateVote: AugmentedError; + /** + * Account is not a member + **/ + NotMember: AugmentedError; + /** + * Proposal must exist + **/ + ProposalMissing: AugmentedError; + /** + * The close call was made too early, before the end of the voting. + **/ + TooEarly: AugmentedError; + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ + TooManyProposals: AugmentedError; + /** + * Mismatched index + **/ + WrongIndex: AugmentedError; + /** + * The given length bound for the proposal was too low. + **/ + WrongProposalLength: AugmentedError; + /** + * The given weight bound for the proposal was too low. + **/ + WrongProposalWeight: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + councilMembership: { + /** + * Already a member. + **/ + AlreadyMember: AugmentedError; + /** + * Not a member. + **/ + NotMember: AugmentedError; + /** + * Too many members. + **/ + TooManyMembers: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + crowdloanRewards: { + AlreadyAssociated: AugmentedError; + AlreadyInitialized: AugmentedError; + BackToTheFuture: AugmentedError; + InvalidClaim: AugmentedError; + InvalidProof: AugmentedError; + NotAssociated: AugmentedError; + NotClaimableYet: AugmentedError; + NothingToClaim: AugmentedError; + NotInitialized: AugmentedError; + RewardsNotFunded: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + cumulusXcm: { + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + currencyFactory: { + AssetNotFound: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + democracy: { + /** + * Cannot cancel the same proposal twice + **/ + AlreadyCanceled: AugmentedError; + /** + * The account is already delegating. + **/ + AlreadyDelegating: AugmentedError; + /** + * Identity may not veto a proposal twice + **/ + AlreadyVetoed: AugmentedError; + /** + * Preimage already noted + **/ + DuplicatePreimage: AugmentedError; + /** + * Proposal already made + **/ + DuplicateProposal: AugmentedError; + /** + * Imminent + **/ + Imminent: AugmentedError; + /** + * The instant referendum origin is currently disallowed. + **/ + InstantNotAllowed: AugmentedError; + /** + * Too high a balance was provided that the account cannot afford. + **/ + InsufficientFunds: AugmentedError; + /** + * Invalid hash + **/ + InvalidHash: AugmentedError; + /** + * Maximum number of votes reached. + **/ + MaxVotesReached: AugmentedError; + /** + * No proposals waiting + **/ + NoneWaiting: AugmentedError; + /** + * Delegation to oneself makes no sense. + **/ + Nonsense: AugmentedError; + /** + * The actor has no permission to conduct the action. + **/ + NoPermission: AugmentedError; + /** + * No external proposal + **/ + NoProposal: AugmentedError; + /** + * The account is not currently delegating. + **/ + NotDelegating: AugmentedError; + /** + * Not imminent + **/ + NotImminent: AugmentedError; + /** + * Next external proposal not simple majority + **/ + NotSimpleMajority: AugmentedError; + /** + * The given account did not vote on the referendum. + **/ + NotVoter: AugmentedError; + /** + * Invalid preimage + **/ + PreimageInvalid: AugmentedError; + /** + * Preimage not found + **/ + PreimageMissing: AugmentedError; + /** + * Proposal still blacklisted + **/ + ProposalBlacklisted: AugmentedError; + /** + * Proposal does not exist + **/ + ProposalMissing: AugmentedError; + /** + * Vote given for invalid referendum + **/ + ReferendumInvalid: AugmentedError; + /** + * Too early + **/ + TooEarly: AugmentedError; + /** + * Maximum number of proposals reached. + **/ + TooManyProposals: AugmentedError; + /** + * Value too low + **/ + ValueLow: AugmentedError; + /** + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed, either through `unvote` or `reap_vote`. + **/ + VotesExist: AugmentedError; + /** + * Voting period too low + **/ + VotingPeriodLow: AugmentedError; + /** + * Invalid upper bound. + **/ + WrongUpperBound: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + dexRouter: { + /** + * Can not respect minimum amount requested. + **/ + CanNotRespectMinAmountRequested: AugmentedError; + /** + * Route with possible loop is not allowed. + **/ + LoopSuspectedInRouteUpdate: AugmentedError; + /** + * Number of hops in route exceeded maximum limit. + **/ + MaxHopsExceeded: AugmentedError; + /** + * For given asset pair no route found. + **/ + NoRouteFound: AugmentedError; + /** + * Only dual asset pools supported + **/ + OnlyDualAssetPoolsSupported: AugmentedError; + /** + * Unexpected node found while route validation. + **/ + UnexpectedNodeFoundWhileValidation: AugmentedError; + /** + * Unsupported operation. + **/ + UnsupportedOperation: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + dmpQueue: { + /** + * The amount of weight given is possibly not enough for executing the message. + **/ + OverLimit: AugmentedError; + /** + * The message index given is unknown. + **/ + Unknown: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + dutchAuction: { + NotEnoughNativeCurrencyToPayForAuction: AugmentedError; + OrderNotFound: AugmentedError; + OrderParametersIsInvalid: AugmentedError; + RequestedOrderDoesNotExists: AugmentedError; + TakeLimitDoesNotSatisfyOrder: AugmentedError; + TakeOrderDidNotHappen: AugmentedError; + TakeParametersIsInvalid: AugmentedError; + /** + * errors trying to decode and parse XCM input + **/ + XcmCannotDecodeRemoteParametersToLocalRepresentations: AugmentedError; + XcmCannotFindLocalIdentifiersAsDecodedFromRemote: AugmentedError; + XcmNotFoundConfigurationById: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + fnft: { + CollectionAlreadyExists: AugmentedError; + CollectionNotFound: AugmentedError; + InstanceAlreadyExists: AugmentedError; + InstanceNotFound: AugmentedError; + MustBeOwner: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + governanceRegistry: { + /** + * Not found + **/ + NoneError: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + identity: { + /** + * Account ID is already named. + **/ + AlreadyClaimed: AugmentedError; + /** + * Empty index. + **/ + EmptyIndex: AugmentedError; + /** + * Fee is changed. + **/ + FeeChanged: AugmentedError; + /** + * The index is invalid. + **/ + InvalidIndex: AugmentedError; + /** + * Invalid judgement. + **/ + InvalidJudgement: AugmentedError; + /** + * The target is invalid. + **/ + InvalidTarget: AugmentedError; + /** + * Judgement given. + **/ + JudgementGiven: AugmentedError; + /** + * No identity found. + **/ + NoIdentity: AugmentedError; + /** + * Account isn't found. + **/ + NotFound: AugmentedError; + /** + * Account isn't named. + **/ + NotNamed: AugmentedError; + /** + * Sub-account isn't owned by sender. + **/ + NotOwned: AugmentedError; + /** + * Sender is not a sub-account. + **/ + NotSub: AugmentedError; + /** + * Sticky judgement. + **/ + StickyJudgement: AugmentedError; + /** + * Too many additional fields. + **/ + TooManyFields: AugmentedError; + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ + TooManyRegistrars: AugmentedError; + /** + * Too many subs-accounts. + **/ + TooManySubAccounts: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + indices: { + /** + * The index was not available. + **/ + InUse: AugmentedError; + /** + * The index was not already assigned. + **/ + NotAssigned: AugmentedError; + /** + * The index is assigned to another account. + **/ + NotOwner: AugmentedError; + /** + * The source and destination accounts are identical. + **/ + NotTransfer: AugmentedError; + /** + * The index is permanent and may not be freed/changed. + **/ + Permanent: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + lending: { + /** + * Account did not deposit any collateral to particular market. + **/ + AccountCollateralAbsent: AugmentedError; + /** + * Borrow and repay in the same block are not allowed. + * Flashloans are not supported by the pallet. + **/ + BorrowAndRepayInSameBlockIsNotSupported: AugmentedError; + /** + * User tried to repay non-existent loan. + **/ + BorrowDoesNotExist: AugmentedError; + /** + * Borrow limit for particular borrower was not calculated + * due to arithmetic error. + **/ + BorrowLimitCalculationFailed: AugmentedError; + /** + * Account did not pay any rent to particular market. + **/ + BorrowRentDoesNotExist: AugmentedError; + CannotBorrowFromMarketWithUnbalancedVault: AugmentedError; + /** + * Borrow rate can not be calculated. + **/ + CannotCalculateBorrowRate: AugmentedError; + CannotIncreaseCollateralFactorOfOpenMarket: AugmentedError; + /** + * Cannot repay more than total amount of debt when partially repaying. + **/ + CannotRepayMoreThanTotalDebt: AugmentedError; + /** + * A market with a borrow balance of `0` was attempted to be repaid. + **/ + CannotRepayZeroBalance: AugmentedError; + /** + * Market can not be created since + * allowed number of markets was exceeded. + **/ + ExceedLendingCount: AugmentedError; + /** + * Market manager has to deposit initial amount of borrow asset into the market account. + * Initial amount is denominated in normalized currency and calculated based on data + * from Oracle. The error is emitted if calculated amount is incorrect. + **/ + InitialMarketVolumeIncorrect: AugmentedError; + /** + * Invalid collateral factor was provided. + * Collateral factor value must be more than one. + **/ + InvalidCollateralFactor: AugmentedError; + InvalidTimestampOnBorrowRequest: AugmentedError; + /** + * The market could not be found. + **/ + MarketDoesNotExist: AugmentedError; + MarketIsClosing: AugmentedError; + /** + * User has provided not sufficient amount of collateral. + **/ + NotEnoughCollateralToBorrow: AugmentedError; + /** + * When user try to withdraw money beyond what is available. + **/ + NotEnoughCollateralToWithdraw: AugmentedError; + /** + * Block number of provided price is out of allowed tolerance. + **/ + PriceTooOld: AugmentedError; + /** + * Attempted to update a market owned by someone else. + **/ + Unauthorized: AugmentedError; + /** + * The market would go under collateralized if the requested amount of collateral was + * withdrawn. + **/ + WouldGoUnderCollateralized: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + liquidations: { + InvalidLiquidationStrategiesVector: AugmentedError; + NoLiquidationEngineFound: AugmentedError; + OnlyDutchAuctionStrategyIsImplemented: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + mosaic: { + AmountMismatch: AugmentedError; + AssetNotMapped: AugmentedError; + BadTimelockPeriod: AugmentedError; + BadTTL: AugmentedError; + BelowMinTransferSize: AugmentedError; + DestinationAmmIdNotWhitelisted: AugmentedError; + ExceedsMaxTransferSize: AugmentedError; + InsufficientBudget: AugmentedError; + NetworkDisabled: AugmentedError; + NoClaimableTx: AugmentedError; + NoOutgoingTx: AugmentedError; + NoStaleTransactions: AugmentedError; + Overflow: AugmentedError; + RelayerNotSet: AugmentedError; + RemoteAmmIdAlreadyExists: AugmentedError; + RemoteAmmIdNotFound: AugmentedError; + TxStillLocked: AugmentedError; + UnsupportedAsset: AugmentedError; + UnsupportedNetwork: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + multisig: { + /** + * Call is already approved by this signatory. + **/ + AlreadyApproved: AugmentedError; + /** + * The data to be stored is already stored. + **/ + AlreadyStored: AugmentedError; + /** + * The maximum weight information provided was too low. + **/ + MaxWeightTooLow: AugmentedError; + /** + * Threshold must be 2 or greater. + **/ + MinimumThreshold: AugmentedError; + /** + * Call doesn't need any (more) approvals. + **/ + NoApprovalsNeeded: AugmentedError; + /** + * Multisig operation not found when attempting to cancel. + **/ + NotFound: AugmentedError; + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ + NoTimepoint: AugmentedError; + /** + * Only the account that originally created the multisig is able to cancel it. + **/ + NotOwner: AugmentedError; + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ + SenderInSignatories: AugmentedError; + /** + * The signatories were provided out of order; they should be ordered. + **/ + SignatoriesOutOfOrder: AugmentedError; + /** + * There are too few signatories in the list. + **/ + TooFewSignatories: AugmentedError; + /** + * There are too many signatories in the list. + **/ + TooManySignatories: AugmentedError; + /** + * A timepoint was given, yet no multisig operation is underway. + **/ + UnexpectedTimepoint: AugmentedError; + /** + * A different timepoint was given to the multisig operation that is underway. + **/ + WrongTimepoint: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + oracle: { + /** + * Signer has already been set + **/ + AlreadySet: AugmentedError; + /** + * Price already submitted + **/ + AlreadySubmitted: AugmentedError; + /** + * Annual rewarding cost too high + **/ + AnnualRewardLessThanAlreadyRewarded: AugmentedError; + ArithmeticError: AugmentedError; + /** + * Error avoids a panic + **/ + AvoidPanic: AugmentedError; + /** + * Block interval is less then stale price + **/ + BlockIntervalLength: AugmentedError; + /** + * This controller is already in use + **/ + ControllerUsed: AugmentedError; + /** + * Too many weighted averages requested + **/ + DepthTooLarge: AugmentedError; + /** + * Asset count exceeded + **/ + ExceedAssetsCount: AugmentedError; + /** + * Max answers have been exceeded + **/ + ExceedMaxAnswers: AugmentedError; + /** + * Stake exceeded + **/ + ExceedStake: AugmentedError; + /** + * Threshold exceeded + **/ + ExceedThreshold: AugmentedError; + /** + * Invalid asset id + **/ + InvalidAssetId: AugmentedError; + /** + * Invalid min answers + **/ + InvalidMinAnswers: AugmentedError; + MaxAnswersLessThanMinAnswers: AugmentedError; + MaxHistory: AugmentedError; + MaxPrePrices: AugmentedError; + /** + * Max prices already reached + **/ + MaxPrices: AugmentedError; + /** + * Price weight must sum to 100 + **/ + MustSumTo100: AugmentedError; + /** + * No Permission + **/ + NoPermission: AugmentedError; + /** + * Rewarding has not started + **/ + NoRewardTrackerSet: AugmentedError; + /** + * No stake for oracle + **/ + NoStake: AugmentedError; + /** + * Not Enough Funds to complete action + **/ + NotEnoughFunds: AugmentedError; + /** + * Not enough oracle stake for action + **/ + NotEnoughStake: AugmentedError; + /** + * Price not found + **/ + PriceNotFound: AugmentedError; + /** + * Price has not been requested + **/ + PriceNotRequested: AugmentedError; + /** + * This signer is already in use + **/ + SignerUsed: AugmentedError; + /** + * Stake is locked try again later + **/ + StakeLocked: AugmentedError; + /** + * There was an error transferring + **/ + TransferError: AugmentedError; + /** + * Unknown + **/ + Unknown: AugmentedError; + /** + * No controller has been set + **/ + UnsetController: AugmentedError; + /** + * Signer has not been set + **/ + UnsetSigner: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + pablo: { + AmpFactorMustBeGreaterThanZero: AugmentedError; + AssetAmountMustBePositiveNumber: AugmentedError; + AssetNotFound: AugmentedError; + CannotRespectMinimumRequested: AugmentedError; + InvalidAmount: AugmentedError; + InvalidAsset: AugmentedError; + InvalidFees: AugmentedError; + InvalidPair: AugmentedError; + InvalidSaleState: AugmentedError; + MissingAmount: AugmentedError; + MissingMinExpectedAmount: AugmentedError; + MoreThanTwoAssetsNotYetSupported: AugmentedError; + MustBeOwner: AugmentedError; + NoLpTokenForLbp: AugmentedError; + NotEnoughLiquidity: AugmentedError; + NotEnoughLpToken: AugmentedError; + NoXTokenForLbp: AugmentedError; + PairMismatch: AugmentedError; + PoolNotFound: AugmentedError; + StakingPoolConfigError: AugmentedError; + WeightsMustBeNonZero: AugmentedError; + WeightsMustSumToOne: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + parachainSystem: { + /** + * The inherent which supplies the host configuration did not run this block + **/ + HostConfigurationNotAvailable: AugmentedError; + /** + * No code upgrade has been authorized. + **/ + NothingAuthorized: AugmentedError; + /** + * No validation function upgrade is currently scheduled. + **/ + NotScheduled: AugmentedError; + /** + * Attempt to upgrade validation function while existing upgrade pending + **/ + OverlappingUpgrades: AugmentedError; + /** + * Polkadot currently prohibits this parachain from upgrading its validation function + **/ + ProhibitedByPolkadot: AugmentedError; + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run + **/ + TooBig: AugmentedError; + /** + * The given code upgrade has not been authorized. + **/ + Unauthorized: AugmentedError; + /** + * The inherent which supplies the validation data did not run this block + **/ + ValidationDataNotAvailable: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + preimage: { + /** + * Preimage has already been noted on-chain. + **/ + AlreadyNoted: AugmentedError; + /** + * The user is not authorized to perform this action. + **/ + NotAuthorized: AugmentedError; + /** + * The preimage cannot be removed since it has not yet been noted. + **/ + NotNoted: AugmentedError; + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ + NotRequested: AugmentedError; + /** + * A preimage may not be removed when there are outstanding requests. + **/ + Requested: AugmentedError; + /** + * Preimage is too large to store on-chain. + **/ + TooLarge: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + proxy: { + /** + * Account is already a proxy. + **/ + Duplicate: AugmentedError; + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ + NoPermission: AugmentedError; + /** + * Cannot add self as proxy. + **/ + NoSelfProxy: AugmentedError; + /** + * Proxy registration not found. + **/ + NotFound: AugmentedError; + /** + * Sender is not a proxy of the account to be proxied. + **/ + NotProxy: AugmentedError; + /** + * There are too many proxies registered or too many announcements pending. + **/ + TooMany: AugmentedError; + /** + * Announcement, if made at all, was made too recently. + **/ + Unannounced: AugmentedError; + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ + Unproxyable: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + relayerXcm: { + /** + * The location is invalid since it already has a subscription from us. + **/ + AlreadySubscribed: AugmentedError; + /** + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ + BadLocation: AugmentedError; + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ + BadVersion: AugmentedError; + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ + CannotReanchor: AugmentedError; + /** + * The destination `MultiLocation` provided cannot be inverted. + **/ + DestinationNotInvertible: AugmentedError; + /** + * The assets to be sent are empty. + **/ + Empty: AugmentedError; + /** + * The message execution fails the filter. + **/ + Filtered: AugmentedError; + /** + * Origin is invalid for sending. + **/ + InvalidOrigin: AugmentedError; + /** + * The referenced subscription could not be found. + **/ + NoSubscription: AugmentedError; + /** + * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps + * a lack of space for buffering the message. + **/ + SendFailure: AugmentedError; + /** + * Too many assets have been attempted for transfer. + **/ + TooManyAssets: AugmentedError; + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ + Unreachable: AugmentedError; + /** + * The message's weight could not be determined. + **/ + UnweighableMessage: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + scheduler: { + /** + * Failed to schedule a call + **/ + FailedToSchedule: AugmentedError; + /** + * Cannot find the scheduled call. + **/ + NotFound: AugmentedError; + /** + * Reschedule failed because it does not change scheduled time. + **/ + RescheduleNoChange: AugmentedError; + /** + * Given target block number is in the past. + **/ + TargetBlockNumberInPast: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + session: { + /** + * Registered duplicate key. + **/ + DuplicatedKey: AugmentedError; + /** + * Invalid ownership proof. + **/ + InvalidProof: AugmentedError; + /** + * Key setting account is not live, so it's impossible to associate keys. + **/ + NoAccount: AugmentedError; + /** + * No associated validator ID for account. + **/ + NoAssociatedValidatorId: AugmentedError; + /** + * No keys are associated with this account. + **/ + NoKeys: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + stakingRewards: { + /** + * Some operation resulted in an arithmetic overflow. + **/ + ArithmeticError: AugmentedError; + BackToTheFuture: AugmentedError; + /** + * The duration provided was not valid for the pool. + **/ + DurationPresetNotFound: AugmentedError; + /** + * Invalid end block number provided for creating a pool. + **/ + EndBlockMustBeAfterStartBlock: AugmentedError; + FnftNotFound: AugmentedError; + /** + * AssetId is invalid, asset IDs must be greater than 0 + **/ + InvalidAssetId: AugmentedError; + /** + * Reward's max limit reached. + **/ + MaxRewardLimitReached: AugmentedError; + /** + * No duration presets were provided upon pool creation. + **/ + NoDurationPresetsProvided: AugmentedError; + /** + * Not enough assets for a stake. + **/ + NotEnoughAssets: AugmentedError; + /** + * only the owner of stake can unstake it + **/ + OnlyStakeOwnerCanInteractWithStake: AugmentedError; + /** + * Error when creating reduction configs. + **/ + ReductionConfigProblem: AugmentedError; + /** + * Reward asset not found in reward pool. + **/ + RewardAssetNotFound: AugmentedError; + /** + * Error when creating reward configs. + **/ + RewardConfigProblem: AugmentedError; + /** + * Reward pool already exists + **/ + RewardsPoolAlreadyExists: AugmentedError; + /** + * Rewards pool has not started. + **/ + RewardsPoolHasNotStarted: AugmentedError; + /** + * Rewards pool not found. + **/ + RewardsPoolNotFound: AugmentedError; + /** + * The rewards pot for this pool is empty. + **/ + RewardsPotEmpty: AugmentedError; + /** + * Slashed amount of minimum reward is less than existential deposit + **/ + SlashedAmountTooLow: AugmentedError; + /** + * Slashed amount of minimum staking amount is less than existential deposit + **/ + SlashedMinimumStakingAmountTooLow: AugmentedError; + /** + * Staked amount is less than the minimum staking amount for the pool. + **/ + StakedAmountTooLow: AugmentedError; + /** + * Staked amount after split is less than the minimum staking amount for the pool. + **/ + StakedAmountTooLowAfterSplit: AugmentedError; + /** + * No stake found for given id. + **/ + StakeNotFound: AugmentedError; + /** + * Invalid start block number provided for creating a pool. + **/ + StartBlockMustBeAfterCurrentBlock: AugmentedError; + /** + * Too many rewarded asset types per pool violating the storage allowed. + **/ + TooManyRewardAssetTypes: AugmentedError; + /** + * Unimplemented reward pool type. + **/ + UnimplementedRewardPoolConfiguration: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + sudo: { + /** + * Sender must be the Sudo account + **/ + RequireSudo: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + system: { + /** + * The origin filter prevent the call to be dispatched. + **/ + CallFiltered: AugmentedError; + /** + * Failed to extract the runtime version from the new runtime. + * + * Either calling `Core_version` or decoding `RuntimeVersion` failed. + **/ + FailedToExtractRuntimeVersion: AugmentedError; + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ + InvalidSpecName: AugmentedError; + /** + * Suicide called when the account has non-default composite data. + **/ + NonDefaultComposite: AugmentedError; + /** + * There is a non-zero reference count preventing the account from being purged. + **/ + NonZeroRefCount: AugmentedError; + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ + SpecVersionNeedsToIncrease: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + technicalCommittee: { + /** + * Members are already initialized! + **/ + AlreadyInitialized: AugmentedError; + /** + * Duplicate proposals not allowed + **/ + DuplicateProposal: AugmentedError; + /** + * Duplicate vote ignored + **/ + DuplicateVote: AugmentedError; + /** + * Account is not a member + **/ + NotMember: AugmentedError; + /** + * Proposal must exist + **/ + ProposalMissing: AugmentedError; + /** + * The close call was made too early, before the end of the voting. + **/ + TooEarly: AugmentedError; + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ + TooManyProposals: AugmentedError; + /** + * Mismatched index + **/ + WrongIndex: AugmentedError; + /** + * The given length bound for the proposal was too low. + **/ + WrongProposalLength: AugmentedError; + /** + * The given weight bound for the proposal was too low. + **/ + WrongProposalWeight: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + technicalCommitteeMembership: { + /** + * Already a member. + **/ + AlreadyMember: AugmentedError; + /** + * Not a member. + **/ + NotMember: AugmentedError; + /** + * Too many members. + **/ + TooManyMembers: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + tokens: { + /** + * Cannot convert Amount into Balance type + **/ + AmountIntoBalanceFailed: AugmentedError; + /** + * The balance is too low + **/ + BalanceTooLow: AugmentedError; + /** + * Beneficiary account must pre-exist + **/ + DeadAccount: AugmentedError; + /** + * Value too low to create account due to existential deposit + **/ + ExistentialDeposit: AugmentedError; + /** + * Transfer/payment would kill account + **/ + KeepAlive: AugmentedError; + /** + * Failed because liquidity restrictions due to locking + **/ + LiquidityRestrictions: AugmentedError; + /** + * Failed because the maximum locks was exceeded + **/ + MaxLocksExceeded: AugmentedError; + TooManyReserves: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + treasury: { + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ + InsufficientPermission: AugmentedError; + /** + * Proposer's balance is too low. + **/ + InsufficientProposersBalance: AugmentedError; + /** + * No proposal or bounty at that index. + **/ + InvalidIndex: AugmentedError; + /** + * Proposal has not been approved. + **/ + ProposalNotApproved: AugmentedError; + /** + * Too many approvals in the queue. + **/ + TooManyApprovals: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + unknownTokens: { + /** + * The operation will cause balance to overflow. + **/ + BalanceOverflow: AugmentedError; + /** + * The balance is too low. + **/ + BalanceTooLow: AugmentedError; + /** + * Unhandled asset. + **/ + UnhandledAsset: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + utility: { + /** + * Too many calls batched. + **/ + TooManyCalls: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + vault: { + /** + * It is not possible to perform a privileged action using an ordinary account + **/ + AccountIsNotManager: AugmentedError; + /** + * Vaults must allocate the proper ratio between reserved and strategies, so that the + * ratio sums up to one. + **/ + AllocationMustSumToOne: AugmentedError; + /** + * Deposit amounts not exceeding [`MinimumDeposit`](Config::MinimumDeposit) are declined + * and result in `AmountMustGteMinimumDeposit`. + **/ + AmountMustGteMinimumDeposit: AugmentedError; + /** + * Withdrawal amounts not exceeding [`MinimumWithdrawal`](Config::MinimumWithdrawal) are + * declined and result in `AmountMustGteMinimumWithdrawal`. + **/ + AmountMustGteMinimumWithdrawal: AugmentedError; + /** + * Failures in creating LP tokens during vault creation result in `CannotCreateAsset`. + **/ + CannotCreateAsset: AugmentedError; + /** + * The vault has deposits halted, see [Capabilities](crate::capabilities::Capabilities). + **/ + DepositsHalted: AugmentedError; + /** + * Creating vaults with invalid creation deposits results in + * `InsufficientCreationDeposit`. + **/ + InsufficientCreationDeposit: AugmentedError; + /** + * Vaults may have insufficient funds for withdrawals, as well as users wishing to deposit + * an incorrect amount. + **/ + InsufficientFunds: AugmentedError; + /** + * Requesting withdrawals for more LP tokens than available to the user result in + * `InsufficientLpTokens` + **/ + InsufficientLpTokens: AugmentedError; + /** + * Existentially funded vaults do not require extra funds. + **/ + InvalidAddSurcharge: AugmentedError; + InvalidDeletionClaim: AugmentedError; + /** + * Attempting to tombstone a vault which has rent remaining results in + * `InvalidSurchargeClaim`. + **/ + InvalidSurchargeClaim: AugmentedError; + /** + * Minting failures result in `MintFailed`. In general this should never occur. + **/ + MintFailed: AugmentedError; + /** + * If the vault contains too many assets (close to the `Balance::MAX`), it is considered + * full as arithmetic starts overflowing. + **/ + NoFreeVaultAllocation: AugmentedError; + /** + * When trying to withdraw too much from the vault, `NotEnoughLiquidity` is returned. + **/ + NotEnoughLiquidity: AugmentedError; + /** + * Not all vaults have an associated LP token. Attempting to perform LP token related + * operations result in `NotVaultLpToken`. + **/ + NotVaultLpToken: AugmentedError; + OnlyManagerCanDoThisOperation: AugmentedError; + /** + * The vault could not be deleted, as it was not tombstoned for long enough. + **/ + TombstoneDurationNotExceeded: AugmentedError; + /** + * Vaults may have up to [`MaxStrategies`](Config::MaxStrategies) strategies. + **/ + TooManyStrategies: AugmentedError; + /** + * Failures to transfer funds from the vault to users or vice- versa result in + * `TransferFromFailed`. + **/ + TransferFromFailed: AugmentedError; + /** + * Querying/operating on invalid vault id's result in `VaultDoesNotExist`. + **/ + VaultDoesNotExist: AugmentedError; + /** + * The vault could not be deleted, as it was not yet tombstoned. + **/ + VaultNotTombstoned: AugmentedError; + /** + * The vault has withdrawals halted, see + * [Capabilities](crate::capabilities::Capabilities). + **/ + WithdrawalsHalted: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + vesting: { + /** + * The vested transfer amount is too low + **/ + AmountLow: AugmentedError; + /** + * Insufficient amount of balance to lock + **/ + InsufficientBalanceToLock: AugmentedError; + /** + * Failed because the maximum vesting schedules was exceeded + **/ + MaxVestingSchedulesExceeded: AugmentedError; + /** + * This account have too many vesting schedules + **/ + TooManyVestingSchedules: AugmentedError; + /** + * Trying to vest to ourselves + **/ + TryingToSelfVest: AugmentedError; + /** + * There is no vesting schedule with a given id + **/ + VestingScheduleNotFound: AugmentedError; + /** + * Vesting period is zero + **/ + ZeroVestingPeriod: AugmentedError; + /** + * Number of vests is zero + **/ + ZeroVestingPeriodCount: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + xcmpQueue: { + /** + * Bad overweight index. + **/ + BadOverweightIndex: AugmentedError; + /** + * Bad XCM data. + **/ + BadXcm: AugmentedError; + /** + * Bad XCM origin. + **/ + BadXcmOrigin: AugmentedError; + /** + * Failed to send XCM message. + **/ + FailedToSend: AugmentedError; + /** + * Provided weight is possibly not enough to execute the message. + **/ + WeightOverLimit: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + xTokens: { + /** + * Asset has no reserve location. + **/ + AssetHasNoReserve: AugmentedError; + /** + * The specified index does not exist in a MultiAssets struct. + **/ + AssetIndexNonExistent: AugmentedError; + /** + * The version of the `Versioned` value used is not able to be + * interpreted. + **/ + BadVersion: AugmentedError; + /** + * Could not re-anchor the assets to declare the fees for the + * destination chain. + **/ + CannotReanchor: AugmentedError; + /** + * The destination `MultiLocation` provided cannot be inverted. + **/ + DestinationNotInvertible: AugmentedError; + /** + * We tried sending distinct asset and fee but they have different + * reserve chains. + **/ + DistinctReserveForAssetAndFee: AugmentedError; + /** + * Fee is not enough. + **/ + FeeNotEnough: AugmentedError; + /** + * Could not get ancestry of asset reserve location. + **/ + InvalidAncestry: AugmentedError; + /** + * The MultiAsset is invalid. + **/ + InvalidAsset: AugmentedError; + /** + * Invalid transfer destination. + **/ + InvalidDest: AugmentedError; + /** + * MinXcmFee not registered for certain reserve location + **/ + MinXcmFeeNotDefined: AugmentedError; + /** + * Not cross-chain transfer. + **/ + NotCrossChainTransfer: AugmentedError; + /** + * Currency is not cross-chain transferable. + **/ + NotCrossChainTransferableCurrency: AugmentedError; + /** + * Not supported MultiLocation + **/ + NotSupportedMultiLocation: AugmentedError; + /** + * The number of assets to be sent is over the maximum. + **/ + TooManyAssetsBeingSent: AugmentedError; + /** + * The message's weight could not be determined. + **/ + UnweighableMessage: AugmentedError; + /** + * XCM execution failed. + **/ + XcmExecutionFailed: AugmentedError; + /** + * The transfering asset amount is zero. + **/ + ZeroAmount: AugmentedError; + /** + * The fee is zero. + **/ + ZeroFee: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + } // AugmentedErrors +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-events.ts b/src/chains/polkadot/api-scheme/augments/augment-api-events.ts new file mode 100644 index 00000000..399c5605 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-events.ts @@ -0,0 +1,2254 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/events'; +import type { + bool, + BTreeMap, + Bytes, + Null, + Option, + Result, + Struct, + u8, + U8aFixed, + u16, + u32, + u64, + u128, + Vec +} from '@polkadot/types-codec'; +import type { ITuple } from '@polkadot/types-codec/types'; +import type { AccountId32, H256, Percent } from '@polkadot/types/interfaces/runtime'; + +import type { ComposableTraitsDefiCurrencyPairCurrencyId } from '../common'; +import type { + CommonMosaicRemoteAssetId, + ComposableSupportEthereumAddress, + ComposableTraitsAccountProxyProxyType, + ComposableTraitsCallFilterCallFilterEntry, + ComposableTraitsLendingUpdateInput, + ComposableTraitsTimeTimeReleaseFunction, + ComposableTraitsXcmAssetsXcmAssetLocation, + FrameSupportScheduleLookupError, + FrameSupportTokensMiscBalanceStatus, + FrameSupportWeightsDispatchInfo, + PalletCosmwasmContractInfo, + PalletCosmwasmEntryPoint, + PalletCrowdloanRewardsModelsRemoteAccount, + PalletDemocracyVoteAccountVote, + PalletDutchAuctionSellOrder, + PalletMosaicAmmSwapInfo, + PalletMosaicDecayBudgetPenaltyDecayer, + PalletMosaicNetworkInfo, + PalletMultisigTimepoint, + PalletStakingRewardsRewardAccumulationHookError, + SpRuntimeDispatchError, + XcmV1MultiAsset, + XcmV1MultiassetMultiAssets, + XcmV1MultiLocation, + XcmV2Response, + XcmV2TraitsError, + XcmV2TraitsOutcome, + XcmV2Xcm, + XcmVersionedMultiAssets, + XcmVersionedMultiLocation +} from '../crowdloanRewards'; +import type { PalletDemocracyVoteThreshold } from '../democracy'; +import type { ComposableTraitsDexFee } from '../pablo'; +import type { ComposableTraitsVestingVestingSchedule, ComposableTraitsVestingVestingScheduleIdSet } from '../vesting'; + +export type __AugmentedEvent = AugmentedEvent; + +declare module '@polkadot/api-base/types/events' { + export interface AugmentedEvents { + assetsRegistry: { + AssetRegistered: AugmentedEvent< + ApiType, + [assetId: u128, location: ComposableTraitsXcmAssetsXcmAssetLocation, decimals: Option], + { + assetId: u128; + location: ComposableTraitsXcmAssetsXcmAssetLocation; + decimals: Option; + } + >; + AssetUpdated: AugmentedEvent< + ApiType, + [assetId: u128, location: ComposableTraitsXcmAssetsXcmAssetLocation, decimals: Option], + { + assetId: u128; + location: ComposableTraitsXcmAssetsXcmAssetLocation; + decimals: Option; + } + >; + MinFeeUpdated: AugmentedEvent< + ApiType, + [targetParachainId: u32, foreignAssetId: ComposableTraitsXcmAssetsXcmAssetLocation, amount: Option], + { + targetParachainId: u32; + foreignAssetId: ComposableTraitsXcmAssetsXcmAssetLocation; + amount: Option; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + balances: { + /** + * A balance was set by root. + **/ + BalanceSet: AugmentedEvent< + ApiType, + [who: AccountId32, free: u128, reserved: u128], + { who: AccountId32; free: u128; reserved: u128 } + >; + /** + * Some amount was deposited (e.g. for transaction fees). + **/ + Deposit: AugmentedEvent; + /** + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ + DustLost: AugmentedEvent; + /** + * An account was created with some free balance. + **/ + Endowed: AugmentedEvent< + ApiType, + [account: AccountId32, freeBalance: u128], + { account: AccountId32; freeBalance: u128 } + >; + /** + * Some balance was reserved (moved from free to reserved). + **/ + Reserved: AugmentedEvent; + /** + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ + ReserveRepatriated: AugmentedEvent< + ApiType, + [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], + { + from: AccountId32; + to: AccountId32; + amount: u128; + destinationStatus: FrameSupportTokensMiscBalanceStatus; + } + >; + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ + Slashed: AugmentedEvent; + /** + * Transfer succeeded. + **/ + Transfer: AugmentedEvent< + ApiType, + [from: AccountId32, to: AccountId32, amount: u128], + { from: AccountId32; to: AccountId32; amount: u128 } + >; + /** + * Some balance was unreserved (moved from reserved to free). + **/ + Unreserved: AugmentedEvent; + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ + Withdraw: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + bondedFinance: { + /** + * A new bond has been registered. + **/ + NewBond: AugmentedEvent< + ApiType, + [offerId: u128, who: AccountId32, nbOfBonds: u128], + { offerId: u128; who: AccountId32; nbOfBonds: u128 } + >; + /** + * A new offer has been created. + **/ + NewOffer: AugmentedEvent< + ApiType, + [offerId: u128, beneficiary: AccountId32], + { offerId: u128; beneficiary: AccountId32 } + >; + /** + * An offer has been cancelled by the `AdminOrigin`. + **/ + OfferCancelled: AugmentedEvent; + /** + * An offer has been completed. + **/ + OfferCompleted: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + callFilter: { + /** + * Paused transaction + **/ + Disabled: AugmentedEvent< + ApiType, + [entry: ComposableTraitsCallFilterCallFilterEntry], + { entry: ComposableTraitsCallFilterCallFilterEntry } + >; + /** + * Unpaused transaction + **/ + Enabled: AugmentedEvent< + ApiType, + [entry: ComposableTraitsCallFilterCallFilterEntry], + { entry: ComposableTraitsCallFilterCallFilterEntry } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + collatorSelection: { + CandidateAdded: AugmentedEvent< + ApiType, + [accountId: AccountId32, deposit: u128], + { accountId: AccountId32; deposit: u128 } + >; + CandidateRemoved: AugmentedEvent; + NewCandidacyBond: AugmentedEvent; + NewDesiredCandidates: AugmentedEvent; + NewInvulnerables: AugmentedEvent], { invulnerables: Vec }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + cosmwasm: { + AdminCleared: AugmentedEvent< + ApiType, + [contract: AccountId32, oldAdmin: Option], + { contract: AccountId32; oldAdmin: Option } + >; + AdminUpdated: AugmentedEvent< + ApiType, + [contract: AccountId32, oldAdmin: Option, newAdmin: AccountId32], + { + contract: AccountId32; + oldAdmin: Option; + newAdmin: AccountId32; + } + >; + Emitted: AugmentedEvent< + ApiType, + [contract: AccountId32, ty: Bytes, attributes: Vec>], + { + contract: AccountId32; + ty: Bytes; + attributes: Vec>; + } + >; + Executed: AugmentedEvent< + ApiType, + [contract: AccountId32, entrypoint: PalletCosmwasmEntryPoint, data: Option], + { + contract: AccountId32; + entrypoint: PalletCosmwasmEntryPoint; + data: Option; + } + >; + ExecutionFailed: AugmentedEvent< + ApiType, + [contract: AccountId32, entrypoint: PalletCosmwasmEntryPoint, error: Bytes], + { + contract: AccountId32; + entrypoint: PalletCosmwasmEntryPoint; + error: Bytes; + } + >; + IbcChannelOpen: AugmentedEvent; + Instantiated: AugmentedEvent< + ApiType, + [contract: AccountId32, info: PalletCosmwasmContractInfo], + { contract: AccountId32; info: PalletCosmwasmContractInfo } + >; + Migrated: AugmentedEvent; + Uploaded: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + council: { + /** + * A motion was approved by the required threshold. + **/ + Approved: AugmentedEvent; + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ + Closed: AugmentedEvent< + ApiType, + [proposalHash: H256, yes: u32, no: u32], + { proposalHash: H256; yes: u32; no: u32 } + >; + /** + * A motion was not approved by the required threshold. + **/ + Disapproved: AugmentedEvent; + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ + Executed: AugmentedEvent< + ApiType, + [proposalHash: H256, result: Result], + { proposalHash: H256; result: Result } + >; + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ + MemberExecuted: AugmentedEvent< + ApiType, + [proposalHash: H256, result: Result], + { proposalHash: H256; result: Result } + >; + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ + Proposed: AugmentedEvent< + ApiType, + [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], + { + account: AccountId32; + proposalIndex: u32; + proposalHash: H256; + threshold: u32; + } + >; + /** + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ + Voted: AugmentedEvent< + ApiType, + [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], + { + account: AccountId32; + proposalHash: H256; + voted: bool; + yes: u32; + no: u32; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + councilMembership: { + /** + * Phantom member, never used. + **/ + Dummy: AugmentedEvent; + /** + * One of the members' keys changed. + **/ + KeyChanged: AugmentedEvent; + /** + * The given member was added; see the transaction for who. + **/ + MemberAdded: AugmentedEvent; + /** + * The given member was removed; see the transaction for who. + **/ + MemberRemoved: AugmentedEvent; + /** + * The membership was reset; see the transaction for who the new set is. + **/ + MembersReset: AugmentedEvent; + /** + * Two members were swapped; see the transaction for who. + **/ + MembersSwapped: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + crowdloanRewards: { + /** + * A remote account has been associated with a reward account. + **/ + Associated: AugmentedEvent< + ApiType, + [remoteAccount: PalletCrowdloanRewardsModelsRemoteAccount, rewardAccount: AccountId32], + { + remoteAccount: PalletCrowdloanRewardsModelsRemoteAccount; + rewardAccount: AccountId32; + } + >; + /** + * A claim has been made. + **/ + Claimed: AugmentedEvent< + ApiType, + [remoteAccount: PalletCrowdloanRewardsModelsRemoteAccount, rewardAccount: AccountId32, amount: u128], + { + remoteAccount: PalletCrowdloanRewardsModelsRemoteAccount; + rewardAccount: AccountId32; + amount: u128; + } + >; + /** + * The crowdloan has been initialized or set to initialize at some time. + **/ + Initialized: AugmentedEvent; + /** + * The crowdloan was successfully initialized, but with excess funds that won't be + * claimed. + **/ + OverFunded: AugmentedEvent; + /** + * A portion of rewards have been unlocked and future claims will not have locks + **/ + RewardsUnlocked: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + cumulusXcm: { + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ + ExecutedDownward: AugmentedEvent; + /** + * Downward message is invalid XCM. + * \[ id \] + **/ + InvalidFormat: AugmentedEvent; + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ + UnsupportedVersion: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + currencyFactory: { + RangeCreated: AugmentedEvent< + ApiType, + [ + range: { + readonly current: u128; + readonly end: u128; + } & Struct + ], + { + range: { + readonly current: u128; + readonly end: u128; + } & Struct; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + democracy: { + /** + * A proposal_hash has been blacklisted permanently. + **/ + Blacklisted: AugmentedEvent; + /** + * A referendum has been cancelled. + **/ + Cancelled: AugmentedEvent; + /** + * An account has delegated their vote to another account. + **/ + Delegated: AugmentedEvent< + ApiType, + [who: AccountId32, target: AccountId32], + { who: AccountId32; target: AccountId32 } + >; + /** + * A proposal has been enacted. + **/ + Executed: AugmentedEvent< + ApiType, + [refIndex: u32, result: Result], + { refIndex: u32; result: Result } + >; + /** + * An external proposal has been tabled. + **/ + ExternalTabled: AugmentedEvent; + /** + * A proposal has been rejected by referendum. + **/ + NotPassed: AugmentedEvent; + /** + * A proposal has been approved by referendum. + **/ + Passed: AugmentedEvent; + /** + * A proposal could not be executed because its preimage was invalid. + **/ + PreimageInvalid: AugmentedEvent< + ApiType, + [proposalHash: H256, refIndex: u32], + { proposalHash: H256; refIndex: u32 } + >; + /** + * A proposal could not be executed because its preimage was missing. + **/ + PreimageMissing: AugmentedEvent< + ApiType, + [proposalHash: H256, refIndex: u32], + { proposalHash: H256; refIndex: u32 } + >; + /** + * A proposal's preimage was noted, and the deposit taken. + **/ + PreimageNoted: AugmentedEvent< + ApiType, + [proposalHash: H256, who: AccountId32, deposit: u128], + { proposalHash: H256; who: AccountId32; deposit: u128 } + >; + /** + * A registered preimage was removed and the deposit collected by the reaper. + **/ + PreimageReaped: AugmentedEvent< + ApiType, + [proposalHash: H256, provider: AccountId32, deposit: u128, reaper: AccountId32], + { + proposalHash: H256; + provider: AccountId32; + deposit: u128; + reaper: AccountId32; + } + >; + /** + * A proposal preimage was removed and used (the deposit was returned). + **/ + PreimageUsed: AugmentedEvent< + ApiType, + [proposalHash: H256, provider: AccountId32, deposit: u128], + { proposalHash: H256; provider: AccountId32; deposit: u128 } + >; + /** + * A proposal got canceled. + **/ + ProposalCanceled: AugmentedEvent; + /** + * A motion has been proposed by a public account. + **/ + Proposed: AugmentedEvent; + /** + * An account has secconded a proposal + **/ + Seconded: AugmentedEvent< + ApiType, + [seconder: AccountId32, propIndex: u32], + { seconder: AccountId32; propIndex: u32 } + >; + /** + * A referendum has begun. + **/ + Started: AugmentedEvent< + ApiType, + [refIndex: u32, threshold: PalletDemocracyVoteThreshold], + { refIndex: u32; threshold: PalletDemocracyVoteThreshold } + >; + /** + * A public proposal has been tabled for referendum vote. + **/ + Tabled: AugmentedEvent< + ApiType, + [proposalIndex: u32, deposit: u128, depositors: Vec], + { proposalIndex: u32; deposit: u128; depositors: Vec } + >; + /** + * An account has cancelled a previous delegation operation. + **/ + Undelegated: AugmentedEvent; + /** + * An external proposal has been vetoed. + **/ + Vetoed: AugmentedEvent< + ApiType, + [who: AccountId32, proposalHash: H256, until: u32], + { who: AccountId32; proposalHash: H256; until: u32 } + >; + /** + * An account has voted in a referendum + **/ + Voted: AugmentedEvent< + ApiType, + [voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote], + { + voter: AccountId32; + refIndex: u32; + vote: PalletDemocracyVoteAccountVote; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + dexRouter: { + RouteAdded: AugmentedEvent< + ApiType, + [xAssetId: u128, yAssetId: u128, route: Vec], + { xAssetId: u128; yAssetId: u128; route: Vec } + >; + RouteDeleted: AugmentedEvent< + ApiType, + [xAssetId: u128, yAssetId: u128, route: Vec], + { xAssetId: u128; yAssetId: u128; route: Vec } + >; + RouteUpdated: AugmentedEvent< + ApiType, + [xAssetId: u128, yAssetId: u128, oldRoute: Vec, updatedRoute: Vec], + { + xAssetId: u128; + yAssetId: u128; + oldRoute: Vec; + updatedRoute: Vec; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + dmpQueue: { + /** + * Downward message executed with the given outcome. + **/ + ExecutedDownward: AugmentedEvent< + ApiType, + [messageId: U8aFixed, outcome: XcmV2TraitsOutcome], + { messageId: U8aFixed; outcome: XcmV2TraitsOutcome } + >; + /** + * Downward message is invalid XCM. + **/ + InvalidFormat: AugmentedEvent; + /** + * Downward message is overweight and was placed in the overweight queue. + **/ + OverweightEnqueued: AugmentedEvent< + ApiType, + [messageId: U8aFixed, overweightIndex: u64, requiredWeight: u64], + { messageId: U8aFixed; overweightIndex: u64; requiredWeight: u64 } + >; + /** + * Downward message from the overweight queue was executed. + **/ + OverweightServiced: AugmentedEvent< + ApiType, + [overweightIndex: u64, weightUsed: u64], + { overweightIndex: u64; weightUsed: u64 } + >; + /** + * Downward message is unsupported version of XCM. + **/ + UnsupportedVersion: AugmentedEvent; + /** + * The weight limit for handling downward messages was reached. + **/ + WeightExhausted: AugmentedEvent< + ApiType, + [messageId: U8aFixed, remainingWeight: u64, requiredWeight: u64], + { messageId: U8aFixed; remainingWeight: u64; requiredWeight: u64 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + dutchAuction: { + ConfigurationAdded: AugmentedEvent< + ApiType, + [configurationId: u128, configuration: ComposableTraitsTimeTimeReleaseFunction], + { + configurationId: u128; + configuration: ComposableTraitsTimeTimeReleaseFunction; + } + >; + OrderAdded: AugmentedEvent< + ApiType, + [orderId: u128, order: PalletDutchAuctionSellOrder], + { orderId: u128; order: PalletDutchAuctionSellOrder } + >; + OrderRemoved: AugmentedEvent; + /** + * raised when part or whole order was taken with mentioned balance + **/ + OrderTaken: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + fnft: { + FinancialNftBurned: AugmentedEvent< + ApiType, + [collectionId: u128, instanceId: u64], + { collectionId: u128; instanceId: u64 } + >; + FinancialNftCollectionCreated: AugmentedEvent< + ApiType, + [collectionId: u128, who: AccountId32, admin: AccountId32], + { collectionId: u128; who: AccountId32; admin: AccountId32 } + >; + FinancialNftCreated: AugmentedEvent< + ApiType, + [collectionId: u128, instanceId: u64], + { collectionId: u128; instanceId: u64 } + >; + FinancialNftTransferred: AugmentedEvent< + ApiType, + [collectionId: u128, instanceId: u64, to: AccountId32], + { collectionId: u128; instanceId: u64; to: AccountId32 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + governanceRegistry: { + GrantRoot: AugmentedEvent; + Remove: AugmentedEvent; + Set: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + identity: { + /** + * A name was cleared, and the given balance returned. + **/ + IdentityCleared: AugmentedEvent; + /** + * A name was removed and the given balance slashed. + **/ + IdentityKilled: AugmentedEvent; + /** + * A name was set or reset (which will remove all judgements). + **/ + IdentitySet: AugmentedEvent; + /** + * A judgement was given by a registrar. + **/ + JudgementGiven: AugmentedEvent< + ApiType, + [target: AccountId32, registrarIndex: u32], + { target: AccountId32; registrarIndex: u32 } + >; + /** + * A judgement was asked from a registrar. + **/ + JudgementRequested: AugmentedEvent< + ApiType, + [who: AccountId32, registrarIndex: u32], + { who: AccountId32; registrarIndex: u32 } + >; + /** + * A judgement request was retracted. + **/ + JudgementUnrequested: AugmentedEvent< + ApiType, + [who: AccountId32, registrarIndex: u32], + { who: AccountId32; registrarIndex: u32 } + >; + /** + * A registrar was added. + **/ + RegistrarAdded: AugmentedEvent; + /** + * A sub-identity was added to an identity and the deposit paid. + **/ + SubIdentityAdded: AugmentedEvent< + ApiType, + [sub: AccountId32, main: AccountId32, deposit: u128], + { sub: AccountId32; main: AccountId32; deposit: u128 } + >; + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ + SubIdentityRemoved: AugmentedEvent< + ApiType, + [sub: AccountId32, main: AccountId32, deposit: u128], + { sub: AccountId32; main: AccountId32; deposit: u128 } + >; + /** + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ + SubIdentityRevoked: AugmentedEvent< + ApiType, + [sub: AccountId32, main: AccountId32, deposit: u128], + { sub: AccountId32; main: AccountId32; deposit: u128 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + indices: { + /** + * A account index was assigned. + **/ + IndexAssigned: AugmentedEvent; + /** + * A account index has been freed up (unassigned). + **/ + IndexFreed: AugmentedEvent; + /** + * A account index has been frozen to its current account ID. + **/ + IndexFrozen: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + lending: { + /** + * Event emitted when user borrows from given market. + **/ + Borrowed: AugmentedEvent< + ApiType, + [sender: AccountId32, marketId: u32, amount: u128], + { sender: AccountId32; marketId: u32; amount: u128 } + >; + /** + * Event emitted when user repays borrow of beneficiary in given market. + **/ + BorrowRepaid: AugmentedEvent< + ApiType, + [sender: AccountId32, marketId: u32, beneficiary: AccountId32, amount: u128], + { + sender: AccountId32; + marketId: u32; + beneficiary: AccountId32; + amount: u128; + } + >; + /** + * Event emitted when collateral is deposited. + **/ + CollateralDeposited: AugmentedEvent< + ApiType, + [sender: AccountId32, marketId: u32, amount: u128], + { sender: AccountId32; marketId: u32; amount: u128 } + >; + /** + * Event emitted when collateral is withdrawn. + **/ + CollateralWithdrawn: AugmentedEvent< + ApiType, + [sender: AccountId32, marketId: u32, amount: u128], + { sender: AccountId32; marketId: u32; amount: u128 } + >; + /** + * Event emitted when a liquidation is initiated for a loan. + **/ + LiquidationInitiated: AugmentedEvent< + ApiType, + [marketId: u32, borrowers: Vec], + { marketId: u32; borrowers: Vec } + >; + /** + * Event emitted when new lending market is created. + **/ + MarketCreated: AugmentedEvent< + ApiType, + [marketId: u32, vaultId: u64, manager: AccountId32, currencyPair: ComposableTraitsDefiCurrencyPairCurrencyId], + { + marketId: u32; + vaultId: u64; + manager: AccountId32; + currencyPair: ComposableTraitsDefiCurrencyPairCurrencyId; + } + >; + MarketUpdated: AugmentedEvent< + ApiType, + [marketId: u32, input: ComposableTraitsLendingUpdateInput], + { marketId: u32; input: ComposableTraitsLendingUpdateInput } + >; + /** + * Event emitted to warn that loan may go under collateralize soon. + **/ + MayGoUnderCollateralizedSoon: AugmentedEvent< + ApiType, + [marketId: u32, account: AccountId32], + { marketId: u32; account: AccountId32 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + liquidations: { + PositionWasSentToLiquidation: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + mosaic: { + /** + * An asset mapping has been created. + **/ + AssetMappingCreated: AugmentedEvent< + ApiType, + [assetId: u128, networkId: u32, remoteAssetId: CommonMosaicRemoteAssetId], + { + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + } + >; + /** + * An existing asset mapping has been deleted. + **/ + AssetMappingDeleted: AugmentedEvent< + ApiType, + [assetId: u128, networkId: u32, remoteAssetId: CommonMosaicRemoteAssetId], + { + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + } + >; + /** + * An existing asset mapping has been updated. + **/ + AssetMappingUpdated: AugmentedEvent< + ApiType, + [assetId: u128, networkId: u32, remoteAssetId: CommonMosaicRemoteAssetId], + { + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + } + >; + BudgetUpdated: AugmentedEvent< + ApiType, + [assetId: u128, amount: u128, decay: PalletMosaicDecayBudgetPenaltyDecayer], + { + assetId: u128; + amount: u128; + decay: PalletMosaicDecayBudgetPenaltyDecayer; + } + >; + /** + * The `NetworkInfos` `network_info` was updated for `network_id`. + **/ + NetworksUpdated: AugmentedEvent< + ApiType, + [networkId: u32, networkInfo: PalletMosaicNetworkInfo], + { networkId: u32; networkInfo: PalletMosaicNetworkInfo } + >; + /** + * The relayer partially accepted the user's `OutgoingTransaction`. + **/ + PartialTransferAccepted: AugmentedEvent< + ApiType, + [from: AccountId32, assetId: u128, networkId: u32, remoteAssetId: CommonMosaicRemoteAssetId, amount: u128], + { + from: AccountId32; + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + amount: u128; + } + >; + /** + * The relayer has been rotated to `account_id`. + **/ + RelayerRotated: AugmentedEvent; + /** + * The account of the relayer has been set. + **/ + RelayerSet: AugmentedEvent; + /** + * User claimed outgoing tx that was not (yet) picked up by the relayer + **/ + StaleTxClaimed: AugmentedEvent< + ApiType, + [to: AccountId32, by: AccountId32, assetId: u128, amount: u128], + { to: AccountId32; by: AccountId32; assetId: u128; amount: u128 } + >; + /** + * The relayer accepted the user's `OutgoingTransaction`. + **/ + TransferAccepted: AugmentedEvent< + ApiType, + [from: AccountId32, assetId: u128, networkId: u32, remoteAssetId: CommonMosaicRemoteAssetId, amount: u128], + { + from: AccountId32; + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + amount: u128; + } + >; + /** + * The user claims his `IncomingTransaction` and unlocks the locked amount. + **/ + TransferClaimed: AugmentedEvent< + ApiType, + [by: AccountId32, to: AccountId32, assetId: u128, amount: u128], + { by: AccountId32; to: AccountId32; assetId: u128; amount: u128 } + >; + /** + * An incoming tx is created and waiting for the user to claim. + **/ + TransferInto: AugmentedEvent< + ApiType, + [ + id: H256, + to: AccountId32, + networkId: u32, + remoteAssetId: CommonMosaicRemoteAssetId, + assetId: u128, + amount: u128 + ], + { + id: H256; + to: AccountId32; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + assetId: u128; + amount: u128; + } + >; + /** + * When we have finality issues occur on the Ethereum chain, + * we burn the locked `IncomingTransaction` for which we know that it is invalid. + **/ + TransferIntoRescined: AugmentedEvent< + ApiType, + [account: AccountId32, amount: u128, assetId: u128], + { account: AccountId32; amount: u128; assetId: u128 } + >; + /** + * An outgoing tx is created, and locked in the outgoing tx pool. + **/ + TransferOut: AugmentedEvent< + ApiType, + [ + id: H256, + to: ComposableSupportEthereumAddress, + assetId: u128, + networkId: u32, + remoteAssetId: CommonMosaicRemoteAssetId, + amount: u128, + swapToNative: bool, + sourceUserAccount: AccountId32, + ammSwapInfo: Option, + minimumAmountOut: u128 + ], + { + id: H256; + to: ComposableSupportEthereumAddress; + assetId: u128; + networkId: u32; + remoteAssetId: CommonMosaicRemoteAssetId; + amount: u128; + swapToNative: bool; + sourceUserAccount: AccountId32; + ammSwapInfo: Option; + minimumAmountOut: u128; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + multisig: { + /** + * A multisig operation has been approved by someone. + **/ + MultisigApproval: AugmentedEvent< + ApiType, + [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], + { + approving: AccountId32; + timepoint: PalletMultisigTimepoint; + multisig: AccountId32; + callHash: U8aFixed; + } + >; + /** + * A multisig operation has been cancelled. + **/ + MultisigCancelled: AugmentedEvent< + ApiType, + [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], + { + cancelling: AccountId32; + timepoint: PalletMultisigTimepoint; + multisig: AccountId32; + callHash: U8aFixed; + } + >; + /** + * A multisig operation has been executed. + **/ + MultisigExecuted: AugmentedEvent< + ApiType, + [ + approving: AccountId32, + timepoint: PalletMultisigTimepoint, + multisig: AccountId32, + callHash: U8aFixed, + result: Result + ], + { + approving: AccountId32; + timepoint: PalletMultisigTimepoint; + multisig: AccountId32; + callHash: U8aFixed; + result: Result; + } + >; + /** + * A new multisig operation has begun. + **/ + NewMultisig: AugmentedEvent< + ApiType, + [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], + { approving: AccountId32; multisig: AccountId32; callHash: U8aFixed } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + oracle: { + /** + * Answer from oracle removed for staleness. \[oracle_address, price\] + **/ + AnswerPruned: AugmentedEvent; + /** + * Asset info created or changed. \[asset_id, threshold, min_answers, max_answers, + * block_interval, reward, slash\] + **/ + AssetInfoChange: AugmentedEvent; + /** + * Oracle rewarded. \[oracle_address, asset_id, price\] + **/ + OracleRewarded: AugmentedEvent; + /** + * Price changed by oracle \[asset_id, price\] + **/ + PriceChanged: AugmentedEvent; + /** + * Price submitted by oracle. \[oracle_address, asset_id, price\] + **/ + PriceSubmitted: AugmentedEvent; + /** + * Rewarding Started \[rewarding start timestamp] + **/ + RewardingAdjustment: AugmentedEvent; + /** + * Signer was set. \[signer, controller\] + **/ + SignerSet: AugmentedEvent; + /** + * Stake was added. \[added_by, amount_added, total_amount\] + **/ + StakeAdded: AugmentedEvent; + /** + * Stake reclaimed. \[reclaimed_by, amount\] + **/ + StakeReclaimed: AugmentedEvent; + /** + * Stake removed. \[removed_by, amount, block_number\] + **/ + StakeRemoved: AugmentedEvent; + /** + * Oracle slashed. \[oracle_address, asset_id, amount\] + **/ + UserSlashed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + pablo: { + /** + * Liquidity added into the pool `T::PoolId`. + **/ + LiquidityAdded: AugmentedEvent< + ApiType, + [who: AccountId32, poolId: u128, baseAmount: u128, quoteAmount: u128, mintedLp: u128], + { + who: AccountId32; + poolId: u128; + baseAmount: u128; + quoteAmount: u128; + mintedLp: u128; + } + >; + /** + * Liquidity removed from pool `T::PoolId` by `T::AccountId` in balanced way. + **/ + LiquidityRemoved: AugmentedEvent< + ApiType, + [who: AccountId32, poolId: u128, baseAmount: u128, quoteAmount: u128, totalIssuance: u128], + { + who: AccountId32; + poolId: u128; + baseAmount: u128; + quoteAmount: u128; + totalIssuance: u128; + } + >; + /** + * Pool with specified id `T::PoolId` was created successfully by `T::AccountId`. + **/ + PoolCreated: AugmentedEvent< + ApiType, + [poolId: u128, owner: AccountId32, assets: ComposableTraitsDefiCurrencyPairCurrencyId], + { + poolId: u128; + owner: AccountId32; + assets: ComposableTraitsDefiCurrencyPairCurrencyId; + } + >; + /** + * The sale ended, the funds repatriated and the pool deleted. + **/ + PoolDeleted: AugmentedEvent< + ApiType, + [poolId: u128, baseAmount: u128, quoteAmount: u128], + { poolId: u128; baseAmount: u128; quoteAmount: u128 } + >; + /** + * Token exchange happened. + **/ + Swapped: AugmentedEvent< + ApiType, + [ + poolId: u128, + who: AccountId32, + baseAsset: u128, + quoteAsset: u128, + baseAmount: u128, + quoteAmount: u128, + fee: ComposableTraitsDexFee + ], + { + poolId: u128; + who: AccountId32; + baseAsset: u128; + quoteAsset: u128; + baseAmount: u128; + quoteAmount: u128; + fee: ComposableTraitsDexFee; + } + >; + /** + * TWAP updated. + **/ + TwapUpdated: AugmentedEvent< + ApiType, + [poolId: u128, timestamp: u64, twaps: BTreeMap], + { poolId: u128; timestamp: u64; twaps: BTreeMap } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + parachainSystem: { + /** + * Downward messages were processed using the given weight. + **/ + DownwardMessagesProcessed: AugmentedEvent< + ApiType, + [weightUsed: u64, dmqHead: H256], + { weightUsed: u64; dmqHead: H256 } + >; + /** + * Some downward messages have been received and will be processed. + **/ + DownwardMessagesReceived: AugmentedEvent; + /** + * An upgrade has been authorized. + **/ + UpgradeAuthorized: AugmentedEvent; + /** + * The validation function was applied as of the contained relay chain block number. + **/ + ValidationFunctionApplied: AugmentedEvent; + /** + * The relay-chain aborted the upgrade process. + **/ + ValidationFunctionDiscarded: AugmentedEvent; + /** + * The validation function has been scheduled to apply. + **/ + ValidationFunctionStored: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + preimage: { + /** + * A preimage has ben cleared. + **/ + Cleared: AugmentedEvent; + /** + * A preimage has been noted. + **/ + Noted: AugmentedEvent; + /** + * A preimage has been requested. + **/ + Requested: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + proxy: { + /** + * An announcement was placed to make a call in the future. + **/ + Announced: AugmentedEvent< + ApiType, + [real: AccountId32, proxy: AccountId32, callHash: H256], + { real: AccountId32; proxy: AccountId32; callHash: H256 } + >; + /** + * Anonymous account has been created by new proxy with given + * disambiguation index and proxy type. + **/ + AnonymousCreated: AugmentedEvent< + ApiType, + [ + anonymous: AccountId32, + who: AccountId32, + proxyType: ComposableTraitsAccountProxyProxyType, + disambiguationIndex: u16 + ], + { + anonymous: AccountId32; + who: AccountId32; + proxyType: ComposableTraitsAccountProxyProxyType; + disambiguationIndex: u16; + } + >; + /** + * A proxy was added. + **/ + ProxyAdded: AugmentedEvent< + ApiType, + [delegator: AccountId32, delegatee: AccountId32, proxyType: ComposableTraitsAccountProxyProxyType, delay: u32], + { + delegator: AccountId32; + delegatee: AccountId32; + proxyType: ComposableTraitsAccountProxyProxyType; + delay: u32; + } + >; + /** + * A proxy was executed correctly, with the given. + **/ + ProxyExecuted: AugmentedEvent< + ApiType, + [result: Result], + { result: Result } + >; + /** + * A proxy was removed. + **/ + ProxyRemoved: AugmentedEvent< + ApiType, + [delegator: AccountId32, delegatee: AccountId32, proxyType: ComposableTraitsAccountProxyProxyType, delay: u32], + { + delegator: AccountId32; + delegatee: AccountId32; + proxyType: ComposableTraitsAccountProxyProxyType; + delay: u32; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + relayerXcm: { + /** + * Some assets have been placed in an asset trap. + * + * \[ hash, origin, assets \] + **/ + AssetsTrapped: AugmentedEvent; + /** + * Execution of an XCM message was attempted. + * + * \[ outcome \] + **/ + Attempted: AugmentedEvent; + /** + * Expected query response has been received but the origin location of the response does + * not match that expected. The query remains registered for a later, valid, response to + * be received and acted upon. + * + * \[ origin location, id, expected location \] + **/ + InvalidResponder: AugmentedEvent]>; + /** + * Expected query response has been received but the expected origin location placed in + * storage by this runtime previously cannot be decoded. The query remains registered. + * + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + * + * \[ origin location, id \] + **/ + InvalidResponderVersion: AugmentedEvent; + /** + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + * + * \[ id, pallet index, call index \] + **/ + Notified: AugmentedEvent; + /** + * Query response has been received and query is removed. The dispatch was unable to be + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + * + * \[ id, pallet index, call index \] + **/ + NotifyDecodeFailed: AugmentedEvent; + /** + * Query response has been received and query is removed. There was a general error with + * dispatching the notification call. + * + * \[ id, pallet index, call index \] + **/ + NotifyDispatchError: AugmentedEvent; + /** + * Query response has been received and query is removed. The registered notification could + * not be dispatched because the dispatch weight is greater than the maximum weight + * originally budgeted by this runtime for the query result. + * + * \[ id, pallet index, call index, actual weight, max budgeted weight \] + **/ + NotifyOverweight: AugmentedEvent; + /** + * A given location which had a version change subscription was dropped owing to an error + * migrating the location to our new XCM format. + * + * \[ location, query ID \] + **/ + NotifyTargetMigrationFail: AugmentedEvent; + /** + * A given location which had a version change subscription was dropped owing to an error + * sending the notification to it. + * + * \[ location, query ID, error \] + **/ + NotifyTargetSendFail: AugmentedEvent; + /** + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + * + * \[ id, response \] + **/ + ResponseReady: AugmentedEvent; + /** + * Received query response has been read and removed. + * + * \[ id \] + **/ + ResponseTaken: AugmentedEvent; + /** + * A XCM message was sent. + * + * \[ origin, destination, message \] + **/ + Sent: AugmentedEvent; + /** + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + * + * \[ location, XCM version \] + **/ + SupportedVersionChanged: AugmentedEvent; + /** + * Query response received which does not match a registered query. This may be because a + * matching query was never registered, it may be because it is a duplicate response, or + * because the query timed out. + * + * \[ origin location, id \] + **/ + UnexpectedResponse: AugmentedEvent; + /** + * An XCM version change notification message has been attempted to be sent. + * + * \[ destination, result \] + **/ + VersionChangeNotified: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + scheduler: { + /** + * The call for the provided hash was not found so the task has been aborted. + **/ + CallLookupFailed: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option, error: FrameSupportScheduleLookupError], + { + task: ITuple<[u32, u32]>; + id: Option; + error: FrameSupportScheduleLookupError; + } + >; + /** + * Canceled some task. + **/ + Canceled: AugmentedEvent; + /** + * Dispatched some task. + **/ + Dispatched: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option, result: Result], + { + task: ITuple<[u32, u32]>; + id: Option; + result: Result; + } + >; + /** + * Scheduled some task. + **/ + Scheduled: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + session: { + /** + * New session has happened. Note that the argument is the session index, not the + * block number as the type might suggest. + **/ + NewSession: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + stakingRewards: { + Claimed: AugmentedEvent< + ApiType, + [owner: AccountId32, fnftCollectionId: u128, fnftInstanceId: u64], + { owner: AccountId32; fnftCollectionId: u128; fnftInstanceId: u64 } + >; + RewardAccumulationHookError: AugmentedEvent< + ApiType, + [poolId: u128, assetId: u128, error: PalletStakingRewardsRewardAccumulationHookError], + { + poolId: u128; + assetId: u128; + error: PalletStakingRewardsRewardAccumulationHookError; + } + >; + /** + * Pool with specified id `T::AssetId` was created successfully by `T::AccountId`. + **/ + RewardPoolCreated: AugmentedEvent< + ApiType, + [poolId: u128, owner: AccountId32, endBlock: u32], + { poolId: u128; owner: AccountId32; endBlock: u32 } + >; + RewardPoolUpdated: AugmentedEvent; + RewardsPotIncreased: AugmentedEvent< + ApiType, + [poolId: u128, assetId: u128, amount: u128], + { poolId: u128; assetId: u128; amount: u128 } + >; + /** + * Reward transfer event. + **/ + RewardTransferred: AugmentedEvent< + ApiType, + [from: AccountId32, poolId: u128, rewardCurrency: u128, rewardIncrement: u128], + { + from: AccountId32; + poolId: u128; + rewardCurrency: u128; + rewardIncrement: u128; + } + >; + /** + * A staking position was split. + **/ + SplitPosition: AugmentedEvent< + ApiType, + [positions: Vec>], + { positions: Vec> } + >; + StakeAmountExtended: AugmentedEvent< + ApiType, + [fnftCollectionId: u128, fnftInstanceId: u64, amount: u128], + { fnftCollectionId: u128; fnftInstanceId: u64; amount: u128 } + >; + Staked: AugmentedEvent< + ApiType, + [ + poolId: u128, + owner: AccountId32, + amount: u128, + durationPreset: u64, + fnftCollectionId: u128, + fnftInstanceId: u64, + rewardMultiplier: u64, + keepAlive: bool + ], + { + poolId: u128; + owner: AccountId32; + amount: u128; + durationPreset: u64; + fnftCollectionId: u128; + fnftInstanceId: u64; + rewardMultiplier: u64; + keepAlive: bool; + } + >; + Unstaked: AugmentedEvent< + ApiType, + [owner: AccountId32, fnftCollectionId: u128, fnftInstanceId: u64, slash: Option], + { + owner: AccountId32; + fnftCollectionId: u128; + fnftInstanceId: u64; + slash: Option; + } + >; + UnstakeRewardSlashed: AugmentedEvent< + ApiType, + [poolId: u128, owner: AccountId32, fnftInstanceId: u64, rewardAssetId: u128, amountSlashed: u128], + { + poolId: u128; + owner: AccountId32; + fnftInstanceId: u64; + rewardAssetId: u128; + amountSlashed: u128; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + sudo: { + /** + * The \[sudoer\] just switched identity; the old key is supplied if one existed. + **/ + KeyChanged: AugmentedEvent], { oldSudoer: Option }>; + /** + * A sudo just took place. \[result\] + **/ + Sudid: AugmentedEvent< + ApiType, + [sudoResult: Result], + { sudoResult: Result } + >; + /** + * A sudo just took place. \[result\] + **/ + SudoAsDone: AugmentedEvent< + ApiType, + [sudoResult: Result], + { sudoResult: Result } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + system: { + /** + * `:code` was updated. + **/ + CodeUpdated: AugmentedEvent; + /** + * An extrinsic failed. + **/ + ExtrinsicFailed: AugmentedEvent< + ApiType, + [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], + { + dispatchError: SpRuntimeDispatchError; + dispatchInfo: FrameSupportWeightsDispatchInfo; + } + >; + /** + * An extrinsic completed successfully. + **/ + ExtrinsicSuccess: AugmentedEvent< + ApiType, + [dispatchInfo: FrameSupportWeightsDispatchInfo], + { dispatchInfo: FrameSupportWeightsDispatchInfo } + >; + /** + * An account was reaped. + **/ + KilledAccount: AugmentedEvent; + /** + * A new account was created. + **/ + NewAccount: AugmentedEvent; + /** + * On on-chain remark happened. + **/ + Remarked: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + technicalCommittee: { + /** + * A motion was approved by the required threshold. + **/ + Approved: AugmentedEvent; + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ + Closed: AugmentedEvent< + ApiType, + [proposalHash: H256, yes: u32, no: u32], + { proposalHash: H256; yes: u32; no: u32 } + >; + /** + * A motion was not approved by the required threshold. + **/ + Disapproved: AugmentedEvent; + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ + Executed: AugmentedEvent< + ApiType, + [proposalHash: H256, result: Result], + { proposalHash: H256; result: Result } + >; + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ + MemberExecuted: AugmentedEvent< + ApiType, + [proposalHash: H256, result: Result], + { proposalHash: H256; result: Result } + >; + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ + Proposed: AugmentedEvent< + ApiType, + [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], + { + account: AccountId32; + proposalIndex: u32; + proposalHash: H256; + threshold: u32; + } + >; + /** + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ + Voted: AugmentedEvent< + ApiType, + [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], + { + account: AccountId32; + proposalHash: H256; + voted: bool; + yes: u32; + no: u32; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + technicalCommitteeMembership: { + /** + * Phantom member, never used. + **/ + Dummy: AugmentedEvent; + /** + * One of the members' keys changed. + **/ + KeyChanged: AugmentedEvent; + /** + * The given member was added; see the transaction for who. + **/ + MemberAdded: AugmentedEvent; + /** + * The given member was removed; see the transaction for who. + **/ + MemberRemoved: AugmentedEvent; + /** + * The membership was reset; see the transaction for who the new set is. + **/ + MembersReset: AugmentedEvent; + /** + * Two members were swapped; see the transaction for who. + **/ + MembersSwapped: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + tokens: { + /** + * A balance was set by root. + **/ + BalanceSet: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, free: u128, reserved: u128], + { currencyId: u128; who: AccountId32; free: u128; reserved: u128 } + >; + /** + * Deposited some balance into an account + **/ + Deposited: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, amount: u128], + { currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * An account was removed whose balance was non-zero but below + * ExistentialDeposit, resulting in an outright loss. + **/ + DustLost: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, amount: u128], + { currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * An account was created with some free balance. + **/ + Endowed: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, amount: u128], + { currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * Some locked funds were unlocked + **/ + LockRemoved: AugmentedEvent< + ApiType, + [lockId: U8aFixed, currencyId: u128, who: AccountId32], + { lockId: U8aFixed; currencyId: u128; who: AccountId32 } + >; + /** + * Some funds are locked + **/ + LockSet: AugmentedEvent< + ApiType, + [lockId: U8aFixed, currencyId: u128, who: AccountId32, amount: u128], + { lockId: U8aFixed; currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * Some balance was reserved (moved from free to reserved). + **/ + Reserved: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, amount: u128], + { currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * Some reserved balance was repatriated (moved from reserved to + * another account). + **/ + ReserveRepatriated: AugmentedEvent< + ApiType, + [ + currencyId: u128, + from: AccountId32, + to: AccountId32, + amount: u128, + status: FrameSupportTokensMiscBalanceStatus + ], + { + currencyId: u128; + from: AccountId32; + to: AccountId32; + amount: u128; + status: FrameSupportTokensMiscBalanceStatus; + } + >; + /** + * Some balances were slashed (e.g. due to mis-behavior) + **/ + Slashed: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, freeAmount: u128, reservedAmount: u128], + { + currencyId: u128; + who: AccountId32; + freeAmount: u128; + reservedAmount: u128; + } + >; + /** + * The total issuance of an currency has been set + **/ + TotalIssuanceSet: AugmentedEvent; + /** + * Transfer succeeded. + **/ + Transfer: AugmentedEvent< + ApiType, + [currencyId: u128, from: AccountId32, to: AccountId32, amount: u128], + { currencyId: u128; from: AccountId32; to: AccountId32; amount: u128 } + >; + /** + * Some balance was unreserved (moved from reserved to free). + **/ + Unreserved: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, amount: u128], + { currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * Some balances were withdrawn (e.g. pay for transaction fee) + **/ + Withdrawn: AugmentedEvent< + ApiType, + [currencyId: u128, who: AccountId32, amount: u128], + { currencyId: u128; who: AccountId32; amount: u128 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + transactionPayment: { + /** + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ + TransactionFeePaid: AugmentedEvent< + ApiType, + [who: AccountId32, actualFee: u128, tip: u128], + { who: AccountId32; actualFee: u128; tip: u128 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + treasury: { + /** + * Some funds have been allocated. + **/ + Awarded: AugmentedEvent< + ApiType, + [proposalIndex: u32, award: u128, account: AccountId32], + { proposalIndex: u32; award: u128; account: AccountId32 } + >; + /** + * Some of our funds have been burnt. + **/ + Burnt: AugmentedEvent; + /** + * Some funds have been deposited. + **/ + Deposit: AugmentedEvent; + /** + * New proposal. + **/ + Proposed: AugmentedEvent; + /** + * A proposal was rejected; funds were slashed. + **/ + Rejected: AugmentedEvent; + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ + Rollover: AugmentedEvent; + /** + * A new spend proposal has been approved. + **/ + SpendApproved: AugmentedEvent< + ApiType, + [proposalIndex: u32, amount: u128, beneficiary: AccountId32], + { proposalIndex: u32; amount: u128; beneficiary: AccountId32 } + >; + /** + * We have ended a spend period and will now allocate funds. + **/ + Spending: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + unknownTokens: { + /** + * Deposit success. + **/ + Deposited: AugmentedEvent< + ApiType, + [asset: XcmV1MultiAsset, who: XcmV1MultiLocation], + { asset: XcmV1MultiAsset; who: XcmV1MultiLocation } + >; + /** + * Withdraw success. + **/ + Withdrawn: AugmentedEvent< + ApiType, + [asset: XcmV1MultiAsset, who: XcmV1MultiLocation], + { asset: XcmV1MultiAsset; who: XcmV1MultiLocation } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + utility: { + /** + * Batch of dispatches completed fully with no error. + **/ + BatchCompleted: AugmentedEvent; + /** + * Batch of dispatches completed but has errors. + **/ + BatchCompletedWithErrors: AugmentedEvent; + /** + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ + BatchInterrupted: AugmentedEvent< + ApiType, + [index: u32, error: SpRuntimeDispatchError], + { index: u32; error: SpRuntimeDispatchError } + >; + /** + * A call was dispatched. + **/ + DispatchedAs: AugmentedEvent< + ApiType, + [result: Result], + { result: Result } + >; + /** + * A single item within a Batch of dispatches has completed with no error. + **/ + ItemCompleted: AugmentedEvent; + /** + * A single item within a Batch of dispatches has completed with error. + **/ + ItemFailed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + vault: { + /** + * Emitted after a user deposits funds into the vault. + **/ + Deposited: AugmentedEvent< + ApiType, + [account: AccountId32, assetAmount: u128, lpAmount: u128], + { account: AccountId32; assetAmount: u128; lpAmount: u128 } + >; + /** + * Emitted after a successful emergency shutdown. + **/ + EmergencyShutdown: AugmentedEvent; + LiquidateStrategy: AugmentedEvent< + ApiType, + [account: AccountId32, amount: u128], + { account: AccountId32; amount: u128 } + >; + /** + * Emitted after a vault has been successfully created. + **/ + VaultCreated: AugmentedEvent; + /** + * Emitted after a vault is restarted. + **/ + VaultStarted: AugmentedEvent; + /** + * Emitted after a user exchanges LP tokens back for underlying assets + **/ + Withdrawn: AugmentedEvent< + ApiType, + [account: AccountId32, lpAmount: u128, assetAmount: u128], + { account: AccountId32; lpAmount: u128; assetAmount: u128 } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + vesting: { + /** + * Claimed vesting. + **/ + Claimed: AugmentedEvent< + ApiType, + [ + who: AccountId32, + asset: u128, + vestingScheduleIds: ComposableTraitsVestingVestingScheduleIdSet, + lockedAmount: u128, + claimedAmountPerSchedule: BTreeMap + ], + { + who: AccountId32; + asset: u128; + vestingScheduleIds: ComposableTraitsVestingVestingScheduleIdSet; + lockedAmount: u128; + claimedAmountPerSchedule: BTreeMap; + } + >; + /** + * Added new vesting schedule. + **/ + VestingScheduleAdded: AugmentedEvent< + ApiType, + [ + from: AccountId32, + to: AccountId32, + asset: u128, + vestingScheduleId: u128, + schedule: ComposableTraitsVestingVestingSchedule, + scheduleAmount: u128 + ], + { + from: AccountId32; + to: AccountId32; + asset: u128; + vestingScheduleId: u128; + schedule: ComposableTraitsVestingVestingSchedule; + scheduleAmount: u128; + } + >; + /** + * Updated vesting schedules. + **/ + VestingSchedulesUpdated: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + xcmpQueue: { + /** + * Bad XCM format used. + **/ + BadFormat: AugmentedEvent], { messageHash: Option }>; + /** + * Bad XCM version used. + **/ + BadVersion: AugmentedEvent], { messageHash: Option }>; + /** + * Some XCM failed. + **/ + Fail: AugmentedEvent< + ApiType, + [messageHash: Option, error: XcmV2TraitsError, weight: u64], + { messageHash: Option; error: XcmV2TraitsError; weight: u64 } + >; + /** + * An XCM exceeded the individual message weight budget. + **/ + OverweightEnqueued: AugmentedEvent< + ApiType, + [sender: u32, sentAt: u32, index: u64, required: u64], + { sender: u32; sentAt: u32; index: u64; required: u64 } + >; + /** + * An XCM from the overweight queue was executed with the given actual weight used. + **/ + OverweightServiced: AugmentedEvent; + /** + * Some XCM was executed ok. + **/ + Success: AugmentedEvent< + ApiType, + [messageHash: Option, weight: u64], + { messageHash: Option; weight: u64 } + >; + /** + * An upward message was sent to the relay chain. + **/ + UpwardMessageSent: AugmentedEvent], { messageHash: Option }>; + /** + * An HRMP message was sent to a sibling parachain. + **/ + XcmpMessageSent: AugmentedEvent], { messageHash: Option }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + xTokens: { + /** + * Transferred `MultiAsset` with fee. + **/ + TransferredMultiAssets: AugmentedEvent< + ApiType, + [sender: AccountId32, assets: XcmV1MultiassetMultiAssets, fee: XcmV1MultiAsset, dest: XcmV1MultiLocation], + { + sender: AccountId32; + assets: XcmV1MultiassetMultiAssets; + fee: XcmV1MultiAsset; + dest: XcmV1MultiLocation; + } + >; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + } // AugmentedEvents +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-query.ts b/src/chains/polkadot/api-scheme/augments/augment-api-query.ts new file mode 100644 index 00000000..724131b5 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-query.ts @@ -0,0 +1,2083 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit + +/* eslint-disable */ +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/storage'; +import type { Data } from '@polkadot/types'; +import type { + bool, + BTreeMap, + BTreeSet, + Bytes, + Null, + Option, + U8aFixed, + u16, + u32, + u64, + u128, + Vec, + WrapperKeepOpaque +} from '@polkadot/types-codec'; +import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; +import type { AccountId32, Call, FixedU128, H256 } from '@polkadot/types/interfaces/runtime'; +import type { Observable } from '@polkadot/types/types'; + +import type { ComposableTraitsXcmCumulusMethodId } from '../common'; +import type { + CommonMosaicRemoteAssetId, + ComposableTraitsAccountProxyProxyDefinition, + ComposableTraitsAssetsBasicAssetMetadata, + ComposableTraitsBondedFinanceBondOffer, + ComposableTraitsCallFilterCallFilterEntry, + ComposableTraitsCurrencyRational64, + ComposableTraitsDexDexRoute, + ComposableTraitsGovernanceSignedRawOrigin, + ComposableTraitsLendingMarketConfig, + ComposableTraitsOraclePrice, + ComposableTraitsOracleRewardTracker, + ComposableTraitsStakingRewardPool, + ComposableTraitsStakingStake, + ComposableTraitsTimeTimeReleaseFunction, + ComposableTraitsXcmAssetsForeignMetadata, + ComposableTraitsXcmAssetsXcmAssetLocation, + CumulusPalletDmpQueueConfigData, + CumulusPalletDmpQueuePageIndexData, + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, + CumulusPalletXcmpQueueInboundChannelDetails, + CumulusPalletXcmpQueueOutboundChannelDetails, + CumulusPalletXcmpQueueQueueConfigData, + DaliRuntimeOpaqueSessionKeys, + FrameSupportWeightsPerDispatchClassU64, + FrameSystemAccountInfo, + FrameSystemEventRecord, + FrameSystemLastRuntimeUpgradeInfo, + FrameSystemPhase, + OrmlTokensAccountData, + OrmlTokensBalanceLock, + OrmlTokensReserveData, + PalletAccountProxyAnnouncement, + PalletAuthorshipUncleEntryItem, + PalletBalancesAccountData, + PalletBalancesBalanceLock, + PalletBalancesReleases, + PalletBalancesReserveData, + PalletCollatorSelectionCandidateInfo, + PalletCollectiveVotes, + PalletCosmwasmCodeInfo, + PalletCosmwasmContractInfo, + PalletCrowdloanRewardsModelsRemoteAccount, + PalletCrowdloanRewardsModelsReward, + PalletDutchAuctionSellOrder, + PalletDutchAuctionTakeOrder, + PalletIdentityRegistrarInfo, + PalletIdentityRegistration, + PalletLiquidationsLiquidationStrategyConfiguration, + PalletMosaicAssetInfo, + PalletMosaicNetworkInfo, + PalletMosaicRelayerStaleRelayer, + PalletMultisigMultisig, + PalletOracleAssetInfo, + PalletOraclePrePrice, + PalletOracleWithdraw, + PalletSchedulerScheduledV3, + PalletTransactionPaymentReleases, + PalletTreasuryProposal, + PalletVaultModelsStrategyOverview, + PalletVaultModelsVaultInfo, + PalletXcmQueryStatus, + PalletXcmVersionMigrationStage, + PolkadotCorePrimitivesOutboundHrmpMessage, + PolkadotPrimitivesV2AbridgedHostConfiguration, + PolkadotPrimitivesV2PersistedValidationData, + PolkadotPrimitivesV2UpgradeRestriction, + SpConsensusAuraSr25519AppSr25519Public, + SpCoreCryptoKeyTypeId, + SpRuntimeDigest, + SpTrieStorageProof, + XcmV1MultiLocation, + XcmVersionedMultiLocation +} from '../crowdloanRewards'; +import type { PalletCurrencyFactoryRanges } from '../currencyFactory'; +import type { + PalletDemocracyPreimageStatus, + PalletDemocracyReferendumInfo, + PalletDemocracyReleases, + PalletDemocracyVoteThreshold, + PalletDemocracyVoteVoting, + PalletPreimageRequestStatus +} from '../democracy'; +import type { + PalletPabloPoolConfiguration, + PalletPabloPriceCumulative, + PalletPabloTimeWeightedAveragePrice +} from '../pablo'; +import type { ComposableTraitsVestingVestingSchedule } from '../vesting'; + +export type __AugmentedQuery = AugmentedQuery unknown>; +export type __QueryableStorageEntry = QueryableStorageEntry; + +declare module '@polkadot/api-base/types/storage' { + export interface AugmentedQueries { + assetsRegistry: { + /** + * How much of asset amount is needed to pay for one unit of native token. + **/ + assetRatio: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Mapping foreign asset to local asset. + **/ + foreignToLocal: AugmentedQuery< + ApiType, + ( + arg: ComposableTraitsXcmAssetsXcmAssetLocation | { parents?: any; interior?: any } | string | Uint8Array + ) => Observable>, + [ComposableTraitsXcmAssetsXcmAssetLocation] + > & + QueryableStorageEntry; + /** + * Mapping local asset to foreign asset. + **/ + localToForeign: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + minFeeAmounts: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: ComposableTraitsXcmAssetsXcmAssetLocation | { parents?: any; interior?: any } | string | Uint8Array + ) => Observable>, + [u32, ComposableTraitsXcmAssetsXcmAssetLocation] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + assetTxPayment: { + /** + * Stores default payment asset of user with ED locked. + **/ + paymentAssets: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + aura: { + /** + * The current authority set. + **/ + authorities: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * The current slot of this block. + * + * This will be set in `on_initialize`. + **/ + currentSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + auraExt: { + /** + * Serves as cache for the authorities. + * + * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session, + * but we require the old authorities to verify the seal when validating a PoV. This will always + * be updated to the latest AuRa authorities in `on_finalize`. + **/ + authorities: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + authorship: { + /** + * Author of current block. + **/ + author: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Whether uncles were already set in this block. + **/ + didSetUncles: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Uncles + **/ + uncles: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + balances: { + /** + * The Balances pallet example of storing the balance of an account. + * + * # Example + * + * ```nocompile + * impl pallet_balances::Config for Runtime { + * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> + * } + * ``` + * + * You can also store the balance of an account in the `System` pallet. + * + * # Example + * + * ```nocompile + * impl pallet_balances::Config for Runtime { + * type AccountStore = System + * } + * ``` + * + * But this comes with tradeoffs, storing account balances in the system pallet stores + * `frame_system` data alongside the account data contrary to storing account balances in the + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ + account: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. + **/ + locks: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Named reserves on some account balances. + **/ + reserves: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Storage version of the pallet. + * + * This is set to v2.0.0 for new networks. + **/ + storageVersion: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * The total units issued in the system. + **/ + totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + bondedFinance: { + /** + * The counter used to uniquely identify bond offers within this pallet. + **/ + bondOfferCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * A mapping from offer ID to the pair: (issuer, offer) + **/ + bondOffers: AugmentedQuery< + ApiType, + ( + arg: u128 | AnyNumber | Uint8Array + ) => Observable>>, + [u128] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + callFilter: { + /** + * The list of disabled extrinsics. + **/ + disabledCalls: AugmentedQuery< + ApiType, + ( + arg: + | ComposableTraitsCallFilterCallFilterEntry + | { palletName?: any; functionName?: any } + | string + | Uint8Array + ) => Observable>, + [ComposableTraitsCallFilterCallFilterEntry] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + collatorSelection: { + /** + * Fixed amount to deposit to become a collator. + * + * When a collator calls `leave_intent` they immediately receive the deposit back. + **/ + candidacyBond: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The (community, limited) collation candidates. + **/ + candidates: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Desired number of candidates. + * + * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct. + **/ + desiredCandidates: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The invulnerable, fixed collators. + **/ + invulnerables: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Last block authored by collator. + **/ + lastAuthoredBlock: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + cosmwasm: { + /** + * A mapping between a code hash and it's unique ID. + **/ + codeHashToId: AugmentedQuery Observable>, [H256]> & + QueryableStorageEntry; + /** + * A mapping between an original code hash and its metadata. + **/ + codeIdToInfo: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>, + [u64] + > & + QueryableStorageEntry; + /** + * A mapping between a contract and it's metadata. + **/ + contractToInfo: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Monotonic counter incremented on code creation. + **/ + currentCodeId: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * This is a **monotonic** counter incremented on contract instantiation. + * The purpose of this nonce is just to make sure that contract trie are unique. + **/ + currentNonce: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * A mapping between an original code id and instrumented wasm code, ready for execution. + **/ + instrumentedCode: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>, + [u64] + > & + QueryableStorageEntry; + /** + * A mapping from an original code id to the original code, untouched by instrumentation. + **/ + pristineCode: AugmentedQuery Observable>, [u64]> & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + council: { + /** + * The current members of the collective. This is stored sorted (just by value). + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The prime member that helps determine the default vote behavior in case of absentations. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Proposals so far. + **/ + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Actual proposal for a given hash, if it's current. + **/ + proposalOf: AugmentedQuery Observable>, [H256]> & + QueryableStorageEntry; + /** + * The hashes of the active proposals. + **/ + proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Votes on a given proposal, if it is ongoing. + **/ + voting: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable>, + [H256] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + councilMembership: { + /** + * The current membership, stored as an ordered Vec. + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current prime member, if one exists. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + crowdloanRewards: { + /** + * Associations of reward accounts to remote accounts. + **/ + associations: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * The rewards claimed so far. + **/ + claimedRewards: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * If set, new locks will not be added to claims + **/ + removeRewardLocks: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + rewards: AugmentedQuery< + ApiType, + ( + arg: PalletCrowdloanRewardsModelsRemoteAccount | { RelayChain: any } | { Ethereum: any } | string | Uint8Array + ) => Observable>, + [PalletCrowdloanRewardsModelsRemoteAccount] + > & + QueryableStorageEntry; + /** + * The total number of contributors. + **/ + totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The total amount of rewards to be claimed. + **/ + totalRewards: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The timestamp at which the users are able to claim their rewards. + **/ + vestingTimeStart: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + currencyFactory: { + assetEd: AugmentedQuery Observable>, [u128]> & + QueryableStorageEntry; + assetIdRanges: AugmentedQuery Observable, []> & + QueryableStorageEntry; + assetMetadata: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + democracy: { + /** + * A record of who vetoed what. Maps proposal hash to a possible existent block number + * (until when it may not be resubmitted) and who vetoed it. + **/ + blacklist: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable]>>>, + [H256] + > & + QueryableStorageEntry; + /** + * Record of all proposals that have been subject to emergency cancellation. + **/ + cancellations: AugmentedQuery Observable, [H256]> & + QueryableStorageEntry; + /** + * Those who have locked a deposit. + * + * TWOX-NOTE: Safe, as increasing integer keys are safe. + **/ + depositOf: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable, u128]>>>, + [u32] + > & + QueryableStorageEntry; + /** + * True if the last referendum tabled was submitted externally. False if it was a public + * proposal. + **/ + lastTabledWasExternal: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The lowest referendum index representing an unbaked referendum. Equal to + * `ReferendumCount` if there isn't a unbaked referendum. + **/ + lowestUnbaked: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The referendum to be tabled whenever it would be valid to table an external proposal. + * This happens when a referendum needs to be tabled and one of two conditions are met: + * - `LastTabledWasExternal` is `false`; or + * - `PublicProps` is empty. + **/ + nextExternal: AugmentedQuery< + ApiType, + () => Observable>>, + [] + > & + QueryableStorageEntry; + /** + * Map of hashes to the proposal preimage, along with who registered it and their deposit. + * The block number is the block at which it was deposited. + **/ + preimages: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable>, + [H256] + > & + QueryableStorageEntry; + /** + * The number of (public) proposals that have been made so far. + **/ + publicPropCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The public proposals. Unsorted. The second item is the proposal's hash. + **/ + publicProps: AugmentedQuery Observable>>, []> & + QueryableStorageEntry; + /** + * The next free referendum index, aka the number of referenda started so far. + **/ + referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Information concerning any given referendum. + * + * TWOX-NOTE: SAFE as indexes are not under an attacker’s control. + **/ + referendumInfoOf: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + /** + * Storage version of the pallet. + * + * New networks start with last version. + **/ + storageVersion: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * All votes for a particular voter. We store the balance for the number of votes that we + * have recorded. The second item is the total amount of delegations, that will be added. + * + * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway. + **/ + votingOf: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + dexRouter: { + dexRoutes: AugmentedQuery< + ApiType, + ( + arg1: u128 | AnyNumber | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable>, + [u128, u128] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + dmpQueue: { + /** + * The configuration. + **/ + configuration: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * The overweight messages. + **/ + overweight: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>>, + [u64] + > & + QueryableStorageEntry; + /** + * The page index. + **/ + pageIndex: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * The queue pages. + **/ + pages: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>>, + [u32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + dutchAuction: { + /** + * set of reusable auction configurations + **/ + configurations: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * orders are handled locally, but if these came from remote, + * these should be notified appropriately + **/ + localOrderIdToRemote: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>>, + [u128] + > & + QueryableStorageEntry; + ordersIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * registered callback location for specific parachain + **/ + parachainXcmCallbackLocation: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + sellOrders: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * one block storage, users payed N * WEIGHT for this Vec, so will not put bound here (neither + * HydraDX does) + **/ + takes: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>>, + [u128] + > & + QueryableStorageEntry; + xcmSellOrders: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable>, + [u32, u64] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + fnft: { + collection: AugmentedQuery< + ApiType, + ( + arg: u128 | AnyNumber | Uint8Array + ) => Observable]>>>, + [u128] + > & + QueryableStorageEntry; + /** + * Mapping of fNFT collection to the newest instance ID + **/ + financialNftId: AugmentedQuery Observable, [u128]> & + QueryableStorageEntry; + /** + * Mapping of collection and instance IDs to fNFT data + **/ + instance: AugmentedQuery< + ApiType, + ( + arg1: u128 | AnyNumber | Uint8Array, + arg2: u64 | AnyNumber | Uint8Array + ) => Observable]>>>, + [u128, u64] + > & + QueryableStorageEntry; + /** + * All the NFTs owned by an account. + **/ + ownerInstances: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>>>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + governanceRegistry: { + originsByAssetId: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + identity: { + /** + * Information that is pertinent to identify the entity behind an account. + * + * TWOX-NOTE: OK ― `AccountId` is a secure hash. + **/ + identityOf: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). + * + * The index into this can be cast to `RegistrarIndex` to get a valid value. + **/ + registrars: AugmentedQuery Observable>>, []> & + QueryableStorageEntry; + /** + * Alternative "sub" identities of this account. + * + * The first item is the deposit, the second is a vector of the accounts. + * + * TWOX-NOTE: OK ― `AccountId` is a secure hash. + **/ + subsOf: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable]>>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * The super-identity of an alternative "sub" identity together with its name, within that + * context. If the account is not some other account's sub-identity, then just `None`. + **/ + superOf: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + indices: { + /** + * The lookup from index to account. + **/ + accounts: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>>, + [u32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + lending: { + /** + * (Market, Account) -> Collateral + **/ + accountCollateral: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable>, + [u32, AccountId32] + > & + QueryableStorageEntry; + /** + * market borrow index + **/ + borrowIndex: AugmentedQuery Observable>, [u32]> & + QueryableStorageEntry; + borrowRent: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable>, + [u32, AccountId32] + > & + QueryableStorageEntry; + /** + * Latest timestamp at which account borrowed from market. + * + * (Market, Account) -> Timestamp + **/ + borrowTimestamp: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable>, + [u32, AccountId32] + > & + QueryableStorageEntry; + /** + * at which lending index account did borrowed. + * if first borrow: market index when the borrow occurred + * if additional borrow: market index adjusted wrt the previous index + **/ + debtIndex: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable>, + [u32, AccountId32] + > & + QueryableStorageEntry; + /** + * Maps markets to their corresponding debt token. + * + * ```text + * MarketId -> debt asset + * ``` + * + * See [this clickup task](task) for a more in-depth explanation. + * + * [task]: + **/ + debtTokenForMarket: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + /** + * The timestamp of the previous block or defaults to timestamp at genesis. + **/ + lastBlockTimestamp: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Lending instances counter + **/ + lendingCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Indexed lending instances. Maps markets to their respective [`MarketConfig`]. + * + * ```text + * MarketId -> MarketConfig + * ``` + **/ + markets: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + liquidations: { + defaultStrategyIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + strategies: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + strategyIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + palletLiquidStaking: { + exchangeRate: AugmentedQuery Observable, []> & QueryableStorageEntry; + totalReserves: AugmentedQuery Observable, []> & QueryableStorageEntry; + }; + mosaic: { + assetsInfo: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Locked incoming tx into Picasso that the user needs to claim. + **/ + incomingTransactions: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable>>, + [AccountId32, u128] + > & + QueryableStorageEntry; + localToRemoteAsset: AugmentedQuery< + ApiType, + ( + arg1: u128 | AnyNumber | Uint8Array, + arg2: u32 | AnyNumber | Uint8Array + ) => Observable>, + [u128, u32] + > & + QueryableStorageEntry; + networkInfos: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Locked outgoing tx out of Picasso, that a relayer needs to process. + **/ + outgoingTransactions: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable>>, + [AccountId32, u128] + > & + QueryableStorageEntry; + relayer: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Remote AMM IDs that exist (NetworkId, AmmId). + * Note that this is actually a set that does bookkeeping of valid AmmIds. + * Therefore, the value type is (), because it is irrelevant for our use case. + **/ + remoteAmmWhitelist: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: u128 | AnyNumber | Uint8Array) => Observable>, + [u32, u128] + > & + QueryableStorageEntry; + remoteToLocalAsset: AugmentedQuery< + ApiType, + ( + arg1: CommonMosaicRemoteAssetId | { EthereumTokenAddress: any } | string | Uint8Array, + arg2: u32 | AnyNumber | Uint8Array + ) => Observable>, + [CommonMosaicRemoteAssetId, u32] + > & + QueryableStorageEntry; + timeLockPeriod: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + multisig: { + calls: AugmentedQuery< + ApiType, + ( + arg: U8aFixed | string | Uint8Array + ) => Observable, AccountId32, u128]>>>, + [U8aFixed] + > & + QueryableStorageEntry; + /** + * The set of open multisig operations. + **/ + multisigs: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: U8aFixed | string | Uint8Array + ) => Observable>, + [AccountId32, U8aFixed] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + oracle: { + /** + * Mapping of slash amounts currently in transit + **/ + answerInTransit: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Total amount of assets + **/ + assetsCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Information about asset, including precision threshold and max/min answers + **/ + assetsInfo: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Mapping Controller key to signer key + **/ + controllerToSigner: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Tracking withdrawal requests + **/ + declaredWithdraws: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Mapping of signing key to stake + **/ + oracleStake: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Temporary prices before aggregated + **/ + prePrices: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Price for an asset and blocknumber asset was updated at + **/ + priceHistory: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Price for an asset and blocknumber asset was updated at + **/ + prices: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable, + [u128] + > & + QueryableStorageEntry; + /** + * Rewarding history for Oracles. Used for calculating the current block reward. + **/ + rewardTrackerStore: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Mapping signing key to controller key + **/ + signerToController: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + pablo: { + poolCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + pools: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + priceCumulativeState: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + twapState: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + parachainInfo: { + parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + parachainSystem: { + /** + * The number of HRMP messages we observed in `on_initialize` and thus used that number for + * announcing the weight of `on_initialize` and `on_finalize`. + **/ + announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * The next authorized upgrade, if there is one. + **/ + authorizedUpgrade: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * A custom head data that should be returned as result of `validate_block`. + * + * See [`Pallet::set_custom_validation_head_data`] for more information. + **/ + customValidationHeadData: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Were the validation data set to notify the relay chain? + **/ + didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The parachain host configuration that was obtained from the relay parent. + * + * This field is meant to be updated each block with the validation data inherent. Therefore, + * before processing of the inherent, e.g. in `on_initialize` this data may be stale. + * + * This data is also absent from the genesis. + **/ + hostConfiguration: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * HRMP messages that were sent in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + hrmpOutboundMessages: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * HRMP watermark that was set in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The last downward message queue chain head we have observed. + * + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ + lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The message queue chain heads we have observed per each channel incoming channel. + * + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ + lastHrmpMqcHeads: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * The relay chain block number associated with the last parachain block. + **/ + lastRelayChainBlockNumber: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * Validation code that is set by the parachain and is to be communicated to collator and + * consequently the relay-chain. + * + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ + newValidationCode: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ + pendingUpwardMessages: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * + * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE] + * which will result the next block process with the new validation code. This concludes the upgrade process. + * + * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE + **/ + pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Number of downward messages processed in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + processedDownwardMessages: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * The state proof for the last relay parent block. + * + * This field is meant to be updated each block with the validation data inherent. Therefore, + * before processing of the inherent, e.g. in `on_initialize` this data may be stale. + * + * This data is also absent from the genesis. + **/ + relayStateProof: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * The snapshot of some state related to messaging relevant to the current parachain as per + * the relay parent. + * + * This field is meant to be updated each block with the validation data inherent. Therefore, + * before processing of the inherent, e.g. in `on_initialize` this data may be stale. + * + * This data is also absent from the genesis. + **/ + relevantMessagingState: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * The weight we reserve at the beginning of the block for processing DMP messages. This + * overrides the amount set in the Config trait. + **/ + reservedDmpWeightOverride: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * The weight we reserve at the beginning of the block for processing XCMP messages. This + * overrides the amount set in the Config trait. + **/ + reservedXcmpWeightOverride: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * An option which indicates if the relay-chain restricts signalling a validation code upgrade. + * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced + * candidate will be invalid. + * + * This storage item is a mirror of the corresponding value for the current parachain from the + * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is + * set after the inherent. + **/ + upgradeRestrictionSignal: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * Upward messages that were sent in a block. + * + * This will be cleared in `on_initialize` of each new block. + **/ + upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ + validationData: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + preimage: { + /** + * The preimages stored by this pallet. + **/ + preimageFor: AugmentedQuery Observable>, [H256]> & + QueryableStorageEntry; + /** + * The request status of a given hash. + **/ + statusFor: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable>, + [H256] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + proxy: { + /** + * The announcements made by the proxy (key). + **/ + announcements: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable, u128]>>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ + proxies: AugmentedQuery< + ApiType, + ( + arg: AccountId32 | string | Uint8Array + ) => Observable, u128]>>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + randomnessCollectiveFlip: { + /** + * Series of block headers from the last 81 blocks that acts as random seed material. This + * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of + * the oldest hash. + **/ + randomMaterial: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + relayerXcm: { + /** + * The existing asset traps. + * + * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of + * times this pair has been trapped (usually just 1 if it exists at all). + **/ + assetTraps: AugmentedQuery Observable, [H256]> & + QueryableStorageEntry; + /** + * The current migration's stage, if any. + **/ + currentMigration: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * The ongoing queries. + **/ + queries: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>, + [u64] + > & + QueryableStorageEntry; + /** + * The latest available query index. + **/ + queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Default version to encode XCM when latest version of destination is unknown. If `None`, + * then the destinations whose XCM version is unknown are considered unreachable. + **/ + safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The Latest versions that we know various locations support. + **/ + supportedVersion: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array + ) => Observable>, + [u32, XcmVersionedMultiLocation] + > & + QueryableStorageEntry; + /** + * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and + * the `u32` counter is the number of times that a send to the destination has been attempted, + * which is used as a prioritization. + **/ + versionDiscoveryQueue: AugmentedQuery< + ApiType, + () => Observable>>, + [] + > & + QueryableStorageEntry; + /** + * All locations that we have requested version notifications from. + **/ + versionNotifiers: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array + ) => Observable>, + [u32, XcmVersionedMultiLocation] + > & + QueryableStorageEntry; + /** + * The target locations that are subscribed to our version changes, as well as the most recent + * of our versions we informed them of. + **/ + versionNotifyTargets: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array + ) => Observable>>, + [u32, XcmVersionedMultiLocation] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + scheduler: { + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ + agenda: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>>, + [u32] + > & + QueryableStorageEntry; + /** + * Lookup from identity to the block number and index of the task. + **/ + lookup: AugmentedQuery< + ApiType, + (arg: Bytes | string | Uint8Array) => Observable>>, + [Bytes] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + session: { + /** + * Current index of the session. + **/ + currentIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Indices of disabled validators. + * + * The vec is always kept sorted so that we can find whether a given validator is + * disabled using binary search. It gets cleared when `on_session_ending` returns + * a new set of identities. + **/ + disabledValidators: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The owner of a key. The key is the `KeyTypeId` + the encoded key. + **/ + keyOwner: AugmentedQuery< + ApiType, + ( + arg: + | ITuple<[SpCoreCryptoKeyTypeId, Bytes]> + | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array] + ) => Observable>, + [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>] + > & + QueryableStorageEntry]>; + /** + * The next session keys for a validator. + **/ + nextKeys: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + /** + * True if the underlying economic identities or weighting behind the validators + * has changed in the queued validator set. + **/ + queuedChanged: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The queued keys for the next session. When the next session begins, these keys + * will be used to determine the validator's session keys. + **/ + queuedKeys: AugmentedQuery< + ApiType, + () => Observable>>, + [] + > & + QueryableStorageEntry; + /** + * The current set of validators. + **/ + validators: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + stakingRewards: { + rewardPools: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + rewardsPotIsEmpty: AugmentedQuery< + ApiType, + (arg1: u128 | AnyNumber | Uint8Array, arg2: u128 | AnyNumber | Uint8Array) => Observable>, + [u128, u128] + > & + QueryableStorageEntry; + stakes: AugmentedQuery< + ApiType, + ( + arg1: u128 | AnyNumber | Uint8Array, + arg2: u64 | AnyNumber | Uint8Array + ) => Observable>, + [u128, u64] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + sudo: { + /** + * The `AccountId` of the sudo key. + **/ + key: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + system: { + /** + * The full account information for a particular account ID. + **/ + account: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable, + [AccountId32] + > & + QueryableStorageEntry; + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ + allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Map of block numbers to block hashes. + **/ + blockHash: AugmentedQuery Observable, [u32]> & + QueryableStorageEntry; + /** + * The current weight for the block. + **/ + blockWeight: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * Digest of the current block, also part of the block header. + **/ + digest: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The number of events in the `Events` list. + **/ + eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Events deposited for the current block. + * + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. + * + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ + events: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. + * + * All topic vectors have deterministic storage locations depending on the topic. This + * allows light-clients to leverage the changes trie storage tracking mechanism and + * in case of changes fetch the list of events of interest. + * + * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just + * the `EventIndex` then in case if the topic has the same contents on the next block + * no notification will be triggered thus the event might be lost. + **/ + eventTopics: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable>>, + [H256] + > & + QueryableStorageEntry; + /** + * The execution phase of the block. + **/ + executionPhase: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * Total extrinsics count for the current block. + **/ + extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ + extrinsicData: AugmentedQuery Observable, [u32]> & + QueryableStorageEntry; + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ + lastRuntimeUpgrade: AugmentedQuery Observable>, []> & + QueryableStorageEntry; + /** + * The current block number being processed. Set by `execute_block`. + **/ + number: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Hash of the previous block. + **/ + parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False + * (default) if not. + **/ + upgradedToTripleRefCount: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ + upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + technicalCommittee: { + /** + * The current members of the collective. This is stored sorted (just by value). + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The prime member that helps determine the default vote behavior in case of absentations. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Proposals so far. + **/ + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Actual proposal for a given hash, if it's current. + **/ + proposalOf: AugmentedQuery Observable>, [H256]> & + QueryableStorageEntry; + /** + * The hashes of the active proposals. + **/ + proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Votes on a given proposal, if it is ongoing. + **/ + voting: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable>, + [H256] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + technicalCommitteeMembership: { + /** + * The current membership, stored as an ordered Vec. + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current prime member, if one exists. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + timestamp: { + /** + * Did the timestamp get updated in this block? + **/ + didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Current time for the current block. + **/ + now: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + tokens: { + /** + * The balance of a token type under an account. + * + * NOTE: If the total is ever zero, decrease account ref account. + * + * NOTE: This is only used in the case that this module is used to store + * balances. + **/ + accounts: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable, + [AccountId32, u128] + > & + QueryableStorageEntry; + /** + * Any liquidity locks of a token type under an account. + * NOTE: Should only be accessed when setting, changing and freeing a lock. + **/ + locks: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable>, + [AccountId32, u128] + > & + QueryableStorageEntry; + /** + * Named reserves on some account balances. + **/ + reserves: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable>, + [AccountId32, u128] + > & + QueryableStorageEntry; + /** + * The total issuance of a token type. + **/ + totalIssuance: AugmentedQuery Observable, [u128]> & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + transactionPayment: { + nextFeeMultiplier: AugmentedQuery Observable, []> & QueryableStorageEntry; + storageVersion: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + treasury: { + /** + * Proposal indices that have been approved but not yet awarded. + **/ + approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Number of proposals that have been made. + **/ + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Proposals that have been made. + **/ + proposals: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + unknownTokens: { + /** + * Abstract fungible balances under a given location and a abstract + * fungible id. + * + * double_map: who, asset_id => u128 + **/ + abstractFungibleBalances: AugmentedQuery< + ApiType, + ( + arg1: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, + arg2: Bytes | string | Uint8Array + ) => Observable, + [XcmV1MultiLocation, Bytes] + > & + QueryableStorageEntry; + /** + * Concrete fungible balances under a given location and a concrete + * fungible id. + * + * double_map: who, asset_id => u128 + **/ + concreteFungibleBalances: AugmentedQuery< + ApiType, + ( + arg1: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, + arg2: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array + ) => Observable, + [XcmV1MultiLocation, XcmV1MultiLocation] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + vault: { + /** + * Overview of the allocation & balances at each strategy. Does not contain the balance held by + * the vault itself. + **/ + capitalStructure: AugmentedQuery< + ApiType, + ( + arg1: u64 | AnyNumber | Uint8Array, + arg2: AccountId32 | string | Uint8Array + ) => Observable, + [u64, AccountId32] + > & + QueryableStorageEntry; + /** + * Associated LP token for each vault. + **/ + lpTokensToVaults: AugmentedQuery< + ApiType, + (arg: u128 | AnyNumber | Uint8Array) => Observable>, + [u128] + > & + QueryableStorageEntry; + /** + * The number of vaults, also used to generate the next vault identifier. + * + * # Note + * + * Cleaned up vaults do not decrement the counter. + **/ + vaultCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Info for each specific vaults. + **/ + vaults: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>, + [u64] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + vesting: { + /** + * Counter used to uniquely identify vesting schedules within this pallet. + **/ + vestingScheduleNonce: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Vesting schedules of an account. + * + * VestingSchedules: map AccountId => Vec + **/ + vestingSchedules: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: u128 | AnyNumber | Uint8Array + ) => Observable>, + [AccountId32, u128] + > & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + xcmpQueue: { + /** + * Inbound aggregate XCMP messages. It can only be one per ParaId/block. + **/ + inboundXcmpMessages: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable, + [u32, u32] + > & + QueryableStorageEntry; + /** + * Status of the inbound XCMP channels. + **/ + inboundXcmpStatus: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * The messages outbound in a given XCMP channel. + **/ + outboundXcmpMessages: AugmentedQuery< + ApiType, + (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable, + [u32, u16] + > & + QueryableStorageEntry; + /** + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ + outboundXcmpStatus: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** + * The messages that exceeded max individual message weight budget. + * + * These message stay in this storage map until they are manually dispatched via + * `service_overweight`. + **/ + overweight: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>>, + [u64] + > & + QueryableStorageEntry; + /** + * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next + * available free overweight index. + **/ + overweightCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The configuration which controls the dynamics of the outbound queue. + **/ + queueConfig: AugmentedQuery Observable, []> & + QueryableStorageEntry; + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ + queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Any signal messages waiting to be sent. + **/ + signalMessages: AugmentedQuery Observable, [u32]> & + QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + } // AugmentedQueries +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-rpc.ts b/src/chains/polkadot/api-scheme/augments/augment-api-rpc.ts new file mode 100644 index 00000000..023b32f5 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-rpc.ts @@ -0,0 +1,956 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit + +/* eslint-disable */ +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { AugmentedRpc } from '@polkadot/rpc-core/types'; +import '@polkadot/rpc-core/types/jsonrpc'; +import type { StorageKey } from '@polkadot/types'; +import type { + bool, + Bytes, + f64, + HashMap, + Json, + Null, + Option, + Text, + u32, + U64, + u64, + U256, + Vec, +} from '@polkadot/types-codec'; +import { BTreeMap, u128 } from '@polkadot/types-codec'; +import type { AnyNumber } from '@polkadot/types-codec/types'; +import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; +import type { EpochAuthorship } from '@polkadot/types/interfaces/babe'; +import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; +import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import type { + CodeUploadRequest, + CodeUploadResult, + ContractCallRequest, + ContractExecResult, + ContractInstantiateResult, + InstantiateRequest, +} from '@polkadot/types/interfaces/contracts'; +import type { BlockStats } from '@polkadot/types/interfaces/dev'; +import type { CreatedBlock } from '@polkadot/types/interfaces/engine'; +import type { + EthAccount, + EthCallRequest, + EthFeeHistory, + EthFilter, + EthFilterChanges, + EthLog, + EthReceipt, + EthRichBlock, + EthSubKind, + EthSubParams, + EthSyncStatus, + EthTransaction, + EthTransactionRequest, + EthWork, +} from '@polkadot/types/interfaces/eth'; +import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { + EncodedFinalityProofs, + JustificationNotification, + ReportedRoundStates, +} from '@polkadot/types/interfaces/grandpa'; +import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; +import type { StorageKind } from '@polkadot/types/interfaces/offchain'; +import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; +import type { + AccountId, + AccountId32, + AssetId, + Balance, + BlockNumber, + H64, + H160, + H256, + Hash, + Header, + Index, + Justification, + SignedBlock, + StorageData, +} from '@polkadot/types/interfaces/runtime'; +import type { + ApplyExtrinsicResult, + ChainProperties, + ChainType, + Health, + NetworkState, + NodeRole, + PeerInfo, + SyncState, +} from '@polkadot/types/interfaces/system'; +import type { IExtrinsic, Observable } from '@polkadot/types/types'; + +import { Asset } from '../assets'; +import type { CurrencyId, CustomRpcBalance, CustomRpcCurrencyId } from '../common'; +import type { PalletPabloPoolId, PalletPabloPriceAggregate } from '../pablo'; + +export type __AugmentedRpc = AugmentedRpc<() => unknown>; + +declare module '@polkadot/rpc-core/types/jsonrpc' { + export interface RpcInterface { + assets: { + /** + * Balance available for the specified account for the specified asset. + **/ + balanceOf: AugmentedRpc< + ( + asset: CustomRpcCurrencyId | string, + account: AccountId32 | string | Uint8Array, + at?: Hash | string | Uint8Array + ) => Observable + >; + /** + * Lists the available recognized assets for the runtime. + **/ + listAssets: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable>>; + }; + author: { + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ + hasKey: AugmentedRpc<(publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable>; + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ + hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; + /** + * Insert a key into the keystore. + **/ + insertKey: AugmentedRpc< + (keyType: Text | string, suri: Text | string, publicKey: Bytes | string | Uint8Array) => Observable + >; + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ + pendingExtrinsics: AugmentedRpc<() => Observable>>; + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ + removeExtrinsic: AugmentedRpc< + ( + bytesOrHash: + | Vec + | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] + ) => Observable> + >; + /** + * Generate new session keys and returns the corresponding public keys + **/ + rotateKeys: AugmentedRpc<() => Observable>; + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ + submitAndWatchExtrinsic: AugmentedRpc< + (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable + >; + /** + * Submit a fully formatted extrinsic for block inclusion + **/ + submitExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; + }; + babe: { + /** + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ + epochAuthorship: AugmentedRpc<() => Observable>>; + }; + beefy: { + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ + getFinalizedHead: AugmentedRpc<() => Observable>; + /** + * Returns the block most recently finalized by BEEFY, alongside side its justification. + **/ + subscribeJustifications: AugmentedRpc<() => Observable>; + }; + chain: { + /** + * Get header and body of a relay chain block + **/ + getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; + /** + * Get the block hash for a specific block + **/ + getBlockHash: AugmentedRpc<(blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Get hash of the last finalized block in the canon chain + **/ + getFinalizedHead: AugmentedRpc<() => Observable>; + /** + * Retrieves the header for a specific block + **/ + getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable
>; + /** + * Retrieves the newest header via subscription + **/ + subscribeAllHeads: AugmentedRpc<() => Observable
>; + /** + * Retrieves the best finalized header via subscription + **/ + subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; + /** + * Retrieves the best header via subscription + **/ + subscribeNewHeads: AugmentedRpc<() => Observable
>; + }; + childstate: { + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ + getKeys: AugmentedRpc< + ( + childKey: PrefixedStorageKey | string | Uint8Array, + prefix: StorageKey | string | Uint8Array | any, + at?: Hash | string | Uint8Array + ) => Observable> + >; + /** + * Returns the keys with prefix from a child storage with pagination support + **/ + getKeysPaged: AugmentedRpc< + ( + childKey: PrefixedStorageKey | string | Uint8Array, + prefix: StorageKey | string | Uint8Array | any, + count: u32 | AnyNumber | Uint8Array, + startKey?: StorageKey | string | Uint8Array | any, + at?: Hash | string | Uint8Array + ) => Observable> + >; + /** + * Returns a child storage entry at a specific block state + **/ + getStorage: AugmentedRpc< + ( + childKey: PrefixedStorageKey | string | Uint8Array, + key: StorageKey | string | Uint8Array | any, + at?: Hash | string | Uint8Array + ) => Observable> + >; + /** + * Returns child storage entries for multiple keys at a specific block state + **/ + getStorageEntries: AugmentedRpc< + ( + childKey: PrefixedStorageKey | string | Uint8Array, + keys: Vec | (StorageKey | string | Uint8Array | any)[], + at?: Hash | string | Uint8Array + ) => Observable>> + >; + /** + * Returns the hash of a child storage entry at a block state + **/ + getStorageHash: AugmentedRpc< + ( + childKey: PrefixedStorageKey | string | Uint8Array, + key: StorageKey | string | Uint8Array | any, + at?: Hash | string | Uint8Array + ) => Observable> + >; + /** + * Returns the size of a child storage entry at a block state + **/ + getStorageSize: AugmentedRpc< + ( + childKey: PrefixedStorageKey | string | Uint8Array, + key: StorageKey | string | Uint8Array | any, + at?: Hash | string | Uint8Array + ) => Observable> + >; + }; + // @ts-ignore + contracts: { + /** + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ + call: AugmentedRpc< + ( + callRequest: + | ContractCallRequest + | { + origin?: any; + dest?: any; + value?: any; + gasLimit?: any; + inputData?: any; + } + | string + | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable + >; + /** + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ + getStorage: AugmentedRpc< + ( + address: AccountId | string | Uint8Array, + key: H256 | string | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable> + >; + /** + * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead + * Instantiate a new contract + **/ + instantiate: AugmentedRpc< + ( + request: + | InstantiateRequest + | { + origin?: any; + value?: any; + gasLimit?: any; + storageDepositLimit?: any; + code?: any; + data?: any; + salt?: any; + } + | string + | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable + >; + /** + * @deprecated Not available in newer versions of the contracts interfaces.ts + * Returns the projected time a given contract will be able to sustain paying its rent + **/ + rentProjection: AugmentedRpc< + ( + address: AccountId | string | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable> + >; + /** + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ + uploadCode: AugmentedRpc< + ( + uploadRequest: + | CodeUploadRequest + | { origin?: any; code?: any; storageDepositLimit?: any } + | string + | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable + >; + }; + crowdloanRewards: { + /** + * The unclaimed amount + **/ + amountAvailableToClaimFor: AugmentedRpc< + (accountId: AccountId | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable + >; + }; + dev: { + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ + getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable>>; + }; + engine: { + /** + * Instructs the manual-seal authorship task to create a new block + **/ + createBlock: AugmentedRpc< + ( + createEmpty: bool | boolean | Uint8Array, + finalize: bool | boolean | Uint8Array, + parentHash?: BlockHash | string | Uint8Array + ) => Observable + >; + /** + * Instructs the manual-seal authorship task to finalize a block + **/ + finalizeBlock: AugmentedRpc< + (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable + >; + }; + eth: { + /** + * Returns accounts list. + **/ + accounts: AugmentedRpc<() => Observable>>; + /** + * Returns the blockNumber + **/ + blockNumber: AugmentedRpc<() => Observable>; + /** + * Call contract, returning the output data. + **/ + call: AugmentedRpc< + ( + request: + | EthCallRequest + | { + from?: any; + to?: any; + gasPrice?: any; + gas?: any; + value?: any; + data?: any; + nonce?: any; + } + | string + | Uint8Array, + number?: BlockNumber | AnyNumber | Uint8Array + ) => Observable + >; + /** + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ + chainId: AugmentedRpc<() => Observable>; + /** + * Returns block author. + **/ + coinbase: AugmentedRpc<() => Observable>; + /** + * Estimate gas needed for execution of given contract. + **/ + estimateGas: AugmentedRpc< + ( + request: + | EthCallRequest + | { + from?: any; + to?: any; + gasPrice?: any; + gas?: any; + value?: any; + data?: any; + nonce?: any; + } + | string + | Uint8Array, + number?: BlockNumber | AnyNumber | Uint8Array + ) => Observable + >; + /** + * Returns fee history for given block count & reward percentiles + **/ + feeHistory: AugmentedRpc< + ( + blockCount: U256 | AnyNumber | Uint8Array, + newestBlock: BlockNumber | AnyNumber | Uint8Array, + rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] + ) => Observable + >; + /** + * Returns current gas price. + **/ + gasPrice: AugmentedRpc<() => Observable>; + /** + * Returns balance of the given account. + **/ + getBalance: AugmentedRpc< + (address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable + >; + /** + * Returns block with given hash. + **/ + getBlockByHash: AugmentedRpc< + (hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array) => Observable> + >; + /** + * Returns block with given number. + **/ + getBlockByNumber: AugmentedRpc< + ( + block: BlockNumber | AnyNumber | Uint8Array, + full: bool | boolean | Uint8Array + ) => Observable> + >; + /** + * Returns the number of transactions in a block with given hash. + **/ + getBlockTransactionCountByHash: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns the number of transactions in a block with given block number. + **/ + getBlockTransactionCountByNumber: AugmentedRpc<(block: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns the code at given address at given time (block number). + **/ + getCode: AugmentedRpc< + (address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable + >; + /** + * Returns filter changes since last poll. + **/ + getFilterChanges: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ + getFilterLogs: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>>; + /** + * Returns logs matching given filter object. + **/ + getLogs: AugmentedRpc< + ( + filter: + | EthFilter + | { + fromBlock?: any; + toBlock?: any; + blockHash?: any; + address?: any; + topics?: any; + } + | string + | Uint8Array + ) => Observable> + >; + /** + * Returns proof for account and storage. + **/ + getProof: AugmentedRpc< + ( + address: H160 | string | Uint8Array, + storageKeys: Vec | (H256 | string | Uint8Array)[], + number: BlockNumber | AnyNumber | Uint8Array + ) => Observable + >; + /** + * Returns content of the storage at given address. + **/ + getStorageAt: AugmentedRpc< + ( + address: H160 | string | Uint8Array, + index: U256 | AnyNumber | Uint8Array, + number?: BlockNumber | AnyNumber | Uint8Array + ) => Observable + >; + /** + * Returns transaction at given block hash and index. + **/ + getTransactionByBlockHashAndIndex: AugmentedRpc< + (hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable + >; + /** + * Returns transaction by given block number and index. + **/ + getTransactionByBlockNumberAndIndex: AugmentedRpc< + ( + number: BlockNumber | AnyNumber | Uint8Array, + index: U256 | AnyNumber | Uint8Array + ) => Observable + >; + /** + * Get transaction by its hash. + **/ + getTransactionByHash: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ + getTransactionCount: AugmentedRpc< + (hash: H256 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable + >; + /** + * Returns transaction receipt by transaction hash. + **/ + getTransactionReceipt: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns an uncles at given block and index. + **/ + getUncleByBlockHashAndIndex: AugmentedRpc< + (hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable + >; + /** + * Returns an uncles at given block and index. + **/ + getUncleByBlockNumberAndIndex: AugmentedRpc< + (number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable + >; + /** + * Returns the number of uncles in a block with given hash. + **/ + getUncleCountByBlockHash: AugmentedRpc<(hash: H256 | string | Uint8Array) => Observable>; + /** + * Returns the number of uncles in a block with given block number. + **/ + getUncleCountByBlockNumber: AugmentedRpc<(number: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ + getWork: AugmentedRpc<() => Observable>; + /** + * Returns the number of hashes per second that the node is mining with. + **/ + hashrate: AugmentedRpc<() => Observable>; + /** + * Returns max priority fee per gas + **/ + maxPriorityFeePerGas: AugmentedRpc<() => Observable>; + /** + * Returns true if client is actively mining new blocks. + **/ + mining: AugmentedRpc<() => Observable>; + /** + * Returns id of new block filter. + **/ + newBlockFilter: AugmentedRpc<() => Observable>; + /** + * Returns id of new filter. + **/ + newFilter: AugmentedRpc< + ( + filter: + | EthFilter + | { + fromBlock?: any; + toBlock?: any; + blockHash?: any; + address?: any; + topics?: any; + } + | string + | Uint8Array + ) => Observable + >; + /** + * Returns id of new block filter. + **/ + newPendingTransactionFilter: AugmentedRpc<() => Observable>; + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ + protocolVersion: AugmentedRpc<() => Observable>; + /** + * Sends signed transaction, returning its hash. + **/ + sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ + sendTransaction: AugmentedRpc< + ( + tx: + | EthTransactionRequest + | { + from?: any; + to?: any; + gasPrice?: any; + gas?: any; + value?: any; + data?: any; + nonce?: any; + } + | string + | Uint8Array + ) => Observable + >; + /** + * Used for submitting mining hashrate. + **/ + submitHashrate: AugmentedRpc< + (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable + >; + /** + * Used for submitting a proof-of-work solution. + **/ + submitWork: AugmentedRpc< + ( + nonce: H64 | string | Uint8Array, + headerHash: H256 | string | Uint8Array, + mixDigest: H256 | string | Uint8Array + ) => Observable + >; + /** + * Subscribe to Eth subscription. + **/ + subscribe: AugmentedRpc< + ( + kind: EthSubKind | 'newHeads' | 'logs' | 'newPendingTransactions' | 'syncing' | number | Uint8Array, + params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array + ) => Observable + >; + /** + * Returns an object with data about the sync status or false. + **/ + syncing: AugmentedRpc<() => Observable>; + /** + * Uninstalls filter. + **/ + uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; + }; + grandpa: { + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ + proveFinality: AugmentedRpc< + (blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable> + >; + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ + roundState: AugmentedRpc<() => Observable>; + /** + * Subscribes to grandpa justifications + **/ + subscribeJustifications: AugmentedRpc<() => Observable>; + }; + mmr: { + /** + * Generate MMR proof for the given leaf indices. + **/ + generateBatchProof: AugmentedRpc< + ( + leafIndices: Vec | (u64 | AnyNumber | Uint8Array)[], + at?: BlockHash | string | Uint8Array + ) => Observable + >; + /** + * Generate MMR proof for given leaf index. + **/ + generateProof: AugmentedRpc< + (leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable + >; + }; + net: { + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ + listening: AugmentedRpc<() => Observable>; + /** + * Returns number of peers connected to node. + **/ + peerCount: AugmentedRpc<() => Observable>; + /** + * Returns protocol version. + **/ + version: AugmentedRpc<() => Observable>; + }; + offchain: { + /** + * Get offchain local storage under given key and prefix + **/ + localStorageGet: AugmentedRpc< + ( + kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, + key: Bytes | string | Uint8Array + ) => Observable> + >; + /** + * Set offchain local storage under given key and prefix + **/ + localStorageSet: AugmentedRpc< + ( + kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, + key: Bytes | string | Uint8Array, + value: Bytes | string | Uint8Array + ) => Observable + >; + }; + pablo: { + /** + * Get the price(in quote asset) for the given asset pair in the given pool for the given amount + **/ + pricesFor: AugmentedRpc< + ( + poolId: PalletPabloPoolId | string, + baseAssetId: CustomRpcCurrencyId | string, + quoteAssetId: CustomRpcCurrencyId | string, + amount: CustomRpcBalance | string, + at?: Hash | string | Uint8Array + ) => Observable + >; + isFlatFee: AugmentedRpc<(assetId: AssetId | string) => Observable>>, + simulateAddLiquidity: AugmentedRpc< + ( + who: AccountId | string, + poolId: PalletPabloPoolId | string, + amounts: + | BTreeMap + | { + [assetIn in string]: string; + } + ) => Observable + >; + simulateRemoveLiquidity: AugmentedRpc< + ( + who: AccountId | string, + poolId: PalletPabloPoolId | string, + amount: Balance | string, + minExpectedAmounts: + | BTreeMap + | { + [assetIn in string]: string; + } + ) => Observable> + >; + }; + payment: { + /** + * Query the detailed fee of a given encoded extrinsic + **/ + queryFeeDetails: AugmentedRpc< + (extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable + >; + /** + * Retrieves the fee information for an encoded extrinsic + **/ + queryInfo: AugmentedRpc< + ( + extrinsic: Bytes | string | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable + >; + }; + reward: { + estimateFarmingReward: AugmentedRpc< + ( + accountId: AccountId, + poolCurrencyId: Text, + rewardCurrencyId: Text, + at?: Option + ) => Observable + >; + computeFarmingReward: AugmentedRpc< + ( + accountId: AccountId, + poolCurrencyId: Text, + rewardCurrencyId: Text, + at?: Option + ) => Observable + >; + }; + rpc: { + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ + methods: AugmentedRpc<() => Observable>; + }; + syncstate: { + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ + genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; + }; + system: { + /** + * Retrieves the next accountIndex as available on the node + **/ + accountNextIndex: AugmentedRpc<(accountId: AccountId | string | Uint8Array) => Observable>; + /** + * Adds the supplied directives to the current log filter + **/ + addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; + /** + * Adds a reserved peer + **/ + addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; + /** + * Retrieves the chain + **/ + chain: AugmentedRpc<() => Observable>; + /** + * Retrieves the chain type + **/ + chainType: AugmentedRpc<() => Observable>; + /** + * Dry run an extrinsic at a given block + **/ + dryRun: AugmentedRpc< + ( + extrinsic: Bytes | string | Uint8Array, + at?: BlockHash | string | Uint8Array + ) => Observable + >; + /** + * Return health status of the node + **/ + health: AugmentedRpc<() => Observable>; + /** + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ + localListenAddresses: AugmentedRpc<() => Observable>>; + /** + * Returns the base58-encoded PeerId of the node + **/ + localPeerId: AugmentedRpc<() => Observable>; + /** + * Retrieves the node name + **/ + name: AugmentedRpc<() => Observable>; + /** + * Returns current state of the network + **/ + networkState: AugmentedRpc<() => Observable>; + /** + * Returns the roles the node is running as + **/ + nodeRoles: AugmentedRpc<() => Observable>>; + /** + * Returns the currently connected peers + **/ + peers: AugmentedRpc<() => Observable>>; + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ + properties: AugmentedRpc<() => Observable>; + /** + * Remove a reserved peer + **/ + removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; + /** + * Returns the list of reserved peers + **/ + reservedPeers: AugmentedRpc<() => Observable>>; + /** + * Resets the log filter to Substrate defaults + **/ + resetLogFilter: AugmentedRpc<() => Observable>; + /** + * Returns the state of the syncing of the node + **/ + syncState: AugmentedRpc<() => Observable>; + /** + * Retrieves the version of the node + **/ + version: AugmentedRpc<() => Observable>; + }; + web3: { + /** + * Returns current client version. + **/ + clientVersion: AugmentedRpc<() => Observable>; + /** + * Returns sha3 of the given data + **/ + sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; + }; + ibc: { + queryBalanceWithAddress: AugmentedRpc< + ( + addr: AccountId32, + assetId: CurrencyId + ) => Observable, SafeRpcWrapper>> + >; + queryPacketAcknowledgement: AugmentedRpc< + ( + chainId: Vec, + portId: Vec, + seq: u64 + ) => Observable, SafeRpcWrapper>> + >; + }; + } // RpcInterface +} // declare module \ No newline at end of file diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-runtime.ts b/src/chains/polkadot/api-scheme/augments/augment-api-runtime.ts new file mode 100644 index 00000000..3dbfee44 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-runtime.ts @@ -0,0 +1,254 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit + +/* eslint-disable */ +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/calls'; +import type { Bytes, Null, Option, u32, Vec } from '@polkadot/types-codec'; +import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; +import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; +import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; +import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { AccountId, Block, Header, Index, KeyTypeId, SlotDuration } from '@polkadot/types/interfaces/runtime'; +import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; +import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system'; +import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; +import type { IExtrinsic, Observable } from '@polkadot/types/types'; + +export type __AugmentedCall = AugmentedCall; +export type __DecoratedCallBase = DecoratedCallBase; + +declare module '@polkadot/api-base/types/calls' { + export interface AugmentedCalls { + /** 0xbc9d89904f5b923f/1 */ + accountNonceApi: { + /** + * The API to query account nonce (aka transaction index) + **/ + accountNonce: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xdd718d5cc53262d4/1 */ + auraApi: { + /** + * Return the current set of authorities. + **/ + authorities: AugmentedCall Observable>>; + /** + * Returns the slot duration for Aura. + **/ + slotDuration: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x40fe3ad401f8959a/6 */ + blockBuilder: { + /** + * Apply the given extrinsic. + **/ + applyExtrinsic: AugmentedCall< + ApiType, + (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable + >; + /** + * Check that the inherents are valid. + **/ + checkInherents: AugmentedCall< + ApiType, + ( + block: Block | { header?: any; extrinsics?: any } | string | Uint8Array, + data: InherentData | { data?: any } | string | Uint8Array + ) => Observable + >; + /** + * Finish the current block. + **/ + finalizeBlock: AugmentedCall Observable
>; + /** + * Generate inherent extrinsics. + **/ + inherentExtrinsics: AugmentedCall< + ApiType, + (inherent: InherentData | { data?: any } | string | Uint8Array) => Observable> + >; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xea93e3f16f3d6962/2 */ + collectCollationInfo: { + /** + * Collect information about a collation. + **/ + collectCollationInfo: AugmentedCall< + ApiType, + ( + header: + | Header + | { + parentHash?: any; + number?: any; + stateRoot?: any; + extrinsicsRoot?: any; + digest?: any; + } + | string + | Uint8Array + ) => Observable + >; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xdf6acb689907609b/4 */ + core: { + /** + * Execute the given block. + **/ + executeBlock: AugmentedCall< + ApiType, + (block: Block | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable + >; + /** + * Initialize a block with the given header. + **/ + initializeBlock: AugmentedCall< + ApiType, + ( + header: + | Header + | { + parentHash?: any; + number?: any; + stateRoot?: any; + extrinsicsRoot?: any; + digest?: any; + } + | string + | Uint8Array + ) => Observable + >; + /** + * Returns the version of the runtime. + **/ + version: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x37e397fc7c91f5e4/1 */ + metadata: { + /** + * Returns the metadata of a runtime + **/ + metadata: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xf78b278be53f454c/2 */ + offchainWorkerApi: { + /** + * Starts the off-chain task for given block header. + **/ + offchainWorker: AugmentedCall< + ApiType, + ( + header: + | Header + | { + parentHash?: any; + number?: any; + stateRoot?: any; + extrinsicsRoot?: any; + digest?: any; + } + | string + | Uint8Array + ) => Observable + >; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xab3c0572291feb8b/1 */ + sessionKeys: { + /** + * Decode the given public session keys. + **/ + decodeSessionKeys: AugmentedCall< + ApiType, + (encoded: Bytes | string | Uint8Array) => Observable>>> + >; + /** + * Generate a set of session keys with optionally using the given seed. + **/ + generateSessionKeys: AugmentedCall< + ApiType, + (seed: Option | null | Uint8Array | Bytes | string) => Observable + >; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xd2bc9897eed08f15/3 */ + taggedTransactionQueue: { + /** + * Validate the transaction. + **/ + validateTransaction: AugmentedCall< + ApiType, + ( + source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, + tx: Extrinsic | IExtrinsic | string | Uint8Array, + blockHash: BlockHash | string | Uint8Array + ) => Observable + >; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x37c8bb1350a9a2a8/1 */ + transactionPaymentApi: { + /** + * The transaction fee details + **/ + queryFeeDetails: AugmentedCall< + ApiType, + (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable + >; + /** + * The transaction info + **/ + queryInfo: AugmentedCall< + ApiType, + ( + uxt: Extrinsic | IExtrinsic | string | Uint8Array, + len: u32 | AnyNumber | Uint8Array + ) => Observable + >; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + } // AugmentedCalls +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/augment-api-tx.ts b/src/chains/polkadot/api-scheme/augments/augment-api-tx.ts new file mode 100644 index 00000000..94098d65 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-api-tx.ts @@ -0,0 +1,5592 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit + +/* eslint-disable */ +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { + ApiTypes, + AugmentedSubmittable, + SubmittableExtrinsic, + SubmittableExtrinsicFunction +} from '@polkadot/api-base/types'; +import '@polkadot/api-base/types/submittable'; +import type { Data } from '@polkadot/types'; +import type { + bool, + BTreeMap, + Bytes, + Compact, + Option, + Text, + u8, + U8aFixed, + u16, + u32, + u64, + u128, + Vec, + WrapperKeepOpaque +} from '@polkadot/types-codec'; +import type { AnyNumber, Codec, IMethod, ITuple } from '@polkadot/types-codec/types'; +import type { + AccountId32, + Call, + H256, + MultiAddress, + Perbill, + Percent, + Permill +} from '@polkadot/types/interfaces/runtime'; + +import type { + ComposableTraitsDefiCurrencyPairCurrencyId, + ComposableTraitsDefiSellCurrencyId, + ComposableTraitsXcmXcmSellRequest +} from '../common'; +import type { + CommonMosaicRemoteAssetId, + ComposableSupportEthereumAddress, + ComposableTraitsAccountProxyProxyType, + ComposableTraitsAssetsBasicAssetMetadata, + ComposableTraitsBondedFinanceBondOffer, + ComposableTraitsCallFilterCallFilterEntry, + ComposableTraitsCurrencyRational64, + ComposableTraitsDefiTake, + ComposableTraitsDexAssetAmount, + ComposableTraitsLendingCreateInput, + ComposableTraitsLendingRepayStrategy, + ComposableTraitsLendingUpdateInput, + ComposableTraitsStakingRewardPoolConfiguration, + ComposableTraitsStakingRewardUpdate, + ComposableTraitsTimeTimeReleaseFunction, + ComposableTraitsVaultVaultConfig, + ComposableTraitsXcmAssetsXcmAssetLocation, + CumulusPrimitivesParachainInherentParachainInherentData, + DaliRuntimeOpaqueSessionKeys, + DaliRuntimeOriginCaller, + FrameSupportScheduleMaybeHashed, + PalletCosmwasmCodeIdentifier, + PalletCrowdloanRewardsModelsProof, + PalletCrowdloanRewardsModelsRemoteAccount, + PalletDemocracyConviction, + PalletDemocracyVoteAccountVote, + PalletIbcAny, + PalletIbcPalletParams, + PalletIbcPingSendPingParams, + PalletIbcTransferParams, + PalletIbcUpgradeParams, + PalletIdentityBitFlags, + PalletIdentityIdentityInfo, + PalletIdentityJudgement, + PalletLiquidationsLiquidationStrategyConfiguration, + PalletLiquidStakingUnstakeProvider, + PalletMosaicAmmSwapInfo, + PalletMosaicDecayBudgetPenaltyDecayer, + PalletMosaicNetworkInfo, + PalletMultisigTimepoint, + SpRuntimeHeader, + XcmV1MultiLocation, + XcmV2WeightLimit, + XcmVersionedMultiAsset, + XcmVersionedMultiAssets, + XcmVersionedMultiLocation, + XcmVersionedXcm +} from '../crowdloanRewards'; +import type { PalletPabloPoolInitConfiguration } from '../pablo'; +import type { + ComposableTraitsVestingVestingScheduleIdSet, + ComposableTraitsVestingVestingScheduleInfo +} from '../vesting'; + +export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; +export type __SubmittableExtrinsic = SubmittableExtrinsic; +export type __SubmittableExtrinsicFunction = SubmittableExtrinsicFunction; + +declare module '@polkadot/api-base/types/submittable' { + export interface AugmentedSubmittables { + assetsTransactorRouter: { + /** + * Burns `amount` of `asset_id` into the `dest` account. + **/ + burnFrom: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + amount: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, MultiAddress, Compact] + >; + /** + * Transfer `amount` of the `asset` from `origin` to `dest`. This requires root. + * + * # Errors + * - When `origin` is not root. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + forceTransfer: AugmentedSubmittable< + ( + asset: u128 | AnyNumber | Uint8Array, + source: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + value: Compact | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, MultiAddress, MultiAddress, Compact, bool] + >; + /** + * Transfer `amount` of the the native asset from `origin` to `dest`. This requires root. + * + * # Errors + * - When `origin` is not root. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + forceTransferNative: AugmentedSubmittable< + ( + source: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + value: Compact | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, MultiAddress, Compact, bool] + >; + /** + * Creates a new asset, minting `amount` of funds into the `dest` account. Intended to be + * used for creating wrapped assets, not associated with any project. + **/ + mintInitialize: AugmentedSubmittable< + ( + amount: Compact | AnyNumber | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [Compact, MultiAddress] + >; + /** + * Creates a new asset, minting `amount` of funds into the `dest` account. The `dest` + * account can use the democracy pallet to mint further assets, or if the governance_origin + * is set to an owned account, using signed transactions. In general the + * `governance_origin` should be generated from the pallet id. + **/ + mintInitializeWithGovernance: AugmentedSubmittable< + ( + amount: Compact | AnyNumber | Uint8Array, + governanceOrigin: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [Compact, MultiAddress, MultiAddress] + >; + /** + * Mints `amount` of `asset_id` into the `dest` account. + **/ + mintInto: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + amount: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, MultiAddress, Compact] + >; + /** + * Transfer `amount` of `asset` from `origin` to `dest`. + * + * # Errors + * - When `origin` is not signed. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + transfer: AugmentedSubmittable< + ( + asset: u128 | AnyNumber | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + amount: Compact | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, MultiAddress, Compact, bool] + >; + /** + * Transfer all free balance of the `asset` from `origin` to `dest`. + * + * # Errors + * - When `origin` is not signed. + * - If the `dest` cannot be looked up. + **/ + transferAll: AugmentedSubmittable< + ( + asset: u128 | AnyNumber | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, MultiAddress, bool] + >; + /** + * Transfer all free balance of the native asset from `origin` to `dest`. + * + * # Errors + * - When `origin` is not signed. + * - If the `dest` cannot be looked up. + **/ + transferAllNative: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, bool] + >; + /** + * Transfer `amount` of the native asset from `origin` to `dest`. This is slightly + * cheaper to call, as it avoids an asset lookup. + * + * # Errors + * - When `origin` is not signed. + * - If the account has insufficient free balance to make the transfer, or if `keep_alive` + * cannot be respected. + * - If the `dest` cannot be looked up. + **/ + transferNative: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + value: Compact | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Compact, bool] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + assetsRegistry: { + /** + * Creates asset using `CurrencyFactory`. + * Raises `AssetRegistered` event + * + * Sets only required fields by `CurrencyFactory`, to upsert metadata use referenced + * pallet. + * + * # Parameters: + * + * `ratio` - + * Allows `bring you own gas` fees. + * Set to `None` to prevent payment in this asset, only transferring. + * Setting to some will NOT start minting tokens with specified ratio. + * + * ```python + * ratio = foreign_token / native_token + * amount_of_foreign_asset = amount_of_native_asset * ratio + * ``` + * + * `decimals` - `human` number of decimals + * + * `ed` - same meaning as in for foreign asset account (if None, then asset is not + * sufficient) + **/ + registerAsset: AugmentedSubmittable< + ( + location: ComposableTraitsXcmAssetsXcmAssetLocation | { parents?: any; interior?: any } | string | Uint8Array, + ratio: ComposableTraitsCurrencyRational64 | { n?: any; d?: any } | string | Uint8Array, + decimals: Option | null | Uint8Array | u8 | AnyNumber + ) => SubmittableExtrinsic, + [ComposableTraitsXcmAssetsXcmAssetLocation, ComposableTraitsCurrencyRational64, Option] + >; + /** + * Minimal amount of `foreign_asset_id` required to send message to other network. + * Target network may or may not accept payment `amount`. + * Assumed this is maintained up to date by technical team. + * Mostly UI hint and fail fast solution. + * Messages sending smaller fee will not be sent. + * In theory can be updated by parachain sovereign account too. + * If None, than it is well known cannot pay with that asset on target_parachain_id. + * If Some(0), than price can be anything greater or equal to zero. + * If Some(MAX), than actually it forbids transfers. + **/ + setMinFee: AugmentedSubmittable< + ( + targetParachainId: u32 | AnyNumber | Uint8Array, + foreignAssetId: + | ComposableTraitsXcmAssetsXcmAssetLocation + | { parents?: any; interior?: any } + | string + | Uint8Array, + amount: Option | null | Uint8Array | u128 | AnyNumber + ) => SubmittableExtrinsic, + [u32, ComposableTraitsXcmAssetsXcmAssetLocation, Option] + >; + /** + * Given well existing asset, update its remote information. + * Use with caution as it allow reroute assets location. + * See `register_asset` for parameters meaning. + **/ + updateAsset: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + location: ComposableTraitsXcmAssetsXcmAssetLocation | { parents?: any; interior?: any } | string | Uint8Array, + ratio: ComposableTraitsCurrencyRational64 | { n?: any; d?: any } | string | Uint8Array, + decimals: Option | null | Uint8Array | u8 | AnyNumber + ) => SubmittableExtrinsic, + [u128, ComposableTraitsXcmAssetsXcmAssetLocation, ComposableTraitsCurrencyRational64, Option] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + assetTxPayment: { + /** + * Sets or resets payment asset. + * + * If `asset_id` is `None`, then native asset is used. + * Else new asset is configured and ED is on hold. + **/ + setPaymentAsset: AugmentedSubmittable< + ( + payer: AccountId32 | string | Uint8Array, + assetId: Option | null | Uint8Array | u128 | AnyNumber + ) => SubmittableExtrinsic, + [AccountId32, Option] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + authorship: { + /** + * Provide a set of uncles. + **/ + setUncles: AugmentedSubmittable< + ( + newUncles: + | Vec + | ( + | SpRuntimeHeader + | { + parentHash?: any; + number?: any; + stateRoot?: any; + extrinsicsRoot?: any; + digest?: any; + } + | string + | Uint8Array + )[] + ) => SubmittableExtrinsic, + [Vec] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + balances: { + /** + * Exactly as `transfer`, except the origin must be root and the source account may be + * specified. + * # + * - Same as transfer, but additional read and write because the source account is not + * assumed to be in the overlay. + * # + **/ + forceTransfer: AugmentedSubmittable< + ( + source: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + value: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, MultiAddress, Compact] + >; + /** + * Unreserve some balance from a user by force. + * + * Can only be called by ROOT. + **/ + forceUnreserve: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + amount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, u128] + >; + /** + * Set the balances of a given account. + * + * This will alter `FreeBalance` and `ReservedBalance` in storage. it will + * also alter the total issuance of the system (`TotalIssuance`) appropriately. + * If the new free or reserved balance is below the existential deposit, + * it will reset the account nonce (`frame_system::AccountNonce`). + * + * The dispatch origin for this call is `root`. + **/ + setBalance: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + newFree: Compact | AnyNumber | Uint8Array, + newReserved: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Compact, Compact] + >; + /** + * Transfer some liquid free balance to another account. + * + * `transfer` will set the `FreeBalance` of the sender and receiver. + * If the sender's account is below the existential deposit as a result + * of the transfer, the account will be reaped. + * + * The dispatch origin for this call must be `Signed` by the transactor. + * + * # + * - Dependent on arguments but not critical, given proper implementations for input config + * types. See related functions below. + * - It contains a limited number of reads and writes internally and no complex + * computation. + * + * Related functions: + * + * - `ensure_can_withdraw` is always called internally but has a bounded complexity. + * - Transferring balances to accounts that did not exist before will cause + * `T::OnNewAccount::on_new_account` to be called. + * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`. + * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check + * that the transfer will not kill the origin account. + * --------------------------------- + * - Origin account is already in memory, so no DB operations for them. + * # + **/ + transfer: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + value: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Compact] + >; + /** + * Transfer the entire transferable balance from the caller account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the account has, causing the sender account to be killed (false), or + * transfer everything except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). # + * - O(1). Just like transfer, but reading the user's transferable balance first. + * # + **/ + transferAll: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, bool] + >; + /** + * Same as the [`transfer`] call, but with a check that the transfer will not kill the + * origin account. + * + * 99% of the time you want [`transfer`] instead. + * + * [`transfer`]: struct.Pallet.html#method.transfer + **/ + transferKeepAlive: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + value: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Compact] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + bondedFinance: { + /** + * Bond to an offer. + * + * The issuer should provide the number of contracts they are willing to buy. + * Once there are no more contracts available on the offer, the `stake` put by the + * offer creator is refunded. + * + * The dispatch origin for this call must be _Signed_ and the sender must have the + * appropriate funds to buy the desired number of contracts. + * + * Allows the issuer to ask for their account to be kept alive using the `keep_alive` + * parameter. + * + * Emits a `NewBond`. + * Possibly Emits a `OfferCompleted`. + **/ + bond: AugmentedSubmittable< + ( + offerId: u128 | AnyNumber | Uint8Array, + nbOfBonds: u128 | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, bool] + >; + /** + * Cancel a running offer. + * + * Blocking further bonds but not cancelling the currently vested rewards. The `stake` put + * by the offer creator is refunded. + * + * The dispatch origin for this call must be _Signed_ and the sender must be `AdminOrigin` + * + * Emits a `OfferCancelled`. + **/ + cancel: AugmentedSubmittable<(offerId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + /** + * Create a new bond offer. To be `bond` to later. + * + * The dispatch origin for this call must be _Signed_ and the sender must have the + * appropriate funds to stake the offer. + * + * Allows the issuer to ask for their account to be kept alive using the `keep_alive` + * parameter. + * + * Emits a `NewOffer`. + **/ + offer: AugmentedSubmittable< + ( + offer: + | ComposableTraitsBondedFinanceBondOffer + | { + beneficiary?: any; + asset?: any; + bondPrice?: any; + nbOfBonds?: any; + maturity?: any; + reward?: any; + } + | string + | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsBondedFinanceBondOffer, bool] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + callFilter: { + /** + * Disable a pallet function. + * + * The dispatch origin for this call must be _Signed_ and the sender must be + * `UpdateOrigin`. + * + * Possibly emits a `Disabled` event. + **/ + disable: AugmentedSubmittable< + ( + entry: + | ComposableTraitsCallFilterCallFilterEntry + | { palletName?: any; functionName?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsCallFilterCallFilterEntry] + >; + /** + * Enable a previously disabled pallet function. + * + * The dispatch origin for this call must be _Signed_ and the sender must be + * `UpdateOrigin`. + * + * Possibly emits an `Enabled` event. + **/ + enable: AugmentedSubmittable< + ( + entry: + | ComposableTraitsCallFilterCallFilterEntry + | { palletName?: any; functionName?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsCallFilterCallFilterEntry] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + collatorSelection: { + /** + * Deregister `origin` as a collator candidate. Note that the collator can only leave on + * session change. The `CandidacyBond` will be unreserved immediately. + * + * This call will fail if the total number of candidates would drop below `MinCandidates`. + * + * This call is not available to `Invulnerable` collators. + **/ + leaveIntent: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Register this account as a collator candidate. The account must (a) already have + * registered session keys and (b) be able to reserve the `CandidacyBond`. + * + * This call is not available to `Invulnerable` collators. + **/ + registerAsCandidate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Set the candidacy bond amount. + **/ + setCandidacyBond: AugmentedSubmittable< + (bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u128] + >; + /** + * Set the ideal number of collators (not including the invulnerables). + * If lowering this number, then the number of running collators could be higher than this figure. + * Aside from that edge case, there should be no other way to have more collators than the desired number. + **/ + setDesiredCandidates: AugmentedSubmittable< + (max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Set the list of invulnerable (fixed) collators. + **/ + setInvulnerables: AugmentedSubmittable< + (updated: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + cosmwasm: { + /** + * Clear the admin of a contract. + * + * * Emits a `AdminCleared` event on success. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `contract` the address of the contract that we want to migrate. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + clearAdmin: AugmentedSubmittable< + ( + contract: AccountId32 | string | Uint8Array, + gas: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, u64] + >; + /** + * Execute a previously instantiated contract. + * + * * Emits an `Executed` event. + * * Possibly emit `Emitted` events. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `code_id` the unique code id generated when the code has been uploaded via [`upload`]. + * * `salt` the salt, usually used to instantiate the same contract multiple times. + * * `funds` the assets transferred to the contract prior to calling it's `instantiate` + * export. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + execute: AugmentedSubmittable< + ( + contract: AccountId32 | string | Uint8Array, + funds: BTreeMap>, + gas: u64 | AnyNumber | Uint8Array, + message: Bytes | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, BTreeMap>, u64, Bytes] + >; + /** + * Instantiate a previously uploaded code resulting in a new contract being generated. + * + * * Emits an `Instantiated` event on success. + * * Emits an `Executed` event. + * * Possibly emit `Emitted` events. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `code_id` the unique code id generated when the code has been uploaded via [`upload`]. + * * `salt` the salt, usually used to instantiate the same contract multiple times. + * * `funds` the assets transferred to the contract prior to calling it's `instantiate` + * export. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + instantiate: AugmentedSubmittable< + ( + codeIdentifier: PalletCosmwasmCodeIdentifier | { CodeId: any } | { CodeHash: any } | string | Uint8Array, + salt: Bytes | string | Uint8Array, + admin: Option | null | Uint8Array | AccountId32 | string, + label: Bytes | string | Uint8Array, + funds: BTreeMap>, + gas: u64 | AnyNumber | Uint8Array, + message: Bytes | string | Uint8Array + ) => SubmittableExtrinsic, + [ + PalletCosmwasmCodeIdentifier, + Bytes, + Option, + Bytes, + BTreeMap>, + u64, + Bytes + ] + >; + /** + * Migrate a previously instantiated contract. + * + * * Emits a `Migrated` event on success. + * * Emits an `Executed` event. + * * Possibly emit `Emitted` events. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `contract` the address of the contract that we want to migrate + * * `new_code_identifier` the code identifier that we want to switch to. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + * * `message` MigrateMsg, that will be passed to the contract. + **/ + migrate: AugmentedSubmittable< + ( + contract: AccountId32 | string | Uint8Array, + newCodeIdentifier: PalletCosmwasmCodeIdentifier | { CodeId: any } | { CodeHash: any } | string | Uint8Array, + gas: u64 | AnyNumber | Uint8Array, + message: Bytes | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, PalletCosmwasmCodeIdentifier, u64, Bytes] + >; + /** + * Update the admin of a contract. + * + * * Emits a `AdminUpdated` event on success. + * + * Arguments + * + * * `origin` the origin dispatching the extrinsic. + * * `contract` the address of the contract that we want to migrate. + * * `new_admin` new admin of the contract that we want to update to. + * * `gas` the maximum gas to use, the remaining is refunded at the end of the transaction. + **/ + updateAdmin: AugmentedSubmittable< + ( + contract: AccountId32 | string | Uint8Array, + newAdmin: AccountId32 | string | Uint8Array, + gas: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, AccountId32, u64] + >; + /** + * Upload a CosmWasm contract. + * The function will ensure that the wasm module is well formed and that it fits the + * according limits. The module exports are going to be checked against the expected + * CosmWasm export signatures. + * + * * Emits an `Uploaded` event on success. + * + * Arguments + * + * - `origin` the original dispatching the extrinsic. + * - `code` the actual wasm code. + **/ + upload: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + council: { + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * # + * ## Weight + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + * - DB: + * - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`) + * - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec + * `O(P2)`) + * - any mutations done while executing `proposal` (`P1`) + * - up to 3 events + * # + **/ + close: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + index: Compact | AnyNumber | Uint8Array, + proposalWeightBound: Compact | AnyNumber | Uint8Array, + lengthBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [H256, Compact, Compact, Compact] + >; + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * # + * Complexity: O(P) where P is the number of max proposals + * DB Weight: + * * Reads: Proposals + * * Writes: Voting, Proposals, ProposalOf + * # + **/ + disapproveProposal: AugmentedSubmittable< + (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * # + * ## Weight + * - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching + * `proposal` + * - DB: 1 read (codec `O(M)`) + DB access of `proposal` + * - 1 event + * # + **/ + execute: AugmentedSubmittable< + ( + proposal: Call | IMethod | string | Uint8Array, + lengthBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Call, Compact] + >; + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * # + * ## Weight + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + * - DB: + * - 1 storage read `is_member` (codec `O(M)`) + * - 1 storage read `ProposalOf::contains_key` (codec `O(1)`) + * - DB accesses influenced by `threshold`: + * - EITHER storage accesses done by `proposal` (`threshold < 2`) + * - OR proposal insertion (`threshold <= 2`) + * - 1 storage mutation `Proposals` (codec `O(P2)`) + * - 1 storage mutation `ProposalCount` (codec `O(1)`) + * - 1 storage write `ProposalOf` (codec `O(B)`) + * - 1 storage write `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + propose: AugmentedSubmittable< + ( + threshold: Compact | AnyNumber | Uint8Array, + proposal: Call | IMethod | string | Uint8Array, + lengthBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Compact, Call, Compact] + >; + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * Requires root origin. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * # + * ## Weight + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + * - DB: + * - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the + * members + * - 1 storage read (codec `O(P)`) for reading the proposals + * - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal + * - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one + * # + **/ + setMembers: AugmentedSubmittable< + ( + newMembers: Vec | (AccountId32 | string | Uint8Array)[], + prime: Option | null | Uint8Array | AccountId32 | string, + oldCount: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Vec, Option, u32] + >; + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * # + * ## Weight + * - `O(M)` where `M` is members-count (code- and governance-bounded) + * - DB: + * - 1 storage read `Members` (codec `O(M)`) + * - 1 storage mutation `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + vote: AugmentedSubmittable< + ( + proposal: H256 | string | Uint8Array, + index: Compact | AnyNumber | Uint8Array, + approve: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [H256, Compact, bool] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + councilMembership: { + /** + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. + **/ + addMember: AugmentedSubmittable< + (who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. + **/ + changeKey: AugmentedSubmittable< + (updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. + **/ + clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. + **/ + removeMember: AugmentedSubmittable< + (who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. + **/ + resetMembers: AugmentedSubmittable< + (members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. + **/ + setPrime: AugmentedSubmittable< + (who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. + **/ + swapMember: AugmentedSubmittable< + ( + remove: AccountId32 | string | Uint8Array, + add: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, AccountId32] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + crowdloanRewards: { + /** + * Associate a reward account. A valid proof has to be provided. + * This call also claim the first reward (a.k.a. the first payment, which is a % of the + * vested reward). + * If logic gate pass, no fees are applied. + * + * The proof should be: + * ```haskell + * proof = sign (concat prefix (hex reward_account)) + * ``` + **/ + associate: AugmentedSubmittable< + ( + rewardAccount: AccountId32 | string | Uint8Array, + proof: PalletCrowdloanRewardsModelsProof | { RelayChain: any } | { Ethereum: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, PalletCrowdloanRewardsModelsProof] + >; + /** + * Claim a reward from the associated reward account. + * A previous call to `associate` should have been made. + * If logic gate pass, no fees are applied. + **/ + claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Initialize the pallet at the current timestamp. + **/ + initialize: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Initialize the pallet at the given timestamp. + **/ + initializeAt: AugmentedSubmittable<(at: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Populate pallet by adding more rewards. + * + * Each index in the rewards vector should contain: `remote_account`, `reward_account`, + * `vesting_period`. + * + * Can be called multiple times. If an remote account + * already has a reward, it will be replaced by the new reward value. + * + * Can only be called before `initialize`. + **/ + populate: AugmentedSubmittable< + ( + rewards: + | Vec> + | [ + ( + | PalletCrowdloanRewardsModelsRemoteAccount + | { RelayChain: any } + | { Ethereum: any } + | string + | Uint8Array + ), + u128 | AnyNumber | Uint8Array, + u64 | AnyNumber | Uint8Array + ][] + ) => SubmittableExtrinsic, + [Vec>] + >; + unlockRewardsFor: AugmentedSubmittable< + (rewardAccounts: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + cumulusXcm: { + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + currencyFactory: { + addRange: AugmentedSubmittable<(length: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Sets metadata + **/ + setMetadata: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + metadata: ComposableTraitsAssetsBasicAssetMetadata | { symbol?: any; name?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, ComposableTraitsAssetsBasicAssetMetadata] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + democracy: { + /** + * Permanently place a proposal into the blacklist. This prevents it from ever being + * proposed again. + * + * If called on a queued public or external proposal, then this will result in it being + * removed. If the `ref_index` supplied is an active referendum with the proposal hash, + * then it will be cancelled. + * + * The dispatch origin of this call must be `BlacklistOrigin`. + * + * - `proposal_hash`: The proposal hash to blacklist permanently. + * - `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be + * cancelled. + * + * Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a + * reasonable value). + **/ + blacklist: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + maybeRefIndex: Option | null | Uint8Array | u32 | AnyNumber + ) => SubmittableExtrinsic, + [H256, Option] + >; + /** + * Remove a proposal. + * + * The dispatch origin of this call must be `CancelProposalOrigin`. + * + * - `prop_index`: The index of the proposal to cancel. + * + * Weight: `O(p)` where `p = PublicProps::::decode_len()` + **/ + cancelProposal: AugmentedSubmittable< + (propIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] + >; + /** + * Cancel a proposal queued for enactment. + * + * The dispatch origin of this call must be _Root_. + * + * - `which`: The index of the referendum to cancel. + * + * Weight: `O(D)` where `D` is the items in the dispatch queue. Weighted as `D = 10`. + **/ + cancelQueued: AugmentedSubmittable<(which: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Remove a referendum. + * + * The dispatch origin of this call must be _Root_. + * + * - `ref_index`: The index of the referendum to cancel. + * + * # Weight: `O(1)`. + **/ + cancelReferendum: AugmentedSubmittable< + (refIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] + >; + /** + * Clears all public proposals. + * + * The dispatch origin of this call must be _Root_. + * + * Weight: `O(1)`. + **/ + clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Delegate the voting power (with some given conviction) of the sending account. + * + * The balance delegated is locked for as long as it's delegated, and thereafter for the + * time appropriate for the conviction's lock period. + * + * The dispatch origin of this call must be _Signed_, and the signing account must either: + * - be delegating already; or + * - have no voting activity (if there is, then it will need to be removed/consolidated + * through `reap_vote` or `unvote`). + * + * - `to`: The account whose voting the `target` account's voting power will follow. + * - `conviction`: The conviction that will be attached to the delegated votes. When the + * account is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not + * be more than the account's current balance. + * + * Emits `Delegated`. + * + * Weight: `O(R)` where R is the number of referendums the voter delegating to has + * voted on. Weight is charged as if maximum votes. + **/ + delegate: AugmentedSubmittable< + ( + to: AccountId32 | string | Uint8Array, + conviction: + | PalletDemocracyConviction + | 'None' + | 'Locked1x' + | 'Locked2x' + | 'Locked3x' + | 'Locked4x' + | 'Locked5x' + | 'Locked6x' + | number + | Uint8Array, + balance: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, PalletDemocracyConviction, u128] + >; + /** + * Schedule an emergency cancellation of a referendum. Cannot happen twice to the same + * referendum. + * + * The dispatch origin of this call must be `CancellationOrigin`. + * + * -`ref_index`: The index of the referendum to cancel. + * + * Weight: `O(1)`. + **/ + emergencyCancel: AugmentedSubmittable< + (refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Enact a proposal from a referendum. For now we just make the weight be the maximum. + **/ + enactProposal: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + index: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [H256, u32] + >; + /** + * Schedule a referendum to be tabled once it is legal to schedule an external + * referendum. + * + * The dispatch origin of this call must be `ExternalOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Weight: `O(V)` with V number of vetoers in the blacklist of proposal. + * Decoding vec of length V. Charged as maximum + **/ + externalPropose: AugmentedSubmittable< + (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to + * schedule an external referendum. + * + * The dispatch of this call must be `ExternalDefaultOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Unlike `external_propose`, blacklisting has no effect on this and it may replace a + * pre-scheduled `external_propose` call. + * + * Weight: `O(1)` + **/ + externalProposeDefault: AugmentedSubmittable< + (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Schedule a majority-carries referendum to be tabled next once it is legal to schedule + * an external referendum. + * + * The dispatch of this call must be `ExternalMajorityOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Unlike `external_propose`, blacklisting has no effect on this and it may replace a + * pre-scheduled `external_propose` call. + * + * Weight: `O(1)` + **/ + externalProposeMajority: AugmentedSubmittable< + (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Schedule the currently externally-proposed majority-carries referendum to be tabled + * immediately. If there is no externally-proposed referendum currently, or if there is one + * but it is not a majority-carries referendum then it fails. + * + * The dispatch of this call must be `FastTrackOrigin`. + * + * - `proposal_hash`: The hash of the current external proposal. + * - `voting_period`: The period that is allowed for voting on this proposal. + * Must be always greater than zero. + * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`. + * - `delay`: The number of block after voting has ended in approval and this should be + * enacted. This doesn't have a minimum amount. + * + * Emits `Started`. + * + * Weight: `O(1)` + **/ + fastTrack: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + votingPeriod: u32 | AnyNumber | Uint8Array, + delay: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [H256, u32, u32] + >; + /** + * Register the preimage for an upcoming proposal. This requires the proposal to be + * in the dispatch queue. No deposit is needed. When this call is successful, i.e. + * the preimage has not been uploaded before and matches some imminent proposal, + * no fee is paid. + * + * The dispatch origin of this call must be _Signed_. + * + * - `encoded_proposal`: The preimage of a proposal. + * + * Emits `PreimageNoted`. + * + * Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit). + **/ + noteImminentPreimage: AugmentedSubmittable< + (encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Same as `note_imminent_preimage` but origin is `OperationalPreimageOrigin`. + **/ + noteImminentPreimageOperational: AugmentedSubmittable< + (encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Register the preimage for an upcoming proposal. This doesn't require the proposal to be + * in the dispatch queue but does require a deposit, returned once enacted. + * + * The dispatch origin of this call must be _Signed_. + * + * - `encoded_proposal`: The preimage of a proposal. + * + * Emits `PreimageNoted`. + * + * Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit). + **/ + notePreimage: AugmentedSubmittable< + (encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Same as `note_preimage` but origin is `OperationalPreimageOrigin`. + **/ + notePreimageOperational: AugmentedSubmittable< + (encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Propose a sensitive action to be taken. + * + * The dispatch origin of this call must be _Signed_ and the sender must + * have funds to cover the deposit. + * + * - `proposal_hash`: The hash of the proposal preimage. + * - `value`: The amount of deposit (must be at least `MinimumDeposit`). + * + * Emits `Proposed`. + * + * Weight: `O(p)` + **/ + propose: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + value: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [H256, Compact] + >; + /** + * Remove an expired proposal preimage and collect the deposit. + * + * The dispatch origin of this call must be _Signed_. + * + * - `proposal_hash`: The preimage hash of a proposal. + * - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is + * weighted according to this value with no refund. + * + * This will only work after `VotingPeriod` blocks from the time that the preimage was + * noted, if it's the same account doing it. If it's a different account, then it'll only + * work an additional `EnactmentPeriod` later. + * + * Emits `PreimageReaped`. + * + * Weight: `O(D)` where D is length of proposal. + **/ + reapPreimage: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + proposalLenUpperBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [H256, Compact] + >; + /** + * Remove a vote for a referendum. + * + * If the `target` is equal to the signer, then this function is exactly equivalent to + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the referendum was cancelled, because the voter lost the referendum or + * because the conviction period is over. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account of the vote to be removed; this account must have voted for + * referendum `index`. + * - `index`: The index of referendum of the vote to be removed. + * + * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ + removeOtherVote: AugmentedSubmittable< + ( + target: AccountId32 | string | Uint8Array, + index: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, u32] + >; + /** + * Remove a vote for a referendum. + * + * If: + * - the referendum was cancelled, or + * - the referendum is ongoing, or + * - the referendum has ended such that + * - the vote of the account was in opposition to the result; or + * - there was no conviction to the account's vote; or + * - the account made a split vote + * ...then the vote is removed cleanly and a following call to `unlock` may result in more + * funds being available. + * + * If, however, the referendum has ended and: + * - it finished corresponding to the vote of the account, and + * - the account made a standard vote with conviction, and + * - the lock period of the conviction is not over + * ...then the lock will be aggregated into the overall account's lock, which may involve + * *overlocking* (where the two locks are combined into a single lock that is the maximum + * of both the amount locked and the time is it locked for). + * + * The dispatch origin of this call must be _Signed_, and the signer must have a vote + * registered for referendum `index`. + * + * - `index`: The index of referendum of the vote to be removed. + * + * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ + removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Signals agreement with a particular proposal. + * + * The dispatch origin of this call must be _Signed_ and the sender + * must have funds to cover the deposit, equal to the original deposit. + * + * - `proposal`: The index of the proposal to second. + * - `seconds_upper_bound`: an upper bound on the current number of seconds on this + * proposal. Extrinsic is weighted according to this value with no refund. + * + * Weight: `O(S)` where S is the number of seconds a proposal already has. + **/ + second: AugmentedSubmittable< + ( + proposal: Compact | AnyNumber | Uint8Array, + secondsUpperBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Compact, Compact] + >; + /** + * Undelegate the voting power of the sending account. + * + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued. + * + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. + * + * Emits `Undelegated`. + * + * Weight: `O(R)` where R is the number of referendums the voter delegating to has + * voted on. Weight is charged as if maximum votes. + **/ + undelegate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Unlock tokens that have an expired lock. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account to remove the lock on. + * + * Weight: `O(R)` with R number of vote of target. + **/ + unlock: AugmentedSubmittable< + (target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Veto and blacklist the external proposal hash. + * + * The dispatch origin of this call must be `VetoOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal to veto and blacklist. + * + * Emits `Vetoed`. + * + * Weight: `O(V + log(V))` where V is number of `existing vetoers` + **/ + vetoExternal: AugmentedSubmittable< + (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; + * otherwise it is a vote to keep the status quo. + * + * The dispatch origin of this call must be _Signed_. + * + * - `ref_index`: The index of the referendum to vote for. + * - `vote`: The vote configuration. + * + * Weight: `O(R)` where R is the number of referendums the voter has voted on. + **/ + vote: AugmentedSubmittable< + ( + refIndex: Compact | AnyNumber | Uint8Array, + vote: PalletDemocracyVoteAccountVote | { Standard: any } | { Split: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [Compact, PalletDemocracyVoteAccountVote] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + dexRouter: { + /** + * Add liquidity to the underlying pablo pool. + * Works only for single pool route. + **/ + addLiquidity: AugmentedSubmittable< + ( + assets: BTreeMap, + minMintAmount: u128 | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [BTreeMap, u128, bool] + >; + /** + * Buy `amount` of quote asset for `asset_pair` via route found in router. + * On successful underlying DEX pallets will emit appropriate event. + **/ + buy: AugmentedSubmittable< + ( + inAssetId: u128 | AnyNumber | Uint8Array, + outAsset: ComposableTraitsDexAssetAmount | { assetId?: any; amount?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, ComposableTraitsDexAssetAmount] + >; + /** + * Remove liquidity from the underlying pablo pool. + * Works only for single pool route. + **/ + removeLiquidity: AugmentedSubmittable< + (lpAmount: u128 | AnyNumber | Uint8Array, minReceive: BTreeMap) => SubmittableExtrinsic, + [u128, BTreeMap] + >; + /** + * Exchange `amount` of quote asset for `asset_pair` via route found in router. + * On successful underlying DEX pallets will emit appropriate event + **/ + swap: AugmentedSubmittable< + ( + inAsset: ComposableTraitsDexAssetAmount | { assetId?: any; amount?: any } | string | Uint8Array, + minReceive: ComposableTraitsDexAssetAmount | { assetId?: any; amount?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsDexAssetAmount, ComposableTraitsDexAssetAmount] + >; + /** + * Create, update or remove route. + * On successful emits one of `RouteAdded`, `RouteUpdated` or `RouteDeleted`. + **/ + updateRoute: AugmentedSubmittable< + ( + assetPair: ComposableTraitsDefiCurrencyPairCurrencyId | { base?: any; quote?: any } | string | Uint8Array, + route: Option> | null | Uint8Array | Vec | (u128 | AnyNumber | Uint8Array)[] + ) => SubmittableExtrinsic, + [ComposableTraitsDefiCurrencyPairCurrencyId, Option>] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + dmpQueue: { + /** + * Service a single overweight message. + * + * - `origin`: Must pass `ExecuteOverweightOrigin`. + * - `index`: The index of the overweight message to service. + * - `weight_limit`: The amount of weight that message execution may take. + * + * Errors: + * - `Unknown`: Message of `index` is unknown. + * - `OverLimit`: Message execution may use greater than `weight_limit`. + * + * Events: + * - `OverweightServiced`: On success. + **/ + serviceOverweight: AugmentedSubmittable< + ( + index: u64 | AnyNumber | Uint8Array, + weightLimit: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u64, u64] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + farming: { + deposit: AugmentedSubmittable< + (poolCurrencyId: u128, amount: u128) => SubmittableExtrinsic, + [u128, u128] + >; + claim: AugmentedSubmittable< + (poolCurrencyId: u128, rewardCurrencyId: u128) => SubmittableExtrinsic, + [u128, u128] + >; + withdraw: AugmentedSubmittable< + (poolCurrencyId: u128, amount: u128) => SubmittableExtrinsic, + [u128, u128] + >; + updateRewardSchedule: AugmentedSubmittable< + (poolCurrencyId: u128, currencyId: u128, periodCount: u128, amount: u128) => SubmittableExtrinsic, + [u128, u128, u128, u128] + >; + }; + dutchAuction: { + /** + * Inserts or replaces auction configuration. + * Already running auctions are not updated. + **/ + addConfiguration: AugmentedSubmittable< + ( + configurationId: u128 | AnyNumber | Uint8Array, + configuration: + | ComposableTraitsTimeTimeReleaseFunction + | { LinearDecrease: any } + | { StairstepExponentialDecrease: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [u128, ComposableTraitsTimeTimeReleaseFunction] + >; + /** + * sell `order` in auction with `configuration` + * some deposit is taken for storing sell order + **/ + ask: AugmentedSubmittable< + ( + order: ComposableTraitsDefiSellCurrencyId | { pair?: any; take?: any } | string | Uint8Array, + configuration: + | ComposableTraitsTimeTimeReleaseFunction + | { LinearDecrease: any } + | { StairstepExponentialDecrease: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsDefiSellCurrencyId, ComposableTraitsTimeTimeReleaseFunction] + >; + /** + * allows to remove `order_id` from storage + **/ + liquidate: AugmentedSubmittable< + (orderId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u128] + >; + /** + * adds take to list, does not execute take immediately + **/ + take: AugmentedSubmittable< + ( + orderId: u128 | AnyNumber | Uint8Array, + take: ComposableTraitsDefiTake | { amount?: any; limit?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, ComposableTraitsDefiTake] + >; + xcmSell: AugmentedSubmittable< + ( + request: + | ComposableTraitsXcmXcmSellRequest + | { orderId?: any; fromTo?: any; order?: any; configuration?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsXcmXcmSellRequest] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + governanceRegistry: { + /** + * Sets the value of an `asset_id` to root. Only callable by root. + **/ + grantRoot: AugmentedSubmittable< + (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u128] + >; + /** + * Removes mapping of an `asset_id`. Only callable by root. + **/ + remove: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + /** + * Sets the value of an `asset_id` to the signed account id. Only callable by root. + **/ + set: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + value: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, AccountId32] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + ibc: { + deliver: AugmentedSubmittable< + ( + messages: Vec | (PalletIbcAny | { typeUrl?: any; value?: any } | string | Uint8Array)[] + ) => SubmittableExtrinsic, + [Vec] + >; + /** + * Freeze a client at a specific height + **/ + freezeClient: AugmentedSubmittable< + (clientId: Bytes | string | Uint8Array, height: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Bytes, u64] + >; + setParams: AugmentedSubmittable< + ( + params: PalletIbcPalletParams | { sendEnabled?: any; receiveEnabled?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [PalletIbcPalletParams] + >; + transfer: AugmentedSubmittable< + ( + params: PalletIbcTransferParams | { to?: any; sourceChannel?: any; timeout?: any } | string | Uint8Array, + assetId: u128 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + memo?: Text + ) => SubmittableExtrinsic, + [PalletIbcTransferParams, u128, u128, Option] + >; + /** + * We write the consensus & client state under these predefined paths so that + * we can produce state proofs of the values to connected chains + * in order to execute client upgrades. + **/ + upgradeClient: AugmentedSubmittable< + ( + params: PalletIbcUpgradeParams | { clientState?: any; consensusState?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [PalletIbcUpgradeParams] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + ibcPing: { + sendPing: AugmentedSubmittable< + ( + params: + | PalletIbcPingSendPingParams + | { data?: any; timeoutHeightOffset?: any; timeoutTimestampOffset?: any; channelId?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PalletIbcPingSendPingParams] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + identity: { + /** + * Add a registrar to the system. + * + * The dispatch origin for this call must be `T::RegistrarOrigin`. + * + * - `account`: the account of the registrar. + * + * Emits `RegistrarAdded` if successful. + * + * # + * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded). + * - One storage mutation (codec `O(R)`). + * - One event. + * # + **/ + addRegistrar: AugmentedSubmittable< + (account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Add the given account to the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + **/ + addSub: AugmentedSubmittable< + ( + sub: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + data: + | Data + | { None: any } + | { Raw: any } + | { BlakeTwo256: any } + | { Sha256: any } + | { Keccak256: any } + | { ShaThree256: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Data] + >; + /** + * Cancel a previous request. + * + * Payment: A previously reserved deposit is returned on success. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is no longer requested. + * + * Emits `JudgementUnrequested` if successful. + * + * # + * - `O(R + X)`. + * - One balance-reserve operation. + * - One storage mutation `O(R + X)`. + * - One event + * # + **/ + cancelRequest: AugmentedSubmittable< + (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Clear an account's identity info and all sub-accounts and return all deposits. + * + * Payment: All reserved balances on the account are returned. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. + * + * Emits `IdentityCleared` if successful. + * + * # + * - `O(R + S + X)` + * - where `R` registrar-count (governance-bounded). + * - where `S` subs-count (hard- and deposit-bounded). + * - where `X` additional-field-count (deposit-bounded and code-bounded). + * - One balance-unreserve operation. + * - `2` storage reads and `S + 2` storage deletions. + * - One event. + * # + **/ + clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove an account's identity and sub-account information and slash the deposits. + * + * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by + * `Slash`. Verification request deposits are not returned; they should be cancelled + * manually using `cancel_request`. + * + * The dispatch origin for this call must match `T::ForceOrigin`. + * + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. + * + * Emits `IdentityKilled` if successful. + * + * # + * - `O(R + S + X)`. + * - One balance-reserve operation. + * - `S + 2` storage mutations. + * - One event. + * # + **/ + killIdentity: AugmentedSubmittable< + ( + target: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; + /** + * Provide a judgement for an account's identity. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `reg_index`. + * + * - `reg_index`: the index of the registrar whose judgement is being made. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. + * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. + * + * Emits `JudgementGiven` if successful. + * + * # + * - `O(R + X)`. + * - One balance-transfer operation. + * - Up to one account-lookup operation. + * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`. + * - One event. + * # + **/ + provideJudgement: AugmentedSubmittable< + ( + regIndex: Compact | AnyNumber | Uint8Array, + target: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + judgement: + | PalletIdentityJudgement + | { Unknown: any } + | { FeePaid: any } + | { Reasonable: any } + | { KnownGood: any } + | { OutOfDate: any } + | { LowQuality: any } + | { Erroneous: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [Compact, MultiAddress, PalletIdentityJudgement] + >; + /** + * Remove the sender as a sub-account. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender (*not* the original depositor). + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * super-identity. + * + * NOTE: This should not normally be used, but is provided in the case that the non- + * controller of an account is maliciously registered as a sub-account. + **/ + quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove the given account from the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + **/ + removeSub: AugmentedSubmittable< + ( + sub: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; + /** + * Alter the associated name of the given sub-account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + **/ + renameSub: AugmentedSubmittable< + ( + sub: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + data: + | Data + | { None: any } + | { Raw: any } + | { BlakeTwo256: any } + | { Sha256: any } + | { Keccak256: any } + | { ShaThree256: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Data] + >; + /** + * Request a judgement from a registrar. + * + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement + * given. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is requested. + * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: + * + * ```nocompile + * Self::registrars().get(reg_index).unwrap().fee + * ``` + * + * Emits `JudgementRequested` if successful. + * + * # + * - `O(R + X)`. + * - One balance-reserve operation. + * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`. + * - One event. + * # + **/ + requestJudgement: AugmentedSubmittable< + ( + regIndex: Compact | AnyNumber | Uint8Array, + maxFee: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Compact, Compact] + >; + /** + * Change the account associated with a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `new`: the new account ID. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis) + * # + **/ + setAccountId: AugmentedSubmittable< + ( + index: Compact | AnyNumber | Uint8Array, + updated: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [Compact, AccountId32] + >; + /** + * Set the fee required for a judgement to be requested from a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fee`: the new fee. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis) + * # + **/ + setFee: AugmentedSubmittable< + ( + index: Compact | AnyNumber | Uint8Array, + fee: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Compact, Compact] + >; + /** + * Set the field information for a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fields`: the fields that the registrar concerns themselves with. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis) + * # + **/ + setFields: AugmentedSubmittable< + (index: Compact | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic, + [Compact, PalletIdentityBitFlags] + >; + /** + * Set an account's identity information and reserve the appropriate deposit. + * + * If the account already has identity information, the deposit is taken as part payment + * for the new deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * - `info`: The identity information. + * + * Emits `IdentitySet` if successful. + * + * # + * - `O(X + X' + R)` + * - where `X` additional-field-count (deposit-bounded and code-bounded) + * - where `R` judgements-count (registrar-count-bounded) + * - One balance reserve operation. + * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`). + * - One event. + * # + **/ + setIdentity: AugmentedSubmittable< + ( + info: + | PalletIdentityIdentityInfo + | { + additional?: any; + display?: any; + legal?: any; + web?: any; + riot?: any; + email?: any; + pgpFingerprint?: any; + image?: any; + twitter?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PalletIdentityIdentityInfo] + >; + /** + * Set the sub-accounts of the sender. + * + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned + * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. + * + * - `subs`: The identity's (new) sub-accounts. + * + * # + * - `O(P + S)` + * - where `P` old-subs-count (hard- and deposit-bounded). + * - where `S` subs-count (hard- and deposit-bounded). + * - At most one balance operations. + * - DB: + * - `P + S` storage mutations (codec complexity `O(1)`) + * - One storage read (codec complexity `O(P)`). + * - One storage write (codec complexity `O(S)`). + * - One storage-exists (`IdentityOf::contains_key`). + * # + **/ + setSubs: AugmentedSubmittable< + ( + subs: + | Vec> + | [ + AccountId32 | string | Uint8Array, + ( + | Data + | { None: any } + | { Raw: any } + | { BlakeTwo256: any } + | { Sha256: any } + | { Keccak256: any } + | { ShaThree256: any } + | string + | Uint8Array + ) + ][] + ) => SubmittableExtrinsic, + [Vec>] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + indices: { + /** + * Assign an previously unassigned index. + * + * Payment: `Deposit` is reserved from the sender account. + * + * The dispatch origin for this call must be _Signed_. + * + * - `index`: the index to be claimed. This must not be in use. + * + * Emits `IndexAssigned` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - One reserve operation. + * - One event. + * ------------------- + * - DB Weight: 1 Read/Write (Accounts) + * # + **/ + claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Force an index to an account. This doesn't require a deposit. If the index is already + * held, then any deposit is reimbursed to its current owner. + * + * The dispatch origin for this call must be _Root_. + * + * - `index`: the index to be (re-)assigned. + * - `new`: the new owner of the index. This function is a no-op if it is equal to sender. + * - `freeze`: if set to `true`, will freeze the index so it cannot be transferred. + * + * Emits `IndexAssigned` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - Up to one reserve operation. + * - One event. + * ------------------- + * - DB Weight: + * - Reads: Indices Accounts, System Account (original owner) + * - Writes: Indices Accounts, System Account (original owner) + * # + **/ + forceTransfer: AugmentedSubmittable< + ( + updated: AccountId32 | string | Uint8Array, + index: u32 | AnyNumber | Uint8Array, + freeze: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, u32, bool] + >; + /** + * Free up an index owned by the sender. + * + * Payment: Any previous deposit placed for the index is unreserved in the sender account. + * + * The dispatch origin for this call must be _Signed_ and the sender must own the index. + * + * - `index`: the index to be freed. This must be owned by the sender. + * + * Emits `IndexFreed` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - One reserve operation. + * - One event. + * ------------------- + * - DB Weight: 1 Read/Write (Accounts) + * # + **/ + free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Freeze an index so it will always point to the sender account. This consumes the + * deposit. + * + * The dispatch origin for this call must be _Signed_ and the signing account must have a + * non-frozen account `index`. + * + * - `index`: the index to be frozen in place. + * + * Emits `IndexFrozen` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - Up to one slash operation. + * - One event. + * ------------------- + * - DB Weight: 1 Read/Write (Accounts) + * # + **/ + freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Assign an index already owned by the sender to another account. The balance reservation + * is effectively transferred to the new account. + * + * The dispatch origin for this call must be _Signed_. + * + * - `index`: the index to be re-assigned. This must be owned by the sender. + * - `new`: the new owner of the index. This function is a no-op if it is equal to sender. + * + * Emits `IndexAssigned` if successful. + * + * # + * - `O(1)`. + * - One storage mutation (codec `O(1)`). + * - One transfer operation. + * - One event. + * ------------------- + * - DB Weight: + * - Reads: Indices Accounts, System Account (recipient) + * - Writes: Indices Accounts, System Account (recipient) + * # + **/ + transfer: AugmentedSubmittable< + ( + updated: AccountId32 | string | Uint8Array, + index: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, u32] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + lending: { + /** + * Borrow asset against deposited collateral. + * - `origin` : Sender of this extrinsic. (Also the user who wants to borrow from market.) + * - `market_id` : Market index from which user wants to borrow. + * - `amount_to_borrow` : Amount which user wants to borrow. + **/ + borrow: AugmentedSubmittable< + ( + marketId: u32 | AnyNumber | Uint8Array, + amountToBorrow: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u32, u128] + >; + /** + * Create a new lending market. + * - `origin` : Sender of this extrinsic. Manager for new market to be created. Can pause + * borrow operations. + * - `input` : Borrow & deposits of assets, percentages. + * + * `origin` irreversibly pays `T::OracleMarketCreationStake`. + **/ + createMarket: AugmentedSubmittable< + ( + input: + | ComposableTraitsLendingCreateInput + | { + updatable?: any; + currencyPair?: any; + reservedFactor?: any; + interestRateModel?: any; + } + | string + | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsLendingCreateInput, bool] + >; + /** + * Deposit collateral to market. + * - `origin` : Sender of this extrinsic. + * - `market` : Market index to which collateral will be deposited. + * - `amount` : Amount of collateral to be deposited. + **/ + depositCollateral: AugmentedSubmittable< + ( + marketId: u32 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u32, u128, bool] + >; + /** + * Check if borrows for the `borrowers` accounts are required to be liquidated, initiate + * liquidation. + * - `origin` : Sender of this extrinsic. + * - `market_id` : Market index from which `borrower` has taken borrow. + * - `borrowers` : Vector of borrowers accounts' ids. + **/ + liquidate: AugmentedSubmittable< + ( + marketId: u32 | AnyNumber | Uint8Array, + borrowers: Vec | (AccountId32 | string | Uint8Array)[] + ) => SubmittableExtrinsic, + [u32, Vec] + >; + /** + * Repay part or all of the borrow in the given market. + * + * # Parameters + * + * - `origin` : Sender of this extrinsic. (Also the user who repays beneficiary's borrow.) + * - `market_id` : [`MarketId`] of the market being repaid. + * - `beneficiary` : [`AccountId`] of the account who is in debt to (has borrowed assets + * from) the market. This can be same or different from the `origin`, allowing one + * account to pay off another's debts. + * - `amount`: The amount to repay. See [`RepayStrategy`] for more information. + **/ + repayBorrow: AugmentedSubmittable< + ( + marketId: u32 | AnyNumber | Uint8Array, + beneficiary: AccountId32 | string | Uint8Array, + amount: + | ComposableTraitsLendingRepayStrategy + | { TotalDebt: any } + | { PartialAmount: any } + | string + | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u32, AccountId32, ComposableTraitsLendingRepayStrategy, bool] + >; + /** + * owner must be very careful calling this + **/ + updateMarket: AugmentedSubmittable< + ( + marketId: u32 | AnyNumber | Uint8Array, + input: + | ComposableTraitsLendingUpdateInput + | { + collateralFactor?: any; + underCollateralizedWarnPercent?: any; + liquidators?: any; + maxPriceAge?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [u32, ComposableTraitsLendingUpdateInput] + >; + /** + * Withdraw collateral from market. + * - `origin` : Sender of this extrinsic. + * - `market_id` : Market index from which collateral will be withdraw. + * - `amount` : Amount of collateral to be withdrawn. + **/ + withdrawCollateral: AugmentedSubmittable< + ( + marketId: u32 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u32, u128] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + liquidations: { + addLiquidationStrategy: AugmentedSubmittable< + ( + configuration: + | PalletLiquidationsLiquidationStrategyConfiguration + | { DutchAuction: any } + | { Pablo: any } + | { Xcm: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PalletLiquidationsLiquidationStrategyConfiguration] + >; + sell: AugmentedSubmittable< + ( + order: ComposableTraitsDefiSellCurrencyId | { pair?: any; take?: any } | string | Uint8Array, + configuration: Vec | (u32 | AnyNumber | Uint8Array)[] + ) => SubmittableExtrinsic, + [ComposableTraitsDefiSellCurrencyId, Vec] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + palletLiquidStaking: { + stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + unstake: AugmentedSubmittable< + ( + liquidAmount: u128 | AnyNumber | Uint8Array, + unstakeProvider: + | Codec + | PalletLiquidStakingUnstakeProvider + | 'RelayChain' + | 'Loans' + | 'MatchingPool' + | Uint8Array + ) => SubmittableExtrinsic, + [u128, PalletLiquidStakingUnstakeProvider] + >; + }; + mosaic: { + /** + * This is called by the Relayer to confirm that it will relay a transaction. + * + * Once this is called, the sender will be unable to reclaim their tokens. + * + * If all the funds are not removed, the reclaim period will not be reset. If the + * reclaim period is not reset, the Relayer will still attempt to pick up the + * remainder of the transaction. + * + * # Restrictions + * - Only callable by the current Relayer + * - Outgoing transaction must exist for the user + * - Amount must be equal or lower than what the user has locked + * + * # Note + * - Reclaim period is not reset if not all the funds are moved; meaning that the clock + * remains ticking for the relayer to pick up the rest of the transaction. + **/ + acceptTransfer: AugmentedSubmittable< + ( + from: AccountId32 | string | Uint8Array, + networkId: u32 | AnyNumber | Uint8Array, + remoteAssetId: CommonMosaicRemoteAssetId | { EthereumTokenAddress: any } | string | Uint8Array, + amount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, u32, CommonMosaicRemoteAssetId, u128] + >; + /** + * Adds a remote AMM for a specific Network + **/ + addRemoteAmmId: AugmentedSubmittable< + ( + networkId: u32 | AnyNumber | Uint8Array, + ammId: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u32, u128] + >; + /** + * Claims user funds from the `OutgoingTransactions`, in case that the Relayer has not + * picked them up. + **/ + claimStaleTo: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + to: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, AccountId32] + >; + /** + * Collects funds deposited by the Relayer into the owner's account + **/ + claimTo: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + to: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, AccountId32] + >; + /** + * Removes a remote AMM for a specific Network + **/ + removeRemoteAmmId: AugmentedSubmittable< + ( + networkId: u32 | AnyNumber | Uint8Array, + ammId: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u32, u128] + >; + /** + * Burns funds waiting in incoming_transactions that are still unclaimed. + * + * May be used by the Relayer in case of finality issues on the other side of the bridge. + **/ + rescindTimelockedMint: AugmentedSubmittable< + ( + networkId: u32 | AnyNumber | Uint8Array, + remoteAssetId: CommonMosaicRemoteAssetId | { EthereumTokenAddress: any } | string | Uint8Array, + account: AccountId32 | string | Uint8Array, + untrustedAmount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u32, CommonMosaicRemoteAssetId, AccountId32, u128] + >; + /** + * Rotates the Relayer Account + * + * # Restrictions + * - Only callable by the current Relayer. + * - The Time To Live (TTL) must be greater than the [`MinimumTTL`](Config::MinimumTTL) + **/ + rotateRelayer: AugmentedSubmittable< + ( + updated: AccountId32 | string | Uint8Array, + validatedTtl: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, u32] + >; + /** + * Sets the relayer budget for _incoming_ transactions for specific assets. Does not reset + * the current `penalty`. + * + * # Restrictions + * - This can only be called by the [`ControlOrigin`](Config::ControlOrigin) + **/ + setBudget: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + decay: PalletMosaicDecayBudgetPenaltyDecayer | { Linear: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, PalletMosaicDecayBudgetPenaltyDecayer] + >; + /** + * Sets supported networks and maximum transaction sizes accepted by the Relayer. + * + * Only callable by the current Relayer + **/ + setNetwork: AugmentedSubmittable< + ( + networkId: u32 | AnyNumber | Uint8Array, + networkInfo: + | PalletMosaicNetworkInfo + | { enabled?: any; minTransferSize?: any; maxTransferSize?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [u32, PalletMosaicNetworkInfo] + >; + /** + * Sets the current Relayer configuration. + * + * This is enacted immediately and invalidates inflight/ incoming transactions from the + * previous Relayer. However, existing budgets remain in place. + * + * This can only be called by the [`ControlOrigin`]. + * + * [`ControlOrigin`]: https://dali.devnets.composablefinance.ninja/doc/pallet_mosaic/pallet/trait.Config.html#associatedtype.ControlOrigin + **/ + setRelayer: AugmentedSubmittable< + (relayer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Sets the time lock, in blocks, on new transfers + * + * This can only be called by the [`ControlOrigin`](Config::ControlOrigin) + **/ + setTimelockDuration: AugmentedSubmittable< + (period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Mints new tokens into the pallet's wallet, ready for the user to be picked up after + * `lock_time` blocks have expired. + * + * Only callable by the current Relayer + **/ + timelockedMint: AugmentedSubmittable< + ( + networkId: u32 | AnyNumber | Uint8Array, + remoteAssetId: CommonMosaicRemoteAssetId | { EthereumTokenAddress: any } | string | Uint8Array, + to: AccountId32 | string | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + lockTime: u32 | AnyNumber | Uint8Array, + id: H256 | string | Uint8Array + ) => SubmittableExtrinsic, + [u32, CommonMosaicRemoteAssetId, AccountId32, u128, u32, H256] + >; + /** + * Creates an outgoing transaction request, locking the funds locally until picked up by + * the Relayer. + * + * # Restrictions + * - Network must be supported. + * - AssetId must be supported. + * - Amount must be lower than the networks `max_transfer_size`. + * - Origin must have sufficient funds. + * - Transfers near Balance::max may result in overflows, which are caught and returned as + * an error. + **/ + transferTo: AugmentedSubmittable< + ( + networkId: u32 | AnyNumber | Uint8Array, + assetId: u128 | AnyNumber | Uint8Array, + address: ComposableSupportEthereumAddress | string | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + minimumAmountOut: u128 | AnyNumber | Uint8Array, + swapToNative: bool | boolean | Uint8Array, + sourceUserAccount: AccountId32 | string | Uint8Array, + ammSwapInfo: + | Option + | null + | Uint8Array + | PalletMosaicAmmSwapInfo + | { + destinationTokenOutAddress?: any; + destinationAmm?: any; + minimumAmountOut?: any; + } + | string, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [ + u32, + u128, + ComposableSupportEthereumAddress, + u128, + u128, + bool, + AccountId32, + Option, + bool + ] + >; + /** + * Update a network asset mapping. + * + * This can only be called by the [`ControlOrigin`](Config::ControlOrigin) + * + * Possibly emits one of: + * - `AssetMappingCreated` + * - `AssetMappingDeleted` + * - `AssetMappingUpdated` + **/ + updateAssetMapping: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + networkId: u32 | AnyNumber | Uint8Array, + remoteAssetId: + | Option + | null + | Uint8Array + | CommonMosaicRemoteAssetId + | { EthereumTokenAddress: any } + | string + ) => SubmittableExtrinsic, + [u128, u32, Option] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + multisig: { + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call_hash`: The hash of the call to be executed. + * + * NOTE: If this is the final approval, you will want to use `as_multi` instead. + * + * # + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + * ---------------------------------- + * - DB Weight: + * - Read: Multisig Storage, [Caller Account] + * - Write: Multisig Storage, [Caller Account] + * # + **/ + approveAsMulti: AugmentedSubmittable< + ( + threshold: u16 | AnyNumber | Uint8Array, + otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], + maybeTimepoint: + | Option + | null + | Uint8Array + | PalletMultisigTimepoint + | { height?: any; index?: any } + | string, + callHash: U8aFixed | string | Uint8Array, + maxWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u16, Vec, Option, U8aFixed, u64] + >; + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * If there are enough, then dispatch the call. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call`: The call to be executed. + * + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. + * + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. + * + * # + * - `O(S + Z + Call)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. + * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - The weight of the `call`. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + * ------------------------------- + * - DB Weight: + * - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`) + * - Writes: Multisig Storage, [Caller Account], Calls (if `store_call`) + * - Plus Call Weight + * # + **/ + asMulti: AugmentedSubmittable< + ( + threshold: u16 | AnyNumber | Uint8Array, + otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], + maybeTimepoint: + | Option + | null + | Uint8Array + | PalletMultisigTimepoint + | { height?: any; index?: any } + | string, + call: WrapperKeepOpaque | object | string | Uint8Array, + storeCall: bool | boolean | Uint8Array, + maxWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u16, Vec, Option, WrapperKeepOpaque, bool, u64] + >; + /** + * Immediately dispatch a multi-signature call using a single approval from the caller. + * + * The dispatch origin for this call must be _Signed_. + * + * - `other_signatories`: The accounts (other than the sender) who are part of the + * multi-signature, but do not participate in the approval process. + * - `call`: The call to be executed. + * + * Result is equivalent to the dispatched result. + * + * # + * O(Z + C) where Z is the length of the call and C its execution weight. + * ------------------------------- + * - DB Weight: None + * - Plus Call Weight + * # + **/ + asMultiThreshold1: AugmentedSubmittable< + ( + otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [Vec, Call] + >; + /** + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `timepoint`: The timepoint (block number and transaction index) of the first approval + * transaction for this dispatch. + * - `call_hash`: The hash of the call to be executed. + * + * # + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - One event. + * - I/O: 1 read `O(S)`, one remove. + * - Storage: removes one item. + * ---------------------------------- + * - DB Weight: + * - Read: Multisig Storage, [Caller Account], Refund Account, Calls + * - Write: Multisig Storage, [Caller Account], Refund Account, Calls + * # + **/ + cancelAsMulti: AugmentedSubmittable< + ( + threshold: u16 | AnyNumber | Uint8Array, + otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], + timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, + callHash: U8aFixed | string | Uint8Array + ) => SubmittableExtrinsic, + [u16, Vec, PalletMultisigTimepoint, U8aFixed] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + oracle: { + /** + * Permissioned call to add an asset + * + * - `asset_id`: Id for the asset + * - `threshold`: Percent close to mean to be rewarded + * - `min_answers`: Min answers before aggregation + * - `max_answers`: Max answers to aggregate + * - `block_interval`: blocks until oracle triggered + * - `reward`: reward amount for correct answer + * - `slash`: slash amount for bad answer + * - `emit_price_changes`: emit PriceChanged event when asset price changes + * + * Emits `DepositEvent` event when successful. + **/ + addAssetAndInfo: AugmentedSubmittable< + ( + assetId: u128 | AnyNumber | Uint8Array, + threshold: Percent | AnyNumber | Uint8Array, + minAnswers: u32 | AnyNumber | Uint8Array, + maxAnswers: u32 | AnyNumber | Uint8Array, + blockInterval: u32 | AnyNumber | Uint8Array, + rewardWeight: u128 | AnyNumber | Uint8Array, + slash: u128 | AnyNumber | Uint8Array, + emitPriceChanges: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, Percent, u32, u32, u32, u128, u128, bool] + >; + /** + * call to add more stake from a controller + * + * - `stake`: amount to add to stake + * + * Emits `StakeAdded` event when successful. + **/ + addStake: AugmentedSubmittable<(stake: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + /** + * Call to start rewarding Oracles. + * - `annual_cost_per_oracle`: Annual cost of an Oracle. + * - `num_ideal_oracles`: Number of ideal Oracles. This in fact should be higher than the + * actual ideal number so that the Oracles make a profit under ideal conditions. + * + * Emits `RewardRateSet` event when successful. + **/ + adjustRewards: AugmentedSubmittable< + ( + annualCostPerOracle: u128 | AnyNumber | Uint8Array, + numIdealOracles: u8 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u8] + >; + /** + * Call to reclaim stake after proper time has passed, called from controller + * + * Emits `StakeReclaimed` event when successful. + **/ + reclaimStake: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Call to put in a claim to remove stake, called from controller + * + * Emits `StakeRemoved` event when successful. + **/ + removeStake: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Call for a signer to be set, called from controller, adds stake. + * + * - `signer`: signer to tie controller to + * + * Emits `SignerSet` and `StakeAdded` events when successful. + **/ + setSigner: AugmentedSubmittable< + (signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Call to submit a price, gas is returned if extrinsic is successful. + * Should be called from offchain worker but can be called manually too. + * + * This is an operational transaction. + * + * - `price`: price to submit, normalized to 12 decimals + * - `asset_id`: id for the asset + * + * Emits `PriceSubmitted` event when successful. + **/ + submitPrice: AugmentedSubmittable< + (price: u128 | AnyNumber | Uint8Array, assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u128, u128] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + pablo: { + /** + * Add liquidity to the given pool. + * + * Emits `LiquidityAdded` event when successful. + **/ + addLiquidity: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + assets: BTreeMap, + minMintAmount: u128 | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, BTreeMap, u128, bool] + >; + /** + * Execute a buy order on pool. + * + * Emits `Swapped` event when successful. + **/ + buy: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + inAssetId: u128 | AnyNumber | Uint8Array, + outAsset: ComposableTraitsDexAssetAmount | { assetId?: any; amount?: any } | string | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, ComposableTraitsDexAssetAmount, bool] + >; + /** + * Create a new pool. Note that this extrinsic does NOT validate if a pool with the same + * assets already exists in the runtime. + * + * Emits `PoolCreated` event when successful. + **/ + create: AugmentedSubmittable< + ( + pool: PalletPabloPoolInitConfiguration | { DualAssetConstantProduct: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [PalletPabloPoolInitConfiguration] + >; + enableTwap: AugmentedSubmittable< + (poolId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u128] + >; + /** + * Remove liquidity from the given pool. + * + * Emits `LiquidityRemoved` event when successful. + **/ + removeLiquidity: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + lpAmount: u128 | AnyNumber | Uint8Array, + minReceive: BTreeMap + ) => SubmittableExtrinsic, + [u128, u128, BTreeMap] + >; + /** + * Execute a specific swap operation. + * + * The `quote_amount` is always the quote asset amount (A/B => B), (B/A => A). + * + * Emits `Swapped` event when successful. + **/ + swap: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + inAsset: ComposableTraitsDexAssetAmount | { assetId?: any; amount?: any } | string | Uint8Array, + minReceive: ComposableTraitsDexAssetAmount | { assetId?: any; amount?: any } | string | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, ComposableTraitsDexAssetAmount, ComposableTraitsDexAssetAmount, bool] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + parachainInfo: { + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + parachainSystem: { + authorizeUpgrade: AugmentedSubmittable< + (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + enactAuthorizedUpgrade: AugmentedSubmittable< + (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Set the current validation data. + * + * This should be invoked exactly once per block. It will panic at the finalization + * phase if the call was not invoked. + * + * The dispatch origin for this call must be `Inherent` + * + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ + setValidationData: AugmentedSubmittable< + ( + data: + | CumulusPrimitivesParachainInherentParachainInherentData + | { + validationData?: any; + relayChainState?: any; + downwardMessages?: any; + horizontalMessages?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [CumulusPrimitivesParachainInherentParachainInherentData] + >; + sudoSendUpwardMessage: AugmentedSubmittable< + (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + preimage: { + /** + * Register a preimage on-chain. + * + * If the preimage was previously requested, no fees or deposits are taken for providing + * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + **/ + notePreimage: AugmentedSubmittable< + (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Request a preimage be uploaded to the chain without paying any fees or deposits. + * + * If the preimage requests has already been provided on-chain, we unreserve any deposit + * a user may have paid, and take the control of the preimage out of their hands. + **/ + requestPreimage: AugmentedSubmittable< + (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Clear an unrequested preimage from the runtime storage. + **/ + unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; + /** + * Clear a previously made request for a preimage. + * + * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + **/ + unrequestPreimage: AugmentedSubmittable< + (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + proxy: { + /** + * Register a proxy account for the sender that is able to make calls on its behalf. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `proxy`: The account that the `caller` would like to make a proxy. + * - `proxy_type`: The permissions allowed for this proxy account. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + addProxy: AugmentedSubmittable< + ( + delegate: AccountId32 | string | Uint8Array, + proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, + delay: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, ComposableTraitsAccountProxyProxyType, u32] + >; + /** + * Publish the hash of a proxy-call that will be made in the future. + * + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. + * + * No more than `MaxPending` announcements may be made at any one time. + * + * This will take a deposit of `AnnouncementDepositFactor` as well as + * `AnnouncementDepositBase` if there are no other pending announcements. + * + * The dispatch origin for this call must be _Signed_ and a proxy of `real`. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + announce: AugmentedSubmittable< + ( + real: AccountId32 | string | Uint8Array, + callHash: H256 | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, H256] + >; + /** + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. + * + * Requires a `Signed` origin. + * + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. + * - `index`: A disambiguation index, in case this is called multiple times in the same + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + * + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. + * + * Fails if there are insufficient funds to pay for deposit. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + * TODO: Might be over counting 1 read + **/ + anonymous: AugmentedSubmittable< + ( + proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, + delay: u32 | AnyNumber | Uint8Array, + index: u16 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsAccountProxyProxyType, u32, u16] + >; + /** + * Removes a previously spawned anonymous proxy. + * + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. + * + * Requires a `Signed` origin, and the sender account must have been created by a call to + * `anonymous` with corresponding parameters. + * + * - `spawner`: The account that originally called `anonymous` to create this account. + * - `index`: The disambiguation index originally passed to `anonymous`. Probably `0`. + * - `proxy_type`: The proxy type originally passed to `anonymous`. + * - `height`: The height of the chain when the call to `anonymous` was processed. + * - `ext_index`: The extrinsic index in which the call to `anonymous` was processed. + * + * Fails with `NoPermission` in case the caller is not a previously created anonymous + * account whose `anonymous` call has corresponding parameters. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + killAnonymous: AugmentedSubmittable< + ( + spawner: AccountId32 | string | Uint8Array, + proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, + index: u16 | AnyNumber | Uint8Array, + height: Compact | AnyNumber | Uint8Array, + extIndex: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, ComposableTraitsAccountProxyProxyType, u16, Compact, Compact] + >; + /** + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + proxy: AugmentedSubmittable< + ( + real: AccountId32 | string | Uint8Array, + forceProxyType: + | Option + | null + | Uint8Array + | ComposableTraitsAccountProxyProxyType + | 'Any' + | 'Governance' + | 'CancelProxy' + | number, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, Option, Call] + >; + /** + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + proxyAnnounced: AugmentedSubmittable< + ( + delegate: AccountId32 | string | Uint8Array, + real: AccountId32 | string | Uint8Array, + forceProxyType: + | Option + | null + | Uint8Array + | ComposableTraitsAccountProxyProxyType + | 'Any' + | 'Governance' + | 'CancelProxy' + | number, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, AccountId32, Option, Call] + >; + /** + * Remove the given announcement of a delegate. + * + * May be called by a target (proxied) account to remove a call that one of their delegates + * (`delegate`) has announced they want to execute. The deposit is returned. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `delegate`: The account that previously announced the call. + * - `call_hash`: The hash of the call to be made. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + rejectAnnouncement: AugmentedSubmittable< + ( + delegate: AccountId32 | string | Uint8Array, + callHash: H256 | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, H256] + >; + /** + * Remove a given announcement. + * + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + * + * # + * Weight is a function of: + * - A: the number of announcements made. + * - P: the number of proxies the user has. + * # + **/ + removeAnnouncement: AugmentedSubmittable< + ( + real: AccountId32 | string | Uint8Array, + callHash: H256 | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, H256] + >; + /** + * Unregister all proxy accounts for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * WARNING: This may be called on accounts created by `anonymous`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Unregister a proxy account for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * - `proxy`: The account that the `caller` would like to remove as a proxy. + * - `proxy_type`: The permissions currently enabled for the removed proxy account. + * + * # + * Weight is a function of the number of proxies the user has (P). + * # + **/ + removeProxy: AugmentedSubmittable< + ( + delegate: AccountId32 | string | Uint8Array, + proxyType: ComposableTraitsAccountProxyProxyType | 'Any' | 'Governance' | 'CancelProxy' | number | Uint8Array, + delay: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, ComposableTraitsAccountProxyProxyType, u32] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + relayerXcm: { + /** + * Execute an XCM message from a local, signed, origin. + * + * An event is deposited indicating whether `msg` could be executed completely or only + * partially. + * + * No more than `max_weight` will be used in its attempted execution. If this is less than the + * maximum amount of weight that the message could take to be executed, then no execution + * attempt will be made. + * + * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully + * to completion; only that *some* of it was executed. + **/ + execute: AugmentedSubmittable< + ( + message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, + maxWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedXcm, u64] + >; + /** + * Set a safe XCM version (the version that XCM should be encoded with if the most recent + * version a destination can accept is unknown). + * + * - `origin`: Must be Root. + * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + **/ + forceDefaultXcmVersion: AugmentedSubmittable< + (maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, + [Option] + >; + /** + * Ask a location to notify us regarding their XCM version and any changes to it. + * + * - `origin`: Must be Root. + * - `location`: The location to which we should subscribe for XCM version notifications. + **/ + forceSubscribeVersionNotify: AugmentedSubmittable< + ( + location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation] + >; + /** + * Require that a particular destination should no longer notify us regarding any XCM + * version changes. + * + * - `origin`: Must be Root. + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ + forceUnsubscribeVersionNotify: AugmentedSubmittable< + ( + location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation] + >; + /** + * Extoll that a particular destination can be communicated with through a particular + * version of XCM. + * + * - `origin`: Must be Root. + * - `location`: The destination that is being described. + * - `xcm_version`: The latest version of XCM that `location` supports. + **/ + forceXcmVersion: AugmentedSubmittable< + ( + location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, + xcmVersion: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmV1MultiLocation, u32] + >; + /** + * Transfer some assets from the local chain to the sovereign account of a destination + * chain and forward a notification XCM. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the assets send may be + * at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the + * `dest` side. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + limitedReserveTransferAssets: AugmentedSubmittable< + ( + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, + feeAssetItem: u32 | AnyNumber | Uint8Array, + weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit] + >; + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the assets send may be + * at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the + * `dest` side. May not be empty. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + limitedTeleportAssets: AugmentedSubmittable< + ( + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, + feeAssetItem: u32 | AnyNumber | Uint8Array, + weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit] + >; + /** + * Transfer some assets from the local chain to the sovereign account of a destination + * chain and forward a notification XCM. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the + * `dest` side. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ + reserveTransferAssets: AugmentedSubmittable< + ( + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, + feeAssetItem: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32] + >; + send: AugmentedSubmittable< + ( + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation, XcmVersionedXcm] + >; + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send + * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be + * an `AccountId32` value. + * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the + * `dest` side. May not be empty. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ + teleportAssets: AugmentedSubmittable< + ( + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, + feeAssetItem: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + scheduler: { + /** + * Cancel an anonymously scheduled task. + **/ + cancel: AugmentedSubmittable< + (when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32, u32] + >; + /** + * Cancel a named scheduled task. + **/ + cancelNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Anonymously schedule a task. + **/ + schedule: AugmentedSubmittable< + ( + when: u32 | AnyNumber | Uint8Array, + maybePeriodic: + | Option> + | null + | Uint8Array + | ITuple<[u32, u32]> + | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + priority: u8 | AnyNumber | Uint8Array, + call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [u32, Option>, u8, FrameSupportScheduleMaybeHashed] + >; + /** + * Anonymously schedule a task after a delay. + * + * # + * Same as [`schedule`]. + * # + **/ + scheduleAfter: AugmentedSubmittable< + ( + after: u32 | AnyNumber | Uint8Array, + maybePeriodic: + | Option> + | null + | Uint8Array + | ITuple<[u32, u32]> + | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + priority: u8 | AnyNumber | Uint8Array, + call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [u32, Option>, u8, FrameSupportScheduleMaybeHashed] + >; + /** + * Schedule a named task. + **/ + scheduleNamed: AugmentedSubmittable< + ( + id: Bytes | string | Uint8Array, + when: u32 | AnyNumber | Uint8Array, + maybePeriodic: + | Option> + | null + | Uint8Array + | ITuple<[u32, u32]> + | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + priority: u8 | AnyNumber | Uint8Array, + call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [Bytes, u32, Option>, u8, FrameSupportScheduleMaybeHashed] + >; + /** + * Schedule a named task after a delay. + * + * # + * Same as [`schedule_named`](Self::schedule_named). + * # + **/ + scheduleNamedAfter: AugmentedSubmittable< + ( + id: Bytes | string | Uint8Array, + after: u32 | AnyNumber | Uint8Array, + maybePeriodic: + | Option> + | null + | Uint8Array + | ITuple<[u32, u32]> + | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + priority: u8 | AnyNumber | Uint8Array, + call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [Bytes, u32, Option>, u8, FrameSupportScheduleMaybeHashed] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + session: { + /** + * Removes any session key(s) of the function caller. + * + * This doesn't take effect until the next session. + * + * The dispatch origin of this function must be Signed and the account must be either be + * convertible to a validator ID using the chain's typical addressing system (this usually + * means being a controller account) or directly convertible into a validator ID (which + * usually means being a stash account). + * + * # + * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length + * of `T::Keys::key_ids()` which is fixed. + * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account` + * - DbWrites: `NextKeys`, `origin account` + * - DbWrites per key id: `KeyOwner` + * # + **/ + purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Sets the session key(s) of the function caller to `keys`. + * Allows an account to set its session key prior to becoming a validator. + * This doesn't take effect until the next session. + * + * The dispatch origin of this function must be signed. + * + * # + * - Complexity: `O(1)`. Actual cost depends on the number of length of + * `T::Keys::key_ids()` which is fixed. + * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys` + * - DbWrites: `origin account`, `NextKeys` + * - DbReads per key id: `KeyOwner` + * - DbWrites per key id: `KeyOwner` + * # + **/ + setKeys: AugmentedSubmittable< + ( + keys: DaliRuntimeOpaqueSessionKeys | { aura?: any } | string | Uint8Array, + proof: Bytes | string | Uint8Array + ) => SubmittableExtrinsic, + [DaliRuntimeOpaqueSessionKeys, Bytes] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + stakingRewards: { + /** + * Add funds to the reward pool's rewards pot for the specified asset. + * + * Emits `RewardsPotIncreased` when successful. + **/ + addToRewardsPot: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + assetId: u128 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, u128, bool] + >; + /** + * Claim a current reward for some position. + * + * Emits `Claimed` event when successful. + **/ + claim: AugmentedSubmittable< + ( + fnftCollectionId: u128 | AnyNumber | Uint8Array, + fnftInstanceId: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u64] + >; + /** + * Create a new reward pool based on the config. + * + * Emits `RewardPoolCreated` event when successful. + **/ + createRewardPool: AugmentedSubmittable< + ( + poolConfig: + | ComposableTraitsStakingRewardPoolConfiguration + | { RewardRateBasedIncentive: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsStakingRewardPoolConfiguration] + >; + /** + * Extend an existing stake. + * + * Emits `StakeExtended` event when successful. + **/ + extend: AugmentedSubmittable< + ( + fnftCollectionId: u128 | AnyNumber | Uint8Array, + fnftInstanceId: u64 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u64, u128] + >; + split: AugmentedSubmittable< + ( + fnftCollectionId: u128 | AnyNumber | Uint8Array, + fnftInstanceId: u64 | AnyNumber | Uint8Array, + ratio: Permill | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u64, Permill] + >; + /** + * Create a new stake. + * + * Emits `Staked` event when successful. + **/ + stake: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + durationPreset: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, u64] + >; + /** + * Remove a stake. + * + * Emits `Unstaked` event when successful. + **/ + unstake: AugmentedSubmittable< + ( + fnftCollectionId: u128 | AnyNumber | Uint8Array, + fnftInstanceId: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u64] + >; + /** + * Updates the reward pool configuration. + * + * Emits `RewardPoolUpdated` when successful. + **/ + updateRewardsPool: AugmentedSubmittable< + ( + poolId: u128 | AnyNumber | Uint8Array, + rewardUpdates: BTreeMap + ) => SubmittableExtrinsic, + [u128, BTreeMap] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + sudo: { + /** + * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo + * key. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB change. + * # + **/ + setKey: AugmentedSubmittable< + ( + updated: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call]>; + /** + * Authenticates the sudo key and dispatches a function call with `Signed` origin from + * a given account. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudoAs: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Call] + >; + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * This function does not check the weight of the call, and instead allows the + * Sudo user to specify the weight of the call. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - The weight of this call is defined by the caller. + * # + **/ + sudoUncheckedWeight: AugmentedSubmittable< + ( + call: Call | IMethod | string | Uint8Array, + weight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Call, u64] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + system: { + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ + fillBlock: AugmentedSubmittable< + (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Perbill] + >; + /** + * Kill all storage items with a key that starts with the given prefix. + * + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under + * the prefix we are removing to accurately calculate the weight of this function. + **/ + killPrefix: AugmentedSubmittable< + (prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Bytes, u32] + >; + /** + * Kill some items from storage. + **/ + killStorage: AugmentedSubmittable< + (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Make some on-chain remark. + * + * # + * - `O(1)` + * # + **/ + remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Make some on-chain remark and emit event. + **/ + remarkWithEvent: AugmentedSubmittable< + (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Set the new runtime code. + * + * # + * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code` + * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is + * expensive). + * - 1 storage write (codec `O(C)`). + * - 1 digest item. + * - 1 event. + * The weight of this function is dependent on the runtime, but generally this is very + * expensive. We will treat this as a full block. + * # + **/ + setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Set the new runtime code without doing any checks of the given `code`. + * + * # + * - `O(C)` where `C` length of `code` + * - 1 storage write (codec `O(C)`). + * - 1 digest item. + * - 1 event. + * The weight of this function is dependent on the runtime. We will treat this as a full + * block. # + **/ + setCodeWithoutChecks: AugmentedSubmittable< + (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ + setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Set some items of storage. + **/ + setStorage: AugmentedSubmittable< + ( + items: Vec> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][] + ) => SubmittableExtrinsic, + [Vec>] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + technicalCommittee: { + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * # + * ## Weight + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + * - DB: + * - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`) + * - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec + * `O(P2)`) + * - any mutations done while executing `proposal` (`P1`) + * - up to 3 events + * # + **/ + close: AugmentedSubmittable< + ( + proposalHash: H256 | string | Uint8Array, + index: Compact | AnyNumber | Uint8Array, + proposalWeightBound: Compact | AnyNumber | Uint8Array, + lengthBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [H256, Compact, Compact, Compact] + >; + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * # + * Complexity: O(P) where P is the number of max proposals + * DB Weight: + * * Reads: Proposals + * * Writes: Voting, Proposals, ProposalOf + * # + **/ + disapproveProposal: AugmentedSubmittable< + (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * # + * ## Weight + * - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching + * `proposal` + * - DB: 1 read (codec `O(M)`) + DB access of `proposal` + * - 1 event + * # + **/ + execute: AugmentedSubmittable< + ( + proposal: Call | IMethod | string | Uint8Array, + lengthBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Call, Compact] + >; + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * # + * ## Weight + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + * - DB: + * - 1 storage read `is_member` (codec `O(M)`) + * - 1 storage read `ProposalOf::contains_key` (codec `O(1)`) + * - DB accesses influenced by `threshold`: + * - EITHER storage accesses done by `proposal` (`threshold < 2`) + * - OR proposal insertion (`threshold <= 2`) + * - 1 storage mutation `Proposals` (codec `O(P2)`) + * - 1 storage mutation `ProposalCount` (codec `O(1)`) + * - 1 storage write `ProposalOf` (codec `O(B)`) + * - 1 storage write `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + propose: AugmentedSubmittable< + ( + threshold: Compact | AnyNumber | Uint8Array, + proposal: Call | IMethod | string | Uint8Array, + lengthBound: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Compact, Call, Compact] + >; + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * Requires root origin. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * # + * ## Weight + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + * - DB: + * - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the + * members + * - 1 storage read (codec `O(P)`) for reading the proposals + * - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal + * - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one + * # + **/ + setMembers: AugmentedSubmittable< + ( + newMembers: Vec | (AccountId32 | string | Uint8Array)[], + prime: Option | null | Uint8Array | AccountId32 | string, + oldCount: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Vec, Option, u32] + >; + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * # + * ## Weight + * - `O(M)` where `M` is members-count (code- and governance-bounded) + * - DB: + * - 1 storage read `Members` (codec `O(M)`) + * - 1 storage mutation `Voting` (codec `O(M)`) + * - 1 event + * # + **/ + vote: AugmentedSubmittable< + ( + proposal: H256 | string | Uint8Array, + index: Compact | AnyNumber | Uint8Array, + approve: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [H256, Compact, bool] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + technicalCommitteeMembership: { + /** + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. + **/ + addMember: AugmentedSubmittable< + (who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. + **/ + changeKey: AugmentedSubmittable< + (updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. + **/ + clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. + **/ + removeMember: AugmentedSubmittable< + (who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. + **/ + resetMembers: AugmentedSubmittable< + (members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. + **/ + setPrime: AugmentedSubmittable< + (who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + [AccountId32] + >; + /** + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. + **/ + swapMember: AugmentedSubmittable< + ( + remove: AccountId32 | string | Uint8Array, + add: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, AccountId32] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + timestamp: { + /** + * Set the current time. + * + * This call should be invoked exactly once per block. It will panic at the finalization + * phase, if this call hasn't been invoked by that time. + * + * The timestamp should be greater than the previous one by the amount specified by + * `MinimumPeriod`. + * + * The dispatch origin for this call must be `Inherent`. + * + * # + * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) + * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in + * `on_finalize`) + * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + * # + **/ + set: AugmentedSubmittable< + (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + tokens: { + /** + * Exactly as `transfer`, except the origin must be root and the source + * account may be specified. + * + * The dispatch origin for this call must be _Root_. + * + * - `source`: The sender of the transfer. + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `amount`: free balance amount to tranfer. + **/ + forceTransfer: AugmentedSubmittable< + ( + source: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + currencyId: u128 | AnyNumber | Uint8Array, + amount: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, MultiAddress, u128, Compact] + >; + /** + * Set the balances of a given account. + * + * This will alter `FreeBalance` and `ReservedBalance` in storage. it + * will also decrease the total issuance of the system + * (`TotalIssuance`). If the new free or reserved balance is below the + * existential deposit, it will reap the `AccountInfo`. + * + * The dispatch origin for this call is `root`. + **/ + setBalance: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + currencyId: u128 | AnyNumber | Uint8Array, + newFree: Compact | AnyNumber | Uint8Array, + newReserved: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, u128, Compact, Compact] + >; + /** + * Transfer some liquid free balance to another account. + * + * `transfer` will set the `FreeBalance` of the sender and receiver. + * It will decrease the total issuance of the system by the + * `TransferFee`. If the sender's account is below the existential + * deposit as a result of the transfer, the account will be reaped. + * + * The dispatch origin for this call must be `Signed` by the + * transactor. + * + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `amount`: free balance amount to tranfer. + **/ + transfer: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + currencyId: u128 | AnyNumber | Uint8Array, + amount: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, u128, Compact] + >; + /** + * Transfer all remaining balance to the given account. + * + * NOTE: This function only attempts to transfer _transferable_ + * balances. This means that any locked, reserved, or existential + * deposits (when `keep_alive` is `true`), will not be transferred by + * this function. To ensure that this function results in a killed + * account, you might need to prepare the account by removing any + * reference counters, storage deposits, etc... + * + * The dispatch origin for this call must be `Signed` by the + * transactor. + * + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `keep_alive`: A boolean to determine if the `transfer_all` + * operation should send all of the funds the account has, causing + * the sender account to be killed (false), or transfer everything + * except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). + **/ + transferAll: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + currencyId: u128 | AnyNumber | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, u128, bool] + >; + /** + * Same as the [`transfer`] call, but with a check that the transfer + * will not kill the origin account. + * + * 99% of the time you want [`transfer`] instead. + * + * The dispatch origin for this call must be `Signed` by the + * transactor. + * + * - `dest`: The recipient of the transfer. + * - `currency_id`: currency type. + * - `amount`: free balance amount to tranfer. + **/ + transferKeepAlive: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + currencyId: u128 | AnyNumber | Uint8Array, + amount: Compact | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, u128, Compact] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + treasury: { + /** + * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary + * and the original deposit will be returned. + * + * May only be called from `T::ApproveOrigin`. + * + * # + * - Complexity: O(1). + * - DbReads: `Proposals`, `Approvals` + * - DbWrite: `Approvals` + * # + **/ + approveProposal: AugmentedSubmittable< + (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] + >; + /** + * Put forward a suggestion for spending. A deposit proportional to the value + * is reserved and slashed if the proposal is rejected. It is returned once the + * proposal is awarded. + * + * # + * - Complexity: O(1) + * - DbReads: `ProposalCount`, `origin account` + * - DbWrites: `ProposalCount`, `Proposals`, `origin account` + * # + **/ + proposeSpend: AugmentedSubmittable< + ( + value: Compact | AnyNumber | Uint8Array, + beneficiary: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [Compact, MultiAddress] + >; + /** + * Reject a proposed spend. The original deposit will be slashed. + * + * May only be called from `T::RejectOrigin`. + * + * # + * - Complexity: O(1) + * - DbReads: `Proposals`, `rejected proposer account` + * - DbWrites: `Proposals`, `rejected proposer account` + * # + **/ + rejectProposal: AugmentedSubmittable< + (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] + >; + /** + * Force a previously approved proposal to be removed from the approval queue. + * The original deposit will no longer be returned. + * + * May only be called from `T::RejectOrigin`. + * - `proposal_id`: The index of a proposal + * + * # + * - Complexity: O(A) where `A` is the number of approvals + * - Db reads and writes: `Approvals` + * # + * + * Errors: + * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue, + * i.e., the proposal has not been approved. This could also mean the proposal does not + * exist altogether, thus there is no way it would have been approved in the first place. + **/ + removeApproval: AugmentedSubmittable< + (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] + >; + /** + * Propose and approve a spend of treasury funds. + * + * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`. + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The destination account for the transfer. + * + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. + **/ + spend: AugmentedSubmittable< + ( + amount: Compact | AnyNumber | Uint8Array, + beneficiary: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [Compact, MultiAddress] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + unknownTokens: { + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + utility: { + /** + * Send a call through an indexed pseudonym of the sender. + * + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. + * + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. + * + * NOTE: Prior to version *12, this was called `as_limited_sub`. + * + * The dispatch origin for this call must be _Signed_. + **/ + asDerivative: AugmentedSubmittable< + ( + index: u16 | AnyNumber | Uint8Array, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [u16, Call] + >; + /** + * Send a batch of dispatch calls. + * + * May be called from any origin. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then call are dispatch without checking origin filter. (This includes + * bypassing `frame_system::Config::BaseCallFilter`). + * + * # + * - Complexity: O(C) where C is the number of calls to be batched. + * # + * + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ + batch: AugmentedSubmittable< + (calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. + * + * May be called from any origin. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then call are dispatch without checking origin filter. (This includes + * bypassing `frame_system::Config::BaseCallFilter`). + * + * # + * - Complexity: O(C) where C is the number of calls to be batched. + * # + **/ + batchAll: AugmentedSubmittable< + (calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Dispatches a function call with a provided origin. + * + * The dispatch origin for this call must be _Root_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + T::WeightInfo::dispatch_as(). + * # + **/ + dispatchAs: AugmentedSubmittable< + ( + asOrigin: + | DaliRuntimeOriginCaller + | { system: any } + | { Void: any } + | { Council: any } + | { RelayerXcm: any } + | { CumulusXcm: any } + | { TechnicalCommittee: any } + | string + | Uint8Array, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [DaliRuntimeOriginCaller, Call] + >; + /** + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. + * + * May be called from any origin. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then call are dispatch without checking origin filter. (This includes + * bypassing `frame_system::Config::BaseCallFilter`). + * + * # + * - Complexity: O(C) where C is the number of calls to be batched. + * # + **/ + forceBatch: AugmentedSubmittable< + (calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + vault: { + addSurcharge: AugmentedSubmittable< + (dest: u64 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64, u128] + >; + /** + * Subtracts rent from a vault, rewarding the caller if successful with a small fee and + * possibly tombstoning the vault. + * + * A tombstoned vault still allows for withdrawals but blocks deposits, and requests all + * strategies to return their funds. + **/ + claimSurcharge: AugmentedSubmittable< + ( + dest: u64 | AnyNumber | Uint8Array, + address: Option | null | Uint8Array | AccountId32 | string + ) => SubmittableExtrinsic, + [u64, Option] + >; + /** + * Creates a new vault, locking up the deposit. If the deposit is greater than the + * `ExistentialDeposit` + `CreationDeposit`, the vault will remain alive forever, else it + * can be `tombstoned` after `deposit / RentPerBlock `. Accounts may deposit more funds to + * keep the vault alive. + * + * # Emits + * - [`Event::VaultCreated`](Event::VaultCreated) + * + * # Errors + * - When the origin is not signed. + * - When `deposit < CreationDeposit`. + * - Origin has insufficient funds to lock the deposit. + **/ + create: AugmentedSubmittable< + ( + vault: + | ComposableTraitsVaultVaultConfig + | { assetId?: any; reserved?: any; manager?: any; strategies?: any } + | string + | Uint8Array, + depositAmount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [ComposableTraitsVaultVaultConfig, u128] + >; + deleteTombstoned: AugmentedSubmittable< + ( + dest: u64 | AnyNumber | Uint8Array, + address: Option | null | Uint8Array | AccountId32 | string + ) => SubmittableExtrinsic, + [u64, Option] + >; + /** + * Deposit funds in the vault and receive LP tokens in return. + * # Emits + * - Event::Deposited + * + * # Errors + * - When the origin is not signed. + * - When `deposit < MinimumDeposit`. + **/ + deposit: AugmentedSubmittable< + ( + vault: u64 | AnyNumber | Uint8Array, + assetAmount: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u64, u128] + >; + /** + * Stops a vault. To be used in case of severe protocol flaws. + * + * # Emits + * - Event::EmergencyShutdown + * + * # Errors + * - When the origin is not root. + * - When `vault` does not exist. + **/ + emergencyShutdown: AugmentedSubmittable< + (vault: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64] + >; + /** + * Turns an existent strategy account `strategy_account` of a vault determined by + * `vault_idx` into a liquidation state where withdrawn funds should be returned as soon + * as possible. + * + * Only the vault's manager will be able to call this method. + * + * # Emits + * - Event::LiquidateStrategy + **/ + liquidateStrategy: AugmentedSubmittable< + ( + vaultIdx: u64 | AnyNumber | Uint8Array, + strategyAccountId: AccountId32 | string | Uint8Array + ) => SubmittableExtrinsic, + [u64, AccountId32] + >; + /** + * (Re)starts a vault after emergency shutdown. + * + * # Emits + * - Event::VaultStarted + * + * # Errors + * - When the origin is not root. + * - When `vault` does not exist. + **/ + start: AugmentedSubmittable<(vault: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Withdraw funds + * + * # Emits + * - Event::Withdrawn + * + * # Errors + * - When the origin is not signed. + * - When `lp_amount < MinimumWithdrawal`. + * - When the vault has insufficient amounts reserved. + **/ + withdraw: AugmentedSubmittable< + (vault: u64 | AnyNumber | Uint8Array, lpAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64, u128] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + vesting: { + /** + * Unlock any vested funds of the origin account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have funds still + * locked under this pallet. + * + * - `asset`: The asset associated with the vesting schedule + * - `vesting_schedule_ids`: The ids of the vesting schedules to be claimed + * + * Emits `Claimed`. + **/ + claim: AugmentedSubmittable< + ( + asset: u128 | AnyNumber | Uint8Array, + vestingScheduleIds: + | ComposableTraitsVestingVestingScheduleIdSet + | { All: any } + | { One: any } + | { Many: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [u128, ComposableTraitsVestingVestingScheduleIdSet] + >; + /** + * Unlock any vested funds of a `target` account. + * + * The dispatch origin for this call must be _Signed_. + * + * - `dest`: The account whose vested funds should be unlocked. Must have funds still + * locked under this pallet. + * - `asset`: The asset associated with the vesting schedule. + * - `vesting_schedule_ids`: The ids of the vesting schedules to be claimed. + * + * Emits `Claimed`. + **/ + claimFor: AugmentedSubmittable< + ( + dest: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + asset: u128 | AnyNumber | Uint8Array, + vestingScheduleIds: + | ComposableTraitsVestingVestingScheduleIdSet + | { All: any } + | { One: any } + | { Many: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, u128, ComposableTraitsVestingVestingScheduleIdSet] + >; + /** + * Update vesting schedules + * + * The dispatch origin for this call must be _Root_ or democracy. + * + * - `who`: The account whose vested funds should be updated. + * - `asset`: The asset associated with the vesting schedules. + * - `vesting_schedules`: The updated vesting schedules. + * + * Emits `VestingSchedulesUpdated`. + **/ + updateVestingSchedules: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + asset: u128 | AnyNumber | Uint8Array, + vestingSchedules: + | Vec + | ( + | ComposableTraitsVestingVestingScheduleInfo + | { window?: any; periodCount?: any; perPeriod?: any } + | string + | Uint8Array + )[] + ) => SubmittableExtrinsic, + [MultiAddress, u128, Vec] + >; + /** + * Create a vested transfer. + * + * The dispatch origin for this call must be _Root_ or Democracy. + * + * - `from`: The account sending the vested funds. + * - `beneficiary`: The account receiving the vested funds. + * - `asset`: The asset associated with this vesting schedule. + * - `schedule_info`: The vesting schedule data attached to the transfer. + * + * Emits `VestingScheduleAdded`. + * + * NOTE: This will unlock all schedules through the current block. + **/ + vestedTransfer: AugmentedSubmittable< + ( + from: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + beneficiary: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + asset: u128 | AnyNumber | Uint8Array, + scheduleInfo: + | ComposableTraitsVestingVestingScheduleInfo + | { window?: any; periodCount?: any; perPeriod?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, MultiAddress, u128, ComposableTraitsVestingVestingScheduleInfo] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + xcmpQueue: { + /** + * Resumes all XCM executions for the XCMP queue. + * + * Note that this function doesn't change the status of the in/out bound channels. + * + * - `origin`: Must pass `ControllerOrigin`. + **/ + resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Services a single overweight XCM. + * + * - `origin`: Must pass `ExecuteOverweightOrigin`. + * - `index`: The index of the overweight XCM to service + * - `weight_limit`: The amount of weight that XCM execution may take. + * + * Errors: + * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map. + * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format. + * - `WeightOverLimit`: XCM execution may use greater `weight_limit`. + * + * Events: + * - `OverweightServiced`: On success. + **/ + serviceOverweight: AugmentedSubmittable< + ( + index: u64 | AnyNumber | Uint8Array, + weightLimit: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u64, u64] + >; + /** + * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. + * + * - `origin`: Must pass `ControllerOrigin`. + **/ + suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Overwrites the number of pages of messages which must be in the queue after which we drop any further + * messages from the channel. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.drop_threshold` + **/ + updateDropThreshold: AugmentedSubmittable< + (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Overwrites the number of pages of messages which the queue must be reduced to before it signals that + * message sending may recommence after it has been suspended. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.resume_threshold` + **/ + updateResumeThreshold: AugmentedSubmittable< + (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Overwrites the number of pages of messages which must be in the queue for the other side to be told to + * suspend their sending. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.suspend_value` + **/ + updateSuspendThreshold: AugmentedSubmittable< + (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u32] + >; + /** + * Overwrites the amount of remaining weight under which we stop processing messages. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.threshold_weight` + **/ + updateThresholdWeight: AugmentedSubmittable< + (updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64] + >; + /** + * Overwrites the speed to which the available weight approaches the maximum weight. + * A lower number results in a faster progression. A value of 1 makes the entire weight available initially. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`. + **/ + updateWeightRestrictDecay: AugmentedSubmittable< + (updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64] + >; + /** + * Overwrite the maximum amount of weight any individual message may consume. + * Messages above this weight go into the overweight queue and may only be serviced explicitly. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`. + **/ + updateXcmpMaxIndividualWeight: AugmentedSubmittable< + (updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + xTokens: { + /** + * Transfer native currencies. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transfer: AugmentedSubmittable< + ( + currencyId: u128 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + destWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, XcmVersionedMultiLocation, u64] + >; + /** + * Transfer `MultiAsset`. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiasset: AugmentedSubmittable< + ( + asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + destWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64] + >; + /** + * Transfer several `MultiAsset` specifying the item to be used as fee + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee_item` is index of the MultiAssets that we want to use for + * payment + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiassets: AugmentedSubmittable< + ( + assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, + feeItem: u32 | AnyNumber | Uint8Array, + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + destWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, u64] + >; + /** + * Transfer `MultiAsset` specifying the fee and amount as separate. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee` is the multiasset to be spent to pay for execution in + * destination chain. Both fee and amount will be subtracted form the + * callers balance For now we only accept fee and asset having the same + * `MultiLocation` id. + * + * If `fee` is not high enough to cover for the execution costs in the + * destination chain, then the assets will be trapped in the + * destination chain + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiassetWithFee: AugmentedSubmittable< + ( + asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, + fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + destWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64] + >; + /** + * Transfer several currencies specifying the item to be used as fee + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee_item` is index of the currencies tuple that we want to use for + * payment + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMulticurrencies: AugmentedSubmittable< + ( + currencies: Vec> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array][], + feeItem: u32 | AnyNumber | Uint8Array, + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + destWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [Vec>, u32, XcmVersionedMultiLocation, u64] + >; + /** + * Transfer native currencies specifying the fee and amount as + * separate. + * + * `dest_weight` is the weight for XCM execution on the dest chain, and + * it would be charged from the transferred assets. If set below + * requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee` is the amount to be spent to pay for execution in destination + * chain. Both fee and amount will be subtracted form the callers + * balance. + * + * If `fee` is not high enough to cover for the execution costs in the + * destination chain, then the assets will be trapped in the + * destination chain + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferWithFee: AugmentedSubmittable< + ( + currencyId: u128 | AnyNumber | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + fee: u128 | AnyNumber | Uint8Array, + dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, + destWeight: u64 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [u128, u128, u128, XcmVersionedMultiLocation, u64] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + } // AugmentedSubmittables +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/augment-types.ts b/src/chains/polkadot/api-scheme/augments/augment-types.ts new file mode 100644 index 00000000..3352a5a6 --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/augment-types.ts @@ -0,0 +1,2587 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import type { Data, StorageKey } from '@polkadot/types'; +import type { + BitVec, + Bool, + bool, + Bytes, + F32, + f32, + F64, + f64, + I8, + i8, + I16, + i16, + I32, + i32, + I64, + i64, + I128, + i128, + I256, + i256, + Json, + Null, + OptionBool, + Raw, + Text, + Type, + U8, + u8, + U16, + u16, + U32, + u32, + U64, + u64, + U128, + u128, + U256, + u256, + USize, + usize +} from '@polkadot/types-codec'; +import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; +import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; +import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; +import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; +import type { + AllowedSlots, + BabeAuthorityWeight, + BabeBlockWeight, + BabeEpochConfiguration, + BabeEquivocationProof, + BabeGenesisConfiguration, + BabeGenesisConfigurationV1, + BabeWeight, + Epoch, + EpochAuthorship, + MaybeRandomness, + MaybeVrf, + NextConfigDescriptor, + NextConfigDescriptorV1, + OpaqueKeyOwnershipProof, + Randomness, + RawBabePreDigest, + RawBabePreDigestCompat, + RawBabePreDigestPrimary, + RawBabePreDigestPrimaryTo159, + RawBabePreDigestSecondaryPlain, + RawBabePreDigestSecondaryTo159, + RawBabePreDigestSecondaryVRF, + RawBabePreDigestTo159, + SlotNumber, + VrfData, + VrfOutput, + VrfProof +} from '@polkadot/types/interfaces/babe'; +import type { + AccountData, + BalanceLock, + BalanceLockTo212, + BalanceStatus, + Reasons, + ReserveData, + ReserveIdentifier, + VestingSchedule, + WithdrawReasons +} from '@polkadot/types/interfaces/balances'; +import type { + BeefyAuthoritySet, + BeefyCommitment, + BeefyId, + BeefyNextAuthoritySet, + BeefyPayload, + BeefyPayloadId, + BeefySignedCommitment, + MmrRootHash, + ValidatorSet, + ValidatorSetId +} from '@polkadot/types/interfaces/beefy'; +import type { + BenchmarkBatch, + BenchmarkConfig, + BenchmarkList, + BenchmarkMetadata, + BenchmarkParameter, + BenchmarkResult +} from '@polkadot/types/interfaces/benchmark'; +import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; +import type { + BridgedBlockHash, + BridgedBlockNumber, + BridgedHeader, + BridgeMessageId, + CallOrigin, + ChainId, + DeliveredMessages, + DispatchFeePayment, + InboundLaneData, + InboundRelayer, + InitializationData, + LaneId, + MessageData, + MessageKey, + MessageNonce, + MessagesDeliveryProofOf, + MessagesProofOf, + OperatingMode, + OutboundLaneData, + OutboundMessageFee, + OutboundPayload, + Parameter, + RelayerId, + UnrewardedRelayer, + UnrewardedRelayersState +} from '@polkadot/types/interfaces/bridges'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; +import type { StatementKind } from '@polkadot/types/interfaces/claims'; +import type { + CollectiveOrigin, + MemberCount, + ProposalIndex, + Votes, + VotesTo230 +} from '@polkadot/types/interfaces/collective'; +import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; +import type { + AliveContractInfo, + CodeHash, + CodeSource, + CodeUploadRequest, + CodeUploadResult, + CodeUploadResultValue, + ContractCallFlags, + ContractCallRequest, + ContractExecResult, + ContractExecResultOk, + ContractExecResultResult, + ContractExecResultSuccessTo255, + ContractExecResultSuccessTo260, + ContractExecResultTo255, + ContractExecResultTo260, + ContractExecResultTo267, + ContractInfo, + ContractInstantiateResult, + ContractInstantiateResultTo267, + ContractInstantiateResultTo299, + ContractReturnFlags, + ContractStorageKey, + DeletedContract, + ExecReturnValue, + Gas, + HostFnWeights, + HostFnWeightsTo264, + InstantiateRequest, + InstantiateRequestV1, + InstantiateRequestV2, + InstantiateReturnValue, + InstantiateReturnValueOk, + InstantiateReturnValueTo267, + InstructionWeights, + Limits, + LimitsTo264, + PrefabWasmModule, + RentProjection, + Schedule, + ScheduleTo212, + ScheduleTo258, + ScheduleTo264, + SeedOf, + StorageDeposit, + TombstoneContractInfo, + TrieId +} from '@polkadot/types/interfaces/contracts'; +import type { + ContractConstructorSpecLatest, + ContractConstructorSpecV0, + ContractConstructorSpecV1, + ContractConstructorSpecV2, + ContractConstructorSpecV3, + ContractContractSpecV0, + ContractContractSpecV1, + ContractContractSpecV2, + ContractContractSpecV3, + ContractContractSpecV4, + ContractCryptoHasher, + ContractDiscriminant, + ContractDisplayName, + ContractEventParamSpecLatest, + ContractEventParamSpecV0, + ContractEventParamSpecV2, + ContractEventSpecLatest, + ContractEventSpecV0, + ContractEventSpecV1, + ContractEventSpecV2, + ContractLayoutArray, + ContractLayoutCell, + ContractLayoutEnum, + ContractLayoutHash, + ContractLayoutHashingStrategy, + ContractLayoutKey, + ContractLayoutStruct, + ContractLayoutStructField, + ContractMessageParamSpecLatest, + ContractMessageParamSpecV0, + ContractMessageParamSpecV2, + ContractMessageSpecLatest, + ContractMessageSpecV0, + ContractMessageSpecV1, + ContractMessageSpecV2, + ContractMetadata, + ContractMetadataLatest, + ContractMetadataV0, + ContractMetadataV1, + ContractMetadataV2, + ContractMetadataV3, + ContractMetadataV4, + ContractProject, + ContractProjectContract, + ContractProjectInfo, + ContractProjectSource, + ContractProjectV0, + ContractSelector, + ContractStorageLayout, + ContractTypeSpec +} from '@polkadot/types/interfaces/contractsAbi'; +import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; +import type { + CollationInfo, + CollationInfoV1, + ConfigData, + MessageId, + OverweightIndex, + PageCounter, + PageIndexData +} from '@polkadot/types/interfaces/cumulus'; +import type { BlockStats } from '@polkadot/types/interfaces/dev'; +import type { + ApprovalFlag, + DefunctVoter, + Renouncing, + SetIndex, + Vote, + VoteIndex, + VoterInfo, + VoteThreshold +} from '@polkadot/types/interfaces/elections'; +import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; +import type { + BlockV0, + BlockV1, + BlockV2, + EIP1559Transaction, + EIP2930Transaction, + EthAccessList, + EthAccessListItem, + EthAccount, + EthAddress, + EthBlock, + EthBloom, + EthCallRequest, + EthereumAccountId, + EthereumAddress, + EthereumLookupSource, + EthereumSignature, + EthFeeHistory, + EthFilter, + EthFilterAddress, + EthFilterChanges, + EthFilterTopic, + EthFilterTopicEntry, + EthFilterTopicInner, + EthHeader, + EthLog, + EthReceipt, + EthReceiptV0, + EthReceiptV3, + EthRichBlock, + EthRichHeader, + EthStorageProof, + EthSubKind, + EthSubParams, + EthSubResult, + EthSyncInfo, + EthSyncStatus, + EthTransaction, + EthTransactionAction, + EthTransactionCondition, + EthTransactionRequest, + EthTransactionSignature, + EthTransactionStatus, + EthWork, + LegacyTransaction, + TransactionV0, + TransactionV1, + TransactionV2 +} from '@polkadot/types/interfaces/eth'; +import type { + EvmAccount, + EvmCallInfo, + EvmCreateInfo, + EvmLog, + EvmVicinity, + ExitError, + ExitFatal, + ExitReason, + ExitRevert, + ExitSucceed +} from '@polkadot/types/interfaces/evm'; +import type { + AnySignature, + EcdsaSignature, + Ed25519Signature, + Era, + Extrinsic, + ExtrinsicEra, + ExtrinsicPayload, + ExtrinsicPayloadUnknown, + ExtrinsicPayloadV4, + ExtrinsicSignature, + ExtrinsicSignatureV4, + ExtrinsicUnknown, + ExtrinsicV4, + ImmortalEra, + MortalEra, + MultiSignature, + Signature, + SignerPayload, + Sr25519Signature +} from '@polkadot/types/interfaces/extrinsics'; +import type { + AssetOptions, + Owner, + PermissionLatest, + PermissionsV1, + PermissionVersions +} from '@polkadot/types/interfaces/genericAsset'; +import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; +import type { + AuthorityIndex, + AuthorityList, + AuthoritySet, + AuthoritySetChange, + AuthoritySetChanges, + AuthorityWeight, + DelayKind, + DelayKindBest, + EncodedFinalityProofs, + ForkTreePendingChange, + ForkTreePendingChangeNode, + GrandpaCommit, + GrandpaEquivocation, + GrandpaEquivocationProof, + GrandpaEquivocationValue, + GrandpaJustification, + GrandpaPrecommit, + GrandpaPrevote, + GrandpaSignedPrecommit, + JustificationNotification, + KeyOwnerProof, + NextAuthority, + PendingChange, + PendingPause, + PendingResume, + Precommits, + Prevotes, + ReportedRoundStates, + RoundState, + SetId, + StoredPendingChange, + StoredState +} from '@polkadot/types/interfaces/grandpa'; +import type { + IdentityFields, + IdentityInfo, + IdentityInfoAdditional, + IdentityInfoTo198, + IdentityJudgement, + RegistrarIndex, + RegistrarInfo, + Registration, + RegistrationJudgement, + RegistrationTo198 +} from '@polkadot/types/interfaces/identity'; +import type { + AuthIndex, + AuthoritySignature, + Heartbeat, + HeartbeatTo244, + OpaqueMultiaddr, + OpaqueNetworkState, + OpaquePeerId +} from '@polkadot/types/interfaces/imOnline'; +import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; +import type { + ErrorMetadataLatest, + ErrorMetadataV9, + ErrorMetadataV10, + ErrorMetadataV11, + ErrorMetadataV12, + ErrorMetadataV13, + ErrorMetadataV14, + EventMetadataLatest, + EventMetadataV9, + EventMetadataV10, + EventMetadataV11, + EventMetadataV12, + EventMetadataV13, + EventMetadataV14, + ExtrinsicMetadataLatest, + ExtrinsicMetadataV11, + ExtrinsicMetadataV12, + ExtrinsicMetadataV13, + ExtrinsicMetadataV14, + FunctionArgumentMetadataLatest, + FunctionArgumentMetadataV9, + FunctionArgumentMetadataV10, + FunctionArgumentMetadataV11, + FunctionArgumentMetadataV12, + FunctionArgumentMetadataV13, + FunctionArgumentMetadataV14, + FunctionMetadataLatest, + FunctionMetadataV9, + FunctionMetadataV10, + FunctionMetadataV11, + FunctionMetadataV12, + FunctionMetadataV13, + FunctionMetadataV14, + MetadataAll, + MetadataLatest, + MetadataV9, + MetadataV10, + MetadataV11, + MetadataV12, + MetadataV13, + MetadataV14, + ModuleConstantMetadataV9, + ModuleConstantMetadataV10, + ModuleConstantMetadataV11, + ModuleConstantMetadataV12, + ModuleConstantMetadataV13, + ModuleMetadataV9, + ModuleMetadataV10, + ModuleMetadataV11, + ModuleMetadataV12, + ModuleMetadataV13, + OpaqueMetadata, + PalletCallMetadataLatest, + PalletCallMetadataV14, + PalletConstantMetadataLatest, + PalletConstantMetadataV14, + PalletErrorMetadataLatest, + PalletErrorMetadataV14, + PalletEventMetadataLatest, + PalletEventMetadataV14, + PalletMetadataLatest, + PalletMetadataV14, + PalletStorageMetadataLatest, + PalletStorageMetadataV14, + PortableType, + PortableTypeV14, + SignedExtensionMetadataLatest, + SignedExtensionMetadataV14, + StorageEntryMetadataLatest, + StorageEntryMetadataV9, + StorageEntryMetadataV10, + StorageEntryMetadataV11, + StorageEntryMetadataV12, + StorageEntryMetadataV13, + StorageEntryMetadataV14, + StorageEntryModifierLatest, + StorageEntryModifierV9, + StorageEntryModifierV10, + StorageEntryModifierV11, + StorageEntryModifierV12, + StorageEntryModifierV13, + StorageEntryModifierV14, + StorageEntryTypeLatest, + StorageEntryTypeV9, + StorageEntryTypeV10, + StorageEntryTypeV11, + StorageEntryTypeV12, + StorageEntryTypeV13, + StorageEntryTypeV14, + StorageHasher, + StorageHasherV9, + StorageHasherV10, + StorageHasherV11, + StorageHasherV12, + StorageHasherV13, + StorageHasherV14, + StorageMetadataV9, + StorageMetadataV10, + StorageMetadataV11, + StorageMetadataV12, + StorageMetadataV13 +} from '@polkadot/types/interfaces/metadata'; +import type { + MmrBatchProof, + MmrEncodableOpaqueLeaf, + MmrError, + MmrLeafBatchProof, + MmrLeafIndex, + MmrLeafProof, + MmrNodeIndex, + MmrProof +} from '@polkadot/types/interfaces/mmr'; +import type { NpApiError } from '@polkadot/types/interfaces/nompools'; +import type { StorageKind } from '@polkadot/types/interfaces/offchain'; +import type { + DeferredOffenceOf, + Kind, + OffenceDetails, + Offender, + OpaqueTimeSlot, + Reporter, + ReportIdOf +} from '@polkadot/types/interfaces/offences'; +import type { + AbridgedCandidateReceipt, + AbridgedHostConfiguration, + AbridgedHrmpChannel, + AssignmentId, + AssignmentKind, + AttestedCandidate, + AuctionIndex, + AuthorityDiscoveryId, + AvailabilityBitfield, + AvailabilityBitfieldRecord, + BackedCandidate, + Bidder, + BufferedSessionChange, + CandidateCommitments, + CandidateDescriptor, + CandidateEvent, + CandidateHash, + CandidateInfo, + CandidatePendingAvailability, + CandidateReceipt, + CollatorId, + CollatorSignature, + CommittedCandidateReceipt, + CoreAssignment, + CoreIndex, + CoreOccupied, + CoreState, + DisputeLocation, + DisputeResult, + DisputeState, + DisputeStatement, + DisputeStatementSet, + DoubleVoteReport, + DownwardMessage, + ExplicitDisputeStatement, + GlobalValidationData, + GlobalValidationSchedule, + GroupIndex, + GroupRotationInfo, + HeadData, + HostConfiguration, + HrmpChannel, + HrmpChannelId, + HrmpOpenChannelRequest, + InboundDownwardMessage, + InboundHrmpMessage, + InboundHrmpMessages, + IncomingParachain, + IncomingParachainDeploy, + IncomingParachainFixed, + InvalidDisputeStatementKind, + LeasePeriod, + LeasePeriodOf, + LocalValidationData, + MessageIngestionType, + MessageQueueChain, + MessagingStateSnapshot, + MessagingStateSnapshotEgressEntry, + MultiDisputeStatementSet, + NewBidder, + OccupiedCore, + OccupiedCoreAssumption, + OldV1SessionInfo, + OutboundHrmpMessage, + ParachainDispatchOrigin, + ParachainInherentData, + ParachainProposal, + ParachainsInherentData, + ParaGenesisArgs, + ParaId, + ParaInfo, + ParaLifecycle, + ParaPastCodeMeta, + ParaScheduling, + ParathreadClaim, + ParathreadClaimQueue, + ParathreadEntry, + ParaValidatorIndex, + PersistedValidationData, + PvfCheckStatement, + QueuedParathread, + RegisteredParachainInfo, + RelayBlockNumber, + RelayChainBlockNumber, + RelayChainHash, + RelayHash, + Remark, + ReplacementTimes, + Retriable, + ScheduledCore, + Scheduling, + ScrapedOnChainVotes, + ServiceQuality, + SessionInfo, + SessionInfoValidatorGroup, + SignedAvailabilityBitfield, + SignedAvailabilityBitfields, + SigningContext, + SlotRange, + SlotRange10, + Statement, + SubId, + SystemInherentData, + TransientValidationData, + UpgradeGoAhead, + UpgradeRestriction, + UpwardMessage, + ValidationCode, + ValidationCodeHash, + ValidationData, + ValidationDataType, + ValidationFunctionParams, + ValidatorSignature, + ValidDisputeStatementKind, + ValidityAttestation, + VecInboundHrmpMessage, + WinnersData, + WinnersData10, + WinnersDataTuple, + WinnersDataTuple10, + WinningData, + WinningData10, + WinningDataEntry +} from '@polkadot/types/interfaces/parachains'; +import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { Approvals } from '@polkadot/types/interfaces/poll'; +import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; +import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; +import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; +import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; +import type { + AccountId, + AccountId20, + AccountId32, + AccountId33, + AccountIdOf, + AccountIndex, + Address, + AssetId, + Balance, + BalanceOf, + Block, + BlockNumber, + BlockNumberFor, + BlockNumberOf, + Call, + CallHash, + CallHashOf, + ChangesTrieConfiguration, + ChangesTrieSignal, + CodecHash, + Consensus, + ConsensusEngineId, + CrateVersion, + Digest, + DigestItem, + EncodedJustification, + ExtrinsicsWeight, + Fixed64, + Fixed128, + FixedI64, + FixedI128, + FixedU64, + FixedU128, + H32, + H64, + H128, + H160, + H256, + H512, + H1024, + H2048, + Hash, + Header, + HeaderPartial, + I32F32, + Index, + IndicesLookupSource, + Justification, + Justifications, + KeyTypeId, + KeyValue, + LockIdentifier, + LookupSource, + LookupTarget, + ModuleId, + Moment, + MultiAddress, + MultiSigner, + OpaqueCall, + Origin, + OriginCaller, + PalletId, + PalletsOrigin, + PalletVersion, + Pays, + Perbill, + Percent, + Permill, + Perquintill, + PerU16, + Phantom, + PhantomData, + PreRuntime, + Releases, + RuntimeDbWeight, + Seal, + SealV0, + SignedBlock, + SignedBlockWithJustification, + SignedBlockWithJustifications, + Slot, + SlotDuration, + StorageData, + StorageInfo, + StorageProof, + TransactionInfo, + TransactionLongevity, + TransactionPriority, + TransactionStorageProof, + TransactionTag, + U32F32, + ValidatorId, + ValidatorIdOf, + Weight, + WeightMultiplier, + WeightV1, + WeightV2 +} from '@polkadot/types/interfaces/runtime'; +import type { + Si0Field, + Si0LookupTypeId, + Si0Path, + Si0Type, + Si0TypeDef, + Si0TypeDefArray, + Si0TypeDefBitSequence, + Si0TypeDefCompact, + Si0TypeDefComposite, + Si0TypeDefPhantom, + Si0TypeDefPrimitive, + Si0TypeDefSequence, + Si0TypeDefTuple, + Si0TypeDefVariant, + Si0TypeParameter, + Si0Variant, + Si1Field, + Si1LookupTypeId, + Si1Path, + Si1Type, + Si1TypeDef, + Si1TypeDefArray, + Si1TypeDefBitSequence, + Si1TypeDefCompact, + Si1TypeDefComposite, + Si1TypeDefPrimitive, + Si1TypeDefSequence, + Si1TypeDefTuple, + Si1TypeDefVariant, + Si1TypeParameter, + Si1Variant, + SiField, + SiLookupTypeId, + SiPath, + SiType, + SiTypeDef, + SiTypeDefArray, + SiTypeDefBitSequence, + SiTypeDefCompact, + SiTypeDefComposite, + SiTypeDefPrimitive, + SiTypeDefSequence, + SiTypeDefTuple, + SiTypeDefVariant, + SiTypeParameter, + SiVariant +} from '@polkadot/types/interfaces/scaleInfo'; +import type { + Period, + Priority, + Scheduled, + ScheduledTo254, + SchedulePeriod, + SchedulePriority, + TaskAddress +} from '@polkadot/types/interfaces/scheduler'; +import type { + BeefyKey, + FullIdentification, + IdentificationTuple, + Keys, + MembershipProof, + SessionIndex, + SessionKeys1, + SessionKeys2, + SessionKeys3, + SessionKeys4, + SessionKeys5, + SessionKeys6, + SessionKeys6B, + SessionKeys7, + SessionKeys7B, + SessionKeys8, + SessionKeys8B, + SessionKeys9, + SessionKeys9B, + SessionKeys10, + SessionKeys10B, + ValidatorCount +} from '@polkadot/types/interfaces/session'; +import type { + Bid, + BidKind, + SocietyJudgement, + SocietyVote, + StrikeCount, + VouchingStatus +} from '@polkadot/types/interfaces/society'; +import type { + ActiveEraInfo, + CompactAssignments, + CompactAssignmentsTo257, + CompactAssignmentsTo265, + CompactAssignmentsWith16, + CompactAssignmentsWith24, + CompactScore, + CompactScoreCompact, + ElectionCompute, + ElectionPhase, + ElectionResult, + ElectionScore, + ElectionSize, + ElectionStatus, + EraIndex, + EraPoints, + EraRewardPoints, + EraRewards, + Exposure, + ExtendedBalance, + Forcing, + IndividualExposure, + KeyType, + MomentOf, + Nominations, + NominatorIndex, + NominatorIndexCompact, + OffchainAccuracy, + OffchainAccuracyCompact, + PhragmenScore, + Points, + RawSolution, + RawSolutionTo265, + RawSolutionWith16, + RawSolutionWith24, + ReadySolution, + RewardDestination, + RewardPoint, + RoundSnapshot, + SeatHolder, + SignedSubmission, + SignedSubmissionOf, + SignedSubmissionTo276, + SlashingSpans, + SlashingSpansTo204, + SlashJournalEntry, + SolutionOrSnapshotSize, + SolutionSupport, + SolutionSupports, + SpanIndex, + SpanRecord, + StakingLedger, + StakingLedgerTo223, + StakingLedgerTo240, + SubmissionIndicesOf, + Supports, + UnappliedSlash, + UnappliedSlashOther, + UnlockChunk, + ValidatorIndex, + ValidatorIndexCompact, + ValidatorPrefs, + ValidatorPrefsTo145, + ValidatorPrefsTo196, + ValidatorPrefsWithBlocked, + ValidatorPrefsWithCommission, + Voter, + VoteWeight +} from '@polkadot/types/interfaces/staking'; +import type { + ApiId, + BlockTrace, + BlockTraceEvent, + BlockTraceEventData, + BlockTraceSpan, + KeyValueOption, + MigrationStatusResult, + ReadProof, + RuntimeVersion, + RuntimeVersionApi, + RuntimeVersionPartial, + RuntimeVersionPre3, + RuntimeVersionPre4, + SpecVersion, + StorageChangeSet, + TraceBlockResponse, + TraceError +} from '@polkadot/types/interfaces/state'; +import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; +import type { + AccountInfo, + AccountInfoWithDualRefCount, + AccountInfoWithProviders, + AccountInfoWithRefCount, + AccountInfoWithRefCountU8, + AccountInfoWithTripleRefCount, + ApplyExtrinsicResult, + ApplyExtrinsicResultPre6, + ArithmeticError, + BlockLength, + BlockWeights, + ChainProperties, + ChainType, + ConsumedWeight, + DigestOf, + DispatchClass, + DispatchError, + DispatchErrorModule, + DispatchErrorModulePre6, + DispatchErrorModuleU8, + DispatchErrorModuleU8a, + DispatchErrorPre6, + DispatchErrorPre6First, + DispatchErrorTo198, + DispatchInfo, + DispatchInfoTo190, + DispatchInfoTo244, + DispatchOutcome, + DispatchOutcomePre6, + DispatchResult, + DispatchResultOf, + DispatchResultTo198, + Event, + EventId, + EventIndex, + EventRecord, + Health, + InvalidTransaction, + Key, + LastRuntimeUpgradeInfo, + NetworkState, + NetworkStatePeerset, + NetworkStatePeersetInfo, + NodeRole, + NotConnectedPeer, + Peer, + PeerEndpoint, + PeerEndpointAddr, + PeerInfo, + PeerPing, + PerDispatchClassU32, + PerDispatchClassWeight, + PerDispatchClassWeightsPerClass, + Phase, + RawOrigin, + RefCount, + RefCountTo259, + SyncState, + SystemOrigin, + TokenError, + TransactionalError, + TransactionValidityError, + UnknownTransaction, + WeightPerClass +} from '@polkadot/types/interfaces/system'; +import type { + Bounty, + BountyIndex, + BountyStatus, + BountyStatusActive, + BountyStatusCuratorProposed, + BountyStatusPendingPayout, + OpenTip, + OpenTipFinderTo225, + OpenTipTip, + OpenTipTo225, + TreasuryProposal +} from '@polkadot/types/interfaces/treasury'; +import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; +import type { TransactionSource, TransactionValidity, ValidTransaction } from '@polkadot/types/interfaces/txqueue'; +import type { + ClassDetails, + ClassId, + ClassMetadata, + DepositBalance, + DepositBalanceOf, + DestroyWitness, + InstanceDetails, + InstanceId, + InstanceMetadata +} from '@polkadot/types/interfaces/uniques'; +import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; +import type { + AssetInstance, + AssetInstanceV0, + AssetInstanceV1, + AssetInstanceV2, + BodyId, + BodyPart, + DoubleEncodedCall, + Fungibility, + FungibilityV0, + FungibilityV1, + FungibilityV2, + InboundStatus, + InstructionV2, + InteriorMultiLocation, + Junction, + Junctions, + JunctionsV1, + JunctionsV2, + JunctionV0, + JunctionV1, + JunctionV2, + MultiAsset, + MultiAssetFilter, + MultiAssetFilterV1, + MultiAssetFilterV2, + MultiAssets, + MultiAssetsV1, + MultiAssetsV2, + MultiAssetV0, + MultiAssetV1, + MultiAssetV2, + MultiLocation, + MultiLocationV0, + MultiLocationV1, + MultiLocationV2, + NetworkId, + OriginKindV0, + OriginKindV1, + OriginKindV2, + OutboundStatus, + Outcome, + QueryId, + QueryStatus, + QueueConfigData, + Response, + ResponseV0, + ResponseV1, + ResponseV2, + ResponseV2Error, + ResponseV2Result, + VersionedMultiAsset, + VersionedMultiAssets, + VersionedMultiLocation, + VersionedResponse, + VersionedXcm, + VersionMigrationStage, + WeightLimitV2, + WildFungibility, + WildFungibilityV0, + WildFungibilityV1, + WildFungibilityV2, + WildMultiAsset, + WildMultiAssetV1, + WildMultiAssetV2, + Xcm, + XcmAssetId, + XcmError, + XcmErrorV0, + XcmErrorV1, + XcmErrorV2, + XcmOrder, + XcmOrderV0, + XcmOrderV1, + XcmOrderV2, + XcmOrigin, + XcmOriginKind, + XcmpMessageFormat, + XcmV0, + XcmV1, + XcmV2, + XcmVersion +} from '@polkadot/types/interfaces/xcm'; +import '@polkadot/types/types/registry'; + +import type { Asset } from '../assets'; +import type { + AssetsBalance, + ComposableTraitsDefiCurrencyPairCurrencyId, + ComposableTraitsDefiSellCurrencyId, + ComposableTraitsXcmCumulusMethodId, + ComposableTraitsXcmXcmSellRequest, + CurrencyId, + CustomRpcBalance, + CustomRpcCurrencyId, + SafeRpcWrapper +} from '../common'; +import type { + CommonMosaicRemoteAssetId, + ComposableSupportEthereumAddress, + ComposableTraitsAccountProxyProxyDefinition, + ComposableTraitsAccountProxyProxyType, + ComposableTraitsAssetsBasicAssetMetadata, + ComposableTraitsAssetsXcmAssetLocation, + ComposableTraitsAuctionAuctionStepFunction, + ComposableTraitsBondedFinanceBondDuration, + ComposableTraitsBondedFinanceBondOffer, + ComposableTraitsBondedFinanceBondOfferReward, + ComposableTraitsCallFilterCallFilterEntry, + ComposableTraitsCurrencyRational64, + ComposableTraitsDefiSell, + ComposableTraitsDefiTake, + ComposableTraitsDexAssetAmount, + ComposableTraitsDexConstantProductPoolInfo, + ComposableTraitsDexDexRoute, + ComposableTraitsDexStableSwapPoolInfo, + ComposableTraitsGovernanceSignedRawOrigin, + ComposableTraitsLendingCreateInput, + ComposableTraitsLendingMarketConfig, + ComposableTraitsLendingRepayStrategy, + ComposableTraitsLendingUpdateInput, + ComposableTraitsOraclePrice, + ComposableTraitsOracleRewardTracker, + ComposableTraitsStakingRewardPool, + ComposableTraitsStakingRewardPoolConfiguration, + ComposableTraitsStakingRewardUpdate, + ComposableTraitsStakingStake, + ComposableTraitsTimeTimeReleaseFunction, + ComposableTraitsVaultVaultConfig, + ComposableTraitsXcmAssetsForeignMetadata, + ComposableTraitsXcmAssetsXcmAssetLocation, + CumulusPalletDmpQueueConfigData, + CumulusPalletDmpQueuePageIndexData, + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, + CumulusPalletXcmpQueueInboundChannelDetails, + CumulusPalletXcmpQueueInboundStatus, + CumulusPalletXcmpQueueOutboundChannelDetails, + CumulusPalletXcmpQueueOutboundStatus, + CumulusPalletXcmpQueueQueueConfigData, + CumulusPrimitivesParachainInherentParachainInherentData, + DaliRuntimeOpaqueSessionKeys, + DaliRuntimeOriginCaller, + FrameSupportPalletId, + FrameSupportScheduleLookupError, + FrameSupportScheduleMaybeHashed, + FrameSupportTokensMiscBalanceStatus, + FrameSupportWeightsDispatchInfo, + FrameSupportWeightsPerDispatchClassU64, + FrameSupportWeightsRuntimeDbWeight, + FrameSystemAccountInfo, + FrameSystemEventRecord, + FrameSystemLastRuntimeUpgradeInfo, + FrameSystemLimitsBlockLength, + FrameSystemLimitsBlockWeights, + FrameSystemPhase, + IbcTraitOpenChannelParams, + IbcTransferPalletParams, + IbcTransferTransferParams, + OrmlTokensAccountData, + OrmlTokensBalanceLock, + OrmlTokensReserveData, + PalletAccountProxyAnnouncement, + PalletAssetsRegistryCandidateStatus, + PalletAssetsRegistryForeignMetadata, + PalletAuthorshipUncleEntryItem, + PalletBalancesAccountData, + PalletBalancesBalanceLock, + PalletBalancesReleases, + PalletBalancesReserveData, + PalletCollatorSelectionCandidateInfo, + PalletCollectiveVotes, + PalletCosmwasmCodeIdentifier, + PalletCosmwasmCodeInfo, + PalletCosmwasmContractInfo, + PalletCosmwasmEntryPoint, + PalletCosmwasmInstrumentCostRules, + PalletCrowdloanRewardsModelsEcdsaSignature, + PalletCrowdloanRewardsModelsProof, + PalletCrowdloanRewardsModelsRemoteAccount, + PalletCrowdloanRewardsModelsReward, + PalletCrowdloanRewardsReward, + PalletDemocracyConviction, + PalletDemocracyVoteAccountVote, + PalletDutchAuctionSellOrder, + PalletDutchAuctionTakeOrder, + PalletIbcAny, + PalletIbcConnectionParams, + PalletIbcErrorsIbcError, + PalletIbcEventsIbcEvent, + PalletIbcIbcConsensusState, + PalletIbcPalletParams, + PalletIbcPingSendPingParams, + PalletIbcTransferParams, + PalletIbcUpgradeParams, + PalletIdentityBitFlags, + PalletIdentityIdentityInfo, + PalletIdentityJudgement, + PalletIdentityRegistrarInfo, + PalletIdentityRegistration, + PalletLiquidationsLiquidationStrategyConfiguration, + PalletLiquidityBootstrappingPool, + PalletMosaicAmmSwapInfo, + PalletMosaicAssetInfo, + PalletMosaicDecayBudgetPenaltyDecayer, + PalletMosaicNetworkInfo, + PalletMosaicRelayerStaleRelayer, + PalletMultisigMultisig, + PalletMultisigTimepoint, + PalletOracleAssetInfo, + PalletOraclePrePrice, + PalletOraclePrice, + PalletOracleWithdraw, + PalletSchedulerReleases, + PalletSchedulerScheduledV2, + PalletSchedulerScheduledV3, + PalletStakingRewardsRewardAccumulationHookError, + PalletTransactionPaymentReleases, + PalletTreasuryProposal, + PalletVaultModelsStrategyOverview, + PalletVaultModelsVaultInfo, + PalletXcmQueryStatus, + PalletXcmVersionMigrationStage, + PolkadotCorePrimitivesOutboundHrmpMessage, + PolkadotParachainPrimitivesXcmpMessageFormat, + PolkadotPrimitivesV1AbridgedHostConfiguration, + PolkadotPrimitivesV1PersistedValidationData, + PolkadotPrimitivesV2AbridgedHostConfiguration, + PolkadotPrimitivesV2PersistedValidationData, + PolkadotPrimitivesV2UpgradeRestriction, + SpConsensusAuraSr25519AppSr25519Public, + SpCoreCryptoKeyTypeId, + SpRuntimeDigest, + SpRuntimeDispatchError, + SpRuntimeHeader, + SpTrieStorageProof, + SpVersionRuntimeVersion, + XcmV1MultiAsset, + XcmV1MultiassetMultiAssets, + XcmV1MultiLocation, + XcmV2Response, + XcmV2TraitsError, + XcmV2TraitsOutcome, + XcmV2WeightLimit, + XcmV2Xcm, + XcmVersionedMultiAsset, + XcmVersionedMultiAssets, + XcmVersionedMultiLocation, + XcmVersionedXcm +} from '../crowdloanRewards'; +import type { PalletCurrencyFactoryRanges, PalletCurrencyFactoryRangesRange } from '../currencyFactory'; +import type { + PalletDemocracyPreimageStatus, + PalletDemocracyReferendumInfo, + PalletDemocracyReleases, + PalletDemocracyVoteThreshold, + PalletDemocracyVoteVoting, + PalletPreimageRequestStatus +} from '../democracy'; +import type { + ComposableTraitsDexFee, + ComposableTraitsDexStakingRewardPool, + PalletPabloPoolConfiguration, + PalletPabloPoolId, + PalletPabloPoolInitConfiguration, + PalletPabloPriceAggregate, + PalletPabloPriceCumulative, + PalletPabloTimeWeightedAveragePrice +} from '../pablo'; +import type { + ComposableTraitsVestingVestingSchedule, + ComposableTraitsVestingVestingScheduleIdSet, + ComposableTraitsVestingVestingScheduleInfo, + VestingWindow +} from '../vesting'; + +export declare module '@polkadot/types/types/registry' { + export interface InterfaceTypes { + AbridgedCandidateReceipt: AbridgedCandidateReceipt; + AbridgedHostConfiguration: AbridgedHostConfiguration; + AbridgedHrmpChannel: AbridgedHrmpChannel; + AccountData: AccountData; + AccountId: AccountId; + AccountId20: AccountId20; + AccountId32: AccountId32; + AccountId33: AccountId33; + AccountIdOf: AccountIdOf; + AccountIndex: AccountIndex; + AccountInfo: AccountInfo; + AccountInfoWithDualRefCount: AccountInfoWithDualRefCount; + AccountInfoWithProviders: AccountInfoWithProviders; + AccountInfoWithRefCount: AccountInfoWithRefCount; + AccountInfoWithRefCountU8: AccountInfoWithRefCountU8; + AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount; + AccountStatus: AccountStatus; + AccountValidity: AccountValidity; + ActiveEraInfo: ActiveEraInfo; + ActiveGilt: ActiveGilt; + ActiveGiltsTotal: ActiveGiltsTotal; + ActiveIndex: ActiveIndex; + ActiveRecovery: ActiveRecovery; + Address: Address; + AliveContractInfo: AliveContractInfo; + AllowedSlots: AllowedSlots; + AnySignature: AnySignature; + ApiId: ApiId; + ApplyExtrinsicResult: ApplyExtrinsicResult; + ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; + ApprovalFlag: ApprovalFlag; + Approvals: Approvals; + ArithmeticError: ArithmeticError; + Asset: Asset; + AssetId: AssetId; + AssetInstance: AssetInstance; + AssetInstanceV0: AssetInstanceV0; + AssetInstanceV1: AssetInstanceV1; + AssetInstanceV2: AssetInstanceV2; + AssetOptions: AssetOptions; + AssetsBalance: AssetsBalance; + AssignmentId: AssignmentId; + AssignmentKind: AssignmentKind; + AttestedCandidate: AttestedCandidate; + AuctionIndex: AuctionIndex; + AuthIndex: AuthIndex; + AuthorityDiscoveryId: AuthorityDiscoveryId; + AuthorityId: AuthorityId; + AuthorityIndex: AuthorityIndex; + AuthorityList: AuthorityList; + AuthoritySet: AuthoritySet; + AuthoritySetChange: AuthoritySetChange; + AuthoritySetChanges: AuthoritySetChanges; + AuthoritySignature: AuthoritySignature; + AuthorityWeight: AuthorityWeight; + AvailabilityBitfield: AvailabilityBitfield; + AvailabilityBitfieldRecord: AvailabilityBitfieldRecord; + BabeAuthorityWeight: BabeAuthorityWeight; + BabeBlockWeight: BabeBlockWeight; + BabeEpochConfiguration: BabeEpochConfiguration; + BabeEquivocationProof: BabeEquivocationProof; + BabeGenesisConfiguration: BabeGenesisConfiguration; + BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; + BabeWeight: BabeWeight; + BackedCandidate: BackedCandidate; + Balance: Balance; + BalanceLock: BalanceLock; + BalanceLockTo212: BalanceLockTo212; + BalanceOf: BalanceOf; + BalanceStatus: BalanceStatus; + BeefyAuthoritySet: BeefyAuthoritySet; + BeefyCommitment: BeefyCommitment; + BeefyId: BeefyId; + BeefyKey: BeefyKey; + BeefyNextAuthoritySet: BeefyNextAuthoritySet; + BeefyPayload: BeefyPayload; + BeefyPayloadId: BeefyPayloadId; + BeefySignedCommitment: BeefySignedCommitment; + BenchmarkBatch: BenchmarkBatch; + BenchmarkConfig: BenchmarkConfig; + BenchmarkList: BenchmarkList; + BenchmarkMetadata: BenchmarkMetadata; + BenchmarkParameter: BenchmarkParameter; + BenchmarkResult: BenchmarkResult; + Bid: Bid; + Bidder: Bidder; + BidKind: BidKind; + BitVec: BitVec; + Block: Block; + BlockAttestations: BlockAttestations; + BlockHash: BlockHash; + BlockLength: BlockLength; + BlockNumber: BlockNumber; + BlockNumberFor: BlockNumberFor; + BlockNumberOf: BlockNumberOf; + BlockStats: BlockStats; + BlockTrace: BlockTrace; + BlockTraceEvent: BlockTraceEvent; + BlockTraceEventData: BlockTraceEventData; + BlockTraceSpan: BlockTraceSpan; + BlockV0: BlockV0; + BlockV1: BlockV1; + BlockV2: BlockV2; + BlockWeights: BlockWeights; + BodyId: BodyId; + BodyPart: BodyPart; + bool: bool; + Bool: Bool; + Bounty: Bounty; + BountyIndex: BountyIndex; + BountyStatus: BountyStatus; + BountyStatusActive: BountyStatusActive; + BountyStatusCuratorProposed: BountyStatusCuratorProposed; + BountyStatusPendingPayout: BountyStatusPendingPayout; + BridgedBlockHash: BridgedBlockHash; + BridgedBlockNumber: BridgedBlockNumber; + BridgedHeader: BridgedHeader; + BridgeMessageId: BridgeMessageId; + BufferedSessionChange: BufferedSessionChange; + Bytes: Bytes; + Call: Call; + CallHash: CallHash; + CallHashOf: CallHashOf; + CallIndex: CallIndex; + CallOrigin: CallOrigin; + CandidateCommitments: CandidateCommitments; + CandidateDescriptor: CandidateDescriptor; + CandidateEvent: CandidateEvent; + CandidateHash: CandidateHash; + CandidateInfo: CandidateInfo; + CandidatePendingAvailability: CandidatePendingAvailability; + CandidateReceipt: CandidateReceipt; + ChainId: ChainId; + ChainProperties: ChainProperties; + ChainType: ChainType; + ChangesTrieConfiguration: ChangesTrieConfiguration; + ChangesTrieSignal: ChangesTrieSignal; + CheckInherentsResult: CheckInherentsResult; + ClassDetails: ClassDetails; + ClassId: ClassId; + ClassMetadata: ClassMetadata; + CodecHash: CodecHash; + CodeHash: CodeHash; + CodeSource: CodeSource; + CodeUploadRequest: CodeUploadRequest; + CodeUploadResult: CodeUploadResult; + CodeUploadResultValue: CodeUploadResultValue; + CollationInfo: CollationInfo; + CollationInfoV1: CollationInfoV1; + CollatorId: CollatorId; + CollatorSignature: CollatorSignature; + CollectiveOrigin: CollectiveOrigin; + CommittedCandidateReceipt: CommittedCandidateReceipt; + CommonMosaicRemoteAssetId: CommonMosaicRemoteAssetId; + CompactAssignments: CompactAssignments; + CompactAssignmentsTo257: CompactAssignmentsTo257; + CompactAssignmentsTo265: CompactAssignmentsTo265; + CompactAssignmentsWith16: CompactAssignmentsWith16; + CompactAssignmentsWith24: CompactAssignmentsWith24; + CompactScore: CompactScore; + CompactScoreCompact: CompactScoreCompact; + ComposableSupportEthereumAddress: ComposableSupportEthereumAddress; + ComposableTraitsAccountProxyProxyDefinition: ComposableTraitsAccountProxyProxyDefinition; + ComposableTraitsAccountProxyProxyType: ComposableTraitsAccountProxyProxyType; + ComposableTraitsAssetsBasicAssetMetadata: ComposableTraitsAssetsBasicAssetMetadata; + ComposableTraitsAssetsXcmAssetLocation: ComposableTraitsAssetsXcmAssetLocation; + ComposableTraitsAuctionAuctionStepFunction: ComposableTraitsAuctionAuctionStepFunction; + ComposableTraitsBondedFinanceBondDuration: ComposableTraitsBondedFinanceBondDuration; + ComposableTraitsBondedFinanceBondOffer: ComposableTraitsBondedFinanceBondOffer; + ComposableTraitsBondedFinanceBondOfferReward: ComposableTraitsBondedFinanceBondOfferReward; + ComposableTraitsCallFilterCallFilterEntry: ComposableTraitsCallFilterCallFilterEntry; + ComposableTraitsCurrencyRational64: ComposableTraitsCurrencyRational64; + ComposableTraitsDefiCurrencyPairCurrencyId: ComposableTraitsDefiCurrencyPairCurrencyId; + ComposableTraitsDefiSell: ComposableTraitsDefiSell; + ComposableTraitsDefiSellCurrencyId: ComposableTraitsDefiSellCurrencyId; + ComposableTraitsDefiTake: ComposableTraitsDefiTake; + ComposableTraitsDexAssetAmount: ComposableTraitsDexAssetAmount; + ComposableTraitsDexConstantProductPoolInfo: ComposableTraitsDexConstantProductPoolInfo; + ComposableTraitsDexDexRoute: ComposableTraitsDexDexRoute; + ComposableTraitsDexFee: ComposableTraitsDexFee; + ComposableTraitsDexStableSwapPoolInfo: ComposableTraitsDexStableSwapPoolInfo; + ComposableTraitsDexStakingRewardPool: ComposableTraitsDexStakingRewardPool; + ComposableTraitsGovernanceSignedRawOrigin: ComposableTraitsGovernanceSignedRawOrigin; + ComposableTraitsLendingCreateInput: ComposableTraitsLendingCreateInput; + ComposableTraitsLendingMarketConfig: ComposableTraitsLendingMarketConfig; + ComposableTraitsLendingRepayStrategy: ComposableTraitsLendingRepayStrategy; + ComposableTraitsLendingUpdateInput: ComposableTraitsLendingUpdateInput; + ComposableTraitsOraclePrice: ComposableTraitsOraclePrice; + ComposableTraitsOracleRewardTracker: ComposableTraitsOracleRewardTracker; + ComposableTraitsStakingRewardPool: ComposableTraitsStakingRewardPool; + ComposableTraitsStakingRewardPoolConfiguration: ComposableTraitsStakingRewardPoolConfiguration; + ComposableTraitsStakingRewardUpdate: ComposableTraitsStakingRewardUpdate; + ComposableTraitsStakingStake: ComposableTraitsStakingStake; + ComposableTraitsTimeTimeReleaseFunction: ComposableTraitsTimeTimeReleaseFunction; + ComposableTraitsVaultVaultConfig: ComposableTraitsVaultVaultConfig; + ComposableTraitsVestingVestingSchedule: ComposableTraitsVestingVestingSchedule; + ComposableTraitsVestingVestingScheduleIdSet: ComposableTraitsVestingVestingScheduleIdSet; + ComposableTraitsVestingVestingScheduleInfo: ComposableTraitsVestingVestingScheduleInfo; + ComposableTraitsXcmAssetsForeignMetadata: ComposableTraitsXcmAssetsForeignMetadata; + ComposableTraitsXcmAssetsXcmAssetLocation: ComposableTraitsXcmAssetsXcmAssetLocation; + ComposableTraitsXcmCumulusMethodId: ComposableTraitsXcmCumulusMethodId; + ComposableTraitsXcmXcmSellRequest: ComposableTraitsXcmXcmSellRequest; + ConfigData: ConfigData; + Consensus: Consensus; + ConsensusEngineId: ConsensusEngineId; + ConsumedWeight: ConsumedWeight; + ContractCallFlags: ContractCallFlags; + ContractCallRequest: ContractCallRequest; + ContractConstructorSpecLatest: ContractConstructorSpecLatest; + ContractConstructorSpecV0: ContractConstructorSpecV0; + ContractConstructorSpecV1: ContractConstructorSpecV1; + ContractConstructorSpecV2: ContractConstructorSpecV2; + ContractConstructorSpecV3: ContractConstructorSpecV3; + ContractContractSpecV0: ContractContractSpecV0; + ContractContractSpecV1: ContractContractSpecV1; + ContractContractSpecV2: ContractContractSpecV2; + ContractContractSpecV3: ContractContractSpecV3; + ContractContractSpecV4: ContractContractSpecV4; + ContractCryptoHasher: ContractCryptoHasher; + ContractDiscriminant: ContractDiscriminant; + ContractDisplayName: ContractDisplayName; + ContractEventParamSpecLatest: ContractEventParamSpecLatest; + ContractEventParamSpecV0: ContractEventParamSpecV0; + ContractEventParamSpecV2: ContractEventParamSpecV2; + ContractEventSpecLatest: ContractEventSpecLatest; + ContractEventSpecV0: ContractEventSpecV0; + ContractEventSpecV1: ContractEventSpecV1; + ContractEventSpecV2: ContractEventSpecV2; + ContractExecResult: ContractExecResult; + ContractExecResultOk: ContractExecResultOk; + ContractExecResultResult: ContractExecResultResult; + ContractExecResultSuccessTo255: ContractExecResultSuccessTo255; + ContractExecResultSuccessTo260: ContractExecResultSuccessTo260; + ContractExecResultTo255: ContractExecResultTo255; + ContractExecResultTo260: ContractExecResultTo260; + ContractExecResultTo267: ContractExecResultTo267; + ContractInfo: ContractInfo; + ContractInstantiateResult: ContractInstantiateResult; + ContractInstantiateResultTo267: ContractInstantiateResultTo267; + ContractInstantiateResultTo299: ContractInstantiateResultTo299; + ContractLayoutArray: ContractLayoutArray; + ContractLayoutCell: ContractLayoutCell; + ContractLayoutEnum: ContractLayoutEnum; + ContractLayoutHash: ContractLayoutHash; + ContractLayoutHashingStrategy: ContractLayoutHashingStrategy; + ContractLayoutKey: ContractLayoutKey; + ContractLayoutStruct: ContractLayoutStruct; + ContractLayoutStructField: ContractLayoutStructField; + ContractMessageParamSpecLatest: ContractMessageParamSpecLatest; + ContractMessageParamSpecV0: ContractMessageParamSpecV0; + ContractMessageParamSpecV2: ContractMessageParamSpecV2; + ContractMessageSpecLatest: ContractMessageSpecLatest; + ContractMessageSpecV0: ContractMessageSpecV0; + ContractMessageSpecV1: ContractMessageSpecV1; + ContractMessageSpecV2: ContractMessageSpecV2; + ContractMetadata: ContractMetadata; + ContractMetadataLatest: ContractMetadataLatest; + ContractMetadataV0: ContractMetadataV0; + ContractMetadataV1: ContractMetadataV1; + ContractMetadataV2: ContractMetadataV2; + ContractMetadataV3: ContractMetadataV3; + ContractMetadataV4: ContractMetadataV4; + ContractProject: ContractProject; + ContractProjectContract: ContractProjectContract; + ContractProjectInfo: ContractProjectInfo; + ContractProjectSource: ContractProjectSource; + ContractProjectV0: ContractProjectV0; + ContractReturnFlags: ContractReturnFlags; + ContractSelector: ContractSelector; + ContractStorageKey: ContractStorageKey; + ContractStorageLayout: ContractStorageLayout; + ContractTypeSpec: ContractTypeSpec; + CoreAssignment: CoreAssignment; + CoreIndex: CoreIndex; + CoreOccupied: CoreOccupied; + CoreState: CoreState; + CrateVersion: CrateVersion; + CreatedBlock: CreatedBlock; + CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData; + CumulusPalletDmpQueuePageIndexData: CumulusPalletDmpQueuePageIndexData; + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot; + CumulusPalletXcmpQueueInboundChannelDetails: CumulusPalletXcmpQueueInboundChannelDetails; + CumulusPalletXcmpQueueInboundStatus: CumulusPalletXcmpQueueInboundStatus; + CumulusPalletXcmpQueueOutboundChannelDetails: CumulusPalletXcmpQueueOutboundChannelDetails; + CumulusPalletXcmpQueueOutboundStatus: CumulusPalletXcmpQueueOutboundStatus; + CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData; + CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData; + CurrencyId: CurrencyId; + CustomRpcBalance: CustomRpcBalance; + CustomRpcCurrencyId: CustomRpcCurrencyId; + DaliRuntimeOpaqueSessionKeys: DaliRuntimeOpaqueSessionKeys; + DaliRuntimeOriginCaller: DaliRuntimeOriginCaller; + Data: Data; + DeferredOffenceOf: DeferredOffenceOf; + DefunctVoter: DefunctVoter; + DelayKind: DelayKind; + DelayKindBest: DelayKindBest; + DeletedContract: DeletedContract; + DeliveredMessages: DeliveredMessages; + DepositBalance: DepositBalance; + DepositBalanceOf: DepositBalanceOf; + DestroyWitness: DestroyWitness; + Digest: Digest; + DigestItem: DigestItem; + DigestOf: DigestOf; + DispatchClass: DispatchClass; + DispatchError: DispatchError; + DispatchErrorModule: DispatchErrorModule; + DispatchErrorModulePre6: DispatchErrorModulePre6; + DispatchErrorModuleU8: DispatchErrorModuleU8; + DispatchErrorModuleU8a: DispatchErrorModuleU8a; + DispatchErrorPre6: DispatchErrorPre6; + DispatchErrorPre6First: DispatchErrorPre6First; + DispatchErrorTo198: DispatchErrorTo198; + DispatchFeePayment: DispatchFeePayment; + DispatchInfo: DispatchInfo; + DispatchInfoTo190: DispatchInfoTo190; + DispatchInfoTo244: DispatchInfoTo244; + DispatchOutcome: DispatchOutcome; + DispatchOutcomePre6: DispatchOutcomePre6; + DispatchResult: DispatchResult; + DispatchResultOf: DispatchResultOf; + DispatchResultTo198: DispatchResultTo198; + DisputeLocation: DisputeLocation; + DisputeResult: DisputeResult; + DisputeState: DisputeState; + DisputeStatement: DisputeStatement; + DisputeStatementSet: DisputeStatementSet; + DoubleEncodedCall: DoubleEncodedCall; + DoubleVoteReport: DoubleVoteReport; + DownwardMessage: DownwardMessage; + EcdsaSignature: EcdsaSignature; + Ed25519Signature: Ed25519Signature; + EIP1559Transaction: EIP1559Transaction; + EIP2930Transaction: EIP2930Transaction; + ElectionCompute: ElectionCompute; + ElectionPhase: ElectionPhase; + ElectionResult: ElectionResult; + ElectionScore: ElectionScore; + ElectionSize: ElectionSize; + ElectionStatus: ElectionStatus; + EncodedFinalityProofs: EncodedFinalityProofs; + EncodedJustification: EncodedJustification; + Epoch: Epoch; + EpochAuthorship: EpochAuthorship; + Era: Era; + EraIndex: EraIndex; + EraPoints: EraPoints; + EraRewardPoints: EraRewardPoints; + EraRewards: EraRewards; + ErrorMetadataLatest: ErrorMetadataLatest; + ErrorMetadataV10: ErrorMetadataV10; + ErrorMetadataV11: ErrorMetadataV11; + ErrorMetadataV12: ErrorMetadataV12; + ErrorMetadataV13: ErrorMetadataV13; + ErrorMetadataV14: ErrorMetadataV14; + ErrorMetadataV9: ErrorMetadataV9; + EthAccessList: EthAccessList; + EthAccessListItem: EthAccessListItem; + EthAccount: EthAccount; + EthAddress: EthAddress; + EthBlock: EthBlock; + EthBloom: EthBloom; + EthCallRequest: EthCallRequest; + EthereumAccountId: EthereumAccountId; + EthereumAddress: EthereumAddress; + EthereumLookupSource: EthereumLookupSource; + EthereumSignature: EthereumSignature; + EthFeeHistory: EthFeeHistory; + EthFilter: EthFilter; + EthFilterAddress: EthFilterAddress; + EthFilterChanges: EthFilterChanges; + EthFilterTopic: EthFilterTopic; + EthFilterTopicEntry: EthFilterTopicEntry; + EthFilterTopicInner: EthFilterTopicInner; + EthHeader: EthHeader; + EthLog: EthLog; + EthReceipt: EthReceipt; + EthReceiptV0: EthReceiptV0; + EthReceiptV3: EthReceiptV3; + EthRichBlock: EthRichBlock; + EthRichHeader: EthRichHeader; + EthStorageProof: EthStorageProof; + EthSubKind: EthSubKind; + EthSubParams: EthSubParams; + EthSubResult: EthSubResult; + EthSyncInfo: EthSyncInfo; + EthSyncStatus: EthSyncStatus; + EthTransaction: EthTransaction; + EthTransactionAction: EthTransactionAction; + EthTransactionCondition: EthTransactionCondition; + EthTransactionRequest: EthTransactionRequest; + EthTransactionSignature: EthTransactionSignature; + EthTransactionStatus: EthTransactionStatus; + EthWork: EthWork; + Event: Event; + EventId: EventId; + EventIndex: EventIndex; + EventMetadataLatest: EventMetadataLatest; + EventMetadataV10: EventMetadataV10; + EventMetadataV11: EventMetadataV11; + EventMetadataV12: EventMetadataV12; + EventMetadataV13: EventMetadataV13; + EventMetadataV14: EventMetadataV14; + EventMetadataV9: EventMetadataV9; + EventRecord: EventRecord; + EvmAccount: EvmAccount; + EvmCallInfo: EvmCallInfo; + EvmCreateInfo: EvmCreateInfo; + EvmLog: EvmLog; + EvmVicinity: EvmVicinity; + ExecReturnValue: ExecReturnValue; + ExitError: ExitError; + ExitFatal: ExitFatal; + ExitReason: ExitReason; + ExitRevert: ExitRevert; + ExitSucceed: ExitSucceed; + ExplicitDisputeStatement: ExplicitDisputeStatement; + Exposure: Exposure; + ExtendedBalance: ExtendedBalance; + Extrinsic: Extrinsic; + ExtrinsicEra: ExtrinsicEra; + ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; + ExtrinsicMetadataV11: ExtrinsicMetadataV11; + ExtrinsicMetadataV12: ExtrinsicMetadataV12; + ExtrinsicMetadataV13: ExtrinsicMetadataV13; + ExtrinsicMetadataV14: ExtrinsicMetadataV14; + ExtrinsicOrHash: ExtrinsicOrHash; + ExtrinsicPayload: ExtrinsicPayload; + ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; + ExtrinsicPayloadV4: ExtrinsicPayloadV4; + ExtrinsicSignature: ExtrinsicSignature; + ExtrinsicSignatureV4: ExtrinsicSignatureV4; + ExtrinsicStatus: ExtrinsicStatus; + ExtrinsicsWeight: ExtrinsicsWeight; + ExtrinsicUnknown: ExtrinsicUnknown; + ExtrinsicV4: ExtrinsicV4; + f32: f32; + F32: F32; + f64: f64; + F64: F64; + FeeDetails: FeeDetails; + Fixed128: Fixed128; + Fixed64: Fixed64; + FixedI128: FixedI128; + FixedI64: FixedI64; + FixedU128: FixedU128; + FixedU64: FixedU64; + Forcing: Forcing; + ForkTreePendingChange: ForkTreePendingChange; + ForkTreePendingChangeNode: ForkTreePendingChangeNode; + FrameSupportPalletId: FrameSupportPalletId; + FrameSupportScheduleLookupError: FrameSupportScheduleLookupError; + FrameSupportScheduleMaybeHashed: FrameSupportScheduleMaybeHashed; + FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; + FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo; + FrameSupportWeightsPerDispatchClassU64: FrameSupportWeightsPerDispatchClassU64; + FrameSupportWeightsRuntimeDbWeight: FrameSupportWeightsRuntimeDbWeight; + FrameSystemAccountInfo: FrameSystemAccountInfo; + FrameSystemEventRecord: FrameSystemEventRecord; + FrameSystemLastRuntimeUpgradeInfo: FrameSystemLastRuntimeUpgradeInfo; + FrameSystemLimitsBlockLength: FrameSystemLimitsBlockLength; + FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights; + FrameSystemPhase: FrameSystemPhase; + FullIdentification: FullIdentification; + FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest; + FunctionArgumentMetadataV10: FunctionArgumentMetadataV10; + FunctionArgumentMetadataV11: FunctionArgumentMetadataV11; + FunctionArgumentMetadataV12: FunctionArgumentMetadataV12; + FunctionArgumentMetadataV13: FunctionArgumentMetadataV13; + FunctionArgumentMetadataV14: FunctionArgumentMetadataV14; + FunctionArgumentMetadataV9: FunctionArgumentMetadataV9; + FunctionMetadataLatest: FunctionMetadataLatest; + FunctionMetadataV10: FunctionMetadataV10; + FunctionMetadataV11: FunctionMetadataV11; + FunctionMetadataV12: FunctionMetadataV12; + FunctionMetadataV13: FunctionMetadataV13; + FunctionMetadataV14: FunctionMetadataV14; + FunctionMetadataV9: FunctionMetadataV9; + FundIndex: FundIndex; + FundInfo: FundInfo; + Fungibility: Fungibility; + FungibilityV0: FungibilityV0; + FungibilityV1: FungibilityV1; + FungibilityV2: FungibilityV2; + Gas: Gas; + GiltBid: GiltBid; + GlobalValidationData: GlobalValidationData; + GlobalValidationSchedule: GlobalValidationSchedule; + GrandpaCommit: GrandpaCommit; + GrandpaEquivocation: GrandpaEquivocation; + GrandpaEquivocationProof: GrandpaEquivocationProof; + GrandpaEquivocationValue: GrandpaEquivocationValue; + GrandpaJustification: GrandpaJustification; + GrandpaPrecommit: GrandpaPrecommit; + GrandpaPrevote: GrandpaPrevote; + GrandpaSignedPrecommit: GrandpaSignedPrecommit; + GroupIndex: GroupIndex; + GroupRotationInfo: GroupRotationInfo; + H1024: H1024; + H128: H128; + H160: H160; + H2048: H2048; + H256: H256; + H32: H32; + H512: H512; + H64: H64; + Hash: Hash; + HeadData: HeadData; + Header: Header; + HeaderPartial: HeaderPartial; + Health: Health; + Heartbeat: Heartbeat; + HeartbeatTo244: HeartbeatTo244; + HostConfiguration: HostConfiguration; + HostFnWeights: HostFnWeights; + HostFnWeightsTo264: HostFnWeightsTo264; + HrmpChannel: HrmpChannel; + HrmpChannelId: HrmpChannelId; + HrmpOpenChannelRequest: HrmpOpenChannelRequest; + i128: i128; + I128: I128; + i16: i16; + I16: I16; + i256: i256; + I256: I256; + i32: i32; + I32: I32; + I32F32: I32F32; + i64: i64; + I64: I64; + i8: i8; + I8: I8; + IbcTraitOpenChannelParams: IbcTraitOpenChannelParams; + IbcTransferPalletParams: IbcTransferPalletParams; + IbcTransferTransferParams: IbcTransferTransferParams; + IdentificationTuple: IdentificationTuple; + IdentityFields: IdentityFields; + IdentityInfo: IdentityInfo; + IdentityInfoAdditional: IdentityInfoAdditional; + IdentityInfoTo198: IdentityInfoTo198; + IdentityJudgement: IdentityJudgement; + ImmortalEra: ImmortalEra; + ImportedAux: ImportedAux; + InboundDownwardMessage: InboundDownwardMessage; + InboundHrmpMessage: InboundHrmpMessage; + InboundHrmpMessages: InboundHrmpMessages; + InboundLaneData: InboundLaneData; + InboundRelayer: InboundRelayer; + InboundStatus: InboundStatus; + IncludedBlocks: IncludedBlocks; + InclusionFee: InclusionFee; + IncomingParachain: IncomingParachain; + IncomingParachainDeploy: IncomingParachainDeploy; + IncomingParachainFixed: IncomingParachainFixed; + Index: Index; + IndicesLookupSource: IndicesLookupSource; + IndividualExposure: IndividualExposure; + InherentData: InherentData; + InherentIdentifier: InherentIdentifier; + InitializationData: InitializationData; + InstanceDetails: InstanceDetails; + InstanceId: InstanceId; + InstanceMetadata: InstanceMetadata; + InstantiateRequest: InstantiateRequest; + InstantiateRequestV1: InstantiateRequestV1; + InstantiateRequestV2: InstantiateRequestV2; + InstantiateReturnValue: InstantiateReturnValue; + InstantiateReturnValueOk: InstantiateReturnValueOk; + InstantiateReturnValueTo267: InstantiateReturnValueTo267; + InstructionV2: InstructionV2; + InstructionWeights: InstructionWeights; + InteriorMultiLocation: InteriorMultiLocation; + InvalidDisputeStatementKind: InvalidDisputeStatementKind; + InvalidTransaction: InvalidTransaction; + Json: Json; + Junction: Junction; + Junctions: Junctions; + JunctionsV1: JunctionsV1; + JunctionsV2: JunctionsV2; + JunctionV0: JunctionV0; + JunctionV1: JunctionV1; + JunctionV2: JunctionV2; + Justification: Justification; + JustificationNotification: JustificationNotification; + Justifications: Justifications; + Key: Key; + KeyOwnerProof: KeyOwnerProof; + Keys: Keys; + KeyType: KeyType; + KeyTypeId: KeyTypeId; + KeyValue: KeyValue; + KeyValueOption: KeyValueOption; + Kind: Kind; + LaneId: LaneId; + LastContribution: LastContribution; + LastRuntimeUpgradeInfo: LastRuntimeUpgradeInfo; + LeasePeriod: LeasePeriod; + LeasePeriodOf: LeasePeriodOf; + LegacyTransaction: LegacyTransaction; + Limits: Limits; + LimitsTo264: LimitsTo264; + LocalValidationData: LocalValidationData; + LockIdentifier: LockIdentifier; + LookupSource: LookupSource; + LookupTarget: LookupTarget; + LotteryConfig: LotteryConfig; + MaybeRandomness: MaybeRandomness; + MaybeVrf: MaybeVrf; + MemberCount: MemberCount; + MembershipProof: MembershipProof; + MessageData: MessageData; + MessageId: MessageId; + MessageIngestionType: MessageIngestionType; + MessageKey: MessageKey; + MessageNonce: MessageNonce; + MessageQueueChain: MessageQueueChain; + MessagesDeliveryProofOf: MessagesDeliveryProofOf; + MessagesProofOf: MessagesProofOf; + MessagingStateSnapshot: MessagingStateSnapshot; + MessagingStateSnapshotEgressEntry: MessagingStateSnapshotEgressEntry; + MetadataAll: MetadataAll; + MetadataLatest: MetadataLatest; + MetadataV10: MetadataV10; + MetadataV11: MetadataV11; + MetadataV12: MetadataV12; + MetadataV13: MetadataV13; + MetadataV14: MetadataV14; + MetadataV9: MetadataV9; + MigrationStatusResult: MigrationStatusResult; + MmrBatchProof: MmrBatchProof; + MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; + MmrError: MmrError; + MmrLeafBatchProof: MmrLeafBatchProof; + MmrLeafIndex: MmrLeafIndex; + MmrLeafProof: MmrLeafProof; + MmrNodeIndex: MmrNodeIndex; + MmrProof: MmrProof; + MmrRootHash: MmrRootHash; + ModuleConstantMetadataV10: ModuleConstantMetadataV10; + ModuleConstantMetadataV11: ModuleConstantMetadataV11; + ModuleConstantMetadataV12: ModuleConstantMetadataV12; + ModuleConstantMetadataV13: ModuleConstantMetadataV13; + ModuleConstantMetadataV9: ModuleConstantMetadataV9; + ModuleId: ModuleId; + ModuleMetadataV10: ModuleMetadataV10; + ModuleMetadataV11: ModuleMetadataV11; + ModuleMetadataV12: ModuleMetadataV12; + ModuleMetadataV13: ModuleMetadataV13; + ModuleMetadataV9: ModuleMetadataV9; + Moment: Moment; + MomentOf: MomentOf; + MoreAttestations: MoreAttestations; + MortalEra: MortalEra; + MultiAddress: MultiAddress; + MultiAsset: MultiAsset; + MultiAssetFilter: MultiAssetFilter; + MultiAssetFilterV1: MultiAssetFilterV1; + MultiAssetFilterV2: MultiAssetFilterV2; + MultiAssets: MultiAssets; + MultiAssetsV1: MultiAssetsV1; + MultiAssetsV2: MultiAssetsV2; + MultiAssetV0: MultiAssetV0; + MultiAssetV1: MultiAssetV1; + MultiAssetV2: MultiAssetV2; + MultiDisputeStatementSet: MultiDisputeStatementSet; + MultiLocation: MultiLocation; + MultiLocationV0: MultiLocationV0; + MultiLocationV1: MultiLocationV1; + MultiLocationV2: MultiLocationV2; + Multiplier: Multiplier; + Multisig: Multisig; + MultiSignature: MultiSignature; + MultiSigner: MultiSigner; + NetworkId: NetworkId; + NetworkState: NetworkState; + NetworkStatePeerset: NetworkStatePeerset; + NetworkStatePeersetInfo: NetworkStatePeersetInfo; + NewBidder: NewBidder; + NextAuthority: NextAuthority; + NextConfigDescriptor: NextConfigDescriptor; + NextConfigDescriptorV1: NextConfigDescriptorV1; + NodeRole: NodeRole; + Nominations: Nominations; + NominatorIndex: NominatorIndex; + NominatorIndexCompact: NominatorIndexCompact; + NotConnectedPeer: NotConnectedPeer; + NpApiError: NpApiError; + Null: Null; + OccupiedCore: OccupiedCore; + OccupiedCoreAssumption: OccupiedCoreAssumption; + OffchainAccuracy: OffchainAccuracy; + OffchainAccuracyCompact: OffchainAccuracyCompact; + OffenceDetails: OffenceDetails; + Offender: Offender; + OldV1SessionInfo: OldV1SessionInfo; + OpaqueCall: OpaqueCall; + OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof; + OpaqueMetadata: OpaqueMetadata; + OpaqueMultiaddr: OpaqueMultiaddr; + OpaqueNetworkState: OpaqueNetworkState; + OpaquePeerId: OpaquePeerId; + OpaqueTimeSlot: OpaqueTimeSlot; + OpenTip: OpenTip; + OpenTipFinderTo225: OpenTipFinderTo225; + OpenTipTip: OpenTipTip; + OpenTipTo225: OpenTipTo225; + OperatingMode: OperatingMode; + OptionBool: OptionBool; + Origin: Origin; + OriginCaller: OriginCaller; + OriginKindV0: OriginKindV0; + OriginKindV1: OriginKindV1; + OriginKindV2: OriginKindV2; + OrmlTokensAccountData: OrmlTokensAccountData; + OrmlTokensBalanceLock: OrmlTokensBalanceLock; + OrmlTokensReserveData: OrmlTokensReserveData; + OutboundHrmpMessage: OutboundHrmpMessage; + OutboundLaneData: OutboundLaneData; + OutboundMessageFee: OutboundMessageFee; + OutboundPayload: OutboundPayload; + OutboundStatus: OutboundStatus; + Outcome: Outcome; + OverweightIndex: OverweightIndex; + Owner: Owner; + PageCounter: PageCounter; + PageIndexData: PageIndexData; + PalletAccountProxyAnnouncement: PalletAccountProxyAnnouncement; + PalletAssetsRegistryCandidateStatus: PalletAssetsRegistryCandidateStatus; + PalletAssetsRegistryForeignMetadata: PalletAssetsRegistryForeignMetadata; + PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem; + PalletBalancesAccountData: PalletBalancesAccountData; + PalletBalancesBalanceLock: PalletBalancesBalanceLock; + PalletBalancesReleases: PalletBalancesReleases; + PalletBalancesReserveData: PalletBalancesReserveData; + PalletCallMetadataLatest: PalletCallMetadataLatest; + PalletCallMetadataV14: PalletCallMetadataV14; + PalletCollatorSelectionCandidateInfo: PalletCollatorSelectionCandidateInfo; + PalletCollectiveVotes: PalletCollectiveVotes; + PalletConstantMetadataLatest: PalletConstantMetadataLatest; + PalletConstantMetadataV14: PalletConstantMetadataV14; + PalletCosmwasmCodeIdentifier: PalletCosmwasmCodeIdentifier; + PalletCosmwasmCodeInfo: PalletCosmwasmCodeInfo; + PalletCosmwasmContractInfo: PalletCosmwasmContractInfo; + PalletCosmwasmEntryPoint: PalletCosmwasmEntryPoint; + PalletCosmwasmInstrumentCostRules: PalletCosmwasmInstrumentCostRules; + PalletCrowdloanRewardsModelsEcdsaSignature: PalletCrowdloanRewardsModelsEcdsaSignature; + PalletCrowdloanRewardsModelsProof: PalletCrowdloanRewardsModelsProof; + PalletCrowdloanRewardsModelsRemoteAccount: PalletCrowdloanRewardsModelsRemoteAccount; + PalletCrowdloanRewardsModelsReward: PalletCrowdloanRewardsModelsReward; + PalletCrowdloanRewardsReward: PalletCrowdloanRewardsReward; + PalletCurrencyFactoryRanges: PalletCurrencyFactoryRanges; + PalletCurrencyFactoryRangesRange: PalletCurrencyFactoryRangesRange; + PalletDemocracyConviction: PalletDemocracyConviction; + PalletDemocracyPreimageStatus: PalletDemocracyPreimageStatus; + PalletDemocracyReferendumInfo: PalletDemocracyReferendumInfo; + PalletDemocracyReleases: PalletDemocracyReleases; + PalletDemocracyVoteAccountVote: PalletDemocracyVoteAccountVote; + PalletDemocracyVoteThreshold: PalletDemocracyVoteThreshold; + PalletDemocracyVoteVoting: PalletDemocracyVoteVoting; + PalletDutchAuctionSellOrder: PalletDutchAuctionSellOrder; + PalletDutchAuctionTakeOrder: PalletDutchAuctionTakeOrder; + PalletErrorMetadataLatest: PalletErrorMetadataLatest; + PalletErrorMetadataV14: PalletErrorMetadataV14; + PalletEventMetadataLatest: PalletEventMetadataLatest; + PalletEventMetadataV14: PalletEventMetadataV14; + PalletIbcAny: PalletIbcAny; + PalletIbcConnectionParams: PalletIbcConnectionParams; + PalletIbcErrorsIbcError: PalletIbcErrorsIbcError; + PalletIbcEventsIbcEvent: PalletIbcEventsIbcEvent; + PalletIbcIbcConsensusState: PalletIbcIbcConsensusState; + PalletIbcPalletParams: PalletIbcPalletParams; + PalletIbcPingSendPingParams: PalletIbcPingSendPingParams; + PalletIbcTransferParams: PalletIbcTransferParams; + PalletIbcUpgradeParams: PalletIbcUpgradeParams; + + PalletId: PalletId; + PalletIdentityBitFlags: PalletIdentityBitFlags; + PalletIdentityIdentityInfo: PalletIdentityIdentityInfo; + PalletIdentityJudgement: PalletIdentityJudgement; + PalletIdentityRegistrarInfo: PalletIdentityRegistrarInfo; + PalletIdentityRegistration: PalletIdentityRegistration; + PalletLiquidationsLiquidationStrategyConfiguration: PalletLiquidationsLiquidationStrategyConfiguration; + PalletLiquidityBootstrappingPool: PalletLiquidityBootstrappingPool; + PalletMetadataLatest: PalletMetadataLatest; + PalletMetadataV14: PalletMetadataV14; + PalletMosaicAmmSwapInfo: PalletMosaicAmmSwapInfo; + PalletMosaicAssetInfo: PalletMosaicAssetInfo; + PalletMosaicDecayBudgetPenaltyDecayer: PalletMosaicDecayBudgetPenaltyDecayer; + PalletMosaicNetworkInfo: PalletMosaicNetworkInfo; + PalletMosaicRelayerStaleRelayer: PalletMosaicRelayerStaleRelayer; + PalletMultisigMultisig: PalletMultisigMultisig; + PalletMultisigTimepoint: PalletMultisigTimepoint; + PalletOracleAssetInfo: PalletOracleAssetInfo; + PalletOraclePrePrice: PalletOraclePrePrice; + PalletOraclePrice: PalletOraclePrice; + PalletOracleWithdraw: PalletOracleWithdraw; + PalletPabloPoolConfiguration: PalletPabloPoolConfiguration; + PalletPabloPoolId: PalletPabloPoolId; + PalletPabloPoolInitConfiguration: PalletPabloPoolInitConfiguration; + PalletPabloPriceAggregate: PalletPabloPriceAggregate; + PalletPabloPriceCumulative: PalletPabloPriceCumulative; + PalletPabloTimeWeightedAveragePrice: PalletPabloTimeWeightedAveragePrice; + PalletPreimageRequestStatus: PalletPreimageRequestStatus; + PalletSchedulerReleases: PalletSchedulerReleases; + PalletSchedulerScheduledV2: PalletSchedulerScheduledV2; + PalletSchedulerScheduledV3: PalletSchedulerScheduledV3; + PalletsOrigin: PalletsOrigin; + PalletStakingRewardsRewardAccumulationHookError: PalletStakingRewardsRewardAccumulationHookError; + PalletStorageMetadataLatest: PalletStorageMetadataLatest; + PalletStorageMetadataV14: PalletStorageMetadataV14; + PalletTransactionPaymentReleases: PalletTransactionPaymentReleases; + PalletTreasuryProposal: PalletTreasuryProposal; + PalletVaultModelsStrategyOverview: PalletVaultModelsStrategyOverview; + PalletVaultModelsVaultInfo: PalletVaultModelsVaultInfo; + PalletVersion: PalletVersion; + PalletXcmQueryStatus: PalletXcmQueryStatus; + PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage; + ParachainDispatchOrigin: ParachainDispatchOrigin; + ParachainInherentData: ParachainInherentData; + ParachainProposal: ParachainProposal; + ParachainsInherentData: ParachainsInherentData; + ParaGenesisArgs: ParaGenesisArgs; + ParaId: ParaId; + ParaInfo: ParaInfo; + ParaLifecycle: ParaLifecycle; + Parameter: Parameter; + ParaPastCodeMeta: ParaPastCodeMeta; + ParaScheduling: ParaScheduling; + ParathreadClaim: ParathreadClaim; + ParathreadClaimQueue: ParathreadClaimQueue; + ParathreadEntry: ParathreadEntry; + ParaValidatorIndex: ParaValidatorIndex; + Pays: Pays; + Peer: Peer; + PeerEndpoint: PeerEndpoint; + PeerEndpointAddr: PeerEndpointAddr; + PeerInfo: PeerInfo; + PeerPing: PeerPing; + PendingChange: PendingChange; + PendingPause: PendingPause; + PendingResume: PendingResume; + Perbill: Perbill; + Percent: Percent; + PerDispatchClassU32: PerDispatchClassU32; + PerDispatchClassWeight: PerDispatchClassWeight; + PerDispatchClassWeightsPerClass: PerDispatchClassWeightsPerClass; + Period: Period; + Permill: Permill; + PermissionLatest: PermissionLatest; + PermissionsV1: PermissionsV1; + PermissionVersions: PermissionVersions; + Perquintill: Perquintill; + PersistedValidationData: PersistedValidationData; + PerU16: PerU16; + Phantom: Phantom; + PhantomData: PhantomData; + Phase: Phase; + PhragmenScore: PhragmenScore; + Points: Points; + PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; + PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat; + PolkadotPrimitivesV1AbridgedHostConfiguration: PolkadotPrimitivesV1AbridgedHostConfiguration; + PolkadotPrimitivesV1PersistedValidationData: PolkadotPrimitivesV1PersistedValidationData; + PolkadotPrimitivesV2AbridgedHostConfiguration: PolkadotPrimitivesV2AbridgedHostConfiguration; + PolkadotPrimitivesV2PersistedValidationData: PolkadotPrimitivesV2PersistedValidationData; + PolkadotPrimitivesV2UpgradeRestriction: PolkadotPrimitivesV2UpgradeRestriction; + PortableType: PortableType; + PortableTypeV14: PortableTypeV14; + Precommits: Precommits; + PrefabWasmModule: PrefabWasmModule; + PrefixedStorageKey: PrefixedStorageKey; + PreRuntime: PreRuntime; + Prevotes: Prevotes; + Priority: Priority; + ProposalIndex: ProposalIndex; + ProxyAnnouncement: ProxyAnnouncement; + ProxyDefinition: ProxyDefinition; + ProxyType: ProxyType; + PvfCheckStatement: PvfCheckStatement; + QueryId: QueryId; + QueryStatus: QueryStatus; + QueueConfigData: QueueConfigData; + QueuedParathread: QueuedParathread; + Randomness: Randomness; + Raw: Raw; + RawAuraPreDigest: RawAuraPreDigest; + RawBabePreDigest: RawBabePreDigest; + RawBabePreDigestCompat: RawBabePreDigestCompat; + RawBabePreDigestPrimary: RawBabePreDigestPrimary; + RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159; + RawBabePreDigestSecondaryPlain: RawBabePreDigestSecondaryPlain; + RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159; + RawBabePreDigestSecondaryVRF: RawBabePreDigestSecondaryVRF; + RawBabePreDigestTo159: RawBabePreDigestTo159; + RawOrigin: RawOrigin; + RawSolution: RawSolution; + RawSolutionTo265: RawSolutionTo265; + RawSolutionWith16: RawSolutionWith16; + RawSolutionWith24: RawSolutionWith24; + RawVRFOutput: RawVRFOutput; + ReadProof: ReadProof; + ReadySolution: ReadySolution; + Reasons: Reasons; + RecoveryConfig: RecoveryConfig; + RefCount: RefCount; + RefCountTo259: RefCountTo259; + RegisteredParachainInfo: RegisteredParachainInfo; + RegistrarIndex: RegistrarIndex; + RegistrarInfo: RegistrarInfo; + Registration: Registration; + RegistrationJudgement: RegistrationJudgement; + RegistrationTo198: RegistrationTo198; + RelayBlockNumber: RelayBlockNumber; + RelayChainBlockNumber: RelayChainBlockNumber; + RelayChainHash: RelayChainHash; + RelayerId: RelayerId; + RelayHash: RelayHash; + Releases: Releases; + Remark: Remark; + Renouncing: Renouncing; + RentProjection: RentProjection; + ReplacementTimes: ReplacementTimes; + ReportedRoundStates: ReportedRoundStates; + Reporter: Reporter; + ReportIdOf: ReportIdOf; + ReserveData: ReserveData; + ReserveIdentifier: ReserveIdentifier; + Response: Response; + ResponseV0: ResponseV0; + ResponseV1: ResponseV1; + ResponseV2: ResponseV2; + ResponseV2Error: ResponseV2Error; + ResponseV2Result: ResponseV2Result; + Retriable: Retriable; + RewardDestination: RewardDestination; + RewardPoint: RewardPoint; + RoundSnapshot: RoundSnapshot; + RoundState: RoundState; + RpcMethods: RpcMethods; + RuntimeDbWeight: RuntimeDbWeight; + RuntimeDispatchInfo: RuntimeDispatchInfo; + RuntimeVersion: RuntimeVersion; + RuntimeVersionApi: RuntimeVersionApi; + RuntimeVersionPartial: RuntimeVersionPartial; + RuntimeVersionPre3: RuntimeVersionPre3; + RuntimeVersionPre4: RuntimeVersionPre4; + SafeRpcWrapper: SafeRpcWrapper; + Schedule: Schedule; + Scheduled: Scheduled; + ScheduledCore: ScheduledCore; + ScheduledTo254: ScheduledTo254; + SchedulePeriod: SchedulePeriod; + SchedulePriority: SchedulePriority; + ScheduleTo212: ScheduleTo212; + ScheduleTo258: ScheduleTo258; + ScheduleTo264: ScheduleTo264; + Scheduling: Scheduling; + ScrapedOnChainVotes: ScrapedOnChainVotes; + Seal: Seal; + SealV0: SealV0; + SeatHolder: SeatHolder; + SeedOf: SeedOf; + ServiceQuality: ServiceQuality; + SessionIndex: SessionIndex; + SessionInfo: SessionInfo; + SessionInfoValidatorGroup: SessionInfoValidatorGroup; + SessionKeys1: SessionKeys1; + SessionKeys10: SessionKeys10; + SessionKeys10B: SessionKeys10B; + SessionKeys2: SessionKeys2; + SessionKeys3: SessionKeys3; + SessionKeys4: SessionKeys4; + SessionKeys5: SessionKeys5; + SessionKeys6: SessionKeys6; + SessionKeys6B: SessionKeys6B; + SessionKeys7: SessionKeys7; + SessionKeys7B: SessionKeys7B; + SessionKeys8: SessionKeys8; + SessionKeys8B: SessionKeys8B; + SessionKeys9: SessionKeys9; + SessionKeys9B: SessionKeys9B; + SetId: SetId; + SetIndex: SetIndex; + Si0Field: Si0Field; + Si0LookupTypeId: Si0LookupTypeId; + Si0Path: Si0Path; + Si0Type: Si0Type; + Si0TypeDef: Si0TypeDef; + Si0TypeDefArray: Si0TypeDefArray; + Si0TypeDefBitSequence: Si0TypeDefBitSequence; + Si0TypeDefCompact: Si0TypeDefCompact; + Si0TypeDefComposite: Si0TypeDefComposite; + Si0TypeDefPhantom: Si0TypeDefPhantom; + Si0TypeDefPrimitive: Si0TypeDefPrimitive; + Si0TypeDefSequence: Si0TypeDefSequence; + Si0TypeDefTuple: Si0TypeDefTuple; + Si0TypeDefVariant: Si0TypeDefVariant; + Si0TypeParameter: Si0TypeParameter; + Si0Variant: Si0Variant; + Si1Field: Si1Field; + Si1LookupTypeId: Si1LookupTypeId; + Si1Path: Si1Path; + Si1Type: Si1Type; + Si1TypeDef: Si1TypeDef; + Si1TypeDefArray: Si1TypeDefArray; + Si1TypeDefBitSequence: Si1TypeDefBitSequence; + Si1TypeDefCompact: Si1TypeDefCompact; + Si1TypeDefComposite: Si1TypeDefComposite; + Si1TypeDefPrimitive: Si1TypeDefPrimitive; + Si1TypeDefSequence: Si1TypeDefSequence; + Si1TypeDefTuple: Si1TypeDefTuple; + Si1TypeDefVariant: Si1TypeDefVariant; + Si1TypeParameter: Si1TypeParameter; + Si1Variant: Si1Variant; + SiField: SiField; + Signature: Signature; + SignedAvailabilityBitfield: SignedAvailabilityBitfield; + SignedAvailabilityBitfields: SignedAvailabilityBitfields; + SignedBlock: SignedBlock; + SignedBlockWithJustification: SignedBlockWithJustification; + SignedBlockWithJustifications: SignedBlockWithJustifications; + SignedExtensionMetadataLatest: SignedExtensionMetadataLatest; + SignedExtensionMetadataV14: SignedExtensionMetadataV14; + SignedSubmission: SignedSubmission; + SignedSubmissionOf: SignedSubmissionOf; + SignedSubmissionTo276: SignedSubmissionTo276; + SignerPayload: SignerPayload; + SigningContext: SigningContext; + SiLookupTypeId: SiLookupTypeId; + SiPath: SiPath; + SiType: SiType; + SiTypeDef: SiTypeDef; + SiTypeDefArray: SiTypeDefArray; + SiTypeDefBitSequence: SiTypeDefBitSequence; + SiTypeDefCompact: SiTypeDefCompact; + SiTypeDefComposite: SiTypeDefComposite; + SiTypeDefPrimitive: SiTypeDefPrimitive; + SiTypeDefSequence: SiTypeDefSequence; + SiTypeDefTuple: SiTypeDefTuple; + SiTypeDefVariant: SiTypeDefVariant; + SiTypeParameter: SiTypeParameter; + SiVariant: SiVariant; + SlashingSpans: SlashingSpans; + SlashingSpansTo204: SlashingSpansTo204; + SlashJournalEntry: SlashJournalEntry; + Slot: Slot; + SlotDuration: SlotDuration; + SlotNumber: SlotNumber; + SlotRange: SlotRange; + SlotRange10: SlotRange10; + SocietyJudgement: SocietyJudgement; + SocietyVote: SocietyVote; + SolutionOrSnapshotSize: SolutionOrSnapshotSize; + SolutionSupport: SolutionSupport; + SolutionSupports: SolutionSupports; + SpanIndex: SpanIndex; + SpanRecord: SpanRecord; + SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public; + SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId; + SpecVersion: SpecVersion; + SpRuntimeDigest: SpRuntimeDigest; + SpRuntimeDispatchError: SpRuntimeDispatchError; + SpRuntimeHeader: SpRuntimeHeader; + SpTrieStorageProof: SpTrieStorageProof; + SpVersionRuntimeVersion: SpVersionRuntimeVersion; + Sr25519Signature: Sr25519Signature; + StakingLedger: StakingLedger; + StakingLedgerTo223: StakingLedgerTo223; + StakingLedgerTo240: StakingLedgerTo240; + Statement: Statement; + StatementKind: StatementKind; + StorageChangeSet: StorageChangeSet; + StorageData: StorageData; + StorageDeposit: StorageDeposit; + StorageEntryMetadataLatest: StorageEntryMetadataLatest; + StorageEntryMetadataV10: StorageEntryMetadataV10; + StorageEntryMetadataV11: StorageEntryMetadataV11; + StorageEntryMetadataV12: StorageEntryMetadataV12; + StorageEntryMetadataV13: StorageEntryMetadataV13; + StorageEntryMetadataV14: StorageEntryMetadataV14; + StorageEntryMetadataV9: StorageEntryMetadataV9; + StorageEntryModifierLatest: StorageEntryModifierLatest; + StorageEntryModifierV10: StorageEntryModifierV10; + StorageEntryModifierV11: StorageEntryModifierV11; + StorageEntryModifierV12: StorageEntryModifierV12; + StorageEntryModifierV13: StorageEntryModifierV13; + StorageEntryModifierV14: StorageEntryModifierV14; + StorageEntryModifierV9: StorageEntryModifierV9; + StorageEntryTypeLatest: StorageEntryTypeLatest; + StorageEntryTypeV10: StorageEntryTypeV10; + StorageEntryTypeV11: StorageEntryTypeV11; + StorageEntryTypeV12: StorageEntryTypeV12; + StorageEntryTypeV13: StorageEntryTypeV13; + StorageEntryTypeV14: StorageEntryTypeV14; + StorageEntryTypeV9: StorageEntryTypeV9; + StorageHasher: StorageHasher; + StorageHasherV10: StorageHasherV10; + StorageHasherV11: StorageHasherV11; + StorageHasherV12: StorageHasherV12; + StorageHasherV13: StorageHasherV13; + StorageHasherV14: StorageHasherV14; + StorageHasherV9: StorageHasherV9; + StorageInfo: StorageInfo; + StorageKey: StorageKey; + StorageKind: StorageKind; + StorageMetadataV10: StorageMetadataV10; + StorageMetadataV11: StorageMetadataV11; + StorageMetadataV12: StorageMetadataV12; + StorageMetadataV13: StorageMetadataV13; + StorageMetadataV9: StorageMetadataV9; + StorageProof: StorageProof; + StoredPendingChange: StoredPendingChange; + StoredState: StoredState; + StrikeCount: StrikeCount; + SubId: SubId; + SubmissionIndicesOf: SubmissionIndicesOf; + Supports: Supports; + SyncState: SyncState; + SystemInherentData: SystemInherentData; + SystemOrigin: SystemOrigin; + TaskAddress: TaskAddress; + Text: Text; + Timepoint: Timepoint; + TokenError: TokenError; + TombstoneContractInfo: TombstoneContractInfo; + TraceBlockResponse: TraceBlockResponse; + TraceError: TraceError; + TransactionalError: TransactionalError; + TransactionInfo: TransactionInfo; + TransactionLongevity: TransactionLongevity; + TransactionPriority: TransactionPriority; + TransactionSource: TransactionSource; + TransactionStorageProof: TransactionStorageProof; + TransactionTag: TransactionTag; + TransactionV0: TransactionV0; + TransactionV1: TransactionV1; + TransactionV2: TransactionV2; + TransactionValidity: TransactionValidity; + TransactionValidityError: TransactionValidityError; + TransientValidationData: TransientValidationData; + TreasuryProposal: TreasuryProposal; + TrieId: TrieId; + TrieIndex: TrieIndex; + Type: Type; + u128: u128; + U128: U128; + u16: u16; + U16: U16; + u256: u256; + U256: U256; + u32: u32; + U32: U32; + U32F32: U32F32; + u64: u64; + U64: U64; + u8: u8; + U8: U8; + UnappliedSlash: UnappliedSlash; + UnappliedSlashOther: UnappliedSlashOther; + UncleEntryItem: UncleEntryItem; + UnknownTransaction: UnknownTransaction; + UnlockChunk: UnlockChunk; + UnrewardedRelayer: UnrewardedRelayer; + UnrewardedRelayersState: UnrewardedRelayersState; + UpgradeGoAhead: UpgradeGoAhead; + UpgradeRestriction: UpgradeRestriction; + UpwardMessage: UpwardMessage; + usize: usize; + USize: USize; + ValidationCode: ValidationCode; + ValidationCodeHash: ValidationCodeHash; + ValidationData: ValidationData; + ValidationDataType: ValidationDataType; + ValidationFunctionParams: ValidationFunctionParams; + ValidatorCount: ValidatorCount; + ValidatorId: ValidatorId; + ValidatorIdOf: ValidatorIdOf; + ValidatorIndex: ValidatorIndex; + ValidatorIndexCompact: ValidatorIndexCompact; + ValidatorPrefs: ValidatorPrefs; + ValidatorPrefsTo145: ValidatorPrefsTo145; + ValidatorPrefsTo196: ValidatorPrefsTo196; + ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked; + ValidatorPrefsWithCommission: ValidatorPrefsWithCommission; + ValidatorSet: ValidatorSet; + ValidatorSetId: ValidatorSetId; + ValidatorSignature: ValidatorSignature; + ValidDisputeStatementKind: ValidDisputeStatementKind; + ValidityAttestation: ValidityAttestation; + ValidTransaction: ValidTransaction; + VecInboundHrmpMessage: VecInboundHrmpMessage; + VersionedMultiAsset: VersionedMultiAsset; + VersionedMultiAssets: VersionedMultiAssets; + VersionedMultiLocation: VersionedMultiLocation; + VersionedResponse: VersionedResponse; + VersionedXcm: VersionedXcm; + VersionMigrationStage: VersionMigrationStage; + VestingSchedule: VestingSchedule; + VestingWindow: VestingWindow; + Vote: Vote; + VoteIndex: VoteIndex; + Voter: Voter; + VoterInfo: VoterInfo; + Votes: Votes; + VotesTo230: VotesTo230; + VoteThreshold: VoteThreshold; + VoteWeight: VoteWeight; + VouchingStatus: VouchingStatus; + VrfData: VrfData; + VrfOutput: VrfOutput; + VrfProof: VrfProof; + Weight: Weight; + WeightLimitV2: WeightLimitV2; + WeightMultiplier: WeightMultiplier; + WeightPerClass: WeightPerClass; + WeightToFeeCoefficient: WeightToFeeCoefficient; + WeightV1: WeightV1; + WeightV2: WeightV2; + WildFungibility: WildFungibility; + WildFungibilityV0: WildFungibilityV0; + WildFungibilityV1: WildFungibilityV1; + WildFungibilityV2: WildFungibilityV2; + WildMultiAsset: WildMultiAsset; + WildMultiAssetV1: WildMultiAssetV1; + WildMultiAssetV2: WildMultiAssetV2; + WinnersData: WinnersData; + WinnersData10: WinnersData10; + WinnersDataTuple: WinnersDataTuple; + WinnersDataTuple10: WinnersDataTuple10; + WinningData: WinningData; + WinningData10: WinningData10; + WinningDataEntry: WinningDataEntry; + WithdrawReasons: WithdrawReasons; + Xcm: Xcm; + XcmAssetId: XcmAssetId; + XcmError: XcmError; + XcmErrorV0: XcmErrorV0; + XcmErrorV1: XcmErrorV1; + XcmErrorV2: XcmErrorV2; + XcmOrder: XcmOrder; + XcmOrderV0: XcmOrderV0; + XcmOrderV1: XcmOrderV1; + XcmOrderV2: XcmOrderV2; + XcmOrigin: XcmOrigin; + XcmOriginKind: XcmOriginKind; + XcmpMessageFormat: XcmpMessageFormat; + XcmV0: XcmV0; + XcmV1: XcmV1; + XcmV1MultiAsset: XcmV1MultiAsset; + XcmV1MultiassetMultiAssets: XcmV1MultiassetMultiAssets; + XcmV1MultiLocation: XcmV1MultiLocation; + XcmV2: XcmV2; + XcmV2Response: XcmV2Response; + XcmV2TraitsError: XcmV2TraitsError; + XcmV2TraitsOutcome: XcmV2TraitsOutcome; + XcmV2WeightLimit: XcmV2WeightLimit; + XcmV2Xcm: XcmV2Xcm; + XcmVersion: XcmVersion; + XcmVersionedMultiAsset: XcmVersionedMultiAsset; + XcmVersionedMultiAssets: XcmVersionedMultiAssets; + XcmVersionedMultiLocation: XcmVersionedMultiLocation; + XcmVersionedXcm: XcmVersionedXcm; + } // InterfaceTypes +} // declare module diff --git a/src/chains/polkadot/api-scheme/augments/index.ts b/src/chains/polkadot/api-scheme/augments/index.ts new file mode 100644 index 00000000..0e36ed2a --- /dev/null +++ b/src/chains/polkadot/api-scheme/augments/index.ts @@ -0,0 +1,8 @@ +export * from './augment-api-consts'; +export * from './augment-api-errors'; +export * from './augment-api-events'; +export * from './augment-api-query'; +export * from './augment-api-rpc'; +export * from './augment-api-runtime'; +export * from './augment-api-tx'; +export * from './augment-types'; diff --git a/src/chains/polkadot/api-scheme/common/definitions.ts b/src/chains/polkadot/api-scheme/common/definitions.ts new file mode 100644 index 00000000..ae26f7d9 --- /dev/null +++ b/src/chains/polkadot/api-scheme/common/definitions.ts @@ -0,0 +1,17 @@ +export default { + rpc: {}, + types: { + SafeRpcWrapper: 'String', + CustomRpcCurrencyId: 'SafeRpcWrapper', + CustomRpcBalance: 'SafeRpcWrapper', + CurrencyId: 'u128', + AssetsBalance: 'u128', + ComposableTraitsDefiSellCurrencyId: 'CurrencyId', + ComposableTraitsDefiCurrencyPairCurrencyId: { + base: 'CurrencyId', + quote: 'CurrencyId' + }, + ComposableTraitsXcmCumulusMethodId: 'Null', + ComposableTraitsXcmXcmSellRequest: 'Null' + } +}; diff --git a/src/chains/polkadot/api-scheme/common/index.ts b/src/chains/polkadot/api-scheme/common/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/common/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/common/types.ts b/src/chains/polkadot/api-scheme/common/types.ts new file mode 100644 index 00000000..a6552d6d --- /dev/null +++ b/src/chains/polkadot/api-scheme/common/types.ts @@ -0,0 +1,33 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { Null, Struct, Text, u128 } from '@polkadot/types-codec'; + +/** @name AssetsBalance */ +export interface AssetsBalance extends u128 {} + +/** @name ComposableTraitsDefiCurrencyPairCurrencyId */ +export interface ComposableTraitsDefiCurrencyPairCurrencyId extends Struct { + readonly base: CurrencyId; + readonly quote: CurrencyId; +} + +/** @name ComposableTraitsDefiSellCurrencyId */ +export interface ComposableTraitsDefiSellCurrencyId extends CurrencyId {} + +/** @name ComposableTraitsXcmCumulusMethodId */ +export interface ComposableTraitsXcmCumulusMethodId extends Null {} + +/** @name ComposableTraitsXcmXcmSellRequest */ +export interface ComposableTraitsXcmXcmSellRequest extends Null {} + +/** @name CurrencyId */ +export interface CurrencyId extends u128 {} +/** @name CustomRpcBalance */ +export interface CustomRpcBalance extends SafeRpcWrapper {} + +/** @name CustomRpcCurrencyId */ +export interface CustomRpcCurrencyId extends SafeRpcWrapper {} + +/** @name SafeRpcWrapper */ +export interface SafeRpcWrapper extends Text {} + +export type PHANTOM_COMMON = 'common'; diff --git a/src/chains/polkadot/api-scheme/crowdloanRewards/definitions.ts b/src/chains/polkadot/api-scheme/crowdloanRewards/definitions.ts new file mode 100644 index 00000000..423cc122 --- /dev/null +++ b/src/chains/polkadot/api-scheme/crowdloanRewards/definitions.ts @@ -0,0 +1,248 @@ +export default { + rpc: { + amountAvailableToClaimFor: { + description: 'The unclaimed amount', + params: [ + { + name: 'accountId', + type: 'AccountId' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'Balance' + } + }, + types: { + ComposableTraitsAssetsXcmAssetLocation: 'Null', + PalletCrowdloanRewardsModelsReward: { + total: 'u128', + claimed: 'u128', + vestingPeriod: 'u64' + }, + PalletCrowdloanRewardsModelsRemoteAccount: { + _enum: { + RelayChain: 'AccountId32', + Ethereum: 'EthereumAccountId', + Registry: 'Null' + } + }, + ComposableTraitsCallFilterCallFilterEntry: 'Null', + PalletAssetsRegistryCandidateStatus: 'Null', + SpConsensusAuraSr25519AppSr25519Public: 'Null', + ComposableTraitsBondedFinanceBondOffer: { + beneficiary: 'AccountId32', + asset: 'CurrencyId', + bondPrice: 'u128', + nbOfBonds: 'u128', + maturity: 'ComposableTraitsBondedFinanceBondDuration', + reward: 'ComposableTraitsBondedFinanceBondOfferReward', + keepAlive: 'bool' + }, + ComposableTraitsBondedFinanceBondDuration: { + Finite: { returnIn: 'u32' } + }, + ComposableTraitsBondedFinanceBondOfferReward: { + asset: 'CurrencyId', + amount: 'u128', + maturity: 'u32' + }, + PalletCollatorSelectionCandidateInfo: 'Null', + PalletCrowdloanRewardsReward: 'Null', + CumulusPalletDmpQueueConfigData: 'Null', + PalletDutchAuctionSellOrder: 'Null', + CumulusPalletDmpQueuePageIndexData: 'Null', + PalletDutchAuctionTakeOrder: 'Null', + ComposableTraitsGovernanceSignedRawOrigin: { + _enum: { + Root: 'Null', + Signed: '', + isSigned: 'bool', + asSigned: 'AccountId32' + } + }, + PalletIdentityRegistration: 'Null', + PalletIdentityRegistrarInfo: 'Null', + PalletOracleAssetInfo: 'Null', + PalletOracleWithdraw: { + stake: 'u128', + unlockBlock: 'u32' + }, + PalletOraclePrePrice: 'Null', + PalletOraclePrice: 'Null', + PolkadotPrimitivesV1AbridgedHostConfiguration: 'Null', + PolkadotPrimitivesV2PersistedValidationData: 'Null', + PolkadotPrimitivesV2UpgradeRestriction: 'Null', + PolkadotPrimitivesV2AbridgedHostConfiguration: 'Null', + CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: 'Null', + PolkadotPrimitivesV1PersistedValidationData: 'PersistedValidationData', + PalletSchedulerScheduledV2: 'Null', + PalletSchedulerReleases: 'Null', + PalletSchedulerScheduledV3: 'Null', + DaliRuntimeOpaqueSessionKeys: 'Null', + OrmlTokensAccountData: { + free: 'u128', + reserved: 'u128', + frozen: 'u128' + }, + OrmlTokensBalanceLock: 'Null', + OrmlTokensReserveData: 'Null', + PalletTreasuryProposal: 'Null', + PalletVaultModelsStrategyOverview: 'Null', + PalletVaultModelsVaultInfo: 'Null', + CumulusPalletXcmpQueueInboundStatus: 'Null', + CumulusPalletXcmpQueueInboundChannelDetails: 'Null', + PolkadotParachainPrimitivesXcmpMessageFormat: 'Null', + CumulusPalletXcmpQueueOutboundStatus: 'Null', + CumulusPalletXcmpQueueQueueConfigData: 'Null', + CumulusPalletXcmpQueueOutboundChannelDetails: 'Null', + PalletCrowdloanRewardsModelsProof: { + _enum: { + RelayChain: '(AccountId32, MultiSignature)', + Ethereum: 'PalletCrowdloanRewardsModelsEcdsaSignature' + } + }, + PalletCrowdloanRewardsModelsEcdsaSignature: 'EcdsaSignature', + PalletDemocracyConviction: 'Null', + PalletDemocracyVoteAccountVote: 'Null', + ComposableTraitsDefiSell: 'Null', + ComposableTraitsAuctionAuctionStepFunction: 'Null', + ComposableTraitsDefiTake: 'Null', + ComposableTraitsTimeTimeReleaseFunction: 'Null', + PalletIdentityJudgement: 'Null', + PalletIdentityBitFlags: 'Null', + PalletIdentityIdentityInfo: 'Null', + CumulusPrimitivesParachainInherentParachainInherentData: 'ParachainInherentData', + DaliRuntimeOriginCaller: 'Null', + ComposableTraitsVaultVaultConfig: 'Null', + XcmVersionedMultiAsset: 'Null', + PalletMosaicNetworkInfo: { + enabled: 'bool', + maxTransferSize: 'Balance' + }, + PalletMosaicDecayBudgetPenaltyDecayer: 'Null', + PalletAssetsRegistryForeignMetadata: 'Null', + PalletMosaicAssetInfo: 'Null', + PalletMosaicRelayerStaleRelayer: { + relayer: { + current: 'AccountId32', + next: { + ttl: 'u32', + account: 'AccountId32' + } + } + }, + FrameSupportScheduleMaybeHashed: 'Null', + FrameSupportScheduleLookupError: 'Null', + PalletLiquidationsLiquidationStrategyConfiguration: 'Null', + CommonMosaicRemoteAssetId: 'Null', + ComposableTraitsLendingMarketConfig: 'Null', + ComposableTraitsLendingCreateInput: 'Null', + ComposableTraitsLendingUpdateInput: 'Null', + ComposableTraitsDexStableSwapPoolInfo: 'Null', + ComposableTraitsOraclePrice: 'Null', + PalletLiquidityBootstrappingPool: 'Null', + ComposableTraitsDexConstantProductPoolInfo: { + owner: 'AccountId32', + pair: 'ComposableTraitsDefiCurrencyPairCurrencyId', + lpToken: 'u128', + fee: 'Permill', + ownerFee: 'Permill' + }, + ComposableSupportEthereumAddress: 'Null', + ComposableTraitsAssetsBasicAssetMetadata: { + symbol: { + inner: 'Null' + }, + name: { + inner: 'Null' + } + }, + ComposableTraitsDexDexRoute: 'Null', + ComposableTraitsLendingRepayStrategy: 'Null', + ComposableTraitsXcmAssetsXcmAssetLocation: 'Null', + SpTrieStorageProof: 'Null', + ComposableTraitsXcmAssetsForeignMetadata: 'Null', + FrameSystemAccountInfo: { + nonce: 'Null', + consumers: 'Null', + providers: 'Null', + sufficients: 'Null', + data: { + free: 'u128', + reserved: 'u128', + miscFrozen: 'u128', + feeFrozen: 'u128' + } + }, + PalletIbcPingSendPingParams: 'Null', + IbcTraitOpenChannelParams: 'Null', + PalletIbcConnectionParams: 'Null', + PalletIbcAny: 'Null', + PalletIbcIbcConsensusState: 'Null', + PalletIbcEventsIbcEvent: 'Null', + PalletIbcErrorsIbcError: 'Null', + PalletMosaicAmmSwapInfo: 'Null', + ComposableTraitsStakingRewardPool: 'Null', + ComposableTraitsStakingRewardPoolConfiguration: 'Null', + IbcTransferPalletParams: 'Null', + IbcTransferTransferParams: 'Null', + ComposableTraitsOracleRewardTracker: 'Null', + ComposableTraitsStakingStake: 'Null', + ComposableTraitsStakingRewardUpdate: 'Null', + ComposableTraitsAccountProxyProxyType: 'Null', + ComposableTraitsAccountProxyProxyDefinition: 'Null', + PalletAccountProxyAnnouncement: 'Null', + PalletCosmwasmContractInfo: 'Null', + PalletCosmwasmCodeInfo: 'Null', + PalletCosmwasmEntryPoint: 'Null', + PalletStakingRewardsRewardAccumulationHookError: 'Null', + XcmVersionedMultiAssets: 'Null', + XcmVersionedMultiLocation: 'Null', + XcmVersionedXcm: 'Null', + PalletMultisigTimepoint: 'Null', + XcmV2WeightLimit: 'Null', + ComposableTraitsDexAssetAmount: 'Null', + PalletCosmwasmCodeIdentifier: 'Null', + XcmV1MultiLocation: 'Null', + XcmV1MultiAsset: 'Null', + XcmV1MultiassetMultiAssets: 'Null', + XcmV2TraitsOutcome: 'Null', + XcmV2Xcm: 'Null', + SpRuntimeDispatchError: 'Null', + SpRuntimeHeader: 'Null', + SpVersionRuntimeVersion: 'Null', + FrameSystemLimitsBlockWeights: 'Null', + FrameSystemLimitsBlockLength: 'Null', + FrameSupportWeightsRuntimeDbWeight: 'Null', + PalletCollectiveVotes: 'Null', + FrameSystemLastRuntimeUpgradeInfo: 'Null', + FrameSystemPhase: 'Null', + FrameSystemEventRecord: 'Null', + SpRuntimeDigest: 'Null', + FrameSupportWeightsPerDispatchClassU64: 'Null', + SpCoreCryptoKeyTypeId: 'Null', + PalletXcmQueryStatus: 'Null', + PalletXcmVersionMigrationStage: 'Null', + PolkadotCorePrimitivesOutboundHrmpMessage: 'Null', + PalletBalancesReleases: 'Null', + PalletBalancesReserveData: 'Null', + PalletBalancesBalanceLock: { + amount: 'Null' + }, + PalletBalancesAccountData: 'Null', + PalletAuthorshipUncleEntryItem: 'Null', + PalletMultisigMultisig: 'Null', + PalletTransactionPaymentReleases: 'Null', + XcmV2TraitsError: 'Null', + XcmV2Response: 'Null', + FrameSupportTokensMiscBalanceStatus: 'Null', + FrameSupportWeightsDispatchInfo: 'Null', + FrameSupportPalletId: 'Null', + ComposableTraitsCurrencyRational64: 'Null', + PalletCosmwasmInstrumentCostRules: 'Null' + } +}; diff --git a/src/chains/polkadot/api-scheme/crowdloanRewards/index.ts b/src/chains/polkadot/api-scheme/crowdloanRewards/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/crowdloanRewards/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/crowdloanRewards/types.ts b/src/chains/polkadot/api-scheme/crowdloanRewards/types.ts new file mode 100644 index 00000000..2209f706 --- /dev/null +++ b/src/chains/polkadot/api-scheme/crowdloanRewards/types.ts @@ -0,0 +1,553 @@ +// @ts-nocheck +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { bool, Enum, Null, Struct, u32, u64, u128 } from '@polkadot/types-codec'; +import type { ITuple } from '@polkadot/types-codec/types'; +import type { EthereumAccountId } from '@polkadot/types/interfaces/eth'; +import type { EcdsaSignature, MultiSignature } from '@polkadot/types/interfaces/extrinsics'; +import type { ParachainInherentData, PersistedValidationData } from '@polkadot/types/interfaces/parachains'; +import type { AccountId32, Balance, Permill } from '@polkadot/types/interfaces/runtime'; + +import type { ComposableTraitsDefiCurrencyPairCurrencyId, CurrencyId } from '../common'; + +/** @name CommonMosaicRemoteAssetId */ +export interface CommonMosaicRemoteAssetId extends Null {} + +/** @name ComposableSupportEthereumAddress */ +export interface ComposableSupportEthereumAddress extends Null {} + +/** @name ComposableTraitsAccountProxyProxyDefinition */ +export interface ComposableTraitsAccountProxyProxyDefinition extends Null {} + +/** @name ComposableTraitsAccountProxyProxyType */ +export interface ComposableTraitsAccountProxyProxyType extends Null {} + +/** @name ComposableTraitsAssetsBasicAssetMetadata */ +export interface ComposableTraitsAssetsBasicAssetMetadata extends Struct { + readonly symbol: { + readonly inner: Null; + } & Struct; + readonly name: { + readonly inner: Null; + } & Struct; +} + +/** @name ComposableTraitsAssetsXcmAssetLocation */ +export interface ComposableTraitsAssetsXcmAssetLocation extends Null {} + +/** @name ComposableTraitsAuctionAuctionStepFunction */ +export interface ComposableTraitsAuctionAuctionStepFunction extends Null {} + +/** @name ComposableTraitsBondedFinanceBondDuration */ +export interface ComposableTraitsBondedFinanceBondDuration extends Struct { + readonly Finite: { + readonly returnIn: u32; + } & Struct; +} + +/** @name ComposableTraitsBondedFinanceBondOffer */ +export interface ComposableTraitsBondedFinanceBondOffer extends Struct { + readonly beneficiary: AccountId32; + readonly asset: CurrencyId; + readonly bondPrice: u128; + readonly nbOfBonds: u128; + readonly maturity: ComposableTraitsBondedFinanceBondDuration; + readonly reward: ComposableTraitsBondedFinanceBondOfferReward; + readonly keepAlive: bool; +} + +/** @name ComposableTraitsBondedFinanceBondOfferReward */ +export interface ComposableTraitsBondedFinanceBondOfferReward extends Struct { + readonly asset: CurrencyId; + readonly amount: u128; + readonly maturity: u32; +} + +/** @name ComposableTraitsCallFilterCallFilterEntry */ +export interface ComposableTraitsCallFilterCallFilterEntry extends Null {} + +/** @name ComposableTraitsCurrencyRational64 */ +export interface ComposableTraitsCurrencyRational64 extends Null {} + +/** @name ComposableTraitsDefiSell */ +export interface ComposableTraitsDefiSell extends Null {} + +/** @name ComposableTraitsDefiTake */ +export interface ComposableTraitsDefiTake extends Null {} + +/** @name ComposableTraitsDexAssetAmount */ +export interface ComposableTraitsDexAssetAmount extends Null {} + +/** @name ComposableTraitsDexConstantProductPoolInfo */ +export interface ComposableTraitsDexConstantProductPoolInfo extends Struct { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly lpToken: u128; + readonly fee: Permill; + readonly ownerFee: Permill; +} + +/** @name ComposableTraitsDexDexRoute */ +export interface ComposableTraitsDexDexRoute extends Null {} + +/** @name ComposableTraitsDexStableSwapPoolInfo */ +export interface ComposableTraitsDexStableSwapPoolInfo extends Null {} + +/** @name ComposableTraitsGovernanceSignedRawOrigin */ +export interface ComposableTraitsGovernanceSignedRawOrigin extends Enum { + readonly isRoot: boolean; + readonly isSigned: boolean; + readonly isIsSigned: boolean; + readonly asIsSigned: bool; + readonly isAsSigned: boolean; + readonly asAsSigned: AccountId32; + readonly type: 'Root' | 'Signed' | 'IsSigned' | 'AsSigned'; +} + +/** @name ComposableTraitsLendingCreateInput */ +export interface ComposableTraitsLendingCreateInput extends Null {} + +/** @name ComposableTraitsLendingMarketConfig */ +export interface ComposableTraitsLendingMarketConfig extends Null {} + +/** @name ComposableTraitsLendingRepayStrategy */ +export interface ComposableTraitsLendingRepayStrategy extends Null {} + +/** @name ComposableTraitsLendingUpdateInput */ +export interface ComposableTraitsLendingUpdateInput extends Null {} + +/** @name ComposableTraitsOraclePrice */ +export interface ComposableTraitsOraclePrice extends Null {} + +/** @name ComposableTraitsOracleRewardTracker */ +export interface ComposableTraitsOracleRewardTracker extends Null {} + +/** @name ComposableTraitsStakingRewardPool */ +export interface ComposableTraitsStakingRewardPool extends Null {} + +/** @name ComposableTraitsStakingRewardPoolConfiguration */ +export interface ComposableTraitsStakingRewardPoolConfiguration extends Null {} + +/** @name ComposableTraitsStakingRewardUpdate */ +export interface ComposableTraitsStakingRewardUpdate extends Null {} + +/** @name ComposableTraitsStakingStake */ +export interface ComposableTraitsStakingStake extends Null {} + +/** @name ComposableTraitsTimeTimeReleaseFunction */ +export interface ComposableTraitsTimeTimeReleaseFunction extends Null {} + +/** @name ComposableTraitsVaultVaultConfig */ +export interface ComposableTraitsVaultVaultConfig extends Null {} + +/** @name ComposableTraitsXcmAssetsForeignMetadata */ +export interface ComposableTraitsXcmAssetsForeignMetadata extends Null {} + +/** @name ComposableTraitsXcmAssetsXcmAssetLocation */ +export interface ComposableTraitsXcmAssetsXcmAssetLocation extends Null {} + +/** @name CumulusPalletDmpQueueConfigData */ +export interface CumulusPalletDmpQueueConfigData extends Null {} + +/** @name CumulusPalletDmpQueuePageIndexData */ +export interface CumulusPalletDmpQueuePageIndexData extends Null {} + +/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */ +export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Null {} + +/** @name CumulusPalletXcmpQueueInboundChannelDetails */ +export interface CumulusPalletXcmpQueueInboundChannelDetails extends Null {} + +/** @name CumulusPalletXcmpQueueInboundStatus */ +export interface CumulusPalletXcmpQueueInboundStatus extends Null {} + +/** @name CumulusPalletXcmpQueueOutboundChannelDetails */ +export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Null {} + +/** @name CumulusPalletXcmpQueueOutboundStatus */ +export interface CumulusPalletXcmpQueueOutboundStatus extends Null {} + +/** @name CumulusPalletXcmpQueueQueueConfigData */ +export interface CumulusPalletXcmpQueueQueueConfigData extends Null {} + +/** @name CumulusPrimitivesParachainInherentParachainInherentData */ +export interface CumulusPrimitivesParachainInherentParachainInherentData extends ParachainInherentData {} + +/** @name DaliRuntimeOpaqueSessionKeys */ +export interface DaliRuntimeOpaqueSessionKeys extends Null {} + +/** @name DaliRuntimeOriginCaller */ +export interface DaliRuntimeOriginCaller extends Null {} + +/** @name FrameSupportPalletId */ +export interface FrameSupportPalletId extends Null {} + +/** @name FrameSupportScheduleLookupError */ +export interface FrameSupportScheduleLookupError extends Null {} + +/** @name FrameSupportScheduleMaybeHashed */ +export interface FrameSupportScheduleMaybeHashed extends Null {} + +/** @name FrameSupportTokensMiscBalanceStatus */ +export interface FrameSupportTokensMiscBalanceStatus extends Null {} + +/** @name FrameSupportWeightsDispatchInfo */ +export interface FrameSupportWeightsDispatchInfo extends Null {} + +/** @name FrameSupportWeightsPerDispatchClassU64 */ +export interface FrameSupportWeightsPerDispatchClassU64 extends Null {} + +/** @name FrameSupportWeightsRuntimeDbWeight */ +export interface FrameSupportWeightsRuntimeDbWeight extends Null {} + +/** @name FrameSystemAccountInfo */ +export interface FrameSystemAccountInfo extends Struct { + readonly nonce: Null; + readonly consumers: Null; + readonly providers: Null; + readonly sufficients: Null; + readonly data: { + readonly free: u128; + readonly reserved: u128; + readonly miscFrozen: u128; + readonly feeFrozen: u128; + } & Struct; +} + +/** @name FrameSystemEventRecord */ +export interface FrameSystemEventRecord extends Null {} + +/** @name FrameSystemLastRuntimeUpgradeInfo */ +export interface FrameSystemLastRuntimeUpgradeInfo extends Null {} + +/** @name FrameSystemLimitsBlockLength */ +export interface FrameSystemLimitsBlockLength extends Null {} + +/** @name FrameSystemLimitsBlockWeights */ +export interface FrameSystemLimitsBlockWeights extends Null {} + +/** @name FrameSystemPhase */ +export interface FrameSystemPhase extends Null {} + +/** @name IbcTraitOpenChannelParams */ +export interface IbcTraitOpenChannelParams extends Null {} + +/** @name IbcTransferPalletParams */ +export interface IbcTransferPalletParams extends Null {} + +/** @name IbcTransferTransferParams */ +export interface IbcTransferTransferParams extends Null {} + +/** @name OrmlTokensAccountData */ +export interface OrmlTokensAccountData extends Struct { + readonly free: u128; + readonly reserved: u128; + readonly frozen: u128; +} + +/** @name OrmlTokensBalanceLock */ +export interface OrmlTokensBalanceLock extends Null {} + +/** @name OrmlTokensReserveData */ +export interface OrmlTokensReserveData extends Null {} + +/** @name PalletAccountProxyAnnouncement */ +export interface PalletAccountProxyAnnouncement extends Null {} + +/** @name PalletAssetsRegistryCandidateStatus */ +export interface PalletAssetsRegistryCandidateStatus extends Null {} + +/** @name PalletAssetsRegistryForeignMetadata */ +export interface PalletAssetsRegistryForeignMetadata extends Null {} + +/** @name PalletAuthorshipUncleEntryItem */ +export interface PalletAuthorshipUncleEntryItem extends Null {} + +/** @name PalletBalancesAccountData */ +export interface PalletBalancesAccountData extends Null {} + +/** @name PalletBalancesBalanceLock */ +export interface PalletBalancesBalanceLock extends Struct { + readonly amount: Null; +} + +/** @name PalletBalancesReleases */ +export interface PalletBalancesReleases extends Null {} + +/** @name PalletBalancesReserveData */ +export interface PalletBalancesReserveData extends Null {} + +/** @name PalletCollatorSelectionCandidateInfo */ +export interface PalletCollatorSelectionCandidateInfo extends Null {} + +/** @name PalletCollectiveVotes */ +export interface PalletCollectiveVotes extends Null {} + +/** @name PalletCosmwasmCodeIdentifier */ +export interface PalletCosmwasmCodeIdentifier extends Null {} + +/** @name PalletCosmwasmCodeInfo */ +export interface PalletCosmwasmCodeInfo extends Null {} + +/** @name PalletCosmwasmContractInfo */ +export interface PalletCosmwasmContractInfo extends Null {} + +/** @name PalletCosmwasmEntryPoint */ +export interface PalletCosmwasmEntryPoint extends Null {} + +/** @name PalletCosmwasmInstrumentCostRules */ +export interface PalletCosmwasmInstrumentCostRules extends Null {} + +/** @name PalletCrowdloanRewardsModelsEcdsaSignature */ +export interface PalletCrowdloanRewardsModelsEcdsaSignature extends EcdsaSignature {} + +/** @name PalletCrowdloanRewardsModelsProof */ +export interface PalletCrowdloanRewardsModelsProof extends Enum { + readonly isRelayChain: boolean; + readonly asRelayChain: ITuple<[AccountId32, MultiSignature]>; + readonly isEthereum: boolean; + readonly asEthereum: PalletCrowdloanRewardsModelsEcdsaSignature; + readonly type: 'RelayChain' | 'Ethereum'; +} + +/** @name PalletCrowdloanRewardsModelsRemoteAccount */ +export interface PalletCrowdloanRewardsModelsRemoteAccount extends Enum { + readonly isRelayChain: boolean; + readonly asRelayChain: AccountId32; + readonly isEthereum: boolean; + readonly asEthereum: EthereumAccountId; + readonly isRegistry: boolean; + readonly type: 'RelayChain' | 'Ethereum' | 'Registry'; +} + +/** @name PalletCrowdloanRewardsModelsReward */ +export interface PalletCrowdloanRewardsModelsReward extends Struct { + readonly total: u128; + readonly claimed: u128; + readonly vestingPeriod: u64; +} + +/** @name PalletCrowdloanRewardsReward */ +export interface PalletCrowdloanRewardsReward extends Null {} + +/** @name PalletDemocracyConviction */ +export interface PalletDemocracyConviction extends Null {} + +/** @name PalletDemocracyVoteAccountVote */ +export interface PalletDemocracyVoteAccountVote extends Null {} + +/** @name PalletDutchAuctionSellOrder */ +export interface PalletDutchAuctionSellOrder extends Null {} + +/** @name PalletDutchAuctionTakeOrder */ +export interface PalletDutchAuctionTakeOrder extends Null {} + +/** @name PalletIbcAny */ +export interface PalletIbcAny extends Null {} + +/** @name PalletIbcConnectionParams */ +export interface PalletIbcConnectionParams extends Null {} + +/** @name PalletIbcErrorsIbcError */ +export interface PalletIbcErrorsIbcError extends Null {} + +/** @name PalletIbcEventsIbcEvent */ +export interface PalletIbcEventsIbcEvent extends Null {} + +/** @name PalletIbcIbcConsensusState */ +export interface PalletIbcIbcConsensusState extends Null {} + +/** @name PalletIbcPalletParams */ +export interface PalletIbcPalletParams extends Null {} + +/** @name PalletIbcPingSendPingParams */ +export interface PalletIbcPingSendPingParams extends Null {} + +/** @name PalletIbcTransferParams */ +export interface PalletIbcTransferParams extends Null {} + +/** @name PalletIbcUpgradeParams */ +export interface PalletIbcUpgradeParams extends Null {} + +/** @name PalletIdentityBitFlags */ +export interface PalletIdentityBitFlags extends Null {} + +/** @name PalletIdentityIdentityInfo */ +export interface PalletIdentityIdentityInfo extends Null {} + +/** @name PalletIdentityJudgement */ +export interface PalletIdentityJudgement extends Null {} + +/** @name PalletIdentityRegistrarInfo */ +export interface PalletIdentityRegistrarInfo extends Null {} + +/** @name PalletIdentityRegistration */ +export interface PalletIdentityRegistration extends Null {} + +/** @name PalletLiquidationsLiquidationStrategyConfiguration */ +export interface PalletLiquidationsLiquidationStrategyConfiguration extends Null {} + +/** @name PalletLiquidityBootstrappingPool */ +export interface PalletLiquidityBootstrappingPool extends Null {} + +/** @name PalletMosaicAmmSwapInfo */ +export interface PalletMosaicAmmSwapInfo extends Null {} + +/** @name PalletMosaicAssetInfo */ +export interface PalletMosaicAssetInfo extends Null {} + +/** @name PalletMosaicDecayBudgetPenaltyDecayer */ +export interface PalletMosaicDecayBudgetPenaltyDecayer extends Null {} + +/** @name PalletLiquidStakingUnstakeProvider */ +export interface PalletLiquidStakingUnstakeProvider extends Null {} + +/** @name PalletMosaicNetworkInfo */ +export interface PalletMosaicNetworkInfo extends Struct { + readonly enabled: bool; + readonly maxTransferSize: Balance; +} + +/** @name PalletMosaicRelayerStaleRelayer */ +export interface PalletMosaicRelayerStaleRelayer extends Struct { + readonly relayer: { + readonly current: AccountId32; + readonly next: { + readonly ttl: u32; + readonly account: AccountId32; + } & Struct; + } & Struct; +} + +/** @name PalletMultisigMultisig */ +export interface PalletMultisigMultisig extends Null {} + +/** @name PalletMultisigTimepoint */ +export interface PalletMultisigTimepoint extends Null {} + +/** @name PalletOracleAssetInfo */ +export interface PalletOracleAssetInfo extends Null {} + +/** @name PalletOraclePrePrice */ +export interface PalletOraclePrePrice extends Null {} + +/** @name PalletOraclePrice */ +export interface PalletOraclePrice extends Null {} + +/** @name PalletOracleWithdraw */ +export interface PalletOracleWithdraw extends Struct { + readonly stake: u128; + readonly unlockBlock: u32; +} + +/** @name PalletSchedulerReleases */ +export interface PalletSchedulerReleases extends Null {} + +/** @name PalletSchedulerScheduledV2 */ +export interface PalletSchedulerScheduledV2 extends Null {} + +/** @name PalletSchedulerScheduledV3 */ +export interface PalletSchedulerScheduledV3 extends Null {} + +/** @name PalletStakingRewardsRewardAccumulationHookError */ +export interface PalletStakingRewardsRewardAccumulationHookError extends Null {} + +/** @name PalletTransactionPaymentReleases */ +export interface PalletTransactionPaymentReleases extends Null {} + +/** @name PalletTreasuryProposal */ +export interface PalletTreasuryProposal extends Null {} + +/** @name PalletVaultModelsStrategyOverview */ +export interface PalletVaultModelsStrategyOverview extends Null {} + +/** @name PalletVaultModelsVaultInfo */ +export interface PalletVaultModelsVaultInfo extends Null {} + +/** @name PalletXcmQueryStatus */ +export interface PalletXcmQueryStatus extends Null {} + +/** @name PalletXcmVersionMigrationStage */ +export interface PalletXcmVersionMigrationStage extends Null {} + +/** @name PolkadotCorePrimitivesOutboundHrmpMessage */ +export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Null {} + +/** @name PolkadotParachainPrimitivesXcmpMessageFormat */ +export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Null {} + +/** @name PolkadotPrimitivesV1AbridgedHostConfiguration */ +export interface PolkadotPrimitivesV1AbridgedHostConfiguration extends Null {} + +/** @name PolkadotPrimitivesV1PersistedValidationData */ +export interface PolkadotPrimitivesV1PersistedValidationData extends PersistedValidationData {} + +/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */ +export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Null {} + +/** @name PolkadotPrimitivesV2PersistedValidationData */ +export interface PolkadotPrimitivesV2PersistedValidationData extends Null {} + +/** @name PolkadotPrimitivesV2UpgradeRestriction */ +export interface PolkadotPrimitivesV2UpgradeRestriction extends Null {} + +/** @name SpConsensusAuraSr25519AppSr25519Public */ +export interface SpConsensusAuraSr25519AppSr25519Public extends Null {} + +/** @name SpCoreCryptoKeyTypeId */ +export interface SpCoreCryptoKeyTypeId extends Null {} + +/** @name SpRuntimeDigest */ +export interface SpRuntimeDigest extends Null {} + +/** @name SpRuntimeDispatchError */ +export interface SpRuntimeDispatchError extends Null {} + +/** @name SpRuntimeHeader */ +export interface SpRuntimeHeader extends Null {} + +/** @name SpTrieStorageProof */ +export interface SpTrieStorageProof extends Null {} + +/** @name SpVersionRuntimeVersion */ +export interface SpVersionRuntimeVersion extends Null {} + +/** @name XcmV1MultiAsset */ +export interface XcmV1MultiAsset extends Null {} + +/** @name XcmV1MultiassetMultiAssets */ +export interface XcmV1MultiassetMultiAssets extends Null {} + +/** @name XcmV1MultiLocation */ +export interface XcmV1MultiLocation extends Null {} + +/** @name XcmV2Response */ +export interface XcmV2Response extends Null {} + +/** @name XcmV2TraitsError */ +export interface XcmV2TraitsError extends Null {} + +/** @name XcmV2TraitsOutcome */ +export interface XcmV2TraitsOutcome extends Null {} + +/** @name XcmV2WeightLimit */ +export interface XcmV2WeightLimit extends Null {} + +/** @name XcmV2Xcm */ +export interface XcmV2Xcm extends Null {} + +/** @name XcmVersionedMultiAsset */ +export interface XcmVersionedMultiAsset extends Null {} + +/** @name XcmVersionedMultiAssets */ +export interface XcmVersionedMultiAssets extends Null {} + +/** @name XcmVersionedMultiLocation */ +export interface XcmVersionedMultiLocation extends Null {} + +/** @name StagingXcmVersionedMultiLocation */ +export interface StagingXcmVersionedMultiLocation extends Null {} + +/** @name XcmVersionedXcm */ +export interface XcmVersionedXcm extends Null {} + +export type PHANTOM_CROWDLOANREWARDS = 'crowdloanRewards'; diff --git a/src/chains/polkadot/api-scheme/currencyFactory/definitions.ts b/src/chains/polkadot/api-scheme/currencyFactory/definitions.ts new file mode 100644 index 00000000..633cf3a2 --- /dev/null +++ b/src/chains/polkadot/api-scheme/currencyFactory/definitions.ts @@ -0,0 +1,12 @@ +export default { + rpc: {}, + types: { + PalletCurrencyFactoryRanges: { + ranges: 'BoundedVec, MaxRanges>' + }, + PalletCurrencyFactoryRangesRange: { + current: 'AssetId', + end: 'AssetId' + } + } +}; diff --git a/src/chains/polkadot/api-scheme/currencyFactory/index.ts b/src/chains/polkadot/api-scheme/currencyFactory/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/currencyFactory/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/currencyFactory/types.ts b/src/chains/polkadot/api-scheme/currencyFactory/types.ts new file mode 100644 index 00000000..0b7f1e11 --- /dev/null +++ b/src/chains/polkadot/api-scheme/currencyFactory/types.ts @@ -0,0 +1,16 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { Struct, Vec } from '@polkadot/types-codec'; +import type { AssetId } from '@polkadot/types/interfaces/runtime'; + +/** @name PalletCurrencyFactoryRanges */ +export interface PalletCurrencyFactoryRanges extends Struct { + readonly ranges: Vec; +} + +/** @name PalletCurrencyFactoryRangesRange */ +export interface PalletCurrencyFactoryRangesRange extends Struct { + readonly current: AssetId; + readonly end: AssetId; +} + +export type PHANTOM_CURRENCYFACTORY = 'currencyFactory'; diff --git a/src/chains/polkadot/api-scheme/definitions.ts b/src/chains/polkadot/api-scheme/definitions.ts new file mode 100644 index 00000000..c0d8e085 --- /dev/null +++ b/src/chains/polkadot/api-scheme/definitions.ts @@ -0,0 +1,11 @@ +export { default as crowdloanRewards } from './crowdloanRewards/definitions'; +export { default as assets } from './assets/definitions'; +export { default as reward } from './reward/definitions'; +export { default as lending } from './lending/definitions'; +export { default as common } from './common/definitions'; +export { default as pablo } from './pablo/definitions'; +export { default as currencyFactory } from './currencyFactory/definitions'; +export { default as democracy } from './democracy/definitions'; +export { default as vesting } from './vesting/definitions'; +export { default as ibc } from './ibc/definitions'; +export { default as liquidStaking } from './liquidStaking/definitions'; diff --git a/src/chains/polkadot/api-scheme/democracy/definitions.ts b/src/chains/polkadot/api-scheme/democracy/definitions.ts new file mode 100644 index 00000000..ac6dfdd5 --- /dev/null +++ b/src/chains/polkadot/api-scheme/democracy/definitions.ts @@ -0,0 +1,32 @@ +export default { + rpc: {}, + types: { + PalletDemocracyVoteVoting: { + _enum: { + delegating: { + balance: 'Balance', + target: 'AccountId32', + conviction: 'Null', + delegations: { + votes: 'Null', + capital: 'Null' + }, + prior: 'Null' + }, + direct: { + votes: 'Vec', + delegations: { + votes: 'u128', + capital: 'u128', + prior: 'Null' + } + } + } + }, + PalletDemocracyVoteThreshold: 'Null', + PalletDemocracyPreimageStatus: 'Null', + PalletDemocracyReferendumInfo: 'Null', + PalletPreimageRequestStatus: 'Null', + PalletDemocracyReleases: 'Null' + } +}; diff --git a/src/chains/polkadot/api-scheme/democracy/index.ts b/src/chains/polkadot/api-scheme/democracy/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/democracy/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/democracy/types.ts b/src/chains/polkadot/api-scheme/democracy/types.ts new file mode 100644 index 00000000..2d06bbd0 --- /dev/null +++ b/src/chains/polkadot/api-scheme/democracy/types.ts @@ -0,0 +1,45 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { Enum, Null, Struct, u128, Vec } from '@polkadot/types-codec'; +import type { AccountId32, Balance } from '@polkadot/types/interfaces/runtime'; + +/** @name PalletDemocracyPreimageStatus */ +export interface PalletDemocracyPreimageStatus extends Null {} + +/** @name PalletDemocracyReferendumInfo */ +export interface PalletDemocracyReferendumInfo extends Null {} + +/** @name PalletDemocracyReleases */ +export interface PalletDemocracyReleases extends Null {} + +/** @name PalletDemocracyVoteThreshold */ +export interface PalletDemocracyVoteThreshold extends Null {} + +/** @name PalletDemocracyVoteVoting */ +export interface PalletDemocracyVoteVoting extends Enum { + readonly isDelegating: boolean; + readonly asDelegating: { + readonly balance: Balance; + readonly target: AccountId32; + readonly conviction: Null; + readonly delegations: { + readonly votes: Null; + readonly capital: Null; + } & Struct; + readonly prior: Null; + } & Struct; + readonly isDirect: boolean; + readonly asDirect: { + readonly votes: Vec; + readonly delegations: { + readonly votes: u128; + readonly capital: u128; + readonly prior: Null; + } & Struct; + } & Struct; + readonly type: 'Delegating' | 'Direct'; +} + +/** @name PalletPreimageRequestStatus */ +export interface PalletPreimageRequestStatus extends Null {} + +export type PHANTOM_DEMOCRACY = 'democracy'; diff --git a/src/chains/polkadot/api-scheme/ibc/definitions.ts b/src/chains/polkadot/api-scheme/ibc/definitions.ts new file mode 100644 index 00000000..79e9716c --- /dev/null +++ b/src/chains/polkadot/api-scheme/ibc/definitions.ts @@ -0,0 +1,152 @@ +export default { + rpc: { + queryBalanceWithAddress: { + description: 'Get the balance with address', + params: [ + { + name: 'addr', + type: 'AccountId32' + }, + { + name: 'asset_id', + type: 'CurrencyId' + } + ], + type: 'BTreeMap, SafeRpcWrapper>' + }, + clientUpdateTimeAndHeight: { + description: '', + params: [] + }, + generateConnectionHandshakeProof: { + description: '', + params: [] + }, + queryChannel: { + description: '', + params: [] + }, + queryChannelClient: { + description: '', + params: [] + }, + queryChannels: { + description: '', + params: [] + }, + queryClientConsensusState: { + description: '', + params: [] + }, + queryClientState: { + description: '', + params: [] + }, + queryClients: { + description: '', + params: [] + }, + queryConnection: { + description: '', + params: [] + }, + queryConnectionChannels: { + description: '', + params: [] + }, + queryConnectionUsingClient: { + description: '', + params: [] + }, + queryConnections: { + description: '', + params: [] + }, + queryDenomTrace: { + description: '', + params: [] + }, + queryDenomTraces: { + description: '', + params: [] + }, + queryEvents: { + description: '', + params: [] + }, + queryLatestHeight: { + description: '', + params: [] + }, + queryNewlyCreatedClient: { + description: '', + params: [] + }, + queryNextSeqRecv: { + description: '', + params: [] + }, + queryPacketAcknowledgement: { + description: '', + params: [ + { + name: 'channelId', + type: 'Vec' + }, + { + name: 'portId', + type: 'Vec' + }, + { + name: 'seq', + type: 'u64' + } + ] + }, + queryPacketAcknowledgements: { + description: '', + params: [] + }, + queryPacketCommitment: { + description: '', + params: [] + }, + queryPacketCommitments: { + description: '', + params: [] + }, + queryPacketReceipt: { + description: '', + params: [] + }, + queryProof: { + description: '', + params: [] + }, + queryRecvPackets: { + description: '', + params: [] + }, + querySendPackets: { + description: '', + params: [] + }, + queryUnreceivedAcknowledgement: { + description: '', + params: [] + }, + queryUnreceivedPackets: { + description: '', + params: [] + }, + queryUpgradedClient: { + description: '', + params: [] + }, + queryUpgradedConnectionState: { + description: '', + params: [] + } + }, + types: {} +}; diff --git a/src/chains/polkadot/api-scheme/index.ts b/src/chains/polkadot/api-scheme/index.ts new file mode 100644 index 00000000..4103f5d4 --- /dev/null +++ b/src/chains/polkadot/api-scheme/index.ts @@ -0,0 +1,44 @@ +import { stringToU8a } from '@polkadot/util'; + +import * as definitions from './definitions'; + +export const ENDPOINT = + process.env.NEXT_PUBLIC_ENDPOINT ?? 'wss://rpc.composablenodes.tech'; + +export const PALLET_ID = 'modl'; +export const PALLET_TYPE_ID = stringToU8a(PALLET_ID); +export const polkadotApiTypes = Object.keys(definitions) + .filter((key) => Object.keys(definitions[key].types).length > 0) + .reduce( + (accumulator, key) => ({ + ...accumulator, + ...definitions[key].types, + }), + {} + ); + +export const polkadotApiRpc = Object.keys(definitions) + .filter((k) => { + if (!definitions[k].rpc) { + return false; + } + return Object.keys(definitions[k].rpc).length > 0; + }) + .reduce( + (accumulator, key) => ({ + ...accumulator, + [key]: definitions[key].rpc, + }), + {} + ); + +export function concatU8a(a: Uint8Array, b: Uint8Array): Uint8Array { + const c = new Uint8Array(a.length + b.length); + c.set(a); + c.set(b, a.length); + return c; +} + +export const hexToDecimalStr = (hex: string) => { + return BigInt(hex).toString(10); +}; diff --git a/src/chains/polkadot/api-scheme/interfaces.ts b/src/chains/polkadot/api-scheme/interfaces.ts new file mode 100644 index 00000000..f52a5c03 --- /dev/null +++ b/src/chains/polkadot/api-scheme/interfaces.ts @@ -0,0 +1,41 @@ +import type Big from 'big.js'; + +export type AssetRatio = { + n: number; + d: number; +}; + +export interface BalanceRes { + consumers: string; + nonce: string; + providers: string; + sufficients: string; + data: { + free: string; + reserved: string; + miscFrozen: string; + feeFrozen: string; + }; +} + +export interface Balance { + assetId: string; + value: string; +} + +export interface AssetInterface { + name: string; + id: string; + decimals: number; + existentialDeposit: string; + ratio: AssetRatio; + balance?: string; + exchangeRate?: string; +} + +export interface BalancesInterface { + assetId: string; + assetName: string; + balance: string; + decimal: Big; +} diff --git a/src/chains/polkadot/api-scheme/lending/definitions.ts b/src/chains/polkadot/api-scheme/lending/definitions.ts new file mode 100644 index 00000000..18f63d01 --- /dev/null +++ b/src/chains/polkadot/api-scheme/lending/definitions.ts @@ -0,0 +1,4 @@ +export default { + rpc: {}, + types: {} +}; diff --git a/src/chains/polkadot/api-scheme/lending/index.ts b/src/chains/polkadot/api-scheme/lending/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/lending/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/lending/types.ts b/src/chains/polkadot/api-scheme/lending/types.ts new file mode 100644 index 00000000..c3ad1766 --- /dev/null +++ b/src/chains/polkadot/api-scheme/lending/types.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export type PHANTOM_LENDING = 'lending'; diff --git a/src/chains/polkadot/api-scheme/liquidStaking/definitions.ts b/src/chains/polkadot/api-scheme/liquidStaking/definitions.ts new file mode 100644 index 00000000..c2a80ed0 --- /dev/null +++ b/src/chains/polkadot/api-scheme/liquidStaking/definitions.ts @@ -0,0 +1,12 @@ +export default { + rpc: {}, + types: { + UnstakeProvider: { + _enum: { + RelayChain: 0, + Loans: 1, + MatchingPool: 2 + } + } + } +}; diff --git a/src/chains/polkadot/api-scheme/pablo/definitions.ts b/src/chains/polkadot/api-scheme/pablo/definitions.ts new file mode 100644 index 00000000..63127443 --- /dev/null +++ b/src/chains/polkadot/api-scheme/pablo/definitions.ts @@ -0,0 +1,116 @@ +export default { + rpc: { + pricesFor: { + description: 'Get the price(in quote asset) for the given asset pair in the given pool for the given amount', + params: [ + { + name: 'poolId', + type: 'PalletPabloPoolId' + }, + { + name: 'baseAssetId', + type: 'CustomRpcCurrencyId' + }, + { + name: 'quoteAssetId', + type: 'CustomRpcCurrencyId' + }, + { + name: 'amount', + type: 'CustomRpcBalance' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'PalletPabloPriceAggregate' + }, + simulateAddLiquidity: { + description: 'Simulate add liquidity', + params: [ + { + name: 'who', + type: 'SafeRpcWrapper' + }, + { + name: 'poolId', + type: 'SafeRpcWrapper' + }, + { + name: 'amounts', + type: 'BTreeMap, SafeRpcWrapper>' + } + ], + type: 'SafeRpcWrapper' + }, + isFlatFee: { + description: 'Check whether asset has a flat fee', + params: [ + { + name: 'assetId', + type: 'SafeRpcWrapper' + } + ], + type: 'Option>' + }, + simulateRemoveLiquidity: { + description: 'Get the price(in quote asset) for the given asset pair in the given pool for the given amount', + params: [ + { + name: 'who', + type: 'SafeRpcWrapper' + }, + { + name: 'poolId', + type: 'SafeRpcWrapper' + }, + { + name: 'lpAmount', + type: 'SafeRpcWrapper' + }, + { + name: 'minExpectedAmounts', + type: 'BTreeMap, SafeRpcWrapper>' + } + ], + type: 'RemoveLiquiditySimulationResult, SafeRpcWrapper>' + } + }, + types: { + PalletPabloPoolInitConfiguration: 'PalletPabloPoolConfiguration', + PalletPabloPoolConfiguration: { + _enum: { + DualAssetConstantProduct: { + owner: 'AccountId32', + assetsWeights: 'BoundedBTreeMap>', + lpToken: 'u128', + feeConfig: { + feeRate: 'Permill', + ownerFeeRate: 'Permill', + protocolFeeRate: 'Permill' + } + } + } + }, + PalletPabloPriceCumulative: 'Null', + PalletPabloTimeWeightedAveragePrice: 'Null', + PalletPabloPoolId: 'SafeRpcWrapper', + PalletPabloPriceAggregate: { + poolId: 'PalletPabloPoolId', + baseAssetId: 'CustomRpcCurrencyId', + quoteAssetId: 'CustomRpcCurrencyId', + spotPrice: 'CustomRpcBalance' + }, + ComposableTraitsDexFee: { + fee: 'u128', + lpFee: 'u128', + ownerFee: 'u128', + protocolFee: 'u128', + assetId: 'u128' + }, + ComposableTraitsDexStakingRewardPool: 'Null', + RemoveLiquiditySimulationResult: 'BTreeMap' + } +}; diff --git a/src/chains/polkadot/api-scheme/pablo/index.ts b/src/chains/polkadot/api-scheme/pablo/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/pablo/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/pablo/types.ts b/src/chains/polkadot/api-scheme/pablo/types.ts new file mode 100644 index 00000000..838ce21b --- /dev/null +++ b/src/chains/polkadot/api-scheme/pablo/types.ts @@ -0,0 +1,79 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { Enum, Null, Struct, u16, u128 } from '@polkadot/types-codec'; +import type { AccountId32, BlockNumber, Permill } from '@polkadot/types/interfaces/runtime'; + +import type { + ComposableTraitsDefiCurrencyPairCurrencyId, + CustomRpcBalance, + CustomRpcCurrencyId, + SafeRpcWrapper +} from '../common'; + +/** @name ComposableTraitsDexFee */ +export interface ComposableTraitsDexFee extends Struct { + readonly fee: u128; + readonly lp_fee: u128; + readonly owner_fee: u128; + readonly protocol_fee: u128; + readonly asset_id: u128; +} + +/** @name ComposableTraitsDexStakingRewardPool */ +export interface ComposableTraitsDexStakingRewardPool extends Null {} + +/** @name PalletPabloPoolConfiguration */ +export interface PalletPabloPoolConfiguration extends Enum { + readonly isStableSwap: boolean; + readonly asStableSwap: { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly amplification_coefficient: u16; + readonly fee: Permill; + } & Struct; + readonly isConstantProduct: boolean; + readonly asConstantProduct: { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly fee: Permill; + readonly baseWeight: Permill; + } & Struct; + readonly isLiquidityBootstrapping: boolean; + readonly asLiquidityBootstrapping: { + readonly owner: AccountId32; + readonly pair: ComposableTraitsDefiCurrencyPairCurrencyId; + readonly sale: { + readonly start: BlockNumber; + readonly end: BlockNumber; + readonly initial_weight: Permill; + readonly final_weight: Permill; + } & Struct; + readonly feeConfig: { + readonly feeRate: Permill; + readonly ownerFeeRate: Permill; + readonly protocolFeeRate: Permill; + } & Struct; + } & Struct; + readonly type: 'StableSwap' | 'ConstantProduct' | 'LiquidityBootstrapping'; +} + +/** @name PalletPabloPoolId */ +export interface PalletPabloPoolId extends SafeRpcWrapper {} + +/** @name PalletPabloPoolInitConfiguration */ +export interface PalletPabloPoolInitConfiguration extends PalletPabloPoolConfiguration {} + +/** @name PalletPabloPriceAggregate */ +export interface PalletPabloPriceAggregate extends Struct { + readonly poolId: PalletPabloPoolId; + readonly baseAssetId: CustomRpcCurrencyId; + readonly quoteAssetId: CustomRpcCurrencyId; + readonly spotPrice: CustomRpcBalance; +} + +/** @name PalletPabloPriceCumulative */ +export interface PalletPabloPriceCumulative extends Null {} + +/** @name PalletPabloTimeWeightedAveragePrice */ +export interface PalletPabloTimeWeightedAveragePrice extends Null {} + +export type PHANTOM_PABLO = 'pablo'; diff --git a/src/chains/polkadot/api-scheme/reward/definitions.ts b/src/chains/polkadot/api-scheme/reward/definitions.ts new file mode 100644 index 00000000..5cfffc47 --- /dev/null +++ b/src/chains/polkadot/api-scheme/reward/definitions.ts @@ -0,0 +1,51 @@ +export default { + rpc: { + estimateFarmingReward: { + description: 'Reward available for the specified account for the specified asset.', + params: [ + { + name: 'address', + type: 'AccountId32' + }, + { + name: 'poolCurrencyId', + type: 'Text' + }, + { + name: 'rewardCurrencyId', + type: 'Text' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'u128' + }, + computeFarmingReward: { + description: 'Reward available for the specified account for the specified asset.', + params: [ + { + name: 'accountId', + type: 'AccountId32' + }, + { + name: 'poolCurrencyId', + type: 'Text' + }, + { + name: 'rewardCurrencyId', + type: 'Text' + }, + { + name: 'at', + type: 'Hash', + isOptional: true + } + ], + type: 'Balance' + } + }, + types: {} +}; diff --git a/src/chains/polkadot/api-scheme/types.ts b/src/chains/polkadot/api-scheme/types.ts new file mode 100644 index 00000000..dca5b81e --- /dev/null +++ b/src/chains/polkadot/api-scheme/types.ts @@ -0,0 +1,10 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './crowdloanRewards/types'; +export * from './assets/types'; +export * from './lending/types'; +export * from './common/types'; +export * from './pablo/types'; +export * from './currencyFactory/types'; +export * from './democracy/types'; +export * from './vesting/types'; diff --git a/src/chains/polkadot/api-scheme/vesting/definitions.ts b/src/chains/polkadot/api-scheme/vesting/definitions.ts new file mode 100644 index 00000000..f055d191 --- /dev/null +++ b/src/chains/polkadot/api-scheme/vesting/definitions.ts @@ -0,0 +1,30 @@ +export default { + rpc: {}, + types: { + VestingWindow: { + _enum: { + MomentBased: { + start: 'Moment', + period: 'Moment' + }, + BlockNumberBased: { + start: 'BlockNumber', + period: 'BlockNumber' + } + } + }, + ComposableTraitsVestingVestingSchedule: { + vestingScheduleId: 'u128', + window: 'VestingWindow', + periodCount: 'u32', + perPeriod: 'Balance', + alreadyClaimed: 'Balance' + }, + ComposableTraitsVestingVestingScheduleIdSet: 'Null', + ComposableTraitsVestingVestingScheduleInfo: { + window: 'VestingWindow', + periodCount: 'u128', + perPeriod: 'u128' + } + } +}; diff --git a/src/chains/polkadot/api-scheme/vesting/index.ts b/src/chains/polkadot/api-scheme/vesting/index.ts new file mode 100644 index 00000000..e1d576ec --- /dev/null +++ b/src/chains/polkadot/api-scheme/vesting/index.ts @@ -0,0 +1,3 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit + +export * from './types'; diff --git a/src/chains/polkadot/api-scheme/vesting/types.ts b/src/chains/polkadot/api-scheme/vesting/types.ts new file mode 100644 index 00000000..0843f613 --- /dev/null +++ b/src/chains/polkadot/api-scheme/vesting/types.ts @@ -0,0 +1,39 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +import type { Enum, Null, Struct, u32, u128 } from '@polkadot/types-codec'; +import type { Balance, BlockNumber, Moment } from '@polkadot/types/interfaces/runtime'; + +/** @name ComposableTraitsVestingVestingSchedule */ +export interface ComposableTraitsVestingVestingSchedule extends Struct { + readonly vestingScheduleId: u128; + readonly window: VestingWindow; + readonly periodCount: u32; + readonly perPeriod: Balance; + readonly alreadyClaimed: Balance; +} + +/** @name ComposableTraitsVestingVestingScheduleIdSet */ +export interface ComposableTraitsVestingVestingScheduleIdSet extends Null {} + +/** @name ComposableTraitsVestingVestingScheduleInfo */ +export interface ComposableTraitsVestingVestingScheduleInfo extends Struct { + readonly window: VestingWindow; + readonly periodCount: u128; + readonly perPeriod: u128; +} + +/** @name VestingWindow */ +export interface VestingWindow extends Enum { + readonly isMomentBased: boolean; + readonly asMomentBased: { + readonly start: Moment; + readonly period: Moment; + } & Struct; + readonly isBlockNumberBased: boolean; + readonly asBlockNumberBased: { + readonly start: BlockNumber; + readonly period: BlockNumber; + } & Struct; + readonly type: 'MomentBased' | 'BlockNumberBased'; +} + +export type PHANTOM_VESTING = 'vesting'; diff --git a/src/chains/polkadot/helper.ts b/src/chains/polkadot/helper.ts new file mode 100644 index 00000000..d7b6ab8b --- /dev/null +++ b/src/chains/polkadot/helper.ts @@ -0,0 +1,389 @@ +import { ApiPromise, WsProvider } from '@polkadot/api'; +import { + type AddressOrPair, + type SubmittableExtrinsic, +} from '@polkadot/api-base/types'; +import { ApiOptions } from '@polkadot/api/types'; +import { type AccountId32 } from '@polkadot/types/interfaces/runtime'; +import { + type AnyTuple, + type Codec, + type IEvent, + type ISubmittableResult, +} from '@polkadot/types/types'; +import Big from 'big.js'; + +import { + concatU8a, + PALLET_TYPE_ID, + polkadotApiRpc, + polkadotApiTypes, +} from './api-scheme'; +import { MultihopRoutePath, RouteDetail } from './types'; +import { networks } from '../../config'; +import { hexToString } from '@polkadot/util'; + +export { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; +export { base58Decode } from '@polkadot/util-crypto'; +export type OnFailedTxHandler = ( + result: ISubmittableResult, + errorMessage?: string +) => void; + +async function checkWalletIdForSigning(accountId: string) { + // Default implementation, does nothing +} + +export function getSubAccount(api: ApiPromise, poolId: string): string { + const palletId = api.consts.pablo.palletId.toU8a(); + const poolAccountId = api.createType('([u8; 4], [u8; 8], u64)', [ + PALLET_TYPE_ID, + palletId, + poolId, + ]); + + const accountIdu8a = poolAccountId.toU8a(); + const poolAccount = concatU8a( + accountIdu8a, + new Uint8Array(32 - accountIdu8a.length).fill(0) + ); + return api.createType('AccountId32', poolAccount).toString(); +} + +export async function getPaymentAsset({ + endpoint, + accountId, +}: { + endpoint: string; + accountId: string; +}): Promise<[string, string] | null> { + const api = await getApi(endpoint); + const accountId32 = api.createType('AccountId32', accountId); + const result = await api.query.assetTxPayment.paymentAssets(accountId32); + return result.toJSON() as [string, string] | null; +} + +export async function setPaymentAsset( + // networkType: NetworkType, + // walletId: PolkadotWalletId, + // accountId: string, + // assetId: string, + // walletApi: WalletApi + + { + endpoint, + accountId, + assetId, + signer, + }: { + endpoint: string; + accountId: string; + assetId: string; + signer: any; + } +): Promise { + const api = await getApi(endpoint); + const asset = Number(assetId) === 1 ? null : api.createType('u128', assetId); + + return await signAndSend({ + accountId, + extrinsics: [api.tx.assetTxPayment.setPaymentAsset(accountId, asset)], + filter: api.events.system.ExtrinsicSuccess.is, + onFailedTx: undefined, + + endpoint, + signer, + }); +} + +export async function getSignAndSendParams( + accountId: string, + signer: any +): Promise<{ + account: AddressOrPair; + signerOption: { signer: any }; +}> { + await checkWalletIdForSigning(accountId); + + if (!signer) throw new Error('No signer found'); + + return { + account: accountId, + signerOption: { signer }, + }; +} + +export async function signAndSend({ + accountId, + extrinsics, + filter, + onFailedTx, + endpoint, + signer, +}: { + accountId: string; + extrinsics: SubmittableExtrinsic<'promise'>[]; + filter: (event: IEvent) => event is IEvent; + onFailedTx: OnFailedTxHandler | undefined; + endpoint: string; + signer: any; +}): Promise { + const api = await getApi(endpoint); + + const { account, signerOption } = await getSignAndSendParams( + accountId, + signer + ); + + return new Promise((resolve, reject) => { + const state = { isFailedTxShown: false }; + (extrinsics.length === 1 ? extrinsics[0] : api.tx.utility.batch(extrinsics)) + .signAndSend(account, signerOption, (result) => { + const { dispatchError, status, events } = result; + if (dispatchError) { + let errorMessage; + if (dispatchError.isModule) { + const decoded = api.registry.findMetaError(dispatchError.asModule); + const { docs, name, section } = decoded; + errorMessage = `${section}.${name}: ${docs.join(' ')}`; + } else { + errorMessage = dispatchError.toString(); + } + if (result?.txHash && !state.isFailedTxShown) { + if (onFailedTx) { + onFailedTx(result, errorMessage); + } + state.isFailedTxShown = true; + } + return reject(state.isFailedTxShown ? null : errorMessage); + } + + if (status.isInBlock || status.isFinalized) { + const found = events.find((e) => filter(e.event)); + if (!found && !state.isFailedTxShown) { + state.isFailedTxShown = true; + if (onFailedTx) { + onFailedTx(result); + } + return reject(null); + } + return resolve(result); + } else { + if (typeof window !== 'undefined') console.log('status', status); + } + }) + .catch(function (e) { + const errors = e.toString().split(':'); + reject(Error(errors[errors.length - 1])); + }); + }); +} + +export async function getAvailableCoin( + endpoint: string, + accountId: string | null +): Promise { + const api = await getApi(endpoint); + const accountId32 = api.createType('AccountId32', accountId); + const accountInfo = ( + await api.query.system.account(accountId32) + ).toJSON() as any; + + const free = accountInfo?.data?.['free']; + const feeFrozen = accountInfo?.data?.['frozen']; + const getDecimal = (str?: string) => { + if (!str) return 10; + if (str.toString().startsWith('0x')) return 16; + return 10; + }; + + return new Big(parseInt(free, getDecimal(free)) || '0').minus( + parseInt(feeFrozen, getDecimal(feeFrozen)) || 0 + ); +} + +export async function getApi( + endpoint: string, + option?: ApiOptions +): Promise { + const wsProvider = new WsProvider(endpoint); + try { + const api = await ApiPromise.create({ + provider: wsProvider, + rpc: polkadotApiRpc, + types: polkadotApiTypes, + noInitWarn: false, + throwOnConnect: true, + ...option, + }); + + await api.isReadyOrError; + return api; + } catch (ex) { + void wsProvider.disconnect(); + throw ex; + } +} + +export const getMultiApi = (endpoints: string[]): Promise => { + const promises: Promise[] = []; + + endpoints.forEach((api) => { + if (api.startsWith('wss://')) promises.push(getApi(api)); + }); + return Promise.all(promises); +}; + +export const getPolkadotBlockHeight = async ( + api: ApiPromise, + extra: number = 100 +) => { + const height = Number(await api.query.system.number()); + + return height + extra; +}; +export const makeIbcToPolkadot = ({ + api, + toAddress, + sourceChannel, + assetId, + amount, + destinationHeight, + memo = '', +}: { + api: ApiPromise; + toAddress: string; + sourceChannel: number; + assetId: string; + amount: string; + destinationHeight: number; + memo: string; +}) => { + if (memo === '') { + return api.tx.ibc.transfer( + api.createType('PalletIbcTransferParams', { + to: { id: api.createType('AccountId32', toAddress) }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), + api.createType('u128', assetId), + api.createType('u128', amount), + undefined + ); + } + return api.tx.ibc.transfer( + api.createType('PalletIbcTransferParams', { + to: { id: api.createType('AccountId32', toAddress) }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), + api.createType('u128', assetId), + api.createType('u128', amount), + api.createType('Text', memo) + ); +}; + +export const makeIbcToCosmos = ({ + api, + toAddress, + sourceChannel, + assetId, + amount, + destinationHeight, + memo = '', +}: { + api: ApiPromise; + toAddress: string; + sourceChannel: number; + assetId: string; + amount: string; + destinationHeight: number; + memo: string; +}) => { + if (memo === '') { + return api.tx.ibc.transfer( + api.createType('PalletIbcTransferParams', { + to: { Raw: toAddress }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), + api.createType('AssetId', assetId), + api.createType('Balance', amount), + undefined + ); + } + return api.tx.ibc.transfer( + api.createType('PalletIbcTransferParams', { + to: { Raw: toAddress }, + sourceChannel: api.createType('u64', sourceChannel), + timeout: { + absolute: { + height: api.createType('u64', destinationHeight), + }, + }, + }), + api.createType('AssetId', assetId), + api.createType('Balance', amount), + api.createType('Text', memo) + ); +}; + +export const getMultihopPath = async ( + fromChainId: string, + networkType: '2019' | '2087' // composable |picasso +): Promise => { + const { rpc: rpc } = networks[networkType]; + + const api = await getApi(rpc); + const result = + await api.query.palletMultihopXcmIbc.routeIdToRoutePath.entries(); + return result.map((p) => { + const paths = JSON.parse(JSON.stringify(p[1])).map((path) => { + return { + ...path[0], + chainId: path[1].startsWith('0x') + ? chainNameMap[hexToString(path[1])] + : path[1], + }; + }) as unknown as RouteDetail[]; + const to = paths[paths.length - 1].chainId || 'NONE'; + const route = { + fromChainId: fromChainId, // Join the characters into a string. + toChainId: to.toString(), + paraChain: fromChainId === 'kusama' ? undefined : networkType, + index: p[0][48], // currently p[0] is array of numbers - the 48th digit represents the actual index. but on the polkadot.js UI, this field is a simple integer. + paths, + }; + return route; + }); +}; +// for batching tx - inside of route there's a chain name. need to match it with networkType +const chainNameMap = { + polkadot: 'polkadot', + picasso: '2087', + composable: '2019', + centauri: 'centauri-1', + osmo: 'osmosis-1', + cre: 'crescent-1', + neutron: 'neutron-1', + kujira: 'kaiyo-1', + celestia: 'celestia', + umee: 'umee-1', + sei: 'pacific-1', + secret: 'secret-4', + quicksilver: 'quicksilver-2', + inj: 'injective-1', + agoric: 'agoric-3', +}; diff --git a/src/chains/polkadot/index.ts b/src/chains/polkadot/index.ts new file mode 100644 index 00000000..ad0e34f6 --- /dev/null +++ b/src/chains/polkadot/index.ts @@ -0,0 +1,4 @@ +export * from './helper'; +export * from './methods'; +export * from './type-builder'; +export * from './types'; diff --git a/src/chains/polkadot/methods.ts b/src/chains/polkadot/methods.ts new file mode 100644 index 00000000..2cade29c --- /dev/null +++ b/src/chains/polkadot/methods.ts @@ -0,0 +1,556 @@ +import { encodeAddress, decodeAddress } from '@polkadot/util-crypto'; +import { + buildXcmPalletTransferV1, + buildXcmPalletTransferV2, + buildXTokensTransferV2, + buildXTokensMoonbeamTransferV2, + buildXTokensTransferV3, + buildXTokensTransferV3X2, + buildPolkadotXcmTransferV2, + buildPolkadotXcmTransferV3, + buildXcmLimitedReserveTransferV2, + buildXcmVersionedMultiAssetV3, +} from './type-builder'; + +import { ApiPromise, WsProvider } from '@polkadot/api'; +import { type SubmittableExtrinsic } from '@polkadot/api-base/types'; +import { + getMultiApi, + getPolkadotBlockHeight, + getSignAndSendParams, + makeIbcToCosmos, + makeIbcToPolkadot, +} from './helper'; +import { networks } from '../../config'; +import { IEvent, AnyTuple, Signer } from '@polkadot/types/types'; +import { TransferStatusByAddress } from './types'; +import { getSourceChannel, getXcmInfo } from '../common'; +// import { makeIbcToCosmos, makeIbcToPolkadot, getDefaultTxHeight } from './ibc'; + +async function signAndSendTransfer({ + api, + apiTo, + fromAddress, + toAddress, + extrinsic, + isIbc, + filter, + signer, +}: { + api: ApiPromise; + apiTo: ApiPromise | undefined; + fromAddress: string; + toAddress: string; + extrinsic: SubmittableExtrinsic<'promise'>; + isIbc: boolean; + filter: ((event: IEvent) => event is IEvent) | null; + signer: any; +}): Promise { + const { account, signerOption } = await getSignAndSendParams( + fromAddress, + signer + ); + + return new Promise((resolve, reject) => { + const state = { isFailedTxShown: false }; + extrinsic + .signAndSend(account, signerOption, async (result) => { + // Emit approval event + + const { dispatchError, status, events } = result; + const { txHash, sequence } = buildStatusInfo( + result.txHash.toString(), + JSON.parse(JSON.stringify(events)) + ); + + // Handle dispatch errors + if (dispatchError) { + let errorMessage; + if (dispatchError.isModule) { + const decoded = api.registry.findMetaError(dispatchError.asModule); + const { docs, name, section } = decoded; + errorMessage = `${section}.${name}: ${docs.join(' ')}`; + } else { + errorMessage = dispatchError.toString(); + } + + if (result?.txHash && !state.isFailedTxShown) { + state.isFailedTxShown = true; + } + + const errorResult: TransferStatusByAddress = { + destAddress: toAddress, + txHash, + sequence, + status: 'error', + currentHopIndex: 0, + message: errorMessage, + }; + return reject(errorResult); + } + + // Look for incomplete transfer events + const found = JSON.parse(JSON.stringify(events)).find((e) => + e.event?.data?.find((data) => data['incomplete']?.length > 0) + ); + + if (found) { + return reject({ + destAddress: toAddress, + txHash, + sequence, + status: 'error', + message: 'Transfer incomplete', + }); + } + + // Check if transaction is finalized + if (status) { + if (isIbc) { + const header = apiTo ? await apiTo.rpc.chain.getHeader() : null; + const result: TransferStatusByAddress = { + destAddress: toAddress, + txHash, + sequence, + currentHopIndex: 0, + status: 'pending', + latestBlockNumber: header ? header.number.toNumber() : -1, // For COSMOS + }; + return resolve(result); + } else if (filter) { + const found = events.find((e) => filter(e.event)); + if (!found && !state.isFailedTxShown) { + state.isFailedTxShown = true; + return reject({ + destAddress: toAddress, + txHash, + sequence, + status: 'error', + }); + } + if (found && found.event.data.find((x) => x['isComplete'])) { + const result: TransferStatusByAddress = { + destAddress: toAddress, + txHash, + sequence, + currentHopIndex: 0, + status: 'success', + }; + return resolve(result); + } + } else { + // For xTokens + const header = apiTo ? await apiTo.rpc.chain.getHeader() : null; + const result: TransferStatusByAddress = { + destAddress: toAddress, + txHash, + sequence, + status: 'success', + currentHopIndex: 0, + latestBlockNumber: header ? header.number.toNumber() : -1, + }; + return resolve(result); + } + } + }) + .catch((e) => { + return reject({ + fromAddress, + destAddress: toAddress, + txHash: 'NONE', + sequence: 'NONE', + status: 'error', + errorMessage: e.toString(), + }); + }); + }); +} + +export const buildStatusInfo = (txHash, events) => { + if (!events) return { txHash, sequence: 'NONE' }; + const packet = events + .filter( + (d) => d.event && d.event.data && typeof d.event.data[0] !== 'string' + ) + .reduce((a, e) => a.concat(e.event.data[0]), []); + + for (let i = 0; i < packet.length; i++) { + if ( + packet[i].ok && + packet[i].ok.sendPacket && + packet[i].ok.sendPacket.sequence + ) { + const { sequence } = packet[i].ok.sendPacket; + return { txHash, sequence }; + } + } + + return { txHash, sequence: 'NONE' }; +}; + +export async function transferXcm({ + fromChainId, + toChainId, + fromAddress, + toAddress, + amount, + assetId, + signer, + fromApi, + toApi, +}: { + fromChainId: string; + toChainId: string; + fromAddress: string; + toAddress: string; + amount: string; + assetId: string; + + signer: Signer; + fromApi: ApiPromise; + toApi: ApiPromise; +}): Promise { + const { + polkadot: { ss58Format: fromSs58Format, isParachain: isFromParachain }, + } = networks[fromChainId]; + + const { + polkadot: { ss58Format: toSs58Format, isParachain: isToParachain }, + } = networks[toChainId]; + + const { xcmType, version } = getXcmInfo(fromChainId, toChainId); + + const ethreumlish = ['2004', '2023']; + // Get network configurations + + // Convert addresses based on network type + const convertedToAddr = ethreumlish.includes(toChainId) + ? toAddress + : encodeAddress(decodeAddress(toAddress), toSs58Format); + const convertedFromAddr = ethreumlish.includes(fromChainId) + ? fromAddress + : encodeAddress(decodeAddress(fromAddress), fromSs58Format); + + // Ensure transferMedium is defined + if (!xcmType || !version) return; + + let result; + + // Handle different transfer mediums + if (xcmType === 'xcmPallet.reserveTransferAssets') { + if (version === 'V1') { + result = buildXcmPalletTransferV1( + fromApi, + toChainId, + convertedToAddr, + amount + ); + } else { + result = buildXcmPalletTransferV2( + fromApi, + toChainId, + convertedToAddr, + amount + ); + } + } else if (xcmType === 'xTokens.transfer') { + if (version === 'V2') { + if (assetId === '32' && toChainId === '2087' && fromChainId === '2001') { + result = buildXTokensTransferV2( + fromApi, + convertedToAddr, + assetId, + amount, + toChainId, + 'VToken', + 'AccountId32' + ); + } else if ( + assetId === '31' && + toChainId === '2087' && + fromChainId === '2001' + ) { + result = buildXTokensTransferV2( + fromApi, + convertedToAddr, + assetId, + amount, + toChainId, + 'Native', + 'AccountId32' + ); + } else if (fromChainId === '2030' && assetId === '33') { + result = buildXTokensTransferV2( + fromApi, + convertedToAddr, + assetId, + amount, + toChainId, + 'Native', + 'AccountId32' + ); + } else if (fromChainId === '2030' && assetId === '34') { + result = buildXTokensTransferV2( + fromApi, + convertedToAddr, + '0', + amount, + toChainId, + 'VToken2', + 'AccountId32' + ); + } else if (toChainId === '2004' || toChainId === '2023') { + result = buildXTokensTransferV2( + fromApi, + convertedToAddr, + assetId, + amount, + toChainId, + 'AssetId', + 'AccountKey20' + ); + } else if (fromChainId === '2004' || fromChainId === '2023') { + result = buildXTokensMoonbeamTransferV2( + fromApi, + convertedToAddr, + assetId, + amount, + toChainId + ); + } else { + result = buildXTokensTransferV2( + fromApi, + convertedToAddr, + assetId, + amount, + toChainId, + 'AssetId', + 'AccountId32' + ); + } + } else { + if (fromChainId === '2125') { + result = buildXTokensTransferV3X2( + fromApi, + convertedToAddr, + '0', + amount, + toChainId + ); + } else { + result = buildXTokensTransferV3( + fromApi, + convertedToAddr, + assetId, + amount + ); + } + } + } else if (xcmType === 'polkadotXcm.limitedReserveTransferAssets') { + if (version === 'V2') { + result = buildPolkadotXcmTransferV2( + fromApi, + convertedToAddr, + toChainId, + assetId, + amount, + fromChainId === '1000' ? '1984' : '' // only for statemine + ); + } else { + result = buildPolkadotXcmTransferV3( + fromApi, + convertedToAddr, + toChainId, + amount + ); + } + } else if (xcmType === 'xcmPallet.limitedReserveTransferAssets') { + result = buildXcmLimitedReserveTransferV2( + fromApi, + convertedToAddr, + toChainId, + assetId, + amount + ); + } else if (xcmType === 'xTokens.transferMultiasset') { + result = buildXcmVersionedMultiAssetV3( + fromApi, + convertedToAddr, + toChainId, + amount, + '1984', + '' + ); + } + + // Call signAndSendTransfer with the appropriate parameters + return await signAndSendTransfer({ + api: fromApi, + apiTo: toApi, + fromAddress: convertedFromAddr, + toAddress: convertedToAddr, + extrinsic: result(), + isIbc: false, + filter: isFromParachain ? null : fromApi.events.xcmPallet.Attempted.is, + signer, + }); +} + +export async function transferIbc( + { + fromChainId, + toChainId, + fromAddress, + toAddress, + amount, + assetId, + signer, + sourceChannel, + memo, + fromApi, + toApi, + destinationHeight, + }: { + fromChainId: string; + toChainId: string; + fromAddress: string; + toAddress: string; + amount: string; + assetId: string; + signer: Signer; + sourceChannel: number; + memo: string; + fromApi: ApiPromise; + toApi?: ApiPromise; + destinationHeight: number; + } + + // networkFrom: NetworkType, + // networkTo: NetworkType, + // fromAddress: string, + // toAddress: string, + // amount: string, + // assetId: string, + // feeAmount: string, + // gas: string, + // transferMedium: TransferApi | undefined, + // memo: string, + // config: any, +): Promise { + if (!assetId) throw 'assetId not found'; + if (!sourceChannel) throw 'sourceChannel not found'; + const { polkadot: { ss58Format: fromSs58Format = 0 } = {} } = + networks[fromChainId]; + + const { + chainType: toChainType, + polkadot: { ss58Format: toSs58Format = 0 } = {}, + } = networks[toChainId]; + + // Fetch the relevant APIs for the networks + + // Convert the fromAddress using the correct ss58 format for the networkFrom + const convertedFromAddr = encodeAddress( + decodeAddress(fromAddress), + fromSs58Format + ); + + let convertedToAddr = ''; + let extrinsic: SubmittableExtrinsic<'promise'>; + + convertedToAddr = + networks[toChainId].chainType === 'polkadot' + ? encodeAddress(decodeAddress(toAddress), toSs58Format) + : toAddress; + + // const defaultHeight = getPolkadotBlockHeight(height, chainType); + extrinsic = + toChainType === 'polkadot' + ? makeIbcToPolkadot({ + api: fromApi, + toAddress: convertedToAddr, + sourceChannel: Number(sourceChannel), + assetId, + amount, + destinationHeight, + memo, + }) + : makeIbcToCosmos({ + api: fromApi, + toAddress: convertedToAddr, + sourceChannel: Number(sourceChannel), + assetId, + amount, + destinationHeight, + memo, + }); + return await signAndSendTransfer({ + api: fromApi, + apiTo: toApi, + fromAddress: convertedFromAddr, + toAddress: convertedToAddr, + extrinsic, + isIbc: true, + filter: null, + signer, + }); +} + +export const polkadotTransfer = async ({ + fromChainId, + toChainId, + fromAddress, + toAddress, + amount, + assetId, + signer, + memo, + sourceChannel, + fromApi, + toApi, + destinationHeight, +}: { + fromChainId: string; + toChainId: string; + fromAddress: string; + toAddress: string; + amount: string; + assetId: string; + signer: any; + sourceChannel?: number; + memo: string; + fromApi: ApiPromise; + toApi?: ApiPromise; + destinationHeight: number; +}) => { + try { + if (getXcmInfo(fromChainId, toChainId)?.type === 'XCM') + return transferXcm({ + fromApi, + toApi, + fromChainId, + toChainId, + fromAddress, + toAddress, + amount, + assetId, + signer, + }); + return transferIbc({ + fromChainId, + toChainId, + fromAddress, + toAddress, + amount, + assetId, + signer, + sourceChannel, + memo, + destinationHeight, + fromApi, + toApi, + }); + } catch (err) { + console.error(err); + } +}; diff --git a/src/chains/polkadot/type-builder.ts b/src/chains/polkadot/type-builder.ts new file mode 100644 index 00000000..acd1dea8 --- /dev/null +++ b/src/chains/polkadot/type-builder.ts @@ -0,0 +1,684 @@ +import { type ApiPromise } from '@polkadot/api'; +import { type AccountId32 } from '@polkadot/types/interfaces/runtime'; +import { bech32 } from 'bech32'; +import { MultihopRoutePath } from './types'; + +interface Interior { + PalletInstance?: number; + GeneralIndex?: number; + AccountId32?: { network: string; id: AccountId32 }; +} + +export const buildXcmPalletTransferV1 = ( + fromApi: ApiPromise, + chainInfo, + convertedToAddr: string, + amount: string +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V1: { + parents: 0, + interior: { + X1: { + Parachain: chainInfo.chainId, + }, + }, + }, + }); + const beneficiary = fromApi.createType('XcmVersionedMultiLocation', { + V1: fromApi.createType('XcmV1MultiLocation', { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }), + }); + + const assets = fromApi.createType('XcmVersionedMultiAssets', { + V1: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount.toString(), + }, + }, + ], + }); + const feeAssetItem = fromApi.createType('u32', 0); + return () => + fromApi.tx.xcmPallet.reserveTransferAssets( + dest, + beneficiary, + assets, + feeAssetItem + ); +}; +export const buildBatchTransfer = ( + fromApi: ApiPromise, + path: MultihopRoutePath, + amount: string, + polkadotAddr: string, + parachainId: string +) => { + const dest = fromApi.createType('XcmVersionedLocation', { + V2: { + parents: 0, + interior: { + X1: { + Parachain: parachainId, + }, + }, + }, + }); + const list: Interior[] = [ + { PalletInstance: 192 }, + { GeneralIndex: path.index }, + { + AccountId32: { + id: fromApi.createType('AccountId32', polkadotAddr), + network: 'Any', + }, + }, + ]; + + path.paths.forEach((p) => { + list.push({ + AccountId32: { + network: 'Any', + id: fromApi.createType( + 'AccountId32', + p.chainHop === 'CosmosIbc' + ? bech32.decode(p.address || '').words + : polkadotAddr + ), + }, + }); + }); + + const interior = {}; + // for example if number of paths = 3, interior will be X6 including PalletInstance, GeneralIndex and AccountId32 + interior[`X${path.paths.length + 3}`] = list; + + const beneficiary = fromApi.createType('XcmVersionedLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 0, + interior: fromApi.createType('XcmV2MultilocationJunctions', interior), + }), + }); + + const assets = fromApi.createType('XcmVersionedAssets', { + V2: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount, + }, + }, + ], + }); + + return () => + fromApi.tx.xcmPallet.reserveTransferAssets( + dest, + beneficiary, + assets, + fromApi.createType('u32', 0) + ); +}; + +export const buildXcmPalletTransferV2 = ( + fromApi: ApiPromise, + chainInfo, + convertedToAddr: string, + amount: string +) => { + const dest = fromApi.createType('XcmVersionedLocation', { + V2: { + parents: 0, + interior: { + X1: { + Parachain: chainInfo.chainId, + }, + }, + }, + }); + const beneficiary = fromApi.createType('XcmVersionedLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }), + }); + + const assets = fromApi.createType('XcmVersionedAssets', { + V2: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount.toString(), + }, + }, + ], + }); + + const feeAssetItem = fromApi.createType('u32', 0); + return () => + fromApi.tx.xcmPallet.reserveTransferAssets( + dest, + beneficiary, + assets, + feeAssetItem + ); +}; + +export const buildXTokensTransferV1 = ( + fromApi: ApiPromise, + convertedToAddr: string, + assetId: string, + amount: string, + toChainId: string, + type: 'VToken' | 'Native' | 'AssetId' | 'VToken2' +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V1: fromApi.createType('XcmV1MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV1MultilocationJunctions', { + X2: [ + fromApi.createType('XcmV1Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV1Junction', { + //suspicious + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }), + ], + }), + }), + destWeightLimit: fromApi.createType('XcmV2WeightLimit', 'Unlimited'), + }); + const getCurrencyId = () => { + if (type === 'VToken') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'KSM'), + }); + } else if (type === 'Native') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + Native: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'BNC'), + }); + } else if (type === 'VToken2') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken2: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 0), + }); + } + return assetId; + }; + + return () => + fromApi.tx.xTokens.transfer( + getCurrencyId() as any, + amount, + dest as any, + 'unlimited' + ); +}; +export const buildXTokensTransferV2 = ( + fromApi: ApiPromise, + convertedToAddr: string, + assetId: string, + amount: string, + toChainId: string, + + type: 'VToken' | 'Native' | 'AssetId' | 'VToken2', + addrType: 'AccountId32' | 'AccountKey20' +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV2MultilocationJunctions', { + X2: [ + fromApi.createType('XcmV2Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType( + 'XcmV2Junction', + addrType === 'AccountId32' + ? { + AccountId32: { + id: fromApi.createType(addrType, convertedToAddr), + network: 'Any', + }, + } + : { + AccountKey20: { + key: convertedToAddr, + network: 'Any', + }, + } + ), + ], + }), + }), + destWeightLimit: fromApi.createType('XcmV2WeightLimit', 'Unlimited'), + }); + const getCurrencyId = () => { + if (type === 'VToken') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'KSM'), + }); + } else if (type === 'Native') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + Native: fromApi.createType('NodePrimitivesCurrencyTokenSymbol', 'BNC'), + }); + } else if (type === 'VToken2') { + return fromApi.createType('NodePrimitivesCurrencyCurrencyId', { + VToken2: fromApi.createType('u8', 0), + }); + } + return assetId as any; + }; + + return () => + fromApi.tx.xTokens.transfer(getCurrencyId(), amount, dest, 'unlimited'); +}; + +export const buildXTokensMoonbeamTransferV2 = ( + fromApi: ApiPromise, + convertedToAddr: string, + assetId: string, + amount: string, + toChainId: string +) => { + const list = [ + fromApi.createType('StagingXcmV2Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('StagingXcmV2Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }), + ]; + + const interior = {}; + // for example if number of paths = 3, interior will be X6 including PalletInstance, GeneralIndex and AccountId32 + interior[`X2`] = list; + const getCurrencyId = () => { + if (assetId === '792281' || assetId === '167283') { + return null; + } + return fromApi.createType( + toChainId === '2019' + ? 'MoonbeamRuntimeXcmConfigCurrencyId' + : 'MoonriverRuntimeXcmConfigCurrencyId', + { + ForeignAsset: fromApi.createType('u128', assetId), + } + ) as any; + }; + + const dest = fromApi.createType('StagingXcmVersionedMultiLocation', { + V2: fromApi.createType('StagingXcmV2MultiLocation', { + parents: 1, + interior: fromApi.createType( + 'StagingXcmV2MultilocationJunctions', + interior + ), + }), + destWeightLimit: fromApi.createType('StagingXcmV3WeightLimit', 'Unlimited'), + }); + + return () => + fromApi.tx.xTokens.transfer( + getCurrencyId() as any, + amount, + dest as any, + 'unlimited' + ); +}; + +export const buildXTokensTransferV3 = ( + fromApi: ApiPromise, + convertedToAddr: string, + assetId: string, + amount: string +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV3Junctions', { + X1: fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + }), + }), + }); + return () => fromApi.tx.xTokens.transfer(assetId, amount, dest, 'unlimited'); +}; +export const buildXTokensTransferV3X2 = ( + fromApi: ApiPromise, + convertedToAddr: string, + assetId: string, + amount: string, + toChainId: string +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('StagingXcmV3MultiLocation', { + parents: 1, + interior: fromApi.createType('XcmV3Junctions', { + X2: [ + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + ], + }), + }), + }) as any; + + return () => fromApi.tx.xTokens.transfer(assetId, amount, dest, 'unlimited'); +}; + +export const buildXcmVersionedMultiAssetV3 = ( + fromApi: ApiPromise, + convertedToAddr: string, + toChainId: string, + amount: string, + general_index: string, + para_chain_id: string +) => { + const asset = fromApi.createType('XcmVersionedMultiAsset', { + V3: fromApi.createType('XcmV3MultiAsset', { + id: fromApi.createType('XcmV3MultiassetAssetId', { + Concrete: fromApi.createType('XcmV3MultiLocation', { + parents: fromApi.createType('u8', 1), + interior: fromApi.createType('XcmV3Junctions', { + X3: [ + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('u32', toChainId), + }), + fromApi.createType('XcmV3Junction', { + PalletInstance: fromApi.createType('u8', 50), + }), + fromApi.createType('XcmV3Junction', { + GeneralIndex: fromApi.createType('u128', general_index), + }), + ], + }), + }), + }), + fun: fromApi.createType('XcmV3MultiassetFungibility', { + Fungible: amount, + }), + }), + }); + + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: fromApi.createType('u8', 1), + interior: fromApi.createType('XcmV3Junctions', { + X2: [ + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('Compact', toChainId), + }), + fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + fromApi.createType('XcmV3Junction', { + Parachain: fromApi.createType('Compact', para_chain_id), + }), + ], + }), + }), + }); + // const fee = fromApi.createType('XcmVersionedMultiAsset', { + // V3: fromApi.createType('XcmV3MultiAsset', { + // id: fromApi.createType('XcmV3MultiassetAssetId', { + // Concrete: fromApi.createType('XcmV3MultiLocation', { + // parents: fromApi.createType('u8', 1), + // interior: fromApi.createType('XcmV3Junctions', 'Here'), + // }), + // }), + // fun: fromApi.createType('XcmV3MultiassetFungibility', { + // Fungible: fromApi.createType( + // 'u128', + // 10_000_000_000 //TODO: fix it + // ), + // }), + // }), + // }); + + return () => fromApi.tx.xTokens.transferMultiasset(asset, dest, 'unlimited'); +}; + +export const buildXcmLimitedReserveTransferV2 = ( + fromApi: ApiPromise, + convertedToAddr: string, + toChainId: string, + assetId: string, + amount: string +) => { + const dest = fromApi.createType('XcmVersionedLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 0, + interior: { + X1: { + Parachain: toChainId, + }, + }, + }), + }); + const beneficiary = fromApi.createType('XcmVersionedLocation', { + V2: { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }, + }); + // Setting up the asset & amount + const assets = fromApi.createType('XcmVersionedAssets', { + V2: [ + { + id: { + Concrete: { + parents: 0, + interior: 'Here', + }, + }, + fun: { + Fungible: amount, + }, + }, + ], + }); + const feeAssetItem = fromApi.createType('u32', 0); // First item in the list. + return () => + fromApi.tx.xcmPallet.limitedReserveTransferAssets( + dest, + beneficiary, + assets, + feeAssetItem, + 'unlimited' + ); +}; + +export const buildPolkadotXcmTransferV2 = ( + fromApi: ApiPromise, + convertedToAddr: string, + toChainId: string, + assetId: string, + amount: string, + general_index?: string +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V2: fromApi.createType('XcmV2MultiLocation', { + parents: 1, + interior: { + X1: { + Parachain: toChainId, + }, + }, + }), + }); + const beneficiary = fromApi.createType('XcmVersionedMultiLocation', { + V2: { + parents: 0, + interior: { + X1: { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + network: 'Any', + }, + }, + }, + }, + }); + // Setting up the asset & amount + const assets = fromApi.createType('XcmVersionedMultiAssets', { + V2: + assetId === '130' && !!general_index //USDT Kusama + ? [ + { + id: { + Concrete: { + parents: 0, + interior: { + X2: [ + { + PalletInstance: 50, + }, + { + GeneralIndex: fromApi.createType('u128', general_index), + }, + ], + }, + }, + }, + fun: { + Fungible: amount, + }, + }, + ] + : [ + { + id: { + Concrete: { + parents: assetId === '79228162514264337593543952342' ? 0 : 1, + interior: 'Here', + }, + }, + fun: { + Fungible: amount, + }, + }, + ], + }); + const feeAssetItem = fromApi.createType('u32', 0); // First item in the list. + return () => + fromApi.tx.polkadotXcm.limitedReserveTransferAssets( + dest, + beneficiary, + assets, + feeAssetItem, + 'unlimited' + ); +}; +export const buildPolkadotXcmTransferV3 = ( + fromApi: ApiPromise, + convertedToAddr: string, + toChainId: string, + amount: string +) => { + const dest = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: 1, + interior: { + X1: { + Parachain: toChainId, + }, + }, + }), + }); + const beneficiary = fromApi.createType('XcmVersionedMultiLocation', { + V3: fromApi.createType('XcmV3MultiLocation', { + parents: 0, + interior: fromApi.createType('XcmV3Junctions', { + X1: fromApi.createType('XcmV3Junction', { + AccountId32: { + id: fromApi.createType('AccountId32', convertedToAddr), + }, + }), + }), + }), + }); + // Setting up the asset & amount + const assets = fromApi.createType('XcmVersionedMultiAssets', { + V3: [ + fromApi.createType('XcmV3MultiAsset', { + id: fromApi.createType('XcmV3MultiassetAssetId', { + Concrete: { + parents: 0, + interior: fromApi.createType('XcmV3Junctions', 'Here'), + }, + }), + fun: fromApi.createType('XcmV3MultiassetFungibility', { + Fungible: fromApi.createType('u128', amount), + }), + }), + ], + }); + const feeAssetItem = fromApi.createType('u32', 0); // First item in the list. + const destWeightLimit = fromApi.createType('XcmV3WeightLimit', 'Unlimited'); + + return () => + fromApi.tx.polkadotXcm.limitedReserveTransferAssets( + dest, + beneficiary, + assets, + feeAssetItem, + destWeightLimit + ); +}; diff --git a/src/chains/polkadot/types.ts b/src/chains/polkadot/types.ts new file mode 100644 index 00000000..38dc2507 --- /dev/null +++ b/src/chains/polkadot/types.ts @@ -0,0 +1,53 @@ +export { ApiPromise, WsProvider } from '@polkadot/api'; +export { + type Injected, + type InjectedAccount, + type InjectedWindowProvider, +} from '@polkadot/extension-inject/types'; + +export interface TransferStatusByAddress { + destAddress: string; + sequence: string; + txHash: string; + // originChannelId: string; + // destChannelId: string; + status: TransferTxStatus; + currentHopIndex: number; + timestamp?: string; + destChannel?: string; //cosmos + message?: string; + latestBlockNumber?: number; + errorMessage?: string; +} +export type TransferTxStatus = + | 'init' + | 'pending' + | 'swapping' + | 'timeout' + | 'success' + | 'error'; + +export const ChainHops = ['CosmosIbc', 'SubstrateIbc', 'SubstrateXcm'] as const; +export type ChainHop = (typeof ChainHops)[number]; + +export interface RouteDetail { + chainId?: string; + order?: number; + channelId?: number; + timestamp?: number; + height?: number; + retries?: number; + timeout?: number; + chainHop: ChainHop; + paraId?: string | null; + address?: string; +} + +export interface MultihopRoutePath { + fromChainId: string; + toChainId: string; + // paraChain?: NetworkType | ''; + paraChain?: string | ''; + index?: number; + paths: RouteDetail[]; +} diff --git a/src/chains/solana/helper.ts b/src/chains/solana/helper.ts index b4c48d32..07c672ce 100644 --- a/src/chains/solana/helper.ts +++ b/src/chains/solana/helper.ts @@ -6,6 +6,7 @@ import { BorshSchema } from 'borsher'; import { sha256 } from 'js-sha256'; import { solanaIbcProgramId } from './constants'; +export { Keypair, PublicKey } from '@solana/web3.js'; /**@description get connection of solana */ export const getConnection = (endpoint: string) => { diff --git a/src/config/coinGecko.ts b/src/config/coinGecko.ts index 8929a094..a404dc68 100644 --- a/src/config/coinGecko.ts +++ b/src/config/coinGecko.ts @@ -43,6 +43,134 @@ import { CoinGeckoAsset } from './types'; "name": "bCRE", "id": "liquid-staking-crescent" }, + { + "name": "INJ", + "id": "injective-protocol" + }, + { + "name": "KUJI", + "id": "kujira" + }, + { + "name": "ASTRO", + "id": "astroport-fi" + }, + { + "name": "NTRN", + "id": "neutron-3" + }, + { + "name": "QCK", + "id": "quicksilver" + }, + { + "name": "SCRT", + "id": "secret" + }, + { + "name": "SILK", + "id": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2" + }, + { + "name": "SHD", + "id": "shade-protocol" + }, + { + "name": "SEI", + "id": "sei-network" + }, + { + "name": "STARS", + "id": "stargaze" + }, + { + "name": "stTIA", + "id": "stride-staked-tia" + }, + { + "name": "STRD", + "id": "stride" + }, + { + "name": "stATOM", + "id": "stride-staked-atom" + }, + { + "name": "UMEE", + "id": "umee" + }, + { + "name": "ASTR", + "id": "astar" + }, + { + "name": "PICA", + "id": "picasso" + }, + { + "name": "USDT", + "id": "tether" + }, + { + "name": "BNC_DOT", + "id": "bifrost-native-coin" + }, + { + "name": "ASTR", + "id": "bifrost-native-coin" + }, + { + "name": "DOT", + "id": "polkadot" + }, + { + "name": "KSM", + "id": "kusama" + }, + { + "name": "GLMR", + "id": "moonbeam" + }, + { + "name": "MOVR", + "id": "moonriver" + }, + { + "name": "DOT", + "id": "polkadot" + }, + { + "name": "SDN", + "id": "shiden" + }, + { + "name": "TNKR", + "id": "tinkernet" + }, + { + "name": "BNC_KSM", + "id": "bifrost-native-coin" + }, + { + "name": "BNC_DOT", + "id": "bifrost-native-coin" + }, + { + "name": "PICA", + "id": "picasso" + }, + { + "name": "USDT Kusama", + "id": "tether" + }, + { + "name": "OSMO", + "id": "osmosis" + }, + { + "name": "milkTIA", + "id": "milkyway-staked-tia" + }, { "name": "ETH", "id": "ethereum" @@ -124,84 +252,60 @@ import { CoinGeckoAsset } from './types'; "id": "curve-dao-token" }, { - "name": "INJ", - "id": "injective-protocol" - }, - { - "name": "KUJI", - "id": "kujira" - }, - { - "name": "ASTRO", - "id": "astroport-fi" - }, - { - "name": "NTRN", - "id": "neutron-3" - }, - { - "name": "QCK", - "id": "quicksilver" - }, - { - "name": "SCRT", - "id": "secret" - }, - { - "name": "SILK", - "id": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2" + "name": "SOL", + "id": "solana" }, { - "name": "SHD", - "id": "shade-protocol" + "name": "JitoSOL", + "id": "jito-staked-sol" }, { - "name": "SEI", - "id": "sei-network" + "name": "mSOL", + "id": "msol" }, { - "name": "STARS", - "id": "stargaze" + "name": "bSOL", + "id": "blazestake-staked-sol" }, { - "name": "stTIA", - "id": "stride-staked-tia" + "name": "LST", + "id": "liquid-staking-token" }, { - "name": "STRD", - "id": "stride" + "name": "BLZE", + "id": "solblaze" }, { - "name": "stATOM", - "id": "stride-staked-atom" + "name": "edgeSOL", + "id": "edgevana-staked-sol" }, { - "name": "UMEE", - "id": "umee" + "name": "wSOL", + "id": "wrapped-solana" }, { - "name": "ASTR", - "id": "astar" + "name": "WIF", + "id": "dogwifcoin" }, { - "name": "DOT", - "id": "polkadot" + "name": "BONK", + "id": "bonk" }, { - "name": "BNC_DOT", - "id": "bifrost-native-coin" + "name": "USDT Solana", + "id": "tether" }, { - "name": "ASTR", - "id": "astar" + "name": "SEI", + "id": "sei-network" }, { - "name": "KSM", - "id": "kusama" + "name": "SILK", + "id": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2" }, { - "name": "GLMR", - "id": "moonbeam" + "name": "QCK", + "id": "quicksilver" }, { "name": "MOVR", @@ -212,100 +316,112 @@ import { CoinGeckoAsset } from './types'; "id": "tether" }, { - "name": "TNKR", - "id": "tinkernet" + "name": "STRD", + "id": "stride" }, { - "name": "KSM", - "id": "kusama" + "name": "PICA", + "id": "picasso" }, { "name": "BNC_KSM", "id": "bifrost-native-coin" }, - { - "name": "KSM", - "id": "kusama" - }, { "name": "SDN", "id": "shiden" }, { - "name": "TNKR", - "id": "tinkernet" + "name": "BLD", + "id": "agoric" }, { - "name": "BNC_KSM", - "id": "bifrost-native-coin" + "name": "OSMO", + "id": "osmosis" }, { "name": "BNC_DOT", "id": "bifrost-native-coin" }, { - "name": "PICA", - "id": "picasso" + "name": "wSOL", + "id": "wrapped-solana" }, { - "name": "USDT Kusama", - "id": "tether" + "name": "ASTR", + "id": "astar" }, { - "name": "USDT Kusama", - "id": "tether" + "name": "stATOM", + "id": "stride-staked-atom" }, { - "name": "OSMO", - "id": "osmosis" + "name": "NTRN", + "id": "neutron-3" }, { - "name": "milkTIA", - "id": "milkyway-staked-tia" + "name": "ATOM", + "id": "cosmos" }, { - "name": "SOL", - "id": "solana" + "name": "UMEE", + "id": "umee" }, { - "name": "JitoSOL", - "id": "jito-staked-sol" + "name": "ETH", + "id": "ethereum" }, { - "name": "mSOL", - "id": "msol" + "name": "IST", + "id": "inter-stable-token" }, { - "name": "bSOL", - "id": "blazestake-staked-sol" + "name": "CRE", + "id": "crescent-network" }, { - "name": "LST", - "id": "liquid-staking-token" + "name": "GLMR", + "id": "moonbeam" }, { - "name": "BLZE", - "id": "solblaze" + "name": "DOT", + "id": "polkadot" }, { - "name": "edgeSOL", - "id": "edgevana-staked-sol" + "name": "KUJI", + "id": "kujira" }, { - "name": "wSOL", - "id": "wrapped-solana" + "name": "KSM", + "id": "kusama" }, { - "name": "WIF", - "id": "dogwifcoin" + "name": "INJ", + "id": "injective-protocol" }, { - "name": "BONK", - "id": "bonk" + "name": "TIA", + "id": "celestia" }, { - "name": "USDT Solana", - "id": "tether" + "name": "SCRT", + "id": "secret" + }, + { + "name": "TNKR", + "id": "tinkernet" + }, + { + "name": "STARS", + "id": "stargaze" + }, + { + "name": "bCRE", + "id": "liquid-staking-crescent" + }, + { + "name": "HUAHUA", + "id": "chihuahua-token" } ] ; diff --git a/src/config/composableassets.json b/src/config/composableassets.json new file mode 100644 index 00000000..0bdefbfa --- /dev/null +++ b/src/config/composableassets.json @@ -0,0 +1,122 @@ +[ + { + "coinDenom": "USDT", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543950485", + "ratio": { "n": "1", "d": "5000000" }, + "existentialDeposit": "200000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "BNC_DOT", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", + "coinGeckoId": "bifrost-native-coin", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543950369", + "ratio": { "n": "11", "d": "1000" }, + "existentialDeposit": "1100000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "ASTR", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", + "coinGeckoId": "astar", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543952342", + "ratio": { "n": "4713901", "d": "1" }, + "existentialDeposit": "4700000000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "Equilibrium", + "coinDecimals": 9, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/EQUILIBRIUM.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543952347", + "ratio": { "n": "7", "d": "10" }, + "existentialDeposit": "700000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "DOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg", + "coinGeckoId": "polkadot", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543950342", + "ratio": { "n": "3", "d": "10000" }, + "existentialDeposit": "21430000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "vDOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VDOT.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543950370", + "ratio": { "n": "4", "d": "10000" }, + "existentialDeposit": "100000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "lsDOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543950351", + "ratio": { "n": "29", "d": "100000" }, + "existentialDeposit": "21430000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "USDC", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "", + "composableAssetId": "79228162514264337593543950486", + "ratio": { "n": "1", "d": "5000000" }, + "existentialDeposit": "200000" + }, + "ethereum": {}, + "solana": {} + } +] diff --git a/src/config/crossChainAssets.ts b/src/config/crossChainAssets.ts index afe95ac0..97490b4b 100644 --- a/src/config/crossChainAssets.ts +++ b/src/config/crossChainAssets.ts @@ -73,6 +73,132 @@ export const crossChainAssets :CrossChainAssets= { "denom": "bCRE", "imageUrl": "" }, + "inj": { + "chainId": "injective-1", + "decimals": 18, + "minimalDenom": "inj", + "denom": "INJ", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/inj.png" + }, + "ukuji": { + "chainId": "kaiyo-1", + "decimals": 6, + "minimalDenom": "ukuji", + "denom": "KUJI", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png" + }, + "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro": { + "chainId": "neutron-1", + "decimals": 6, + "minimalDenom": "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro", + "denom": "ASTRO", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" + }, + "untrn": { + "chainId": "neutron-1", + "decimals": 6, + "minimalDenom": "untrn", + "denom": "NTRN", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png" + }, + "uqck": { + "chainId": "quicksilver-2", + "decimals": 6, + "minimalDenom": "uqck", + "denom": "QCK", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/quicksilver/uqck.png" + }, + "uscrt": { + "chainId": "secret-4", + "decimals": 6, + "minimalDenom": "uscrt", + "denom": "SCRT", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" + }, + "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd": { + "chainId": "ethereum", + "decimals": 6, + "minimalDenom": "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", + "denom": "SILK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/silk.svg" + }, + "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm": { + "chainId": "secret-4", + "decimals": 8, + "minimalDenom": "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", + "denom": "SHD", + "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" + }, + "usei": { + "chainId": "pacific-1", + "decimals": 6, + "minimalDenom": "usei", + "denom": "SEI", + "imageUrl": "" + }, + "ustars": { + "chainId": "stargaze-1", + "decimals": 6, + "minimalDenom": "ustars", + "denom": "STARS", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" + }, + "stutia": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "stutia", + "denom": "stTIA", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/sttia.png" + }, + "ustrd": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "ustrd", + "denom": "STRD", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" + }, + "stuatom": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "stuatom", + "denom": "stATOM", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" + }, + "uumee": { + "chainId": "umee-1", + "decimals": 6, + "minimalDenom": "uumee", + "denom": "UMEE", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/uumee.png" + }, + "undefined": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "", + "denom": "AMPE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/AMPE.svg" + }, + "ppica": { + "chainId": "centauri-1", + "decimals": 12, + "minimalDenom": "ppica", + "denom": "PICA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "uosmo": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "uosmo", + "denom": "OSMO", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" + }, + "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA", + "denom": "milkTIA", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/milktia.png" + }, "wei": { "chainId": "ethereum", "decimals": 18, @@ -171,13 +297,6 @@ export const crossChainAssets :CrossChainAssets= { "denom": "eETH", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/eeth.svg" }, - "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", - "denom": "SILK", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, "0xbf5495efe5db9ce00f80364c8b423567e58d2110": { "chainId": "ethereum", "decimals": 18, @@ -213,125 +332,6 @@ export const crossChainAssets :CrossChainAssets= { "denom": "CRV", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/crv.svg" }, - "inj": { - "chainId": "injective-1", - "decimals": 18, - "minimalDenom": "inj", - "denom": "INJ", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/inj.png" - }, - "ukuji": { - "chainId": "kaiyo-1", - "decimals": 6, - "minimalDenom": "ukuji", - "denom": "KUJI", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png" - }, - "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro": { - "chainId": "neutron-1", - "decimals": 6, - "minimalDenom": "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro", - "denom": "ASTRO", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" - }, - "untrn": { - "chainId": "neutron-1", - "decimals": 6, - "minimalDenom": "untrn", - "denom": "NTRN", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png" - }, - "uqck": { - "chainId": "quicksilver-2", - "decimals": 6, - "minimalDenom": "uqck", - "denom": "QCK", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/quicksilver/uqck.png" - }, - "uscrt": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "uscrt", - "denom": "SCRT", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" - }, - "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm": { - "chainId": "secret-4", - "decimals": 8, - "minimalDenom": "cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", - "denom": "SHD", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, - "usei": { - "chainId": "pacific-1", - "decimals": 6, - "minimalDenom": "usei", - "denom": "SEI", - "imageUrl": "" - }, - "ustars": { - "chainId": "stargaze-1", - "decimals": 6, - "minimalDenom": "ustars", - "denom": "STARS", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" - }, - "stutia": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "stutia", - "denom": "stTIA", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/sttia.png" - }, - "ustrd": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "ustrd", - "denom": "STRD", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" - }, - "stuatom": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "stuatom", - "denom": "stATOM", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" - }, - "uumee": { - "chainId": "umee-1", - "decimals": 6, - "minimalDenom": "uumee", - "denom": "UMEE", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/uumee.png" - }, - "undefined": { - "chainId": "1000", - "decimals": 6, - "minimalDenom": "", - "denom": "USDT Kusama", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg" - }, - "ppica": { - "chainId": "centauri-1", - "decimals": 12, - "minimalDenom": "ppica", - "denom": "PICA", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" - }, - "uosmo": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "uosmo", - "denom": "OSMO", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" - }, - "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA", - "denom": "milkTIA", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/milktia.png" - }, "SOL": { "chainId": "solana", "decimals": 9, @@ -521,16 +521,112 @@ export const crossChainAssets :CrossChainAssets= { "realDecimals": 6, "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/uatom.png" }, - "EXZbXNMbdTbMYpr9J5MUDv29XnWfxLZYyCCtk2tCy7XV": { - "chainId": "ethereum", - "decimals": 9, - "minimalDenom": "transfer/channel-1/transfer/channel-52/wei", - "denom": "ETH", - "realDecimals": 18, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg" - }, - "6SYCn6Hj4X3XV6dzRk8vXa1UyZc4SBvAT7p3e1AcATAx": { - "chainId": "ethereum", + "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET": { + "chainId": "neutron-1", + "decimals": 6, + "minimalDenom": "", + "denom": "ASTRO", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" + }, + "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V": { + "chainId": "secret-4", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-14/uscrt", + "denom": "SCRT", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" + }, + "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn": { + "chainId": "ethereum", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", + "denom": "SILK", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/silk.svg" + }, + "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ": { + "chainId": "secret-4", + "decimals": 8, + "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", + "denom": "SHD", + "realDecimals": 8, + "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" + }, + "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S": { + "chainId": "pacific-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-3/transfer/channel-782/usei", + "denom": "SEI", + "realDecimals": 6, + "imageUrl": "" + }, + "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB": { + "chainId": "stargaze-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-6/ustars", + "denom": "STARS", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" + }, + "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-5/ustrd", + "denom": "STRD", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" + }, + "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-5/stuatom", + "denom": "stATOM", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" + }, + "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J": { + "chainId": "polkadot", + "decimals": 9, + "minimalDenom": "transfer/channel-1/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", + "denom": "DOT", + "realDecimals": 10, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12": { + "chainId": "kusama", + "decimals": 9, + "minimalDenom": "transfer/channel-1/transfer/channel-2/4", + "denom": "KSM", + "realDecimals": 12, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ": { + "chainId": "centauri-1", + "decimals": 9, + "minimalDenom": "transfer/channel-1/ppica", + "denom": "PICA", + "realDecimals": 12, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "transfer/channel-1/transfer/channel-3/uosmo", + "denom": "OSMO", + "realDecimals": 6, + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" + }, + "EXZbXNMbdTbMYpr9J5MUDv29XnWfxLZYyCCtk2tCy7XV": { + "chainId": "ethereum", + "decimals": 9, + "minimalDenom": "transfer/channel-1/transfer/channel-52/wei", + "denom": "ETH", + "realDecimals": 18, + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg" + }, + "6SYCn6Hj4X3XV6dzRk8vXa1UyZc4SBvAT7p3e1AcATAx": { + "chainId": "ethereum", "decimals": 9, "minimalDenom": "transfer/channel-1/transfer/channel-52/0x6B175474E89094C44Da98b954EedeAC495271d0F", "denom": "DAI", @@ -633,14 +729,6 @@ export const crossChainAssets :CrossChainAssets= { "realDecimals": 18, "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ezeth.svg" }, - "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd", - "denom": "SILK", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, "GM4RuF5gLcytcq36wNJkX3UBYRKP9hQwJyyRWm6d6o47": { "chainId": "ethereum", "decimals": 9, @@ -673,94 +761,6 @@ export const crossChainAssets :CrossChainAssets= { "realDecimals": 18, "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/crv.svg" }, - "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET": { - "chainId": "neutron-1", - "decimals": 6, - "minimalDenom": "", - "denom": "ASTRO", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" - }, - "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-14/uscrt", - "denom": "SCRT", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" - }, - "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ": { - "chainId": "secret-4", - "decimals": 8, - "minimalDenom": "transfer/channel-1/transfer/channel-26/cw20:secret153wu605vvp934xhd4k9dtd640zsep5jkesstdm", - "denom": "SHD", - "realDecimals": 8, - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, - "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S": { - "chainId": "pacific-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-3/transfer/channel-782/usei", - "denom": "SEI", - "realDecimals": 6, - "imageUrl": "" - }, - "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB": { - "chainId": "stargaze-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-6/ustars", - "denom": "STARS", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" - }, - "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-5/ustrd", - "denom": "STRD", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" - }, - "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-5/stuatom", - "denom": "stATOM", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" - }, - "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J": { - "chainId": "2019", - "decimals": 9, - "minimalDenom": "transfer/channel-1/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", - "denom": "DOT", - "realDecimals": 10, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" - }, - "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12": { - "chainId": "polkadot", - "decimals": 9, - "minimalDenom": "transfer/channel-1/transfer/channel-2/4", - "denom": "KSM", - "realDecimals": 12, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" - }, - "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ": { - "chainId": "centauri-1", - "decimals": 9, - "minimalDenom": "transfer/channel-1/ppica", - "denom": "PICA", - "realDecimals": 12, - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" - }, - "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "transfer/channel-1/transfer/channel-3/uosmo", - "denom": "OSMO", - "realDecimals": 6, - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" - }, "SOL": { "chainId": "solana", "decimals": 9, @@ -958,6 +958,83 @@ export const crossChainAssets :CrossChainAssets= { "denom": "ATOM", "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/uatom.png" }, + "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C": { + "chainId": "secret-4", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-14/uscrt", + "denom": "SCRT", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" + }, + "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa": { + "chainId": "ethereum", + "decimals": 6, + "minimalDenom": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", + "denom": "SILK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/silk.svg" + }, + "0x": { + "chainId": "secret-4", + "decimals": 8, + "minimalDenom": "", + "denom": "SHD", + "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" + }, + "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5": { + "chainId": "pacific-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-3/transfer/channel-782/usei", + "denom": "SEI", + "imageUrl": "" + }, + "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956": { + "chainId": "stargaze-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-6/ustars", + "denom": "STARS", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" + }, + "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-5/ustrd", + "denom": "STRD", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" + }, + "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2": { + "chainId": "stride-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-5/stuatom", + "denom": "stATOM", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" + }, + "0x21c2c96Dbfa137E23946143c71AC8330F9B44001": { + "chainId": "polkadot", + "decimals": 10, + "minimalDenom": "transfer/channel-2/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", + "denom": "DOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "0xB44D6C324A6c15127F1451465f1E1DbC39142A60": { + "chainId": "kusama", + "decimals": 12, + "minimalDenom": "transfer/channel-2/transfer/channel-2/4", + "denom": "KSM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" + }, + "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c": { + "chainId": "centauri-1", + "decimals": 12, + "minimalDenom": "transfer/channel-2/ppica", + "denom": "PICA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "0x9243b3615ed297403c0cafa156c3fa16057526ca": { + "chainId": "osmosis-1", + "decimals": 6, + "minimalDenom": "transfer/channel-2/transfer/channel-3/uosmo", + "denom": "OSMO", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" + }, "ETH": { "chainId": "ethereum", "decimals": 18, @@ -1056,13 +1133,6 @@ export const crossChainAssets :CrossChainAssets= { "denom": "eETH", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/eeth.svg" }, - "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", - "denom": "SILK", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, "0xbf5495efe5db9ce00f80364c8b423567e58d2110": { "chainId": "ethereum", "decimals": 18, @@ -1098,76 +1168,6 @@ export const crossChainAssets :CrossChainAssets= { "denom": "CRV", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/crv.svg" }, - "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C": { - "chainId": "secret-4", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-14/uscrt", - "denom": "SCRT", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png" - }, - "0x": { - "chainId": "secret-4", - "decimals": 8, - "minimalDenom": "", - "denom": "SHD", - "imageUrl": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/silk.svg" - }, - "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5": { - "chainId": "pacific-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-3/transfer/channel-782/usei", - "denom": "SEI", - "imageUrl": "" - }, - "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956": { - "chainId": "stargaze-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-6/ustars", - "denom": "STARS", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png" - }, - "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-5/ustrd", - "denom": "STRD", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" - }, - "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2": { - "chainId": "stride-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-5/stuatom", - "denom": "stATOM", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/stuatom.png" - }, - "0x21c2c96Dbfa137E23946143c71AC8330F9B44001": { - "chainId": "2019", - "decimals": 10, - "minimalDenom": "transfer/channel-2/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", - "denom": "DOT", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" - }, - "0xB44D6C324A6c15127F1451465f1E1DbC39142A60": { - "chainId": "polkadot", - "decimals": 12, - "minimalDenom": "transfer/channel-2/transfer/channel-2/4", - "denom": "KSM", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" - }, - "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c": { - "chainId": "centauri-1", - "decimals": 12, - "minimalDenom": "transfer/channel-2/ppica", - "denom": "PICA", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" - }, - "0x9243b3615ed297403c0cafa156c3fa16057526ca": { - "chainId": "osmosis-1", - "decimals": 6, - "minimalDenom": "transfer/channel-2/transfer/channel-3/uosmo", - "denom": "OSMO", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png" - }, "0xBe90556468e5eE2A15Da99a5C0e045ED0B142143": { "chainId": "solana", "decimals": 9, @@ -1248,76 +1248,294 @@ export const crossChainAssets :CrossChainAssets= { }, "polkadot": { "1": { - "chainId": "centauri-1", + "chainId": "2087", "decimals": 12, - "minimalDenom": "ppica", + "minimalDenom": "1", "denom": "PICA", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" }, + "2": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "2", + "denom": "ETH", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg" + }, + "3": { + "chainId": "2087", + "decimals": 9, + "minimalDenom": "3", + "denom": "wSOL", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/WSOL.svg" + }, "4": { - "chainId": "polkadot", + "chainId": "2087", "decimals": 12, "minimalDenom": "4", "denom": "KSM", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg" }, + "6": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "6", + "denom": "DOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" + }, + "7": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "7", + "denom": "ATOM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ATOM.svg" + }, + "8": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "8", + "denom": "OSMO", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/OSMO.svg" + }, + "9": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "9", + "denom": "STRD", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STRD.svg" + }, + "10": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "10", + "denom": "stATOM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STATOM.svg" + }, + "11": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "11", + "denom": "STARS", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STARS.svg" + }, + "12": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "12", + "denom": "NTRN", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/NTRN.svg" + }, + "13": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "13", + "denom": "CRE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/CRE.svg" + }, + "14": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "14", + "denom": "bCRE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BCRE.svg" + }, + "15": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "15", + "denom": "SCRT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SCRT.svg" + }, + "16": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "16", + "denom": "SILK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SILK.svg" + }, + "17": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "17", + "denom": "UMEE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/UMEE.svg" + }, "18": { - "chainId": "agoric-3", + "chainId": "2087", "decimals": 6, - "minimalDenom": "ubld", + "minimalDenom": "18", "denom": "BLD", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/ubld.png" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BLD.svg" + }, + "19": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "19", + "denom": "TIA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TIA.svg" + }, + "20": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "20", + "denom": "Liquid Staked Kusama", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LIQUID STAKED KUSAMA.svg" }, "23": { - "chainId": "2023", + "chainId": "2087", "decimals": 18, "minimalDenom": "23", "denom": "MOVR", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/MOVR.svg" }, + "24": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "24", + "denom": "INJ", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/INJ.svg" + }, "25": { - "chainId": "agoric-3", + "chainId": "2087", "decimals": 6, - "minimalDenom": "uist", + "minimalDenom": "25", "denom": "IST", - "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/uist.png" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/IST.svg" + }, + "26": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "26", + "denom": "USK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USK.svg" + }, + "27": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "27", + "denom": "lsDOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg" + }, + "28": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "28", + "denom": "KUJI", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KUJI.svg" + }, + "29": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "29", + "denom": "QCK", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/QCK.svg" }, "31": { - "chainId": "2001", + "chainId": "2087", "decimals": 12, "minimalDenom": "31", "denom": "BNC_KSM", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_KSM.svg" }, "32": { - "chainId": "2001", + "chainId": "2087", "decimals": 12, "minimalDenom": "32", "denom": "vKSM", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vKSM.svg" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VKSM.svg" + }, + "33": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "33", + "denom": "ASTR", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg" + }, + "34": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "34", + "denom": "vDOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VDOT.svg" }, "35": { - "chainId": "pacific-1", + "chainId": "2087", "decimals": 6, - "minimalDenom": "usei", - "denom": "SEI" + "minimalDenom": "35", + "denom": "SEI", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SEI.svg" + }, + "40": { + "chainId": "2087", + "decimals": 18, + "minimalDenom": "40", + "denom": "GLMR", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/GLMR.svg" + }, + "44": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "44", + "denom": "AMPE", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/AMPE.svg" + }, + "45": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "45", + "denom": "XLM", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/XLM.svg" + }, + "129": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "129", + "denom": "Karura Dollar", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KARURA DOLLAR.svg" }, "130": { - "chainId": "1000", + "chainId": "2087", "decimals": 6, "minimalDenom": "130", "denom": "USDT Kusama", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT KUSAMA.svg" + }, + "149": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "149", + "denom": "USDT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg" + }, + "150": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "150", + "denom": "USDC", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg" + }, + "420": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "420", + "denom": "HUAHUA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/HUAHUA.svg" }, "2007": { - "chainId": "2007", + "chainId": "2087", "decimals": 18, "minimalDenom": "2007", "denom": "SDN", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SDN.svg" }, + "2011": { + "chainId": "2087", + "decimals": 9, + "minimalDenom": "2011", + "denom": "Equilibrium", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/EQUILIBRIUM.svg" + }, "2125": { - "chainId": "2125", + "chainId": "2087", "decimals": 12, "minimalDenom": "2125", "denom": "TNKR", @@ -1338,18 +1556,25 @@ export const crossChainAssets :CrossChainAssets= { "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/uist.png" }, "79228162514264337593543952342": { - "chainId": "2019", + "chainId": "2087", "decimals": 18, "minimalDenom": "79228162514264337593543952342", "denom": "ASTR", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg" }, - "79228162514264337593543950342": { - "chainId": "2019", - "decimals": 10, - "minimalDenom": "79228162514264337593543950342", - "denom": "DOT", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" + "79228162514264337593543950337": { + "chainId": "2087", + "decimals": 12, + "minimalDenom": "79228162514264337593543950337", + "denom": "PICA", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg" + }, + "79228162514264337593543950485": { + "chainId": "2087", + "decimals": 6, + "minimalDenom": "79228162514264337593543950485", + "denom": "USDT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg" }, "79228162514264337593543950369": { "chainId": "2030", @@ -1358,12 +1583,33 @@ export const crossChainAssets :CrossChainAssets= { "denom": "BNC_DOT", "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg" }, + "79228162514264337593543950342": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "79228162514264337593543950342", + "denom": "DOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg" + }, "79228162514264337593543950370": { - "chainId": "2030", + "chainId": "2087", "decimals": 10, "minimalDenom": "79228162514264337593543950370", "denom": "vDOT", - "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vDOT.svg" + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VDOT.svg" + }, + "79228162514264337593543950351": { + "chainId": "2087", + "decimals": 10, + "minimalDenom": "79228162514264337593543950351", + "denom": "lsDOT", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg" + }, + "79228162514264337593543950486": { + "chainId": "2019", + "decimals": 6, + "minimalDenom": "79228162514264337593543950486", + "denom": "USDC", + "imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg" }, "79228162514264337593543950376": { "chainId": "2004", diff --git a/src/config/ethereumAssets.ts b/src/config/ethereumAssets.ts index 4c218465..3d0954b8 100644 --- a/src/config/ethereumAssets.ts +++ b/src/config/ethereumAssets.ts @@ -28,6 +28,61 @@ export const ethereumAssets :Record= { "cosmosToEthereumFee": 2, "minimumTransfer": 5 }, + "SCRT": { + "erc20Address": "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C", + "cosmosToEthereumFee": 34, + "minimumTransfer": 80 + }, + "SILK": { + "erc20Address": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", + "cosmosToEthereumFee": 20, + "minimumTransfer": 50 + }, + "SHD": { + "erc20Address": "0x", + "cosmosToEthereumFee": 3, + "minimumTransfer": 7 + }, + "SEI": { + "erc20Address": "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5", + "cosmosToEthereumFee": 27, + "minimumTransfer": 50 + }, + "STARS": { + "erc20Address": "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956", + "cosmosToEthereumFee": 875, + "minimumTransfer": 2000 + }, + "STRD": { + "erc20Address": "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587", + "cosmosToEthereumFee": 7, + "minimumTransfer": 17 + }, + "stATOM": { + "erc20Address": "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2", + "cosmosToEthereumFee": 2, + "minimumTransfer": 5 + }, + "DOT": { + "erc20Address": "0x21c2c96Dbfa137E23946143c71AC8330F9B44001", + "cosmosToEthereumFee": 2, + "minimumTransfer": 5 + }, + "KSM": { + "erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60", + "cosmosToEthereumFee": 0.5, + "minimumTransfer": 1 + }, + "PICA": { + "erc20Address": "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c", + "cosmosToEthereumFee": 2000, + "minimumTransfer": 5000 + }, + "OSMO": { + "erc20Address": "0x9243b3615ed297403c0cafa156c3fa16057526ca", + "cosmosToEthereumFee": 15, + "minimumTransfer": 40 + }, "ETH": { "erc20Address": "ETH", "cosmosToEthereumFee": 0.0055, @@ -98,11 +153,6 @@ export const ethereumAssets :Record= { "cosmosToEthereumFee": 0.0055, "minimumTransfer": 0.01 }, - "SILK": { - "erc20Address": "0x854b8fc032a5b7828d8de72702f1fdd9bcfb3efa", - "cosmosToEthereumFee": 20, - "minimumTransfer": 50 - }, "ezETH": { "erc20Address": "0xbf5495efe5db9ce00f80364c8b423567e58d2110", "cosmosToEthereumFee": 0.0055, @@ -128,56 +178,6 @@ export const ethereumAssets :Record= { "cosmosToEthereumFee": 30, "minimumTransfer": 50 }, - "SCRT": { - "erc20Address": "0xF7F00d598b2a651404993E93Df7AE16C3C736F3C", - "cosmosToEthereumFee": 34, - "minimumTransfer": 80 - }, - "SHD": { - "erc20Address": "0x", - "cosmosToEthereumFee": 3, - "minimumTransfer": 7 - }, - "SEI": { - "erc20Address": "0x013AdDc6512432304c055CEc20bbb0f6AA5ed7d5", - "cosmosToEthereumFee": 27, - "minimumTransfer": 50 - }, - "STARS": { - "erc20Address": "0x59e0499554Cdcdfa90CCd96532e5aD5883a2a956", - "cosmosToEthereumFee": 875, - "minimumTransfer": 2000 - }, - "STRD": { - "erc20Address": "0x3f8Bb8634Ca4A61Aa23cd0DF00C3152E0eaF9587", - "cosmosToEthereumFee": 7, - "minimumTransfer": 17 - }, - "stATOM": { - "erc20Address": "0xA534115DA1C1e51Cb2C6E8bC1fBA23A5189a1de2", - "cosmosToEthereumFee": 2, - "minimumTransfer": 5 - }, - "DOT": { - "erc20Address": "0x21c2c96Dbfa137E23946143c71AC8330F9B44001", - "cosmosToEthereumFee": 2, - "minimumTransfer": 5 - }, - "KSM": { - "erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60", - "cosmosToEthereumFee": 0.5, - "minimumTransfer": 1 - }, - "PICA": { - "erc20Address": "0xbb63a9b64a80e9338b8ea298c51765e57c4f159c", - "cosmosToEthereumFee": 2000, - "minimumTransfer": 5000 - }, - "OSMO": { - "erc20Address": "0x9243b3615ed297403c0cafa156c3fa16057526ca", - "cosmosToEthereumFee": 15, - "minimumTransfer": 40 - }, "JitoSOL": { "erc20Address": "0xBe90556468e5eE2A15Da99a5C0e045ED0B142143", "cosmosToEthereumFee": 0.05, diff --git a/src/config/json/AMPLITUDE.json b/src/config/json/AMPLITUDE.json deleted file mode 100644 index 864b3f00..00000000 --- a/src/config/json/AMPLITUDE.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "enabled": true, - "chainId": "2124", - "rest": "", - "rpc": "wss://rpc-amplitude.pendulumchain.tech", - "chainName": "amplitude", - "chainSymbolImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/amplitude.svg", - "chainType": "polkadot", - "polkadot": { - "ss58Format": 56, - "isParachain": true, - "relayChain": "polkadot", - "hops": { - "2019": { - "type": "XCM", - "xcmType": "xTokens.transfer", - "version": "V2", - "tokens": ["0000"] - } - } - }, - "currencies": [ - { - "coinDenom": "", - "coinDecimals": "", - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", - "coinGeckoId": "", - "cosmos": {}, - "polkadot": {}, - "ethereum": {}, - "solana": {} - } - ], - "feeCurrencies": [ - { - "coinDenom": "ASTR", - "coinDecimals": 18, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", - "coinMinimalDenom": "", - "coinGeckoId": "astar" - } - ] -} diff --git a/src/config/json/ASTAR.json b/src/config/json/ASTAR.json index ab9b3b30..2861fdca 100644 --- a/src/config/json/ASTAR.json +++ b/src/config/json/ASTAR.json @@ -26,20 +26,15 @@ "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", "coinGeckoId": "astar", "cosmos": {}, + "isCoin": true, "polkadot": { - "composableAssetId": "79228162514264337593543952342" + "composableAssetId": "79228162514264337593543952342", + "picassoAssetId": "33", + "ratio": { "n": "4713901", "d": "1" }, + "existentialDeposit": "4700000000000000" }, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "ASTR", - "coinDecimals": 18, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", - "coinMinimalDenom": "", - "coinGeckoId": "astar" - } ] } diff --git a/src/config/json/COMPOSABLE.json b/src/config/json/COMPOSABLE.json index b3ce679e..85e728a0 100644 --- a/src/config/json/COMPOSABLE.json +++ b/src/config/json/COMPOSABLE.json @@ -51,6 +51,77 @@ } }, "currencies": [ + { + "coinDenom": "PICA", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", + "coinGeckoId": "picasso", + "cosmos": {}, + + "polkadot": { + "picassoAssetId": "1", + "composableAssetId": "79228162514264337593543950337", + "ratio": null, + "existentialDeposit": "100000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "USDT", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg", + "coinGeckoId": "tether", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "149", + "composableAssetId": "79228162514264337593543950485", + "ratio": { + "n": "1", + "d": "5000000" + }, + + "existentialDeposit": "200000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "BNC_DOT", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", + "coinGeckoId": "bifrost-native-coin", + "cosmos": {}, + "polkadot": { + "composableAssetId": "79228162514264337593543950369", + "picassoAssetId": "33", + "ratio": { + "n": "11", + "d": "1000" + }, + "existential_deposit": "1100000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "ASTR", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", + "coinGeckoId": "bifrost-native-coin", + "cosmos": {}, + "polkadot": { + "composableAssetId": "79228162514264337593543952342", + "picassoAssetId": "33", + "ratio": { + "n": "4713901", + "d": "1" + }, + "existential_deposit": "4700000000000000" + }, + "ethereum": {}, + "solana": {} + }, { "coinDenom": "DOT", "coinDecimals": 10, @@ -58,8 +129,12 @@ "coinGeckoId": "polkadot", "cosmos": {}, "polkadot": { - "composableAssetId": "79228162514264337593543950342" + "picassoAssetId": "6", + "composableAssetId": "79228162514264337593543950342", + "ratio": { "n": "3", "d": "10000" }, + "existentialDeposit": "21430000" }, + "ethereum": { "minimalDenom": "transfer/channel-2/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", "erc20Address": "0x21c2c96Dbfa137E23946143c71AC8330F9B44001", @@ -75,49 +150,50 @@ } }, { - "coinDenom": "BNC_DOT", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", - "coinGeckoId": "bifrost-native-coin", + "coinDenom": "vDOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vDOT.svg", + "coinGeckoId": "", "cosmos": {}, "polkadot": { - "composableAssetId": "79228162514264337593543950369" + "picassoAssetId": "34", + "composableAssetId": "79228162514264337593543950370", + "ratio": { "n": "4", "d": "10000" }, + "existentialDeposit": "100000000" }, + "ethereum": {}, "solana": {} }, { - "coinDenom": "vDOT", + "coinDenom": "lsDOT", "coinDecimals": 10, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vDOT.svg", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg", "coinGeckoId": "", "cosmos": {}, "polkadot": { - "composableAssetId": "79228162514264337593543950370" + "picassoAssetId": "27", + "composableAssetId": "79228162514264337593543950351", + "ratio": { "n": "29", "d": "100000" }, + "existentialDeposit": "21430000" }, "ethereum": {}, "solana": {} }, { - "coinDenom": "ASTR", - "coinDecimals": 18, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", - "coinGeckoId": "astar", + "coinDenom": "USDC", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg", + "coinGeckoId": "", "cosmos": {}, "polkadot": { - "composableAssetId": "79228162514264337593543952342" + "picassoAssetId": "150", + "composableAssetId": "79228162514264337593543950486", + "ratio": { "n": "1", "d": "5000000" }, + "existentialDeposit": "200000" }, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "PICA", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", - "coinMinimalDenom": "", - "coinGeckoId": "picasso" - } ] } diff --git a/src/config/json/KUSAMA.json b/src/config/json/KUSAMA.json index 50cbddaa..51a76bd3 100644 --- a/src/config/json/KUSAMA.json +++ b/src/config/json/KUSAMA.json @@ -22,6 +22,8 @@ "currencies": [ { "coinDenom": "KSM", + "isCoin": true, + "coinDecimals": 12, "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg", "coinGeckoId": "kusama", @@ -43,14 +45,5 @@ "displayDecimals": 9 } } - ], - "feeCurrencies": [ - { - "coinDenom": "KSM", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg", - "coinMinimalDenom": "", - "coinGeckoId": "kusama" - } ] } diff --git a/src/config/json/MOONBEAM.json b/src/config/json/MOONBEAM.json index 5b4ec240..5508db60 100644 --- a/src/config/json/MOONBEAM.json +++ b/src/config/json/MOONBEAM.json @@ -23,6 +23,8 @@ { "coinDenom": "GLMR", "coinDecimals": 18, + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/GLMR.svg", "coinGeckoId": "moonbeam", "cosmos": {}, @@ -32,14 +34,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "GLMR", - "coinDecimals": 18, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/GLMR.svg", - "coinMinimalDenom": "", - "coinGeckoId": "moonbeam" - } ] } diff --git a/src/config/json/MOONRIVER.json b/src/config/json/MOONRIVER.json index a7c057af..7ce2995c 100644 --- a/src/config/json/MOONRIVER.json +++ b/src/config/json/MOONRIVER.json @@ -23,6 +23,7 @@ { "coinDenom": "MOVR", "coinDecimals": 18, + "isCoin": true, "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/MOVR.svg", "coinGeckoId": "moonriver", "cosmos": {}, @@ -32,14 +33,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "MOVR", - "coinDecimals": 18, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/MOVR.svg", - "coinMinimalDenom": "", - "coinGeckoId": "moonriver" - } ] } diff --git a/src/config/json/PICASSO.json b/src/config/json/PICASSO.json index 9a649e2f..4dcb3d94 100644 --- a/src/config/json/PICASSO.json +++ b/src/config/json/PICASSO.json @@ -22,15 +22,7 @@ "17": { "chainId": "centauri-1", "destinationId": 2, - "tokens": [ - "PICA", - "KSM", - "DOT", - "UMEE", - "ASTR", - "SDN", - "USDT Kusama" - ] + "tokens": ["PICA", "KSM", "DOT", "UMEE", "ASTR", "SDN", "USDT Kusama"] } }, "chainSymbolImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/Picasso.svg", @@ -44,58 +36,477 @@ "type": "XCM", "xcmType": "xTokens.transferMultiasset", "version": "V3", - "tokens": [ - "130" - ] + "tokens": ["130"] }, "2001": { "type": "XCM", "xcmType": "xTokens.transfer", "version": "V2", - "tokens": [ - "31", - "32" - ] + "tokens": ["31", "32"] }, "2125": { "type": "XCM", "xcmType": "xTokens.transfer", "version": "V3", - "tokens": [ - "2125" - ] + "tokens": ["2125"] }, "kusama": { "type": "XCM", "xcmType": "xTokens.transfer", "version": "V3", - "tokens": [ - "4" - ] + "tokens": ["4"] } } }, "currencies": [ + { + "coinDenom": "USDT", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "149", + "composableAssetId": "79228162514264337593543950485", + "ratio": { "n": "1", "d": "5000000" }, + "existentialDeposit": "200000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "USK", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USK.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "26", + "composableAssetId": "", + "ratio": { "n": "1", "d": "5000000" }, + "existentialDeposit": "200000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "SEI", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SEI.svg", + "coinGeckoId": "sei-network", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "35", + "composableAssetId": "", + "ratio": { "n": "143", "d": "100000000" }, + "existentialDeposit": "1000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "SILK", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SILK.svg", + "coinGeckoId": "silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "16", + "composableAssetId": "", + "ratio": { "n": "2", "d": "1000000" }, + "existentialDeposit": "20000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "QCK", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/QCK.svg", + "coinGeckoId": "quicksilver", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "29", + "composableAssetId": "", + "ratio": { "n": "1", "d": "30" }, + "existentialDeposit": "333300" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "MOVR", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/MOVR.svg", + "coinGeckoId": "moonriver", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "23", + "composableAssetId": "", + "ratio": { "n": "40900", "d": "1" }, + "existentialDeposit": "4100000000000000" + }, + "ethereum": {}, + "solana": {} + }, { "coinDenom": "USDT Kusama", "coinDecimals": 6, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT KUSAMA.svg", "coinGeckoId": "tether", "cosmos": {}, "polkadot": { - "picassoAssetId": "130" + "picassoAssetId": "130", + "composableAssetId": "", + "ratio": { "n": "2", "d": "10000000" }, + "existentialDeposit": "1500" }, "ethereum": {}, "solana": {} }, { - "coinDenom": "TNKR", + "coinDenom": "STRD", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STRD.svg", + "coinGeckoId": "stride", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "9", + "composableAssetId": "", + "ratio": { "n": "18", "d": "100000000" }, + "existentialDeposit": "20000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "PICA", "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TNKR.svg", - "coinGeckoId": "tinkernet", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", + "coinGeckoId": "picasso", + "cosmos": {}, + "isCoin": true, + + "polkadot": { + "picassoAssetId": "1", + "composableAssetId": "79228162514264337593543950337", + "ratio": null, + "existentialDeposit": "100000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "BNC_KSM", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_KSM.svg", + "coinGeckoId": "bifrost-native-coin", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "31", + "composableAssetId": "", + "ratio": { "n": "11", "d": "10" }, + "existentialDeposit": "11000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "SDN", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SDN.svg", + "coinGeckoId": "shiden", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "2007", + "composableAssetId": "", + "ratio": { "n": "1000000", "d": "1" }, + "existentialDeposit": "1000000000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "BLD", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BLD.svg", + "coinGeckoId": "agoric", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "18", + "composableAssetId": "", + "ratio": { "n": "12", "d": "10000000" }, + "existentialDeposit": "120000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "Liquid Staked Kusama", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LIQUID STAKED KUSAMA.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "20", + "composableAssetId": "", + "ratio": { "n": "70", "d": "10000" }, + "existentialDeposit": "375000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "OSMO", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/OSMO.svg", + "coinGeckoId": "osmosis", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "8", + "composableAssetId": "", + "ratio": { "n": "3", "d": "10000000" }, + "existentialDeposit": "40000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "BNC_DOT", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", + "coinGeckoId": "bifrost-native-coin", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "33", + "composableAssetId": "", + "ratio": { "n": "11", "d": "1000" }, + "existentialDeposit": "1100000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "Karura Dollar", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KARURA DOLLAR.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "129", + "composableAssetId": "", + "ratio": { "n": "1", "d": "1" }, + "existentialDeposit": "100000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "wSOL", + "coinDecimals": 9, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/WSOL.svg", + "coinGeckoId": "wrapped-solana", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "3", + "composableAssetId": "", + "ratio": { "n": "8350000", "d": "1" }, + "existentialDeposit": "5620" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "ASTR", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ASTR.svg", + "coinGeckoId": "astar", + "cosmos": {}, + "polkadot": { + "composableAssetId": "79228162514264337593543952342", + "picassoAssetId": "33", + "ratio": { "n": "4713901", "d": "1" }, + "existentialDeposit": "4700000000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "stATOM", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STATOM.svg", + "coinGeckoId": "stride-staked-atom", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "10", + "composableAssetId": "", + "ratio": { "n": "18", "d": "1000000000" }, + "existentialDeposit": "2000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "NTRN", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/NTRN.svg", + "coinGeckoId": "neutron-3", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "12", + "composableAssetId": "", + "ratio": { "n": "5", "d": "10000000" }, + "existentialDeposit": "60000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "ATOM", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ATOM.svg", + "coinGeckoId": "cosmos", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "7", + "composableAssetId": "", + "ratio": { "n": "2", "d": "100000000" }, + "existentialDeposit": "2000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "UMEE", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/UMEE.svg", + "coinGeckoId": "umee", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "17", + "composableAssetId": "", + "ratio": { "n": "5", "d": "100000" }, + "existentialDeposit": "1000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "ETH", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg", + "coinGeckoId": "ethereum", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "2", + "composableAssetId": "", + "ratio": { "n": "19", "d": "100" }, + "existentialDeposit": "200000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "Equilibrium", + "coinDecimals": 9, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/EQUILIBRIUM.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "2011", + "composableAssetId": "", + "ratio": { "n": "7", "d": "10" }, + "existentialDeposit": "700000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "XLM", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/XLM.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "45", + "composableAssetId": "", + "ratio": { "n": "5", "d": "1" }, + "existentialDeposit": "2000000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "IST", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/IST.svg", + "coinGeckoId": "inter-stable-token", "cosmos": {}, "polkadot": { - "picassoAssetId": "2125" + "picassoAssetId": "25", + "composableAssetId": "", + "ratio": { "n": "2", "d": "1000000" }, + "existentialDeposit": "20000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "CRE", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/CRE.svg", + "coinGeckoId": "crescent-network", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "13", + "composableAssetId": "", + "ratio": { "n": "1", "d": "100000" }, + "existentialDeposit": "1000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "GLMR", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/GLMR.svg", + "coinGeckoId": "moonbeam", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "40", + "composableAssetId": "", + "ratio": { "n": "400000", "d": "1" }, + "existentialDeposit": "40000000000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "DOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg", + "coinGeckoId": "polkadot", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "6", + "composableAssetId": "79228162514264337593543950342", + "ratio": { "n": "3", "d": "10000" }, + "existentialDeposit": "21430000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "KUJI", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KUJI.svg", + "coinGeckoId": "kujira", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "28", + "composableAssetId": "", + "ratio": { "n": "3", "d": "50000000" }, + "existentialDeposit": "6006" }, "ethereum": {}, "solana": {} @@ -107,30 +518,55 @@ "coinGeckoId": "kusama", "cosmos": {}, "polkadot": { - "picassoAssetId": "4" + "picassoAssetId": "4", + "composableAssetId": "", + "ratio": { "n": "70", "d": "10000" }, + "existentialDeposit": "375000000" }, - "ethereum": { - "minimalDenom": "transfer/channel-2/transfer/channel-2/4", - "erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60", - "fromCosmosFee": 0.5, - "minimumTransfer": 1 + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "vDOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VDOT.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "34", + "composableAssetId": "79228162514264337593543950370", + "ratio": { "n": "4", "d": "10000" }, + "existentialDeposit": "100000000" }, - "solana": { - "mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12", - "minimalDenom": "transfer/channel-1/transfer/channel-2/4", - "minimumTransfer": 0.7, - "fromCosmosFee": 0, - "displayDecimals": 9 - } + "ethereum": {}, + "solana": {} }, { - "coinDenom": "BNC_KSM", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_KSM.svg", - "coinGeckoId": "bifrost-native-coin", + "coinDenom": "INJ", + "coinDecimals": 18, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/INJ.svg", + "coinGeckoId": "injective-protocol", "cosmos": {}, "polkadot": { - "picassoAssetId": "31" + "picassoAssetId": "24", + "composableAssetId": "", + "ratio": { "n": "12500", "d": "1" }, + "existentialDeposit": "1250000000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "TIA", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TIA.svg", + "coinGeckoId": "celestia", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "19", + "composableAssetId": "", + "ratio": { "n": "85", "d": "1000000000" }, + "existentialDeposit": "9000" }, "ethereum": {}, "solana": {} @@ -138,23 +574,138 @@ { "coinDenom": "vKSM", "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vKSM.svg", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VKSM.svg", "coinGeckoId": "", "cosmos": {}, "polkadot": { - "picassoAssetId": "32" + "picassoAssetId": "32", + "composableAssetId": "", + "ratio": { "n": "8", "d": "1000" }, + "existentialDeposit": "1000000000" }, "ethereum": {}, "solana": {} - } - ], - "feeCurrencies": [ + }, { - "coinDenom": "PICA", + "coinDenom": "lsDOT", + "coinDecimals": 10, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/LSDOT.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "27", + "composableAssetId": "79228162514264337593543950351", + + "ratio": { "n": "29", "d": "100000" }, + "existentialDeposit": "21430000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "SCRT", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SCRT.svg", + "coinGeckoId": "secret", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "15", + "composableAssetId": "", + "ratio": { "n": "6", "d": "10000000" }, + "existentialDeposit": "70000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "USDC", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDC.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "150", + "composableAssetId": "", + "ratio": { "n": "1", "d": "5000000" }, + "existentialDeposit": "200000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "TNKR", "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", - "coinMinimalDenom": "", - "coinGeckoId": "picasso" + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TNKR.svg", + "coinGeckoId": "tinkernet", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "2125", + "composableAssetId": "", + "ratio": { "n": "3", "d": "100" }, + "existentialDeposit": "135000000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "STARS", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/STARS.svg", + "coinGeckoId": "stargaze", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "11", + "composableAssetId": "", + "ratio": { "n": "18", "d": "1000000" }, + "existentialDeposit": "2000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "bCRE", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BCRE.svg", + "coinGeckoId": "liquid-staking-crescent", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "14", + "composableAssetId": "", + "ratio": { "n": "1", "d": "100000" }, + "existentialDeposit": "1000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "HUAHUA", + "coinDecimals": 6, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/HUAHUA.svg", + "coinGeckoId": "chihuahua-token", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "420", + "composableAssetId": "", + "ratio": null, + "existentialDeposit": "1000000" + }, + "ethereum": {}, + "solana": {} + }, + { + "coinDenom": "AMPE", + "coinDecimals": 12, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/AMPE.svg", + "coinGeckoId": "", + "cosmos": {}, + "polkadot": { + "picassoAssetId": "44", + "composableAssetId": "", + "ratio": { "n": "1", "d": "8" }, + "existentialDeposit": "1000000000000000" + }, + "ethereum": {}, + "solana": {} } ] -} \ No newline at end of file +} diff --git a/src/config/json/POLKADOT.json b/src/config/json/POLKADOT.json index b0cf24f4..9cc1896b 100644 --- a/src/config/json/POLKADOT.json +++ b/src/config/json/POLKADOT.json @@ -21,36 +21,29 @@ }, "currencies": [ { - "coinDenom": "KSM", - "coinDecimals": 12, + "coinDenom": "DOT", + "coinDecimals": 10, "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg", - "coinGeckoId": "kusama", + "coinGeckoId": "polkadot", + "isCoin": true, "cosmos": {}, "polkadot": { - "picassoAssetId": "4" + "picassoAssetId": "6", + "composableAssetId": "79228162514264337593543950342" }, "ethereum": { - "minimalDenom": "transfer/channel-2/transfer/channel-2/4", - "erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60", - "fromCosmosFee": 0.5, - "minimumTransfer": 1 + "minimalDenom": "transfer/channel-2/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", + "erc20Address": "0x21c2c96Dbfa137E23946143c71AC8330F9B44001", + "fromCosmosFee": 2, + "minimumTransfer": 5 }, "solana": { - "mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12", - "minimalDenom": "transfer/channel-1/transfer/channel-2/4", - "minimumTransfer": 0.7, + "mintAddress": "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J", + "minimalDenom": "transfer/channel-1/transfer/channel-2/transfer/channel-15/79228162514264337593543950342", + "minimumTransfer": 3, "fromCosmosFee": 0, "displayDecimals": 9 } } - ], - "feeCurrencies": [ - { - "coinDenom": "DOT", - "coinDecimals": 10, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/DOT.svg", - "coinMinimalDenom": "", - "coinGeckoId": "polkadot" - } ] } diff --git a/src/config/json/SHIDEN.json b/src/config/json/SHIDEN.json index 9797c78d..b7234939 100644 --- a/src/config/json/SHIDEN.json +++ b/src/config/json/SHIDEN.json @@ -23,6 +23,8 @@ { "coinDenom": "SDN", "coinDecimals": 18, + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SDN.svg", "coinGeckoId": "shiden", "cosmos": {}, @@ -32,14 +34,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "SDN", - "coinDecimals": 18, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/SDN.svg", - "coinMinimalDenom": "", - "coinGeckoId": "shiden" - } ] } diff --git a/src/config/json/TINKERNET.json b/src/config/json/TINKERNET.json index 678ec4ff..3fd38ca2 100644 --- a/src/config/json/TINKERNET.json +++ b/src/config/json/TINKERNET.json @@ -26,20 +26,13 @@ "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TNKR.svg", "coinGeckoId": "tinkernet", "cosmos": {}, + "isCoin": true, + "polkadot": { "picassoAssetId": "2125" }, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "TNKR", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/TNKR.svg", - "coinMinimalDenom": "", - "coinGeckoId": "tinkernet" - } ] } diff --git a/src/config/json/agoric.json b/src/config/json/agoric.json index a4416db4..90eb6a26 100644 --- a/src/config/json/agoric.json +++ b/src/config/json/agoric.json @@ -30,10 +30,7 @@ "55": { "chainId": "centauri-1", "destinationId": 13, - "tokens": [ - "BLD", - "IST" - ] + "tokens": ["BLD", "IST"] } }, "currencies": [ @@ -42,8 +39,15 @@ "coinMinimalDenom": "ubld", "coinDecimals": 6, "coinGeckoId": "agoric", + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/ubld.png", "cosmos": { + "gasPriceStep": { + "low": 0.03, + "average": 0.05, + "high": 0.07 + }, "minimalDenom": "ubld" }, "polkadot": { @@ -91,34 +95,5 @@ "displayDecimals": 6 } } - ], - "feeCurrencies": [ - { - "coinDenom": "BLD", - "coinMinimalDenom": "ubld", - "coinDecimals": 6, - "coinGeckoId": "agoric", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/ubld.png", - "cosmos": { - "gasPriceStep": { - "low": 0.03, - "average": 0.05, - "high": 0.07 - } - } - }, - { - "coinDenom": "IST", - "coinMinimalDenom": "uist", - "coinDecimals": 6, - "coinGeckoId": "inter-stable-token", - "cosmos": { - "gasPriceStep": { - "low": 0.0034, - "average": 0.007, - "high": 0.02 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/archway.json b/src/config/json/archway.json index 9c9079f0..0ef167c2 100644 --- a/src/config/json/archway.json +++ b/src/config/json/archway.json @@ -23,9 +23,7 @@ "108": { "chainId": "centauri-1", "destinationId": 50, - "tokens": [ - "ARCH" - ] + "tokens": ["ARCH"] } }, "currencies": [ @@ -34,8 +32,15 @@ "coinDenom": "ARCH", "coinGeckoId": "archway", "coinMinimalDenom": "aarch", + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/archway/aarch.png", "cosmos": { + "gasPriceStep": { + "low": 140000000000, + "average": 196000000000, + "high": 225400000000 + }, "minimalDenom": "aarch" }, "polkadot": {}, @@ -53,21 +58,5 @@ "displayDecimals": 9 } } - ], - "feeCurrencies": [ - { - "coinDecimals": 18, - "coinDenom": "ARCH", - "coinGeckoId": "archway", - "coinMinimalDenom": "aarch", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/archway/aarch.png", - "cosmos": { - "gasPriceStep": { - "low": 140000000000, - "average": 196000000000, - "high": 225400000000 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/bifrostkusama.json b/src/config/json/bifrostkusama.json index 9478bc4d..0e279ed4 100644 --- a/src/config/json/bifrostkusama.json +++ b/src/config/json/bifrostkusama.json @@ -26,8 +26,13 @@ "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_KSM.svg", "coinGeckoId": "bifrost-native-coin", "cosmos": {}, + "isCoin": true, + "polkadot": { - "picassoAssetId": "31" + "picassoAssetId": "31", + "composableAssetId": "", + "ratio": { "n": "11", "d": "10" }, + "existentialDeposit": "11000000000" }, "ethereum": {}, "solana": {} @@ -35,23 +40,17 @@ { "coinDenom": "vKSM", "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vKSM.svg", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/VKSM.svg", "coinGeckoId": "", "cosmos": {}, "polkadot": { - "picassoAssetId": "32" + "picassoAssetId": "32", + "composableAssetId": "", + "ratio": { "n": "8", "d": "1000" }, + "existentialDeposit": "1000000000" }, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "KSM", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg", - "coinMinimalDenom": "", - "coinGeckoId": "kusama" - } ] } diff --git a/src/config/json/bifrostpolkadot.json b/src/config/json/bifrostpolkadot.json index b9c3a485..6b94c8ba 100644 --- a/src/config/json/bifrostpolkadot.json +++ b/src/config/json/bifrostpolkadot.json @@ -25,6 +25,8 @@ "currencies": [ { "coinDenom": "BNC_DOT", + "isCoin": true, + "coinDecimals": 12, "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", "coinGeckoId": "bifrost-native-coin", @@ -47,14 +49,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "BNC_DOT", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/BNC_DOT.svg", - "coinMinimalDenom": "", - "coinGeckoId": "" - } ] } diff --git a/src/config/json/celestia.json b/src/config/json/celestia.json index 704e3fb2..42641301 100644 --- a/src/config/json/celestia.json +++ b/src/config/json/celestia.json @@ -24,9 +24,7 @@ "12": { "chainId": "centauri-1", "destinationId": 38, - "tokens": [ - "TIA" - ] + "tokens": ["TIA"] } }, "currencies": [ @@ -35,29 +33,20 @@ "coinDenom": "TIA", "coinGeckoId": "celestia", "coinMinimalDenom": "utia", + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/celestia/chain.png", "cosmos": { + "gasPriceStep": { + "low": 0.01, + "average": 0.02, + "high": 0.1 + }, "minimalDenom": "utia" }, "polkadot": {}, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDecimals": 6, - "coinDenom": "TIA", - "coinGeckoId": "celestia", - "coinMinimalDenom": "utia", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/celestia/chain.png", - "cosmos": { - "gasPriceStep": { - "low": 0.01, - "average": 0.02, - "high": 0.1 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/centauri.json b/src/config/json/centauri.json index 1a2f37f5..3e758c44 100644 --- a/src/config/json/centauri.json +++ b/src/config/json/centauri.json @@ -197,11 +197,18 @@ { "coinDenom": "PICA", "coinMinimalDenom": "ppica", + "isCoin": true, + "coinDecimals": 12, "coinGeckoId": "picasso", "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", "cosmos": { + "gasPriceStep": { + "low": 0, + "average": 0, + "high": 0 + }, "minimalDenom": "ppica" }, "polkadot": { @@ -221,20 +228,5 @@ "displayDecimals": 9 } } - ], - "feeCurrencies": [ - { - "coinDenom": "PICA", - "coinMinimalDenom": "ppica", - "coinDecimals": 12, - "coinGeckoId": "unknown", - "cosmos": { - "gasPriceStep": { - "low": 0, - "average": 0, - "high": 0 - } - } - } ] } diff --git a/src/config/json/chihuahua.json b/src/config/json/chihuahua.json index ab97d730..cc7c6c5c 100644 --- a/src/config/json/chihuahua.json +++ b/src/config/json/chihuahua.json @@ -24,9 +24,7 @@ "62": { "chainId": "centauri-1", "destinationId": 0, - "tokens": [ - "UHUAHUA" - ] + "tokens": ["UHUAHUA"] } }, "currencies": [ @@ -37,27 +35,17 @@ "coinGeckoId": "chihuahua-token", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/chihuahua/chain.png", "cosmos": { - "minimalDenom": "uhuahua" - }, - "polkadot": {}, - "ethereum": {}, - "solana": {} - } - ], - "feeCurrencies": [ - { - "coinDenom": "HUAHUA", - "coinMinimalDenom": "uhuahua", - "coinDecimals": 6, - "coinGeckoId": "chihuahua-token", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/chihuahua/chain.png", - "cosmos": { + "minimalDenom": "uhuahua", "gasPriceStep": { "low": 500, "average": 1250, "high": 2000 } - } + }, + "isCoin": true, + "polkadot": {}, + "ethereum": {}, + "solana": {} } ] -} \ No newline at end of file +} diff --git a/src/config/json/coreum.json b/src/config/json/coreum.json index 525865ef..b4cd16ab 100644 --- a/src/config/json/coreum.json +++ b/src/config/json/coreum.json @@ -23,10 +23,7 @@ "31": { "chainId": "centauri-1", "destinationId": 56, - "tokens": [ - "COREUM", - "XRP" - ] + "tokens": ["COREUM", "XRP"] } }, "currencies": [ @@ -55,10 +52,17 @@ }, { "coinDenom": "CORE", + "isCoin": true, + "coinMinimalDenom": "ucore", "coinDecimals": 6, "coinGeckoId": "coreum", "cosmos": { + "gasPriceStep": { + "low": 0.0625, + "average": 0.0625, + "high": 0.0625 + }, "minimalDenom": "ucore" }, "polkadot": {}, @@ -81,4 +85,4 @@ } } ] -} \ No newline at end of file +} diff --git a/src/config/json/cosmoshub.json b/src/config/json/cosmoshub.json index a5906a30..24f4453e 100644 --- a/src/config/json/cosmoshub.json +++ b/src/config/json/cosmoshub.json @@ -24,9 +24,7 @@ "617": { "chainId": "centauri-1", "destinationId": 4, - "tokens": [ - "ATOM" - ] + "tokens": ["ATOM"] } }, "currencies": [ @@ -35,8 +33,15 @@ "coinDenom": "ATOM", "coinGeckoId": "cosmos", "coinMinimalDenom": "uatom", + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/uatom.png", "cosmos": { + "gasPriceStep": { + "average": 0.025, + "high": 0.03, + "low": 0.005 + }, "minimalDenom": "uatom" }, "polkadot": {}, @@ -54,21 +59,5 @@ "displayDecimals": 6 } } - ], - "feeCurrencies": [ - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "coinMinimalDenom": "uatom", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/uatom.png", - "cosmos": { - "gasPriceStep": { - "average": 0.025, - "high": 0.03, - "low": 0.005 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/crescentnetwork.json b/src/config/json/crescentnetwork.json index 5b675fdf..4197feaf 100644 --- a/src/config/json/crescentnetwork.json +++ b/src/config/json/crescentnetwork.json @@ -25,11 +25,7 @@ "64": { "chainId": "centauri-1", "destinationId": 11, - "tokens": [ - "CRE", - "BCRE", - "UCRE" - ] + "tokens": ["CRE", "BCRE", "UCRE"] } }, "currencies": [ @@ -38,8 +34,15 @@ "coinMinimalDenom": "ucre", "coinDecimals": 6, "coinGeckoId": "crescent-network", + "isCoin": true, + "cosmos": { - "minimalDenom": "ucre" + "minimalDenom": "ucre", + "gasPriceStep": { + "low": 0.01, + "average": 0.025, + "high": 0.03 + } }, "polkadot": {}, "ethereum": {}, @@ -57,228 +60,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "CRE", - "coinMinimalDenom": "ucre", - "coinDecimals": 6, - "coinGeckoId": "crescent-network", - "cosmos": { - "gasPriceStep": { - "low": 0.01, - "average": 0.025, - "high": 0.03 - } - } - }, - { - "coinDenom": "bCRE", - "coinMinimalDenom": "ubcre", - "coinDecimals": 6, - "coinGeckoId": "liquid-staking-crescent", - "cosmos": { - "gasPriceStep": { - "low": 0.0083, - "average": 0.02075, - "high": 0.0249 - } - } - }, - { - "coinDenom": "ATOM", - "coinMinimalDenom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9", - "coinDecimals": 6, - "coinGeckoId": "cosmos", - "cosmos": { - "gasPriceStep": { - "low": 0.000063, - "average": 0.0001575, - "high": 0.000189 - } - } - }, - { - "coinDenom": "USDC.grav", - "coinMinimalDenom": "ibc/CD01034D6749F20AAC5330EF4FD8B8CA7C40F7527AB8C4A302FBD2A070852EE1", - "coinDecimals": 6, - "coinGeckoId": "usd-coin", - "cosmos": { - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - } - } - }, - { - "coinDenom": "USDC.axl", - "coinMinimalDenom": "ibc/BFF0D3805B50D93E2FA5C0B2DDF7E0B30A631076CD80BC12A48C0E95404B4A41", - "coinDecimals": 6, - "coinGeckoId": "usd-coin", - "cosmos": { - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - } - } - }, - { - "coinDenom": "IST", - "coinMinimalDenom": "ibc/CA1261224952DF089EFD363D8DBB30A8AB6D8CD181E60EE9E68E432F8DE14FE3", - "coinDecimals": 6, - "coinGeckoId": "inter-stable-token", - "cosmos": { - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - } - } - }, - { - "coinDenom": "CMST", - "coinMinimalDenom": "ibc/9EC8A1701813BB7B73BFED2496009ABB2C8BF187E6CDFA788D77F68E08BC05CD", - "coinDecimals": 6, - "coinGeckoId": "composite", - "cosmos": { - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - } - } - }, - { - "coinDenom": "JUNO", - "coinMinimalDenom": "ibc/C814F0B662234E24248AE3B2FE2C1B54BBAF12934B757F6E7BC5AEC119963895", - "coinDecimals": 6, - "coinGeckoId": "juno-network", - "cosmos": { - "gasPriceStep": { - "low": 0.000568, - "average": 0.00142, - "high": 0.001704 - } - } - }, - { - "coinDenom": "BLD", - "coinMinimalDenom": "ibc/11F940BCDFD7CFBFD7EDA13F25DA95D308286D441209D780C9863FD4271514EB", - "coinDecimals": 6, - "coinGeckoId": "agoric", - "cosmos": { - "gasPriceStep": { - "low": 0.002, - "average": 0.005, - "high": 0.006 - } - } - }, - { - "coinDenom": "CMDX", - "coinMinimalDenom": "ibc/61DF64ADF65230540C14C63D64897BE08A3DC9A516A91425913F01240E2F432F", - "coinDecimals": 6, - "coinGeckoId": "comdex", - "cosmos": { - "gasPriceStep": { - "low": 0.008146, - "average": 0.020365, - "high": 0.024438 - } - } - }, - { - "coinDenom": "GRAV", - "coinMinimalDenom": "ibc/C950356239AD2A205DE09FDF066B1F9FF19A7CA7145EA48A5B19B76EE47E52F7", - "coinDecimals": 6, - "coinGeckoId": "graviton", - "cosmos": { - "gasPriceStep": { - "low": 0.065405, - "average": 0.1635125, - "high": 0.196215 - } - } - }, - { - "coinDenom": "INJ", - "coinMinimalDenom": "ibc/5A76568E079A31FA12165E4559BA9F1E9D4C97F9C2060B538C84DCD503815E30", - "coinDecimals": 18, - "coinGeckoId": "injective-protocol", - "cosmos": { - "gasPriceStep": { - "low": 3350000000, - "average": 8375000000, - "high": 10050000000 - } - } - }, - { - "coinDenom": "LUNA", - "coinMinimalDenom": "ibc/8F865D9760B482FF6254EDFEC1FF2F1273B9AB6873A7DE484F89639795D73D75", - "coinDecimals": 6, - "coinGeckoId": "terra-luna-2", - "cosmos": { - "gasPriceStep": { - "low": 0.0004, - "average": 0.001, - "high": 0.0012 - } - } - }, - { - "coinDenom": "LUNC", - "coinMinimalDenom": "ibc/4627AD2524E3E0523047E35BB76CC90E37D9D57ACF14F0FCBCEB2480705F3CB8", - "coinDecimals": 6, - "coinGeckoId": "terra-luna", - "cosmos": { - "gasPriceStep": { - "low": 5, - "average": 12.5, - "high": 15 - } - } - }, - { - "coinDenom": "stATOM", - "coinMinimalDenom": "ibc/D64F87FAE0B35C1954DD7921BA7A2939705DE77CBF72B8002F2E3552EDE4DE52", - "coinDecimals": 6, - "coinGeckoId": "stride-staked-atom", - "cosmos": { - "gasPriceStep": { - "low": 0.00006, - "average": 0.00015, - "high": 0.00018 - } - } - }, - { - "coinDenom": "OKT", - "coinMinimalDenom": "ibc/764D1629980B02BAFF3D25BEE4FB1E0C5E350AFA252FDF66E68E10D2179A826A", - "coinDecimals": 18, - "coinGeckoId": "oec-token", - "cosmos": { - "gasPriceStep": { - "low": 200000000, - "average": 500000000, - "high": 600000000 - } - } - }, - { - "coinDenom": "AXL", - "coinMinimalDenom": "ibc/0634D0993744740D675AD01E81156EAC945AEAAE17C074918DC7FF52F41B263E", - "coinDecimals": 6, - "coinGeckoId": "axelar", - "cosmos": { - "gasPriceStep": { - "low": 0.0014, - "average": 0.0035, - "high": 0.0042 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/ethereum.json b/src/config/json/ethereum.json index ab027d0b..45cb4289 100644 --- a/src/config/json/ethereum.json +++ b/src/config/json/ethereum.json @@ -46,6 +46,8 @@ "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ETH.svg", "coinDecimals": 18, "coinDenom": "ETH", + "isCoin": true, + "coinGeckoId": "ethereum", "cosmos": { "minimalDenom": "wei" @@ -502,13 +504,5 @@ "displayDecimals": 9 } } - ], - "feeCurrencies": [ - { - "coinDenom": "ETH", - "coinMinimalDenom": "wei", - "coinDecimals": 18, - "coinGeckoId": "ethereum" - } ] } diff --git a/src/config/json/injective.json b/src/config/json/injective.json index edaa470a..39ecc85b 100644 --- a/src/config/json/injective.json +++ b/src/config/json/injective.json @@ -23,40 +23,29 @@ "145": { "chainId": "centauri-1", "destinationId": 29, - "tokens": [ - "INJ" - ] + "tokens": ["INJ"] } }, "currencies": [ { "coinDenom": "INJ", "coinDecimals": 18, + "isCoin": true, + "coinMinimalDenom": "inj", "coinGeckoId": "injective-protocol", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/inj.png", "cosmos": { + "gasPriceStep": { + "low": 500000000, + "average": 1000000000, + "high": 1500000000 + }, "minimalDenom": "inj" }, "polkadot": {}, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "INJ", - "coinDecimals": 18, - "coinMinimalDenom": "inj", - "coinGeckoId": "injective-protocol", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/inj.png", - "cosmos": { - "gasPriceStep": { - "low": 500000000, - "average": 1000000000, - "high": 1500000000 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/kujira.json b/src/config/json/kujira.json index b09e672e..f0d5ae66 100644 --- a/src/config/json/kujira.json +++ b/src/config/json/kujira.json @@ -23,9 +23,7 @@ "101": { "chainId": "centauri-1", "destinationId": 27, - "tokens": [ - "KUJI" - ] + "tokens": ["KUJI"] } }, "currencies": [ @@ -33,6 +31,8 @@ "coinDenom": "KUJI", "coinMinimalDenom": "ukuji", "coinDecimals": 6, + "isCoin": true, + "coinGeckoId": "kujira", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png", "cosmos": { @@ -42,92 +42,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "KUJI", - "coinMinimalDenom": "ukuji", - "coinDecimals": 6, - "coinGeckoId": "kujira", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png", - "cosmos": {} - }, - { - "coinDenom": "USK", - "coinMinimalDenom": "factory/kujira1qk00h5atutpsv900x202pxx42npjr9thg58dnqpa72f2p7m2luase444a7/uusk", - "coinDecimals": 6, - "coinGeckoId": "usk", - "cosmos": {} - }, - { - "coinDenom": "axlUSDC", - "coinMinimalDenom": "ibc/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F", - "coinDecimals": 6, - "coinGeckoId": "usd-coin", - "cosmos": {} - }, - { - "coinDenom": "ATOM", - "coinMinimalDenom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2", - "coinDecimals": 6, - "coinGeckoId": "cosmos", - "cosmos": {} - }, - { - "coinDenom": "OSMO", - "coinMinimalDenom": "ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23", - "coinDecimals": 6, - "coinGeckoId": "osmosis", - "cosmos": {} - }, - { - "coinDenom": "CMDX", - "coinMinimalDenom": "ibc/3607EB5B5E64DD1C0E12E07F077FF470D5BC4706AFCBC98FE1BA960E5AE4CE07", - "coinDecimals": 6, - "coinGeckoId": "comdex", - "cosmos": {} - }, - { - "coinDenom": "EVMOS", - "coinMinimalDenom": "ibc/F3AA7EF362EC5E791FE78A0F4CCC69FEE1F9A7485EB1A8CAB3F6601C00522F10", - "coinDecimals": 6, - "coinGeckoId": "evmos", - "cosmos": {} - }, - { - "coinDenom": "JUNO", - "coinMinimalDenom": "ibc/EFF323CC632EC4F747C61BCE238A758EFDB7699C3226565F7C20DA06509D59A5", - "coinDecimals": 6, - "coinGeckoId": "juno-network", - "cosmos": {} - }, - { - "coinDenom": "SCRT", - "coinMinimalDenom": "ibc/A358D7F19237777AF6D8AD0E0F53268F8B18AE8A53ED318095C14D6D7F3B2DB5", - "coinDecimals": 6, - "coinGeckoId": "secret", - "cosmos": {} - }, - { - "coinDenom": "STARS", - "coinMinimalDenom": "ibc/4F393C3FCA4190C0A6756CE7F6D897D5D1BE57D6CCB80D0BC87393566A7B6602", - "coinDecimals": 6, - "coinGeckoId": "stargaze", - "cosmos": {} - }, - { - "coinDenom": "wAVAX", - "coinMinimalDenom": "ibc/004EBF085BBED1029326D56BE8A2E67C08CECE670A94AC1947DF413EF5130EB2", - "coinDecimals": 18, - "coinGeckoId": "avalanche-2", - "cosmos": {} - }, - { - "coinDenom": "wETH", - "coinMinimalDenom": "ibc/1B38805B1C75352B28169284F96DF56BDEBD9E8FAC005BDCC8CF0378C82AA8E7", - "coinDecimals": 18, - "coinGeckoId": "ethereum", - "cosmos": {} - } ] -} \ No newline at end of file +} diff --git a/src/config/json/kusamaasset hub.json b/src/config/json/kusamaasset hub.json deleted file mode 100644 index b284e3d4..00000000 --- a/src/config/json/kusamaasset hub.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "chainId": "1000", - "rest": "", - "rpc": "wss://statemine-rpc.dwellir.com", - "chainName": "Kusama Asset Hub", - "chainSymbolImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/kusama.svg", - "chainType": "polkadot", - "polkadot": { - "ss58Format": 2, - "isParachain": true, - "relayChain": "kusama", - "hops": { - "2087": { - "type": "XCM", - "xcmType": "polkadotXcm.limitedReserveTransferAssets", - "version": "V2", - "tokens": ["130"] - } - } - }, - "currencies": [ - { - "coinDenom": "USDT Kusama", - "coinDecimals": 6, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg", - "coinGeckoId": "tether", - "cosmos": {}, - "polkadot": { - "picassoAssetId": "130" - }, - "ethereum": {}, - "solana": {} - } - ], - "feeCurrencies": [ - { - "coinDenom": "KSM", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/vKSM.svg", - "coinMinimalDenom": "", - "coinGeckoId": "kusama" - } - ] -} diff --git a/src/config/json/kusamaassethub.json b/src/config/json/kusamaassethub.json index 52085e44..467be46f 100644 --- a/src/config/json/kusamaassethub.json +++ b/src/config/json/kusamaassethub.json @@ -23,6 +23,8 @@ { "coinDenom": "USDT Kusama", "coinDecimals": 6, + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg", "coinGeckoId": "tether", "cosmos": {}, @@ -32,14 +34,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "KSM", - "coinDecimals": 12, - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg", - "coinMinimalDenom": "", - "coinGeckoId": "kusama" - } ] } diff --git a/src/config/json/neutron.json b/src/config/json/neutron.json index d191f7fb..68875a3e 100644 --- a/src/config/json/neutron.json +++ b/src/config/json/neutron.json @@ -23,9 +23,7 @@ "17": { "chainId": "centauri-1", "destinationId": 18, - "tokens": [ - "NTRN" - ] + "tokens": ["NTRN"] } }, "currencies": [ @@ -49,104 +47,24 @@ } }, { + "isCoin": true, + "coinDenom": "NTRN", "coinMinimalDenom": "untrn", "coinDecimals": 6, "coinGeckoId": "neutron-3", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png", "cosmos": { + "gasPriceStep": { + "low": 0.0008, + "average": 0.0008, + "high": 0.0008 + }, "minimalDenom": "untrn" }, "polkadot": {}, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "NTRN", - "coinMinimalDenom": "untrn", - "coinDecimals": 6, - "coinGeckoId": "neutron-3", - "cosmos": { - "gasPriceStep": { - "low": 0.0053, - "average": 0.0053, - "high": 0.0053 - } - } - }, - { - "coinDenom": "ATOM", - "coinMinimalDenom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9", - "coinDecimals": 6, - "cosmos": { - "gasPriceStep": { - "low": 0.0008, - "average": 0.0008, - "high": 0.0008 - } - } - }, - { - "coinDenom": "USDC", - "coinMinimalDenom": "ibc/F082B65C88E4B6D5EF1DB243CDA1D331D002759E938A0F5CD3FFDC5D53B3E349", - "coinDecimals": 6, - "cosmos": { - "gasPriceStep": { - "low": 0.008, - "average": 0.008, - "high": 0.008 - } - } - }, - { - "coinDenom": "wstETH", - "coinMinimalDenom": "factory/neutron1ug740qrkquxzrk2hh29qrlx3sktkfml3je7juusc2te7xmvsscns0n2wry/wstETH", - "coinDecimals": 18, - "cosmos": { - "gasPriceStep": { - "low": 2903231.6597, - "average": 2903231.6597, - "high": 2903231.6597 - } - } - }, - { - "coinDenom": "DYDX", - "coinMinimalDenom": "ibc/2CB87BCE0937B1D1DFCEE79BE4501AAF3C265E923509AEAC410AD85D27F35130", - "coinDecimals": 18, - "cosmos": { - "gasPriceStep": { - "low": 2564102564.1026, - "average": 2564102564.1026, - "high": 2564102564.1026 - } - } - }, - { - "coinDenom": "TIA", - "coinMinimalDenom": "ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7", - "coinDecimals": 6, - "cosmos": { - "gasPriceStep": { - "low": 0.0004, - "average": 0.0004, - "high": 0.0004 - } - } - }, - { - "coinDenom": "stATOM", - "coinMinimalDenom": "ibc/B7864B03E1B9FD4F049243E92ABD691586F682137037A9F3FCA5222815620B3C", - "coinDecimals": 6, - "cosmos": { - "gasPriceStep": { - "low": 0.0006, - "average": 0.0006, - "high": 0.0006 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/osmosis.json b/src/config/json/osmosis.json index 689bdda3..447fb7b0 100644 --- a/src/config/json/osmosis.json +++ b/src/config/json/osmosis.json @@ -39,8 +39,15 @@ "coinMinimalDenom": "uosmo", "coinDecimals": 6, "coinGeckoId": "osmosis", + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png", "cosmos": { + "gasPriceStep": { + "low": 0.0025, + "average": 0.025, + "high": 0.04 + }, "minimalDenom": "uosmo" }, "polkadot": {}, @@ -71,21 +78,5 @@ "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "OSMO", - "coinMinimalDenom": "uosmo", - "coinDecimals": 6, - "coinGeckoId": "osmosis", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/uosmo.png", - "cosmos": { - "gasPriceStep": { - "low": 0.0025, - "average": 0.025, - "high": 0.04 - } - } - } ] } diff --git a/src/config/json/quicksilver.json b/src/config/json/quicksilver.json index fb46a544..63d39b55 100644 --- a/src/config/json/quicksilver.json +++ b/src/config/json/quicksilver.json @@ -24,40 +24,28 @@ "94": { "chainId": "centauri-1", "destinationId": 9, - "tokens": [ - "QCK" - ] + "tokens": ["QCK"] } }, "currencies": [ { "coinDenom": "QCK", + "isCoin": true, "coinMinimalDenom": "uqck", "coinDecimals": 6, "coinGeckoId": "quicksilver", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/quicksilver/uqck.png", "cosmos": { + "gasPriceStep": { + "low": 0.0001, + "average": 0.0001, + "high": 0.00025 + }, "minimalDenom": "uqck" }, "polkadot": {}, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "QCK", - "coinMinimalDenom": "uqck", - "coinDecimals": 6, - "coinGeckoId": "quicksilver", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/quicksilver/uqck.png", - "cosmos": { - "gasPriceStep": { - "low": 0.0001, - "average": 0.0001, - "high": 0.00025 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/secretnetwork.json b/src/config/json/secretnetwork.json index bff7ec91..d495720b 100644 --- a/src/config/json/secretnetwork.json +++ b/src/config/json/secretnetwork.json @@ -30,11 +30,7 @@ "80": { "chainId": "centauri-1", "destinationId": 14, - "tokens": [ - "SCRT", - "SILK", - "SHD" - ] + "tokens": ["SCRT", "SILK", "SHD"] } }, "currencies": [ @@ -43,6 +39,12 @@ "coinMinimalDenom": "uscrt", "coinDecimals": 6, "coinGeckoId": "secret", + "isCoin": true, + "gasPriceStep": { + "low": 0.05, + "average": 0.1, + "high": 0.25 + }, "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png", "cosmos": { "minimalDenom": "uscrt" @@ -127,4 +129,4 @@ } } ] -} \ No newline at end of file +} diff --git a/src/config/json/sei.json b/src/config/json/sei.json index e9cefee5..e643dc5e 100644 --- a/src/config/json/sei.json +++ b/src/config/json/sei.json @@ -23,10 +23,7 @@ "0": { "chainId": "osmosis-1", "destinationId": 782, - "tokens": [ - "UOSMO", - "USEI" - ] + "tokens": ["UOSMO", "USEI"] } }, "currencies": [ @@ -34,8 +31,15 @@ "coinDenom": "SEI", "coinMinimalDenom": "usei", "coinDecimals": 6, + "isCoin": true, + "coinGeckoId": "sei-network", "cosmos": { + "gasPriceStep": { + "low": 0.1, + "average": 0.2, + "high": 0.3 + }, "minimalDenom": "usei" }, "polkadot": { @@ -55,20 +59,5 @@ "displayDecimals": 6 } } - ], - "feeCurrencies": [ - { - "coinDenom": "SEI", - "coinMinimalDenom": "usei", - "coinDecimals": 6, - "coinGeckoId": "sei-network", - "cosmos": { - "gasPriceStep": { - "low": 0.1, - "average": 0.2, - "high": 0.3 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/solana.json b/src/config/json/solana.json index 6b9bf65c..889a7d53 100644 --- a/src/config/json/solana.json +++ b/src/config/json/solana.json @@ -66,6 +66,7 @@ "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/sol.svg", "coinDecimals": 9, "coinDenom": "SOL", + "isCoin": true, "coinGeckoId": "solana", "cosmos": { "minimalDenom": "SOL" @@ -496,13 +497,5 @@ "displayDecimals": 6 } } - ], - "feeCurrencies": [ - { - "coinDenom": "SOL", - "coinMinimalDenom": "sol", - "coinDecimals": 9, - "coinGeckoId": "solana" - } ] } diff --git a/src/config/json/stargaze.json b/src/config/json/stargaze.json index 398a0db2..19cbf8d1 100644 --- a/src/config/json/stargaze.json +++ b/src/config/json/stargaze.json @@ -25,9 +25,7 @@ "184": { "chainId": "centauri-1", "destinationId": 6, - "tokens": [ - "STARS" - ] + "tokens": ["STARS"] } }, "currencies": [ @@ -35,9 +33,16 @@ "coinDenom": "STARS", "coinMinimalDenom": "ustars", "coinDecimals": 6, + "isCoin": true, + "coinGeckoId": "stargaze", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/ustars.png", "cosmos": { + "gasPriceStep": { + "low": 1, + "average": 1.1, + "high": 1.2 + }, "minimalDenom": "ustars" }, "polkadot": {}, @@ -72,4 +77,4 @@ } } ] -} \ No newline at end of file +} diff --git a/src/config/json/stride.json b/src/config/json/stride.json index b58455ec..248b7111 100644 --- a/src/config/json/stride.json +++ b/src/config/json/stride.json @@ -11,6 +11,7 @@ "bip44": { "coinType": 118 }, + "bech32Config": { "bech32PrefixAccAddr": "stride", "bech32PrefixAccPub": "stridepub", @@ -25,10 +26,7 @@ "134": { "chainId": "centauri-1", "destinationId": 5, - "tokens": [ - "STRD", - "stATOM" - ] + "tokens": ["STRD", "stATOM"] } }, "currencies": [ @@ -52,8 +50,15 @@ "coinGeckoId": "stride", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png", "cosmos": { - "minimalDenom": "ustrd" + "minimalDenom": "ustrd", + "gasPriceStep": { + "low": 0.005, + "average": 0.005, + "high": 0.05 + } }, + "isCoin": true, + "polkadot": {}, "ethereum": { "minimalDenom": "transfer/channel-2/transfer/channel-5/ustrd", @@ -93,226 +98,5 @@ "displayDecimals": 6 } } - ], - "feeCurrencies": [ - { - "coinDenom": "STRD", - "coinMinimalDenom": "ustrd", - "coinDecimals": 6, - "coinGeckoId": "stride", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png", - "cosmos": { - "gasPriceStep": { - "low": 0.005, - "average": 0.005, - "high": 0.05 - } - } - }, - { - "coinDenom": "ATOM", - "coinMinimalDenom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2", - "coinDecimals": 6, - "coinGeckoId": "cosmos", - "cosmos": { - "gasPriceStep": { - "low": 0.0001, - "average": 0.001, - "high": 0.01 - } - } - }, - { - "coinDenom": "OSMO", - "coinMinimalDenom": "ibc/D24B4564BCD51D3D02D9987D92571EAC5915676A9BD6D9B0C1D0254CB8A5EA34", - "coinDecimals": 6, - "coinGeckoId": "osmosis", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/uosmo.png", - "cosmos": { - "gasPriceStep": { - "low": 0.001, - "average": 0.01, - "high": 0.1 - } - } - }, - { - "coinDenom": "stOSMO", - "coinMinimalDenom": "stuosmo", - "coinDecimals": 6, - "coinGeckoId": "stride-staked-osmo", - "cosmos": { - "gasPriceStep": { - "low": 0.001, - "average": 0.01, - "high": 0.1 - } - } - }, - { - "coinDenom": "stATOM", - "coinMinimalDenom": "stuatom", - "coinDecimals": 6, - "coinGeckoId": "stride-staked-atom", - "cosmos": { - "gasPriceStep": { - "low": 0.0001, - "average": 0.001, - "high": 0.01 - } - } - }, - { - "coinDenom": "INJ", - "coinMinimalDenom": "ibc/A7454562FF29FE068F42F9DE4805ABEF54F599D1720B345D6518D9B5C64EA6D2", - "coinDecimals": 18, - "coinGeckoId": "injective-protocol", - "cosmos": { - "gasPriceStep": { - "low": 500000000, - "average": 500000000, - "high": 500000000 - } - } - }, - { - "coinDenom": "stINJ", - "coinMinimalDenom": "stinj", - "coinDecimals": 18, - "coinGeckoId": "stride-staked-injective", - "cosmos": { - "gasPriceStep": { - "low": 500000000, - "average": 500000000, - "high": 500000000 - } - } - }, - { - "coinDenom": "EVMOS", - "coinMinimalDenom": "ibc/4B322204B4F59D770680FE4D7A565DDC3F37BFF035474B717476C66A4F83DD72", - "coinDecimals": 18, - "coinGeckoId": "evmos", - "cosmos": { - "gasPriceStep": { - "low": 20000000000, - "average": 20000000000, - "high": 20000000000 - } - } - }, - { - "coinDenom": "stEVMOS", - "coinMinimalDenom": "staevmos", - "coinDecimals": 18, - "cosmos": { - "gasPriceStep": { - "low": 20000000000, - "average": 20000000000, - "high": 20000000000 - } - } - }, - { - "coinDenom": "TIA", - "coinMinimalDenom": "ibc/BF3B4F53F3694B66E13C23107C84B6485BD2B96296BB7EC680EA77BBA75B4801", - "coinDecimals": 6, - "coinGeckoId": "celestia", - "cosmos": { - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - } - } - }, - { - "coinDenom": "stTIA", - "coinMinimalDenom": "stutia", - "coinDecimals": 6, - "coinGeckoId": "stride-staked-tia", - "cosmos": { - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - } - } - }, - { - "coinDenom": "DYDX", - "coinMinimalDenom": "ibc/561C70B20188A047BFDE6F9946BDDC5D8AC172B9BE04FF868DFABF819E5A9CCE", - "coinDecimals": 18, - "coinGeckoId": "dydx-chain", - "cosmos": { - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 15000000000 - } - } - }, - { - "coinDenom": "stDYDX", - "coinMinimalDenom": "stadydx", - "coinDecimals": 18, - "coinGeckoId": "stride-staked-dydx", - "cosmos": { - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 15000000000 - } - } - }, - { - "coinDenom": "DYM", - "coinMinimalDenom": "ibc/E1C22332C083574F3418481359733BA8887D171E76C80AD9237422AEABB66018", - "coinDecimals": 18, - "coinGeckoId": "dymension", - "cosmos": { - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 50000000000 - } - } - }, - { - "coinDenom": "stDYM", - "coinMinimalDenom": "stadym", - "coinDecimals": 18, - "cosmos": { - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 50000000000 - } - } - }, - { - "coinDenom": "stSAGA", - "coinMinimalDenom": "stusaga", - "coinDecimals": 6, - "cosmos": { - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - } - } - }, - { - "coinDenom": "SAGA", - "coinMinimalDenom": "ibc/520D9C4509027DE66C737A1D6A6021915A3071E30DBA8F758B46532B060D7AA5", - "coinDecimals": 6, - "cosmos": { - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/json/umee.json b/src/config/json/umee.json index 1cec3d43..d05f8e09 100644 --- a/src/config/json/umee.json +++ b/src/config/json/umee.json @@ -25,9 +25,7 @@ "99": { "chainId": "centauri-1", "destinationId": 20, - "tokens": [ - "UMEE" - ] + "tokens": ["UMEE"] } }, "currencies": [ @@ -36,29 +34,20 @@ "coinMinimalDenom": "uumee", "coinDecimals": 6, "coinGeckoId": "umee", + "isCoin": true, + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/uumee.png", "cosmos": { + "gasPriceStep": { + "low": 0.06, + "average": 0.1, + "high": 0.14 + }, "minimalDenom": "uumee" }, "polkadot": {}, "ethereum": {}, "solana": {} } - ], - "feeCurrencies": [ - { - "coinDenom": "UMEE", - "coinMinimalDenom": "uumee", - "coinDecimals": 6, - "coinGeckoId": "umee", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/uumee.png", - "cosmos": { - "gasPriceStep": { - "low": 0.06, - "average": 0.1, - "high": 0.14 - } - } - } ] -} \ No newline at end of file +} diff --git a/src/config/keplrChains.ts b/src/config/keplrChains.ts index a1529866..c811895d 100644 --- a/src/config/keplrChains.ts +++ b/src/config/keplrChains.ts @@ -47,17 +47,6 @@ export const keplrChains :Record= { "high": 0.07 }, "coinMinimalDenom": "ubld" - }, - { - "coinDecimals": 6, - "coinDenom": "IST", - "coinGeckoId": "inter-stable-token", - "gasPriceStep": { - "low": 0.0034, - "average": 0.007, - "high": 0.02 - }, - "coinMinimalDenom": "uist" } ], "rest": "https://agoric-cmp-api.polkachu.com", @@ -267,9 +256,9 @@ export const keplrChains :Record= { "rpc": "https://full-node.mainnet-1.coreum.dev:26657", "stakeCurrency": { "coinDecimals": 6, - "coinDenom": "XRP", - "coinGeckoId": "ripple", - "coinMinimalDenom": "drop-core1zhs909jp9yktml6qqx9f0ptcq2xnhhj99cja03j3lfcsp2pgm86studdrz" + "coinDenom": "CORE", + "coinGeckoId": "coreum", + "coinMinimalDenom": "ucore" } }, "cosmoshub-4": { @@ -363,182 +352,6 @@ export const keplrChains :Record= { "high": 0.03 }, "coinMinimalDenom": "ucre" - }, - { - "coinDecimals": 6, - "coinDenom": "bCRE", - "coinGeckoId": "liquid-staking-crescent", - "gasPriceStep": { - "low": 0.0083, - "average": 0.02075, - "high": 0.0249 - }, - "coinMinimalDenom": "ubcre" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "gasPriceStep": { - "low": 0.000063, - "average": 0.0001575, - "high": 0.000189 - }, - "coinMinimalDenom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" - }, - { - "coinDecimals": 6, - "coinDenom": "USDC.grav", - "coinGeckoId": "usd-coin", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/CD01034D6749F20AAC5330EF4FD8B8CA7C40F7527AB8C4A302FBD2A070852EE1" - }, - { - "coinDecimals": 6, - "coinDenom": "USDC.axl", - "coinGeckoId": "usd-coin", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/BFF0D3805B50D93E2FA5C0B2DDF7E0B30A631076CD80BC12A48C0E95404B4A41" - }, - { - "coinDecimals": 6, - "coinDenom": "IST", - "coinGeckoId": "inter-stable-token", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/CA1261224952DF089EFD363D8DBB30A8AB6D8CD181E60EE9E68E432F8DE14FE3" - }, - { - "coinDecimals": 6, - "coinDenom": "CMST", - "coinGeckoId": "composite", - "gasPriceStep": { - "low": 0.000842, - "average": 0.002105, - "high": 0.002526 - }, - "coinMinimalDenom": "ibc/9EC8A1701813BB7B73BFED2496009ABB2C8BF187E6CDFA788D77F68E08BC05CD" - }, - { - "coinDecimals": 6, - "coinDenom": "JUNO", - "coinGeckoId": "juno-network", - "gasPriceStep": { - "low": 0.000568, - "average": 0.00142, - "high": 0.001704 - }, - "coinMinimalDenom": "ibc/C814F0B662234E24248AE3B2FE2C1B54BBAF12934B757F6E7BC5AEC119963895" - }, - { - "coinDecimals": 6, - "coinDenom": "BLD", - "coinGeckoId": "agoric", - "gasPriceStep": { - "low": 0.002, - "average": 0.005, - "high": 0.006 - }, - "coinMinimalDenom": "ibc/11F940BCDFD7CFBFD7EDA13F25DA95D308286D441209D780C9863FD4271514EB" - }, - { - "coinDecimals": 6, - "coinDenom": "CMDX", - "coinGeckoId": "comdex", - "gasPriceStep": { - "low": 0.008146, - "average": 0.020365, - "high": 0.024438 - }, - "coinMinimalDenom": "ibc/61DF64ADF65230540C14C63D64897BE08A3DC9A516A91425913F01240E2F432F" - }, - { - "coinDecimals": 6, - "coinDenom": "GRAV", - "coinGeckoId": "graviton", - "gasPriceStep": { - "low": 0.065405, - "average": 0.1635125, - "high": 0.196215 - }, - "coinMinimalDenom": "ibc/C950356239AD2A205DE09FDF066B1F9FF19A7CA7145EA48A5B19B76EE47E52F7" - }, - { - "coinDecimals": 18, - "coinDenom": "INJ", - "coinGeckoId": "injective-protocol", - "gasPriceStep": { - "low": 3350000000, - "average": 8375000000, - "high": 10050000000 - }, - "coinMinimalDenom": "ibc/5A76568E079A31FA12165E4559BA9F1E9D4C97F9C2060B538C84DCD503815E30" - }, - { - "coinDecimals": 6, - "coinDenom": "LUNA", - "coinGeckoId": "terra-luna-2", - "gasPriceStep": { - "low": 0.0004, - "average": 0.001, - "high": 0.0012 - }, - "coinMinimalDenom": "ibc/8F865D9760B482FF6254EDFEC1FF2F1273B9AB6873A7DE484F89639795D73D75" - }, - { - "coinDecimals": 6, - "coinDenom": "LUNC", - "coinGeckoId": "terra-luna", - "gasPriceStep": { - "low": 5, - "average": 12.5, - "high": 15 - }, - "coinMinimalDenom": "ibc/4627AD2524E3E0523047E35BB76CC90E37D9D57ACF14F0FCBCEB2480705F3CB8" - }, - { - "coinDecimals": 6, - "coinDenom": "stATOM", - "coinGeckoId": "stride-staked-atom", - "gasPriceStep": { - "low": 0.00006, - "average": 0.00015, - "high": 0.00018 - }, - "coinMinimalDenom": "ibc/D64F87FAE0B35C1954DD7921BA7A2939705DE77CBF72B8002F2E3552EDE4DE52" - }, - { - "coinDecimals": 18, - "coinDenom": "OKT", - "coinGeckoId": "oec-token", - "gasPriceStep": { - "low": 200000000, - "average": 500000000, - "high": 600000000 - }, - "coinMinimalDenom": "ibc/764D1629980B02BAFF3D25BEE4FB1E0C5E350AFA252FDF66E68E10D2179A826A" - }, - { - "coinDecimals": 6, - "coinDenom": "AXL", - "coinGeckoId": "axelar", - "gasPriceStep": { - "low": 0.0014, - "average": 0.0035, - "high": 0.0042 - }, - "coinMinimalDenom": "ibc/0634D0993744740D675AD01E81156EAC945AEAAE17C074918DC7FF52F41B263E" } ], "rest": "https://crescent-cmp-api.polkachu.com", @@ -632,72 +445,6 @@ export const keplrChains :Record= { "coinGeckoId": "kujira", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kaiyo/ukuji.png", "coinMinimalDenom": "ukuji" - }, - { - "coinDecimals": 6, - "coinDenom": "USK", - "coinGeckoId": "usk", - "coinMinimalDenom": "factory/kujira1qk00h5atutpsv900x202pxx42npjr9thg58dnqpa72f2p7m2luase444a7/uusk" - }, - { - "coinDecimals": 6, - "coinDenom": "axlUSDC", - "coinGeckoId": "usd-coin", - "coinMinimalDenom": "ibc/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "coinMinimalDenom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2" - }, - { - "coinDecimals": 6, - "coinDenom": "OSMO", - "coinGeckoId": "osmosis", - "coinMinimalDenom": "ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" - }, - { - "coinDecimals": 6, - "coinDenom": "CMDX", - "coinGeckoId": "comdex", - "coinMinimalDenom": "ibc/3607EB5B5E64DD1C0E12E07F077FF470D5BC4706AFCBC98FE1BA960E5AE4CE07" - }, - { - "coinDecimals": 6, - "coinDenom": "EVMOS", - "coinGeckoId": "evmos", - "coinMinimalDenom": "ibc/F3AA7EF362EC5E791FE78A0F4CCC69FEE1F9A7485EB1A8CAB3F6601C00522F10" - }, - { - "coinDecimals": 6, - "coinDenom": "JUNO", - "coinGeckoId": "juno-network", - "coinMinimalDenom": "ibc/EFF323CC632EC4F747C61BCE238A758EFDB7699C3226565F7C20DA06509D59A5" - }, - { - "coinDecimals": 6, - "coinDenom": "SCRT", - "coinGeckoId": "secret", - "coinMinimalDenom": "ibc/A358D7F19237777AF6D8AD0E0F53268F8B18AE8A53ED318095C14D6D7F3B2DB5" - }, - { - "coinDecimals": 6, - "coinDenom": "STARS", - "coinGeckoId": "stargaze", - "coinMinimalDenom": "ibc/4F393C3FCA4190C0A6756CE7F6D897D5D1BE57D6CCB80D0BC87393566A7B6602" - }, - { - "coinDecimals": 18, - "coinDenom": "wAVAX", - "coinGeckoId": "avalanche-2", - "coinMinimalDenom": "ibc/004EBF085BBED1029326D56BE8A2E67C08CECE670A94AC1947DF413EF5130EB2" - }, - { - "coinDecimals": 18, - "coinDenom": "wETH", - "coinGeckoId": "ethereum", - "coinMinimalDenom": "ibc/1B38805B1C75352B28169284F96DF56BDEBD9E8FAC005BDCC8CF0378C82AA8E7" } ], "rest": "https://kujira-api.polkachu.com", @@ -747,82 +494,23 @@ export const keplrChains :Record= { "coinDecimals": 6, "coinDenom": "NTRN", "coinGeckoId": "neutron-3", - "gasPriceStep": { - "low": 0.0053, - "average": 0.0053, - "high": 0.0053 - }, - "coinMinimalDenom": "untrn" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png", "gasPriceStep": { "low": 0.0008, "average": 0.0008, "high": 0.0008 }, - "coinMinimalDenom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" - }, - { - "coinDecimals": 6, - "coinDenom": "USDC", - "gasPriceStep": { - "low": 0.008, - "average": 0.008, - "high": 0.008 - }, - "coinMinimalDenom": "ibc/F082B65C88E4B6D5EF1DB243CDA1D331D002759E938A0F5CD3FFDC5D53B3E349" - }, - { - "coinDecimals": 18, - "coinDenom": "wstETH", - "gasPriceStep": { - "low": 2903231.6597, - "average": 2903231.6597, - "high": 2903231.6597 - }, - "coinMinimalDenom": "factory/neutron1ug740qrkquxzrk2hh29qrlx3sktkfml3je7juusc2te7xmvsscns0n2wry/wstETH" - }, - { - "coinDecimals": 18, - "coinDenom": "DYDX", - "gasPriceStep": { - "low": 2564102564.1026, - "average": 2564102564.1026, - "high": 2564102564.1026 - }, - "coinMinimalDenom": "ibc/2CB87BCE0937B1D1DFCEE79BE4501AAF3C265E923509AEAC410AD85D27F35130" - }, - { - "coinDecimals": 6, - "coinDenom": "TIA", - "gasPriceStep": { - "low": 0.0004, - "average": 0.0004, - "high": 0.0004 - }, - "coinMinimalDenom": "ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7" - }, - { - "coinDecimals": 6, - "coinDenom": "stATOM", - "gasPriceStep": { - "low": 0.0006, - "average": 0.0006, - "high": 0.0006 - }, - "coinMinimalDenom": "ibc/B7864B03E1B9FD4F049243E92ABD691586F682137037A9F3FCA5222815620B3C" + "coinMinimalDenom": "untrn" } ], "rest": "https://neutron-cmp-api.polkachu.com", "rpc": "https://neutron-cmp-rpc.polkachu.com", "stakeCurrency": { "coinDecimals": 6, - "coinDenom": "ASTRO", - "coinGeckoId": "astroport-fi", - "coinMinimalDenom": "factory/neutron1ffus553eet978k024lmssw0czsxwr97mggyv85lpcsdkft8v9ufsz3sa07/astro", - "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/astro.svg" + "coinDenom": "NTRN", + "coinGeckoId": "neutron-3", + "coinMinimalDenom": "untrn", + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/neutron/untrn.png" } }, "quicksilver-2": { @@ -920,11 +608,6 @@ export const keplrChains :Record= { "coinDenom": "SCRT", "coinGeckoId": "secret", "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/uscrt.png", - "gasPriceStep": { - "low": 0.05, - "average": 0.1, - "high": 0.25 - }, "coinMinimalDenom": "uscrt" } ], @@ -1086,189 +769,16 @@ export const keplrChains :Record= { "high": 0.05 }, "coinMinimalDenom": "ustrd" - }, - { - "coinDecimals": 6, - "coinDenom": "ATOM", - "coinGeckoId": "cosmos", - "gasPriceStep": { - "low": 0.0001, - "average": 0.001, - "high": 0.01 - }, - "coinMinimalDenom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2" - }, - { - "coinDecimals": 6, - "coinDenom": "OSMO", - "coinGeckoId": "osmosis", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/uosmo.png", - "gasPriceStep": { - "low": 0.001, - "average": 0.01, - "high": 0.1 - }, - "coinMinimalDenom": "ibc/D24B4564BCD51D3D02D9987D92571EAC5915676A9BD6D9B0C1D0254CB8A5EA34" - }, - { - "coinDecimals": 6, - "coinDenom": "stOSMO", - "coinGeckoId": "stride-staked-osmo", - "gasPriceStep": { - "low": 0.001, - "average": 0.01, - "high": 0.1 - }, - "coinMinimalDenom": "stuosmo" - }, - { - "coinDecimals": 6, - "coinDenom": "stATOM", - "coinGeckoId": "stride-staked-atom", - "gasPriceStep": { - "low": 0.0001, - "average": 0.001, - "high": 0.01 - }, - "coinMinimalDenom": "stuatom" - }, - { - "coinDecimals": 18, - "coinDenom": "INJ", - "coinGeckoId": "injective-protocol", - "gasPriceStep": { - "low": 500000000, - "average": 500000000, - "high": 500000000 - }, - "coinMinimalDenom": "ibc/A7454562FF29FE068F42F9DE4805ABEF54F599D1720B345D6518D9B5C64EA6D2" - }, - { - "coinDecimals": 18, - "coinDenom": "stINJ", - "coinGeckoId": "stride-staked-injective", - "gasPriceStep": { - "low": 500000000, - "average": 500000000, - "high": 500000000 - }, - "coinMinimalDenom": "stinj" - }, - { - "coinDecimals": 18, - "coinDenom": "EVMOS", - "coinGeckoId": "evmos", - "gasPriceStep": { - "low": 20000000000, - "average": 20000000000, - "high": 20000000000 - }, - "coinMinimalDenom": "ibc/4B322204B4F59D770680FE4D7A565DDC3F37BFF035474B717476C66A4F83DD72" - }, - { - "coinDecimals": 18, - "coinDenom": "stEVMOS", - "gasPriceStep": { - "low": 20000000000, - "average": 20000000000, - "high": 20000000000 - }, - "coinMinimalDenom": "staevmos" - }, - { - "coinDecimals": 6, - "coinDenom": "TIA", - "coinGeckoId": "celestia", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "ibc/BF3B4F53F3694B66E13C23107C84B6485BD2B96296BB7EC680EA77BBA75B4801" - }, - { - "coinDecimals": 6, - "coinDenom": "stTIA", - "coinGeckoId": "stride-staked-tia", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "stutia" - }, - { - "coinDecimals": 18, - "coinDenom": "DYDX", - "coinGeckoId": "dydx-chain", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 15000000000 - }, - "coinMinimalDenom": "ibc/561C70B20188A047BFDE6F9946BDDC5D8AC172B9BE04FF868DFABF819E5A9CCE" - }, - { - "coinDecimals": 18, - "coinDenom": "stDYDX", - "coinGeckoId": "stride-staked-dydx", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 15000000000 - }, - "coinMinimalDenom": "stadydx" - }, - { - "coinDecimals": 18, - "coinDenom": "DYM", - "coinGeckoId": "dymension", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 50000000000 - }, - "coinMinimalDenom": "ibc/E1C22332C083574F3418481359733BA8887D171E76C80AD9237422AEABB66018" - }, - { - "coinDecimals": 18, - "coinDenom": "stDYM", - "gasPriceStep": { - "low": 15000000000, - "average": 15000000000, - "high": 50000000000 - }, - "coinMinimalDenom": "stadym" - }, - { - "coinDecimals": 6, - "coinDenom": "stSAGA", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "stusaga" - }, - { - "coinDecimals": 6, - "coinDenom": "SAGA", - "gasPriceStep": { - "low": 0.01, - "average": 0.01, - "high": 0.01 - }, - "coinMinimalDenom": "ibc/520D9C4509027DE66C737A1D6A6021915A3071E30DBA8F758B46532B060D7AA5" } ], "rest": "https://stride-cmp-api.polkachu.com", "rpc": "https://stride-cmp-rpc.polkachu.com", "stakeCurrency": { "coinDecimals": 6, - "coinDenom": "stTIA", - "coinGeckoId": "stride-staked-tia", - "coinMinimalDenom": "stutia", - "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/sttia.png" + "coinDenom": "STRD", + "coinGeckoId": "stride", + "coinMinimalDenom": "ustrd", + "coinImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/ustrd.png" }, "walletUrlForStaking": "https://wallet.keplr.app/chains/stride" }, @@ -1351,7 +861,8 @@ export const keplrChains :Record= { { "coinDecimals": 12, "coinDenom": "PICA", - "coinGeckoId": "unknown", + "coinGeckoId": "picasso", + "coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/PICA.svg", "gasPriceStep": { "low": 0, "average": 0, diff --git a/src/config/multihopRoute.ts b/src/config/multihopRoute.ts new file mode 100644 index 00000000..83b95287 --- /dev/null +++ b/src/config/multihopRoute.ts @@ -0,0 +1,630 @@ + + // [GENERATED] + import { MultihopRoutePath } from "../chains/polkadot/types"; + + + export const multihopRoute :MultihopRoutePath[]= [ + { + "fromChainId": "polkadot", + "toChainId": "crescent-1", + "paraChain": "2019", + "index": 5, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "crescent-1", + "order": 3, + "channelId": 11, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "injective-1", + "paraChain": "2019", + "index": 16, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "injective-1", + "order": 3, + "channelId": 29, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "2087", + "paraChain": "2019", + "index": 9, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "osmosis-1", + "paraChain": "2019", + "index": 1, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "neutron-1", + "paraChain": "2019", + "index": 3, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "neutron-1", + "order": 3, + "channelId": 18, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "centauri-1", + "paraChain": "2019", + "index": 10, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "umee-1", + "paraChain": "2019", + "index": 7, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "umee-1", + "order": 3, + "channelId": 20, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "kaiyo-1", + "paraChain": "2019", + "index": 17, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "kaiyo-1", + "order": 3, + "channelId": 27, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "pacific-1", + "paraChain": "2019", + "index": 13, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "pacific-1", + "order": 4, + "channelId": 782, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "agoric-3", + "paraChain": "2019", + "index": 15, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "agoric-3", + "order": 3, + "channelId": 13, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "polkadot", + "toChainId": "secret-4", + "paraChain": "2019", + "index": 14, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "secret-4", + "order": 3, + "channelId": 14, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "osmosis-1", + "index": 1, + "paths": [ + { + "chainId": "2087", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + }, + { + "chainId": "centauri-1", + "order": 2, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 3, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "umee-1", + "index": 8, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "umee-1", + "order": 2, + "channelId": 20, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "2019", + "index": 12, + "paths": [ + { + "chainId": "2019", + "order": 1, + "channelId": 15, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "SubstrateIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "osmosis-1", + "index": 2, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "osmosis-1", + "order": 2, + "channelId": 3, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "crescent-1", + "index": 6, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "crescent-1", + "order": 2, + "channelId": 11, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "neutron-1", + "index": 4, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + }, + { + "chainId": "neutron-1", + "order": 2, + "channelId": 18, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + }, + { + "fromChainId": "kusama", + "toChainId": "centauri-1", + "index": 11, + "paths": [ + { + "chainId": "centauri-1", + "order": 1, + "channelId": 17, + "timestamp": 1000, + "height": 1000, + "retries": 0, + "timeout": 6000000000000, + "chainHop": "CosmosIbc", + "paraId": null + } + ] + } +] ; + + \ No newline at end of file diff --git a/src/config/networks.ts b/src/config/networks.ts index 1660feca..aee682ef 100644 --- a/src/config/networks.ts +++ b/src/config/networks.ts @@ -9,7 +9,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "1000", - "feeAssetId": "USDT Kusama", + "feeAssetId": "130", "polkadot": { "ss58Format": 2, "isParachain": true, @@ -37,7 +37,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2001", - "feeAssetId": "BNC_KSM", + "feeAssetId": "31", "polkadot": { "ss58Format": 6, "isParachain": true, @@ -66,7 +66,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2004", - "feeAssetId": "GLMR", + "feeAssetId": "79228162514264337593543950376", "polkadot": { "ss58Format": 0, "isParachain": true, @@ -94,7 +94,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2006", - "feeAssetId": "ASTR", + "feeAssetId": "79228162514264337593543952342", "polkadot": { "ss58Format": 5, "isParachain": true, @@ -122,7 +122,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2007", - "feeAssetId": "SDN", + "feeAssetId": "2007", "polkadot": { "ss58Format": 5, "isParachain": true, @@ -150,7 +150,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2019", - "feeAssetId": "DOT", + "feeAssetId": "", "polkadot": { "ss58Format": 50, "isParachain": true, @@ -198,7 +198,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2023", - "feeAssetId": "MOVR", + "feeAssetId": "23", "polkadot": { "ss58Format": 0, "isParachain": true, @@ -226,7 +226,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2030", - "feeAssetId": "BNC_DOT", + "feeAssetId": "79228162514264337593543950369", "polkadot": { "ss58Format": 6, "isParachain": true, @@ -255,7 +255,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2087", - "feeAssetId": "USDT Kusama", + "feeAssetId": "79228162514264337593543950337", "polkadot": { "ss58Format": 49, "isParachain": true, @@ -306,34 +306,6 @@ import { NetworkInfo } from './types'; "centauri-1" ] }, - "2124": { - "name": "amplitude", - "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/amplitude.svg", - "rpc": "wss://rpc-amplitude.pendulumchain.tech", - "rest": "", - "chainType": "polkadot", - "chainId": "2124", - "feeAssetId": "", - "polkadot": { - "ss58Format": 56, - "isParachain": true, - "relayChain": "polkadot", - "hops": { - "2019": { - "type": "XCM", - "xcmType": "xTokens.transfer", - "version": "V2", - "tokens": [ - "0000" - ] - } - } - }, - "enabled": true, - "network_to": [ - "2019" - ] - }, "2125": { "name": "Tinkernet", "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/tinkernet.svg", @@ -341,7 +313,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "2125", - "feeAssetId": "TNKR", + "feeAssetId": "2125", "polkadot": { "ss58Format": 117, "isParachain": true, @@ -369,7 +341,7 @@ import { NetworkInfo } from './types'; "rest": "https://agoric-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "agoric-3", - "feeAssetId": "BLD", + "feeAssetId": "ubld", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/agoric", "walletUrlForStaking": "https://wallet.keplr.app/chains/agoric", @@ -402,7 +374,7 @@ import { NetworkInfo } from './types'; "rest": "https://api.mainnet.archway.io", "chainType": "cosmos", "chainId": "archway-1", - "feeAssetId": "ARCH", + "feeAssetId": "aarch", "cosmos": { "bech32Config": { "bech32PrefixAccAddr": "archway", @@ -428,7 +400,7 @@ import { NetworkInfo } from './types'; "rest": "https://api.celestia.nodestake.top", "chainType": "cosmos", "chainId": "celestia", - "feeAssetId": "TIA", + "feeAssetId": "utia", "cosmos": { "bech32Config": { "bech32PrefixAccAddr": "celestia", @@ -455,7 +427,7 @@ import { NetworkInfo } from './types'; "rest": "https://chihuahua-api.polkachu.com", "chainType": "cosmos", "chainId": "chihuahua-1", - "feeAssetId": "HUAHUA", + "feeAssetId": "uhuahua", "cosmos": { "bip44": { "coinType": 118 @@ -482,7 +454,7 @@ import { NetworkInfo } from './types'; "rest": "https://rest-coreum.ecostake.com", "chainType": "cosmos", "chainId": "coreum-mainnet-1", - "feeAssetId": "XRP", + "feeAssetId": "ucore", "cosmos": { "bip44": { "coinType": 990 @@ -508,7 +480,7 @@ import { NetworkInfo } from './types'; "rest": "https://cosmos-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "cosmoshub-4", - "feeAssetId": "ATOM", + "feeAssetId": "uatom", "cosmos": { "bech32Config": { "bech32PrefixAccAddr": "cosmos", @@ -535,7 +507,7 @@ import { NetworkInfo } from './types'; "rest": "https://crescent-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "crescent-1", - "feeAssetId": "CRE", + "feeAssetId": "ucre", "cosmos": { "walletUrl": "https://app.crescent.network/", "walletUrlForStaking": "https://app.crescent.network/staking", @@ -556,19 +528,6 @@ import { NetworkInfo } from './types'; "centauri-1" ] }, - "ethereum": { - "name": "Ethereum", - "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ethereum.svg", - "rpc": "https://mainnet.infura.io/v3/a5d75c55a92a4e01b089047f19cc6bdd", - "rest": "", - "chainType": "ethereum", - "chainId": "ethereum", - "feeAssetId": "ETH", - "enabled": true, - "network_to": [ - "centauri-1" - ] - }, "injective-1": { "name": "Injective", "image": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/injective/chain.png", @@ -576,7 +535,7 @@ import { NetworkInfo } from './types'; "rest": "https://injective-api.polkachu.com", "chainType": "cosmos", "chainId": "injective-1", - "feeAssetId": "INJ", + "feeAssetId": "inj", "cosmos": { "bech32Config": { "bech32PrefixAccPub": "injpub", @@ -602,7 +561,7 @@ import { NetworkInfo } from './types'; "rest": "https://kujira-api.polkachu.com", "chainType": "cosmos", "chainId": "kaiyo-1", - "feeAssetId": "KUJI", + "feeAssetId": "ukuji", "cosmos": { "bip44": { "coinType": 118 @@ -628,7 +587,7 @@ import { NetworkInfo } from './types'; "rest": "https://neutron-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "neutron-1", - "feeAssetId": "ASTRO", + "feeAssetId": "untrn", "cosmos": { "bip44": { "coinType": 118 @@ -654,7 +613,7 @@ import { NetworkInfo } from './types'; "rest": "https://quicksilver-api.polkachu.com", "chainType": "cosmos", "chainId": "quicksilver-2", - "feeAssetId": "QCK", + "feeAssetId": "uqck", "cosmos": { "walletUrlForStaking": "https://wallet.keplr.app/chains/quicksilver", "bip44": { @@ -681,7 +640,7 @@ import { NetworkInfo } from './types'; "rest": "https://lcd.mainnet.secretsaturn.net", "chainType": "cosmos", "chainId": "secret-4", - "feeAssetId": "SCRT", + "feeAssetId": "uscrt", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/secret-network", "walletUrlForStaking": "https://wallet.keplr.app/chains/secret-network", @@ -714,7 +673,7 @@ import { NetworkInfo } from './types'; "rest": "https://sei-api.polkachu.com", "chainType": "cosmos", "chainId": "pacific-1", - "feeAssetId": "SEI", + "feeAssetId": "usei", "cosmos": { "bip44": { "coinType": 118 @@ -740,7 +699,7 @@ import { NetworkInfo } from './types'; "rest": "https://stargaze-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "stargaze-1", - "feeAssetId": "STARS", + "feeAssetId": "ustars", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/stargaze", "walletUrlForStaking": "https://wallet.keplr.app/chains/stargaze", @@ -768,7 +727,7 @@ import { NetworkInfo } from './types'; "rest": "https://stride-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "stride-1", - "feeAssetId": "stTIA", + "feeAssetId": "ustrd", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/stride", "walletUrlForStaking": "https://wallet.keplr.app/chains/stride", @@ -796,7 +755,7 @@ import { NetworkInfo } from './types'; "rest": "https://umee-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "umee-1", - "feeAssetId": "UMEE", + "feeAssetId": "uumee", "cosmos": { "walletUrl": "https://wallet.keplr.app/chains/umee", "walletUrlForStaking": "https://wallet.keplr.app/chains/umee", @@ -824,7 +783,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "kusama", - "feeAssetId": "KSM", + "feeAssetId": "4", "polkadot": { "ss58Format": 2, "isParachain": false, @@ -852,7 +811,7 @@ import { NetworkInfo } from './types'; "rest": "", "chainType": "polkadot", "chainId": "polkadot", - "feeAssetId": "KSM", + "feeAssetId": "79228162514264337593543950342", "polkadot": { "ss58Format": 0, "isParachain": false, @@ -880,7 +839,7 @@ import { NetworkInfo } from './types'; "rest": "https://picasso-api.polkachu.com", "chainType": "cosmos", "chainId": "centauri-1", - "feeAssetId": "PICA", + "feeAssetId": "ppica", "cosmos": { "bip44": { "coinType": 118 @@ -925,7 +884,7 @@ import { NetworkInfo } from './types'; "rest": "https://osmosis-cmp-api.polkachu.com", "chainType": "cosmos", "chainId": "osmosis-1", - "feeAssetId": "OSMO", + "feeAssetId": "uosmo", "cosmos": { "walletUrl": "https://app.osmosis.zone", "walletUrlForStaking": "https://wallet.keplr.app/chains/osmosis", @@ -947,6 +906,19 @@ import { NetworkInfo } from './types'; "centauri-1" ] }, + "ethereum": { + "name": "Ethereum", + "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/ethereum.svg", + "rpc": "https://mainnet.infura.io/v3/a5d75c55a92a4e01b089047f19cc6bdd", + "rest": "", + "chainType": "ethereum", + "chainId": "ethereum", + "feeAssetId": "ETH", + "enabled": true, + "network_to": [ + "centauri-1" + ] + }, "solana": { "name": "Solana", "image": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/solana.svg", diff --git a/src/config/picassoAssets.ts b/src/config/picassoAssets.ts new file mode 100644 index 00000000..a9e0d5a4 --- /dev/null +++ b/src/config/picassoAssets.ts @@ -0,0 +1,1040 @@ +const picassoAssets = [ + { + name: 'USDT', + symbol: [85, 83, 68, 84], + id: '79228162514264337593543950485', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'Equilibrium USD', + symbol: [69, 81, 68], + id: '79228162514264337593543950463', + decimals: 9, + ratio: { + n: '2', + d: '100000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '79228162514264337593543950369', + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '79228162514264337593543952342', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'Equilibrium', + symbol: [69, 81], + id: '79228162514264337593543952347', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '79228162514264337593543950342', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '79228162514264337593543950370', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '79228162514264337593543950351', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '79228162514264337593543950486', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USDT', + symbol: [85, 83, 68, 84], + id: '149', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950485', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USK', + symbol: [85, 83, 75], + id: '26', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'uusk', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'SEI', + symbol: [83, 69, 73], + id: '35', + decimals: 6, + ratio: { + n: '143', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: + 'transfer/channel-17/transfer/channel-3/transfer/channel-782', + base_denom: 'usei', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.276379', + }, + { + name: 'SILK', + symbol: [83, 73, 76, 75], + id: '16', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-26', + base_denom: 'cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.11', + }, + { + name: 'QCK', + symbol: [81, 67, 75], + id: '29', + decimals: 6, + ratio: { + n: '1', + d: '30', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-9', + base_denom: 'uqck', + }, + }, + existential_deposit: '333300', + existentialDeposit: '333300', + exchangeRate: '0.00823899', + }, + { + name: 'MOVR', + symbol: [77, 79, 86, 82], + id: '23', + decimals: 18, + ratio: { + n: '40900', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2023', + }, + { + PalletInstance: '10', + }, + ], + }, + }, + }, + }, + existential_deposit: '4100000000000000', + existentialDeposit: '4100000000000000', + exchangeRate: '8.81', + }, + { + name: 'USDT Kusama', + symbol: [85, 83, 68, 84, 32, 75, 117, 115, 97, 109, 97], + id: '130', + decimals: 6, + ratio: { + n: '2', + d: '10000000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '1000', + }, + { + PalletInstance: '50', + }, + { + GeneralIndex: '1984', + }, + ], + }, + }, + }, + }, + existential_deposit: '1500', + existentialDeposit: '1500', + exchangeRate: '1', + }, + { + name: 'STRD', + symbol: [83, 84, 82, 68], + id: '9', + decimals: 6, + ratio: { + n: '18', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'ustrd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '0.640319', + }, + { + name: 'PICA', + symbol: [80, 73, 67, 65], + id: '1', + decimals: 12, + ratio: null, + foreign_id: null, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + exchangeRate: '0.00051113', + }, + { + name: 'BNC_KSM', + symbol: [66, 78, 67, 32, 75, 117, 115, 97, 109, 97], + id: '31', + decimals: 12, + ratio: { + n: '11', + d: '10', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '11000000000', + existentialDeposit: '11000000000', + exchangeRate: '0.188741', + }, + { + name: 'SDN', + symbol: [83, 68, 110], + id: '2007', + decimals: 18, + ratio: { + n: '1000000', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2007', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: '0.129428', + }, + { + name: 'BLD', + symbol: [66, 76, 68], + id: '18', + decimals: 6, + ratio: { + n: '12', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'ubld', + }, + }, + existential_deposit: '120000', + existentialDeposit: '120000', + exchangeRate: '0.054234', + }, + { + name: 'Equilibrium USD', + symbol: [69, 81, 68], + id: '127', + decimals: 9, + ratio: { + n: '2', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950463', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'Liquid Staked Kusama', + symbol: [108, 115, 75, 83, 77], + id: '20', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: null, + existential_deposit: '375000000', + existentialDeposit: '375000000', + }, + { + name: 'OSMO', + symbol: [79, 83, 77, 79], + id: '8', + decimals: 6, + ratio: { + n: '3', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-3', + base_denom: 'uosmo', + }, + }, + existential_deposit: '40000', + existentialDeposit: '40000', + exchangeRate: '0.370691', + }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '33', + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950369', + }, + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'Karura Dollar', + symbol: [107, 85, 83, 68], + id: '129', + decimals: 12, + ratio: { + n: '1', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2000', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + }, + { + name: 'wSOL', + symbol: [119, 83, 79, 76], + id: '3', + decimals: 9, + ratio: { + n: '8350000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-71/transfer/channel-17', + base_denom: 'So11111111111111111111111111111111111111112', + }, + }, + existential_deposit: '5620', + existentialDeposit: '5620', + exchangeRate: '129.33', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '2006', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952342', + }, + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'stATOM', + symbol: [115, 116, 65, 84, 79, 77], + id: '10', + decimals: 6, + ratio: { + n: '18', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'stuatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + }, + { + name: 'NTRN', + symbol: [78, 84, 82, 78], + id: '12', + decimals: 6, + ratio: { + n: '5', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-18', + base_denom: 'untrn', + }, + }, + existential_deposit: '60000', + existentialDeposit: '60000', + exchangeRate: '0.341433', + }, + { + name: 'ATOM', + symbol: [65, 84, 79, 77], + id: '7', + decimals: 6, + ratio: { + n: '2', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-4', + base_denom: 'uatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + exchangeRate: '3.69', + }, + { + name: 'UMEE', + symbol: [85, 77, 69, 69], + id: '17', + decimals: 6, + ratio: { + n: '5', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-20', + base_denom: 'uumee', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00089998', + }, + { + name: 'ETH', + symbol: [69, 84, 72], + id: '2', + decimals: 18, + ratio: { + n: '19', + d: '100', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-52/transfer/channel-17', + base_denom: 'wei', + }, + }, + existential_deposit: '200000000000', + existentialDeposit: '200000000000', + exchangeRate: '2297.69', + }, + { + name: 'Equilibrium', + symbol: [69, 81], + id: '2011', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952347', + }, + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'XLM', + symbol: [88, 76, 77], + id: '45', + decimals: 12, + ratio: { + n: '5', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '2124', + }, + { + PalletInstance: '53', + }, + { + GeneralIndex: '2', + }, + ], + }, + }, + }, + }, + existential_deposit: '2000000000000', + existentialDeposit: '2000000000000', + }, + { + name: 'IST', + symbol: [73, 83, 84], + id: '25', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'uist', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.002', + }, + { + name: 'CRE', + symbol: [67, 82, 69], + id: '13', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ucre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00009829', + }, + { + name: 'GLMR', + symbol: [71, 76, 77, 82], + id: '40', + decimals: 18, + ratio: { + n: '400000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79,228,162,514,264,337,593,543,950,376', + }, + }, + existential_deposit: '40000000000000000', + existentialDeposit: '40000000000000000', + exchangeRate: '0.150156', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '6', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950342', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'KUJI', + symbol: [75, 85, 74, 73], + id: '28', + decimals: 6, + ratio: { + n: '3', + d: '50000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'ukuji', + }, + }, + existential_deposit: '6006', + existentialDeposit: '6006', + exchangeRate: '0.412083', + }, + { + name: 'KSM', + symbol: [75, 83, 77], + id: '4', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: 'Here', + }, + }, + }, + existential_deposit: '375000000', + existentialDeposit: '375000000', + exchangeRate: '17.98', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '34', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950370', + }, + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'INJ', + symbol: [73, 78, 74], + id: '24', + decimals: 18, + ratio: { + n: '12500', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-29', + base_denom: 'inj', + }, + }, + existential_deposit: '1250000000000000', + existentialDeposit: '1250000000000000', + exchangeRate: '16.38', + }, + { + name: 'TIA', + symbol: [84, 73, 65], + id: '19', + decimals: 6, + ratio: { + n: '85', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-38', + base_denom: 'utia', + }, + }, + existential_deposit: '9000', + existentialDeposit: '9000', + exchangeRate: '4.01', + }, + { + name: 'vKSM', + symbol: [118, 75, 83, 77], + id: '32', + decimals: 12, + ratio: { + n: '8', + d: '1000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '1000000000', + existentialDeposit: '1000000000', + exchangeRate: '25.876857207706724', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '27', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950351', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'SCRT', + symbol: [83, 67, 82, 84], + id: '15', + decimals: 6, + ratio: { + n: '6', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-14', + base_denom: 'uscrt', + }, + }, + existential_deposit: '70000', + existentialDeposit: '70000', + exchangeRate: '0.192984', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '150', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950486', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'TNKR', + symbol: [84, 78, 75, 82], + id: '2125', + decimals: 12, + ratio: { + n: '3', + d: '100', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2125', + }, + { + GeneralIndex: '0', + }, + ], + }, + }, + }, + }, + existential_deposit: '135000000000', + existentialDeposit: '135000000000', + exchangeRate: 0, + }, + { + name: 'STARS', + symbol: [83, 84, 65, 82, 83], + id: '11', + decimals: 6, + ratio: { + n: '18', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-6', + base_denom: 'ustars', + }, + }, + existential_deposit: '2000000', + existentialDeposit: '2000000', + exchangeRate: '0.00670642', + }, + { + name: 'bCRE', + symbol: [98, 67, 82, 69], + id: '14', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ubcre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00012694', + }, + { + name: 'HUAHUA', + symbol: [72, 85, 65, 72, 85, 65], + id: '420', + decimals: 6, + ratio: null, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-0', + base_denom: 'uhuahua', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00004107', + }, + { + name: 'AMPE', + symbol: [65, 77, 80, 69], + id: '44', + decimals: 12, + ratio: { + n: '1', + d: '8', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2124', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: 0, + }, +]; diff --git a/src/config/solanaAssets.ts b/src/config/solanaAssets.ts index 278be179..afe30f19 100644 --- a/src/config/solanaAssets.ts +++ b/src/config/solanaAssets.ts @@ -23,6 +23,54 @@ export const solanaAssets:Record = { "mintAddress": "9gjHXkUVtDEPfxXXT9Jj3ZbYbFzS4zN92ewsCH8zGUKc", "minimumTransfer": 2 }, + "ASTRO": { + "mintAddress": "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET", + "minimumTransfer": 0 + }, + "SCRT": { + "mintAddress": "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V", + "minimumTransfer": 50 + }, + "SILK": { + "mintAddress": "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn", + "minimumTransfer": 0 + }, + "SHD": { + "mintAddress": "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ", + "minimumTransfer": 5 + }, + "SEI": { + "mintAddress": "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S", + "minimumTransfer": 30 + }, + "STARS": { + "mintAddress": "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB", + "minimumTransfer": 990 + }, + "STRD": { + "mintAddress": "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE", + "minimumTransfer": 11 + }, + "stATOM": { + "mintAddress": "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea", + "minimumTransfer": 2 + }, + "DOT": { + "mintAddress": "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J", + "minimumTransfer": 3 + }, + "KSM": { + "mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12", + "minimumTransfer": 0.7 + }, + "PICA": { + "mintAddress": "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ", + "minimumTransfer": 4000 + }, + "OSMO": { + "mintAddress": "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM", + "minimumTransfer": 20 + }, "ETH": { "mintAddress": "EXZbXNMbdTbMYpr9J5MUDv29XnWfxLZYyCCtk2tCy7XV", "minimumTransfer": 0 @@ -79,10 +127,6 @@ export const solanaAssets:Record = { "mintAddress": "CqzASJJsEA1TDvjCahP9pa7wPjqFEdouup6g5eNV71uv", "minimumTransfer": 0 }, - "SILK": { - "mintAddress": "Dcihw3DVQpxF7ri4fsdGaZWrwhtLgCvbkYHXWh1VdhQn", - "minimumTransfer": 20 - }, "ezETH": { "mintAddress": "CqzASJJsEA1TDvjCahP9pa7wPjqFEdouup6g5eNV71uv", "minimumTransfer": 0 @@ -103,50 +147,6 @@ export const solanaAssets:Record = { "mintAddress": "4tjtYi8dCVkE539ANy3qUHhKdqkjzqhn2iW4WSZMfMa6", "minimumTransfer": 0 }, - "ASTRO": { - "mintAddress": "8knH1Z4kY6WaHRMZHMxe76d2Ar3kHhjz33t1eZRJSyET", - "minimumTransfer": 0 - }, - "SCRT": { - "mintAddress": "6bQZs6ZSaRoaYPsfLibM9ZhZa4Haj4xF5uFJ33Kduc3V", - "minimumTransfer": 50 - }, - "SHD": { - "mintAddress": "4Atqy7XYeHXLD2thRJtDtBaRassB2Ff4ksefhvzLKxDQ", - "minimumTransfer": 5 - }, - "SEI": { - "mintAddress": "BajH8K75CHJrmT1hf6QGHSyY5r5tbJYSHrCb7uDNCF5S", - "minimumTransfer": 30 - }, - "STARS": { - "mintAddress": "HYaNBn8TQCpy1ohJAQ8V8GaLsRFrkudszgQU8uQpWNvB", - "minimumTransfer": 990 - }, - "STRD": { - "mintAddress": "FjK5ms55rMZY42NUKnAayUjA8Q1nA2jhYwkHZUY7KwvE", - "minimumTransfer": 11 - }, - "stATOM": { - "mintAddress": "8aHZdc7qrKAPMey7B6VHx3U3xWFBs7BZhdLAYqZBQwea", - "minimumTransfer": 2 - }, - "DOT": { - "mintAddress": "vbJ16tHqqVKvLq8rgWeGboJvSCoeFjSYYvH77czoT9J", - "minimumTransfer": 3 - }, - "KSM": { - "mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12", - "minimumTransfer": 0.7 - }, - "PICA": { - "mintAddress": "966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ", - "minimumTransfer": 4000 - }, - "OSMO": { - "mintAddress": "EpZeFE5ngedGVug3s1VQK9987FEsCY512VtKUKmfzidM", - "minimumTransfer": 20 - }, "SOL": { "mintAddress": "SOL", "minimumTransfer": 0.2 diff --git a/src/config/temp.ts b/src/config/temp.ts new file mode 100644 index 00000000..27f8943f --- /dev/null +++ b/src/config/temp.ts @@ -0,0 +1,1041 @@ +const data = [ + { + name: 'USDT', + symbol: [85, 83, 68, 84], + id: '79228162514264337593543950485', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + + // { + // name: 'Equilibrium USD', //does not support + // symbol: [69, 81, 68], + // id: '79228162514264337593543950463', + // decimals: 9, + // ratio: { + // n: '2', + // d: '100000', + // }, + // existential_deposit: '200000', + // existentialDeposit: '200000', + // }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '79228162514264337593543950369', //only at composable + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '79228162514264337593543952342', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'Equilibrium', //none + symbol: [69, 81], + id: '79228162514264337593543952347', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '79228162514264337593543950342', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '79228162514264337593543950370', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '79228162514264337593543950351', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '79228162514264337593543950486', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USDT', //added at picasso + symbol: [85, 83, 68, 84], + id: '149', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950485', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'USK', + symbol: [85, 83, 75], + id: '26', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'uusk', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'SEI', + symbol: [83, 69, 73], + id: '35', + decimals: 6, + ratio: { + n: '143', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: + 'transfer/channel-17/transfer/channel-3/transfer/channel-782', + base_denom: 'usei', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.276379', + }, + { + name: 'SILK', + symbol: [83, 73, 76, 75], + id: '16', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-26', + base_denom: 'cw20:secret1fl449muk5yq8dlad7a22nje4p5d2pnsgymhjfd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.11', + }, + { + name: 'QCK', + symbol: [81, 67, 75], + id: '29', + decimals: 6, + ratio: { + n: '1', + d: '30', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-9', + base_denom: 'uqck', + }, + }, + existential_deposit: '333300', + existentialDeposit: '333300', + exchangeRate: '0.00823899', + }, + { + name: 'MOVR', + symbol: [77, 79, 86, 82], + id: '23', + decimals: 18, + ratio: { + n: '40900', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2023', + }, + { + PalletInstance: '10', + }, + ], + }, + }, + }, + }, + existential_deposit: '4100000000000000', + existentialDeposit: '4100000000000000', + exchangeRate: '8.81', + }, + { + name: 'USDT Kusama', + symbol: [85, 83, 68, 84, 32, 75, 117, 115, 97, 109, 97], + id: '130', + decimals: 6, + ratio: { + n: '2', + d: '10000000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '1000', + }, + { + PalletInstance: '50', + }, + { + GeneralIndex: '1984', + }, + ], + }, + }, + }, + }, + existential_deposit: '1500', + existentialDeposit: '1500', + exchangeRate: '1', + }, + { + name: 'STRD', + symbol: [83, 84, 82, 68], + id: '9', + decimals: 6, + ratio: { + n: '18', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'ustrd', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '0.640319', + }, + { + name: 'PICA', + symbol: [80, 73, 67, 65], + id: '1', + decimals: 12, + ratio: null, + foreign_id: null, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + exchangeRate: '0.00051113', + }, + { + name: 'BNC_KSM', + symbol: [66, 78, 67, 32, 75, 117, 115, 97, 109, 97], + id: '31', + decimals: 12, + ratio: { + n: '11', + d: '10', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '11000000000', + existentialDeposit: '11000000000', + exchangeRate: '0.188741', + }, + { + name: 'SDN', + symbol: [83, 68, 110], + id: '2007', + decimals: 18, + ratio: { + n: '1000000', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2007', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: '0.129428', + }, + { + name: 'BLD', + symbol: [66, 76, 68], + id: '18', + decimals: 6, + ratio: { + n: '12', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'ubld', + }, + }, + existential_deposit: '120000', + existentialDeposit: '120000', + exchangeRate: '0.054234', + }, + // { + // name: 'Equilibrium USD', //does not support + // symbol: [69, 81, 68], + // id: '127', + // decimals: 9, + // ratio: { + // n: '2', + // d: '100000', + // }, + // foreign_id: { + // IbcIcs20: { + // trace_path: 'transfer/channel-15', + // base_denom: '79228162514264337593543950463', + // }, + // }, + // existential_deposit: '200000', + // existentialDeposit: '200000', + // }, + { + name: 'Liquid Staked Kusama', + symbol: [108, 115, 75, 83, 77], + id: '20', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: null, + existential_deposit: '375000000', + existentialDeposit: '375000000', + }, + { + name: 'OSMO', + symbol: [79, 83, 77, 79], + id: '8', + decimals: 6, + ratio: { + n: '3', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-3', + base_denom: 'uosmo', + }, + }, + existential_deposit: '40000', + existentialDeposit: '40000', + exchangeRate: '0.370691', + }, + { + name: 'BNC_DOT', + symbol: [66, 78, 67, 32, 80, 111, 108, 107, 97, 100, 111, 116], + id: '33', + decimals: 12, + ratio: { + n: '11', + d: '1000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950369', + }, + }, + existential_deposit: '1100000000', + existentialDeposit: '1100000000', + exchangeRate: '0.188741', + }, + { + name: 'Karura Dollar', + symbol: [107, 85, 83, 68], + id: '129', + decimals: 12, + ratio: { + n: '1', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2000', + }, + { + GeneralKey: { + length: '2', + data: [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '100000000000', + existentialDeposit: '100000000000', + }, + { + name: 'wSOL', + symbol: [119, 83, 79, 76], + id: '3', + decimals: 9, + ratio: { + n: '8350000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-71/transfer/channel-17', + base_denom: 'So11111111111111111111111111111111111111112', + }, + }, + existential_deposit: '5620', + existentialDeposit: '5620', + exchangeRate: '129.33', + }, + { + name: 'ASTR', + symbol: [65, 83, 84, 82], + id: '2006', + decimals: 18, + ratio: { + n: '4713901', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952342', + }, + }, + existential_deposit: '4700000000000000', + existentialDeposit: '4700000000000000', + exchangeRate: '0.052479', + }, + { + name: 'stATOM', + symbol: [115, 116, 65, 84, 79, 77], + id: '10', + decimals: 6, + ratio: { + n: '18', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-5', + base_denom: 'stuatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + }, + { + name: 'NTRN', + symbol: [78, 84, 82, 78], + id: '12', + decimals: 6, + ratio: { + n: '5', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-18', + base_denom: 'untrn', + }, + }, + existential_deposit: '60000', + existentialDeposit: '60000', + exchangeRate: '0.341433', + }, + { + name: 'ATOM', + symbol: [65, 84, 79, 77], + id: '7', + decimals: 6, + ratio: { + n: '2', + d: '100000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-4', + base_denom: 'uatom', + }, + }, + existential_deposit: '2000', + existentialDeposit: '2000', + exchangeRate: '3.69', + }, + { + name: 'UMEE', + symbol: [85, 77, 69, 69], + id: '17', + decimals: 6, + ratio: { + n: '5', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-20', + base_denom: 'uumee', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00089998', + }, + { + name: 'ETH', + symbol: [69, 84, 72], + id: '2', + decimals: 18, + ratio: { + n: '19', + d: '100', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-52/transfer/channel-17', + base_denom: 'wei', + }, + }, + existential_deposit: '200000000000', + existentialDeposit: '200000000000', + exchangeRate: '2297.69', + }, + { + name: 'Equilibrium', + symbol: [69, 81], + id: '2011', + decimals: 9, + ratio: { + n: '7', + d: '10', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543952347', + }, + }, + existential_deposit: '700000000', + existentialDeposit: '700000000', + }, + { + name: 'XLM', + symbol: [88, 76, 77], + id: '45', + decimals: 12, + ratio: { + n: '5', + d: '1', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X3: [ + { + Parachain: '2124', + }, + { + PalletInstance: '53', + }, + { + GeneralIndex: '2', + }, + ], + }, + }, + }, + }, + existential_deposit: '2000000000000', + existentialDeposit: '2000000000000', + }, + { + name: 'IST', + symbol: [73, 83, 84], + id: '25', + decimals: 6, + ratio: { + n: '2', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-13', + base_denom: 'uist', + }, + }, + existential_deposit: '20000', + existentialDeposit: '20000', + exchangeRate: '1.002', + }, + { + name: 'CRE', + symbol: [67, 82, 69], + id: '13', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ucre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00009829', + }, + { + name: 'GLMR', + symbol: [71, 76, 77, 82], + id: '40', + decimals: 18, + ratio: { + n: '400000', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79,228,162,514,264,337,593,543,950,376', + }, + }, + existential_deposit: '40000000000000000', + existentialDeposit: '40000000000000000', + exchangeRate: '0.150156', + }, + { + name: 'DOT', + symbol: [68, 79, 84], + id: '6', + decimals: 10, + ratio: { + n: '3', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950342', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + exchangeRate: '4.13', + }, + { + name: 'KUJI', + symbol: [75, 85, 74, 73], + id: '28', + decimals: 6, + ratio: { + n: '3', + d: '50000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-27', + base_denom: 'ukuji', + }, + }, + existential_deposit: '6006', + existentialDeposit: '6006', + exchangeRate: '0.412083', + }, + { + name: 'KSM', + symbol: [75, 83, 77], + id: '4', + decimals: 12, + ratio: { + n: '70', + d: '10000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: 'Here', + }, + }, + }, + existential_deposit: '375000000', + existentialDeposit: '375000000', + exchangeRate: '17.98', + }, + { + name: 'vDOT', + symbol: [118, 68, 79, 84], + id: '34', + decimals: 10, + ratio: { + n: '4', + d: '10000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950370', + }, + }, + existential_deposit: '100000000', + existentialDeposit: '100000000', + exchangeRate: '5.713575754720102', + }, + { + name: 'INJ', + symbol: [73, 78, 74], + id: '24', + decimals: 18, + ratio: { + n: '12500', + d: '1', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-29', + base_denom: 'inj', + }, + }, + existential_deposit: '1250000000000000', + existentialDeposit: '1250000000000000', + exchangeRate: '16.38', + }, + { + name: 'TIA', + symbol: [84, 73, 65], + id: '19', + decimals: 6, + ratio: { + n: '85', + d: '1000000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-38', + base_denom: 'utia', + }, + }, + existential_deposit: '9000', + existentialDeposit: '9000', + exchangeRate: '4.01', + }, + { + name: 'vKSM', + symbol: [118, 75, 83, 77], + id: '32', + decimals: 12, + ratio: { + n: '8', + d: '1000', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2001', + }, + { + GeneralKey: { + length: '2', + data: [ + 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }, + }, + ], + }, + }, + }, + }, + existential_deposit: '1000000000', + existentialDeposit: '1000000000', + exchangeRate: '25.876857207706724', + }, + { + name: 'lsDOT', + symbol: [108, 115, 68, 79, 84], + id: '27', + decimals: 10, + ratio: { + n: '29', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950351', + }, + }, + existential_deposit: '21430000', + existentialDeposit: '21430000', + }, + { + name: 'SCRT', + symbol: [83, 67, 82, 84], + id: '15', + decimals: 6, + ratio: { + n: '6', + d: '10000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-14', + base_denom: 'uscrt', + }, + }, + existential_deposit: '70000', + existentialDeposit: '70000', + exchangeRate: '0.192984', + }, + { + name: 'USDC', + symbol: [85, 83, 68, 67], + id: '150', + decimals: 6, + ratio: { + n: '1', + d: '5000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-15', + base_denom: '79228162514264337593543950486', + }, + }, + existential_deposit: '200000', + existentialDeposit: '200000', + }, + { + name: 'TNKR', + symbol: [84, 78, 75, 82], + id: '2125', + decimals: 12, + ratio: { + n: '3', + d: '100', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X2: [ + { + Parachain: '2125', + }, + { + GeneralIndex: '0', + }, + ], + }, + }, + }, + }, + existential_deposit: '135000000000', + existentialDeposit: '135000000000', + exchangeRate: 0, + }, + { + name: 'STARS', + symbol: [83, 84, 65, 82, 83], + id: '11', + decimals: 6, + ratio: { + n: '18', + d: '1000000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-6', + base_denom: 'ustars', + }, + }, + existential_deposit: '2000000', + existentialDeposit: '2000000', + exchangeRate: '0.00670642', + }, + { + name: 'bCRE', + symbol: [98, 67, 82, 69], + id: '14', + decimals: 6, + ratio: { + n: '1', + d: '100000', + }, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-11', + base_denom: 'ubcre', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00012694', + }, + { + name: 'HUAHUA', + symbol: [72, 85, 65, 72, 85, 65], + id: '420', + decimals: 6, + ratio: null, + foreign_id: { + IbcIcs20: { + trace_path: 'transfer/channel-17/transfer/channel-0', + base_denom: 'uhuahua', + }, + }, + existential_deposit: '1000000', + existentialDeposit: '1000000', + exchangeRate: '0.00004107', + }, + { + name: 'AMPE', + symbol: [65, 77, 80, 69], + id: '44', + decimals: 12, + ratio: { + n: '1', + d: '8', + }, + foreign_id: { + Xcm: { + V3: { + parents: '1', + interior: { + X1: { + Parachain: '2124', + }, + }, + }, + }, + }, + existential_deposit: '1000000000000000', + existentialDeposit: '1000000000000000', + exchangeRate: 0, + }, +]; diff --git a/src/config/tokensPerChannel.ts b/src/config/tokensPerChannel.ts index 0dd8bcef..28f512a8 100644 --- a/src/config/tokensPerChannel.ts +++ b/src/config/tokensPerChannel.ts @@ -118,41 +118,6 @@ export const tokensPerChannel : Record< ] } }, - "ethereum": { - "2": { - "chainId": "centauri-1", - "destinationId": 52, - "tokens": [ - "PICA", - "ETH", - "DAI", - "FXS", - "sFRAX", - "sfrxETH", - "OSMO", - "ENA", - "FRAX", - "frxETH", - "wBTC", - "pxETH", - "PEPE", - "CRV", - "rETH", - "crvUSD", - "eETH", - "USDe", - "USDT Ethereum", - "stETH", - "ATOM", - "IST", - "stATOM", - "BLD", - "SEI", - "SCRT", - "STRD" - ] - } - }, "injective-1": { "145": { "chainId": "centauri-1", @@ -477,6 +442,41 @@ export const tokensPerChannel : Record< ] } }, + "ethereum": { + "2": { + "chainId": "centauri-1", + "destinationId": 52, + "tokens": [ + "PICA", + "ETH", + "DAI", + "FXS", + "sFRAX", + "sfrxETH", + "OSMO", + "ENA", + "FRAX", + "frxETH", + "wBTC", + "pxETH", + "PEPE", + "CRV", + "rETH", + "crvUSD", + "eETH", + "USDe", + "USDT Ethereum", + "stETH", + "ATOM", + "IST", + "stATOM", + "BLD", + "SEI", + "SCRT", + "STRD" + ] + } + }, "solana": { "1": { "chainId": "centauri-1", diff --git a/src/scripts/generate-helper.ts b/src/scripts/generate-helper.ts index ce1bcea1..c9bd4190 100644 --- a/src/scripts/generate-helper.ts +++ b/src/scripts/generate-helper.ts @@ -11,6 +11,19 @@ import { TokenPerChannel, } from '../config/types'; import { buildIbcPath } from '../chains'; +const getFeeAssetId = (data) => { + const coin = data.currencies.filter((item) => item.isCoin); + if (data.chainType === 'polkadot') { + if (data.polkadot.relayChain === 'kusama') + return coin[0]?.polkadot?.picassoAssetId || ''; + if (data.polkadot.relayChain === 'polkadot') { + return coin[0]?.polkadot?.composableAssetId || ''; + } + } + if (data.chainType === 'cosmos') return coin[0].cosmos.minimalDenom; + if (data.chainType === 'solana') return coin[0].solana.minimalDenom; + if (data.chainType === 'ethereum') return coin[0].ethereum.minimalDenom; +}; const dataDir = path.join(__dirname, '../config/json'); const ethereumOutputFilePath = path.join( @@ -49,6 +62,9 @@ const processFiles = () => { const networks: Record = {}; const keplrChains: Record = {}; + + const temp = []; + const temp2 = []; const files = fs .readdirSync(dataDir) .filter((file) => file.endsWith('.json')) @@ -67,6 +83,7 @@ const processFiles = () => { const filePath = path.join(dataDir, file); const data = JSON.parse(fs.readFileSync(filePath, 'utf-8')); // generate networks + const coin = data.currencies.filter((item) => item.isCoin); networks[data.chainId] = { name: data.chainName || '', @@ -75,7 +92,7 @@ const processFiles = () => { rest: data.rest || '', chainType: data.chainType || '', chainId: data.chainId || '', - feeAssetId: data.currencies[0]?.coinDenom || '', + feeAssetId: getFeeAssetId(data) || '', polkadot: data.polkadot || undefined, cosmos: data.cosmos || undefined, enabled: data.enabled || false, @@ -102,7 +119,7 @@ const processFiles = () => { coinMinimalDenom: item.coinMinimalDenom, })), features: [], - feeCurrencies: data.feeCurrencies.map((item) => ({ + feeCurrencies: coin.map((item) => ({ coinDecimals: item.coinDecimals, coinDenom: item.coinDenom, coinGeckoId: item.coinGeckoId, @@ -113,11 +130,11 @@ const processFiles = () => { rest: data.rest, rpc: data.rpc, stakeCurrency: { - coinDecimals: data.currencies[0].coinDecimals, - coinDenom: data.currencies[0].coinDenom, - coinGeckoId: data.currencies[0].coinGeckoId, - coinMinimalDenom: data.currencies[0].coinMinimalDenom, - coinImageUrl: data.currencies[0].coinImageUrl, + coinDecimals: coin[0].coinDecimals, + coinDenom: coin[0].coinDenom, + coinGeckoId: coin[0].coinGeckoId, + coinMinimalDenom: coin[0].coinMinimalDenom, + coinImageUrl: coin[0].coinImageUrl, }, walletUrlForStaking: data.cosmos.walletUrlForStaking, }; diff --git a/src/scripts/generate-multihop.ts b/src/scripts/generate-multihop.ts new file mode 100644 index 00000000..b05b298b --- /dev/null +++ b/src/scripts/generate-multihop.ts @@ -0,0 +1,37 @@ +import { getMultihopPath } from '../chains/polkadot'; +import path from 'path'; +const fs = require('fs'); +const multihopRouteFilePath = path.join( + __dirname, + '../config/multihopRoute.ts' +); + +const fetchMultihopPaths = async () => { + try { + const polkadotComposable = await getMultihopPath('polkadot', '2019'); + const kusamaPicasso = await getMultihopPath('kusama', '2087'); + + const result = polkadotComposable.concat(kusamaPicasso); + + const multihopOutputContent = ` + // [GENERATED] + import { MultihopRoutePath } from "../chains/polkadot/types"; + + + export const multihopRoute :MultihopRoutePath[]= ${JSON.stringify(result, null, 2)} ; + + `; + + fs.writeFileSync(multihopRouteFilePath, multihopOutputContent, 'utf-8'); + + // save as tsfile + // fs.writeFileSync('result.json', JSON.stringify(result, null, 2)); + + process.exit(0); + return; + } catch (error) { + console.error('Error fetching multihop paths:', error); + } +}; + +fetchMultihopPaths(); diff --git a/yarn.lock b/yarn.lock index c6f4a20d..792f4f15 100644 --- a/yarn.lock +++ b/yarn.lock @@ -966,49 +966,572 @@ dependencies: "@noble/hashes" "1.4.0" +"@noble/curves@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz" + integrity sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw== + dependencies: + "@noble/hashes" "1.3.0" + "@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@^1.3.1", "@noble/hashes@^1.3.3", "@noble/hashes@^1.4.0", "@noble/hashes@~1.4.0", "@noble/hashes@1.4.0": version "1.4.0" resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz" integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== -"@polkadot/networks@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/networks/-/networks-13.0.2.tgz" - integrity sha512-ABAL+vug/gIwkdFEzeh87JoJd0YKrxSYg/HjUrZ+Zis2ucxQEKpvtCpJ34ku+YrjacBfVqIAkkwd3ZdIPGq9aQ== +"@noble/hashes@1.3.0": + version "1.3.0" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz" + integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== + +"@polkadot-api/client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/client/-/client-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-0fqK6pUKcGHSG2pBvY+gfSS+1mMdjd/qRygAcKI5d05tKsnZLRnmhb9laDguKmGEIB0Bz9vQqNK3gIN/cfvVwg== + 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" + +"@polkadot-api/json-rpc-provider-proxy@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-0hZ8vtjcsyCX8AyqP2sqUHa1TFFfxGWmlXJkit0Nqp9b32MwZqn5eaUAiV2rNuEpoglKOdKnkGtUF8t5MoodKw== + +"@polkadot-api/json-rpc-provider-proxy@0.0.1": + version "0.0.1" + resolved "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.0.1.tgz" + integrity sha512-gmVDUP8LpCH0BXewbzqXF2sdHddq1H1q+XrAW2of+KZj4woQkIGBRGTJHeBEVHe30EB+UejR1N2dT4PO/RvDdg== + +"@polkadot-api/json-rpc-provider@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-EaUS9Fc3wsiUr6ZS43PQqaRScW7kM6DYbuM/ou0aYjm8N9MBqgDbGm2oL6RE1vAVmOfEuHcXZuZkhzWtyvQUtA== + +"@polkadot-api/json-rpc-provider@0.0.1": + version "0.0.1" + resolved "https://registry.npmjs.org/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.1.tgz" + integrity sha512-/SMC/l7foRjpykLTUTacIH05H3mr9ip8b5xxfwXlVezXrNVLp3Cv0GX6uItkKd+ZjzVPf3PFrDF2B2/HLSNESA== + +"@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-BD7rruxChL1VXt0icC2gD45OtT9ofJlql0qIllHSRYgama1CR2Owt+ApInQxB+lWqM+xNOznZRpj8CXNDvKIMg== + dependencies: + "@polkadot-api/substrate-bindings" "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + "@polkadot-api/utils" "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + +"@polkadot-api/metadata-builders@0.0.1": + version "0.0.1" + resolved "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.0.1.tgz" + integrity sha512-GCI78BHDzXAF/L2pZD6Aod/yl82adqQ7ftNmKg51ixRL02JpWUA+SpUKTJE5MY1p8kiJJIo09P2um24SiJHxNA== + dependencies: + "@polkadot-api/substrate-bindings" "0.0.1" + "@polkadot-api/utils" "0.0.1" + +"@polkadot-api/observable-client@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.1.0.tgz" + integrity sha512-GBCGDRztKorTLna/unjl/9SWZcRmvV58o9jwU2Y038VuPXZcr01jcw/1O3x+yeAuwyGzbucI/mLTDa1QoEml3A== + dependencies: + "@polkadot-api/metadata-builders" "0.0.1" + "@polkadot-api/substrate-bindings" "0.0.1" + "@polkadot-api/substrate-client" "0.0.1" + "@polkadot-api/utils" "0.0.1" + +"@polkadot-api/substrate-bindings@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-N4vdrZopbsw8k57uG58ofO7nLXM4Ai7835XqakN27MkjXMp5H830A1KJE0L9sGQR7ukOCDEIHHcwXVrzmJ/PBg== + 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" + +"@polkadot-api/substrate-bindings@0.0.1": + version "0.0.1" + resolved "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.0.1.tgz" + integrity sha512-bAe7a5bOPnuFVmpv7y4BBMRpNTnMmE0jtTqRUw/+D8ZlEHNVEJQGr4wu3QQCl7k1GnSV1wfv3mzIbYjErEBocg== + dependencies: + "@noble/hashes" "^1.3.1" + "@polkadot-api/utils" "0.0.1" + "@scure/base" "^1.1.1" + scale-ts "^1.6.0" + +"@polkadot-api/substrate-client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-lcdvd2ssUmB1CPzF8s2dnNOqbrDa+nxaaGbuts+Vo8yjgSKwds2Lo7Oq+imZN4VKW7t9+uaVcKFLMF7PdH0RWw== + +"@polkadot-api/substrate-client@0.0.1": + version "0.0.1" + resolved "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.0.1.tgz" + integrity sha512-9Bg9SGc3AwE+wXONQoW8GC00N3v6lCZLW74HQzqB6ROdcm5VAHM4CB/xRzWSUF9CXL78ugiwtHx3wBcpx4H4Wg== + +"@polkadot-api/utils@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": + version "0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" + resolved "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0.tgz" + integrity sha512-0CYaCjfLQJTCRCiYvZ81OncHXEKPzAexCMoVloR+v2nl/O2JRya/361MtPkeNLC6XBoaEgLAG9pWQpH3WePzsw== + +"@polkadot-api/utils@0.0.1": + version "0.0.1" + resolved "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.0.1.tgz" + integrity sha512-3j+pRmlF9SgiYDabSdZsBSsN5XHbpXOAce1lWj56IEEaFZVjsiCaxDOA7C9nCcgfVXuvnbxqqEGQvnY+QfBAUw== + +"@polkadot/api-augment@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-10.13.1.tgz" + integrity sha512-IAKaCp19QxgOG4HKk9RAgUgC/VNVqymZ2GXfMNOZWImZhxRIbrK+raH5vN2MbWwtVHpjxyXvGsd1RRhnohI33A== + dependencies: + "@polkadot/api-base" "10.13.1" + "@polkadot/rpc-augment" "10.13.1" + "@polkadot/types" "10.13.1" + "@polkadot/types-augment" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/api-augment@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-11.3.1.tgz" + integrity sha512-Yj+6rb6h0WwY3yJ+UGhjGW+tyMRFUMsKQuGw+eFsXdjiNU9UoXsAqA2dG7Q1F+oeX/g+y2gLGBezNoCwbl6HfA== + dependencies: + "@polkadot/api-base" "11.3.1" + "@polkadot/rpc-augment" "11.3.1" + "@polkadot/types" "11.3.1" + "@polkadot/types-augment" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/api-base@^11.3.1", "@polkadot/api-base@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/api-base/-/api-base-11.3.1.tgz" + integrity sha512-b8UkNL00NN7+3QaLCwL5cKg+7YchHoKCAhwKusWHNBZkkO6Oo2BWilu0dZkPJOyqV9P389Kbd9+oH+SKs9u2VQ== + dependencies: + "@polkadot/rpc-core" "11.3.1" + "@polkadot/types" "11.3.1" + "@polkadot/util" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/api-base@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/api-base/-/api-base-10.13.1.tgz" + integrity sha512-Okrw5hjtEjqSMOG08J6qqEwlUQujTVClvY1/eZkzKwNzPelWrtV6vqfyJklB7zVhenlxfxqhZKKcY7zWSW/q5Q== + dependencies: + "@polkadot/rpc-core" "10.13.1" + "@polkadot/types" "10.13.1" + "@polkadot/util" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/api-derive@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-10.13.1.tgz" + integrity sha512-ef0H0GeCZ4q5Om+c61eLLLL29UxFC2/u/k8V1K2JOIU+2wD5LF7sjAoV09CBMKKHfkLenRckVk2ukm4rBqFRpg== + dependencies: + "@polkadot/api" "10.13.1" + "@polkadot/api-augment" "10.13.1" + "@polkadot/api-base" "10.13.1" + "@polkadot/rpc-core" "10.13.1" + "@polkadot/types" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/api-derive@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-11.3.1.tgz" + integrity sha512-9dopzrh4cRuft1nANmBvMY/hEhFDu0VICMTOGxQLOl8NMfcOFPTLAN0JhSBUoicGZhV+c4vpv01NBx/7/IL1HA== + dependencies: + "@polkadot/api" "11.3.1" + "@polkadot/api-augment" "11.3.1" + "@polkadot/api-base" "11.3.1" + "@polkadot/rpc-core" "11.3.1" + "@polkadot/types" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/api@*", "@polkadot/api@^11.3.1", "@polkadot/api@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/api/-/api-11.3.1.tgz" + integrity sha512-q4kFIIHTLvKxM24b0Eo8hJevsPMme+aITJGrDML9BgdZYTRN14+cu5nXiCsQvaEamdyYj+uCXWe2OV9X7pPxsA== + dependencies: + "@polkadot/api-augment" "11.3.1" + "@polkadot/api-base" "11.3.1" + "@polkadot/api-derive" "11.3.1" + "@polkadot/keyring" "^12.6.2" + "@polkadot/rpc-augment" "11.3.1" + "@polkadot/rpc-core" "11.3.1" + "@polkadot/rpc-provider" "11.3.1" + "@polkadot/types" "11.3.1" + "@polkadot/types-augment" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/types-create" "11.3.1" + "@polkadot/types-known" "11.3.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + eventemitter3 "^5.0.1" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/api@^10.12.4", "@polkadot/api@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/api/-/api-10.13.1.tgz" + integrity sha512-YrKWR4TQR5CDyGkF0mloEUo7OsUA+bdtENpJGOtNavzOQUDEbxFE0PVzokzZfVfHhHX2CojPVmtzmmLxztyJkg== + dependencies: + "@polkadot/api-augment" "10.13.1" + "@polkadot/api-base" "10.13.1" + "@polkadot/api-derive" "10.13.1" + "@polkadot/keyring" "^12.6.2" + "@polkadot/rpc-augment" "10.13.1" + "@polkadot/rpc-core" "10.13.1" + "@polkadot/rpc-provider" "10.13.1" + "@polkadot/types" "10.13.1" + "@polkadot/types-augment" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/types-create" "10.13.1" + "@polkadot/types-known" "10.13.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + eventemitter3 "^5.0.1" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/extension-dapp@^0.46.3": + version "0.46.9" + resolved "https://registry.npmjs.org/@polkadot/extension-dapp/-/extension-dapp-0.46.9.tgz" + integrity sha512-y5udSeQ/X9MEoyjlpTcCn0UAEjZ2jjy6U3V/jiVFQo5vBKhdqAhN1oN8X5c4yWurmhYM/7oibImxAjEoXuwH+Q== + dependencies: + "@polkadot/extension-inject" "0.46.9" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/extension-inject@^0.46.3", "@polkadot/extension-inject@0.46.9": + version "0.46.9" + resolved "https://registry.npmjs.org/@polkadot/extension-inject/-/extension-inject-0.46.9.tgz" + integrity sha512-m0jnrs9+jEOpMH6OUNl7nHpz9SFFWK9LzuqB8T3htEE3RUYPL//SLCPyEKxAAgHu7F8dgkUHssAWQfANofALCQ== + dependencies: + "@polkadot/api" "^10.12.4" + "@polkadot/rpc-provider" "^10.12.4" + "@polkadot/types" "^10.12.4" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + "@polkadot/x-global" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/keyring@^12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.6.2.tgz" + integrity sha512-O3Q7GVmRYm8q7HuB3S0+Yf/q/EB2egKRRU3fv9b3B7V+A52tKzA+vIwEmNVaD1g5FKW9oB97rmpggs0zaKFqHw== + dependencies: + "@polkadot/util" "12.6.2" + "@polkadot/util-crypto" "12.6.2" + tslib "^2.6.2" + +"@polkadot/keyring@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/keyring/-/keyring-12.2.1.tgz" + integrity sha512-YqgpU+97OZgnSUL56DEMib937Dpb1bTTDPYHhBiN1yNCKod7UboWXIe4xPh+1Kzugum+dEyPpdV+fHH10rtDzw== + dependencies: + "@polkadot/util" "12.2.1" + "@polkadot/util-crypto" "12.2.1" + tslib "^2.5.0" + +"@polkadot/networks@^12.6.2", "@polkadot/networks@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/networks/-/networks-12.6.2.tgz" + integrity sha512-1oWtZm1IvPWqvMrldVH6NI2gBoCndl5GEwx7lAuQWGr7eNL+6Bdc5K3Z9T0MzFvDGoi2/CBqjX9dRKo39pDC/w== + dependencies: + "@polkadot/util" "12.6.2" + "@substrate/ss58-registry" "^1.44.0" + tslib "^2.6.2" + +"@polkadot/networks@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/networks/-/networks-12.2.1.tgz" + integrity sha512-lYLvFv6iQ2UzkP66zJfsiTo2goeaNeKuwiaGoRoFrDwdwVeZK/+rCsz1uAyvbwmpZIaK8K+dTlSBVWlFoAkgcA== + dependencies: + "@polkadot/util" "12.2.1" + "@substrate/ss58-registry" "^1.40.0" + tslib "^2.5.0" + +"@polkadot/rpc-augment@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-10.13.1.tgz" + integrity sha512-iLsWUW4Jcx3DOdVrSHtN0biwxlHuTs4QN2hjJV0gd0jo7W08SXhWabZIf9mDmvUJIbR7Vk+9amzvegjRyIf5+A== + dependencies: + "@polkadot/rpc-core" "10.13.1" + "@polkadot/types" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/rpc-augment@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-11.3.1.tgz" + integrity sha512-2PaDcKNju4QYQpxwVkWbRU3M0t340nMX9cMo+8awgvgL1LliV/fUDZueMKLuSS910JJMTPQ7y2pK4eQgMt08gQ== + dependencies: + "@polkadot/rpc-core" "11.3.1" + "@polkadot/types" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/rpc-core@^11.3.1", "@polkadot/rpc-core@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-11.3.1.tgz" + integrity sha512-KKNepsDd/mpmXcA6v/h14eFFPEzLGd7nrvx2UUXUxoZ0Fq2MH1hplP3s93k1oduNY/vOXJR2K9S4dKManA6GVQ== + dependencies: + "@polkadot/rpc-augment" "11.3.1" + "@polkadot/rpc-provider" "11.3.1" + "@polkadot/types" "11.3.1" + "@polkadot/util" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/rpc-core@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-10.13.1.tgz" + integrity sha512-eoejSHa+/tzHm0vwic62/aptTGbph8vaBpbvLIK7gd00+rT813ROz5ckB1CqQBFB23nHRLuzzX/toY8ID3xrKw== + dependencies: + "@polkadot/rpc-augment" "10.13.1" + "@polkadot/rpc-provider" "10.13.1" + "@polkadot/types" "10.13.1" + "@polkadot/util" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/rpc-provider@^10.12.4", "@polkadot/rpc-provider@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-10.13.1.tgz" + integrity sha512-oJ7tatVXYJ0L7NpNiGd69D558HG5y5ZDmH2Bp9Dd4kFTQIiV8A39SlWwWUPCjSsen9lqSvvprNLnG/VHTpenbw== + 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" + eventemitter3 "^5.0.1" + mock-socket "^9.3.1" + nock "^13.5.0" + tslib "^2.6.2" + optionalDependencies: + "@substrate/connect" "0.8.8" + +"@polkadot/rpc-provider@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-11.3.1.tgz" + integrity sha512-pqERChoHo45hd3WAgW8UuzarRF+G/o/eXEbl0PXLubiayw4X4qCmIzmtntUcKYgxGNcYGZaG87ZU8OjN97m6UA== + dependencies: + "@polkadot/keyring" "^12.6.2" + "@polkadot/types" "11.3.1" + "@polkadot/types-support" "11.3.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" + eventemitter3 "^5.0.1" + mock-socket "^9.3.1" + nock "^13.5.0" + tslib "^2.6.2" + optionalDependencies: + "@substrate/connect" "0.8.10" + +"@polkadot/types-augment@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-10.13.1.tgz" + integrity sha512-TcrLhf95FNFin61qmVgOgayzQB/RqVsSg9thAso1Fh6pX4HSbvI35aGPBAn3SkA6R+9/TmtECirpSNLtIGFn0g== dependencies: - "@polkadot/util" "13.0.2" - "@substrate/ss58-registry" "^1.46.0" + "@polkadot/types" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/util" "^12.6.2" tslib "^2.6.2" -"@polkadot/util-crypto@^13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-13.0.2.tgz" - integrity sha512-woUsJJ6zd/caL7U+D30a5oM/+WK9iNI00Y8aNUHSj6Zq/KPzK9uqDBaLGWwlgrejoMQkxxiU2X0f2LzP15AtQg== +"@polkadot/types-augment@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-11.3.1.tgz" + integrity sha512-eR3HVpvUmB3v7q2jTWVmVfAVfb1/kuNn7ij94Zqadg/fuUq0pKqIOKwkUj3OxRM3A/5BnW3MbgparjKD3r+fyw== + dependencies: + "@polkadot/types" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-codec@^11.3.1", "@polkadot/types-codec@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-11.3.1.tgz" + integrity sha512-i7IiiuuL+Z/jFoKTA9xeh4wGQnhnNNjMT0+1ohvlOvnFsoKZKFQQOaDPPntGJVL1JDCV+KjkN2uQKZSeW8tguQ== + dependencies: + "@polkadot/util" "^12.6.2" + "@polkadot/x-bigint" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-codec@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-10.13.1.tgz" + integrity sha512-AiQ2Vv2lbZVxEdRCN8XSERiWlOWa2cTDLnpAId78EnCtx4HLKYQSd+Jk9Y4BgO35R79mchK4iG+w6gZ+ukG2bg== + dependencies: + "@polkadot/util" "^12.6.2" + "@polkadot/x-bigint" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-create@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/types-create/-/types-create-10.13.1.tgz" + integrity sha512-Usn1jqrz35SXgCDAqSXy7mnD6j4RvB4wyzTAZipFA6DGmhwyxxIgOzlWQWDb+1PtPKo9vtMzen5IJ+7w5chIeA== + dependencies: + "@polkadot/types-codec" "10.13.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-create@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/types-create/-/types-create-11.3.1.tgz" + integrity sha512-pBXtpz5FehcRJ6j5MzFUIUN8ZWM7z6HbqK1GxBmYbJVRElcGcOg7a/rL2pQVphU0Rx1E8bSO4thzGf4wUxSX7w== + dependencies: + "@polkadot/types-codec" "11.3.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-known@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/types-known/-/types-known-10.13.1.tgz" + integrity sha512-uHjDW05EavOT5JeU8RbiFWTgPilZ+odsCcuEYIJGmK+es3lk/Qsdns9Zb7U7NJl7eJ6OWmRtyrWsLs+bU+jjIQ== + dependencies: + "@polkadot/networks" "^12.6.2" + "@polkadot/types" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/types-create" "10.13.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-known@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/types-known/-/types-known-11.3.1.tgz" + integrity sha512-3BIof7u6tn9bk3ZCIxA07iNoQ3uj4+vn3DTOjCKECozkRlt6V+kWRvqh16Hc0SHMg/QjcMb2fIu/WZhka1McUQ== + dependencies: + "@polkadot/networks" "^12.6.2" + "@polkadot/types" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/types-create" "11.3.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-support@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/types-support/-/types-support-10.13.1.tgz" + integrity sha512-4gEPfz36XRQIY7inKq0HXNVVhR6HvXtm7yrEmuBuhM86LE0lQQBkISUSgR358bdn2OFSLMxMoRNoh3kcDvdGDQ== + dependencies: + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types-support@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/types-support/-/types-support-11.3.1.tgz" + integrity sha512-jTFz1GKyF7nI29yIOq4v0NiWTOf5yX4HahJNeFD8TcxoLhF+6tH/XXqrUXJEfbaTlSrRWiW1LZYlb+snctqKHA== + dependencies: + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + +"@polkadot/types@^10.12.4", "@polkadot/types@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@polkadot/types/-/types-10.13.1.tgz" + integrity sha512-Hfvg1ZgJlYyzGSAVrDIpp3vullgxrjOlh/CSThd/PI4TTN1qHoPSFm2hs77k3mKkOzg+LrWsLE0P/LP2XddYcw== + dependencies: + "@polkadot/keyring" "^12.6.2" + "@polkadot/types-augment" "10.13.1" + "@polkadot/types-codec" "10.13.1" + "@polkadot/types-create" "10.13.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/types@^11.3.1", "@polkadot/types@11.3.1": + version "11.3.1" + resolved "https://registry.npmjs.org/@polkadot/types/-/types-11.3.1.tgz" + integrity sha512-5c7uRFXQTT11Awi6T0yFIdAfD6xGDAOz06Kp7M5S9OGNZY28wSPk5x6BYfNphWPaIBmHHewYJB5qmnrdYQAWKQ== + dependencies: + "@polkadot/keyring" "^12.6.2" + "@polkadot/types-augment" "11.3.1" + "@polkadot/types-codec" "11.3.1" + "@polkadot/types-create" "11.3.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + +"@polkadot/util-crypto@^12.2.1", "@polkadot/util-crypto@^12.6.2", "@polkadot/util-crypto@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-12.6.2.tgz" + integrity sha512-FEWI/dJ7wDMNN1WOzZAjQoIcCP/3vz3wvAp5QQm+lOrzOLj0iDmaIGIcBkz8HVm3ErfSe/uKP0KS4jgV/ib+Mg== dependencies: "@noble/curves" "^1.3.0" "@noble/hashes" "^1.3.3" - "@polkadot/networks" "13.0.2" - "@polkadot/util" "13.0.2" + "@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" "13.0.2" - "@polkadot/x-randomvalues" "13.0.2" + "@polkadot/x-bigint" "12.6.2" + "@polkadot/x-randomvalues" "12.6.2" "@scure/base" "^1.1.5" tslib "^2.6.2" -"@polkadot/util@*", "@polkadot/util@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/util/-/util-13.0.2.tgz" - integrity sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg== - dependencies: - "@polkadot/x-bigint" "13.0.2" - "@polkadot/x-global" "13.0.2" - "@polkadot/x-textdecoder" "13.0.2" - "@polkadot/x-textencoder" "13.0.2" +"@polkadot/util-crypto@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-12.2.1.tgz" + integrity sha512-MFh7Sdm7/G9ot5eIBZGuQXTYP/EbOCh1+ODyygp9/TjWAmJZMq1J73Uqk4KmzkwpDBpNZO8TGjiYwL8lR6BnGg== + dependencies: + "@noble/curves" "1.0.0" + "@noble/hashes" "1.3.0" + "@polkadot/networks" "12.2.1" + "@polkadot/util" "12.2.1" + "@polkadot/wasm-crypto" "^7.2.1" + "@polkadot/wasm-util" "^7.2.1" + "@polkadot/x-bigint" "12.2.1" + "@polkadot/x-randomvalues" "12.2.1" + "@scure/base" "1.1.1" + tslib "^2.5.0" + +"@polkadot/util@*", "@polkadot/util@^12.2.1", "@polkadot/util@^12.6.2", "@polkadot/util@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/util/-/util-12.6.2.tgz" + integrity sha512-l8TubR7CLEY47240uki0TQzFvtnxFIO7uI/0GoWzpYD/O62EIAMRsuY01N4DuwgKq2ZWD59WhzsLYmA5K6ksdw== + 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" +"@polkadot/util@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/util/-/util-12.2.1.tgz" + integrity sha512-MQmPx9aCX4GTpDY/USUQywXRyaDbaibg4V1+c/CoRTsoDu+XHNM8G3lpabdNAYKZrtxg+3/1bTS0ojm6ANSQRw== + dependencies: + "@polkadot/x-bigint" "12.2.1" + "@polkadot/x-global" "12.2.1" + "@polkadot/x-textdecoder" "12.2.1" + "@polkadot/x-textencoder" "12.2.1" + "@types/bn.js" "^5.1.1" + bn.js "^5.2.1" + tslib "^2.5.0" + "@polkadot/wasm-bridge@7.3.2": version "7.3.2" resolved "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-7.3.2.tgz" @@ -1043,7 +1566,7 @@ "@polkadot/wasm-util" "7.3.2" tslib "^2.6.2" -"@polkadot/wasm-crypto@^7.3.2": +"@polkadot/wasm-crypto@^7.2.1", "@polkadot/wasm-crypto@^7.3.2": version "7.3.2" resolved "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-7.3.2.tgz" integrity sha512-+neIDLSJ6jjVXsjyZ5oLSv16oIpwp+PxFqTUaZdZDoA2EyFRQB8pP7+qLsMNk+WJuhuJ4qXil/7XiOnZYZ+wxw== @@ -1055,52 +1578,109 @@ "@polkadot/wasm-util" "7.3.2" tslib "^2.6.2" -"@polkadot/wasm-util@*", "@polkadot/wasm-util@^7.3.2", "@polkadot/wasm-util@7.3.2": +"@polkadot/wasm-util@*", "@polkadot/wasm-util@^7.2.1", "@polkadot/wasm-util@^7.3.2", "@polkadot/wasm-util@7.3.2": version "7.3.2" resolved "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-7.3.2.tgz" integrity sha512-bmD+Dxo1lTZyZNxbyPE380wd82QsX+43mgCm40boyKrRppXEyQmWT98v/Poc7chLuskYb6X8IQ6lvvK2bGR4Tg== dependencies: tslib "^2.6.2" -"@polkadot/x-bigint@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-13.0.2.tgz" - integrity sha512-h2jKT/UaxiEal8LhQeH6+GCjO7GwEqVAD2SNYteCOXff6yNttqAZYJuHZsndbVjVNwqRNf8D5q/zZkD0HUd6xQ== +"@polkadot/x-bigint@^12.6.2", "@polkadot/x-bigint@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-12.6.2.tgz" + integrity sha512-HSIk60uFPX4GOFZSnIF7VYJz7WZA7tpFJsne7SzxOooRwMTWEtw3fUpFy5cYYOeLh17/kHH1Y7SVcuxzVLc74Q== dependencies: - "@polkadot/x-global" "13.0.2" + "@polkadot/x-global" "12.6.2" tslib "^2.6.2" -"@polkadot/x-global@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.0.2.tgz" - integrity sha512-OoNIXLB5y8vIKpk4R+XmpDPhipNXWSUvEwUnpQT7NAxNLmzgMq1FhbrwBWWPRNHPrQonp7mqxV/X+v5lv1HW/g== +"@polkadot/x-bigint@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-12.2.1.tgz" + integrity sha512-3cZLsV8kU1MFOTcyloeg61CF+qdBkbZxWZJkSjh4AGlPXy+2tKwwoBPExxfCWXK61+Lo/q3/U1+lln8DSBCI2A== dependencies: + "@polkadot/x-global" "12.2.1" + tslib "^2.5.0" + +"@polkadot/x-fetch@^12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-12.6.2.tgz" + integrity sha512-8wM/Z9JJPWN1pzSpU7XxTI1ldj/AfC8hKioBlUahZ8gUiJaOF7K9XEFCrCDLis/A1BoOu7Ne6WMx/vsJJIbDWw== + dependencies: + "@polkadot/x-global" "12.6.2" + node-fetch "^3.3.2" tslib "^2.6.2" -"@polkadot/x-randomvalues@*", "@polkadot/x-randomvalues@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-13.0.2.tgz" - integrity sha512-SGj+L0H/7TWZtSmtkWlixO4DFzXDdluI0UscN2h285os2Ns8PnmBbue+iJ8PVSzpY1BOxd66gvkkpboPz+jXFQ== +"@polkadot/x-global@^12.6.2", "@polkadot/x-global@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-global/-/x-global-12.6.2.tgz" + integrity sha512-a8d6m+PW98jmsYDtAWp88qS4dl8DyqUBsd0S+WgyfSMtpEXu6v9nXDgPZgwF5xdDvXhm+P0ZfVkVTnIGrScb5g== dependencies: - "@polkadot/x-global" "13.0.2" tslib "^2.6.2" -"@polkadot/x-textdecoder@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-13.0.2.tgz" - integrity sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA== +"@polkadot/x-global@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/x-global/-/x-global-12.2.1.tgz" + integrity sha512-JNMziAZjvfzMrXASuBPCvSzEqlhsgw0x95SOBtqJWsxmbCMAiZbYAC51vI1B9Z9wiKuzPtSh9Sk7YHsUOGCrIQ== dependencies: - "@polkadot/x-global" "13.0.2" + tslib "^2.5.0" + +"@polkadot/x-randomvalues@*", "@polkadot/x-randomvalues@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-12.6.2.tgz" + integrity sha512-Vr8uG7rH2IcNJwtyf5ebdODMcr0XjoCpUbI91Zv6AlKVYOGKZlKLYJHIwpTaKKB+7KPWyQrk4Mlym/rS7v9feg== + dependencies: + "@polkadot/x-global" "12.6.2" tslib "^2.6.2" -"@polkadot/x-textencoder@13.0.2": - version "13.0.2" - resolved "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-13.0.2.tgz" - integrity sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw== +"@polkadot/x-randomvalues@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-12.2.1.tgz" + integrity sha512-NwSDLcLjgHa0C7Un54Yhg2/E3Y/PcVfW5QNB9TDyzDbkmod3ziaVhh0iWG0sOmm26K6Q3phY+0uYt0etq0Gu3w== + dependencies: + "@polkadot/x-global" "12.2.1" + tslib "^2.5.0" + +"@polkadot/x-textdecoder@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-12.2.1.tgz" + integrity sha512-5nQCIwyaGS0fXU2cbtMOSjFo0yTw1Z94m/UC+Gu5lm3ZU+kK4DpKFxhfLQORWAbvQkn12chRj3LI5Gm944hcrQ== + dependencies: + "@polkadot/x-global" "12.2.1" + tslib "^2.5.0" + +"@polkadot/x-textdecoder@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-12.6.2.tgz" + integrity sha512-M1Bir7tYvNappfpFWXOJcnxUhBUFWkUFIdJSyH0zs5LmFtFdbKAeiDXxSp2Swp5ddOZdZgPac294/o2TnQKN1w== dependencies: - "@polkadot/x-global" "13.0.2" + "@polkadot/x-global" "12.6.2" tslib "^2.6.2" +"@polkadot/x-textencoder@12.2.1": + version "12.2.1" + resolved "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-12.2.1.tgz" + integrity sha512-Ou6OXypRsJloK5a7Kn7re3ImqcL26h22fVw1cNv4fsTgkRFUdJDgPux2TpCZ3N+cyrfGVv42xKYFbdKMQCczjg== + dependencies: + "@polkadot/x-global" "12.2.1" + tslib "^2.5.0" + +"@polkadot/x-textencoder@12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-12.6.2.tgz" + integrity sha512-4N+3UVCpI489tUJ6cv3uf0PjOHvgGp9Dl+SZRLgFGt9mvxnvpW/7+XBADRMtlG4xi5gaRK7bgl5bmY6OMDsNdw== + dependencies: + "@polkadot/x-global" "12.6.2" + tslib "^2.6.2" + +"@polkadot/x-ws@^12.6.2": + version "12.6.2" + resolved "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-12.6.2.tgz" + integrity sha512-cGZWo7K5eRRQCRl2LrcyCYsrc3lRbTlixZh3AzgU8uX4wASVGRlNWi/Hf4TtHNe1ExCDmxabJzdIsABIfrr7xw== + dependencies: + "@polkadot/x-global" "12.6.2" + tslib "^2.6.2" + ws "^8.15.1" + "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" @@ -1154,11 +1734,16 @@ resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@scure/base@^1.1.5", "@scure/base@~1.1.6": +"@scure/base@^1.1.1", "@scure/base@^1.1.5", "@scure/base@~1.1.6": version "1.1.7" resolved "https://registry.npmjs.org/@scure/base/-/base-1.1.7.tgz" integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g== +"@scure/base@1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz" + integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== + "@scure/bip32@1.4.0": version "1.4.0" resolved "https://registry.npmjs.org/@scure/bip32/-/bip32-1.4.0.tgz" @@ -1323,7 +1908,63 @@ rpc-websockets "^9.0.0" superstruct "^1.0.4" -"@substrate/ss58-registry@^1.46.0": +"@substrate/connect-extension-protocol@^2.0.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-2.1.0.tgz" + integrity sha512-Wz5Cbn6S6P4vWfHyrsnPW7g15IAViMaXCk+jYkq4nNEMmzPtTKIEbtxrdDMBKrouOFtYKKp0znx5mh9KTCNqlA== + +"@substrate/connect-known-chains@^1.1.1", "@substrate/connect-known-chains@^1.1.4": + version "1.4.0" + resolved "https://registry.npmjs.org/@substrate/connect-known-chains/-/connect-known-chains-1.4.0.tgz" + integrity sha512-p/mxn1GobtxJ+7xbIkUH4+/njH1neRHHKTcSGHNOC78Cf6Ch1Xzp082+nMjOBDLQLmraK5PF74AKV3WXHGuALw== + +"@substrate/connect@0.8.10": + version "0.8.10" + resolved "https://registry.npmjs.org/@substrate/connect/-/connect-0.8.10.tgz" + integrity sha512-DIyQ13DDlXqVFnLV+S6/JDgiGowVRRrh18kahieJxhgvzcWicw5eLc6jpfQ0moVVLBYkO7rctB5Wreldwpva8w== + dependencies: + "@substrate/connect-extension-protocol" "^2.0.0" + "@substrate/connect-known-chains" "^1.1.4" + "@substrate/light-client-extension-helpers" "^0.0.6" + smoldot "2.0.22" + +"@substrate/connect@0.8.8": + version "0.8.8" + resolved "https://registry.npmjs.org/@substrate/connect/-/connect-0.8.8.tgz" + integrity sha512-zwaxuNEVI9bGt0rT8PEJiXOyebLIo6QN1SyiAHRPBOl6g3Sy0KKdSN8Jmyn++oXhVRD8aIe75/V8ZkS81T+BPQ== + 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" + +"@substrate/light-client-extension-helpers@^0.0.4": + version "0.0.4" + resolved "https://registry.npmjs.org/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-0.0.4.tgz" + integrity sha512-vfKcigzL0SpiK+u9sX6dq2lQSDtuFLOxIJx2CKPouPEHIs8C+fpsufn52r19GQn+qDhU8POMPHOVoqLktj8UEA== + 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" + +"@substrate/light-client-extension-helpers@^0.0.6": + version "0.0.6" + resolved "https://registry.npmjs.org/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-0.0.6.tgz" + integrity sha512-girltEuxQ1BvkJWmc8JJlk4ZxnlGXc/wkLcNguhY+UoDEMBK0LsdtfzQKIfrIehi4QdeSBlFEFBoI4RqPmsZzA== + dependencies: + "@polkadot-api/json-rpc-provider" "0.0.1" + "@polkadot-api/json-rpc-provider-proxy" "0.0.1" + "@polkadot-api/observable-client" "0.1.0" + "@polkadot-api/substrate-client" "0.0.1" + "@substrate/connect-extension-protocol" "^2.0.0" + "@substrate/connect-known-chains" "^1.1.4" + rxjs "^7.8.1" + +"@substrate/ss58-registry@^1.40.0", "@substrate/ss58-registry@^1.44.0": version "1.50.0" resolved "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.50.0.tgz" integrity sha512-mkmlMlcC+MSd9rA+PN8ljGAm5fVZskvVwkXIsbx4NFwaT8kt38r7e9cyDWscG3z2Zn40POviZvEMrJSk+r2SgQ== @@ -2416,6 +3057,11 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" +data-uri-to-buffer@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz" + integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== + debug@^2.2.0, debug@2.6.9: version "2.6.9" resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" @@ -2949,6 +3595,14 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + file-uri-to-path@1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz" @@ -3029,6 +3683,13 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + forwarded@0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz" @@ -4272,6 +4933,11 @@ mock-fs@^4.1.0: resolved "https://registry.npmjs.org/mock-fs/-/mock-fs-4.14.0.tgz" integrity sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw== +mock-socket@^9.3.1: + version "9.3.1" + resolved "https://registry.npmjs.org/mock-socket/-/mock-socket-9.3.1.tgz" + integrity sha512-qxBgB7Qa2sEQgHFjj0dSigq7fX4k6Saisd5Nelwp2q8mlbAFh5dHV9JTTlF8viYJLSSWgMCZFUom8PJcMNBoJw== + ms@^2.0.0, ms@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" @@ -4355,11 +5021,25 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" +nock@^13.5.0: + version "13.5.5" + resolved "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz" + integrity sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA== + dependencies: + debug "^4.1.0" + json-stringify-safe "^5.0.1" + propagate "^2.0.0" + node-addon-api@^2.0.0: version "2.0.2" resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + node-fetch@^2.6.12, node-fetch@^2.7.0: version "2.7.0" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz" @@ -4367,6 +5047,15 @@ node-fetch@^2.6.12, node-fetch@^2.7.0: dependencies: whatwg-url "^5.0.0" +node-fetch@^3.3.2: + version "3.3.2" + resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz" + integrity sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: version "4.8.1" resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.1.tgz" @@ -4611,6 +5300,11 @@ prompts@^2.0.1: kleur "^3.0.3" sisteransi "^1.0.5" +propagate@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz" + integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag== + protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: version "6.11.4" resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz" @@ -4843,6 +5537,13 @@ rpc-websockets@^9.0.0: bufferutil "^4.0.1" utf-8-validate "^5.0.2" +rxjs@^7.8.1, rxjs@>=7.8.0: + version "7.8.1" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== + dependencies: + tslib "^2.1.0" + safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0, safe-buffer@5.2.1: version "5.2.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" @@ -4858,6 +5559,11 @@ safer-buffer@^2.0.2, safer-buffer@^2.1.0, "safer-buffer@>= 2.1.2 < 3", safer-buf resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== +scale-ts@^1.6.0: + version "1.6.0" + resolved "https://registry.npmjs.org/scale-ts/-/scale-ts-1.6.0.tgz" + integrity sha512-Ja5VCjNZR8TGKhUumy9clVVxcDpM+YFjAnkMuwQy68Hixio3VRRvWdE3g8T/yC+HXA0ZDQl2TGyUmtmbcVl40Q== + scrypt-js@^3.0.0, scrypt-js@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz" @@ -5008,6 +5714,13 @@ slash@^3.0.0: resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +smoldot@2.0.22, smoldot@2.x: + version "2.0.22" + resolved "https://registry.npmjs.org/smoldot/-/smoldot-2.0.22.tgz" + integrity sha512-B50vRgTY6v3baYH6uCgL15tfaag5tcS2o/P5q1OiXcKGv1axZDfz2dzzMuIkVpyMR2ug11F6EAtQlmYBQd292g== + dependencies: + ws "^8.8.1" + snake-case@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz" @@ -5288,7 +6001,7 @@ ts-node@^10.9.2, ts-node@>=9.0.0: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -tslib@^2.0.3, tslib@^2.4.0, tslib@^2.6.2: +tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.2: version "2.6.3" resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz" integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== @@ -5473,6 +6186,11 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" +web-streams-polyfill@^3.0.3: + version "3.3.3" + resolved "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz" + integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw== + web3-bzz@1.10.4: version "1.10.4" resolved "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.10.4.tgz" @@ -6020,11 +6738,21 @@ ws@^3.0.0: safe-buffer "~5.1.0" ultron "~1.1.0" +ws@^8.15.1: + version "8.18.0" + resolved "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz" + integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw== + ws@^8.5.0: version "8.17.1" resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz" integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== +ws@^8.8.1: + version "8.18.0" + resolved "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz" + integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw== + xhr-request-promise@^0.1.2: version "0.1.3" resolved "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz"