Using Proxy Patterb
This process builds on OpenZeppelin's upgradable contracts - replacing ProxyAdmin
with Ironblocks' FirewallProxyAdmin
and replacing TransparentUpgradableProxy
with Ironblocks' FirewallTransparentUpgradableProxy
(both of which inherit from their OpenZeppelin counterpart).
Step By Step
Deploy our
FirewallProxyAdmin
contract. You'll interact with this contract to perform administrative tasks on your proxy (most commonly upgrading your protocol's underlying implementation contract).Deploy our
FirewallTransparentUpgradableProxy
contract with the following parameters:_logic
The address of your implementation contractadmin_
The address of theFirewallProxyAdmin
contract (the one we deployed in Step 1 above)_data
Optional initialization data_firewall
The address of Ironblocks' Firewall contract (see Addresses)_firewallAdminAddress
The address of your firewall administrator (this is the contract or person that will manage policies for your firewall).That's it! Your smart contracts are now ready to use Ironblocks' Firewall.
This is the suggested implementation method for upgradable contracts
Next Steps
Head on to the Configuration section to learn more about security policy management.
Review our Smart Contracts
Last updated