You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@
34
34
*`Ownable2Step`: extension of `Ownable` that makes the ownership transfers a two step process. ([#3620](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3620))
35
35
*`Math` and `SignedMath`: optimize function `max` by using `>` instead of `>=`. ([#3679](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3679))
36
36
*`Math`: Add `log2`, `log10` and `log256`. ([#3670](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3670))
37
+
* Arbitrum: Update the vendored arbitrum contracts to match the nitro upgrade. ([#3692](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3692))
// For license information, see https://github.com/OffchainLabs/nitro/blob/master/LICENSE
3
+
// SPDX-License-Identifier: BUSL-1.1
4
+
3
5
pragma solidity>=0.4.21<0.9.0;
4
6
5
7
/**
6
-
* @title Precompiled contract that exists in every Arbitrum chain at address(100), 0x0000000000000000000000000000000000000064. Exposes a variety of system-level functionality.
8
+
* @title System level functionality
9
+
* @notice For use by contracts to interact with core L2-specific functionality.
10
+
* Precompiled contract that exists in every Arbitrum chain at address(100), 0x0000000000000000000000000000000000000064.
7
11
*/
8
12
interfaceIArbSys {
9
-
/**
10
-
* @notice Get internal version number identifying an ArbOS build
11
-
* @return version number as int
12
-
*/
13
-
function arbOSVersion() externalpurereturns (uint256);
14
-
15
-
function arbChainID() externalviewreturns (uint256);
16
-
17
13
/**
18
14
* @notice Get Arbitrum block number (distinct from L1 block number; Arbitrum genesis block has block number 0)
19
15
* @return block number as int
20
16
*/
21
17
function arbBlockNumber() externalviewreturns (uint256);
22
18
23
19
/**
24
-
* @notice Send given amount of Eth to dest from sender.
25
-
* This is a convenience function, which is equivalent to calling sendTxToL1 with empty calldataForL1.
26
-
* @param destination recipient address on L1
27
-
* @return unique identifier for this L2-to-L1 transaction.
0 commit comments