Ship AddressActivityRegistry V1/V2, ISO20022IntakeGateway, Chain138ParticipantSurface, checkpoint hub contracts, checkpoint-core package, aggregator/indexer/sdk services, relay profile guards, M00 diamond bridge facet, and OMNL compliance contracts. Co-authored-by: Cursor <[email protected]>
39 lines
957 B
Solidity
39 lines
957 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.20;
|
|
|
|
/// @dev Custom errors shrink hub runtime bytecode vs string reverts (EIP-170).
|
|
library CheckpointErrors {
|
|
error Paused();
|
|
error BadRange();
|
|
error UnknownBatch();
|
|
error ZeroModule();
|
|
error ExtensionExists();
|
|
error ExtensionMissing();
|
|
error BatchSize();
|
|
error CcipDisabled();
|
|
error OnlyRouter();
|
|
error BadSelector();
|
|
error BadEmitter();
|
|
error BatchDone();
|
|
error BadChain();
|
|
error BatchOrder();
|
|
error PrevBatch();
|
|
error BadBlocks();
|
|
error TxCount();
|
|
error IncompleteBatch();
|
|
error PaymentsRoot();
|
|
error StateRoot();
|
|
error BlockHash();
|
|
error Signatures();
|
|
error Replay();
|
|
error ZeroTx();
|
|
error TxSeen();
|
|
error SubmitterSigLen();
|
|
error AttestSigner();
|
|
error SubmitterRole();
|
|
error BelowMinPayment();
|
|
error LeavesEmpty();
|
|
error RootMismatch();
|
|
error CalldataOnlyDisabled();
|
|
}
|