source avatarjayesh

Share
Share IconShare IconShare IconShare IconShare IconShare IconCopy

Which vault pattern fits an onchain index of up to 100 tokens, where liquidity is the hard constraint? It cannot be plain ERC-4626, since direct withdrawals do not work when the base asset is spread across a basket of tokens. ERC-7540 looks like the better fit, because async withdrawals let the vault unwind positions before paying out. If you have ever built an onchain index, I would value a read of my early spec and any feedback.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.