diff --git a/ArbOwner.sol b/ArbOwner.sol index cf20dba..47c9f6a 100644 --- a/ArbOwner.sol +++ b/ArbOwner.sol @@ -329,6 +329,12 @@ interface ArbOwner { ArbMultiGasConstraintsTypes.ResourceConstraint[] calldata constraints ) external; + /// @notice Sets the max amount of stylus contract fragments that can be used to deploy a stylus contract + /// @notice Available in ArbOS version 60 and above + function setMaxStylusContractFragments( + uint16 maxFragments + ) external; + /// Emitted when a successful call is made to this precompile event OwnerActs(bytes4 indexed method, address indexed owner, bytes data); } diff --git a/ArbOwnerPublic.sol b/ArbOwnerPublic.sol index fb5d11e..50490cf 100644 --- a/ArbOwnerPublic.sol +++ b/ArbOwnerPublic.sol @@ -63,5 +63,9 @@ interface ArbOwnerPublic { /// @notice Available in ArbOS version 40 with default as false function isCalldataPriceIncreaseEnabled() external view returns (bool); + /// @notice Get the max amount of stylus contract fragments that can be used to deploy a stylus contract + /// @notice Available in ArbOS version 60 and above + function getMaxStylusContractFragments() external view returns (uint16); + event ChainOwnerRectified(address rectifiedOwner); }