Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions ArbAggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ interface ArbAggregator {
/// This reverts unless called by the batch poster, its fee collector, or a chain owner
/// @param batchPoster The batch poster to set the fee collector for
/// @param newFeeCollector The new fee collector to set
function setFeeCollector(address batchPoster, address newFeeCollector) external;
function setFeeCollector(
address batchPoster,
address newFeeCollector
) external;

/// @notice Deprecated, always returns zero
/// @notice Get the tx base fee (in approximate L1 gas) for aggregator
Expand All @@ -56,5 +59,8 @@ interface ArbAggregator {
/// Revert if feeInL1Gas is outside the chain's allowed bounds
/// @param aggregator The aggregator to set the fee for
/// @param feeInL1Gas The base fee in L1 gas
function setTxBaseFee(address aggregator, uint256 feeInL1Gas) external;
function setTxBaseFee(
address aggregator,
uint256 feeInL1Gas
) external;
}
11 changes: 10 additions & 1 deletion ArbDebug.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@ interface ArbDebug {
/// @notice Caller becomes a chain owner
function becomeChainOwner() external;

/// @notice Overwrite an existing contract's code
function overwriteContractCode(
address target,
bytes calldata newCode
) external returns (bytes memory oldCode);

/// @notice Emit events with values based on the args provided
function events(bool flag, bytes32 value) external payable returns (address, uint256);
function events(
bool flag,
bytes32 value
) external payable returns (address, uint256);

/// @notice Tries (and fails) to emit logs in a view context
function eventsView() external view;
Expand Down
5 changes: 4 additions & 1 deletion ArbFunctionTable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ interface ArbFunctionTable {
) external view returns (uint256);

/// @notice No-op
function get(address addr, uint256 index) external view returns (uint256, bool, uint256);
function get(
address addr,
uint256 index
) external view returns (uint256, bool, uint256);
}
10 changes: 8 additions & 2 deletions ArbOwner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ interface ArbOwner {
) external;

/// @notice Upgrades ArbOS to the requested version at the requested timestamp
function scheduleArbOSUpgrade(uint64 newVersion, uint64 timestamp) external;
function scheduleArbOSUpgrade(
uint64 newVersion,
uint64 timestamp
) external;

/// @notice Sets equilibration units parameter for L1 price adjustment algorithm
function setL1PricingEquilibrationUnits(
Expand Down Expand Up @@ -217,7 +220,10 @@ interface ArbOwner {
/// @notice Available in ArbOS version 30 and above
/// @param gas amount of gas paid in increments of 256 when not the program is not cached
/// @param cached amount of gas paid in increments of 64 when the program is cached
function setWasmMinInitGas(uint8 gas, uint16 cached) external;
function setWasmMinInitGas(
uint8 gas,
uint16 cached
) external;

/// @notice Sets the linear adjustment made to program init costs.
/// @notice Available in ArbOS version 30 and above
Expand Down
5 changes: 1 addition & 4 deletions ArbStatistics.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@ interface ArbStatistics {
/// Number of transaction receipt issued,
/// Number of contracts created,
/// )
function getStats()
external
view
returns (uint256, uint256, uint256, uint256, uint256, uint256);
function getStats() external view returns (uint256, uint256, uint256, uint256, uint256, uint256);
}