FirewallProxyAdmin.sol
Last updated
Last updated
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
.
function changeFirewall(FirewallTransparentUpgradeableProxy proxy, address newFirewall)
Callable only by the , Changes the of proxy
to newFirewall
.
proxy
FirewallTransparentUpgradeableProxy
newFirewall
address
function changeFirewallAdmin(FirewallTransparentUpgradeableProxy proxy, address newFirewallAdmin)
Callable only by the , changes the of the proxy
to newFirewallAdmin
.
proxy
FirewallTransparentUpgradeableProxy
newFirewallAdmin
address
function getProxyFirewall(FirewallTransparentUpgradeableProxy proxy)
proxy
FirewallTransparentUpgradeableProxy
the proxy
that this contract is the admin of
function getProxyFirewallAdmin(FirewallTransparentUpgradeableProxy proxy)
proxy
FirewallTransparentUpgradeableProxy
the proxy
that this contract is the admin of
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: