├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── examples └── README.md ├── foundry.toml ├── remappings.txt ├── script └── Counter.s.sol ├── src ├── StopLoss.sol ├── UniV4UserHook.sol └── implementation │ └── StopLossImplementation.sol └── test ├── StopLoss.t.sol └── integrations ├── Compound3.t.sol ├── Spark.t.sol └── interfaces └── ICometMinimal.sol /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/README.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/examples/README.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/foundry.toml -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/remappings.txt -------------------------------------------------------------------------------- /script/Counter.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/script/Counter.s.sol -------------------------------------------------------------------------------- /src/StopLoss.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/src/StopLoss.sol -------------------------------------------------------------------------------- /src/UniV4UserHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/src/UniV4UserHook.sol -------------------------------------------------------------------------------- /src/implementation/StopLossImplementation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/src/implementation/StopLossImplementation.sol -------------------------------------------------------------------------------- /test/StopLoss.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/test/StopLoss.t.sol -------------------------------------------------------------------------------- /test/integrations/Compound3.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/test/integrations/Compound3.t.sol -------------------------------------------------------------------------------- /test/integrations/Spark.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/test/integrations/Spark.t.sol -------------------------------------------------------------------------------- /test/integrations/interfaces/ICometMinimal.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saucepoint/v4-stoploss/HEAD/test/integrations/interfaces/ICometMinimal.sol --------------------------------------------------------------------------------