ITurtleShellFirewall
ITurtleShellFirewall Interface
Contract Methods
setParameter(uint256 newParameter)
setParameter(uint256 newParameter)
contract MyContract {
ITurtleShellFirewall firewall;
function updateParameter(uint256 newParam) public {
bool status = firewall.setParameter(newParam);
}
}
setUserConfig(uint8 thresholdPercentage, uint256 blockInterval, uint256 startParameter, uint256 cooldownPeriod)
setUserConfig(uint8 thresholdPercentage, uint256 blockInterval, uint256 startParameter, uint256 cooldownPeriod)setFirewallStatus(bool newStatus)
setFirewallStatus(bool newStatus)getFirewallStatusOf(address user)
getFirewallStatusOf(address user)getParameterOf(address user)
getParameterOf(address user)getSecurityParameterConfigOf(address user)
getSecurityParameterConfigOf(address user)Last updated