├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── contract ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── contracts │ ├── SwapPro.sol │ └── TokenMinter.sol ├── hardhat.config.js ├── package-lock.json ├── package.json ├── scripts │ └── deploy.js └── yarn.lock ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── public ├── ARYOSHIN.png ├── ary.png ├── ary2.png ├── check.png ├── imgbin_medal-medals-encapsulated-postscript-png.png ├── imgbin_medal-prize-icon-png.png ├── loading.gif ├── logo.png ├── medal1.png ├── medal2.png ├── medal3.png ├── next.svg ├── pixel_bg4.webp ├── prize.png ├── swap.png ├── switch.png ├── token_icons │ ├── ARY.png │ ├── CRO.png │ ├── USDC.png │ ├── USDT.png │ ├── WCRO.png │ └── WETH.png ├── vercel.svg ├── wallet.jfif ├── wallet.png └── wallet_1.jfif ├── src ├── abis │ ├── ARY.json │ ├── Contract.json │ ├── Factory.json │ ├── USDC.json │ ├── USDT.json │ ├── VVS2_Router.json │ └── WCRO.json ├── abis_test │ ├── ARY.json │ ├── Contract.json │ ├── Factory.json │ ├── PairContract.json │ ├── USDC.json │ ├── USDT.json │ ├── VVS2_Router.json │ └── WCRO.json ├── app │ ├── competition │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ ├── providers.tsx │ └── swap │ │ └── page.tsx ├── components │ ├── ActionButton.tsx │ ├── CopyBotton.tsx │ ├── competition │ │ ├── PrizeTable.tsx │ │ ├── UserVolume.tsx │ │ └── VolumeTable.tsx │ ├── layout │ │ ├── Decor.tsx │ │ └── TopBar.tsx │ └── swap │ │ ├── InputSkeleton.tsx │ │ ├── SwapSide.tsx │ │ ├── TokenItem.tsx │ │ └── TokenSelect.tsx ├── config │ ├── client.ts │ ├── index.ts │ └── wagmi.ts ├── context │ └── AppContext.tsx └── utils │ ├── actions.ts │ └── index.ts ├── tailwind.config.ts ├── tsconfig.json └── yarn.lock /.env: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_ENABLE_TESTNETS === 'true' -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/README.md -------------------------------------------------------------------------------- /contract/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity -------------------------------------------------------------------------------- /contract/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea 3 | .env 4 | #Hardhat files 5 | cache 6 | artifacts 7 | -------------------------------------------------------------------------------- /contract/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/LICENSE -------------------------------------------------------------------------------- /contract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/README.md -------------------------------------------------------------------------------- /contract/contracts/SwapPro.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/contracts/SwapPro.sol -------------------------------------------------------------------------------- /contract/contracts/TokenMinter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/contracts/TokenMinter.sol -------------------------------------------------------------------------------- /contract/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/hardhat.config.js -------------------------------------------------------------------------------- /contract/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/package-lock.json -------------------------------------------------------------------------------- /contract/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/package.json -------------------------------------------------------------------------------- /contract/scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/scripts/deploy.js -------------------------------------------------------------------------------- /contract/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/contract/yarn.lock -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/ARYOSHIN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/ARYOSHIN.png -------------------------------------------------------------------------------- /public/ary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/ary.png -------------------------------------------------------------------------------- /public/ary2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/ary2.png -------------------------------------------------------------------------------- /public/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/check.png -------------------------------------------------------------------------------- /public/imgbin_medal-medals-encapsulated-postscript-png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/imgbin_medal-medals-encapsulated-postscript-png.png -------------------------------------------------------------------------------- /public/imgbin_medal-prize-icon-png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/imgbin_medal-prize-icon-png.png -------------------------------------------------------------------------------- /public/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/loading.gif -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/medal1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/medal1.png -------------------------------------------------------------------------------- /public/medal2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/medal2.png -------------------------------------------------------------------------------- /public/medal3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/medal3.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/pixel_bg4.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/pixel_bg4.webp -------------------------------------------------------------------------------- /public/prize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/prize.png -------------------------------------------------------------------------------- /public/swap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/swap.png -------------------------------------------------------------------------------- /public/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/switch.png -------------------------------------------------------------------------------- /public/token_icons/ARY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/token_icons/ARY.png -------------------------------------------------------------------------------- /public/token_icons/CRO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/token_icons/CRO.png -------------------------------------------------------------------------------- /public/token_icons/USDC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/token_icons/USDC.png -------------------------------------------------------------------------------- /public/token_icons/USDT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/token_icons/USDT.png -------------------------------------------------------------------------------- /public/token_icons/WCRO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/token_icons/WCRO.png -------------------------------------------------------------------------------- /public/token_icons/WETH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/token_icons/WETH.png -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/wallet.jfif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/wallet.jfif -------------------------------------------------------------------------------- /public/wallet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/wallet.png -------------------------------------------------------------------------------- /public/wallet_1.jfif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/public/wallet_1.jfif -------------------------------------------------------------------------------- /src/abis/ARY.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/ARY.json -------------------------------------------------------------------------------- /src/abis/Contract.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/Contract.json -------------------------------------------------------------------------------- /src/abis/Factory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/Factory.json -------------------------------------------------------------------------------- /src/abis/USDC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/USDC.json -------------------------------------------------------------------------------- /src/abis/USDT.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/USDT.json -------------------------------------------------------------------------------- /src/abis/VVS2_Router.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/VVS2_Router.json -------------------------------------------------------------------------------- /src/abis/WCRO.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis/WCRO.json -------------------------------------------------------------------------------- /src/abis_test/ARY.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/ARY.json -------------------------------------------------------------------------------- /src/abis_test/Contract.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/Contract.json -------------------------------------------------------------------------------- /src/abis_test/Factory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/Factory.json -------------------------------------------------------------------------------- /src/abis_test/PairContract.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/PairContract.json -------------------------------------------------------------------------------- /src/abis_test/USDC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/USDC.json -------------------------------------------------------------------------------- /src/abis_test/USDT.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/USDT.json -------------------------------------------------------------------------------- /src/abis_test/VVS2_Router.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/VVS2_Router.json -------------------------------------------------------------------------------- /src/abis_test/WCRO.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/abis_test/WCRO.json -------------------------------------------------------------------------------- /src/app/competition/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/competition/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/providers.tsx -------------------------------------------------------------------------------- /src/app/swap/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/app/swap/page.tsx -------------------------------------------------------------------------------- /src/components/ActionButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/ActionButton.tsx -------------------------------------------------------------------------------- /src/components/CopyBotton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/CopyBotton.tsx -------------------------------------------------------------------------------- /src/components/competition/PrizeTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/competition/PrizeTable.tsx -------------------------------------------------------------------------------- /src/components/competition/UserVolume.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/competition/UserVolume.tsx -------------------------------------------------------------------------------- /src/components/competition/VolumeTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/competition/VolumeTable.tsx -------------------------------------------------------------------------------- /src/components/layout/Decor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/layout/Decor.tsx -------------------------------------------------------------------------------- /src/components/layout/TopBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/layout/TopBar.tsx -------------------------------------------------------------------------------- /src/components/swap/InputSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/swap/InputSkeleton.tsx -------------------------------------------------------------------------------- /src/components/swap/SwapSide.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/swap/SwapSide.tsx -------------------------------------------------------------------------------- /src/components/swap/TokenItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/swap/TokenItem.tsx -------------------------------------------------------------------------------- /src/components/swap/TokenSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/components/swap/TokenSelect.tsx -------------------------------------------------------------------------------- /src/config/client.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/wagmi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/config/wagmi.ts -------------------------------------------------------------------------------- /src/context/AppContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/context/AppContext.tsx -------------------------------------------------------------------------------- /src/utils/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/utils/actions.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donpushme/evm-dex-swap/HEAD/yarn.lock --------------------------------------------------------------------------------