NewsBTC
2022-08-30 20:09:25

How A Solana-Based DEX Bricked Itself, Locking $500K+ In Funds

It’s not easy being a dev. In recent days, a young Solana-based DEX, OptiFi, faced an unexpected downfall after a simple coding error. The platform released an announcement that their mainnet program is now unrecoverable yesterday. The move has resulted in an unexpected shutdown for the DEX. Let’s review what we know from the announcement and how something like this could be avoided in the future. OptiFi’s Unexpected Shutdown OptiFi was an options and derivatives focused decentralized exchange (DEX) built on Solana that was less than a year in the making. The platform touted Solana’s low latency transactions, portfolio margining and partial liquidation mechanisms. The platform also brought the “first-ever delta-neutral options AMM vault” on Solana that provided yield to depositors. So how did we get here? According to OptiFi’s full debrief, a code update that was moving to Solana mainnet saw a user error that resulted in the use of a ‘solana program close’ command, locking roughly $660K worth of USDC in OptiFi-stored funds in their AMM vault. OptiFi has assured that user funds will be compensated (while noting that a large majority of the funds are from an internal team member), and a proposal on the Solana github is currently active to address the matter. OptiFi notes in their debrief of a “lesson we learned harshly:” EVERY DEPLOYMENT NEEDS A RIGOROUS PROCESS A...

获取加密通讯
阅读免责声明 : 此处提供的所有内容我们的网站,超链接网站,相关应用程序,论坛,博客,社交媒体帐户和其他平台(“网站”)仅供您提供一般信息,从第三方采购。 我们不对与我们的内容有任何形式的保证,包括但不限于准确性和更新性。 我们提供的内容中没有任何内容构成财务建议,法律建议或任何其他形式的建议,以满足您对任何目的的特定依赖。 任何使用或依赖我们的内容完全由您自行承担风险和自由裁量权。 在依赖它们之前,您应该进行自己的研究,审查,分析和验证我们的内容。 交易是一项高风险的活动,可能导致重大损失,因此请在做出任何决定之前咨询您的财务顾问。 我们网站上的任何内容均不构成招揽或要约