Skip to content

Commit a3ff4ab

Browse files
ArbOwner: add interfaces to manage transaction censors
1 parent 682dbab commit a3ff4ab

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

ArbOwner.sol

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,32 @@ interface ArbOwner {
5959
address addr
6060
) external view returns (bool);
6161

62-
/// @notice Retrieves the list of native token owners
62+
// @notice Retrieves the list of native token owners
6363
/// @notice Available in ArbOS version 41 and above
6464
function getAllNativeTokenOwners() external view returns (address[] memory);
6565

66+
/// @notice Add account as a transaction censor (authorized to use ArbCensoredTransactionsManager)
67+
/// @notice Available in ArbOS version 60 and above
68+
function addTransactionCensor(
69+
address newCensor
70+
) external;
71+
72+
/// @notice Remove account from the list of transaction censors
73+
/// @notice Available in ArbOS version 60 and above
74+
function removeTransactionCensor(
75+
address censorToRemove
76+
) external;
77+
78+
/// @notice See if the user is a transaction censor
79+
/// @notice Available in ArbOS version 60 and above
80+
function isTransactionCensor(
81+
address addr
82+
) external view returns (bool);
83+
84+
/// @notice Retrieves the list of transaction censors
85+
/// @notice Available in ArbOS version 60 and above
86+
function getAllTransactionCensors() external view returns (address[] memory);
87+
6688
/// @notice Set how slowly ArbOS updates its estimate of the L1 basefee
6789
function setL1BaseFeeEstimateInertia(
6890
uint64 inertia

0 commit comments

Comments
 (0)