Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Add ArbOS precompile method to get scheduled upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Jan 28, 2024
1 parent f28f248 commit 6e61fdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/precompiles/ArbOwnerPublic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@ interface ArbOwnerPublic {
/// @notice Get the Brotli compression level used for fast compression
function getBrotliCompressionLevel() external view returns (uint64);

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

event ChainOwnerRectified(address rectifiedOwner);
}

0 comments on commit 6e61fdb

Please sign in to comment.