diff --git a/ArbGasInfo.sol b/ArbGasInfo.sol index f8961fd..545839c 100644 --- a/ArbGasInfo.sol +++ b/ArbGasInfo.sol @@ -84,4 +84,8 @@ interface ArbGasInfo { /// @notice Returns the cost amortization cap in basis points function getAmortizedCostCapBips() external view returns (uint64); + + /// @notice Returns the available funds from L1 fees + /// @notice Available in ArbOS version 10 and above + function getL1FeesAvailable() external view returns (uint256); } diff --git a/ArbOwner.sol b/ArbOwner.sol index e7682ab..921ec59 100644 --- a/ArbOwner.sol +++ b/ArbOwner.sol @@ -124,6 +124,12 @@ interface ArbOwner { uint64 cap ) external; + /// @notice Releases surplus funds from L1PricerFundsPoolAddress for use + /// @notice Available in ArbOS version 10 and above + function releaseL1PricerSurplusFunds( + uint256 maxWeiToRelease + ) external returns (uint256); + /// Emitted when a successful call is made to this precompile event OwnerActs(bytes4 indexed method, address indexed owner, bytes data); } diff --git a/package.json b/package.json index c3326d7..b4ac888 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@arbitrum/nitro-precompile-interfaces", - "version": "5.0.0", + "version": "10.0.0", "description": "Solidity interfaces for Arbitrum Nitro precompiled contracts", "author": "Offchain Labs, Inc.", "license": "BUSL-1.1",