auto-commit for 9f0f8e53-0005-474a-b8c0-62af81dd2fd1

This commit is contained in:
emergent-agent-e1
2025-10-24 02:50:33 +00:00
parent cac3637e68
commit a80510af07
1119 changed files with 1119 additions and 0 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":22,"index":152},"end":{"line":4,"column":54,"index":184}}],"key":"fW1yxuTjZe66ggmM4ihNuGjKSV0=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.MagicNumber = exports.MAGIC_NUMBER = void 0;\n const types_codec_1 = require(_dependencyMap[0], \"@polkadot/types-codec\");\n exports.MAGIC_NUMBER = 0x6174656d; // `meta`, reversed for Little Endian encoding\n class MagicNumber extends types_codec_1.U32 {\n constructor(registry, value) {\n super(registry, value);\n if (!this.isEmpty && !this.eq(exports.MAGIC_NUMBER)) {\n throw new Error(`MagicNumber mismatch: expected ${registry.createTypeUnsafe('u32', [exports.MAGIC_NUMBER]).toHex()}, found ${this.toHex()}`);\n }\n }\n }\n exports.MagicNumber = MagicNumber;\n});","lineCount":19,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"MagicNumber"],[7,21,3,19],[7,24,3,22,"exports"],[7,31,3,29],[7,32,3,30,"MAGIC_NUMBER"],[7,44,3,42],[7,47,3,45],[7,52,3,50],[7,53,3,51],[8,2,4,0],[8,8,4,6,"types_codec_1"],[8,21,4,19],[8,24,4,22,"require"],[8,31,4,29],[8,32,4,29,"_dependencyMap"],[8,46,4,29],[8,74,4,53],[8,75,4,54],[9,2,5,0,"exports"],[9,9,5,7],[9,10,5,8,"MAGIC_NUMBER"],[9,22,5,20],[9,25,5,23],[9,35,5,33],[9,36,5,34],[9,37,5,35],[10,2,6,0],[10,8,6,6,"MagicNumber"],[10,19,6,17],[10,28,6,26,"types_codec_1"],[10,41,6,39],[10,42,6,40,"U32"],[10,45,6,43],[10,46,6,44],[11,4,7,4,"constructor"],[11,15,7,15,"constructor"],[11,16,7,16,"registry"],[11,24,7,24],[11,26,7,26,"value"],[11,31,7,31],[11,33,7,33],[12,6,8,8],[12,11,8,13],[12,12,8,14,"registry"],[12,20,8,22],[12,22,8,24,"value"],[12,27,8,29],[12,28,8,30],[13,6,9,8],[13,10,9,12],[13,11,9,13],[13,15,9,17],[13,16,9,18,"isEmpty"],[13,23,9,25],[13,27,9,29],[13,28,9,30],[13,32,9,34],[13,33,9,35,"eq"],[13,35,9,37],[13,36,9,38,"exports"],[13,43,9,45],[13,44,9,46,"MAGIC_NUMBER"],[13,56,9,58],[13,57,9,59],[13,59,9,61],[14,8,10,12],[14,14,10,18],[14,18,10,22,"Error"],[14,23,10,27],[14,24,10,28],[14,58,10,62,"registry"],[14,66,10,70],[14,67,10,71,"createTypeUnsafe"],[14,83,10,87],[14,84,10,88],[14,89,10,93],[14,91,10,95],[14,92,10,96,"exports"],[14,99,10,103],[14,100,10,104,"MAGIC_NUMBER"],[14,112,10,116],[14,113,10,117],[14,114,10,118],[14,115,10,119,"toHex"],[14,120,10,124],[14,121,10,125],[14,122,10,126],[14,133,10,137],[14,137,10,141],[14,138,10,142,"toHex"],[14,143,10,147],[14,144,10,148],[14,145,10,149],[14,147,10,151],[14,148,10,152],[15,6,11,8],[16,4,12,4],[17,2,13,0],[18,2,14,0,"exports"],[18,9,14,7],[18,10,14,8,"MagicNumber"],[18,21,14,19],[18,24,14,22,"MagicNumber"],[18,35,14,33],[19,0,14,34],[19,3]],"functionMap":{"names":["<global>","MagicNumber","constructor"],"mappings":"AAA;ACK;ICC;KDK;CDC"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"rxjs","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":123},"end":{"line":4,"column":30,"index":138}}],"key":"atDzfUGaJNRNtwyVumomzH/5ygw=","exportNames":["*"],"imports":1}},{"name":"../util/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":159},"end":{"line":5,"column":46,"index":186}}],"key":"H94lp+EitftSFqDHaenrSs5zKB0=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.indexToId = indexToId;\n const rxjs_1 = require(_dependencyMap[0], \"rxjs\");\n const index_js_1 = require(_dependencyMap[1], \"../util/index.js\");\n /**\n * @name indexToId\n * @description Resolves an AccountIndex (short address) to the full AccountId.\n * @param {( AccountIndex | string )} accountIndex An accounts index in different formats.\n * @example\n * ```javascript\n * const ALICE = \"13AU\";\n * const id = await api.derive.accounts.indexToId(ALICE);\n * console.log(id);\n * ```\n */\n function indexToId(instanceId, api) {\n return (0, index_js_1.memo)(instanceId, accountIndex => api.query.indices ? api.query.indices.accounts(accountIndex).pipe((0, rxjs_1.map)(optResult => optResult.unwrapOr([])[0])) : (0, rxjs_1.of)(undefined));\n }\n});","lineCount":24,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"indexToId"],[7,19,3,17],[7,22,3,20,"indexToId"],[7,31,3,29],[8,2,4,0],[8,8,4,6,"rxjs_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,50,4,29],[8,51,4,30],[9,2,5,0],[9,8,5,6,"index_js_1"],[9,18,5,16],[9,21,5,19,"require"],[9,28,5,26],[9,29,5,26,"_dependencyMap"],[9,43,5,26],[9,66,5,45],[9,67,5,46],[10,2,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,0,14,0],[19,0,15,0],[20,0,16,0],[21,2,17,0],[21,11,17,9,"indexToId"],[21,20,17,18,"indexToId"],[21,21,17,19,"instanceId"],[21,31,17,29],[21,33,17,31,"api"],[21,36,17,34],[21,38,17,36],[22,4,18,4],[22,11,18,11],[22,12,18,12],[22,13,18,13],[22,15,18,15,"index_js_1"],[22,25,18,25],[22,26,18,26,"memo"],[22,30,18,30],[22,32,18,32,"instanceId"],[22,42,18,42],[22,44,18,45,"accountIndex"],[22,56,18,57],[22,60,18,62,"api"],[22,63,18,65],[22,64,18,66,"query"],[22,69,18,71],[22,70,18,72,"indices"],[22,77,18,79],[22,80,19,10,"api"],[22,83,19,13],[22,84,19,14,"query"],[22,89,19,19],[22,90,19,20,"indices"],[22,97,19,27],[22,98,19,28,"accounts"],[22,106,19,36],[22,107,19,37,"accountIndex"],[22,119,19,49],[22,120,19,50],[22,121,19,51,"pipe"],[22,125,19,55],[22,126,19,56],[22,127,19,57],[22,128,19,58],[22,130,19,60,"rxjs_1"],[22,136,19,66],[22,137,19,67,"map"],[22,140,19,70],[22,142,19,73,"optResult"],[22,151,19,82],[22,155,19,87,"optResult"],[22,164,19,96],[22,165,19,97,"unwrapOr"],[22,173,19,105],[22,174,19,106],[22,176,19,108],[22,177,19,109],[22,178,19,110],[22,179,19,111],[22,180,19,112],[22,181,19,113],[22,182,19,114],[22,185,20,10],[22,186,20,11],[22,187,20,12],[22,189,20,14,"rxjs_1"],[22,195,20,20],[22,196,20,21,"of"],[22,198,20,23],[22,200,20,25,"undefined"],[22,209,20,34],[22,210,20,35],[22,211,20,36],[23,2,21,0],[24,0,21,1],[24,3]],"functionMap":{"names":["<global>","indexToId","<anonymous>"],"mappings":"AAA;ACgB;4CCC;mCDE;CDC"},"hasCjsExports":true},"type":"js/module"}]}