{"version":3,"sources":["webpack:///./src/components/Common/Chooser.vue?03b0","webpack:///./src/components/Withdraw/Step.vue","webpack:///src/components/Withdraw/Step.vue","webpack:///./src/components/Withdraw/Step.vue?e8f4","webpack:///./src/components/Withdraw/Step.vue?0188","webpack:///./src/components/Common/Chooser.vue","webpack:///src/components/Common/Chooser.vue","webpack:///./src/components/Common/Chooser.vue?1a2d","webpack:///./src/components/Common/Chooser.vue?2da5","webpack:///./src/components/Withdraw/RedemptionBase.vue","webpack:///./src/components/Common/SharedLink.vue","webpack:///src/components/Common/SharedLink.vue","webpack:///./src/components/Common/SharedLink.vue?5af1","webpack:///./src/components/Common/SharedLink.vue?b412","webpack:///./src/components/Withdraw/WithdrawalsFAQ.vue","webpack:///./src/components/Withdraw/QuestionAnswer.vue","webpack:///./src/components/Withdraw/QuestionAnswer.vue?7260","webpack:///src/components/Withdraw/WithdrawalsFAQ.vue","webpack:///./src/components/Withdraw/WithdrawalsFAQ.vue?625f","webpack:///./src/components/Withdraw/WithdrawalsFAQ.vue?c8d3","webpack:///src/components/Withdraw/RedemptionBase.vue","webpack:///./src/components/Withdraw/RedemptionBase.vue?438f","webpack:///./src/components/Withdraw/RedemptionBase.vue?9ee9","webpack:///./src/components/Common/ConnectButton.vue?722e","webpack:///./src/components/Common/DappTxBtn.vue","webpack:///./src/components/Common/SharedButton.vue","webpack:///src/components/Common/SharedButton.vue","webpack:///./src/components/Common/SharedButton.vue?c8de","webpack:///./src/components/Common/SharedButton.vue?940a","webpack:///src/components/Common/DappTxBtn.vue","webpack:///./src/components/Common/DappTxBtn.vue?3705","webpack:///./src/components/Common/DappTxBtn.vue?eb72","webpack:///./src/components/Common/ConnectButton.vue","webpack:///src/components/Common/ConnectButton.vue","webpack:///./src/components/Common/ConnectButton.vue?cf96","webpack:///./src/components/Common/ConnectButton.vue?0ae5","webpack:///./src/components/Withdraw/WithdrawalsFAQ.vue?7f23","webpack:///./src/components/Common/ApproveButton.vue","webpack:///src/components/Common/ApproveButton.vue","webpack:///./src/components/Common/ApproveButton.vue?3252","webpack:///./src/components/Common/ApproveButton.vue?4acc"],"names":["render","_vm","this","_c","_self","staticClass","class","completed","_v","_s","step","title","staticRenderFns","props","type","Number","String","required","Boolean","default","component","_l","routes","route","index","key","id","switch_active","activeRoute","on","$event","onClick","cb","text","name","components","data","parseInt","currentActive","computed","mapGetters","userConnectedWalletAddress","isActive","ethAmt","toWei","amount","methods","attrs","descr","userWalletIsConnected","depositStage","withdrawStage","outputTokenName","_e","stage","userVEth2Balance","div","decimalPlaces","toString","domProps","isNaN","parseFloat","target","value","handleFillMaxAmount","parseBN","outputTokenBalance","userDepositedVEth2","loading","userHasTokenBalance","ABI_vEth2","ABI","getUserApprovedVEth2","userInputIsInvalid","handleDepositVEth2","toLowerCase","contractHasEthAvailable","handleWithdrawEth","handleWithdrawVeth","ethAvailableForWithdrawal","contractVeth2Bal","totalRedeemed","to","_t","scopedSlots","_u","fn","proxy","userBal","veth2Bal","multipliedBy","minus","script","QuestionAnswer","BN","config","ROUNDING_MODE","ROUND_DOWN","EXPONENTIAL_AT","ImageVue","SharedLink","ConnectButton","Step","WithdrawalsFAQ","ApprovalButton","Chooser","DappTxBtn","userApprovedVEth2","virtualPrice","error","dev","routeClickCb","watch","immediate","address","refreshBalances","console","log","gt","userHasApprovedToken","_this$amount","gte","userCanRequestWithdrawal","hasApprovedToken","hasTokenBalance","contractCanFulfillOrder","userCanRedeemEth","amountFieldLowerThanMax","approvalStage","completedStepsCount","state","$router","push","abiCall","deposit","argsArr","redeem","withdraw","allowance","options","call","userVeth2Balance","balanceOf","userEntries","bal","sgETH","window","ethereum","request","method","params","n","getOutputTokenBalance","getUserTokenBalance","getUserDepositedVEth2","getContractVeth2Queue","getEthAvailableForWithdrawal","getTotalRedeemed","disabled","execTx","big","$emit","SharedButton","gasPrices","gasPrice","chosenGas","defaultGas","mounted","getCurrentGasPrices","args","click","wrapTx","senderObj","send","from","maxFeePerGas","maxPriorityFeePerGas","hash","notifyHandler","once","notifyNotification","catch","finally","userAddress","handleConnect","slice","mapActions","setAddress","autoHide","enoughApproved","genProps","wrappedCb","userApproved","getApproved","ABI_token","approve","ABI_spender"],"mappings":"kHAAA,Y,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,mEAAmE,CAACF,EAAG,OAAO,CAACE,YAAY,kEAAkEC,MAAM,CACtP,6BAA8BL,EAAIM,UAClC,iBAAkBN,EAAIM,YACrB,CAACN,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIS,MAAM,OAAOP,EAAG,IAAI,CAACG,MAAM,CAAE,6BAA8BL,EAAIM,YAAa,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIU,aAEzHC,EAAkB,GCWP,GACfC,MAAA,CACAH,KAAA,CACAI,KAAA,CAAAC,OAAAC,QACAC,UAAA,GAEAN,MAAA,CACAG,KAAAE,OACAC,UAAA,GAEAV,UAAA,CACAO,KAAAI,QACAC,SAAA,KC5BmX,I,YCO/WC,EAAY,eACd,EACApB,EACAY,GACA,EACA,KACA,KACA,MAIa,OAAAQ,E,sEClBf,IAAIpB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAUJ,EAAIoB,GAAInB,KAAKoB,QAAQ,SAASC,EAAMC,GAAO,OAAOrB,EAAG,SAAS,CAACsB,IAAIF,EAAMG,GAAGrB,YAAY,SAASC,MAAM,CAAEqB,cAAe1B,EAAI2B,aAAeJ,GAAQK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAO7B,EAAI8B,QAAQP,EAAOD,EAAMS,OAAO,CAAC7B,EAAG,OAAO,CAACF,EAAIO,GAAGP,EAAIQ,GAAGc,EAAMU,cAAa,MAErYrB,EAAkB,G,wBCiBP,GACfsB,KA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AAO,CAAEF,EAAI2L,UAAY3L,EAAI4L,eAA4H5L,EAAIoD,KAAzGlD,EAAG,cAAc,CAAC4C,MAAM,CAAC,MAAQ9C,EAAI6L,SAAS,GAAK7L,EAAI8L,YAAY,CAAC5L,EAAG,OAAO,CAACF,EAAIO,GAAG,gBAAyB,IAErOI,EAAkB,G,yDCgBtBkF,IAAAC,OAAA,CAAAC,cAAAF,IAAAG,aACAH,IAAAC,OAAA,CAAAG,eAAA,MAEe,OACfhE,KAAA,iBACArB,MAAA,qDACAsB,WAAA,CAAAuE,kBACAtE,OACA,OACA4J,aAAAlG,IAAA,KAIAyE,QAAA,uBACA,KAAA0B,eAGAjF,MAAA,CACAvE,2BAAA,CACAwE,WAAA,EACA,sBACA,KAAAgF,iBAKA1J,SAAA,IACAC,eAAA,CAAAC,2BAAA,gBAEAoJ,iBACA,YAAAG,aAAAvE,IAAA,KAAA5E,SAGAF,SACA,YAAAE,OACAD,eAAA,KAAAC,QADA,IAKAC,QAAA,CACAgJ,WACA,OACAzD,QAAA,KAAA6D,UAAApJ,QAAAqJ,QACA5D,QAAA,MAAA6D,YAAAzD,QAAAzB,QAAA,KAAAvE,QACAX,GAAA,KAAA+J,YAIA,wBACA,KAAAE,oBACA,KAAAjK,MAGA,oBACA,IAAAgK,QAAA,KAAAE,UAAApJ,QACA4F,UACA,KAAAjG,2BACA,KAAA2J,YAAAzD,QAAAzB,SAEA0B,OACA,KAAAoD,aAAAlG,IAAAkG,MC9E4X,I,YCOxX5K,EAAY,eACd,EACApB,EACAY,GACA,EACA,KACA,KACA,MAIa,OAAAQ,E","file":"js/chunk-5c0b5416.07c01278.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Chooser.vue?vue&type=style&index=0&id=58d5de69&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex items-center gap-1 text-sm font-semibold whitespace-nowrap\"},[_c('span',{staticClass:\"flex items-center justify-center w-4 h-4 bg-gray-200 rounded-sm\",class:{\n 'bg-green-700 text-gray-100': _vm.completed,\n 'text-gray-900': !_vm.completed,\n }},[_vm._v(\" \"+_vm._s(_vm.step)+\" \")]),_c('p',{class:{ 'line-through text-gray-400': _vm.completed }},[_vm._v(_vm._s(_vm.title))])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Step.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Step.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Step.vue?vue&type=template&id=23a8dcb4\"\nimport script from \"./Step.vue?vue&type=script&lang=js\"\nexport * from \"./Step.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"chooser\"},[_c('div',{staticClass:\"navbar\"},_vm._l((this.routes),function(route,index){return _c('button',{key:route.id,staticClass:\"switch\",class:{ switch_active: _vm.activeRoute == index },on:{\"click\":function($event){return _vm.onClick(index, route.cb)}}},[_c('span',[_vm._v(_vm._s(route.text))])])}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Chooser.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Chooser.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Chooser.vue?vue&type=template&id=58d5de69&scoped=true\"\nimport script from \"./Chooser.vue?vue&type=script&lang=js\"\nexport * from \"./Chooser.vue?vue&type=script&lang=js\"\nimport style0 from \"./Chooser.vue?vue&type=style&index=0&id=58d5de69&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"58d5de69\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w-5/6 max-w-2xl pt-40 mx-auto\"},[_c('section',{staticClass:\"relative gap-4 p-6 my-10 text-white bg-gray-800 shadow-md rounded-xl\"},[_c('span',{staticClass:\"absolute p-1 px-3 text-sm font-bold text-gray-200 transform -translate-x-1/2 rounded-full opacity-95 left-1/2 -top-3 bg-brand-primary\"},[_vm._v(\"Beta\")]),_c('Chooser',{attrs:{\"routes\":this.routes,\"currentActive\":this.title == 'Rollover' ? 0 : 1}}),_c('div',{staticClass:\"flex flex-col items-center justify-center\"},[_c('header',{staticClass:\"pb-3 my-4 text-center\"},[_c('h1',{staticClass:\"text-3xl font-semibold\"},[_vm._v(\" \"+_vm._s(this.title)+\" \")]),_c('p',{staticClass:\"text-sm text-gray-300\"},[_vm._v(\" \"+_vm._s(this.descr)+\" \")])]),(_vm.userWalletIsConnected)?_c('div',{staticClass:\"pb-3 mb-6 border-b border-gray-700\"},[_c('aside',{staticClass:\"flex flex-wrap justify-center gap-3 md:gap-6\"},[_c('Step',{attrs:{\"title\":\"Approve vETH2\",\"completed\":this.depositStage || this.withdrawStage,\"step\":\"1\"}}),_c('Step',{attrs:{\"title\":\"Deposit vETH2\",\"completed\":this.withdrawStage || _vm.completed,\"step\":\"2\"}}),_c('Step',{attrs:{\"title\":`Redeem ${_vm.outputTokenName}`,\"completed\":_vm.completed,\"step\":\"3\"}})],1)]):_vm._e(),(_vm.completed)?_c('div',{staticClass:\"p-4 px-6 text-center bg-gray-700 border border-green-400 rounded-lg shadow-md\"},[_c('h2',{staticClass:\"mb-2 text-xl font-semibold\"},[_vm._v(\" You've successfully converted vETH2 into \"+_vm._s(_vm.outputTokenName)+\". \")]),_c('p',{staticClass:\"inline-block mx-auto mb-4 text-sm font-semibold text-gray-300 border-b border-gray-600\"},[_vm._v(\" Next steps \")]),_c('div',{staticClass:\"flex justify-center gap-6\"},[_c('SharedLink',{attrs:{\"to\":\"/stake\"}},[_vm._v(\" Stake ETH \")]),_c('SharedLink',{attrs:{\"to\":\"/wrap\"}},[_vm._v(\" Wrap sgETH \")]),_c('SharedLink',{attrs:{\"to\":\"/rollover\"}},[_c('span',{on:{\"click\":function($event){_vm.completed = false}}},[_vm._v(\" Rollover/Withdraw more vETH2 \")])])],1)]):(_vm.stage == 'depositStage' || _vm.stage == 'approvalStage')?_c('label',[_c('p',{staticClass:\"text-sm font-semibold text-gray-300 mb-0.5\"},[_vm._v(\" How much vETH2 would you like to redeem for \"+_vm._s(_vm.outputTokenName)+\"? \")]),_c('div',{staticClass:\"relative flex items-center gap-1 p-2 text-xl border border-gray-200 rounded-xl\"},[_c('input',{staticClass:\"max-w-xs ml-2 text-white bg-transparent border-none outline-none\",attrs:{\"placeholder\":'>0 to ' + \n this.userVEth2Balance\n .div(10 ** 18)\n .decimalPlaces(6)\n .toString()},domProps:{\"value\":_vm.amount},on:{\"input\":function($event){_vm.amount = isNaN(parseFloat($event.target.value))\n ? 0\n : $event.target.value}}}),_c('span',{staticClass:\"text-sm\"},[_vm._v(\" vETH2 \")]),(true)?_c('button',{staticClass:\"px-1 py-0.5 text-xs font-semibold bg-white rounded text-brand-primary\",on:{\"click\":_vm.handleFillMaxAmount}},[_vm._v(\" max \")]):_vm._e()]),_c('p',{staticClass:\"text-sm font-semibold text-gray-300 mb-0.5\"},[_vm._v(\" Current vETH2 Balance: \"+_vm._s(_vm.parseBN(_vm.userVEth2Balance))+\" \")]),_c('p',{staticClass:\"text-sm font-semibold text-gray-300 mb-0.5\"},[_vm._v(\" Current \"+_vm._s(_vm.outputTokenName)+\" Balance: \"+_vm._s(_vm.parseBN(_vm.outputTokenBalance))+\" \")])]):(_vm.withdrawStage)?_c('div',{staticClass:\"text-gray-200\"},[_c('p',{staticClass:\"text-sm font-semibold text-gray-300\"},[_vm._v(\" You have deposited \")]),_c('p',{staticClass:\"relative text-center\"},[_c('span',[_c('span',{staticClass:\"text-3xl font-semibold\"},[_vm._v(_vm._s(_vm.userDepositedVEth2 .div(10 ** 18) .decimalPlaces(6) .toString()))]),_c('span',{staticClass:\"inline-block ml-1 text-sm transform bottom-3 right-1\"},[_vm._v(\"vETH2\")])])]),_c('p',{staticClass:\"text-sm font-semibold text-gray-300\"},[_vm._v(\" You will receive \")]),_c('p',{staticClass:\"relative text-center\"},[_c('span',[_c('span',{staticClass:\"text-3xl font-semibold\"},[_vm._v(_vm._s(_vm.userDepositedVEth2 .div(1 / 1.08) .div(10 ** 18) .decimalPlaces(6) .toString()))]),_c('span',{staticClass:\"inline-block ml-1 text-sm transform bottom-3 right-1\"},[_vm._v(_vm._s(_vm.outputTokenName))])])])]):_vm._e(),(!_vm.completed)?_c('div',{staticClass:\"my-6\"},[(_vm.loading)?_c('p',[_c('ImageVue',{attrs:{\"src\":'loading.svg',\"size\":'45px'}})],1):(!_vm.userConnectedWalletAddress)?_c('ConnectButton'):[(!_vm.userHasTokenBalance && _vm.stage == 'approvalStage')?_c('p',{staticClass:\"mt-2 text-sm font-semibold text-gray-200\"},[_vm._v(\" You need to have vETH2 tokens in your wallet in order to withdraw \"+_vm._s(_vm.outputTokenName)+\". \")]):(_vm.stage == 'approvalStage')?_c('ApprovalButton',{attrs:{\"ABI_token\":this.ABI_vEth2,\"ABI_spender\":_vm.ABI,\"amount\":this.amount,\"cb\":_vm.getUserApprovedVEth2,\"disabled\":_vm.userInputIsInvalid}}):(_vm.stage == 'depositStage')?_c('dapp-tx-btn',{attrs:{\"click\":_vm.handleDepositVEth2,\"disabled\":_vm.userInputIsInvalid}},[_c('span',[_vm._v(\"Request \"+_vm._s(this.title.toLowerCase()))])]):(_vm.stage == 'withdrawStage')?_c('div',{staticClass:\"text-center\"},[(!_vm.contractHasEthAvailable)?_c('p',{staticClass:\"mb-2 text-sm font-medium text-gray-300\"},[_vm._v(\" The contract is replenishing its balance. \"),_c('br'),_vm._v(\" It can take up to 2 weeks to exit a validator and buffer balances. \"),_c('br'),_vm._v(\" Please check in again soon. \")]):_vm._e(),_c('dapp-tx-btn',{attrs:{\"disabled\":!_vm.contractHasEthAvailable,\"click\":_vm.handleWithdrawEth}},[_c('span',[_vm._v(\"Redeem for \"+_vm._s(_vm.outputTokenName))])]),_c('dapp-tx-btn',{attrs:{\"click\":_vm.handleWithdrawVeth}},[_c('span',[_vm._v(\"Withdraw your vETH2\")])])],1):_vm._e()]],2):_vm._e()]),_c('WithdrawalsFAQ',{attrs:{\"ethAvailableForWithdrawal\":_vm.ethAvailableForWithdrawal,\"veth2Bal\":_vm.contractVeth2Bal,\"userBal\":_vm.userVEth2Balance,\"totalRedeemed\":_vm.totalRedeemed}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('router-link',{staticClass:\"px-4 py-2 text-sm font-semibold transition-all border border-white rounded-full hover:bg-gray-800\",attrs:{\"to\":_vm.to}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SharedLink.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SharedLink.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SharedLink.vue?vue&type=template&id=49a1df18\"\nimport script from \"./SharedLink.vue?vue&type=script&lang=js\"\nexport * from \"./SharedLink.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"mt-10 text-white\"},[_c('h2',{staticClass:\"mb-4 text-2xl font-medium text-center\"},[_vm._v(\" Frequently Asked Questions \")]),_c('QuestionAnswer',{scopedSlots:_vm._u([{key:\"question\",fn:function(){return [_vm._v(\" How do I withdraw my staked ETH? \")]},proxy:true},{key:\"answer\",fn:function(){return [_vm._v(\" You can withdraw your staked ETH by following the steps: \"),_c('br'),_c('strong',[_vm._v(\"Step 1:\")]),_vm._v(\" Approve vETH2 (Please enter how much vETH2 you'd like to redeem) \"),_c('br'),_c('strong',[_vm._v(\"Step 2:\")]),_vm._v(\" Deposit vETH2 \"),_c('br'),_c('strong',[_vm._v(\"Step 3:\")]),_vm._v(\" Redeem (when there is ETH available) \"),_c('br'),_c('strong',[_vm._v(\"Note: You must deposit vETH2 first. ETH or tokens will then be buffered into the contract based on demand. \")]),_c('br'),_c('strong',[_vm._v(\"Note: You can at any point after deposit, choose to withdraw your vETH2 and use OTC or uniswap to sell for ETH. If you require a quicker flow. \")])]},proxy:true}])}),_c('QuestionAnswer',{scopedSlots:_vm._u([{key:\"question\",fn:function(){return [_vm._v(\" How much is vETH2 worth? (Redemption rate) \")]},proxy:true},{key:\"answer\",fn:function(){return [_vm._v(\" The rate is 1.08 i.e. 1 vETH2 = 1.08 ETH. \"),(_vm.userBal > 0)?_c('p',[_vm._v(\" OR \"+_vm._s(_vm.userBal.div(10 ** 18).decimalPlaces(6).toString())+\" vETH2 = \"+_vm._s(_vm.userBal.div(1 / 1.08).div(10 ** 18).decimalPlaces(6).toString())+\" ETH/sgETH \")]):_vm._e()]},proxy:true}])}),_c('QuestionAnswer',{scopedSlots:_vm._u([{key:\"question\",fn:function(){return [_vm._v(\" How much vETH2 is staked in this contract? \")]},proxy:true},{key:\"answer\",fn:function(){return [_vm._v(\" There is \"+_vm._s(_vm.veth2Bal.div(10 ** 18) .decimalPlaces(6) .toString())+\" vETH2 deposited here. Redeemable for \"+_vm._s(_vm.veth2Bal.div(1/1.08).div(10 ** 18) .decimalPlaces(6) .toString())+\" tokens. \"),_c('br'),_vm._v(\" From which \"+_vm._s(_vm.totalRedeemed.div(10 ** 18) .decimalPlaces(6).toString())+\" tokens have already been redeemed. \"),_c('br'),_vm._v(\" A total of \"+_vm._s((_vm.veth2Bal.multipliedBy(11).div(10) .minus(_vm.totalRedeemed) .minus(_vm.ethAvailableForWithdrawal) ).div(11) .multipliedBy(10) .div(10 ** 18) .decimalPlaces(6) .toString())+\" vETH2 is queued. (if the number is negative that means there's excess in the buffer) \")]},proxy:true}])}),_c('QuestionAnswer',{scopedSlots:_vm._u([{key:\"question\",fn:function(){return [_vm._v(\" How much can be withdrawn right now? \")]},proxy:true},{key:\"answer\",fn:function(){return [_vm._v(\" You can withdraw upto \"+_vm._s(_vm.ethAvailableForWithdrawal.div(10 ** 18) .decimalPlaces(6) .toString())+\" ETH buffered in the contract. Right now! \")]},proxy:true}])}),_c('QuestionAnswer',{scopedSlots:_vm._u([{key:\"question\",fn:function(){return [_vm._v(\" How long does it take to withdraw my ETH? \")]},proxy:true},{key:\"answer\",fn:function(){return [_vm._v(\" It takes at least 7-14 days to withdraw your ETH. This wait time may be longer if demand is high. As ETH is buffered in phases your personal wait time may be affected by other users redeeming before you. This is because the ETH you staked is locked in the Ethereum 2.0 deposit contract and validators need to have their withdrawal addresses changed, then exited wherein they enter the exit queue. \")]},proxy:true}])}),_c('QuestionAnswer',{scopedSlots:_vm._u([{key:\"question\",fn:function(){return [_vm._v(\" I don't see the veth2 I previously deposited \")]},proxy:true},{key:\"answer\",fn:function(){return [_vm._v(\" If you had deposited in the old withdrawals/rollover contract, you will have to use etherscan to manually retrieve/withdraw your vETH2 and redo the process. \"),_c('br'),_vm._v(\" You can find a howto in the \"),_c('a',{staticClass:\"link\",attrs:{\"href\":\"https://docs.sharedstake.finance/withdrawals/withdraw-veth2-via-etherscan\"}},[_vm._v(\"docs under Withdrawals at docs.sharedstake.finance\")])]},proxy:true}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"py-3 border-t border-gray-700\"},[_c('h3',{staticClass:\"mb-2 text-xl font-medium text-gray-300\"},[_vm._t(\"question\")],2),_c('p',{staticClass:\"pl-2 text-base text-gray-200\"},[_vm._t(\"answer\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./QuestionAnswer.vue?vue&type=template&id=1dd30afc\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WithdrawalsFAQ.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WithdrawalsFAQ.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./WithdrawalsFAQ.vue?vue&type=template&id=3486a3fc&scoped=true\"\nimport script from \"./WithdrawalsFAQ.vue?vue&type=script&lang=js\"\nexport * from \"./WithdrawalsFAQ.vue?vue&type=script&lang=js\"\nimport style0 from \"./WithdrawalsFAQ.vue?vue&type=style&index=0&id=3486a3fc&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3486a3fc\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RedemptionBase.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RedemptionBase.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RedemptionBase.vue?vue&type=template&id=7fb5dc14\"\nimport script from \"./RedemptionBase.vue?vue&type=script&lang=js\"\nexport * from \"./RedemptionBase.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectButton.vue?vue&type=style&index=0&id=220c9c21&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',[(!_vm.userConnectedWalletAddress)?_c('ConnectButton'):(!_vm.loading)?_c('SharedButton',{attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.execTx}},[_vm._t(\"default\")],2):(_vm.loading)?_c('p',[_c('ImageVue',{attrs:{\"src\":'loading.svg',\"size\":'45px'}})],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('button',{staticClass:\"px-6 py-3 text-xl font-semibold transition-all border-2 border-white rounded-full md:font-medium md:px-8 whitespace-nowrap\",class:{\n 'md:text-3xl': _vm.big,\n 'cursor-not-allowed text-gray-400 border-gray-400': _vm.disabled,\n 'bg-brand-primary hover:bg-transparent hover:text-brand-primary hover:border-brand-primary': !_vm.disabled\n },attrs:{\"disabled\":_vm.disabled,\"type\":\"button\"},on:{\"click\":function($event){return _vm.$emit('click')}}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SharedButton.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SharedButton.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SharedButton.vue?vue&type=template&id=3b413b7a\"\nimport script from \"./SharedButton.vue?vue&type=script&lang=js\"\nexport * from \"./SharedButton.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DappTxBtn.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DappTxBtn.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DappTxBtn.vue?vue&type=template&id=bc20b58e\"\nimport script from \"./DappTxBtn.vue?vue&type=script&lang=js\"\nexport * from \"./DappTxBtn.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('button',{staticClass:\"text-lg text-white btn-connect\",class:{ 'btn-animated': !_vm.userAddress },attrs:{\"type\":\"button\"},on:{\"click\":_vm.handleConnect}},[(_vm.userAddress)?[_vm._v(\" \"+_vm._s(_vm.userAddress.slice(0, 4) + \"...\" + _vm.userAddress.slice(-4))+\" \")]:[_vm._v(\" Connect Wallet \")]],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectButton.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectButton.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ConnectButton.vue?vue&type=template&id=220c9c21&scoped=true\"\nimport script from \"./ConnectButton.vue?vue&type=script&lang=js\"\nexport * from \"./ConnectButton.vue?vue&type=script&lang=js\"\nimport style0 from \"./ConnectButton.vue?vue&type=style&index=0&id=220c9c21&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"220c9c21\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WithdrawalsFAQ.vue?vue&type=style&index=0&id=3486a3fc&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',[(_vm.autoHide ? !_vm.enoughApproved : true)?_c('dapp-tx-btn',{attrs:{\"click\":_vm.genProps,\"cb\":_vm.wrappedCb}},[_c('span',[_vm._v(\"Approve\")])]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproveButton.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproveButton.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ApproveButton.vue?vue&type=template&id=230127cc\"\nimport script from \"./ApproveButton.vue?vue&type=script&lang=js\"\nexport * from \"./ApproveButton.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}