• 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
..
interfaces Loading commit data...
DataAvailabilityChallenge.sol Loading commit data...
DelayedVetoable.sol Loading commit data...
L1CrossDomainMessenger.sol Loading commit data...
L1ERC721Bridge.sol Loading commit data...
L1StandardBridge.sol Loading commit data...
L2OutputOracle.sol Loading commit data...
OPStackManager.sol Loading commit data...
OPStackManagerInterop.sol Loading commit data...
OptimismPortal.sol Loading commit data...
OptimismPortal2.sol Loading commit data...
OptimismPortalInterop.sol Loading commit data...
ProtocolVersions.sol Loading commit data...
ResourceMetering.sol Loading commit data...
SuperchainConfig.sol Loading commit data...
SystemConfig.sol Loading commit data...
SystemConfigInterop.sol Loading commit data...