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
isStrictModeboolThe strict mode

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
senderaddressThe sender of the transaction