• 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
IL2OutputOracle.sol 2.44 KB