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
  • Step By Step
  • Next Steps
  1. Quick Start

Using Proxy Patterb

PreviousUsing Function ModifiersNextConcepts

Last updated 11 months ago

This process builds on OpenZeppelin's upgradable contracts - replacing with Ironblocks' and replacing with Ironblocks' (both of which inherit from their OpenZeppelin counterpart).

Step By Step

  1. Deploy our contract. You'll interact with this contract to perform administrative tasks on your proxy (most commonly upgrading your protocol's underlying implementation contract).

  2. Deploy our contract with the following parameters:

    1. _logic The address of your implementation contract

    2. admin_ The address of the FirewallProxyAdmin contract (the one we deployed in Step 1 above)

    3. _data Optional initialization data

    4. _firewall The address of Ironblocks' Firewall contract (see )

    5. _firewallAdminAddress The address of your firewall administrator (this is the contract or person that will manage policies for your firewall).

    6. 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 section to learn more about security policy management.

Review our

ProxyAdmin
FirewallProxyAdmin
TransparentUpgradableProxy
FirewallTransparentUpgradableProxy
FirewallProxyAdmin
FirewallTransparentUpgradableProxy
Addresses
Configuration
Smart Contracts