@@ -49,6 +49,8 @@ interface ArbGasInfo {
4949 function getPricesInArbGas () external view returns (uint256 , uint256 , uint256 );
5050
5151 /// @notice Get the gas accounting parameters. `gasPoolMax` is always zero, as the exponential pricing model has no such notion.
52+ /// @notice Starting from ArbOS version 50, returns `speedLimitPerSecond` as the target from the longest-period constraint.
53+ /// @notice For new integrations, prefer `getMaxBlockGasLimit` and `getGasPricingConstraints`.
5254 /// @return (speedLimitPerSecond, gasPoolMax, maxBlockGasLimit)
5355 /// @dev Deprecated starting from ArbOS version 50.
5456 function getGasAccountingParams () external view returns (uint256 , uint256 , uint256 );
@@ -81,14 +83,20 @@ interface ArbGasInfo {
8183 function getCurrentTxL1GasFees () external view returns (uint256 );
8284
8385 /// @notice Get the backlogged amount of gas burnt in excess of the speed limit
86+ /// @notice Starting from ArbOS version 50, returns the backlog of the longest-period constraint among all configured constraints.
87+ /// @notice For new integrations, prefer `getGasPricingConstraints`.
8488 /// @dev Deprecated starting from ArbOS version 50.
8589 function getGasBacklog () external view returns (uint64 );
8690
8791 /// @notice Get how slowly ArbOS updates the L2 basefee in response to backlogged gas
92+ /// @notice Starting from ArbOS version 50, returns the inertia value derived from the longest-period constraint
93+ /// @notice For new integrations, prefer `getGasPricingConstraints`.
8894 /// @dev Deprecated starting from ArbOS version 50.
8995 function getPricingInertia () external view returns (uint64 );
9096
9197 /// @notice Get the forgivable amount of backlogged gas ArbOS will ignore when raising the basefee
98+ /// @notice Starting from ArbOS version 50, this function always returns zero.
99+ /// @notice There is no tolerance for backlogged gas in the new pricing model.
92100 /// @dev Deprecated starting from ArbOS version 50.
93101 function getGasBacklogTolerance () external view returns (uint64 );
94102
@@ -130,10 +138,10 @@ interface ArbGasInfo {
130138 function getMaxBlockGasLimit () external view returns (uint64 );
131139
132140 /// @notice Get the current gas pricing constraints used by the Multi-Constraint Pricer.
133- /// @notice Each constraint contains:
134- /// - uint64 gas_target (in gas/ second)
135- /// - uint64 time_constant ( in seconds)
136- /// - uint64 backlog ( in gas units)
141+ /// @notice Each constraint contains the following values :
142+ /// - ` uint64 gas_target_per_second`: target gas usage per second
143+ /// - ` uint64 time_constant_seconds`: time constant in seconds
144+ /// - ` uint64 backlog`: current backlog in gas units
137145 /// @return constraints Array of triples (gas_target_per_second, time_constant_seconds, backlog)
138146 /// @notice Available in ArbOS version 50 and above.
139147 function getGasPricingConstraints () external view returns (uint64 [3 ][] memory constraints );
0 commit comments