├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .env.sample ├── .gitignore ├── .gitmodules ├── CHANGELOG.md ├── LICENSE ├── README-original.md ├── README.md ├── foundry.toml ├── remappings.txt ├── src ├── DamnValuableNFT.sol ├── DamnValuableStaking.sol ├── DamnValuableToken.sol ├── DamnValuableVotes.sol ├── abi-smuggling │ ├── AuthorizedExecutor.sol │ ├── README.md │ └── SelfAuthorizedVault.sol ├── backdoor │ ├── README.md │ └── WalletRegistry.sol ├── climber │ ├── ClimberConstants.sol │ ├── ClimberErrors.sol │ ├── ClimberTimelock.sol │ ├── ClimberTimelockBase.sol │ ├── ClimberVault.sol │ └── README.md ├── compromised │ ├── Exchange.sol │ ├── README.md │ ├── TrustfulOracle.sol │ └── TrustfulOracleInitializer.sol ├── curvy-puppet │ ├── CurvyPuppetLending.sol │ ├── CurvyPuppetOracle.sol │ ├── ICryptoSwapFactory.sol │ ├── ICryptoSwapPool.sol │ ├── IStableSwap.sol │ └── README.md ├── free-rider │ ├── FreeRiderNFTMarketplace.sol │ ├── FreeRiderRecoveryManager.sol │ └── README.md ├── naive-receiver │ ├── BasicForwarder.sol │ ├── FlashLoanReceiver.sol │ ├── Multicall.sol │ ├── NaiveReceiverPool.sol │ └── README.md ├── puppet-v2 │ ├── PuppetV2Pool.sol │ ├── README.md │ └── UniswapV2Library.sol ├── puppet-v3 │ ├── INonfungiblePositionManager.sol │ ├── PuppetV3Pool.sol │ └── README.md ├── puppet │ ├── IUniswapV1Exchange.sol │ ├── IUniswapV1Factory.sol │ ├── PuppetPool.sol │ └── README.md ├── selfie │ ├── ISimpleGovernance.sol │ ├── README.md │ ├── SelfiePool.sol │ └── SimpleGovernance.sol ├── shards │ ├── IShardsNFTMarketplace.sol │ ├── README.md │ ├── ShardsFeeVault.sol │ └── ShardsNFTMarketplace.sol ├── side-entrance │ ├── README.md │ └── SideEntranceLenderPool.sol ├── the-rewarder │ ├── README.md │ └── TheRewarderDistributor.sol ├── truster │ ├── README.md │ └── TrusterLenderPool.sol ├── unstoppable │ ├── README.md │ ├── UnstoppableMonitor.sol │ └── UnstoppableVault.sol ├── wallet-mining │ ├── AuthorizerFactory.sol │ ├── AuthorizerUpgradeable.sol │ ├── README.md │ ├── TransparentProxy.sol │ └── WalletDeployer.sol └── withdrawal │ ├── L1Forwarder.sol │ ├── L1Gateway.sol │ ├── L2Handler.sol │ ├── L2MessageStore.sol │ ├── README.md │ └── TokenBridge.sol └── test ├── abi-smuggling └── ABISmuggling.t.sol ├── backdoor └── Backdoor.t.sol ├── climber └── Climber.t.sol ├── compromised └── Compromised.t.sol ├── curvy-puppet └── CurvyPuppet.t.sol ├── free-rider └── FreeRider.t.sol ├── naive-receiver └── NaiveReceiver.t.sol ├── puppet-v2 └── PuppetV2.t.sol ├── puppet-v3 └── PuppetV3.t.sol ├── puppet └── Puppet.t.sol ├── selfie └── Selfie.t.sol ├── shards └── Shards.t.sol ├── side-entrance └── SideEntrance.t.sol ├── the-rewarder ├── TheRewarder.t.sol ├── dvt-distribution.json └── weth-distribution.json ├── truster └── Truster.t.sol ├── unstoppable └── Unstoppable.t.sol ├── wallet-mining └── WalletMining.t.sol └── withdrawal ├── Withdrawal.t.sol └── withdrawals.json /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- 1 | MAINNET_FORKING_URL= -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/.gitmodules -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/LICENSE -------------------------------------------------------------------------------- /README-original.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/README-original.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/README.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/foundry.toml -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/remappings.txt -------------------------------------------------------------------------------- /src/DamnValuableNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/DamnValuableNFT.sol -------------------------------------------------------------------------------- /src/DamnValuableStaking.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/DamnValuableStaking.sol -------------------------------------------------------------------------------- /src/DamnValuableToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/DamnValuableToken.sol -------------------------------------------------------------------------------- /src/DamnValuableVotes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/DamnValuableVotes.sol -------------------------------------------------------------------------------- /src/abi-smuggling/AuthorizedExecutor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/abi-smuggling/AuthorizedExecutor.sol -------------------------------------------------------------------------------- /src/abi-smuggling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/abi-smuggling/README.md -------------------------------------------------------------------------------- /src/abi-smuggling/SelfAuthorizedVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/abi-smuggling/SelfAuthorizedVault.sol -------------------------------------------------------------------------------- /src/backdoor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/backdoor/README.md -------------------------------------------------------------------------------- /src/backdoor/WalletRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/backdoor/WalletRegistry.sol -------------------------------------------------------------------------------- /src/climber/ClimberConstants.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/climber/ClimberConstants.sol -------------------------------------------------------------------------------- /src/climber/ClimberErrors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/climber/ClimberErrors.sol -------------------------------------------------------------------------------- /src/climber/ClimberTimelock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/climber/ClimberTimelock.sol -------------------------------------------------------------------------------- /src/climber/ClimberTimelockBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/climber/ClimberTimelockBase.sol -------------------------------------------------------------------------------- /src/climber/ClimberVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/climber/ClimberVault.sol -------------------------------------------------------------------------------- /src/climber/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/climber/README.md -------------------------------------------------------------------------------- /src/compromised/Exchange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/compromised/Exchange.sol -------------------------------------------------------------------------------- /src/compromised/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/compromised/README.md -------------------------------------------------------------------------------- /src/compromised/TrustfulOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/compromised/TrustfulOracle.sol -------------------------------------------------------------------------------- /src/compromised/TrustfulOracleInitializer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/compromised/TrustfulOracleInitializer.sol -------------------------------------------------------------------------------- /src/curvy-puppet/CurvyPuppetLending.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/curvy-puppet/CurvyPuppetLending.sol -------------------------------------------------------------------------------- /src/curvy-puppet/CurvyPuppetOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/curvy-puppet/CurvyPuppetOracle.sol -------------------------------------------------------------------------------- /src/curvy-puppet/ICryptoSwapFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/curvy-puppet/ICryptoSwapFactory.sol -------------------------------------------------------------------------------- /src/curvy-puppet/ICryptoSwapPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/curvy-puppet/ICryptoSwapPool.sol -------------------------------------------------------------------------------- /src/curvy-puppet/IStableSwap.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/curvy-puppet/IStableSwap.sol -------------------------------------------------------------------------------- /src/curvy-puppet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/curvy-puppet/README.md -------------------------------------------------------------------------------- /src/free-rider/FreeRiderNFTMarketplace.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/free-rider/FreeRiderNFTMarketplace.sol -------------------------------------------------------------------------------- /src/free-rider/FreeRiderRecoveryManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/free-rider/FreeRiderRecoveryManager.sol -------------------------------------------------------------------------------- /src/free-rider/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/free-rider/README.md -------------------------------------------------------------------------------- /src/naive-receiver/BasicForwarder.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/naive-receiver/BasicForwarder.sol -------------------------------------------------------------------------------- /src/naive-receiver/FlashLoanReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/naive-receiver/FlashLoanReceiver.sol -------------------------------------------------------------------------------- /src/naive-receiver/Multicall.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/naive-receiver/Multicall.sol -------------------------------------------------------------------------------- /src/naive-receiver/NaiveReceiverPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/naive-receiver/NaiveReceiverPool.sol -------------------------------------------------------------------------------- /src/naive-receiver/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/naive-receiver/README.md -------------------------------------------------------------------------------- /src/puppet-v2/PuppetV2Pool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet-v2/PuppetV2Pool.sol -------------------------------------------------------------------------------- /src/puppet-v2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet-v2/README.md -------------------------------------------------------------------------------- /src/puppet-v2/UniswapV2Library.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet-v2/UniswapV2Library.sol -------------------------------------------------------------------------------- /src/puppet-v3/INonfungiblePositionManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet-v3/INonfungiblePositionManager.sol -------------------------------------------------------------------------------- /src/puppet-v3/PuppetV3Pool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet-v3/PuppetV3Pool.sol -------------------------------------------------------------------------------- /src/puppet-v3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet-v3/README.md -------------------------------------------------------------------------------- /src/puppet/IUniswapV1Exchange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet/IUniswapV1Exchange.sol -------------------------------------------------------------------------------- /src/puppet/IUniswapV1Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet/IUniswapV1Factory.sol -------------------------------------------------------------------------------- /src/puppet/PuppetPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet/PuppetPool.sol -------------------------------------------------------------------------------- /src/puppet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/puppet/README.md -------------------------------------------------------------------------------- /src/selfie/ISimpleGovernance.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/selfie/ISimpleGovernance.sol -------------------------------------------------------------------------------- /src/selfie/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/selfie/README.md -------------------------------------------------------------------------------- /src/selfie/SelfiePool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/selfie/SelfiePool.sol -------------------------------------------------------------------------------- /src/selfie/SimpleGovernance.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/selfie/SimpleGovernance.sol -------------------------------------------------------------------------------- /src/shards/IShardsNFTMarketplace.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/shards/IShardsNFTMarketplace.sol -------------------------------------------------------------------------------- /src/shards/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/shards/README.md -------------------------------------------------------------------------------- /src/shards/ShardsFeeVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/shards/ShardsFeeVault.sol -------------------------------------------------------------------------------- /src/shards/ShardsNFTMarketplace.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/shards/ShardsNFTMarketplace.sol -------------------------------------------------------------------------------- /src/side-entrance/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/side-entrance/README.md -------------------------------------------------------------------------------- /src/side-entrance/SideEntranceLenderPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/side-entrance/SideEntranceLenderPool.sol -------------------------------------------------------------------------------- /src/the-rewarder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/the-rewarder/README.md -------------------------------------------------------------------------------- /src/the-rewarder/TheRewarderDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/the-rewarder/TheRewarderDistributor.sol -------------------------------------------------------------------------------- /src/truster/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/truster/README.md -------------------------------------------------------------------------------- /src/truster/TrusterLenderPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/truster/TrusterLenderPool.sol -------------------------------------------------------------------------------- /src/unstoppable/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/unstoppable/README.md -------------------------------------------------------------------------------- /src/unstoppable/UnstoppableMonitor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/unstoppable/UnstoppableMonitor.sol -------------------------------------------------------------------------------- /src/unstoppable/UnstoppableVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/unstoppable/UnstoppableVault.sol -------------------------------------------------------------------------------- /src/wallet-mining/AuthorizerFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/wallet-mining/AuthorizerFactory.sol -------------------------------------------------------------------------------- /src/wallet-mining/AuthorizerUpgradeable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/wallet-mining/AuthorizerUpgradeable.sol -------------------------------------------------------------------------------- /src/wallet-mining/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/wallet-mining/README.md -------------------------------------------------------------------------------- /src/wallet-mining/TransparentProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/wallet-mining/TransparentProxy.sol -------------------------------------------------------------------------------- /src/wallet-mining/WalletDeployer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/wallet-mining/WalletDeployer.sol -------------------------------------------------------------------------------- /src/withdrawal/L1Forwarder.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/withdrawal/L1Forwarder.sol -------------------------------------------------------------------------------- /src/withdrawal/L1Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/withdrawal/L1Gateway.sol -------------------------------------------------------------------------------- /src/withdrawal/L2Handler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/withdrawal/L2Handler.sol -------------------------------------------------------------------------------- /src/withdrawal/L2MessageStore.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/withdrawal/L2MessageStore.sol -------------------------------------------------------------------------------- /src/withdrawal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/withdrawal/README.md -------------------------------------------------------------------------------- /src/withdrawal/TokenBridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/src/withdrawal/TokenBridge.sol -------------------------------------------------------------------------------- /test/abi-smuggling/ABISmuggling.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/abi-smuggling/ABISmuggling.t.sol -------------------------------------------------------------------------------- /test/backdoor/Backdoor.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/backdoor/Backdoor.t.sol -------------------------------------------------------------------------------- /test/climber/Climber.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/climber/Climber.t.sol -------------------------------------------------------------------------------- /test/compromised/Compromised.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/compromised/Compromised.t.sol -------------------------------------------------------------------------------- /test/curvy-puppet/CurvyPuppet.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/curvy-puppet/CurvyPuppet.t.sol -------------------------------------------------------------------------------- /test/free-rider/FreeRider.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/free-rider/FreeRider.t.sol -------------------------------------------------------------------------------- /test/naive-receiver/NaiveReceiver.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/naive-receiver/NaiveReceiver.t.sol -------------------------------------------------------------------------------- /test/puppet-v2/PuppetV2.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/puppet-v2/PuppetV2.t.sol -------------------------------------------------------------------------------- /test/puppet-v3/PuppetV3.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/puppet-v3/PuppetV3.t.sol -------------------------------------------------------------------------------- /test/puppet/Puppet.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/puppet/Puppet.t.sol -------------------------------------------------------------------------------- /test/selfie/Selfie.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/selfie/Selfie.t.sol -------------------------------------------------------------------------------- /test/shards/Shards.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/shards/Shards.t.sol -------------------------------------------------------------------------------- /test/side-entrance/SideEntrance.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/side-entrance/SideEntrance.t.sol -------------------------------------------------------------------------------- /test/the-rewarder/TheRewarder.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/the-rewarder/TheRewarder.t.sol -------------------------------------------------------------------------------- /test/the-rewarder/dvt-distribution.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/the-rewarder/dvt-distribution.json -------------------------------------------------------------------------------- /test/the-rewarder/weth-distribution.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/the-rewarder/weth-distribution.json -------------------------------------------------------------------------------- /test/truster/Truster.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/truster/Truster.t.sol -------------------------------------------------------------------------------- /test/unstoppable/Unstoppable.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/unstoppable/Unstoppable.t.sol -------------------------------------------------------------------------------- /test/wallet-mining/WalletMining.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/wallet-mining/WalletMining.t.sol -------------------------------------------------------------------------------- /test/withdrawal/Withdrawal.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/withdrawal/Withdrawal.t.sol -------------------------------------------------------------------------------- /test/withdrawal/withdrawals.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RealJohnnyTime/damn-vulnerable-defi-v4-solutions/HEAD/test/withdrawal/withdrawals.json --------------------------------------------------------------------------------