Skip to main content

Fireblocks policy for DALP vaults

The Fireblocks policy rules each DALP vault needs with account abstraction off and on, and what a Fireblocks rule cannot see once account abstraction is on.

A Fireblocks workspace decides whether each DALP signing request runs, waits for approvers, or stops. It decides with its policy, the ordered list of rules Fireblocks calls the Transaction Authorisation Policy. This page lists the rules each DALP vault needs and what a Fireblocks rule cannot see once account abstraction is on.

A wrong policy stops DALP in one of two ways. A missing allow rule blocks every request from a vault. An approval rule on a vault that must sign without a person fails every sponsored operation, for every user, until someone changes the rule. Both appear on the first transaction after the policy changes, so set the policy before you onboard investors and test it with one transfer per mode.

DALP signs in one of two modes. With account abstraction off, each wallet is a Fireblocks vault that sends its own transactions.

With account abstraction on, each wallet is a Smart Wallet under ERC-4337, and its Fireblocks vault holds only the owner key signing user operations. Two shared infrastructure vaults sign for every user: the paymaster vault signs sponsorship tickets, and the bundler vault submits user operations on chain.

DALP signs as one Fireblocks API user whose key pair it holds (see Prerequisites). Anything your approval rules do not catch passes automatically under that user's allow rule, so approval rules are the only check between DALP and a signature.

With account abstraction off, Fireblocks sees the token call. With it on, Fireblocks sees only signatures over typed data.Two panels compare what a Fireblocks policy can read in each DALP signing mode. With account abstraction off, the investor vault holds the wallet key and sends a contract call to the token contract, filed to a one-time address. Fireblocks reads that call itself, so asset, amount, and destination rules apply to it. With account abstraction on, three vaults take part. The owner vault signs the user operation as a typed message. The paymaster vault signs the sponsorship ticket as a typed message and must allow it without approval. The bundler vault sends the bundle to the entry-point contract as a contract call and must also allow it without approval. The Smart Wallet, a contract and not a Fireblocks vault, then runs the call against the token contract. Fireblocks reads only signatures over typed data, so it cannot apply amount or destination rules, and only the token's compliance rules check the transfer.With account abstraction off, Fireblocks sees the token call. With it on, Fireblocks sees only signatures over typed data.Two panels compare what a Fireblocks policy can read in each DALP signing mode. With account abstraction off, the investor vault holds the wallet key and sends a contract call to the token contract, filed to a one-time address. Fireblocks reads that call itself, so asset, amount, and destination rules apply to it. With account abstraction on, three vaults take part. The owner vault signs the user operation as a typed message. The paymaster vault signs the sponsorship ticket as a typed message and must allow it without approval. The bundler vault sends the bundle to the entry-point contract as a contract call and must also allow it without approval. The Smart Wallet, a contract and not a Fireblocks vault, then runs the call against the token contract. Fireblocks reads only signatures over typed data, so it cannot apply amount or destination rules, and only the token's compliance rules check the transfer.

What a Fireblocks policy can read in each DALP signing mode.

Rules per vault

Mode
Vault
Fireblocks rule type
Settings
Account abstraction off
Each vault that holds investor tokens
Contract Call
Source: the vault. Asset: the DALP token. Amount: the range that needs approval. Destination type: one-time address. Action: require approval from an approver group with a threshold.
Account abstraction off
The same vaults
Transfer
Covers native coin transfers, which have no call data. Use the same source and approval settings.
Account abstraction on
Owner vault of each Smart Wallet
Typed Message
Source: the vault. Asset: the chain's base asset. Set the designated signers, the approver group, and its threshold.
Account abstraction on
Bundler vault
Contract Call
Source: the vault. Destination type: one-time address. Action: allow without approval.
Account abstraction on
Paymaster vault
Typed Message
Source: the vault. Action: allow without approval.
Both
Every vault DALP signs from
Rule order
Allow rules for Typed Message and Contract Call for the API user DALP signs as, matched by the DALP vault tag, above the catch-all block rule.

Each request DALP files carries an approver note naming the action, asset or contract, amount and counterparty. For single-contract calls, the note starts with the contract's reported name and symbol (such as Acme Bond (ACME): mint(...)) and ends with the DALP request kind and ID so approvers can match sponsorship tickets, user operations and bundles to one request. Because Fireblocks does not verify notes, approvers who must verify a payload independently inspect the contract address and typed data.

Formatting rules for notes:

  • Native coin transfers append the amount, such as depositTo(account=0x…) with 0.04 native.
  • Lists of addresses, numbers or booleans show their first three entries plus the remaining count. Role lists show role names, and other lists (or numbers over 32 digits, such as topic IDs) show [N items].
  • Top-level numeric country codes display as ISO letters and number, such as SA (682). Struct-wrapped template parameters show token name, symbol, type and decimals instead.
  • Notes truncate at 255 characters from the end of the call, which can trim trailing arguments on large batches.

Rule order decides the outcome

Fireblocks evaluates policy rules top down, applying the first matching rule. Requests matching no rule hit the catch-all block rule at the bottom.

Give the DALP API user allow rules for both Typed Message and Contract Call on every vault it signs from. Missing the Typed Message rule blocks typed signatures while contract calls still pass. Place narrow approval rules above general allow rules so broad rules never shadow them. Infrastructure allow rules for the paymaster and bundler vaults can sit at the top because they scope strictly to those source vaults.

With account abstraction on, Fireblocks cannot see amounts

The tokens move from the Smart Wallet, a contract. Fireblocks sees only the owner vault's signature over an EIP-712 user operation, the typed data format that wallets use to show a structured message before signing. A Typed Message rule has no amount field and takes no destination limit, so it cannot tell a transfer of 10 tokens from a transfer of 10 million.

On-chain token compliance policies still enforce eligibility, jurisdiction, holding and per-transfer approval rules, and DALP enforces no per-transfer amount cap itself. If your risk policy requires approval above a transfer amount, attach the transfer approval compliance module or keep account abstraction off for those wallets. A Fireblocks Typed Message rule on the owner vault still sets designated signers, approver groups and thresholds.

One Typed Message rule covers every typed signature from its vault. The same rule gates user operations, token permits, trading venue orders, and governance ballots signed by that owner key, because Fireblocks sees each of them as a typed message. Scope the rule by source vault, and expect its approvers to see all four kinds of request.

Keep the paymaster and bundler vaults free of approval rules

Two vaults sign for every user, not for one investor. The paymaster vault signs a sponsorship ticket for each operation that DALP pays gas for. The vault behind the bundler wallet submits each batch of user operations to the entry-point contract, the shared ERC-4337 contract that validates and runs them. A person cannot approve at that rate, and a hold on either vault stops operations for every user at once. Give each vault an allow rule without approval, above any approval rule that would match it.

DALP stops a sponsored operation within seconds when the paymaster vault's policy holds its ticket. The operation fails with this message, which names the held Fireblocks transaction:

The paymaster vault's Fireblocks policy holds sponsorship ticket signing (Fireblocks transaction <id>). Infrastructure vaults must stay approval-free.

DALP does not retry that operation, because each attempt would put one more request in front of the approvers. It also logs one warning and adds one to the dalp_execution_infrastructure_vault_holds_total counter for each hold, with the vault role and the provider as labels. Alert on that counter to learn of a hold within seconds, before users report it.

Rules for vaults that send their own transactions

With account abstraction off, DALP files each token write as a Fireblocks contract call from the wallet's vault to a one-time address, the Fireblocks destination type for an address that is not on the workspace whitelist. A native coin transfer has no call data, so DALP files it as a Fireblocks transfer.

Here Fireblocks reads the call itself, so a Contract Call rule can hold large transfers for approval:

  • Source: each vault that holds investor tokens.
  • Asset: the DALP token. DALP adds each token it creates to the Fireblocks workspace as an asset, so the token appears in the rule editor.
  • Amount: the range that needs approval, for example every transfer above a threshold your risk team sets.
  • Destination type: one-time address. A rule that matches only whitelisted destinations does not match the calls DALP files.
  • Contract methods: leave the field open. Fireblocks matches contract methods only on a whitelisted contract with a verified ABI, and DALP's token roles decide which token functions each wallet can call.
  • Action: require approval from an approver group with a threshold.

Name contract destinations

FIREBLOCKS_NAMED_CONTRACT_DESTINATIONS (global.dalpApp.env.FIREBLOCKS_NAMED_CONTRACT_DESTINATIONS) is off by default. While off, every Fireblocks broadcast targets ONE_TIME_ADDRESS and DALP creates no contract wallets in Fireblocks, while request notes still name each contract.

When enabled, DALP registers organisation system contracts and new tokens as Fireblocks contract wallets. Broadcasts target CONTRACT once Fireblocks approves that contract's asset entry on the chain. Plain native transfers, unapproved entries and unreadable contract lists fall back to ONE_TIME_ADDRESS. Before enabling it, add Contract Call, Approve and Transfer rules that allow whitelisted contract destinations, because one-time-address rules will not match them.

Order the rules in three bands

Order the rules for each type in three bands:

  1. At the top, allow rules without approval: a Typed Message rule for the paymaster vault and a Contract Call rule for the bundler vault. Each names its vault as the source and the API user DALP signs as the initiator, so a customer approval rule below it cannot hold an infrastructure vault. To keep other users off these vaults, add a block rule for every other initiator on them.
  2. Your approval rules, in your own order. The approver groups are your policy.
  3. At the bottom, above the catch-all block rule, an allow rule for the API user on the DALP vaults for each type DALP uses. It sits below your approval rules, so it never hides one. Match the vaults by the DALP vault tag, so a wallet DALP creates later is covered without a rewrite.

A rule holds requests for approval when its verdict names at least one approver group or uses the 2-TIER action. An allow rule with approvers is an approval rule. A screening verdict such as SCREEN never counts as approval. After a hand edit in the Fireblocks Console, compare the policy with the rules on this page, because a broken policy shows no sign until the next request fails.

Tag the DALP vaults

DALP attaches one Fireblocks tag to every vault account it creates, and the bottom-band rule matches that tag. Create an unprotected tag in the Fireblocks Console (or grant the DALP API user Admin or Non-Signing Admin, because Fireblocks rejects protected tags from a Signer key) and set its ID in global.dalpApp.env.FIREBLOCKS_DALP_VAULT_TAG_ID. Leaving it empty leaves new vaults untagged so they hit the catch-all block rule.

Vaults that DALP created before you set the tag carry no tag, so the bottom-band rule does not cover them. Tag each of them once: in the Fireblocks Console, or with one call to POST /vault/accounts/attached_tags with tagIdsToAttach and vaultAccountIds. DALP also attaches the tag when it adopts an existing vault with the same name. Until a vault is tagged, its requests of every type DALP uses reach the catch-all block rule.

Troubleshooting

What you see
Cause
Fix
A sponsored operation fails with “The paymaster vault's Fireblocks policy holds sponsorship ticket signing”.
A rule that requires approval matches typed messages from the paymaster vault.
Add an allow rule without approval for typed messages from the paymaster vault above it. Reject the held request, then submit the operation again.
Typed signatures from a vault end blocked by policy, while contract calls from the same vault pass.
No allow rule matches typed messages from that vault, so the catch-all block rule does.
Add an allow rule for typed messages from that vault for the API user DALP signs as.
User operations stop reaching the chain while the bundler vault shows a request waiting for approval.
A rule that requires approval matches contract calls from the bundler vault.
Allow contract calls from the bundler vault without approval, then approve or reject the waiting request.
A large token transfer completes without the approval you configured.
A broader allow rule above the approval rule matches first.
Move the approval rule above the allow rule.

Fireblocks sources

Was this page helpful?