Skip to content

AlphaFinanceLab/alpha-homora-v1-eth-contract

Repository files navigation

AlphaHomora 💫 🔐

Unlock Your Yield Farming Potential

The repository contains the smart contracts of AlphaHomora leveraged yield farming protocol on Ethereum and Binance Smart Chain and any other EVM compatible blockchains you like. With AlphaHomora, the lenders can earn interests on supplied blockchain native currencies (i.e. ETH or BNB), while the farmers can borrow the currencies to farm with higher APY rates. Win-win.

Smart Contract Structure

Bank 🏦 (code)

Bank is the smart contract that manages all leveraged yeild farming positions. All interactions to AlphaHomora happen through this smart contract. If you are a rich wizard 🧙‍♂️, you can deposit your ETH/BNB to earn intersts. If you are a poor farmer 👩‍🌾, you can open a new position on Bank by specifying the debt you will take anda Goblin who will work for your position.

Goblins 👺 (code)

UniswapGoblin 🦄👺 (code)

StrategyAddETHOnly ⬆️Ξ (code)

StrategyLiquidate ⬇️Ξ (code)

License

MIT License