Skip to content

Solidity API

IPropsBaseFacet

Interface for managing hooks for PropsBase

This interface provides functions for PropsBaseFacet

Hook

solidity
struct Hook {
  string triggerFunctionName;
  string callbackFunctionName;
  address callbackAddress;
  bool isActive;
}

getHooks

solidity
function getHooks(string _triggerFunctionName) external view returns (struct IPropsBaseFacet.Hook[])