mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 14:31:02 +00:00
1 line
8.3 KiB
Plaintext
1 line
8.3 KiB
Plaintext
{"dependencies":[{"name":"rxjs","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}}],"key":"PnOMrhZAPWoeW3ygrvUJ7ff768Y=","exportNames":["*"],"imports":1}},{"name":"../util/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":32},"end":{"line":2,"column":40,"index":72}}],"key":"GRJlO1cmIj14nBxcasNpiq30og4=","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.fees = fees;\n var _rxjs = require(_dependencyMap[0], \"rxjs\");\n var _utilIndexJs = require(_dependencyMap[1], \"../util/index.js\");\n function queryConstants(api) {\n return (0, _rxjs.of)([\n // deprecated\n api.consts.contracts['callBaseFee'] || api.registry.createType('Balance'), api.consts.contracts['contractFee'] || api.registry.createType('Balance'), api.consts.contracts['creationFee'] || api.registry.createType('Balance'), api.consts.contracts['transactionBaseFee'] || api.registry.createType('Balance'), api.consts.contracts['transactionByteFee'] || api.registry.createType('Balance'), api.consts.contracts['transferFee'] || api.registry.createType('Balance'),\n // current\n api.consts.contracts['rentByteFee'] || api.registry.createType('Balance'), api.consts.contracts['rentDepositOffset'] || api.registry.createType('Balance'), api.consts.contracts['surchargeReward'] || api.registry.createType('Balance'), api.consts.contracts['tombstoneDeposit'] || api.registry.createType('Balance')]);\n }\n /**\n * @name fees\n * @returns An object containing the combined results of the queries for\n * all relevant contract fees as declared in the substrate chain spec.\n * @example\n * ```javascript\n * api.derive.contracts.fees(([creationFee, transferFee]) => {\n * console.log(`The fee for creating a new contract on this chain is ${creationFee} units. The fee required to call this contract is ${transferFee} units.`);\n * });\n * ```\n */\n function fees(instanceId, api) {\n return (0, _utilIndexJs.memo)(instanceId, () => {\n return queryConstants(api).pipe((0, _rxjs.map)(([callBaseFee, contractFee, creationFee, transactionBaseFee, transactionByteFee, transferFee, rentByteFee, rentDepositOffset, surchargeReward, tombstoneDeposit]) => ({\n callBaseFee,\n contractFee,\n creationFee,\n rentByteFee,\n rentDepositOffset,\n surchargeReward,\n tombstoneDeposit,\n transactionBaseFee,\n transactionByteFee,\n transferFee\n })));\n });\n }\n});","lineCount":44,"map":[[7,2,30,0,"exports"],[7,9,30,0],[7,10,30,0,"fees"],[7,14,30,0],[7,17,30,0,"fees"],[7,21,30,0],[8,2,1,0],[8,6,1,0,"_rxjs"],[8,11,1,0],[8,14,1,0,"require"],[8,21,1,0],[8,22,1,0,"_dependencyMap"],[8,36,1,0],[9,2,2,0],[9,6,2,0,"_utilIndexJs"],[9,18,2,0],[9,21,2,0,"require"],[9,28,2,0],[9,29,2,0,"_dependencyMap"],[9,43,2,0],[10,2,3,0],[10,11,3,9,"queryConstants"],[10,25,3,23,"queryConstants"],[10,26,3,24,"api"],[10,29,3,27],[10,31,3,29],[11,4,4,4],[11,11,4,11],[11,15,4,11,"of"],[11,20,4,13],[11,21,4,13,"of"],[11,23,4,13],[11,25,4,14],[12,4,5,8],[13,4,6,8,"api"],[13,7,6,11],[13,8,6,12,"consts"],[13,14,6,18],[13,15,6,19,"contracts"],[13,24,6,28],[13,25,6,29],[13,38,6,42],[13,39,6,43],[13,43,6,47,"api"],[13,46,6,50],[13,47,6,51,"registry"],[13,55,6,59],[13,56,6,60,"createType"],[13,66,6,70],[13,67,6,71],[13,76,6,80],[13,77,6,81],[13,79,7,8,"api"],[13,82,7,11],[13,83,7,12,"consts"],[13,89,7,18],[13,90,7,19,"contracts"],[13,99,7,28],[13,100,7,29],[13,113,7,42],[13,114,7,43],[13,118,7,47,"api"],[13,121,7,50],[13,122,7,51,"registry"],[13,130,7,59],[13,131,7,60,"createType"],[13,141,7,70],[13,142,7,71],[13,151,7,80],[13,152,7,81],[13,154,8,8,"api"],[13,157,8,11],[13,158,8,12,"consts"],[13,164,8,18],[13,165,8,19,"contracts"],[13,174,8,28],[13,175,8,29],[13,188,8,42],[13,189,8,43],[13,193,8,47,"api"],[13,196,8,50],[13,197,8,51,"registry"],[13,205,8,59],[13,206,8,60,"createType"],[13,216,8,70],[13,217,8,71],[13,226,8,80],[13,227,8,81],[13,229,9,8,"api"],[13,232,9,11],[13,233,9,12,"consts"],[13,239,9,18],[13,240,9,19,"contracts"],[13,249,9,28],[13,250,9,29],[13,270,9,49],[13,271,9,50],[13,275,9,54,"api"],[13,278,9,57],[13,279,9,58,"registry"],[13,287,9,66],[13,288,9,67,"createType"],[13,298,9,77],[13,299,9,78],[13,308,9,87],[13,309,9,88],[13,311,10,8,"api"],[13,314,10,11],[13,315,10,12,"consts"],[13,321,10,18],[13,322,10,19,"contracts"],[13,331,10,28],[13,332,10,29],[13,352,10,49],[13,353,10,50],[13,357,10,54,"api"],[13,360,10,57],[13,361,10,58,"registry"],[13,369,10,66],[13,370,10,67,"createType"],[13,380,10,77],[13,381,10,78],[13,390,10,87],[13,391,10,88],[13,393,11,8,"api"],[13,396,11,11],[13,397,11,12,"consts"],[13,403,11,18],[13,404,11,19,"contracts"],[13,413,11,28],[13,414,11,29],[13,427,11,42],[13,428,11,43],[13,432,11,47,"api"],[13,435,11,50],[13,436,11,51,"registry"],[13,444,11,59],[13,445,11,60,"createType"],[13,455,11,70],[13,456,11,71],[13,465,11,80],[13,466,11,81],[14,4,12,8],[15,4,13,8,"api"],[15,7,13,11],[15,8,13,12,"consts"],[15,14,13,18],[15,15,13,19,"contracts"],[15,24,13,28],[15,25,13,29],[15,38,13,42],[15,39,13,43],[15,43,13,47,"api"],[15,46,13,50],[15,47,13,51,"registry"],[15,55,13,59],[15,56,13,60,"createType"],[15,66,13,70],[15,67,13,71],[15,76,13,80],[15,77,13,81],[15,79,14,8,"api"],[15,82,14,11],[15,83,14,12,"consts"],[15,89,14,18],[15,90,14,19,"contracts"],[15,99,14,28],[15,100,14,29],[15,119,14,48],[15,120,14,49],[15,124,14,53,"api"],[15,127,14,56],[15,128,14,57,"registry"],[15,136,14,65],[15,137,14,66,"createType"],[15,147,14,76],[15,148,14,77],[15,157,14,86],[15,158,14,87],[15,160,15,8,"api"],[15,163,15,11],[15,164,15,12,"consts"],[15,170,15,18],[15,171,15,19,"contracts"],[15,180,15,28],[15,181,15,29],[15,198,15,46],[15,199,15,47],[15,203,15,51,"api"],[15,206,15,54],[15,207,15,55,"registry"],[15,215,15,63],[15,216,15,64,"createType"],[15,226,15,74],[15,227,15,75],[15,236,15,84],[15,237,15,85],[15,239,16,8,"api"],[15,242,16,11],[15,243,16,12,"consts"],[15,249,16,18],[15,250,16,19,"contracts"],[15,259,16,28],[15,260,16,29],[15,278,16,47],[15,279,16,48],[15,283,16,52,"api"],[15,286,16,55],[15,287,16,56,"registry"],[15,295,16,64],[15,296,16,65,"createType"],[15,306,16,75],[15,307,16,76],[15,316,16,85],[15,317,16,86],[15,318,17,5],[15,319,17,6],[16,2,18,0],[17,2,19,0],[18,0,20,0],[19,0,21,0],[20,0,22,0],[21,0,23,0],[22,0,24,0],[23,0,25,0],[24,0,26,0],[25,0,27,0],[26,0,28,0],[27,0,29,0],[28,2,30,7],[28,11,30,16,"fees"],[28,15,30,20,"fees"],[28,16,30,21,"instanceId"],[28,26,30,31],[28,28,30,33,"api"],[28,31,30,36],[28,33,30,38],[29,4,31,4],[29,11,31,11],[29,15,31,11,"memo"],[29,27,31,15],[29,28,31,15,"memo"],[29,32,31,15],[29,34,31,16,"instanceId"],[29,44,31,26],[29,46,31,28],[29,52,31,34],[30,6,32,8],[30,13,32,15,"queryConstants"],[30,27,32,29],[30,28,32,30,"api"],[30,31,32,33],[30,32,32,34],[30,33,32,35,"pipe"],[30,37,32,39],[30,38,32,40],[30,42,32,40,"map"],[30,47,32,43],[30,48,32,43,"map"],[30,51,32,43],[30,53,32,44],[30,54,32,45],[30,55,32,46,"callBaseFee"],[30,66,32,57],[30,68,32,59,"contractFee"],[30,79,32,70],[30,81,32,72,"creationFee"],[30,92,32,83],[30,94,32,85,"transactionBaseFee"],[30,112,32,103],[30,114,32,105,"transactionByteFee"],[30,132,32,123],[30,134,32,125,"transferFee"],[30,145,32,136],[30,147,32,138,"rentByteFee"],[30,158,32,149],[30,160,32,151,"rentDepositOffset"],[30,177,32,168],[30,179,32,170,"surchargeReward"],[30,194,32,185],[30,196,32,187,"tombstoneDeposit"],[30,212,32,203],[30,213,32,204],[30,219,32,210],[31,8,33,12,"callBaseFee"],[31,19,33,23],[32,8,34,12,"contractFee"],[32,19,34,23],[33,8,35,12,"creationFee"],[33,19,35,23],[34,8,36,12,"rentByteFee"],[34,19,36,23],[35,8,37,12,"rentDepositOffset"],[35,25,37,29],[36,8,38,12,"surchargeReward"],[36,23,38,27],[37,8,39,12,"tombstoneDeposit"],[37,24,39,28],[38,8,40,12,"transactionBaseFee"],[38,26,40,30],[39,8,41,12,"transactionByteFee"],[39,26,41,30],[40,8,42,12,"transferFee"],[41,6,43,8],[41,7,43,9],[41,8,43,10],[41,9,43,11],[41,10,43,12],[42,4,44,4],[42,5,44,5],[42,6,44,6],[43,2,45,0],[44,0,45,1],[44,3]],"functionMap":{"names":["<global>","queryConstants","fees","memo$argument_1","map$argument_0"],"mappings":"AAA;ACE;CDe;OEY;4BCC;4CCC;UDW;KDC;CFC"},"hasCjsExports":false},"type":"js/module"}]} |