├── .babelrc ├── .gitignore ├── README.md ├── migrations ├── 1_initial_migration.js └── 2_deploy_contracts.js ├── mint-dai ├── dai-abi.json └── dai.js ├── package.json ├── public ├── favicon.ico ├── index.html └── manifest.json ├── src ├── abis │ ├── AaveLendingPool.json │ ├── Aggregator.json │ ├── DAI.json │ ├── Migrations.json │ ├── SafeMath.json │ ├── aDAI.json │ └── cDAI.json ├── components │ ├── App.css │ ├── App.js │ └── Navbar.js ├── contracts │ ├── Aggregator.sol │ └── Migrations.sol ├── helpers │ ├── aaveLendingPool-abi.json │ ├── cDai-abi.json │ ├── calculateAPY.js │ └── dai-abi.json ├── index.js ├── logo.png └── serviceWorker.js ├── test └── Aggregator.test.js └── truffle-config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/README.md -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /mint-dai/dai-abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/mint-dai/dai-abi.json -------------------------------------------------------------------------------- /mint-dai/dai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/mint-dai/dai.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/public/index.html -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/public/manifest.json -------------------------------------------------------------------------------- /src/abis/AaveLendingPool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/AaveLendingPool.json -------------------------------------------------------------------------------- /src/abis/Aggregator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/Aggregator.json -------------------------------------------------------------------------------- /src/abis/DAI.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/DAI.json -------------------------------------------------------------------------------- /src/abis/Migrations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/Migrations.json -------------------------------------------------------------------------------- /src/abis/SafeMath.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/SafeMath.json -------------------------------------------------------------------------------- /src/abis/aDAI.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/aDAI.json -------------------------------------------------------------------------------- /src/abis/cDAI.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/abis/cDAI.json -------------------------------------------------------------------------------- /src/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/components/App.css -------------------------------------------------------------------------------- /src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/components/App.js -------------------------------------------------------------------------------- /src/components/Navbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/components/Navbar.js -------------------------------------------------------------------------------- /src/contracts/Aggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/contracts/Aggregator.sol -------------------------------------------------------------------------------- /src/contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/contracts/Migrations.sol -------------------------------------------------------------------------------- /src/helpers/aaveLendingPool-abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/helpers/aaveLendingPool-abi.json -------------------------------------------------------------------------------- /src/helpers/cDai-abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/helpers/cDai-abi.json -------------------------------------------------------------------------------- /src/helpers/calculateAPY.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/helpers/calculateAPY.js -------------------------------------------------------------------------------- /src/helpers/dai-abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/helpers/dai-abi.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/logo.png -------------------------------------------------------------------------------- /src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/src/serviceWorker.js -------------------------------------------------------------------------------- /test/Aggregator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/test/Aggregator.test.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dappuniversity/yield-aggregator/HEAD/truffle-config.js --------------------------------------------------------------------------------