mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
2.8 KiB
Plaintext
1 line
2.8 KiB
Plaintext
{"dependencies":[],"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.filterBountiesProposals = filterBountiesProposals;\n function filterBountiesProposals(api, allProposals) {\n const bountyTxBase = api.tx.bounties ? api.tx.bounties : api.tx.treasury;\n const bountyProposalCalls = [bountyTxBase.approveBounty, bountyTxBase.closeBounty, bountyTxBase.proposeCurator, bountyTxBase.unassignCurator];\n return allProposals.filter(proposal => bountyProposalCalls.find(bountyCall => proposal.proposal && bountyCall.is(proposal.proposal)));\n }\n});","lineCount":13,"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,"filterBountiesProposals"],[7,33,3,31],[7,36,3,34,"filterBountiesProposals"],[7,59,3,57],[8,2,4,0],[8,11,4,9,"filterBountiesProposals"],[8,34,4,32,"filterBountiesProposals"],[8,35,4,33,"api"],[8,38,4,36],[8,40,4,38,"allProposals"],[8,52,4,50],[8,54,4,52],[9,4,5,4],[9,10,5,10,"bountyTxBase"],[9,22,5,22],[9,25,5,25,"api"],[9,28,5,28],[9,29,5,29,"tx"],[9,31,5,31],[9,32,5,32,"bounties"],[9,40,5,40],[9,43,5,43,"api"],[9,46,5,46],[9,47,5,47,"tx"],[9,49,5,49],[9,50,5,50,"bounties"],[9,58,5,58],[9,61,5,61,"api"],[9,64,5,64],[9,65,5,65,"tx"],[9,67,5,67],[9,68,5,68,"treasury"],[9,76,5,76],[10,4,6,4],[10,10,6,10,"bountyProposalCalls"],[10,29,6,29],[10,32,6,32],[10,33,6,33,"bountyTxBase"],[10,45,6,45],[10,46,6,46,"approveBounty"],[10,59,6,59],[10,61,6,61,"bountyTxBase"],[10,73,6,73],[10,74,6,74,"closeBounty"],[10,85,6,85],[10,87,6,87,"bountyTxBase"],[10,99,6,99],[10,100,6,100,"proposeCurator"],[10,114,6,114],[10,116,6,116,"bountyTxBase"],[10,128,6,128],[10,129,6,129,"unassignCurator"],[10,144,6,144],[10,145,6,145],[11,4,7,4],[11,11,7,11,"allProposals"],[11,23,7,23],[11,24,7,24,"filter"],[11,30,7,30],[11,31,7,32,"proposal"],[11,39,7,40],[11,43,7,45,"bountyProposalCalls"],[11,62,7,64],[11,63,7,65,"find"],[11,67,7,69],[11,68,7,71,"bountyCall"],[11,78,7,81],[11,82,7,86,"proposal"],[11,90,7,94],[11,91,7,95,"proposal"],[11,99,7,103],[11,103,7,107,"bountyCall"],[11,113,7,117],[11,114,7,118,"is"],[11,116,7,120],[11,117,7,121,"proposal"],[11,125,7,129],[11,126,7,130,"proposal"],[11,134,7,138],[11,135,7,139],[11,136,7,140],[11,137,7,141],[12,2,8,0],[13,0,8,1],[13,3]],"functionMap":{"names":["<global>","filterBountiesProposals","allProposals.filter$argument_0","bountyProposalCalls.find$argument_0"],"mappings":"AAA;ACG;+BCG,uCC,qED,CD;CDC"},"hasCjsExports":true},"type":"js/module"}]} |