Bridging Enzyme and Balancer Protocols with Panache!
This project integrates the Enzyme and Balancer protocols. It allows Enzyme to use Balancer as a DEX for token swaps. Additionally this project allows Enzyme Fund Managers to provide liquidity (lend assets) to the WBTC/WETH Balancer pool and receive representative BPT tokens into the Fund Managers Fund. The project also allows for Fund Managers to remove liquidity (redeem assets) from the WBTC/WETH Balancer pool.
How it's made
We used Solidity for the contract code, and leveraged Solidity libraries from the Enzyme team. Typescript was used for test code and we also used a handful of published NPM packages from both the Enzyme and Balancer team to make testing easier. Additionally we used hardhat to pin our local test blockchains to a specific mainnet block for both deployment and testing purposes.