├── .github └── workflows │ └── security.yaml ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── brownie-config.yaml ├── contracts ├── Dai.sol ├── DeSchool.sol ├── ERC20.sol ├── LearningCurve.sol ├── PRBMath.sol ├── PRBMathUD60x18.sol ├── SafeTransferLib.sol └── interfaces │ ├── IERC20Permit.sol │ ├── I_LearningCurve.sol │ ├── I_Registry.sol │ └── I_Vault.sol ├── package.json ├── requirements-dev.txt ├── scripts ├── deploy.py └── flatten_contracts.py ├── security ├── flattener-run.sh └── slither-config.json ├── tests-mainnet ├── conftest.py ├── constants_mainnet.py ├── test_mainnet_ds.py └── test_operation_mainnet.py └── tests ├── conftest.py ├── constants_unit.py ├── test_operation_unit.py ├── test_unit_ds.py └── test_unit_lc.py /.github/workflows/security.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/.github/workflows/security.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/README.md -------------------------------------------------------------------------------- /brownie-config.yaml: -------------------------------------------------------------------------------- 1 | name: "learning-curve" -------------------------------------------------------------------------------- /contracts/Dai.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/Dai.sol -------------------------------------------------------------------------------- /contracts/DeSchool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/DeSchool.sol -------------------------------------------------------------------------------- /contracts/ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/ERC20.sol -------------------------------------------------------------------------------- /contracts/LearningCurve.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/LearningCurve.sol -------------------------------------------------------------------------------- /contracts/PRBMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/PRBMath.sol -------------------------------------------------------------------------------- /contracts/PRBMathUD60x18.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/PRBMathUD60x18.sol -------------------------------------------------------------------------------- /contracts/SafeTransferLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/SafeTransferLib.sol -------------------------------------------------------------------------------- /contracts/interfaces/IERC20Permit.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/interfaces/IERC20Permit.sol -------------------------------------------------------------------------------- /contracts/interfaces/I_LearningCurve.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/interfaces/I_LearningCurve.sol -------------------------------------------------------------------------------- /contracts/interfaces/I_Registry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/interfaces/I_Registry.sol -------------------------------------------------------------------------------- /contracts/interfaces/I_Vault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/contracts/interfaces/I_Vault.sol -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/package.json -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- 1 | black==21.7b0 2 | eth-brownie==1.16.1 3 | 4 | -------------------------------------------------------------------------------- /scripts/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/scripts/deploy.py -------------------------------------------------------------------------------- /scripts/flatten_contracts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/scripts/flatten_contracts.py -------------------------------------------------------------------------------- /security/flattener-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/security/flattener-run.sh -------------------------------------------------------------------------------- /security/slither-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/security/slither-config.json -------------------------------------------------------------------------------- /tests-mainnet/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests-mainnet/conftest.py -------------------------------------------------------------------------------- /tests-mainnet/constants_mainnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests-mainnet/constants_mainnet.py -------------------------------------------------------------------------------- /tests-mainnet/test_mainnet_ds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests-mainnet/test_mainnet_ds.py -------------------------------------------------------------------------------- /tests-mainnet/test_operation_mainnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests-mainnet/test_operation_mainnet.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/constants_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests/constants_unit.py -------------------------------------------------------------------------------- /tests/test_operation_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests/test_operation_unit.py -------------------------------------------------------------------------------- /tests/test_unit_ds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests/test_unit_ds.py -------------------------------------------------------------------------------- /tests/test_unit_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kernel-community/learning-curve/HEAD/tests/test_unit_lc.py --------------------------------------------------------------------------------