Firewall Documentation
Home
  • Overview
  • Quick Start
    • Using Function Modifiers
    • Using Proxy Patterb
  • Concepts
  • Configuration
    • Governance
    • Firewall Configuration
    • Policy Administration
  • How It Works
  • Smart Contracts
    • Firewall.sol
    • FirewallConsumer.sol
    • FirewallProxyAdmin.sol
    • FirewallTransparentUpgradableProxy.sol
  • Policies
    • Admin Notary
    • Whitelist
    • Approved Calls
    • Approved Patterns
    • Balance Guard
    • EOA Only
    • Method Block
    • Custom Protector
    • Non Reentrant
    • Combined Policies
  • Addresses
  • Glossary
  • Support
  • FAQ
Powered by GitBook
On this page
  • Methods
  • changeFirewall()
  • changeFirewallAdmin()
  • View Functions
  • getProxyFirewall()
  • getProxyFirewallAdmin()
  • Source Code
  1. Smart Contracts

FirewallProxyAdmin.sol

PreviousFirewallConsumer.solNextFirewallTransparentUpgradableProxy.sol

Last updated 11 months ago

FirewallProxyAdmin is Ironblocks' extended version of OpenZeppelins .

Everything is the same except that there are additional methods for setting/getting the new fields firewall and firewallAdmin.

Methods

changeFirewall()

function changeFirewall(FirewallTransparentUpgradeableProxy proxy, address newFirewall)

Callable only by the , Changes the of proxy to newFirewall.

Parameter Name
Type
Description

proxy

FirewallTransparentUpgradeableProxy

newFirewall

address

changeFirewallAdmin()

function changeFirewallAdmin(FirewallTransparentUpgradeableProxy proxy, address newFirewallAdmin)

Callable only by the , changes the of the proxy to newFirewallAdmin.

Parameter Name
Type
Description

proxy

FirewallTransparentUpgradeableProxy

newFirewallAdmin

address

View Functions

getProxyFirewall()

function getProxyFirewall(FirewallTransparentUpgradeableProxy proxy)

Parameter Name
Type
Description

proxy

FirewallTransparentUpgradeableProxy

the proxy that this contract is the admin of

getProxyFirewallAdmin()

function getProxyFirewallAdmin(FirewallTransparentUpgradeableProxy proxy)

Parameter Name
Type
Description

proxy

FirewallTransparentUpgradeableProxy

the proxy that this contract is the admin of

Source Code

the that this contract is the of

the new that the will use

the whose we want to set

the new

Returns the address of the current of proxy.

Returns the address of the of the that proxy uses (i.e. the admin that can manage firewall policies).

On our GitLab repository:

FirewallProxyAdmin.sol
ProxyAdmin
Firewall Proxy Admin
Firewall
Firewall Proxy Admin
Firewall Admin
Firewall Proxy
Firewall
Firewall Admin
Firewall
Firewall Proxy
Firewall Admin
Firewall
Firewall Proxy
Firewall Proxy
Firewall Admin
Firewall Admin