Stablecoin AMM that allows LPs to earn yield without the coins leaving their wallet.
SeaLevel is a DeFi primitive who's premise is that most users don't really care about the difference between major stablecoins denominating the same fiat currency. For example to most users 1 USDC is fungible with USDT, USDS or DAI, they just have a preference for holding a coin they trust to be pegged 1:1 with the fiat currency of their preference (e.g. USD, EUR, CHF, etc.).
Building on that principle SeaLevel uses 1inch's Aqua protocol to allow LPs to make funds from their wallet available for trading and as a result yield generation without them having to be deposited, allowing them to freely move, deposit and swap their own coins whenever needed without additional withdrawal transactions.
Mediated through the SeaLevel contract and Aqua, tokens are pulled and pushed directly between the wallets of the trader and market makers.
Our project consists of:
==Plank==
Besides building a nifty DeFi primitive, one the main goals of this hack was for us to dogfood our new smart contract language, Plank. To do this we created an ABI wrapper such that the Plank smart contract can talk to the Aqua contract via Solidity's standard ABI. During the hackathon we also made modifications and improvements to the Plank Standard Library, adding utilities related to ABI encoding, decoding and type conversion.

