Users can deposit assets from any EVM chain into the polynomial earn vaults. Under the hood, this asset is bridged via Hop or Optimism bridge to Optimism using Socket. After which, this asset is converted automatically to the asset used in the vault and deposited into the vault. Assets supported are stable pairs and are converted using Curve.
Currently, it is available with Ethereum, Arbitrum and Polygon as chains. And supporting ETH and USDC as assets.
How it works
The user first selects the chain and token to deposit into the earn vaults.
When a bridging transaction is requested, a unique address is generated for the user (on optimism) based on the deposit amount, token, user address and the vault they are depositing.
The bridging amount is sent to this address once the amount is in this address, a contract is deployed to that address to finish depositing to the vault.
Once the contract is created, the contract performs a swap (if required) and deposits to the vault.
Select the asset from the supported chain and enter the amount to deposit.
After entering the amount, click deposit and the asset is converted automatically to the asset used in the vault and deposited into the vault.