HatsEvents.sol
HatsEvents
Events
HatCreated
Emitted when a new hat is created
event HatCreated(
uint256 id, string details, uint32 maxSupply, address eligibility, address toggle, bool mutable_, string imageURI
);WearerStandingChanged
Emitted when a hat wearer's standing is updated
Eligibility is excluded since the source of truth for eligibility is the eligibility module and may change without a transaction
event WearerStandingChanged(uint256 hatId, address wearer, bool wearerStanding);HatStatusChanged
Emitted when a hat's status is updated
event HatStatusChanged(uint256 hatId, bool newStatus);HatDetailsChanged
Emitted when a hat's details are updated
HatEligibilityChanged
Emitted when a hat's eligibility module is updated
HatToggleChanged
Emitted when a hat's toggle module is updated
HatMutabilityChanged
Emitted when a hat's mutability is updated
HatMaxSupplyChanged
Emitted when a hat's maximum supply is updated
HatImageURIChanged
Emitted when a hat's image URI is updated
TopHatLinkRequested
Emitted when a tophat linkage is requested by its admin
TopHatLinked
Emitted when a tophat is linked to a another tree
Last updated