### Arbitrage Opportunity Example Source: https://docs.furucombo.app/using-furucombo/tutorials/flashloan-combo A historical example of a price discrepancy between Uniswap V1 and KyberSwap. ```text Rate difference: 20+% 1 DAI = 1.2411 sUSD on Uniswap 1 sUSD = 0.9927 DAI on Kyberswap 👉🏻 Buy low sell high: Buy sUSD on Uniswap and sell it on Kyberswap ``` -------------------------------- ### Example DeFi Transaction Flow Source: https://docs.furucombo.app/using-furucombo/tutorials/passive-income-part1 Illustrates a multi-step process to acquire interest-bearing tokens for different assets on various DeFi protocols. This sequence can be streamlined using platforms like Furucombo. ```plaintext 1) swap DAI to SNX 2) swap DAI to WBTC 3) deposit SNX and receive aSNX 4) deposit WBTC and receive cWBTC ``` -------------------------------- ### Kyberswap Cube Configuration Source: https://docs.furucombo.app/using-furucombo/tutorials/flashloan-combo Steps to configure the Kyberswap swap cube in Furucombo. ```text 1️⃣ Click the cube with '+' symbol 2️⃣ Choose 'Swap Token' under Kyberswap section 3️⃣ Enter Input: 122.83649 sUSD 4️⃣ Output generated from Kyberswap: 122.83429 DAI 5️⃣ Click 'Set' ``` -------------------------------- ### Uniswap V1 Cube Configuration Source: https://docs.furucombo.app/using-furucombo/tutorials/flashloan-combo Steps to configure the Uniswap V1 swap cube in Furucombo. ```text 1️⃣ Click the cube with '+' symbol 2️⃣ Choose 'Swap Token' under Uniswap V1 section 3️⃣ Enter Input: 100DAI 4️⃣ Output generated from Uniswap: 122.83649sUSD 5️⃣ Click 'Set' ``` -------------------------------- ### Sign Up for Rewards Source: https://docs.furucombo.app/dev/furucombo-trevi Register for rewards from one or multiple Angels. Note that joining more rewards increases gas costs for future operations. ```solidity joinAngel(address angel) ``` ```solidity joinAngels(address[] angels) ``` -------------------------------- ### dYdX Flashloan Implementation Note Source: https://docs.furucombo.app/using-furucombo/tutorials/flashloan-combo Flashloans on dYdX are not a consumer-facing feature and require manual chaining of specific actions. ```text *Note that flashloan on dydx is not a consumer feature. It is achieved by developers chaining Withdraw, Call and Deposit actions. ``` -------------------------------- ### Token Allocation for Interest-Bearing Tokens Source: https://docs.furucombo.app/using-furucombo/tutorials/passive-income-part1 Demonstrates a sample allocation of initial funds (100 DAI) into different interest-bearing tokens across Aave and Compound. Note: This is for tutorial purposes and not investment advice. ```plaintext Initial funds: 100DAI • 70DAI → DAI 3% APY on Aave • 15DAI → SNX 8.3% APY on Aave • 15DAI → WBTC 0.25% APY on Compound ``` -------------------------------- ### Arbitrage Strategy Checklist Source: https://docs.furucombo.app/using-furucombo/tutorials/flashloan-combo Prerequisites for executing an arbitrage trade using a flashloan. ```text Find an arbitrage opportunity >0.09% to cover flashloan's fee Have some ETH in your wallet enough to pay for gas ``` -------------------------------- ### Configure Reward Distribution Source: https://docs.furucombo.app/dev/furucombo-trevi Methods to set the reward distribution rate and schedule. Ensure sufficient token approval to the Angel contract before calling. ```solidity addGraceReward(uint256 _amount, uint256 _endTime) ``` ```solidity setGracePerSecond(uint256 _gracePerSecond, uint256 _endTime) ``` -------------------------------- ### Create a Fountain Source: https://docs.furucombo.app/dev/furucombo-trevi Call this function on the Fountain Factory to create a new Fountain if the desired token is not yet in the system. ```solidity create(ERC20 token) ``` -------------------------------- ### Flashloan Combo Execution Flow Source: https://docs.furucombo.app/using-furucombo/tutorials/flashloan-combo The sequence of operations required to execute the arbitrage trade and repay the flashloan. ```text Borrow 100DAI from Flashloan Swap 100DAI to 122.83649sUSD on Uniswap Swap 122.83649sUSD to 122.83429DAI on Kyberswap Repay 100.09DAI to Flashloan You keep 22.74429DAI profit. ``` -------------------------------- ### Assign Fountain for Incentives Source: https://docs.furucombo.app/dev/furucombo-trevi Use this function to assign a Fountain to receive rewards in the Angel contract. ```solidity add(uint256 allocPoint, address _lpToken, address _Rewarder) ```