Roles
An overview of the Venn Firewall roles
Firewall Admin
The FIREWALL_ADMIN
is the wallet or account that can configure your firewall's settings. Such as which Firewall
instance your smart contracts use, what security policies are enabled, and whether the policies are enabled globally or on specific methods.
Default Configuration
By default, when you integrate the Firewall SDK into your smart contracts FIREWALL_ADMIN
role is set as msg.sender
- which means it's the same as the wallet or account that was used to deploy your smart contracts.
Changing The Default Configuration
After your smart contracts have been deployed, the FIREWALL_ADMIN
can call the setFirewallAdmin(...)
followed by a call to acceptFirewallAdmin()
to set a new Firewall Admin on your smart contract:
The Firewall Admin must be set per each smart contract using the Venn Firewall
Last updated
Was this helpful?