IHypernativeFirewall

Git Source

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

NameTypeDescription
accountaddressThe account to register.
isStrictModeboolWhether strict mode is enabled.

validateBlacklistedAccountInteraction

Validates the blacklisted account interaction.

function validateBlacklistedAccountInteraction(address sender) external;

Parameters

NameTypeDescription
senderaddressThe sender of the transaction.

validateForbiddenAccountInteraction

Validates the forbidden account interaction.

function validateForbiddenAccountInteraction(address sender) external view;

Parameters

NameTypeDescription
senderaddressThe sender of the transaction.

validateForbiddenContextInteraction

Validates the forbidden context interaction.

function validateForbiddenContextInteraction(address origin, address sender) external view;

Parameters

NameTypeDescription
originaddressThe origin of the transaction/context.
senderaddressThe sender of the transaction.