├── .env.example ├── .gas-snapshot ├── .gitignore ├── .gitmodules ├── .solhint.json ├── .solhintignore ├── LICENSE ├── README.md ├── contracts ├── Arbiter.sol ├── interfaces │ ├── IArbiter.sol │ ├── IDexAdapter.sol │ ├── IFlashLiquidityFactory.sol │ └── IFlashLiquidityPair.sol └── libraries │ ├── Babylonian.sol │ └── FullMath.sol ├── foundry.toml ├── hardhat.config.ts ├── package.json ├── remappings.txt ├── slither.config.json ├── test ├── foundry-test │ ├── fuzz │ │ └── Arbiter.fuzz.t.sol │ ├── integration │ │ └── Arbiter.integration.t.sol │ └── unit │ │ └── Arbiter.t.sol ├── helpers │ └── ArbiterHelpers.sol └── mocks │ ├── ERC20Mock.sol │ ├── FlashLiquidityPairMock.sol │ └── adapters │ ├── DexAdapter.sol │ ├── UniswapV2Adapter.sol │ └── UniswapV3Adapter.sol ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/.env.example -------------------------------------------------------------------------------- /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/.gitmodules -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | contracts/test -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Arbiter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/Arbiter.sol -------------------------------------------------------------------------------- /contracts/interfaces/IArbiter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/interfaces/IArbiter.sol -------------------------------------------------------------------------------- /contracts/interfaces/IDexAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/interfaces/IDexAdapter.sol -------------------------------------------------------------------------------- /contracts/interfaces/IFlashLiquidityFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/interfaces/IFlashLiquidityFactory.sol -------------------------------------------------------------------------------- /contracts/interfaces/IFlashLiquidityPair.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/interfaces/IFlashLiquidityPair.sol -------------------------------------------------------------------------------- /contracts/libraries/Babylonian.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/libraries/Babylonian.sol -------------------------------------------------------------------------------- /contracts/libraries/FullMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/contracts/libraries/FullMath.sol -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/foundry.toml -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/package.json -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/remappings.txt -------------------------------------------------------------------------------- /slither.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/slither.config.json -------------------------------------------------------------------------------- /test/foundry-test/fuzz/Arbiter.fuzz.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/foundry-test/fuzz/Arbiter.fuzz.t.sol -------------------------------------------------------------------------------- /test/foundry-test/integration/Arbiter.integration.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/foundry-test/integration/Arbiter.integration.t.sol -------------------------------------------------------------------------------- /test/foundry-test/unit/Arbiter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/foundry-test/unit/Arbiter.t.sol -------------------------------------------------------------------------------- /test/helpers/ArbiterHelpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/helpers/ArbiterHelpers.sol -------------------------------------------------------------------------------- /test/mocks/ERC20Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/mocks/ERC20Mock.sol -------------------------------------------------------------------------------- /test/mocks/FlashLiquidityPairMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/mocks/FlashLiquidityPairMock.sol -------------------------------------------------------------------------------- /test/mocks/adapters/DexAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/mocks/adapters/DexAdapter.sol -------------------------------------------------------------------------------- /test/mocks/adapters/UniswapV2Adapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/mocks/adapters/UniswapV2Adapter.sol -------------------------------------------------------------------------------- /test/mocks/adapters/UniswapV3Adapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/test/mocks/adapters/UniswapV3Adapter.sol -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashliquidity/flashliquidity-arbiter/HEAD/yarn.lock --------------------------------------------------------------------------------