Skip to content
Lattice

AccessManaged

Git Source

Inherits: IAccessManaged

Title: AccessManaged

Author: Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/manager/AccessManaged.sol)

Diamond facet for contracts gated by an external AccessManager.

Notes:

  • lattice-version: 0.1.0
  • lattice-source: OpenZeppelin v5.1.0

Functions

authority

function authority() external view virtual override returns (address);

Returns

NameTypeDescription
<none>address

setAuthority

function setAuthority(address newAuthority) external virtual override;

Parameters

NameTypeDescription
newAuthorityaddress

isConsumingScheduledOp

Returns isConsumingScheduledOp.selector while this contract is consuming a scheduled operation on its authority during a delayed direct call, and 0 otherwise.

function isConsumingScheduledOp() external view virtual override returns (bytes4);

Returns

NameTypeDescription
<none>bytes4

exportSelectors

ERC-8153 selector export: this facet's cuttable selectors, tightly packed (4 bytes each).

Excludes exportSelectors() itself (0x0ef22643) - it is never cut into a diamond. Order matches forge inspect AccessManaged methodIdentifiers (alphabetical by signature); kept in exact parity by ExportSelectorsParityTest. Chunks: authority() 0xbf7e214f isConsumingScheduledOp() 0x8fb36037 setAuthority(address) 0x7a9e5e4b

function exportSelectors() external pure virtual returns (bytes memory selectors);

Returns

NameTypeDescription
selectorsbytes