Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ArbOwner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: we can move it above the OwnerActs event to keep functions together; the same applies to the other file

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will fix

uint16 maxFragments
) external;

/// Emitted when a successful call is made to this precompile
event OwnerActs(bytes4 indexed method, address indexed owner, bytes data);
}
4 changes: 4 additions & 0 deletions ArbOwnerPublic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}