├── .gitignore ├── Dex-Agg.gif ├── README.md ├── migrations ├── 1_initial_migration.js └── 2_deploy_contracts.js ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── scripts └── transferUSDC.js ├── src ├── App.css ├── Uniswap_Logo.svg.png ├── abis │ ├── DexAggregator.json │ ├── IDex.json │ ├── IERC20.json │ └── Migrations.json ├── components │ ├── App.css │ ├── App.js │ ├── BuyForm.js │ ├── Main.js │ ├── Navbar.js │ └── SellForm.js ├── contracts │ ├── DexAggregator.sol │ └── Migrations.sol ├── eth-logo.png ├── helpers.js ├── index.js ├── serviceWorker.js ├── sushiswap-sushi-logo.png └── usd-coin-usdc-logo.png ├── test ├── .gitkeep └── DexAggregator.test.js └── truffle-config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/.gitignore -------------------------------------------------------------------------------- /Dex-Agg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/Dex-Agg.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/public/robots.txt -------------------------------------------------------------------------------- /scripts/transferUSDC.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/scripts/transferUSDC.js -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/App.css -------------------------------------------------------------------------------- /src/Uniswap_Logo.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/Uniswap_Logo.svg.png -------------------------------------------------------------------------------- /src/abis/DexAggregator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/abis/DexAggregator.json -------------------------------------------------------------------------------- /src/abis/IDex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/abis/IDex.json -------------------------------------------------------------------------------- /src/abis/IERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/abis/IERC20.json -------------------------------------------------------------------------------- /src/abis/Migrations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/abis/Migrations.json -------------------------------------------------------------------------------- /src/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/components/App.css -------------------------------------------------------------------------------- /src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/components/App.js -------------------------------------------------------------------------------- /src/components/BuyForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/components/BuyForm.js -------------------------------------------------------------------------------- /src/components/Main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/components/Main.js -------------------------------------------------------------------------------- /src/components/Navbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/components/Navbar.js -------------------------------------------------------------------------------- /src/components/SellForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/components/SellForm.js -------------------------------------------------------------------------------- /src/contracts/DexAggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/contracts/DexAggregator.sol -------------------------------------------------------------------------------- /src/contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/contracts/Migrations.sol -------------------------------------------------------------------------------- /src/eth-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/eth-logo.png -------------------------------------------------------------------------------- /src/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/helpers.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/index.js -------------------------------------------------------------------------------- /src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/serviceWorker.js -------------------------------------------------------------------------------- /src/sushiswap-sushi-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/sushiswap-sushi-logo.png -------------------------------------------------------------------------------- /src/usd-coin-usdc-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/src/usd-coin-usdc-logo.png -------------------------------------------------------------------------------- /test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/DexAggregator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/test/DexAggregator.test.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethan-crypto/dex-aggregator-tutorial/HEAD/truffle-config.js --------------------------------------------------------------------------------