Skip to main content

Owner Two Step Data Facet

@perfect-abstractions/compose/access/Owner/TwoSteps/Data/OwnerTwoStepDataFacet.sol

Read-only pending-owner data extension for the Owner facets.

Key Features
  • Exposes the pending owner via external pendingOwner() (read-only).
  • Shares PendingOwnerStorage at erc8042:erc173.owner.pending with OwnerTwoStepTransferFacet and other contracts.

Storage

State Variables

PropertyTypeDescriptionSTORAGE_POSITIONbytes32Pending-owner storage position within the diamond (Value: keccak256("erc173.owner.pending"))

PendingOwnerStorage

Definition
/** storage-location: erc8042:erc173.owner.pending */
struct PendingOwnerStorage {
address pendingOwner;
}

Functions

pendingOwner

Returns the pedding owner address registered`.

function pendingOwner() external view returns (address);

Returns:

PropertyTypeDescription-addressThe pending owner, or address(0) when no transfer is pending.

Best Practices

Last updated:

Newsletter

Get notified about releases, feature announcements, and technical deep-dives on building smart contracts with Compose.

No spam. Unsubscribe anytime.