mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
24 KiB
Plaintext
1 line
24 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":22,"index":145},"end":{"line":4,"column":54,"index":177}}],"key":"fW1yxuTjZe66ggmM4ihNuGjKSV0=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":15,"index":194},"end":{"line":5,"column":40,"index":219}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"../constants.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":23,"index":244},"end":{"line":6,"column":49,"index":270}}],"key":"o8tP4LNoHC5fuOXdC7/eBrJRbQA=","exportNames":["*"],"imports":1}},{"name":"./ExtrinsicPayload.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":7,"column":30,"index":302},"end":{"line":7,"column":62,"index":334}}],"key":"0qFP6rIV8bBCvDVN+QmFlV9O6xE=","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.GenericExtrinsicSignatureV4 = void 0;\n const types_codec_1 = require(_dependencyMap[0], \"@polkadot/types-codec\");\n const util_1 = require(_dependencyMap[1], \"@polkadot/util\");\n const constants_js_1 = require(_dependencyMap[2], \"../constants.js\");\n const ExtrinsicPayload_js_1 = require(_dependencyMap[3], \"./ExtrinsicPayload.js\");\n const FAKE_SIGNATURE = new Uint8Array(256).fill(1);\n function toAddress(registry, address) {\n return registry.createTypeUnsafe('Address', [(0, util_1.isU8a)(address) ? (0, util_1.u8aToHex)(address) : address]);\n }\n /**\n * @name GenericExtrinsicSignatureV4\n * @description\n * A container for the [[Signature]] associated with a specific [[Extrinsic]]\n */\n class GenericExtrinsicSignatureV4 extends types_codec_1.Struct {\n #signKeys;\n constructor(registry, value, {\n isSigned\n } = {}) {\n const signTypes = registry.getSignedExtensionTypes();\n super(registry, (0, util_1.objectSpread)(\n // eslint-disable-next-line sort-keys\n {\n signer: 'Address',\n signature: 'ExtrinsicSignature'\n }, signTypes), GenericExtrinsicSignatureV4.decodeExtrinsicSignature(value, isSigned));\n this.#signKeys = Object.keys(signTypes);\n (0, util_1.objectProperties)(this, this.#signKeys, k => this.get(k));\n }\n /** @internal */\n static decodeExtrinsicSignature(value, isSigned = false) {\n if (!value) {\n return constants_js_1.EMPTY_U8A;\n } else if (value instanceof GenericExtrinsicSignatureV4) {\n return value;\n }\n return isSigned ? value : constants_js_1.EMPTY_U8A;\n }\n /**\n * @description The length of the value when encoded as a Uint8Array\n */\n get encodedLength() {\n return this.isSigned ? super.encodedLength : 0;\n }\n /**\n * @description `true` if the signature is valid\n */\n get isSigned() {\n return !this.signature.isEmpty;\n }\n /**\n * @description The [[ExtrinsicEra]] (mortal or immortal) this signature applies to\n */\n get era() {\n return this.getT('era');\n }\n /**\n * @description The [[Index]] for the signature\n */\n get nonce() {\n return this.getT('nonce');\n }\n /**\n * @description The actual [[EcdsaSignature]], [[Ed25519Signature]] or [[Sr25519Signature]]\n */\n get signature() {\n // the second case here is when we don't have an enum signature, treat as raw\n return this.multiSignature.value || this.multiSignature;\n }\n /**\n * @description The raw [[ExtrinsicSignature]]\n */\n get multiSignature() {\n return this.getT('signature');\n }\n /**\n * @description The [[Address]] that signed\n */\n get signer() {\n return this.getT('signer');\n }\n /**\n * @description The [[Balance]] tip\n */\n get tip() {\n return this.getT('tip');\n }\n /**\n * @description The [[u32]] or [[MultiLocation]] assetId\n */\n get assetId() {\n return this.getT('assetId');\n }\n /**\n * @description the [[u32]] mode\n */\n get mode() {\n return this.getT('mode');\n }\n /**\n * @description The [[Hash]] for the metadata\n */\n get metadataHash() {\n return this.getT('metadataHash');\n }\n _injectSignature(signer, signature, payload) {\n // use the fields exposed to guide the getters\n for (let i = 0, count = this.#signKeys.length; i < count; i++) {\n const k = this.#signKeys[i];\n const v = payload.get(k);\n if (!(0, util_1.isUndefined)(v)) {\n this.set(k, v);\n }\n }\n // additional fields (exposed in struct itself)\n this.set('signer', signer);\n this.set('signature', signature);\n return this;\n }\n /**\n * @description Adds a raw signature\n */\n addSignature(signer, signature, payload) {\n return this._injectSignature(toAddress(this.registry, signer), this.registry.createTypeUnsafe('ExtrinsicSignature', [signature]), new ExtrinsicPayload_js_1.GenericExtrinsicPayloadV4(this.registry, payload));\n }\n /**\n * @description Creates a payload from the supplied options\n */\n createPayload(method, options) {\n const {\n era,\n runtimeVersion: {\n specVersion,\n transactionVersion\n }\n } = options;\n return new ExtrinsicPayload_js_1.GenericExtrinsicPayloadV4(this.registry, (0, util_1.objectSpread)({}, options, {\n era: era || constants_js_1.IMMORTAL_ERA,\n method: method.toHex(),\n specVersion,\n transactionVersion\n }));\n }\n /**\n * @description Generate a payload and applies the signature from a keypair\n */\n sign(method, account, options) {\n if (!account?.addressRaw) {\n throw new Error(`Expected a valid keypair for signing, found ${(0, util_1.stringify)(account)}`);\n }\n const payload = this.createPayload(method, options);\n return this._injectSignature(toAddress(this.registry, account.addressRaw), this.registry.createTypeUnsafe('ExtrinsicSignature', [payload.sign(account)]), payload);\n }\n /**\n * @description Generate a payload and applies a fake signature\n */\n signFake(method, address, options) {\n if (!address) {\n throw new Error(`Expected a valid address for signing, found ${(0, util_1.stringify)(address)}`);\n }\n const payload = this.createPayload(method, options);\n return this._injectSignature(toAddress(this.registry, address), this.registry.createTypeUnsafe('ExtrinsicSignature', [FAKE_SIGNATURE]), payload);\n }\n /**\n * @description Encodes the value as a Uint8Array as per the SCALE specifications\n * @param isBare true when the value has none of the type-specific prefixes (internal)\n */\n toU8a(isBare) {\n return this.isSigned ? super.toU8a(isBare) : constants_js_1.EMPTY_U8A;\n }\n }\n exports.GenericExtrinsicSignatureV4 = GenericExtrinsicSignatureV4;\n});","lineCount":179,"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,"GenericExtrinsicSignatureV4"],[7,37,3,35],[7,40,3,38],[7,45,3,43],[7,46,3,44],[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],[9,8,5,6,"util_1"],[9,14,5,12],[9,17,5,15,"require"],[9,24,5,22],[9,25,5,22,"_dependencyMap"],[9,39,5,22],[9,60,5,39],[9,61,5,40],[10,2,6,0],[10,8,6,6,"constants_js_1"],[10,22,6,20],[10,25,6,23,"require"],[10,32,6,30],[10,33,6,30,"_dependencyMap"],[10,47,6,30],[10,69,6,48],[10,70,6,49],[11,2,7,0],[11,8,7,6,"ExtrinsicPayload_js_1"],[11,29,7,27],[11,32,7,30,"require"],[11,39,7,37],[11,40,7,37,"_dependencyMap"],[11,54,7,37],[11,82,7,61],[11,83,7,62],[12,2,8,0],[12,8,8,6,"FAKE_SIGNATURE"],[12,22,8,20],[12,25,8,23],[12,29,8,27,"Uint8Array"],[12,39,8,37],[12,40,8,38],[12,43,8,41],[12,44,8,42],[12,45,8,43,"fill"],[12,49,8,47],[12,50,8,48],[12,51,8,49],[12,52,8,50],[13,2,9,0],[13,11,9,9,"toAddress"],[13,20,9,18,"toAddress"],[13,21,9,19,"registry"],[13,29,9,27],[13,31,9,29,"address"],[13,38,9,36],[13,40,9,38],[14,4,10,4],[14,11,10,11,"registry"],[14,19,10,19],[14,20,10,20,"createTypeUnsafe"],[14,36,10,36],[14,37,10,37],[14,46,10,46],[14,48,10,48],[14,49,10,49],[14,50,10,50],[14,51,10,51],[14,53,10,53,"util_1"],[14,59,10,59],[14,60,10,60,"isU8a"],[14,65,10,65],[14,67,10,67,"address"],[14,74,10,74],[14,75,10,75],[14,78,10,78],[14,79,10,79],[14,80,10,80],[14,82,10,82,"util_1"],[14,88,10,88],[14,89,10,89,"u8aToHex"],[14,97,10,97],[14,99,10,99,"address"],[14,106,10,106],[14,107,10,107],[14,110,10,110,"address"],[14,117,10,117],[14,118,10,118],[14,119,10,119],[15,2,11,0],[16,2,12,0],[17,0,13,0],[18,0,14,0],[19,0,15,0],[20,0,16,0],[21,2,17,0],[21,8,17,6,"GenericExtrinsicSignatureV4"],[21,35,17,33],[21,44,17,42,"types_codec_1"],[21,57,17,55],[21,58,17,56,"Struct"],[21,64,17,62],[21,65,17,63],[22,4,18,4],[22,5,18,5,"signKeys"],[22,13,18,13],[23,4,19,4,"constructor"],[23,15,19,15,"constructor"],[23,16,19,16,"registry"],[23,24,19,24],[23,26,19,26,"value"],[23,31,19,31],[23,33,19,33],[24,6,19,35,"isSigned"],[25,4,19,44],[25,5,19,45],[25,8,19,48],[25,9,19,49],[25,10,19,50],[25,12,19,52],[26,6,20,8],[26,12,20,14,"signTypes"],[26,21,20,23],[26,24,20,26,"registry"],[26,32,20,34],[26,33,20,35,"getSignedExtensionTypes"],[26,56,20,58],[26,57,20,59],[26,58,20,60],[27,6,21,8],[27,11,21,13],[27,12,21,14,"registry"],[27,20,21,22],[27,22,21,24],[27,23,21,25],[27,24,21,26],[27,26,21,28,"util_1"],[27,32,21,34],[27,33,21,35,"objectSpread"],[27,45,21,47],[28,6,22,8],[29,6,23,8],[30,8,23,10,"signer"],[30,14,23,16],[30,16,23,18],[30,25,23,27],[31,8,23,29,"signature"],[31,17,23,38],[31,19,23,40],[32,6,23,61],[32,7,23,62],[32,9,23,64,"signTypes"],[32,18,23,73],[32,19,23,74],[32,21,23,76,"GenericExtrinsicSignatureV4"],[32,48,23,103],[32,49,23,104,"decodeExtrinsicSignature"],[32,73,23,128],[32,74,23,129,"value"],[32,79,23,134],[32,81,23,136,"isSigned"],[32,89,23,144],[32,90,23,145],[32,91,23,146],[33,6,24,8],[33,10,24,12],[33,11,24,13],[33,12,24,14,"signKeys"],[33,20,24,22],[33,23,24,25,"Object"],[33,29,24,31],[33,30,24,32,"keys"],[33,34,24,36],[33,35,24,37,"signTypes"],[33,44,24,46],[33,45,24,47],[34,6,25,8],[34,7,25,9],[34,8,25,10],[34,10,25,12,"util_1"],[34,16,25,18],[34,17,25,19,"objectProperties"],[34,33,25,35],[34,35,25,37],[34,39,25,41],[34,41,25,43],[34,45,25,47],[34,46,25,48],[34,47,25,49,"signKeys"],[34,55,25,57],[34,57,25,60,"k"],[34,58,25,61],[34,62,25,66],[34,66,25,70],[34,67,25,71,"get"],[34,70,25,74],[34,71,25,75,"k"],[34,72,25,76],[34,73,25,77],[34,74,25,78],[35,4,26,4],[36,4,27,4],[37,4,28,4],[37,11,28,11,"decodeExtrinsicSignature"],[37,35,28,35,"decodeExtrinsicSignature"],[37,36,28,36,"value"],[37,41,28,41],[37,43,28,43,"isSigned"],[37,51,28,51],[37,54,28,54],[37,59,28,59],[37,61,28,61],[38,6,29,8],[38,10,29,12],[38,11,29,13,"value"],[38,16,29,18],[38,18,29,20],[39,8,30,12],[39,15,30,19,"constants_js_1"],[39,29,30,33],[39,30,30,34,"EMPTY_U8A"],[39,39,30,43],[40,6,31,8],[40,7,31,9],[40,13,32,13],[40,17,32,17,"value"],[40,22,32,22],[40,34,32,34,"GenericExtrinsicSignatureV4"],[40,61,32,61],[40,63,32,63],[41,8,33,12],[41,15,33,19,"value"],[41,20,33,24],[42,6,34,8],[43,6,35,8],[43,13,35,15,"isSigned"],[43,21,35,23],[43,24,36,14,"value"],[43,29,36,19],[43,32,37,14,"constants_js_1"],[43,46,37,28],[43,47,37,29,"EMPTY_U8A"],[43,56,37,38],[44,4,38,4],[45,4,39,4],[46,0,40,0],[47,0,41,0],[48,4,42,4],[48,8,42,8,"encodedLength"],[48,21,42,21,"encodedLength"],[48,22,42,21],[48,24,42,24],[49,6,43,8],[49,13,43,15],[49,17,43,19],[49,18,43,20,"isSigned"],[49,26,43,28],[49,29,44,14],[49,34,44,19],[49,35,44,20,"encodedLength"],[49,48,44,33],[49,51,45,14],[49,52,45,15],[50,4,46,4],[51,4,47,4],[52,0,48,0],[53,0,49,0],[54,4,50,4],[54,8,50,8,"isSigned"],[54,16,50,16,"isSigned"],[54,17,50,16],[54,19,50,19],[55,6,51,8],[55,13,51,15],[55,14,51,16],[55,18,51,20],[55,19,51,21,"signature"],[55,28,51,30],[55,29,51,31,"isEmpty"],[55,36,51,38],[56,4,52,4],[57,4,53,4],[58,0,54,0],[59,0,55,0],[60,4,56,4],[60,8,56,8,"era"],[60,11,56,11,"era"],[60,12,56,11],[60,14,56,14],[61,6,57,8],[61,13,57,15],[61,17,57,19],[61,18,57,20,"getT"],[61,22,57,24],[61,23,57,25],[61,28,57,30],[61,29,57,31],[62,4,58,4],[63,4,59,4],[64,0,60,0],[65,0,61,0],[66,4,62,4],[66,8,62,8,"nonce"],[66,13,62,13,"nonce"],[66,14,62,13],[66,16,62,16],[67,6,63,8],[67,13,63,15],[67,17,63,19],[67,18,63,20,"getT"],[67,22,63,24],[67,23,63,25],[67,30,63,32],[67,31,63,33],[68,4,64,4],[69,4,65,4],[70,0,66,0],[71,0,67,0],[72,4,68,4],[72,8,68,8,"signature"],[72,17,68,17,"signature"],[72,18,68,17],[72,20,68,20],[73,6,69,8],[74,6,70,8],[74,13,70,16],[74,17,70,20],[74,18,70,21,"multiSignature"],[74,32,70,35],[74,33,70,36,"value"],[74,38,70,41],[74,42,70,45],[74,46,70,49],[74,47,70,50,"multiSignature"],[74,61,70,64],[75,4,71,4],[76,4,72,4],[77,0,73,0],[78,0,74,0],[79,4,75,4],[79,8,75,8,"multiSignature"],[79,22,75,22,"multiSignature"],[79,23,75,22],[79,25,75,25],[80,6,76,8],[80,13,76,15],[80,17,76,19],[80,18,76,20,"getT"],[80,22,76,24],[80,23,76,25],[80,34,76,36],[80,35,76,37],[81,4,77,4],[82,4,78,4],[83,0,79,0],[84,0,80,0],[85,4,81,4],[85,8,81,8,"signer"],[85,14,81,14,"signer"],[85,15,81,14],[85,17,81,17],[86,6,82,8],[86,13,82,15],[86,17,82,19],[86,18,82,20,"getT"],[86,22,82,24],[86,23,82,25],[86,31,82,33],[86,32,82,34],[87,4,83,4],[88,4,84,4],[89,0,85,0],[90,0,86,0],[91,4,87,4],[91,8,87,8,"tip"],[91,11,87,11,"tip"],[91,12,87,11],[91,14,87,14],[92,6,88,8],[92,13,88,15],[92,17,88,19],[92,18,88,20,"getT"],[92,22,88,24],[92,23,88,25],[92,28,88,30],[92,29,88,31],[93,4,89,4],[94,4,90,4],[95,0,91,0],[96,0,92,0],[97,4,93,4],[97,8,93,8,"assetId"],[97,15,93,15,"assetId"],[97,16,93,15],[97,18,93,18],[98,6,94,8],[98,13,94,15],[98,17,94,19],[98,18,94,20,"getT"],[98,22,94,24],[98,23,94,25],[98,32,94,34],[98,33,94,35],[99,4,95,4],[100,4,96,4],[101,0,97,0],[102,0,98,0],[103,4,99,4],[103,8,99,8,"mode"],[103,12,99,12,"mode"],[103,13,99,12],[103,15,99,15],[104,6,100,8],[104,13,100,15],[104,17,100,19],[104,18,100,20,"getT"],[104,22,100,24],[104,23,100,25],[104,29,100,31],[104,30,100,32],[105,4,101,4],[106,4,102,4],[107,0,103,0],[108,0,104,0],[109,4,105,4],[109,8,105,8,"metadataHash"],[109,20,105,20,"metadataHash"],[109,21,105,20],[109,23,105,23],[110,6,106,8],[110,13,106,15],[110,17,106,19],[110,18,106,20,"getT"],[110,22,106,24],[110,23,106,25],[110,37,106,39],[110,38,106,40],[111,4,107,4],[112,4,108,4,"_injectSignature"],[112,20,108,20,"_injectSignature"],[112,21,108,21,"signer"],[112,27,108,27],[112,29,108,29,"signature"],[112,38,108,38],[112,40,108,40,"payload"],[112,47,108,47],[112,49,108,49],[113,6,109,8],[114,6,110,8],[114,11,110,13],[114,15,110,17,"i"],[114,16,110,18],[114,19,110,21],[114,20,110,22],[114,22,110,24,"count"],[114,27,110,29],[114,30,110,32],[114,34,110,36],[114,35,110,37],[114,36,110,38,"signKeys"],[114,44,110,46],[114,45,110,47,"length"],[114,51,110,53],[114,53,110,55,"i"],[114,54,110,56],[114,57,110,59,"count"],[114,62,110,64],[114,64,110,66,"i"],[114,65,110,67],[114,67,110,69],[114,69,110,71],[115,8,111,12],[115,14,111,18,"k"],[115,15,111,19],[115,18,111,22],[115,22,111,26],[115,23,111,27],[115,24,111,28,"signKeys"],[115,32,111,36],[115,33,111,37,"i"],[115,34,111,38],[115,35,111,39],[116,8,112,12],[116,14,112,18,"v"],[116,15,112,19],[116,18,112,22,"payload"],[116,25,112,29],[116,26,112,30,"get"],[116,29,112,33],[116,30,112,34,"k"],[116,31,112,35],[116,32,112,36],[117,8,113,12],[117,12,113,16],[117,13,113,17],[117,14,113,18],[117,15,113,19],[117,17,113,21,"util_1"],[117,23,113,27],[117,24,113,28,"isUndefined"],[117,35,113,39],[117,37,113,41,"v"],[117,38,113,42],[117,39,113,43],[117,41,113,45],[118,10,114,16],[118,14,114,20],[118,15,114,21,"set"],[118,18,114,24],[118,19,114,25,"k"],[118,20,114,26],[118,22,114,28,"v"],[118,23,114,29],[118,24,114,30],[119,8,115,12],[120,6,116,8],[121,6,117,8],[122,6,118,8],[122,10,118,12],[122,11,118,13,"set"],[122,14,118,16],[122,15,118,17],[122,23,118,25],[122,25,118,27,"signer"],[122,31,118,33],[122,32,118,34],[123,6,119,8],[123,10,119,12],[123,11,119,13,"set"],[123,14,119,16],[123,15,119,17],[123,26,119,28],[123,28,119,30,"signature"],[123,37,119,39],[123,38,119,40],[124,6,120,8],[124,13,120,15],[124,17,120,19],[125,4,121,4],[126,4,122,4],[127,0,123,0],[128,0,124,0],[129,4,125,4,"addSignature"],[129,16,125,16,"addSignature"],[129,17,125,17,"signer"],[129,23,125,23],[129,25,125,25,"signature"],[129,34,125,34],[129,36,125,36,"payload"],[129,43,125,43],[129,45,125,45],[130,6,126,8],[130,13,126,15],[130,17,126,19],[130,18,126,20,"_injectSignature"],[130,34,126,36],[130,35,126,37,"toAddress"],[130,44,126,46],[130,45,126,47],[130,49,126,51],[130,50,126,52,"registry"],[130,58,126,60],[130,60,126,62,"signer"],[130,66,126,68],[130,67,126,69],[130,69,126,71],[130,73,126,75],[130,74,126,76,"registry"],[130,82,126,84],[130,83,126,85,"createTypeUnsafe"],[130,99,126,101],[130,100,126,102],[130,120,126,122],[130,122,126,124],[130,123,126,125,"signature"],[130,132,126,134],[130,133,126,135],[130,134,126,136],[130,136,126,138],[130,140,126,142,"ExtrinsicPayload_js_1"],[130,161,126,163],[130,162,126,164,"GenericExtrinsicPayloadV4"],[130,187,126,189],[130,188,126,190],[130,192,126,194],[130,193,126,195,"registry"],[130,201,126,203],[130,203,126,205,"payload"],[130,210,126,212],[130,211,126,213],[130,212,126,214],[131,4,127,4],[132,4,128,4],[133,0,129,0],[134,0,130,0],[135,4,131,4,"createPayload"],[135,17,131,17,"createPayload"],[135,18,131,18,"method"],[135,24,131,24],[135,26,131,26,"options"],[135,33,131,33],[135,35,131,35],[136,6,132,8],[136,12,132,14],[137,8,132,16,"era"],[137,11,132,19],[138,8,132,21,"runtimeVersion"],[138,22,132,35],[138,24,132,37],[139,10,132,39,"specVersion"],[139,21,132,50],[140,10,132,52,"transactionVersion"],[141,8,132,71],[142,6,132,73],[142,7,132,74],[142,10,132,77,"options"],[142,17,132,84],[143,6,133,8],[143,13,133,15],[143,17,133,19,"ExtrinsicPayload_js_1"],[143,38,133,40],[143,39,133,41,"GenericExtrinsicPayloadV4"],[143,64,133,66],[143,65,133,67],[143,69,133,71],[143,70,133,72,"registry"],[143,78,133,80],[143,80,133,82],[143,81,133,83],[143,82,133,84],[143,84,133,86,"util_1"],[143,90,133,92],[143,91,133,93,"objectSpread"],[143,103,133,105],[143,105,133,107],[143,106,133,108],[143,107,133,109],[143,109,133,111,"options"],[143,116,133,118],[143,118,133,120],[144,8,134,12,"era"],[144,11,134,15],[144,13,134,17,"era"],[144,16,134,20],[144,20,134,24,"constants_js_1"],[144,34,134,38],[144,35,134,39,"IMMORTAL_ERA"],[144,47,134,51],[145,8,135,12,"method"],[145,14,135,18],[145,16,135,20,"method"],[145,22,135,26],[145,23,135,27,"toHex"],[145,28,135,32],[145,29,135,33],[145,30,135,34],[146,8,136,12,"specVersion"],[146,19,136,23],[147,8,137,12,"transactionVersion"],[148,6,138,8],[148,7,138,9],[148,8,138,10],[148,9,138,11],[149,4,139,4],[150,4,140,4],[151,0,141,0],[152,0,142,0],[153,4,143,4,"sign"],[153,8,143,8,"sign"],[153,9,143,9,"method"],[153,15,143,15],[153,17,143,17,"account"],[153,24,143,24],[153,26,143,26,"options"],[153,33,143,33],[153,35,143,35],[154,6,144,8],[154,10,144,12],[154,11,144,13,"account"],[154,18,144,20],[154,20,144,22,"addressRaw"],[154,30,144,32],[154,32,144,34],[155,8,145,12],[155,14,145,18],[155,18,145,22,"Error"],[155,23,145,27],[155,24,145,28],[155,71,145,75],[155,72,145,76],[155,73,145,77],[155,75,145,79,"util_1"],[155,81,145,85],[155,82,145,86,"stringify"],[155,91,145,95],[155,93,145,97,"account"],[155,100,145,104],[155,101,145,105],[155,103,145,107],[155,104,145,108],[156,6,146,8],[157,6,147,8],[157,12,147,14,"payload"],[157,19,147,21],[157,22,147,24],[157,26,147,28],[157,27,147,29,"createPayload"],[157,40,147,42],[157,41,147,43,"method"],[157,47,147,49],[157,49,147,51,"options"],[157,56,147,58],[157,57,147,59],[158,6,148,8],[158,13,148,15],[158,17,148,19],[158,18,148,20,"_injectSignature"],[158,34,148,36],[158,35,148,37,"toAddress"],[158,44,148,46],[158,45,148,47],[158,49,148,51],[158,50,148,52,"registry"],[158,58,148,60],[158,60,148,62,"account"],[158,67,148,69],[158,68,148,70,"addressRaw"],[158,78,148,80],[158,79,148,81],[158,81,148,83],[158,85,148,87],[158,86,148,88,"registry"],[158,94,148,96],[158,95,148,97,"createTypeUnsafe"],[158,111,148,113],[158,112,148,114],[158,132,148,134],[158,134,148,136],[158,135,148,137,"payload"],[158,142,148,144],[158,143,148,145,"sign"],[158,147,148,149],[158,148,148,150,"account"],[158,155,148,157],[158,156,148,158],[158,157,148,159],[158,158,148,160],[158,160,148,162,"payload"],[158,167,148,169],[158,168,148,170],[159,4,149,4],[160,4,150,4],[161,0,151,0],[162,0,152,0],[163,4,153,4,"signFake"],[163,12,153,12,"signFake"],[163,13,153,13,"method"],[163,19,153,19],[163,21,153,21,"address"],[163,28,153,28],[163,30,153,30,"options"],[163,37,153,37],[163,39,153,39],[164,6,154,8],[164,10,154,12],[164,11,154,13,"address"],[164,18,154,20],[164,20,154,22],[165,8,155,12],[165,14,155,18],[165,18,155,22,"Error"],[165,23,155,27],[165,24,155,28],[165,71,155,75],[165,72,155,76],[165,73,155,77],[165,75,155,79,"util_1"],[165,81,155,85],[165,82,155,86,"stringify"],[165,91,155,95],[165,93,155,97,"address"],[165,100,155,104],[165,101,155,105],[165,103,155,107],[165,104,155,108],[166,6,156,8],[167,6,157,8],[167,12,157,14,"payload"],[167,19,157,21],[167,22,157,24],[167,26,157,28],[167,27,157,29,"createPayload"],[167,40,157,42],[167,41,157,43,"method"],[167,47,157,49],[167,49,157,51,"options"],[167,56,157,58],[167,57,157,59],[168,6,158,8],[168,13,158,15],[168,17,158,19],[168,18,158,20,"_injectSignature"],[168,34,158,36],[168,35,158,37,"toAddress"],[168,44,158,46],[168,45,158,47],[168,49,158,51],[168,50,158,52,"registry"],[168,58,158,60],[168,60,158,62,"address"],[168,67,158,69],[168,68,158,70],[168,70,158,72],[168,74,158,76],[168,75,158,77,"registry"],[168,83,158,85],[168,84,158,86,"createTypeUnsafe"],[168,100,158,102],[168,101,158,103],[168,121,158,123],[168,123,158,125],[168,124,158,126,"FAKE_SIGNATURE"],[168,138,158,140],[168,139,158,141],[168,140,158,142],[168,142,158,144,"payload"],[168,149,158,151],[168,150,158,152],[169,4,159,4],[170,4,160,4],[171,0,161,0],[172,0,162,0],[173,0,163,0],[174,4,164,4,"toU8a"],[174,9,164,9,"toU8a"],[174,10,164,10,"isBare"],[174,16,164,16],[174,18,164,18],[175,6,165,8],[175,13,165,15],[175,17,165,19],[175,18,165,20,"isSigned"],[175,26,165,28],[175,29,166,14],[175,34,166,19],[175,35,166,20,"toU8a"],[175,40,166,25],[175,41,166,26,"isBare"],[175,47,166,32],[175,48,166,33],[175,51,167,14,"constants_js_1"],[175,65,167,28],[175,66,167,29,"EMPTY_U8A"],[175,75,167,38],[176,4,168,4],[177,2,169,0],[178,2,170,0,"exports"],[178,9,170,7],[178,10,170,8,"GenericExtrinsicSignatureV4"],[178,37,170,35],[178,40,170,38,"GenericExtrinsicSignatureV4"],[178,67,170,65],[179,0,170,66],[179,3]],"functionMap":{"names":["<global>","toAddress","GenericExtrinsicSignatureV4","GenericExtrinsicSignatureV4#constructor","<anonymous>","GenericExtrinsicSignatureV4.decodeExtrinsicSignature","GenericExtrinsicSignatureV4#get__encodedLength","GenericExtrinsicSignatureV4#get__isSigned","GenericExtrinsicSignatureV4#get__era","GenericExtrinsicSignatureV4#get__nonce","GenericExtrinsicSignatureV4#get__signature","GenericExtrinsicSignatureV4#get__multiSignature","GenericExtrinsicSignatureV4#get__signer","GenericExtrinsicSignatureV4#get__tip","GenericExtrinsicSignatureV4#get__assetId","GenericExtrinsicSignatureV4#get__mode","GenericExtrinsicSignatureV4#get__metadataHash","GenericExtrinsicSignatureV4#_injectSignature","GenericExtrinsicSignatureV4#addSignature","GenericExtrinsicSignatureV4#createPayload","GenericExtrinsicSignatureV4#sign","GenericExtrinsicSignatureV4#signFake","GenericExtrinsicSignatureV4#toU8a"],"mappings":"AAA;ACQ;CDE;AEM;ICE;2DCM,kBD;KDC;IGE;KHU;III;KJI;IKI;KLE;IMI;KNE;IOI;KPE;IQI;KRG;ISI;KTE;IUI;KVE;IWI;KXE;IYI;KZE;IaI;KbE;IcI;KdE;IeC;Kfa;IgBI;KhBE;IiBI;KjBQ;IkBI;KlBM;ImBI;KnBM;IoBK;KpBI;CFC"},"hasCjsExports":true},"type":"js/module"}]} |