How It Works
Allowing Valid Transactions
A user sends a transaction to your protocol (either through your DApp's frontend, or directly to your protocol's smart contract).
The Firewall's Pre Execution validation process begins.
The Firewall validates the transaction against each of your configured security policies.
Once all the policies have cleared the transaction, the Firewall allows the transaction to proceed to your protocol.
Your protocol executes the transaction as normal.
The Firewall's Post Execution validation process begins.
The Firewall validates the transaction against each of your configured security policies.
Once all the policies have cleared the changes made by the transaction (such as balance changes etc), execution ends and the transaction is completed.
Reverting Invalid Transactions - Pre Execution
A user sends a transaction to your protocol (either through your DApp's frontend, or directly to your protocol's smart contract).
The Firewall's Pre Execution validation process begins.
The Firewall validates the transaction against each of your configured security policies.
One of the policies detects a malicious transaction and reverts it.
The transaction is reverted and your protocol remains unharmed.
Reverting Invalid Transactions - Post Execution
A user sends a transaction to your protocol (either through your DApp's frontend, or directly to your protocol's smart contract).
The Firewall's Pre Execution validation process begins.
The Firewall validates the transaction against each of your configured security policies.
Once all the policies have cleared the transaction, the Firewall allows the transaction to proceed to your protocol.
Your protocol executes the transaction as normal.
The Firewall's Post Execution validation process begins.
The Firewall validates the transaction against each of your configured security policies.
One of the policies detects a malicious change done by the transaction and reverts it.
The transaction is reverted and your protocol remains unharmed.
Last updated