@arbitrum/nitro-contracts 1.0.0-beta.4 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -118,4 +118,13 @@ interface ArbGasInfo {
|
|
118
118
|
|
119
119
|
/// @notice Get the amount of gas remaining in the gas pool
|
120
120
|
function getGasPool() external view returns (int64);
|
121
|
+
|
122
|
+
/// @notice Get the backlogged amount of gas burnt in excess of the speed limit
|
123
|
+
function getGasBacklog() external view returns (uint64);
|
124
|
+
|
125
|
+
/// @notice Get how slowly ArbOS updates the L2 basefee in response to backlogged gas
|
126
|
+
function getPricingInertia() external view returns (uint64);
|
127
|
+
|
128
|
+
/// @notice Get the forgivable amount of backlogged gas ArbOS will ignore when raising the basefee
|
129
|
+
function getGasBacklogTolerance() external view returns (uint64);
|
121
130
|
}
|
@@ -54,6 +54,12 @@ interface ArbOwner {
|
|
54
54
|
/// @notice Set the maximum size a tx (and block) can be
|
55
55
|
function setMaxTxGasLimit(uint64 limit) external;
|
56
56
|
|
57
|
+
/// @notice Set the L2 gas pricing inertia
|
58
|
+
function setL2GasPricingInertia(uint64 sec) external;
|
59
|
+
|
60
|
+
/// @notice Set the L2 gas backlog tolerance
|
61
|
+
function setL2GasBacklogTolerance(uint64 sec) external;
|
62
|
+
|
57
63
|
/// @notice Get the network fee collector
|
58
64
|
function getNetworkFeeAccount() external view returns (address);
|
59
65
|
|
@@ -84,6 +84,9 @@ interface ArbRetryableTx {
|
|
84
84
|
);
|
85
85
|
event Canceled(bytes32 indexed ticketId);
|
86
86
|
|
87
|
+
/// @dev DEPRECATED in favour of new RedeemScheduled event after the nitro upgrade
|
88
|
+
event Redeemed(bytes32 indexed userTxHash);
|
89
|
+
|
87
90
|
error NoTicketWithID();
|
88
91
|
error NotCallable();
|
89
92
|
}
|
@@ -107,11 +107,24 @@ interface ArbSys {
|
|
107
107
|
* @notice creates a send txn from L2 to L1
|
108
108
|
* @param position = (level << 192) + leaf = (0 << 192) + leaf = leaf
|
109
109
|
*/
|
110
|
-
event
|
110
|
+
event L2ToL1Tx(
|
111
111
|
address caller,
|
112
112
|
address indexed destination,
|
113
113
|
uint256 indexed hash,
|
114
114
|
uint256 indexed position,
|
115
|
+
uint256 arbBlockNum,
|
116
|
+
uint256 ethBlockNum,
|
117
|
+
uint256 timestamp,
|
118
|
+
uint256 callvalue,
|
119
|
+
bytes data
|
120
|
+
);
|
121
|
+
|
122
|
+
/// @dev DEPRECATED in favour of the new L2ToL1Tx event above after the nitro upgrade
|
123
|
+
event L2ToL1Transaction(
|
124
|
+
address caller,
|
125
|
+
address indexed destination,
|
126
|
+
uint256 indexed uniqueId,
|
127
|
+
uint256 indexed batchNumber,
|
115
128
|
uint256 indexInBatch,
|
116
129
|
uint256 arbBlockNum,
|
117
130
|
uint256 ethBlockNum,
|