#[allow(
clippy::expect_used,
clippy::indexing_slicing,
clippy::panic,
clippy::unwrap_used,
clippy::pub_underscore_fields,
clippy::missing_docs_in_private_items,
clippy::too_many_arguments,
missing_debug_implementations,
missing_docs,
non_snake_case,
non_camel_case_types
)]
mod sol_types {
alloy::sol! {
#[sol(rpc)]
contract OriginAssignment {
function getOrigins(uint256 namespaceId) external view returns (address[] memory);
function assignedNamespaceCount() external view returns (uint256);
function assignedNamespaces(uint256 offset, uint256 limit)
external
view
returns (uint256[] memory);
function isVettedPublisher(address publisher) external view returns (bool);
function vettingPolicy() external view returns (address);
function addOrigin(uint256 namespaceId, address operator) external;
function removeOrigin(uint256 namespaceId, address operator) external;
event OriginAdded(
uint256 indexed namespaceId,
address indexed operator,
address indexed by
);
event OriginRemoved(
uint256 indexed namespaceId,
address indexed operator,
address indexed by
);
event InactiveOriginPruned(
uint256 indexed namespaceId,
address indexed operator,
address indexed pruner
);
}
}
}
pub use sol_types::OriginAssignment;