SuppX
This project provides multichain vault (erc4626) with flashloan support
Screenshots






Problem Statement
ERC4626 is an extension of ERC20 that proposes a standard interface for token vaults. it will be even better when it integrates the multi-thread feature from Hyperlane, thereby bringing multi-chain farming to users.In addition, we support Flashloan to help users earn additional profits from swapping price differences between current swap platforms.Key Features and Functionality:Allows users to create new token vaults, displaying information makes it easy for users to understandThe smart contract is deployed on 4 networks: Scroll Sepolia, Mantle Testnet, Goerli, Optimism GoerliSupports users to add tokens to multi-chain vaultsProvide flashloan-backed liquidity
Solution
Vault implementation according to erc4626 standardUse Hyperlane's mailbox dispatch feature to support adding tokens to a multi-chain vaultTo make users can easily manage the token when interacting with multi-chain vaults, I created 2 contracts: UserContractSender in chain A and UserContract in chain B. The user will interact with the UserContractSender to create a new UserContract, add tokens to the vault and withdraw by using mailbox from HyperlaneThe smartcontract is deployed on 4 networks: Scroll Sepolia, Mantle Testnet, Goerli, Optimism GoerliProvides a template to support users using vault for flashloan
Hackathon
ETHOnline 2023
2023
Prizes
- 🏆
🏊♀️ Mantle — Build on Mantle
- 🏆
🏊 Scroll — Pool Prize
Contributors
- vinhyenvodoi98
34 contributions