stabilitydao / inception-contracts

Smart contracts from the Inception epoch of the Stability DAO
https://stabilitydao.org
MIT License
12 stars 4 forks source link

RevenueRouter #17

Closed a17 closed 2 years ago

a17 commented 2 years ago

Generated revenue can be in form of any erc20 token. Contract must swap any tokens instead WETH from storage token list with paths to PROFIT token, send to Splitter and run it. Multihop swaps must be implemented by using uniswap v2 and uniswap v3 routers through an intermediary pool. https://docs.uniswap.org/protocol/guides/swaps/multihop-swaps