IHypernativeFirewall
Title: IHypernativeFirewall
Author: Merge Layers Inc.
Interface for the HypernativeFirewall contract.
Functions
register
Registers an account with the firewall.
function register(address account, bool isStrictMode) external;
Parameters
| Name | Type | Description |
|---|---|---|
account | address | The account to register. |
isStrictMode | bool | Whether strict mode is enabled. |
validateBlacklistedAccountInteraction
Validates the blacklisted account interaction.
function validateBlacklistedAccountInteraction(address sender) external;
Parameters
| Name | Type | Description |
|---|---|---|
sender | address | The sender of the transaction. |
validateForbiddenAccountInteraction
Validates the forbidden account interaction.
function validateForbiddenAccountInteraction(address sender) external view;
Parameters
| Name | Type | Description |
|---|---|---|
sender | address | The sender of the transaction. |
validateForbiddenContextInteraction
Validates the forbidden context interaction.
function validateForbiddenContextInteraction(address origin, address sender) external view;
Parameters
| Name | Type | Description |
|---|---|---|
origin | address | The origin of the transaction/context. |
sender | address | The sender of the transaction. |