Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
989db40
refactor: remove arbos 41 methods
gzeoneth Jul 10, 2025
ec31fac
refactor: remove arbos 40 methods
gzeoneth Jul 10, 2025
4ddeb72
refactor: remove arbos 31 methods
gzeoneth Jul 10, 2025
d7184ef
refactor: remove arbos 30 methods
gzeoneth Jul 10, 2025
6064abc
refactor: remove arbos 20 methods
gzeoneth Jul 10, 2025
be196c0
refactor: remove arbos 11 methods
gzeoneth Jul 10, 2025
72ec09b
refactor: remove arbos 10 methods
gzeoneth Jul 10, 2025
6bbba43
refactor: remove arbos 5 methods
gzeoneth Jul 10, 2025
32a62c9
docs: add LICENSE.md
gzeoneth Jul 10, 2025
14059d3
chore: set up repo and ci
gzeoneth Jul 10, 2025
56ccaf3
docs: add README.md
gzeoneth Jul 10, 2025
08f6926
ci: push
gzeoneth Jul 10, 2025
8aa7df3
ci: fix wrong path
gzeoneth Jul 10, 2025
3880ef4
chore: commit yarn lock
gzeoneth Jul 10, 2025
59ed2e3
feat: add arbos 5 methods
gzeoneth Jul 10, 2025
55dd82e
feat: add arbos 10 methods
gzeoneth Jul 10, 2025
99f7f7d
feat: add arbos 11 methods
gzeoneth Jul 10, 2025
0d1f1b0
feat: add arbos 20 methods
gzeoneth Jul 10, 2025
4b11ae6
format: fix
gzeoneth Jul 11, 2025
68ca341
Merge branch 'retag-history' into arbos-5
gzeoneth Jul 11, 2025
8fa7fb5
chore: 5.0.0
gzeoneth Jul 11, 2025
ae5a872
Merge branch 'arbos-5' into arbos-10
gzeoneth Jul 11, 2025
67139d0
chore: 10.0.0
gzeoneth Jul 11, 2025
095c3f2
Merge branch 'arbos-10' into arbos-11
gzeoneth Jul 11, 2025
dbae8f6
chore: 11.0.0
gzeoneth Jul 11, 2025
0b6fc52
Merge branch 'arbos-11' into arbos-20
gzeoneth Jul 11, 2025
dbdc36b
chore: 20.0.0
gzeoneth Jul 11, 2025
a1454f5
Merge remote-tracking branch 'origin/main' into arbos-20
gzeoneth Jul 29, 2025
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
20 changes: 20 additions & 0 deletions ArbGasInfo.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,24 @@ interface ArbGasInfo {
/// @notice Returns the available funds from L1 fees
/// @notice Available in ArbOS version 10 and above
function getL1FeesAvailable() external view returns (uint256);

/// @notice Returns the equilibration units parameter for L1 price adjustment algorithm
/// @notice Available in ArbOS version 20 and above
function getL1PricingEquilibrationUnits() external view returns (uint256);

/// @notice Returns the last time the L1 calldata pricer was updated.
/// @notice Available in ArbOS version 20 and above
function getLastL1PricingUpdateTime() external view returns (uint64);

/// @notice Returns the amount of L1 calldata payments due for rewards (per the L1 reward rate)
/// @notice Available in ArbOS version 20 and above
function getL1PricingFundsDueForRewards() external view returns (uint256);

/// @notice Returns the amount of L1 calldata posted since the last update.
/// @notice Available in ArbOS version 20 and above
function getL1PricingUnitsSinceUpdate() external view returns (uint64);

/// @notice Returns the L1 pricing surplus as of the last update (may be negative).
/// @notice Available in ArbOS version 20 and above
function getLastL1PricingSurplus() external view returns (int256);
}
6 changes: 6 additions & 0 deletions ArbOwner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ interface ArbOwner {
int64 cost
) external;

/// @notice Sets the Brotli compression level used for fast compression
/// @notice Available in ArbOS version 20 and above
function setBrotliCompressionLevel(
uint64 level
) external;

/// @notice Sets the cost amortization cap in basis points
function setAmortizedCostCapBips(
uint64 cap
Expand Down
12 changes: 12 additions & 0 deletions ArbOwnerPublic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,17 @@ interface ArbOwnerPublic {
/// @notice Get the infrastructure fee collector
function getInfraFeeAccount() external view returns (address);

/// @notice Get the Brotli compression level used for fast compression
/// @notice Available in ArbOS version 20 and above
function getBrotliCompressionLevel() external view returns (uint64);

/// @notice Get the next scheduled ArbOS version upgrade and its activation timestamp.
/// @notice Returns (0, 0) if no ArbOS upgrade is scheduled.
/// @notice Available in ArbOS version 20 and above
function getScheduledUpgrade()
external
view
returns (uint64 arbosVersion, uint64 scheduledForTimestamp);

event ChainOwnerRectified(address rectifiedOwner);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arbitrum/nitro-precompile-interfaces",
"version": "11.0.0",
"version": "20.0.0",
"description": "Solidity interfaces for Arbitrum Nitro precompiled contracts",
"author": "Offchain Labs, Inc.",
"license": "BUSL-1.1",
Expand Down