• 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
..
ast Loading commit data...
bindgen Loading commit data...
bindings Loading commit data...
bindingspreview Loading commit data...
cmd Loading commit data...
etherscan Loading commit data...
foundry Loading commit data...
hardhat Loading commit data...
legacy-bindings Loading commit data...
predeploys Loading commit data...
solc Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
artifacts-preview.json Loading commit data...
artifacts.json Loading commit data...
doc.go Loading commit data...