Skip to content

Commit f9f65d7

Browse files
authored
feat: add arbos 40 methods (#9)
1 parent 5ce0291 commit f9f65d7

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ArbOwner.sol

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ interface ArbOwner {
222222
string calldata chainConfig
223223
) external;
224224

225+
/// @notice Sets the increased calldata price feature on or off (EIP-7623)
226+
/// @notice Available in ArbOS version 40 and above with default as false
227+
function setCalldataPriceIncrease(
228+
bool enable
229+
) external;
230+
225231
/// Emitted when a successful call is made to this precompile
226232
event OwnerActs(bytes4 indexed method, address indexed owner, bytes data);
227233
}

ArbOwnerPublic.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,9 @@ interface ArbOwnerPublic {
4040
view
4141
returns (uint64 arbosVersion, uint64 scheduledForTimestamp);
4242

43+
/// @notice Checks if the increased calldata price feature (EIP-7623) is enabled
44+
/// @notice Available in ArbOS version 40 with default as false
45+
function isCalldataPriceIncreaseEnabled() external view returns (bool);
46+
4347
event ChainOwnerRectified(address rectifiedOwner);
4448
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@arbitrum/nitro-precompile-interfaces",
3-
"version": "31.0.0",
3+
"version": "40.0.0",
44
"description": "Solidity interfaces for Arbitrum Nitro precompiled contracts",
55
"author": "Offchain Labs, Inc.",
66
"license": "BUSL-1.1",

0 commit comments

Comments
 (0)