joinPool
allows deposits where all the underlying quantities of assets are according to weights.joinswapExternAmountIn
allows a deposit where only one of the underlying quantities of assets is provided. Depositing a single asset is equivalent to depositing all pool assets proportionally by swapping the provided assets, which includes slippage.exitPool
allows Pie holders to burn Pie tokens and receive the underlying quantities of assets according to weights.exitswapPoolAmountIn
allows Pie holders to burn Pie tokens and receive only one of the underlying asset. Exiting to a single asset is equivalent to swapping the other underlying assets for the chosen one, which includes slippage.PFlashLoans
smart contract pool.PFlashLoans
does not imply funds have been returned after a smart contract call by looking at the balances at the end of a transaction. It explicitly sends funds back to the Pie Smart Pool.PFlashLoans
Pools could be used for more reasons than borrowing funds, for instance, a Pie containing governance tokens of some DAOs could use the Flash Loan mechanics to vote by owning the Pie instead of the governance token.setSwapFee()
in PieDAO Smart Pools allows for a dynamic fee system that can respond quickly to the expansion and contraction of demand for specific assets in the pool according to external factors.