• smartcontracts's avatar
    feat(ct): add constructors to interfaces (#12028) · 53d95228
    smartcontracts authored
    * feat(ct): add constructors to interfaces
    
    Adds a pseudo-constructor function called __constructor__ that
    will be verified as part of the interface. This pseudo-function
    is useful when we want to be able to maintain type safety
    in the deploy script where we use vm.getCode.
    
    * add a pseudo-constructor for all remaining contracts with constructors
    
    * fix warning
    
    * update check-interface.sh comment
    
    ---------
    Co-authored-by: default avatarMichael Amadi <amadimichaeld@gmail.com>
    53d95228
Name
Last commit
Last update
..
.testdata Loading commit data...
deploy-config Loading commit data...
deploy-config-periphery Loading commit data...
deployments Loading commit data...
lib Loading commit data...
scripts Loading commit data...
snapshots Loading commit data...
src Loading commit data...
test Loading commit data...
.gas-snapshot Loading commit data...
.gitignore 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...
VERSIONING.md Loading commit data...
foundry.toml Loading commit data...
justfile Loading commit data...
safe.json Loading commit data...
semver-lock.json Loading commit data...
slither.config.json Loading commit data...
slither.db.json Loading commit data...