File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright 2025, Offchain Labs, Inc.
2+ // For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
3+ // SPDX-License-Identifier: BUSL-1.1
4+
5+ pragma solidity >= 0.4.21 < 0.9.0 ;
6+
7+ /**
8+ * @title Enables ability to censor transactions by authorized callers.
9+ * @notice Authorized callers are added/removed through ArbOwner precompile.
10+ * Available in ArbOS version 60 and above
11+ */
12+ interface ArbCensoredTransactionsManager {
13+ /// @notice Marks the given transaction hash as censored
14+ /// @param txHash The transaction hash to censor
15+ function addCensoredTransaction (
16+ bytes32 txHash
17+ ) external ;
18+
19+ /// @notice Removes censorship mark for the given transaction hash
20+ /// @param txHash The transaction hash to uncensor
21+ function deleteCensoredTransaction (
22+ bytes32 txHash
23+ ) external ;
24+
25+ /// @notice Checks whether the given transaction hash is censored
26+ /// @param txHash The transaction hash to check
27+ /// @return True if censored, false otherwise
28+ function isTransactionCensored (
29+ bytes32 txHash
30+ ) external view returns (bool );
31+ }
You can’t perform that action at this time.
0 commit comments