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
FirewallProxyAdmincontract. You'll interact with this contract to perform administrative tasks on your proxy (most commonly upgrading your protocol's underlying implementation contract).Deploy our
FirewallTransparentUpgradableProxycontract with the following parameters:_logicThe address of your implementation contractadmin_The address of theFirewallProxyAdmincontract (the one we deployed in Step 1 above)_dataOptional initialization data_firewallThe address of Ironblocks' Firewall contract (see Addresses)_firewallAdminAddressThe 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