├── .envrc.example ├── .gas-snapshot ├── .github └── workflows │ └── coverage.yml ├── .gitignore ├── .gitmodules ├── .husky └── pre-commit ├── .lintstagedrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .solhint.json ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── foundry.toml ├── funding.json ├── logicmd ├── package.json ├── remappings.txt ├── src ├── TwabController.sol └── libraries │ ├── ObservationLib.sol │ └── TwabLib.sol └── test ├── ObservationLib.t.sol ├── TwabController.t.sol ├── TwabLib.t.sol ├── invariants ├── TwabControllerInvariant.t.sol ├── handlers │ └── TwabControllerHandler.sol └── helpers │ └── VaultAddressSet.sol ├── mocks ├── ObservationLibMock.sol └── TwabLibMock.sol └── utils ├── BaseTest.sol └── Utils.sol /.envrc.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.envrc.example -------------------------------------------------------------------------------- /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.gitmodules -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.solhint.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/README.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/foundry.toml -------------------------------------------------------------------------------- /funding.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/funding.json -------------------------------------------------------------------------------- /logicmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/logicmd -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/package.json -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/remappings.txt -------------------------------------------------------------------------------- /src/TwabController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/src/TwabController.sol -------------------------------------------------------------------------------- /src/libraries/ObservationLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/src/libraries/ObservationLib.sol -------------------------------------------------------------------------------- /src/libraries/TwabLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/src/libraries/TwabLib.sol -------------------------------------------------------------------------------- /test/ObservationLib.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/ObservationLib.t.sol -------------------------------------------------------------------------------- /test/TwabController.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/TwabController.t.sol -------------------------------------------------------------------------------- /test/TwabLib.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/TwabLib.t.sol -------------------------------------------------------------------------------- /test/invariants/TwabControllerInvariant.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/invariants/TwabControllerInvariant.t.sol -------------------------------------------------------------------------------- /test/invariants/handlers/TwabControllerHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/invariants/handlers/TwabControllerHandler.sol -------------------------------------------------------------------------------- /test/invariants/helpers/VaultAddressSet.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/invariants/helpers/VaultAddressSet.sol -------------------------------------------------------------------------------- /test/mocks/ObservationLibMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/mocks/ObservationLibMock.sol -------------------------------------------------------------------------------- /test/mocks/TwabLibMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/mocks/TwabLibMock.sol -------------------------------------------------------------------------------- /test/utils/BaseTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/utils/BaseTest.sol -------------------------------------------------------------------------------- /test/utils/Utils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenerationSoftware/pt-v5-twab-controller/HEAD/test/utils/Utils.sol --------------------------------------------------------------------------------