{"id":2196,"date":"2021-04-21T12:27:43","date_gmt":"2021-04-21T12:27:43","guid":{"rendered":"http:\/\/43.153.210.228\/\/?p=2196"},"modified":"2021-04-21T12:29:28","modified_gmt":"2021-04-21T12:29:28","slug":"%e7%81%ab%e5%b8%81%e8%a7%82%e5%af%9f%ef%bc%9a%e7%8b%97%e7%8b%97%e5%b8%8113%e4%b8%aa%e6%9c%88%e6%b6%a8%e8%b6%85400%e5%80%8d-%e9%80%9a%e8%83%80%e6%a8%a1%e5%9e%8b%e6%98%af%e7%a1%ac%e4%bc%a4","status":"publish","type":"post","link":"http:\/\/43.153.210.228\/?p=2196","title":{"rendered":"\u521b\u5b87\u533a\u5757\u94fe\u5b9e\u9a8c\u5ba4 | Harvest.finance \u95ea\u7535\u8d37\u653b\u51fb\u4e8b\u4ef6"},"content":{"rendered":"<h3>&nbsp;<\/h3>\n<p><a href=\"https:\/\/www.chainnode.com\/user\/985070\">\u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4<\/a> \u6c34\u624b 2021-04-20 14:50:41 <i>\u53d1\u5e03\u5728 <\/i><a href=\"https:\/\/www.chainnode.com\/forum\/61\">\u533a\u5757\u94fe\u793e\u533a<\/a> <\/p>\n<p><i><\/i> 8004 <i><\/i> 1 <\/p>\n<h4><\/h4>\n<h4>\u524d\u8a00<\/h4>\n<p>\u524d\u4e0d\u4e45\uff0cDeFi \u9879\u76ee Harvest.finance \u906d\u53d7\u9ed1\u5ba2\u653b\u51fb\uff0c\u9ed1\u5ba2\u5229\u7528\u95ea\u7535\u8d37\u5957\u5229 2400 \u4e07\u7f8e\u5143\uff0c\u6d89\u53ca\u91d1\u989d\u5de8\u5927\uff0c\u8f70\u52a8\u4e00\u65f6 <\/p>\n<p><strong>\u77e5\u9053\u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4<\/strong>&nbsp; \u65e8\u5728\u901a\u8fc7\u5168\u76d8\u68b3\u7406\u653b\u51fb\u6d41\u7a0b\u548c\u4ee3\u7801\u7ec6\u8282\uff0c\u4e00\u7aa5\u95ea\u7535\u8d37\u5957\u5229\u7684\u79d8\u5bc6\u3002 <\/p>\n<h4><\/h4>\n<h4>\u5168\u76d8\u68b3\u7406<\/h4>\n<p><strong>\u57fa\u7840\u4fe1\u606f<\/strong> <\/p>\n<p>\u653b\u51fb\u8005\u5730\u5740\uff1a0xF224ab004461540778a914ea397c589b677E27bb<br \/>\u653b\u51fb\u5408\u7ea6\u5730\u5740\uff1a0xc6028a9Fa486F52efd2B95B949AC630d287CE0aF<br \/>\u9996\u6b21\u653b\u51fb tx\uff1a0x35f8d2f572fceaac9288e5d462117850ef2694786992a8c3f6d02612277b0877<br \/>VaultProxy(fUSDC)\uff1a0xf0358e8c3CD5Fa238a29301d0bEa3D63A17bEdBE<br \/>CRVStrategyStableMainnet\uff1a0xD55aDA00494D96CE1029C201425249F9dFD216cc<br \/>VaultYCRV\uff1a0xF2B223Eb3d2B382Ead8D85f3c1b7eF87c1D35f3A<br \/>CRVStrategyYCRVMainnet\uff1a0x2427DA81376A0C0a0c654089a951887242D67C92<br \/>convertor\uff1a0xfCA4416d9dEF20aC5b6Da8b8b322b6559770eFbF<br \/><em>*\u4e3a\u65b9\u4fbf\u8d77\u89c1\uff0c\u540e\u9762\u63d0\u5230\u7684\u5730\u5740\u5747\u53ea\u7528\u5730\u5740\u524d 4 \u4f4d\u4ee3\u8868<\/em> <\/p>\n<p><strong>\u4ea4\u6613\u59cb\u672b<\/strong> <\/p>\n<p>\u4ece tx0x35f8 \u4e2d\u7684\u4ee3\u5e01\u8f6c\u79fb\u8bb0\u5f55\u4e2d\u53ef\u4ee5\u5927\u81f4\u770b\u51fa\u4e8b\u4ef6\u7ecf\u8fc7 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/f6cf9a45c5180ff3687e93bb2d383924.png\"> <\/p>\n<p>\u8be6\u7ec6\u7684\u5408\u7ea6\u8c03\u7528\u8fc7\u7a0b\u53ef\u901a\u8fc7\u4ee5\u592a\u574a\u4ea4\u6613\u5206\u6790\u5e73\u53f0\u8f7d\u5165\u4ea4\u6613 hash \u8fdb\u884c\u5206\u6790  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/98ac98e244600c495457e4b56790815f.png\"> <\/p>\n<p>\u6d41\u7a0b\u5206\u6790\u5927\u81f4\u5982\u4e0a\uff0c\u4e8b\u4ef6\u6982\u62ec\u8d77\u6765\u5373\u662f\u653b\u51fb\u8005 0xf224 \u90e8\u7f72\u4e86\u653b\u51fb\u5408\u7ea6 0xc602\uff0c\u7136\u540e\u4e00\u7cfb\u5217\u95ea\u7535\u8d37\u653b\u51fb\u5747\u5728\u653b\u51fb\u5408\u7ea6\u7684 0xfdb57542 \u65b9\u6cd5\u4e2d\u8fdb\u884c\uff0c\u5176\u4e2d\u6838\u5fc3\u6d41\u7a0b\u5c31\u662f\u901a\u8fc7 Uniswap \u7684 Flash Swap \u8fdb\u884c\u95ea\u7535\u8d37\uff0c\u5148\u83b7\u5f97\u5927\u91cf USDT \u548c USDC \u4e3a\u540e\u7eed\u653b\u51fb\u505a\u51c6\u5907\uff0c\u7136\u540e\u91cd\u590d\u6267\u884c\u5982\u4e0b\u52a8\u4f5c\uff1a  <\/p>\n<ol>\n<li>Curve ySwap \u4e2d\u8fdb\u884c USDT=&gt;USDC \u7684\u5de8\u989d\u5151\u6362\uff08\u5de8\u989d\u5151\u6362\u9020\u6210 y \u6c60\u4e2d USDC \u4ef7\u683c\u4e0a\u6da8\uff09\n<li>USDC \u8d28\u62bc\u5b58\u5165 VaultProxy fUSDC \u6c60\uff08 USDC \u4ef7\u683c\u4e0a\u6da8\uff0c\u94f8\u9020\u51fa\u8f83\u5e73\u5e38\u66f4\u591a\u7684 fUSDC \uff09\n<li>Curve ySwap \u8fdb\u884c USDC=&gt;USDT \u56de\u5151\uff081 \u6b65\u9aa4\u7684\u9006\u64cd\u4f5c\uff0cUSDC \u4ef7\u683c\u6062\u590d\uff09\n<li>VaultProxy fUSDC \u6c60\u4e2d\u8d4e\u56de USDC \uff08 USDC \u4ef7\u683c\u56de\u843d\uff0c\u8d4e\u56de\u51fa\u8f83\u5e73\u5e38\u66f4\u591a\u7684 USDC \uff09<\/li>\n<\/ol>\n<p>\u6700\u540e\u5f52\u8fd8\u95ea\u7535\u8d37\u5e76\u5c06\u83b7\u5229\u7684 USDC \u5151\u6362\u4e3a ETH \u63d0\u53d6 <\/p>\n<p><strong>\u4ee3\u7801\u7ec6\u8282<\/strong> <\/p>\n<p>\u653b\u51fb\u5408\u7ea6\u672a\u5f00\u6e90\uff0c\u6682\u65f6\u4e0d\u4f5c\u5206\u6790\u3002\u53ef\u5148\u4ece\u5173\u952e\u7684 VaultProxy fUSDC \u6c60\u5408\u7ea6 0xf035 \u7684 deposit \u51fd\u6570\u5165\u624b\uff0c\u5206\u6790 fUSDC \u7684\u94f8\u9020\u91cf\u662f\u5982\u4f55\u8ba1\u7b97\u7684 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/be72663a90c83b7d0c8104ce1e8330e3.png\"> <\/p>\n<p>\u4ece\u8d28\u62bc\u51fd\u6570\u4e2d\u53ef\u4ee5\u770b\u51fa fUSDC \u7684\u94f8\u9020\u91cf\u662f\u6839\u636e fUSDC \u603b\u91cf\u548c USDC \u7b56\u7565\u7684\u603b\u6295\u8d44\u91cf\u7684\u6bd4\u4f8b\u6765\u51b3\u5b9a\u7684  <\/p>\n<p>underlyingBalanceWithInvestment \u51fd\u6570\u5b9e\u73b0\u5982\u4e0b\uff1a <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/3bb3874423d63926ba0cb50994fdf664.png\"> <\/p>\n<p>fUSDC \u6c60\u4ee3\u7406\u5408\u7ea6 0xf035 \u4f1a\u8fdb\u4e00\u6b65\u8c03\u7528 CRVStrategyStableMainnet \u7b56\u7565\u5408\u7ea6 0xD55a \u53bb\u8fdb\u4e00\u6b65\u67e5\u8be2\u5df2\u6295\u8d44\u7684\u5e95\u5c42\u8d44\u4ea7 USDT \u7684\u91cf  <\/p>\n<p>\u6765\u5230\u7a33\u5b9a\u5e01\u7b56\u7565\u5408\u7ea6 0xD55a\uff0cinvestedUnderlyingBalance \u51fd\u6570\u5b9e\u73b0\u5982\u4e0b\uff1a <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/f54309feb5579b6b50f885d222c6cb20.png\"> <\/p>\n<p>\u8fd9\u91cc\u7684\u8c03\u7528\u5c31\u7a0d\u5fae\u590d\u6742\u4e00\u70b9\u4e86\uff0c\u4ece ycrvVault \u5408\u7ea6 0xF2B2 \u83b7\u53d6 shares \u4e0e price\uff0c\u5c06\u4e58\u79ef\u4f20\u5165 underlyingValueFromYCrv \u51fd\u6570\uff0c\u7ed3\u679c\u4e0e\u8be5\u5408\u7ea6 USDT \u7684\u91cf\u7684\u548c\u4f5c\u4e3a\u6700\u540e\u7684\u51fd\u6570\u8fd4\u56de\u503c  <\/p>\n<p>\u6211\u4eec\u5148\u6765\u770b ycrvVault \u5408\u7ea6 0xF2B2 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/21e63ce49ae0b3c545c6864d9e18dd6d.png\"> <\/p>\n<p>\u8be5\u91d1\u5e93\u5408\u7ea6 0xf2b2 \u672c\u8eab\u7ee7\u627f\u4e86 ERC20\uff0c\u5177\u6709\u4ee3\u5e01\u5c5e\u6027\uff0c\u4ece\u6784\u9020\u51fd\u6570\u4e2d\u53ef\u4ee5\u770b\u51fa\u4ee3\u5e01\u4ee3\u8868 fyToken  <\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\u4e0a\u9762\u83b7\u53d6\u7684 shares \u5373\u662f\u7b56\u7565\u5408\u7ea6\u62e5\u6709\u7684 fyToken \u91cf <\/p>\n<p>\u7136\u540e\u662f price\uff0c\u6765\u770b getPricePerFullShare \u51fd\u6570\uff1a <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/aa0fddf036a2073167dd9936b609d4ab.png\"> <\/p>\n<p>\u53ef\u4ee5\u660e\u663e\u770b\u51fa price \u5373\u662f yToken \u5bf9 fyToken \u7684\u5360\u6bd4\uff0c\u90a3\u4e48 shares \u4e0e price \u7684\u4e58\u79ef\u5373\u4ee3\u8868\u7b56\u7565\u5408\u7ea6\u6240\u5360\u6709\u7684 yToken \u91cf\uff0c\u6700\u540e\u4f20\u5165 underlyingValueFromYCrv \u51fd\u6570\uff0c\u5728\u8be5\u51fd\u6570\u4e2d\u4f1a\u8c03\u7528 convertor.yCrvToUnderlying  <\/p>\n<p>\u8fd9\u91cc\u5c31\u5230\u4e86\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u6700\u5173\u952e\u7684\u5730\u65b9\u4e86\uff0c\u4e5f\u662f\u95ee\u9898\u7684\u6839\u672c\u6240\u5728 <\/p>\n<p>convertor \u5408\u7ea6 0xfCA4 \u5e76\u672a\u5f00\u6e90 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/6108a2fe0627f904f851bf14059f26dc.png\"> <\/p>\n<p>\u6211\u4eec\u518d\u6b21\u56de\u5230\u4ee5\u592a\u574a\u4ea4\u6613\u5206\u6790\u5e73\u53f0\uff0c\u67e5\u770b\u6574\u4e2a deposit \u8c03\u7528\u8fc7\u7a0b  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/b4310021ade0a9b666a872bedbc1e2a6.png\"> <\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u524d\u9762\u7684\u8c03\u7528\u6d41\u7a0b\u5206\u6790\u5982\u5b9e\uff0c\u5e76\u4e14 convetor \u7684\u8c03\u7528\u6700\u7ec8\u4f1a\u8c03\u7528 Curve \u7684 Zap.calc_withdraw_one_coin\uff0c\u800c\u8be5\u51fd\u6570\u7528\u4e8e\u67e5\u8be2 lpToken \u7684\u8d4e\u56de\u4ef7  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/f73b9aed13880965734c2d7977df47cb.png\"> <\/p>\n<p>\u95ee\u9898\u5c31\u5728\u8fd9\u91cc\u4e86\uff0c\u8fd9\u91cc\u76f8\u5f53\u4e8e\u5c31\u662f\u5411 Curve \u95ee\u4ef7\uff0c\u800c\u8c03\u7528\u4f20\u5165\u7684\u662f yToken \u7684\u91cf\uff0c\u90a3\u4e48\u8fd4\u56de\u7684\u5c31\u662f yUSDC \u5151\u6362 USDC \u7684\u4ef7\u683c\uff0c\u5373 USDC\/yUSDC  <\/p>\n<p><strong>\u800c\u5f53\u524d\u9762\u5de8\u989d\u5151\u6362 USDC \u540e\uff0cy \u6c60\u4e2d USDC \u4ef7\u683c\u4e0a\u6da8\uff0c\u90a3\u4e48\u76f8\u5bf9\u4ef7\u683c USDC\/yUSDC \u5c31\u4f1a\u4e0b\u8dcc\u3002Harvest.finance \u7684 USDC \u7b56\u7565\u4e2d yUSDC \u8d44\u4ea7\u6240\u5177\u6709\u7684 USDC \u51c0\u503c\u7ecf calc_withdraw_one_coin \u8ba1\u7b97\u800c\u6765\u5c31\u635f\u8017\u51cf\u5c11\uff0c\u6700\u7ec8\u53cd\u6620\u5230 deposit \u51fd\u6570\u7684 fUSDC \u94f8\u9020\u7b97\u6cd5\u4e2d\uff0c\u5c06\u5bfc\u81f4 fUSDC \u94f8\u9020\u91cf\u589e\u52a0<\/strong> <\/p>\n<p><strong><br \/><\/strong> <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/appserversrc.8btc.com\/post\/81ff784a2628770759577831d798f6db.png\"> <\/p>\n<h4><\/h4>\n<h4>\u603b\u7ed3<\/h4>\n<p>\u5f52\u6839\u5230\u5e95\uff0cHarvest.finance \u88ab\u653b\u51fb\u7684\u672c\u8d28\u539f\u56e0\u5728\u4e8e\u5bf9\u7b56\u7565\u7a33\u5b9a\u5e01\u4ef7\u503c\u7684\u4f30\u4ef7\u51fa\u73b0\u4e86\u95ee\u9898\uff0c\u76f4\u63a5\u8c03\u7528\u6613\u88ab\u64cd\u7eb5\u4ef7\u683c\u7684 Curve \u7684 calc_withdraw_one_coin \u51fd\u6570\u6765\u4f30\u4ef7\uff0c\u4ece\u800c\u4f7f\u653b\u51fb\u8005\u6709\u673a\u53ef\u4e58\u3002\u8fd9\u5c31\u662f\u4e00\u6b21\u5178\u578b\u7684\u5582\u4ef7\u673a\u5236\u4e0d\u5b8c\u5584\u5bfc\u81f4\u7684\u4ef7\u683c\u64cd\u7eb5\u7684\u7ecf\u6d4e\u653b\u51fb\u4e8b\u4ef6\u3002 <\/p>\n<p><strong>\u77e5\u9053\u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4\u5b98\u7f51\uff1a<\/strong><a href=\"http:\/\/www.knownseclab.com\/\">www.knownseclab.com<\/a><br \/><strong>\u77e5\u9053\u521b\u5b87\u552f\u4e00\u6307\u5b9a\u5b58\u8bc1\u5e73\u53f0<\/strong>\uff1a<a href=\"http:\/\/www.attest.im\/\">www.attest.im<\/a><br \/><strong>\u8054\u7cfb\u6211\u4eec\uff1a<\/strong><a>blockchain@knownsec.com<\/a> <\/p>\n<hr>\n<p><strong><br \/><\/strong> <\/p>\n<p><strong>\u77e5\u9053\u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4\u5bfc\u822a<\/strong> <\/p>\n<p><strong><br \/><\/strong> <\/p>\n<p><strong>\u5fae\u4fe1\u516c\u4f17\u53f7<\/strong><br \/>@ \u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4 <\/p>\n<p><strong>\u5fae\u535a<\/strong><br \/>@ \u77e5\u9053\u521b\u5b87\u533a\u5757\u94fe\u5b9e\u9a8c\u5ba4<br \/><a href=\"https:\/\/weibo.com\/BlockchainLab\"><i>https:\/\/weibo.com\/BlockchainLab<\/i><\/a> <\/p>\n<p><strong><br \/><\/strong> <\/p>\n<p><strong>\u77e5\u4e4e<\/strong><br \/>@ \u77e5\u9053\u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4<br \/><a href=\"https:\/\/www.zhihu.com\/org\/zhi-dao-chuang-yu-qu-kuai-lian-an-quan-shi-yan-shi\"><i>https:\/\/www.zhihu.com\/org\/zhi-dao-chuang-yu-qu-kuai-lian-an-quan-shi-yan-shi<\/i><\/a> <\/p>\n<p><strong><br \/><\/strong> <\/p>\n<p><strong>Twitter<\/strong><br \/>@KS_Blockchain_<br \/><i><a href=\"https:\/\/twitter.com\/KS_Blockchain\">https:\/\/twitter.com\/KS<\/a>_<a href=\"https:\/\/twitter.com\/KS_Blockchain\">Blockchain<\/a><a href=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/04\/03CryptoColor1024blockchainBTC.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"Web\" style=\"border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline\" border=\"0\" alt=\"Web\" src=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/04\/03CryptoColor1024blockchainBTC_thumb.jpg\" width=\"639\" height=\"480\"><\/a><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u521b\u5b87\u533a\u5757\u94fe\u5b89\u5168\u5b9e\u9a8c\u5ba4 \u6c34\u624b 2021-04-20 14:50:41 \u53d1\u5e03\u5728 \u533a\u5757\u94fe\u793e\u533a 8004 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2196","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/2196"}],"collection":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2196"}],"version-history":[{"count":2,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/2196\/revisions"}],"predecessor-version":[{"id":2200,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/2196\/revisions\/2200"}],"wp:attachment":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2196"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}