• smartcontracts's avatar
    fix(ct): bugs in DelayedWETH (#9899) · 8df191f6
    smartcontracts authored
    * fix(ct): bugs in DelayedWETH
    
    Fixes two bugs in Delayed WETH. First was a limitation of the
    recover function that would have made it relatively easy to DoS
    the function by simply withdrawing small amounts of ETH every time
    the owner attempted to withdraw the full balance. Second is a bug
    in hold function where the approval was the wrong way around.
    
    * Update Kontrol snapshot
    
    ---------
    Co-authored-by: default avatarinphi <mlaw2501@gmail.com>
    8df191f6
Name
Last commit
Last update
..
deploy-config Loading commit data...
deployments Loading commit data...
invariant-docs Loading commit data...
lib Loading commit data...
periphery-deploy-config Loading commit data...
scripts Loading commit data...
snapshots Loading commit data...
src Loading commit data...
test Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gas-snapshot Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
STYLE_GUIDE.md Loading commit data...
foundry.toml Loading commit data...
package.json Loading commit data...
semver-lock.json Loading commit data...
slither.config.json Loading commit data...
slither.db.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...