LogoLogo
  • Venn Network
    • Introduction to Venn
    • Getting Started
      • Protocols & Developers
        • Installation
        • Testnet Guide
        • Venn CLI
        • Venn DApp SDK
        • How It Works
        • Roles
      • Node Operators
        • Installation
        • Configuration
        • Testnet Guide
      • Security Teams
        • Build Custom Detector
        • API Reference
        • Security Sandbox
      • Venn Safe Guard
        • Bypass Mechanism
      • Venn Wallet RPC
        • Custom RPC in MetaMask
    • Explorer
    • Playground
    • Use Cases
    • Roadmap
    • Consensus Model
    • Litepaper
    • FAQ
    • Community
    • Audit Reports
Powered by GitBook
On this page
  • Firewall Admin
  • Default Configuration
  • Changing The Default Configuration

Was this helpful?

  1. Venn Network
  2. Getting Started
  3. Protocols & Developers

Roles

An overview of the Venn Firewall roles

PreviousHow It WorksNextNode Operators

Last updated 2 months ago

Was this helpful?

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 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:

setFirewallAdmin(address _newFirewallAdmin)
acceptFirewallAdmin()

The Firewall Admin must be set per each smart contract using the Venn Firewall

integrate the Firewall SDK