├── .editorconfig ├── .forge-snapshots ├── AaveV2.snap ├── AaveV3.snap ├── AlgebraCamelot.snap ├── AlgebraPendleCamelot.snap ├── Balancer.snap ├── BalancerCompound.snap ├── BalancerPendle.snap ├── CompoundMoonwell.snap ├── CompoundSonne.snap ├── Dolomite.snap ├── GnosisSafe.snap ├── MakerDAO.snap ├── MorphoBlue.snap ├── MorphoPendle.snap ├── PermissionedAaveV3.snap ├── Silo.snap ├── Solidly.snap ├── UniswapV3.snap ├── UniswapV3Pendle.snap └── Zerolend.snap ├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .gitmodules ├── .prettierignore ├── .prettierrc.yml ├── .solhint.json ├── .vscode └── settings.json ├── LICENSE.md ├── README.md ├── foundry.toml ├── package.json ├── pnpm-lock.yaml ├── remappings.txt ├── script ├── AaveDeploy.s.sol ├── AlgebraDeploy.s.sol ├── AlgebraPendleDeploy.s.sol ├── BalancerDeploy.s.sol ├── BalancerPendleDeploy.s.sol ├── CompoundDeploy.s.sol ├── ContangoAaveDeploy.s.sol ├── DolomiteDeploy.s.sol ├── ERC3156Deploy.s.sol ├── EulerDeploy.s.sol ├── MorphoBlueDeploy.s.sol ├── MorphoPendleDeploy.s.sol ├── Network.sol ├── RegistryDeploy.s.sol ├── SiloDeploy.s.sol ├── SolidlyDeploy.s.sol ├── UniswapV3Deploy.s.sol └── UniswapV3PendleDeploy.s.sol ├── src ├── BaseWrapper.sol ├── Registry.sol ├── aave │ ├── AaveWrapper.sol │ ├── PermissionedAaveWrapper.sol │ └── interfaces │ │ ├── IFlashLoanReceiverV2V3.sol │ │ ├── IPool.sol │ │ ├── IPoolAddressesProviderV2.sol │ │ ├── IPoolAddressesProviderV3.sol │ │ └── IPoolDataProvider.sol ├── algebra │ ├── AlgebraWrapper.sol │ └── interfaces │ │ ├── IAlgebraFactory.sol │ │ ├── IAlgebraFlashCallback.sol │ │ └── IAlgebraPool.sol ├── balancer │ ├── BalancerWrapper.sol │ └── interfaces │ │ ├── IFlashLoanRecipient.sol │ │ ├── IFlashLoaner.sol │ │ └── IProtocolFeesCollector.sol ├── compound │ ├── CompoundWrapper.sol │ └── interfaces │ │ ├── ComptrollerErrorReporter.sol │ │ ├── ICToken.sol │ │ └── IComptroller.sol ├── dependencies │ └── IWETH9.sol ├── dolomite │ ├── DolomiteWrapper.sol │ └── interfaces │ │ ├── ICallee.sol │ │ └── IDolomiteMargin.sol ├── erc3156 │ └── ERC3156Wrapper.sol ├── euler │ ├── EulerWrapper.sol │ └── interfaces │ │ ├── IEFlashLoanCallback.sol │ │ ├── IEVKFactoryPerspective.sol │ │ └── IEVault.sol ├── gnosissafe │ ├── GnosisSafeWrapper.sol │ ├── GnosisSafeWrapperFactory.sol │ ├── interfaces │ │ └── IGnosisSafe.sol │ └── lib │ │ └── Enum.sol ├── interfaces │ └── IERC7399.sol ├── morpho │ ├── MorphoBlueWrapper.sol │ └── interfaces │ │ ├── IMorpho.sol │ │ └── IMorphoFlashLoanCallback.sol ├── pendle │ ├── AlgebraPendleWrapper.sol │ ├── BalancerPendleWrapper.sol │ ├── BasePendleWrapper.sol │ ├── MorphoPendleWrapper.sol │ ├── UniswapV3PendleWrapper.sol │ └── interfaces │ │ ├── IPPrincipalToken.sol │ │ ├── IPYieldToken.sol │ │ ├── IPendleRouterV3.sol │ │ └── IStandardizedYield.sol ├── silo │ ├── SiloWrapper.sol │ └── interfaces │ │ ├── ISilo.sol │ │ ├── ISiloLens.sol │ │ └── ISiloRepository.sol ├── solidly │ ├── SolidlyWrapper.sol │ └── interfaces │ │ ├── IPool.sol │ │ ├── IPoolCallee.sol │ │ └── IPoolFactory.sol ├── uniswapV3 │ ├── UniswapV3Wrapper.sol │ └── interfaces │ │ ├── IUniswapV3Factory.sol │ │ ├── IUniswapV3Pool.sol │ │ ├── LICENSE │ │ ├── PoolAddress.sol │ │ ├── callback │ │ └── IUniswapV3FlashCallback.sol │ │ └── pool │ │ ├── IUniswapV3PoolActions.sol │ │ ├── IUniswapV3PoolDerivedState.sol │ │ ├── IUniswapV3PoolEvents.sol │ │ ├── IUniswapV3PoolImmutables.sol │ │ ├── IUniswapV3PoolOwnerActions.sol │ │ └── IUniswapV3PoolState.sol └── utils │ ├── Arrays.sol │ ├── FunctionCodec.sol │ ├── RevertMsgExtractor.sol │ └── constants.sol └── test ├── AaveWrapper.v2.t.sol ├── AaveWrapper.v3.t.sol ├── AaveWrapper.zeroLend.t.sol ├── AlgebraPendleWrapper.Camelot.t.sol ├── AlgebraWrapper.Camelot.t.sol ├── BalancerPendleWrapper.t.sol ├── BalancerWrapper.t.sol ├── BaseWrapper.t.sol ├── CompoundWrapper.Moonwell.t.sol ├── CompoundWrapper.Sonne.t.sol ├── CompoundWrapper.erc20.t.sol ├── CompoundWrapper.native.t.sol ├── DolomiteWrapper.t.sol ├── ERC3156Wrapper.t.sol ├── EulerWrapper.t.sol ├── GnosisSafeWrapper.t.sol ├── MockBorrower.sol ├── MorphoBlueWrapper.t.sol ├── MorphoPendleWrapper.t.sol ├── PermissionedAaveWrapper.v3.t.sol ├── SiloWrapper.t.sol ├── SolidlyWrapper.t.sol ├── UniswapV3PendleWrapper.t.sol └── UniswapV3Wrapper.t.sol /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.editorconfig -------------------------------------------------------------------------------- /.forge-snapshots/AaveV2.snap: -------------------------------------------------------------------------------- 1 | 261925 -------------------------------------------------------------------------------- /.forge-snapshots/AaveV3.snap: -------------------------------------------------------------------------------- 1 | 212304 -------------------------------------------------------------------------------- /.forge-snapshots/AlgebraCamelot.snap: -------------------------------------------------------------------------------- 1 | 80322 -------------------------------------------------------------------------------- /.forge-snapshots/AlgebraPendleCamelot.snap: -------------------------------------------------------------------------------- 1 | 504797 -------------------------------------------------------------------------------- /.forge-snapshots/Balancer.snap: -------------------------------------------------------------------------------- 1 | 113136 -------------------------------------------------------------------------------- /.forge-snapshots/BalancerCompound.snap: -------------------------------------------------------------------------------- 1 | 835189 -------------------------------------------------------------------------------- /.forge-snapshots/BalancerPendle.snap: -------------------------------------------------------------------------------- 1 | 524104 -------------------------------------------------------------------------------- /.forge-snapshots/CompoundMoonwell.snap: -------------------------------------------------------------------------------- 1 | 1181778 -------------------------------------------------------------------------------- /.forge-snapshots/CompoundSonne.snap: -------------------------------------------------------------------------------- 1 | 1038783 -------------------------------------------------------------------------------- /.forge-snapshots/Dolomite.snap: -------------------------------------------------------------------------------- 1 | 458578 -------------------------------------------------------------------------------- /.forge-snapshots/GnosisSafe.snap: -------------------------------------------------------------------------------- 1 | 109529 -------------------------------------------------------------------------------- /.forge-snapshots/MakerDAO.snap: -------------------------------------------------------------------------------- 1 | 278889 -------------------------------------------------------------------------------- /.forge-snapshots/MorphoBlue.snap: -------------------------------------------------------------------------------- 1 | 131368 -------------------------------------------------------------------------------- /.forge-snapshots/MorphoPendle.snap: -------------------------------------------------------------------------------- 1 | 557358 -------------------------------------------------------------------------------- /.forge-snapshots/PermissionedAaveV3.snap: -------------------------------------------------------------------------------- 1 | 229472 -------------------------------------------------------------------------------- /.forge-snapshots/Silo.snap: -------------------------------------------------------------------------------- 1 | 1023755 -------------------------------------------------------------------------------- /.forge-snapshots/Solidly.snap: -------------------------------------------------------------------------------- 1 | 163247 -------------------------------------------------------------------------------- /.forge-snapshots/UniswapV3.snap: -------------------------------------------------------------------------------- 1 | 94074 -------------------------------------------------------------------------------- /.forge-snapshots/UniswapV3Pendle.snap: -------------------------------------------------------------------------------- 1 | 495561 -------------------------------------------------------------------------------- /.forge-snapshots/Zerolend.snap: -------------------------------------------------------------------------------- 1 | 222759 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | lib/** linguist-vendored 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.gitmodules -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.solhint.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/README.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/foundry.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/remappings.txt -------------------------------------------------------------------------------- /script/AaveDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/AaveDeploy.s.sol -------------------------------------------------------------------------------- /script/AlgebraDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/AlgebraDeploy.s.sol -------------------------------------------------------------------------------- /script/AlgebraPendleDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/AlgebraPendleDeploy.s.sol -------------------------------------------------------------------------------- /script/BalancerDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/BalancerDeploy.s.sol -------------------------------------------------------------------------------- /script/BalancerPendleDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/BalancerPendleDeploy.s.sol -------------------------------------------------------------------------------- /script/CompoundDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/CompoundDeploy.s.sol -------------------------------------------------------------------------------- /script/ContangoAaveDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/ContangoAaveDeploy.s.sol -------------------------------------------------------------------------------- /script/DolomiteDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/DolomiteDeploy.s.sol -------------------------------------------------------------------------------- /script/ERC3156Deploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/ERC3156Deploy.s.sol -------------------------------------------------------------------------------- /script/EulerDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/EulerDeploy.s.sol -------------------------------------------------------------------------------- /script/MorphoBlueDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/MorphoBlueDeploy.s.sol -------------------------------------------------------------------------------- /script/MorphoPendleDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/MorphoPendleDeploy.s.sol -------------------------------------------------------------------------------- /script/Network.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/Network.sol -------------------------------------------------------------------------------- /script/RegistryDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/RegistryDeploy.s.sol -------------------------------------------------------------------------------- /script/SiloDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/SiloDeploy.s.sol -------------------------------------------------------------------------------- /script/SolidlyDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/SolidlyDeploy.s.sol -------------------------------------------------------------------------------- /script/UniswapV3Deploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/UniswapV3Deploy.s.sol -------------------------------------------------------------------------------- /script/UniswapV3PendleDeploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/script/UniswapV3PendleDeploy.s.sol -------------------------------------------------------------------------------- /src/BaseWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/BaseWrapper.sol -------------------------------------------------------------------------------- /src/Registry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/Registry.sol -------------------------------------------------------------------------------- /src/aave/AaveWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/AaveWrapper.sol -------------------------------------------------------------------------------- /src/aave/PermissionedAaveWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/PermissionedAaveWrapper.sol -------------------------------------------------------------------------------- /src/aave/interfaces/IFlashLoanReceiverV2V3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/interfaces/IFlashLoanReceiverV2V3.sol -------------------------------------------------------------------------------- /src/aave/interfaces/IPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/interfaces/IPool.sol -------------------------------------------------------------------------------- /src/aave/interfaces/IPoolAddressesProviderV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/interfaces/IPoolAddressesProviderV2.sol -------------------------------------------------------------------------------- /src/aave/interfaces/IPoolAddressesProviderV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/interfaces/IPoolAddressesProviderV3.sol -------------------------------------------------------------------------------- /src/aave/interfaces/IPoolDataProvider.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/aave/interfaces/IPoolDataProvider.sol -------------------------------------------------------------------------------- /src/algebra/AlgebraWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/algebra/AlgebraWrapper.sol -------------------------------------------------------------------------------- /src/algebra/interfaces/IAlgebraFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/algebra/interfaces/IAlgebraFactory.sol -------------------------------------------------------------------------------- /src/algebra/interfaces/IAlgebraFlashCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/algebra/interfaces/IAlgebraFlashCallback.sol -------------------------------------------------------------------------------- /src/algebra/interfaces/IAlgebraPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/algebra/interfaces/IAlgebraPool.sol -------------------------------------------------------------------------------- /src/balancer/BalancerWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/balancer/BalancerWrapper.sol -------------------------------------------------------------------------------- /src/balancer/interfaces/IFlashLoanRecipient.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/balancer/interfaces/IFlashLoanRecipient.sol -------------------------------------------------------------------------------- /src/balancer/interfaces/IFlashLoaner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/balancer/interfaces/IFlashLoaner.sol -------------------------------------------------------------------------------- /src/balancer/interfaces/IProtocolFeesCollector.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/balancer/interfaces/IProtocolFeesCollector.sol -------------------------------------------------------------------------------- /src/compound/CompoundWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/compound/CompoundWrapper.sol -------------------------------------------------------------------------------- /src/compound/interfaces/ComptrollerErrorReporter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/compound/interfaces/ComptrollerErrorReporter.sol -------------------------------------------------------------------------------- /src/compound/interfaces/ICToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/compound/interfaces/ICToken.sol -------------------------------------------------------------------------------- /src/compound/interfaces/IComptroller.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/compound/interfaces/IComptroller.sol -------------------------------------------------------------------------------- /src/dependencies/IWETH9.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/dependencies/IWETH9.sol -------------------------------------------------------------------------------- /src/dolomite/DolomiteWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/dolomite/DolomiteWrapper.sol -------------------------------------------------------------------------------- /src/dolomite/interfaces/ICallee.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/dolomite/interfaces/ICallee.sol -------------------------------------------------------------------------------- /src/dolomite/interfaces/IDolomiteMargin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/dolomite/interfaces/IDolomiteMargin.sol -------------------------------------------------------------------------------- /src/erc3156/ERC3156Wrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/erc3156/ERC3156Wrapper.sol -------------------------------------------------------------------------------- /src/euler/EulerWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/euler/EulerWrapper.sol -------------------------------------------------------------------------------- /src/euler/interfaces/IEFlashLoanCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/euler/interfaces/IEFlashLoanCallback.sol -------------------------------------------------------------------------------- /src/euler/interfaces/IEVKFactoryPerspective.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/euler/interfaces/IEVKFactoryPerspective.sol -------------------------------------------------------------------------------- /src/euler/interfaces/IEVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/euler/interfaces/IEVault.sol -------------------------------------------------------------------------------- /src/gnosissafe/GnosisSafeWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/gnosissafe/GnosisSafeWrapper.sol -------------------------------------------------------------------------------- /src/gnosissafe/GnosisSafeWrapperFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/gnosissafe/GnosisSafeWrapperFactory.sol -------------------------------------------------------------------------------- /src/gnosissafe/interfaces/IGnosisSafe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/gnosissafe/interfaces/IGnosisSafe.sol -------------------------------------------------------------------------------- /src/gnosissafe/lib/Enum.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/gnosissafe/lib/Enum.sol -------------------------------------------------------------------------------- /src/interfaces/IERC7399.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/interfaces/IERC7399.sol -------------------------------------------------------------------------------- /src/morpho/MorphoBlueWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/morpho/MorphoBlueWrapper.sol -------------------------------------------------------------------------------- /src/morpho/interfaces/IMorpho.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/morpho/interfaces/IMorpho.sol -------------------------------------------------------------------------------- /src/morpho/interfaces/IMorphoFlashLoanCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/morpho/interfaces/IMorphoFlashLoanCallback.sol -------------------------------------------------------------------------------- /src/pendle/AlgebraPendleWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/AlgebraPendleWrapper.sol -------------------------------------------------------------------------------- /src/pendle/BalancerPendleWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/BalancerPendleWrapper.sol -------------------------------------------------------------------------------- /src/pendle/BasePendleWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/BasePendleWrapper.sol -------------------------------------------------------------------------------- /src/pendle/MorphoPendleWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/MorphoPendleWrapper.sol -------------------------------------------------------------------------------- /src/pendle/UniswapV3PendleWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/UniswapV3PendleWrapper.sol -------------------------------------------------------------------------------- /src/pendle/interfaces/IPPrincipalToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/interfaces/IPPrincipalToken.sol -------------------------------------------------------------------------------- /src/pendle/interfaces/IPYieldToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/interfaces/IPYieldToken.sol -------------------------------------------------------------------------------- /src/pendle/interfaces/IPendleRouterV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/interfaces/IPendleRouterV3.sol -------------------------------------------------------------------------------- /src/pendle/interfaces/IStandardizedYield.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/pendle/interfaces/IStandardizedYield.sol -------------------------------------------------------------------------------- /src/silo/SiloWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/silo/SiloWrapper.sol -------------------------------------------------------------------------------- /src/silo/interfaces/ISilo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/silo/interfaces/ISilo.sol -------------------------------------------------------------------------------- /src/silo/interfaces/ISiloLens.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/silo/interfaces/ISiloLens.sol -------------------------------------------------------------------------------- /src/silo/interfaces/ISiloRepository.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/silo/interfaces/ISiloRepository.sol -------------------------------------------------------------------------------- /src/solidly/SolidlyWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/solidly/SolidlyWrapper.sol -------------------------------------------------------------------------------- /src/solidly/interfaces/IPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/solidly/interfaces/IPool.sol -------------------------------------------------------------------------------- /src/solidly/interfaces/IPoolCallee.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/solidly/interfaces/IPoolCallee.sol -------------------------------------------------------------------------------- /src/solidly/interfaces/IPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/solidly/interfaces/IPoolFactory.sol -------------------------------------------------------------------------------- /src/uniswapV3/UniswapV3Wrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/UniswapV3Wrapper.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/IUniswapV3Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/IUniswapV3Factory.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/IUniswapV3Pool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/IUniswapV3Pool.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/LICENSE -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/PoolAddress.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/PoolAddress.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/callback/IUniswapV3FlashCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/callback/IUniswapV3FlashCallback.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/pool/IUniswapV3PoolActions.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/pool/IUniswapV3PoolActions.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/pool/IUniswapV3PoolDerivedState.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/pool/IUniswapV3PoolDerivedState.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/pool/IUniswapV3PoolEvents.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/pool/IUniswapV3PoolEvents.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/pool/IUniswapV3PoolImmutables.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/pool/IUniswapV3PoolImmutables.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/pool/IUniswapV3PoolOwnerActions.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/pool/IUniswapV3PoolOwnerActions.sol -------------------------------------------------------------------------------- /src/uniswapV3/interfaces/pool/IUniswapV3PoolState.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/uniswapV3/interfaces/pool/IUniswapV3PoolState.sol -------------------------------------------------------------------------------- /src/utils/Arrays.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/utils/Arrays.sol -------------------------------------------------------------------------------- /src/utils/FunctionCodec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/utils/FunctionCodec.sol -------------------------------------------------------------------------------- /src/utils/RevertMsgExtractor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/src/utils/RevertMsgExtractor.sol -------------------------------------------------------------------------------- /src/utils/constants.sol: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: MIT 2 | pragma solidity ^0.8.19; 3 | 4 | uint256 constant WAD = 1e18; 5 | -------------------------------------------------------------------------------- /test/AaveWrapper.v2.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/AaveWrapper.v2.t.sol -------------------------------------------------------------------------------- /test/AaveWrapper.v3.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/AaveWrapper.v3.t.sol -------------------------------------------------------------------------------- /test/AaveWrapper.zeroLend.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/AaveWrapper.zeroLend.t.sol -------------------------------------------------------------------------------- /test/AlgebraPendleWrapper.Camelot.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/AlgebraPendleWrapper.Camelot.t.sol -------------------------------------------------------------------------------- /test/AlgebraWrapper.Camelot.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/AlgebraWrapper.Camelot.t.sol -------------------------------------------------------------------------------- /test/BalancerPendleWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/BalancerPendleWrapper.t.sol -------------------------------------------------------------------------------- /test/BalancerWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/BalancerWrapper.t.sol -------------------------------------------------------------------------------- /test/BaseWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/BaseWrapper.t.sol -------------------------------------------------------------------------------- /test/CompoundWrapper.Moonwell.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/CompoundWrapper.Moonwell.t.sol -------------------------------------------------------------------------------- /test/CompoundWrapper.Sonne.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/CompoundWrapper.Sonne.t.sol -------------------------------------------------------------------------------- /test/CompoundWrapper.erc20.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/CompoundWrapper.erc20.t.sol -------------------------------------------------------------------------------- /test/CompoundWrapper.native.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/CompoundWrapper.native.t.sol -------------------------------------------------------------------------------- /test/DolomiteWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/DolomiteWrapper.t.sol -------------------------------------------------------------------------------- /test/ERC3156Wrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/ERC3156Wrapper.t.sol -------------------------------------------------------------------------------- /test/EulerWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/EulerWrapper.t.sol -------------------------------------------------------------------------------- /test/GnosisSafeWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/GnosisSafeWrapper.t.sol -------------------------------------------------------------------------------- /test/MockBorrower.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/MockBorrower.sol -------------------------------------------------------------------------------- /test/MorphoBlueWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/MorphoBlueWrapper.t.sol -------------------------------------------------------------------------------- /test/MorphoPendleWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/MorphoPendleWrapper.t.sol -------------------------------------------------------------------------------- /test/PermissionedAaveWrapper.v3.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/PermissionedAaveWrapper.v3.t.sol -------------------------------------------------------------------------------- /test/SiloWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/SiloWrapper.t.sol -------------------------------------------------------------------------------- /test/SolidlyWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/SolidlyWrapper.t.sol -------------------------------------------------------------------------------- /test/UniswapV3PendleWrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/UniswapV3PendleWrapper.t.sol -------------------------------------------------------------------------------- /test/UniswapV3Wrapper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcueca/erc7399-wrappers/HEAD/test/UniswapV3Wrapper.t.sol --------------------------------------------------------------------------------