Interfaces
Bridges interfaces are solidity Interfaces that standardize Picnic's bridges according to their inputs and outputs. The main use case for this are project forks, but it may be used in case there are protocols that are very similar.
- 1.Bridges inherit from interfaces.
- 2.Interfaces have events that have to be used to have a consistent UI / UX for our users.
Current interfaces and its purposes are given below:
Interface | For bridges implementing... | Bridge examples |
Aave deposit/withdraw/harvest | ||
Autofarm deposit/withdraw/harvest | ||
Add/remove liquidity from UniswapV2 | ||
Swapping ERC20 tokens with Uniswap V2 | ||
Wrapping / Unwrapping MATIC |
Last modified 11mo ago