├── .gitignore ├── README.md ├── contracts ├── dYdXLiquidator.sol └── sAssetsOracle.sol ├── data ├── list.csv ├── sETH-addresses.json ├── sETH-loanIDs.json ├── sUSD-addresses.json ├── sUSD-loanIDs.json ├── sUSD-optimalConfig.json ├── sUSD-optimalConfig2.json └── sUSD-optimalConfig3.json ├── execute ├── .DS_Store ├── builder.js ├── executor.js ├── index.js ├── monitor-sETH.js ├── monitor-sUSD.js └── utils │ ├── abi │ ├── chi.json │ ├── collateralValue.json │ ├── dYdXLiquidator.json │ ├── index.js │ ├── sAssetsOracle.json │ └── sETH.json │ ├── addresses.js │ ├── configuration.json │ └── constants.js ├── hardhat ├── .gitignore ├── contracts │ ├── dYdXLiquidator.sol │ ├── dYdXLiquidatorCL.sol │ ├── sAssetsOracle.sol │ ├── sUSDLiquidator.sol │ └── sUSDLiquidatorCL.sol ├── hardhat.config.js ├── package-lock.json ├── package.json ├── scripts │ ├── getCollateralValues-sETH2.js │ ├── getCollateralValues-sUSD.js │ ├── sUSD-liquidator-nonFL.js │ ├── sUSD-liquidator.js │ ├── sUSD-liquidatorUpdated.js │ └── sample-script.js └── test │ └── sUSD-liquidator.js └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/README.md -------------------------------------------------------------------------------- /contracts/dYdXLiquidator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/contracts/dYdXLiquidator.sol -------------------------------------------------------------------------------- /contracts/sAssetsOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/contracts/sAssetsOracle.sol -------------------------------------------------------------------------------- /data/list.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/list.csv -------------------------------------------------------------------------------- /data/sETH-addresses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sETH-addresses.json -------------------------------------------------------------------------------- /data/sETH-loanIDs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sETH-loanIDs.json -------------------------------------------------------------------------------- /data/sUSD-addresses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sUSD-addresses.json -------------------------------------------------------------------------------- /data/sUSD-loanIDs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sUSD-loanIDs.json -------------------------------------------------------------------------------- /data/sUSD-optimalConfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sUSD-optimalConfig.json -------------------------------------------------------------------------------- /data/sUSD-optimalConfig2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sUSD-optimalConfig2.json -------------------------------------------------------------------------------- /data/sUSD-optimalConfig3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/data/sUSD-optimalConfig3.json -------------------------------------------------------------------------------- /execute/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/.DS_Store -------------------------------------------------------------------------------- /execute/builder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/builder.js -------------------------------------------------------------------------------- /execute/executor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/executor.js -------------------------------------------------------------------------------- /execute/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/index.js -------------------------------------------------------------------------------- /execute/monitor-sETH.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/monitor-sETH.js -------------------------------------------------------------------------------- /execute/monitor-sUSD.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/monitor-sUSD.js -------------------------------------------------------------------------------- /execute/utils/abi/chi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/abi/chi.json -------------------------------------------------------------------------------- /execute/utils/abi/collateralValue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/abi/collateralValue.json -------------------------------------------------------------------------------- /execute/utils/abi/dYdXLiquidator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/abi/dYdXLiquidator.json -------------------------------------------------------------------------------- /execute/utils/abi/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/abi/index.js -------------------------------------------------------------------------------- /execute/utils/abi/sAssetsOracle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/abi/sAssetsOracle.json -------------------------------------------------------------------------------- /execute/utils/abi/sETH.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/abi/sETH.json -------------------------------------------------------------------------------- /execute/utils/addresses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/addresses.js -------------------------------------------------------------------------------- /execute/utils/configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/configuration.json -------------------------------------------------------------------------------- /execute/utils/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/execute/utils/constants.js -------------------------------------------------------------------------------- /hardhat/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/.gitignore -------------------------------------------------------------------------------- /hardhat/contracts/dYdXLiquidator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/contracts/dYdXLiquidator.sol -------------------------------------------------------------------------------- /hardhat/contracts/dYdXLiquidatorCL.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/contracts/dYdXLiquidatorCL.sol -------------------------------------------------------------------------------- /hardhat/contracts/sAssetsOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/contracts/sAssetsOracle.sol -------------------------------------------------------------------------------- /hardhat/contracts/sUSDLiquidator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/contracts/sUSDLiquidator.sol -------------------------------------------------------------------------------- /hardhat/contracts/sUSDLiquidatorCL.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/contracts/sUSDLiquidatorCL.sol -------------------------------------------------------------------------------- /hardhat/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/hardhat.config.js -------------------------------------------------------------------------------- /hardhat/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/package-lock.json -------------------------------------------------------------------------------- /hardhat/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/package.json -------------------------------------------------------------------------------- /hardhat/scripts/getCollateralValues-sETH2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/scripts/getCollateralValues-sETH2.js -------------------------------------------------------------------------------- /hardhat/scripts/getCollateralValues-sUSD.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/scripts/getCollateralValues-sUSD.js -------------------------------------------------------------------------------- /hardhat/scripts/sUSD-liquidator-nonFL.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/scripts/sUSD-liquidator-nonFL.js -------------------------------------------------------------------------------- /hardhat/scripts/sUSD-liquidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/scripts/sUSD-liquidator.js -------------------------------------------------------------------------------- /hardhat/scripts/sUSD-liquidatorUpdated.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/scripts/sUSD-liquidatorUpdated.js -------------------------------------------------------------------------------- /hardhat/scripts/sample-script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/scripts/sample-script.js -------------------------------------------------------------------------------- /hardhat/test/sUSD-liquidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/hardhat/test/sUSD-liquidator.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bertmiller/sMEV/HEAD/package.json --------------------------------------------------------------------------------