@perfect-abstractions/compose/access/Owner/TwoSteps/Data/OwnerTwoStepDataMod.solHeper functions for two step ownership access
erc8042:erc173.owner.pending (keccak256("erc173.owner.pending")), shared with Owner Two Step Transfer Module, renounce/two-step flows, and Owner Two Step Data Facet.getStorage() returns a PendingOwnerStorage pointer; pendingOwner() reads pendingOwner (or address(0) when unset).Import this module into facets or shared setup code. Its helpers are file-level (effectively internal to your compilation unit). Use them from your facet’s external entrypoints or other modules.
Storage follows the diamond slot in this file; any code using the same STORAGE_POSITION shares state.
See Facets & Modules for more information.
STORAGE_POSITIONbytes32keccak256("erc173.owner.pending"))Returns a storage pointer to PendingOwnerStorage at STORAGE_POSITION using inline assembly.
Returns:
sPendingOwnerStorage storageReturns getStorage().pendingOwner.
Returns:
-addressaddress(0) when no transfer is pending.pendingOwner itself.pendingOwner() externally.PendingOwnerStorage lives at keccak256("erc173.owner.pending"). Any code using that slot—including modules that define their own accessor with the same hash—shares the same pendingOwner field.