Skip to main content

Module address_registry

Module address_registry 

Source
Expand description

TIP-1022 virtual address registry precompile. Enabled on TempoHardfork::T3.

Provides on-chain registration of virtual-address masters and resolution of TIP-1022 virtual addresses back to their registered master EOA/contract.

Modules§

IAddressRegistry
TIP-1022 virtual address registry interface.
__packing_registry_data
dispatch
slots

Structs§

AddressRegistry
RegistryData 🔒
Storage record for a registered master. Packed into a single 32-byte slot.
RegistryDataHandler
Type-safe handler for accessing #struct_name in storage.

Enums§

AddrRegistryError
Container for all the IAddressRegistry custom errors.
AddrRegistryEvent
Container for all the IAddressRegistry events.

Constants§

IMPLICIT_APPROVAL_LIST
TIP-1035 Implicit Approval List.
STABLECOIN_DEX_ADDRESS
TIP20_CHANNEL_RESERVE_ADDRESS
Native TIP-1034 channel reserve precompile address.
TIP_FEE_MANAGER_ADDRESS

Traits§

TempoAddressExt
Extension trait with helper functions for Tempo addresses.

Functions§

is_implicitly_approved
Returns true iff addr is on the IMPLICIT_APPROVAL_LIST for the given hardfork.

Type Aliases§

MasterId
4-byte master identifier derived from the registration hash.
UserTag
6-byte user tag occupying the trailing bytes of a virtual address.