├── Contracts ├── .gitkeep ├── DappToken.sol ├── LinkToken.sol ├── MockDAI.sol ├── MockERC20.sol ├── MockOracle.sol ├── MockV3Aggregator.sol ├── MockWETH.sol ├── TokenFarm.sol └── VRFCoordinatorMock.sol ├── Frontend UI ├── .gitkeep ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── .gitkeep │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── .gitkeep │ ├── App.tsx │ ├── brownie-config.json │ ├── components │ │ ├── .gitkeep │ │ ├── Balance.tsx │ │ ├── BalanceMsg.tsx │ │ ├── Header.tsx │ │ ├── Main.tsx │ │ ├── Stake.tsx │ │ ├── Wallet.tsx │ │ ├── dai.png │ │ ├── dapp.png │ │ ├── ethereum.png │ │ └── logo.png │ ├── deployments │ │ ├── .gitkeep │ │ └── chain_id.json │ ├── hooks │ │ ├── .gitkeep │ │ ├── index.ts │ │ └── useStakeToken.tsx │ ├── index.css │ ├── index.tsx │ ├── react-app-env.d.ts │ ├── reportWebVitals.ts │ └── setupTests.ts ├── tsconfig.json └── yarn.lock ├── README.md ├── brownie-config.yaml ├── scripts ├── .gitkeep ├── __init__.py ├── deploy.py ├── update_front_end.py └── utils.py └── tests ├── conftest.py └── test_token_farm.py /Contracts/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Contracts/DappToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/DappToken.sol -------------------------------------------------------------------------------- /Contracts/LinkToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/LinkToken.sol -------------------------------------------------------------------------------- /Contracts/MockDAI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/MockDAI.sol -------------------------------------------------------------------------------- /Contracts/MockERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/MockERC20.sol -------------------------------------------------------------------------------- /Contracts/MockOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/MockOracle.sol -------------------------------------------------------------------------------- /Contracts/MockV3Aggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/MockV3Aggregator.sol -------------------------------------------------------------------------------- /Contracts/MockWETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/MockWETH.sol -------------------------------------------------------------------------------- /Contracts/TokenFarm.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/TokenFarm.sol -------------------------------------------------------------------------------- /Contracts/VRFCoordinatorMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Contracts/VRFCoordinatorMock.sol -------------------------------------------------------------------------------- /Frontend UI/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend UI/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/README.md -------------------------------------------------------------------------------- /Frontend UI/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/package-lock.json -------------------------------------------------------------------------------- /Frontend UI/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/package.json -------------------------------------------------------------------------------- /Frontend UI/public/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend UI/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/public/favicon.ico -------------------------------------------------------------------------------- /Frontend UI/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/public/index.html -------------------------------------------------------------------------------- /Frontend UI/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/public/logo192.png -------------------------------------------------------------------------------- /Frontend UI/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/public/logo512.png -------------------------------------------------------------------------------- /Frontend UI/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/public/manifest.json -------------------------------------------------------------------------------- /Frontend UI/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/public/robots.txt -------------------------------------------------------------------------------- /Frontend UI/src/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend UI/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/App.tsx -------------------------------------------------------------------------------- /Frontend UI/src/brownie-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/brownie-config.json -------------------------------------------------------------------------------- /Frontend UI/src/components/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend UI/src/components/Balance.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/Balance.tsx -------------------------------------------------------------------------------- /Frontend UI/src/components/BalanceMsg.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/BalanceMsg.tsx -------------------------------------------------------------------------------- /Frontend UI/src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/Header.tsx -------------------------------------------------------------------------------- /Frontend UI/src/components/Main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/Main.tsx -------------------------------------------------------------------------------- /Frontend UI/src/components/Stake.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/Stake.tsx -------------------------------------------------------------------------------- /Frontend UI/src/components/Wallet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/Wallet.tsx -------------------------------------------------------------------------------- /Frontend UI/src/components/dai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/dai.png -------------------------------------------------------------------------------- /Frontend UI/src/components/dapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/dapp.png -------------------------------------------------------------------------------- /Frontend UI/src/components/ethereum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/ethereum.png -------------------------------------------------------------------------------- /Frontend UI/src/components/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/components/logo.png -------------------------------------------------------------------------------- /Frontend UI/src/deployments/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend UI/src/deployments/chain_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/deployments/chain_id.json -------------------------------------------------------------------------------- /Frontend UI/src/hooks/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend UI/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/hooks/index.ts -------------------------------------------------------------------------------- /Frontend UI/src/hooks/useStakeToken.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/hooks/useStakeToken.tsx -------------------------------------------------------------------------------- /Frontend UI/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/index.css -------------------------------------------------------------------------------- /Frontend UI/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/index.tsx -------------------------------------------------------------------------------- /Frontend UI/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Frontend UI/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/reportWebVitals.ts -------------------------------------------------------------------------------- /Frontend UI/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/src/setupTests.ts -------------------------------------------------------------------------------- /Frontend UI/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/tsconfig.json -------------------------------------------------------------------------------- /Frontend UI/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/Frontend UI/yarn.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/README.md -------------------------------------------------------------------------------- /brownie-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/brownie-config.yaml -------------------------------------------------------------------------------- /scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /scripts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/scripts/__init__.py -------------------------------------------------------------------------------- /scripts/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/scripts/deploy.py -------------------------------------------------------------------------------- /scripts/update_front_end.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/scripts/update_front_end.py -------------------------------------------------------------------------------- /scripts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/scripts/utils.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_token_farm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-parthsharma/DEFI-Dapp/HEAD/tests/test_token_farm.py --------------------------------------------------------------------------------