├── LICENSE ├── README.md ├── frontend ├── .env.sample ├── .eslintrc.json ├── .gitignore ├── README.md ├── components.json ├── components │ ├── Address.tsx │ ├── Card.tsx │ ├── Header.tsx │ ├── Layout.tsx │ ├── TradeTable.tsx │ ├── User.tsx │ ├── trading │ │ ├── BuySell.tsx │ │ ├── Chart.tsx │ │ ├── Discover.tsx │ │ ├── Favorites.tsx │ │ ├── Holdings.tsx │ │ ├── NewestUsers.tsx │ │ ├── ProfitableUsers.tsx │ │ ├── RecentTokenTrades.tsx │ │ └── RecentTrades.tsx │ └── ui │ │ ├── button.tsx │ │ ├── command.tsx │ │ ├── dialog.tsx │ │ ├── input.tsx │ │ ├── popover.tsx │ │ └── table.tsx ├── global.css ├── next.config.js ├── package-lock.json ├── package.json ├── pages │ ├── _app.tsx │ ├── api │ │ ├── eth.ts │ │ ├── stats │ │ │ ├── leaderboard.ts │ │ │ ├── newest.ts │ │ │ ├── realized.ts │ │ │ └── trades.ts │ │ ├── token │ │ │ ├── chart.ts │ │ │ ├── holdings.ts │ │ │ ├── search.ts │ │ │ └── trades.ts │ │ └── user.ts │ └── index.tsx ├── pnpm-lock.yaml ├── postcss.config.js ├── prisma │ ├── index.ts │ └── schema.prisma ├── public │ ├── favicon.ico │ ├── meta.png │ ├── rasters │ │ └── default.png │ └── vectors │ │ └── logo.svg ├── state │ └── global.ts ├── tailwind.config.js ├── tsconfig.json ├── utils.ts └── utils │ ├── cache.ts │ ├── constants.ts │ ├── time.ts │ ├── usd.ts │ └── usePollData.ts └── indexer ├── .env.sample ├── .gitignore ├── README.md ├── package.json ├── pnpm-lock.yaml ├── prisma └── schema.prisma ├── src ├── index.ts ├── keeper.ts ├── profile.ts ├── stats.ts └── utils │ ├── constants.ts │ ├── helpers.ts │ ├── logger.ts │ ├── math.ts │ └── types.ts └── tsconfig.json /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/README.md -------------------------------------------------------------------------------- /frontend/.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/.env.sample -------------------------------------------------------------------------------- /frontend/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/.eslintrc.json -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components.json -------------------------------------------------------------------------------- /frontend/components/Address.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/Address.tsx -------------------------------------------------------------------------------- /frontend/components/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/Card.tsx -------------------------------------------------------------------------------- /frontend/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/Header.tsx -------------------------------------------------------------------------------- /frontend/components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/Layout.tsx -------------------------------------------------------------------------------- /frontend/components/TradeTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/TradeTable.tsx -------------------------------------------------------------------------------- /frontend/components/User.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/User.tsx -------------------------------------------------------------------------------- /frontend/components/trading/BuySell.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/BuySell.tsx -------------------------------------------------------------------------------- /frontend/components/trading/Chart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/Chart.tsx -------------------------------------------------------------------------------- /frontend/components/trading/Discover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/Discover.tsx -------------------------------------------------------------------------------- /frontend/components/trading/Favorites.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/Favorites.tsx -------------------------------------------------------------------------------- /frontend/components/trading/Holdings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/Holdings.tsx -------------------------------------------------------------------------------- /frontend/components/trading/NewestUsers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/NewestUsers.tsx -------------------------------------------------------------------------------- /frontend/components/trading/ProfitableUsers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/ProfitableUsers.tsx -------------------------------------------------------------------------------- /frontend/components/trading/RecentTokenTrades.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/RecentTokenTrades.tsx -------------------------------------------------------------------------------- /frontend/components/trading/RecentTrades.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/trading/RecentTrades.tsx -------------------------------------------------------------------------------- /frontend/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/ui/button.tsx -------------------------------------------------------------------------------- /frontend/components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/ui/command.tsx -------------------------------------------------------------------------------- /frontend/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/ui/dialog.tsx -------------------------------------------------------------------------------- /frontend/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/ui/input.tsx -------------------------------------------------------------------------------- /frontend/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/ui/popover.tsx -------------------------------------------------------------------------------- /frontend/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/components/ui/table.tsx -------------------------------------------------------------------------------- /frontend/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/global.css -------------------------------------------------------------------------------- /frontend/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/next.config.js -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/_app.tsx -------------------------------------------------------------------------------- /frontend/pages/api/eth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/eth.ts -------------------------------------------------------------------------------- /frontend/pages/api/stats/leaderboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/stats/leaderboard.ts -------------------------------------------------------------------------------- /frontend/pages/api/stats/newest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/stats/newest.ts -------------------------------------------------------------------------------- /frontend/pages/api/stats/realized.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/stats/realized.ts -------------------------------------------------------------------------------- /frontend/pages/api/stats/trades.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/stats/trades.ts -------------------------------------------------------------------------------- /frontend/pages/api/token/chart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/token/chart.ts -------------------------------------------------------------------------------- /frontend/pages/api/token/holdings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/token/holdings.ts -------------------------------------------------------------------------------- /frontend/pages/api/token/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/token/search.ts -------------------------------------------------------------------------------- /frontend/pages/api/token/trades.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/token/trades.ts -------------------------------------------------------------------------------- /frontend/pages/api/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/api/user.ts -------------------------------------------------------------------------------- /frontend/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pages/index.tsx -------------------------------------------------------------------------------- /frontend/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/pnpm-lock.yaml -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/prisma/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/prisma/index.ts -------------------------------------------------------------------------------- /frontend/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/prisma/schema.prisma -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/meta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/public/meta.png -------------------------------------------------------------------------------- /frontend/public/rasters/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/public/rasters/default.png -------------------------------------------------------------------------------- /frontend/public/vectors/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/public/vectors/logo.svg -------------------------------------------------------------------------------- /frontend/state/global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/state/global.ts -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/utils.ts -------------------------------------------------------------------------------- /frontend/utils/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/utils/cache.ts -------------------------------------------------------------------------------- /frontend/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/utils/constants.ts -------------------------------------------------------------------------------- /frontend/utils/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/utils/time.ts -------------------------------------------------------------------------------- /frontend/utils/usd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/utils/usd.ts -------------------------------------------------------------------------------- /frontend/utils/usePollData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/frontend/utils/usePollData.ts -------------------------------------------------------------------------------- /indexer/.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/.env.sample -------------------------------------------------------------------------------- /indexer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/.gitignore -------------------------------------------------------------------------------- /indexer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/README.md -------------------------------------------------------------------------------- /indexer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/package.json -------------------------------------------------------------------------------- /indexer/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/pnpm-lock.yaml -------------------------------------------------------------------------------- /indexer/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/prisma/schema.prisma -------------------------------------------------------------------------------- /indexer/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/index.ts -------------------------------------------------------------------------------- /indexer/src/keeper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/keeper.ts -------------------------------------------------------------------------------- /indexer/src/profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/profile.ts -------------------------------------------------------------------------------- /indexer/src/stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/stats.ts -------------------------------------------------------------------------------- /indexer/src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/utils/constants.ts -------------------------------------------------------------------------------- /indexer/src/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/utils/helpers.ts -------------------------------------------------------------------------------- /indexer/src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/utils/logger.ts -------------------------------------------------------------------------------- /indexer/src/utils/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/utils/math.ts -------------------------------------------------------------------------------- /indexer/src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/src/utils/types.ts -------------------------------------------------------------------------------- /indexer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anish-Agnihotri/friendmex/HEAD/indexer/tsconfig.json --------------------------------------------------------------------------------