├── .gitignore ├── .gitmodules ├── .prettierignore ├── .vscode └── settings.json ├── README.md ├── foundry.toml ├── licenses ├── LICENSE ├── LICENSE_USE_GRANTS ├── License AGPL 3.0 ├── License GPL 2.0 or later ├── License GPL 3.0 └── License LGPL 3.0 ├── package.json ├── remappings.txt ├── scripts ├── bots │ ├── PulseVeloBotLazy.s.sol │ ├── abi │ │ ├── Compounder.json │ │ ├── PulseVeloBotLazy.json │ │ └── VeloDeployFactory.json │ ├── bots │ │ ├── PulseVeloBot.sol │ │ ├── PulseVeloBotLazy.sol │ │ └── bots │ │ │ ├── IPulseVeloBot.sol │ │ │ └── IPulseVeloBotLazy.sol │ ├── odos.py │ └── operator.py └── deploy │ ├── Constants.sol │ ├── DeployScript.sol │ └── RebalancingBot.sol ├── src ├── Core.sol ├── interfaces │ ├── ICore.sol │ ├── external │ │ ├── IWETH9.sol │ │ └── velo │ │ │ ├── ICLFactory.sol │ │ │ ├── ICLGauge.sol │ │ │ ├── ICLGaugeFactory.sol │ │ │ ├── ICLPool.sol │ │ │ ├── IERC20Metadata.sol │ │ │ ├── IERC20Minimal.sol │ │ │ ├── IERC721Permit.sol │ │ │ ├── IFactoryRegistry.sol │ │ │ ├── IMinter.sol │ │ │ ├── IMulticall.sol │ │ │ ├── INonfungiblePositionManager.sol │ │ │ ├── INonfungibleTokenPositionDescriptor.sol │ │ │ ├── IPeripheryImmutableState.sol │ │ │ ├── IPeripheryPayments.sol │ │ │ ├── IPeripheryPaymentsWithFee.sol │ │ │ ├── IPool.sol │ │ │ ├── IPoolFactory.sol │ │ │ ├── IQuoter.sol │ │ │ ├── IQuoterV2.sol │ │ │ ├── IReward.sol │ │ │ ├── ISelfPermit.sol │ │ │ ├── ISugarHelper.sol │ │ │ ├── ISwapRouter.sol │ │ │ ├── ITickLens.sol │ │ │ ├── IVoter.sol │ │ │ ├── IVotingEscrow.sol │ │ │ ├── callback │ │ │ ├── ICLFlashCallback.sol │ │ │ ├── ICLMintCallback.sol │ │ │ └── ICLSwapCallback.sol │ │ │ ├── external │ │ │ ├── IERC1271.sol │ │ │ ├── IERC20PermitAllowed.sol │ │ │ └── IWETH9.sol │ │ │ ├── fees │ │ │ ├── ICustomFeeModule.sol │ │ │ └── IFeeModule.sol │ │ │ └── pool │ │ │ ├── ICLPoolActions.sol │ │ │ ├── ICLPoolConstants.sol │ │ │ ├── ICLPoolDerivedState.sol │ │ │ ├── ICLPoolEvents.sol │ │ │ ├── ICLPoolOwnerActions.sol │ │ │ └── ICLPoolState.sol │ ├── modules │ │ ├── IAmmDepositWithdrawModule.sol │ │ ├── IAmmModule.sol │ │ ├── IStrategyModule.sol │ │ ├── strategies │ │ │ └── IPulseStrategyModule.sol │ │ └── velo │ │ │ ├── IVeloAmmModule.sol │ │ │ └── IVeloDepositWithdrawModule.sol │ ├── oracles │ │ ├── IOracle.sol │ │ └── IVeloOracle.sol │ └── utils │ │ ├── ILpWrapper.sol │ │ ├── IRebalanceCallback.sol │ │ ├── IVeloDeployFactory.sol │ │ └── IVeloFarm.sol ├── libraries │ ├── PositionLibrary.sol │ └── PositionValue.sol ├── modules │ ├── strategies │ │ └── PulseStrategyModule.sol │ └── velo │ │ ├── VeloAmmModule.sol │ │ └── VeloDepositWithdrawModule.sol ├── oracles │ └── VeloOracle.sol └── utils │ ├── DefaultAccessControl.sol │ ├── LpWrapper.sol │ ├── VeloDeployFactory.sol │ └── VeloFarm.sol └── test ├── Imports.sol ├── IntegrationTest.t.sol ├── RandomLib.sol ├── integration ├── RebalanceTest.t.sol ├── SolvencyRunner.sol └── SolvencyTest.t.sol └── unit ├── Core.t.sol ├── Fixture.sol ├── LpWrapper.t.sol ├── Oracle.t.sol ├── PulseStrategyModule.t.sol ├── VeloAmmModule.t.sol ├── VeloDeployFactory.t.sol ├── VeloDepositWithdrawModule.t.sol └── VeloFarmTest.t.sol /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/.gitmodules -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/.prettierignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # mellow-alm-toolkit 2 | Strategy builder for amm protocols 3 | -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/foundry.toml -------------------------------------------------------------------------------- /licenses/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/licenses/LICENSE -------------------------------------------------------------------------------- /licenses/LICENSE_USE_GRANTS: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /licenses/License AGPL 3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/licenses/License AGPL 3.0 -------------------------------------------------------------------------------- /licenses/License GPL 2.0 or later: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/licenses/License GPL 2.0 or later -------------------------------------------------------------------------------- /licenses/License GPL 3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/licenses/License GPL 3.0 -------------------------------------------------------------------------------- /licenses/License LGPL 3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/licenses/License LGPL 3.0 -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/package.json -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/remappings.txt -------------------------------------------------------------------------------- /scripts/bots/PulseVeloBotLazy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/PulseVeloBotLazy.s.sol -------------------------------------------------------------------------------- /scripts/bots/abi/Compounder.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/abi/Compounder.json -------------------------------------------------------------------------------- /scripts/bots/abi/PulseVeloBotLazy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/abi/PulseVeloBotLazy.json -------------------------------------------------------------------------------- /scripts/bots/abi/VeloDeployFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/abi/VeloDeployFactory.json -------------------------------------------------------------------------------- /scripts/bots/bots/PulseVeloBot.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/bots/PulseVeloBot.sol -------------------------------------------------------------------------------- /scripts/bots/bots/PulseVeloBotLazy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/bots/PulseVeloBotLazy.sol -------------------------------------------------------------------------------- /scripts/bots/bots/bots/IPulseVeloBot.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/bots/bots/IPulseVeloBot.sol -------------------------------------------------------------------------------- /scripts/bots/bots/bots/IPulseVeloBotLazy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/bots/bots/IPulseVeloBotLazy.sol -------------------------------------------------------------------------------- /scripts/bots/odos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/odos.py -------------------------------------------------------------------------------- /scripts/bots/operator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/bots/operator.py -------------------------------------------------------------------------------- /scripts/deploy/Constants.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/deploy/Constants.sol -------------------------------------------------------------------------------- /scripts/deploy/DeployScript.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/deploy/DeployScript.sol -------------------------------------------------------------------------------- /scripts/deploy/RebalancingBot.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/scripts/deploy/RebalancingBot.sol -------------------------------------------------------------------------------- /src/Core.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/Core.sol -------------------------------------------------------------------------------- /src/interfaces/ICore.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/ICore.sol -------------------------------------------------------------------------------- /src/interfaces/external/IWETH9.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/IWETH9.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ICLFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ICLFactory.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ICLGauge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ICLGauge.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ICLGaugeFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ICLGaugeFactory.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ICLPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ICLPool.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IERC20Metadata.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IERC20Metadata.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IERC20Minimal.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IERC20Minimal.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IERC721Permit.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IERC721Permit.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IFactoryRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IFactoryRegistry.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IMinter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IMinter.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IMulticall.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IMulticall.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/INonfungiblePositionManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/INonfungiblePositionManager.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/INonfungibleTokenPositionDescriptor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/INonfungibleTokenPositionDescriptor.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IPeripheryImmutableState.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IPeripheryImmutableState.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IPeripheryPayments.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IPeripheryPayments.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IPeripheryPaymentsWithFee.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IPeripheryPaymentsWithFee.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IPool.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IPoolFactory.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IQuoter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IQuoter.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IQuoterV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IQuoterV2.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IReward.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IReward.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ISelfPermit.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ISelfPermit.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ISugarHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ISugarHelper.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ISwapRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ISwapRouter.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/ITickLens.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/ITickLens.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IVoter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IVoter.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/IVotingEscrow.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/IVotingEscrow.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/callback/ICLFlashCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/callback/ICLFlashCallback.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/callback/ICLMintCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/callback/ICLMintCallback.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/callback/ICLSwapCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/callback/ICLSwapCallback.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/external/IERC1271.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/external/IERC1271.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/external/IERC20PermitAllowed.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/external/IERC20PermitAllowed.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/external/IWETH9.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/external/IWETH9.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/fees/ICustomFeeModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/fees/ICustomFeeModule.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/fees/IFeeModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/fees/IFeeModule.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/pool/ICLPoolActions.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/pool/ICLPoolActions.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/pool/ICLPoolConstants.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/pool/ICLPoolConstants.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/pool/ICLPoolDerivedState.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/pool/ICLPoolDerivedState.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/pool/ICLPoolEvents.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/pool/ICLPoolEvents.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/pool/ICLPoolOwnerActions.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/pool/ICLPoolOwnerActions.sol -------------------------------------------------------------------------------- /src/interfaces/external/velo/pool/ICLPoolState.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/external/velo/pool/ICLPoolState.sol -------------------------------------------------------------------------------- /src/interfaces/modules/IAmmDepositWithdrawModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/modules/IAmmDepositWithdrawModule.sol -------------------------------------------------------------------------------- /src/interfaces/modules/IAmmModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/modules/IAmmModule.sol -------------------------------------------------------------------------------- /src/interfaces/modules/IStrategyModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/modules/IStrategyModule.sol -------------------------------------------------------------------------------- /src/interfaces/modules/strategies/IPulseStrategyModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/modules/strategies/IPulseStrategyModule.sol -------------------------------------------------------------------------------- /src/interfaces/modules/velo/IVeloAmmModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/modules/velo/IVeloAmmModule.sol -------------------------------------------------------------------------------- /src/interfaces/modules/velo/IVeloDepositWithdrawModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/modules/velo/IVeloDepositWithdrawModule.sol -------------------------------------------------------------------------------- /src/interfaces/oracles/IOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/oracles/IOracle.sol -------------------------------------------------------------------------------- /src/interfaces/oracles/IVeloOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/oracles/IVeloOracle.sol -------------------------------------------------------------------------------- /src/interfaces/utils/ILpWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/utils/ILpWrapper.sol -------------------------------------------------------------------------------- /src/interfaces/utils/IRebalanceCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/utils/IRebalanceCallback.sol -------------------------------------------------------------------------------- /src/interfaces/utils/IVeloDeployFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/utils/IVeloDeployFactory.sol -------------------------------------------------------------------------------- /src/interfaces/utils/IVeloFarm.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/interfaces/utils/IVeloFarm.sol -------------------------------------------------------------------------------- /src/libraries/PositionLibrary.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/libraries/PositionLibrary.sol -------------------------------------------------------------------------------- /src/libraries/PositionValue.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/libraries/PositionValue.sol -------------------------------------------------------------------------------- /src/modules/strategies/PulseStrategyModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/modules/strategies/PulseStrategyModule.sol -------------------------------------------------------------------------------- /src/modules/velo/VeloAmmModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/modules/velo/VeloAmmModule.sol -------------------------------------------------------------------------------- /src/modules/velo/VeloDepositWithdrawModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/modules/velo/VeloDepositWithdrawModule.sol -------------------------------------------------------------------------------- /src/oracles/VeloOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/oracles/VeloOracle.sol -------------------------------------------------------------------------------- /src/utils/DefaultAccessControl.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/utils/DefaultAccessControl.sol -------------------------------------------------------------------------------- /src/utils/LpWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/utils/LpWrapper.sol -------------------------------------------------------------------------------- /src/utils/VeloDeployFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/utils/VeloDeployFactory.sol -------------------------------------------------------------------------------- /src/utils/VeloFarm.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/src/utils/VeloFarm.sol -------------------------------------------------------------------------------- /test/Imports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/Imports.sol -------------------------------------------------------------------------------- /test/IntegrationTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/IntegrationTest.t.sol -------------------------------------------------------------------------------- /test/RandomLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/RandomLib.sol -------------------------------------------------------------------------------- /test/integration/RebalanceTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/integration/RebalanceTest.t.sol -------------------------------------------------------------------------------- /test/integration/SolvencyRunner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/integration/SolvencyRunner.sol -------------------------------------------------------------------------------- /test/integration/SolvencyTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/integration/SolvencyTest.t.sol -------------------------------------------------------------------------------- /test/unit/Core.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/Core.t.sol -------------------------------------------------------------------------------- /test/unit/Fixture.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/Fixture.sol -------------------------------------------------------------------------------- /test/unit/LpWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/LpWrapper.t.sol -------------------------------------------------------------------------------- /test/unit/Oracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/Oracle.t.sol -------------------------------------------------------------------------------- /test/unit/PulseStrategyModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/PulseStrategyModule.t.sol -------------------------------------------------------------------------------- /test/unit/VeloAmmModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/VeloAmmModule.t.sol -------------------------------------------------------------------------------- /test/unit/VeloDeployFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/VeloDeployFactory.t.sol -------------------------------------------------------------------------------- /test/unit/VeloDepositWithdrawModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/VeloDepositWithdrawModule.t.sol -------------------------------------------------------------------------------- /test/unit/VeloFarmTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mellow-finance/mellow-alm-toolkit/HEAD/test/unit/VeloFarmTest.t.sol --------------------------------------------------------------------------------