@@ -77,6 +77,9 @@ interface ArbOwner {
7777 ) external ;
7878
7979 /// @notice Set the computational speed limit for the chain
80+ /// @notice Starting from ArbOS version 50, this function always returns an error.
81+ /// @notice Use `setGasPricingConstraints` instead, which supports configuring multiple constraints.
82+ /// @dev Deprecated starting from ArbOS version 50.
8083 function setSpeedLimit (
8184 uint64 limit
8285 ) external ;
@@ -93,11 +96,17 @@ interface ArbOwner {
9396 ) external ;
9497
9598 /// @notice Set the L2 gas pricing inertia
99+ /// @notice Starting from ArbOS version 50, this function always returns an error.
100+ /// @notice Use `setGasPricingConstraints` instead, which supports configuring multiple constraints.
101+ /// @dev Deprecated starting from ArbOS version 50.
96102 function setL2GasPricingInertia (
97103 uint64 sec
98104 ) external ;
99105
100106 /// @notice Set the L2 gas backlog tolerance
107+ /// @notice Starting from ArbOS version 50, this function always returns an error.
108+ /// @notice Use `setGasPricingConstraints` instead, which supports configuring multiple constraints.
109+ /// @dev Deprecated starting from ArbOS version 50.
101110 function setL2GasBacklogTolerance (
102111 uint64 sec
103112 ) external ;
@@ -121,7 +130,10 @@ interface ArbOwner {
121130 ) external ;
122131
123132 /// @notice Upgrades ArbOS to the requested version at the requested timestamp
124- function scheduleArbOSUpgrade (uint64 newVersion , uint64 timestamp ) external ;
133+ function scheduleArbOSUpgrade (
134+ uint64 newVersion ,
135+ uint64 timestamp
136+ ) external ;
125137
126138 /// @notice Sets equilibration units parameter for L1 price adjustment algorithm
127139 function setL1PricingEquilibrationUnits (
@@ -217,7 +229,10 @@ interface ArbOwner {
217229 /// @notice Available in ArbOS version 30 and above
218230 /// @param gas amount of gas paid in increments of 256 when not the program is not cached
219231 /// @param cached amount of gas paid in increments of 64 when the program is cached
220- function setWasmMinInitGas (uint8 gas , uint16 cached ) external ;
232+ function setWasmMinInitGas (
233+ uint8 gas ,
234+ uint16 cached
235+ ) external ;
221236
222237 /// @notice Sets the linear adjustment made to program init costs.
223238 /// @notice Available in ArbOS version 30 and above
@@ -268,6 +283,18 @@ interface ArbOwner {
268283 bool enable
269284 ) external ;
270285
286+ /// @notice Sets the list of gas pricing constraints for the Multi-Constraint Pricer.
287+ /// @notice Replaces the existing constraints configuration and sets each constraint's starting backlog value.
288+ /// @notice All existing backlogs are replaced by the provided values.
289+ /// @notice Any changes to gas targets, periods, or starting backlogs may cause immediate price fluctuations.
290+ /// @notice Operators are fully responsible for the resulting behavior and should adjust parameters carefully.
291+ /// @notice Use ArbGasInfo.getGasPricingConstraints() to retrieve the current configuration.
292+ /// @notice Available in ArbOS version 50 and above.
293+ /// @param constraints Array of triples (gas_target_per_second, period_seconds, starting_backlog_value)
294+ function setGasPricingConstraints (
295+ uint64 [3 ][] calldata constraints
296+ ) external ;
297+
271298 /// Emitted when a successful call is made to this precompile
272299 event OwnerActs (bytes4 indexed method , address indexed owner , bytes data );
273300}
0 commit comments