├── .dockerignore ├── .eslintrc.js ├── .github └── workflows │ └── lint.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── PublicKeys.md ├── README.md ├── config └── liquidator.json ├── deploy ├── deploy.sh ├── kustomization.yaml └── liquidator.yaml ├── package.json ├── pnpm-lock.yaml ├── src ├── account.ts ├── const.ts ├── infra │ ├── logger │ │ ├── index.ts │ │ └── logger.ts │ └── thrid │ │ └── swap.ts ├── liquidator.ts ├── obligation.ts ├── price.ts ├── rebalance.ts ├── redeem.ts ├── scripts │ └── check_reserve.ts ├── types.ts └── utils.ts └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /node_modules 3 | .env 4 | id.json 5 | .idea -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/LICENSE -------------------------------------------------------------------------------- /PublicKeys.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/PublicKeys.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/README.md -------------------------------------------------------------------------------- /config/liquidator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/config/liquidator.json -------------------------------------------------------------------------------- /deploy/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/deploy/deploy.sh -------------------------------------------------------------------------------- /deploy/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/deploy/kustomization.yaml -------------------------------------------------------------------------------- /deploy/liquidator.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/deploy/liquidator.yaml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/account.ts -------------------------------------------------------------------------------- /src/const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/const.ts -------------------------------------------------------------------------------- /src/infra/logger/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/infra/logger/index.ts -------------------------------------------------------------------------------- /src/infra/logger/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/infra/logger/logger.ts -------------------------------------------------------------------------------- /src/infra/thrid/swap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/infra/thrid/swap.ts -------------------------------------------------------------------------------- /src/liquidator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/liquidator.ts -------------------------------------------------------------------------------- /src/obligation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/obligation.ts -------------------------------------------------------------------------------- /src/price.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/price.ts -------------------------------------------------------------------------------- /src/rebalance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/rebalance.ts -------------------------------------------------------------------------------- /src/redeem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/redeem.ts -------------------------------------------------------------------------------- /src/scripts/check_reserve.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/scripts/check_reserve.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/port-finance/liquidator/HEAD/tsconfig.json --------------------------------------------------------------------------------