Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/c0/64503ded70a70b68a8112114abf02696d2b3bf345a4ecb6333ce89cf16362a3a8a0dcb
T
2025-10-24 02:48:32 +00:00

1 line
2.5 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":[[7,2,1,0,"exports"],[7,9,1,0],[7,10,1,0,"filterBountiesProposals"],[7,33,1,0],[7,36,1,0,"filterBountiesProposals"],[7,59,1,0],[8,2,1,7],[8,11,1,16,"filterBountiesProposals"],[8,34,1,39,"filterBountiesProposals"],[8,35,1,40,"api"],[8,38,1,43],[8,40,1,45,"allProposals"],[8,52,1,57],[8,54,1,59],[9,4,2,4],[9,10,2,10,"bountyTxBase"],[9,22,2,22],[9,25,2,25,"api"],[9,28,2,28],[9,29,2,29,"tx"],[9,31,2,31],[9,32,2,32,"bounties"],[9,40,2,40],[9,43,2,43,"api"],[9,46,2,46],[9,47,2,47,"tx"],[9,49,2,49],[9,50,2,50,"bounties"],[9,58,2,58],[9,61,2,61,"api"],[9,64,2,64],[9,65,2,65,"tx"],[9,67,2,67],[9,68,2,68,"treasury"],[9,76,2,76],[10,4,3,4],[10,10,3,10,"bountyProposalCalls"],[10,29,3,29],[10,32,3,32],[10,33,3,33,"bountyTxBase"],[10,45,3,45],[10,46,3,46,"approveBounty"],[10,59,3,59],[10,61,3,61,"bountyTxBase"],[10,73,3,73],[10,74,3,74,"closeBounty"],[10,85,3,85],[10,87,3,87,"bountyTxBase"],[10,99,3,99],[10,100,3,100,"proposeCurator"],[10,114,3,114],[10,116,3,116,"bountyTxBase"],[10,128,3,128],[10,129,3,129,"unassignCurator"],[10,144,3,144],[10,145,3,145],[11,4,4,4],[11,11,4,11,"allProposals"],[11,23,4,23],[11,24,4,24,"filter"],[11,30,4,30],[11,31,4,32,"proposal"],[11,39,4,40],[11,43,4,45,"bountyProposalCalls"],[11,62,4,64],[11,63,4,65,"find"],[11,67,4,69],[11,68,4,71,"bountyCall"],[11,78,4,81],[11,82,4,86,"proposal"],[11,90,4,94],[11,91,4,95,"proposal"],[11,99,4,103],[11,103,4,107,"bountyCall"],[11,113,4,117],[11,114,4,118,"is"],[11,116,4,120],[11,117,4,121,"proposal"],[11,125,4,129],[11,126,4,130,"proposal"],[11,134,4,138],[11,135,4,139],[11,136,4,140],[11,137,4,141],[12,2,5,0],[13,0,5,1],[13,3]],"functionMap":{"names":["<global>","filterBountiesProposals","allProposals.filter$argument_0","bountyProposalCalls.find$argument_0"],"mappings":"AAA,OC;+BCG,uCC,qED,CD;CDC"},"hasCjsExports":false},"type":"js/module"}]}