Skip to main content

Compliance modules

Reference for what each compliance module permits or refuses, its parameters and units, and where you configure it.

Twenty compliance modules enforce DALP's on-chain transfer, mint, and burn rules. This reference defines what each module permits or refuses, its parameters and units, and any edge cases. For installation steps, see Global controls, Policy templates, and the Platform API.

Active modules within scope evaluate every ordinary transfer and mint, and stateful modules update their counts after burns. For which paths bypass or narrow module checks (bypassed recipients, forced transfers, wallet recovery, and burns), see Transfer-Path Compliance.

Rules reach a token in four ways:

  • Global controls apply organisation-wide from Global controls (including the platform-installed wallet restriction module).
  • Policy templates copy their modules onto a token when issued.
  • Issue asset compliance steps fill values a policy leaves open.
  • Compliance tab edits add, update, or turn off rules on a live token under its Governance role. An approval rule on the asset's access manager can hold each edit for a second approver (Maker-checker).

Token-level rules add to inherited global controls and cannot switch them off. See compliance policy for how the two layers compose.

Second-generation (V2) modules run as per-token instances with machine-readable reason codes and scoped rules. DALP assets accept only second-generation modules, refusing first-generation (V1) installs and naming the V2 replacement (such as collateral-v2 for collateral). The entries below document the current generation and note where V1 differs.

First-generation modules new organisations no longer get

The first-generation investor count, token supply limit, time lock and transfer approval modules are deprecated on the network. A new organisation does not get them, and System updates does not add them to an organisation that lacks them. An organisation that already has one keeps it: its legacy assets keep enforcing the rule, System updates keeps the module current, and registering that module by name still works. The platform directory lists each module with isDeprecated, which the API reference describes.

Keep stateful rules counting

Seven modules maintain on-chain state in post-movement hooks across both generations: Wallet count, Identity count, Token supply limit, Issuance volume limit, Capital raise limit, Time lock, and Transfer approval.

Disabling a stateful rule stops its state updates, and re-enabling it never replays missed movements. Turning off a stateful rule on a token or in global controls asks for wallet verification. The dialog warns that the rule's counts, quotas or approvals stop updating while the rule is off.

New scopes default to ACCOUNTING_ONLY (“Track transfers outside this scope”), which skips validation outside the scope while keeping state current. Clearing that option selects SKIP_ALL, skipping both validation and accounting. To pause enforcement without losing state, keep the rule enabled under an ACCOUNTING_ONLY scope or relax its cap to zero rather than disabling the binding.

Where a token's compliance rules come from.Four sources feed a token's compliance evaluation. Global controls apply platform-wide and reach every bound token. At issuance, a policy template's controls become the token's rules, with Issue asset's compliance steps filling in the values the policy leaves open. The token's Compliance tab adds or edits rules after issuance. Together those three form the token rules. When a transfer, mint, or burn executes, every enabled rule checks the operation. If all rules pass, the operation executes. If one rule refuses, the operation fails and names the rule.Where a token's compliance rules come from.Four sources feed a token's compliance evaluation. Global controls apply platform-wide and reach every bound token. At issuance, a policy template's controls become the token's rules, with Issue asset's compliance steps filling in the values the policy leaves open. The token's Compliance tab adds or edits rules after issuance. Together those three form the token rules. When a transfer, mint, or burn executes, every enabled rule checks the operation. If all rules pass, the operation executes. If one rule refuses, the operation fails and names the rule.

Active rules evaluate movements within their scope, and a failure reverts the transaction.

Check a change before you confirm it

When you add or remove a rule on a token's Compliance tab, the Console runs a read-only preflight check before prompting for your PIN. If the platform would refuse the change (such as a duplicate rule or unregistered type), the dialog shows the reason and keeps confirm disabled.

For refusal error codes and troubleshooting, see When a compliance module refuses.

Choose the module by what it keys on

Pick a module by the fact your requirement evaluates:

Console category
Modules
The rule keys on
“Eligibility”
Identity verification, Identity allow list, Identity block list, Claim expiry
Who the receiver is: their registered identity and its claims
“Restrictions”
Country allow list, Country block list, Block addresses
Where a party is registered, or the raw wallet address
“Transfer controls”
Transfer approval, Own custody gateway
A named authority approving first, or the holder's own custody gateway
“Issuance & supply”
Supply cap, Token supply limit, Capital raise limit, Wallet count, Identity count, Issuance volume limit, Minimum holding
How much exists: supply, issuance, raised capital, holder count, position size
“Time-based rules”
Time lock, Lock-up
How long tokens have been held, or whether an unlock date has passed
“Settlement & collateral”
Collateral requirement
Proof of collateral behind the supply

Within eligibility, choose Identity verification for open credentialed populations, Identity allow list for closed private placements, Identity block list for sanctions exclusions, and Claim expiry to enforce fresh credentials.

Within supply, choose Supply cap for a hard total ceiling, Issuance volume limit for periodic unit quotas (first-generation tokens and global controls), Capital raise limit for periodic fiat quotas, Wallet count or Identity count for holder caps, and Minimum holding for position floors.

Configure modules while issuing an asset

When issuing from an instrument template with a policy, every module marked “Make configurable in Issue asset” (plus any unconfigured required control) appears as a step under Compliance details in Issue asset. Fixed policy rules install directly without a step.

Multi-instance rules get one step per instance (“Inherited from template (N rules)” and “Rule 1 of N”). Rule scope is read-only during issuance. Contradictory country rules surface “Contradictory country rules”, and a capital raise limit requires the system price resolver add-on before creation succeeds.

Write the policy in words

When the Console assistant and its drafts capability are enabled, Write the policy appears on a token's Compliance tab and on Issue asset compliance steps.

Enter your investor policy in English or German (up to 2,000 characters), then select Read the policy. The assistant maps each clause to a module while copying values verbatim from your text, flagging any clause no module supports.

On a live token, Check today's holders tests the draft rules against the 50 largest holders (exempting escrow-claim wallets from minimum holding and skipping future-only time locks) without modifying state.

Nothing installs automatically. Select Open N rules on a token to confirm each pre-filled rule sheet with wallet verification, or Fill N rules into the design in Issue asset. The platform stores the source text under Policy on the Compliance tab and marks each clause until an identical active rule is installed.

Block addresses

Refuses an ordinary transfer or mint when a checked sender or receiver address is listed. Burns skip this pre-check. Because it inspects raw wallet addresses, it works before identity registration. Use it for sanctions or compromised wallets. Unlike a wallet restriction, which blocks only outgoing sends, Block addresses stops a wallet receiving tokens as well.

Parameter
Description
Blocked addresses
Wallet addresses the module refuses on either side of a transfer.

Capital raise limit

Caps gross fiat value raised through minting over a fixed or rolling window (for example 5,000,000 in base currency per 365 days). Each mint converts to fiat through the installed price resolver and fails closed if pricing is missing, zero, negative, or stale.

Mints that book an existing claim do not count: a management fee mint and a conversion mint carry the booked movement kind, which the token sends to the compliance engine with each mint, and the module skips them. A mint a token feature makes through the token's feature entry point carries the same kind, so a supply delegate's mint, and a token sale delivery through a mint delegate, skip the cap too. While a split (a rebase or bonus step of a corporate action) is in progress, mints up to the split's own size, the supply when the split started times the ratio minus one, do not count either. A mint beyond that size counts, and so does any ordinary mint when no split is in progress. A module installed before the movement kind existed, and a first-generation token, still receive every mint as a plain mint.

Burns never release capacity because the module tracks gross capital raised rather than net supply. Parameters lock permanently once installed, so edits require removing and reinstalling the module. The system must have the price resolver add-on installed, or creation fails with compliance.price.RESOLVER_MISSING.

Parameter
Description
Maximum raised (fiat)
Fiat amount, in whole base-currency units, that may be raised in each window.
Period length (days)
Tracking window in days, 1 to 730.
Rolling window
A continuous rolling window (sum over the last N days) instead of discrete fixed periods.

Claim expiry

Refuses a mint or transfer when the receiver's claim on any required topic has expired or was never issued, checking only live claims from trusted issuers. Senders are never checked so lapsed holders can exit. Stack it with Identity verification. The Console warns if a required topic sits on an optional OR branch of the holder rule. Second generation only.

Parameter
Description
Topics that must stay current
Verification topics checked on every receiver. At least one, at most 16.
Grace period (days)
Days past the expiry date a claim is still accepted, to absorb a re-issuance backlog. 0 requires claims to be current. At most 3,650.
Require every claim to carry an expiry date
Claims issued without an expiry date count as valid by default. Turn this on to reject them once holders have re-issued claims.

Collateral requirement

Refuses a mint unless the token's own on-chain identity holds a live collateral claim from a trusted issuer covering at least the configured ratio of the post-mint total supply. Expired claims never count.

A trusted issuer here is one the system trusts for collateral, one the token's own trusted issuers list for collateral, or one this module's Trusted issuers parameter lists. Holding the token's Governance role does not make an issuer trusted, so the platform refuses to issue a collateral claim from an issuer outside those lists. The refusal is TOKEN_CLAIM_COLLATERAL_ISSUER_UNTRUSTED (DALP-12426), returned before anything is signed. GET /api/v2/tokens/{assetId}/collateral/issuer-trust tells a caller whether the token trusts its own identity for collateral. The collateral-ratio stat reports untrustedCollateralClaims: claims on the token's identity that do not count because their signer is not trusted, for example after the signer's trust was removed.

Parameter
Description
Proof topic ID
The verification topic representing collateral proof.
Collateral ratio
Basis points: 10000 = 100%, 20000 = 200%. 0 disables the check.
Trusted issuers
Extra claim issuer addresses trusted alongside the identity registry's issuers. Removing an address or disabling the module ends that extra trust immediately.

Country allow list

Resolves the receiver's registered identity and country, refusing the movement unless that country is listed. Use it when permitted jurisdictions form a fixed enumerable list.

Parameter
Description
Allowed countries
ISO 3166-1 numeric country codes.

Country block list

Resolves the receiver's registered identity and country, refusing the movement if the country is blocked, missing, or unregistered. Only receivers with a known non-blocked country pass. Use it for sanctions and embargo lists.

Parameter
Description
Blocked countries
ISO 3166-1 numeric country codes.

Identity allow list

Requires the receiver's registered identity contract to appear on the list. An identity contract is the holder's on-chain identity, and the rule compares it, not the wallet, so every wallet registered to a listed identity passes. A token carries at most one identity allow list because every rule must pass, so Add rule opens the existing list for editing.

Parameter
Description
Allowed identities
Identity contracts. A registered wallet you enter is saved as the identity contract it is registered to.

What an identity list entry can be

An identity allow or block list matches only identity contracts, so a plain wallet address on one would block or admit nobody while the rule shows as active. DALP therefore checks each entry when the rule is saved through the Console, the Platform API, asset creation or an issuance run, before it sends anything on chain:

You enter
DALP saves
An identity contract DALP has indexed on the network, including an asset's or add-on's identity
The identity contract as entered, also when no wallet is registered to it
A wallet whose registration in the system's identity registry is active and not marked lost by a wallet recovery
The identity contract the wallet is registered to, in place of the wallet
Any other address
No entry. The whole save is refused with compliance.module.IDENTITY_LIST_ENTRY_UNKNOWN

Saving one wallet of a holder lists the holder's identity, and the rule then checks every wallet registered to it as a receiver. When a wallet and its identity both appear in one save, the list keeps one entry. An address that belongs to no identity, such as a wallet taken from a sanctions list, cannot go on an identity list: put it on Block addresses, which checks raw wallet addresses. A wallet recovery gives the holder a new identity, so after a recovery add the replacement wallet or its new identity to the list. The replaced identity stays a valid entry, so neither the Console nor the module reads mark it: check the lists after each recovery of a listed holder.

An identity or registration made moments ago is refused until DALP has indexed it. Sending the same entries again then succeeds, and any other IDENTITY_LIST_ENTRY_UNKNOWN refusal means the entry is wrong. DALP runs the check, so a list written to the module contract outside DALP is not checked, and the module reads mark any entry that is not an identity, as When a module refuses describes.

Identity block list

Refuses a movement when the receiver's registered identity contract appears on the list. Unregistered receivers pass, unlike the allow list. Use it for sanctions because holders have no key to edit the list, unlike holder-removable claims. Update the list if a blocked holder undergoes wallet recovery, because the recovery gives the holder a new identity.

Parameter
Description
Blocked identities
Identity contracts. A registered wallet you enter is saved as the identity contract it is registered to. An identity contract with no wallet registered to it is kept, so you can block a holder before any wallet is registered to their identity.

Identity verification

Refuses a mint or transfer unless the receiver's registered identity satisfies the configured boolean verification expression (AND, OR, NOT) over trusted-issuer claims. Failures return DALP-4266 without naming missing topics.

While designing a template or asset, the expression can be left empty. Live module editors and global controls refuse empty expressions, whereas the token's Holder rule editor accepts an empty rule leaving only identity registration active.

Excluding holders of a claim

Putting a verification topic under NOT (such as “verified and not sanctioned”) is risky because holders can delete claims from their own identity. Every save checks the topic's “Use in exclusions” setting (Verification topics):

  • “Not allowed” refuses the save with 422.
  • “Allowed with acknowledgement” (or unset) refuses the save unless acknowledged (holderRemovableNot.accepted: true) from a non-impersonated session. The token's Holder rule editor provides an acknowledgement checkbox, while module editors and global controls refuse until narrowed.
  • “Allowed” saves directly.

Prefer an identity block list, country block list, or positive eligibility claim wherever holders must not be able to self-clear an exclusion.

Identity count

Limits distinct registered identities holding the token. Multiple wallets sharing one identity take one slot, and unregistered receivers are refused. Under the lifetime policy a wallet that the identity registry records as the replacement of a lost wallet takes the lost wallet's slot: recovering a holder adds no investor or country slot, even at a full cap. Second generation only.

In global controls the rule identifies holders through the organisation's identity registry, never the registry of the token that moves, so one token's governance cannot change who counts toward the cap. On a single token it uses that token's registry.

Parameter
Description
Counting policy
Current holders (default) or lifetime. Locked at installation.
Maximum investors
Total cap on counted identities. 0 means no total cap.
Country limits
Optional cap per country, bound to the country the identity first entered with.

Current-holder counting installs only on tokens with zero holders (never in global controls) and frees a slot when all of an identity's wallets hit zero balance. When full, even a full-balance transfer to a new identity reverts because the rule checks before the sender exits.

Lifetime counting counts only identities receiving tokens after installation and never frees slots on exit. Moving a balance between wallets of one identity keeps its original country. Bypassed recipients take no slot, while forced transfers can exceed the cap and still count non-bypassed receivers.

Issuance volume limit

Caps token units minted in a fixed or rolling window. Burns restore capacity in last-in-first-out (LIFO) order against the newest issuance in the window. First-generation module only (accepted by V1 tokens, V1 templates, and global controls, refused on V2 tokens).

Parameter
Description
Maximum issuance per period
Token units that may be issued within one period. Editable later.
Period length (days)
Window length in days: 1 to 36,500 (fixed) or 1 to 730 (rolling). Locked once enabled.
Rolling window
Slides day by day instead of resetting discrete periods. Locked once enabled.

Lock-up

Blocks transfers until an unlock timestamp in two forms: a class lock blocking all transfers across the token, and holder locks keeping a named amount untransferable per identity until a future date. Both lift automatically at their timestamp. Mints, burns, redemptions, principal-burning conversions, forced transfers, and wallet recovery bypass locks. Second generation only.

Parameter
Description
Class unlock date (UTC)
UTC date and time (unlockTime in Unix seconds, 0 for none). Editable later. Incomplete date entries show “Enter a full date and time.” and cannot be saved.

Because a class lock blocks issuer contracts too, grant sender scope exemptions to treasuries, offerings, settlements, or venues that must deliver during a lock, and a receiver exemption to any burn-fee collector.

Holder locks

Governance sets and clears holder locks from the token's holders list (Set lock-up / Clear lock-up) or through the API below. Unlock timestamps must exceed the latest block time. Locks follow the holder's identity across wallets (internal consolidation is allowed), do not transfer across wallet recovery, and do not support staged tranches. A split or reverse split re-sizes the holder lock, and any tranche set on the contract, by the action's ratio, keeping each unlock date, and a round-up-to-one step lifts the holder's free balance, never a lock. While a corporate action on the token runs, a new holder lock or tranche is refused with “A corporate action is holding this contract's records”. Write it after the action ends, in post-split units.

While the asset's access manager holds a rule on changing module settings or configuration, a Governance holder's direct lock write fails, and the change goes through the asset's compliance with a second approver (Maker-checker). A token sale still writes the lock-ups it delivers.

Request
Body
Effect
PUT /api/v2/tokens/{assetId}/compliance-modules/{instanceAddress}/holder-locks
Holder wallet, amount in base units, unlock time.
Sets or replaces the holder's lock.
DELETE /api/v2/tokens/{assetId}/compliance-modules/{instanceAddress}/holder-locks
Holder wallet.
Clears the holder's lock.

Minimum holding

Keeps every non-zero position at or above a floor, refusing mints or transfers that leave a receiver below the minimum or leave a sender with a non-zero stub below it (full exit to zero passes). Exempt fee-collector wallets if the token charges transfer fees. Bypassed recipients skip the receiver floor while senders remain checked. Second generation only.

Parameter
Description
Minimum holding
Smallest non-zero position allowed, in whole token units.
Exempt wallets
Up to 20 wallets ignored on both sides of a transfer. Use only for terminal issuer-controlled wallets.
Exempt claims
Up to 5 claims whose holders skip their own floor (defaults to “Escrow account” so escrows can hold and pay out sub-minimum amounts).

Own custody gateway

Restricts a custody receipt to its holder's own custody gateway and that gateway's escrow, blocking transfers, mints, and burns outside that loop even for bypassed recipients. Install unscoped on custody receipts only (the gateway refuses to enable a coin without an active rule bound to its factory). Second generation only.

Parameter
Description
Custody gateway factory
Address of the custody gateway factory whose gateways this receipt is bound to. Prefilled with the organisation's custody gateway add-on.

Supply cap

Refuses any mint that would push live total supply past the ceiling. Never refuses transfers or burns, and burns free capacity immediately.

Parameter
Description
Maximum supply
Maximum total supply allowed, in whole token units.

Time lock

Requires tokens to age for a minimum hold period before transfer, tracking batches FIFO so oldest units unlock first. Mints and burns pass. New token rules exempt escrow senders by default while continuing to track their movements.

Parameter
Description
Hold period (seconds)
Minimum hold period (1 second to 10 years). Locked once enabled.
Lock starts
V2 only: “When tokens are issued” (issuance, default) or “On every receipt” (every-receipt). Editable later without altering existing locks.

Under issuance, mints and transfers from Supply management wallets start new locks while peer transfers preserve the sender's unlock schedule. Under every-receipt, every receipt locks for the full period. New locks quantise to buckets (hold period divided by 498, rounded up to whole days for holds of 30 days or more, capping entries at 500 per holder).

Systems still running the older V2 time-lock implementation refuse every-receipt configuration with compliance.module.TIME_LOCK_UPGRADE_REQUIRED (409) until upgraded. Holder reads expose locked, transferable, and nextUnlockAt (“Locked” and “Next unlock” in the Console). The V2 time lock locks only tokens it saw arrive, so it can be added to a token that already has holders. A balance it never recorded, such as one held before the rule was added or one received while the rule was switched off, is transferable, and tokens received after that lock for the full hold period. A transfer spends matured units and that unrecorded balance before any locked unit.

A burn of a holder whose units are still locked passes the V2 time lock, and so does the burn fee leg that moves part of those units to the fee collector. The collector receives them locked, as on any transfer. A transfer the holder sends to the fee collector still needs unlocked units.

A split or reverse split re-sizes the V2 time lock's locks the next time the holder's balance moves, and every read shows the re-sized locks from the moment the step is written. A 2-for-1 split doubles each locked batch and keeps its unlock date. The units the split mints are not locked again. A reverse split burns free and locked units in proportion, and the units it still has to burn cannot be sent while the action runs. A round-up-to-one step lifts the holder once, and the lifted unit is free.

V1 stores hold periods per hook call with claim exemptions instead of rule scopes.

Token supply limit

First-generation module capping supply against a lifetime, fixed-period, or rolling-period limit (burns reduce tracked supply). On a V2 token, use Supply cap or Capital raise limit instead. Issuance volume limit is available on a V2 system only as a global control.

Parameter
Description
Maximum supply
Maximum allowed in whole token units, or base-currency units when “Use base price” is enabled.
Period length (days)
Tracking window in days (0 for lifetime, positive for periodic).
Rolling window
Rolling window instead of discrete periods (requires positive period length).
Use base price
Converts token units to base currency via price claims before checking the cap.
Global (issuer-wide)
Tracks supply across every token of the issuer rather than per token.

Transfer approval

Requires pre-approval from a designated identity before transfers execute (mints and burns pass). Both parties need registered identities, and revoking an authority invalidates its approvals immediately.

Parameter
Description
Approval authorities
Identity addresses authorised to grant or revoke approvals (at least one).
Approval expiry (seconds)
Validity window in whole seconds, from 1 to 31,536,000 (365 days).
Approval mode
Exact amount, up to once, or up to a total. Locked once enabled.

On tokens charging transfer fees, avoid exact-amount mode because the net leg differs from the gross approved amount. Use up-to-once or up-to-total mode and exempt the fee collector via a direct contract call from an approval authority. V1 supports only exact amounts with a one-time flag and claim exemptions.

Wallet count

Limits distinct wallets holding the token, counting each wallet separately regardless of identity (bypassed recipients do not count). On a single token, unregistered wallets count. In global controls the rule identifies holders through the organisation's identity registry, so it refuses a wallet that has no registered identity, and a wallet marked lost, and does not count it. Installation and completeness rules match Identity count.

Parameter
Description
Counting policy
Current holders (default) or lifetime. Locked at installation.
Maximum investors
Total cap on counted wallets. 0 means no total cap.
Country limits
Optional cap per country, bound to the wallet's country when first counted.

Lifetime counting counts only wallets receiving tokens after installation (so to cap a token that already has 3 holders at N total, set the cap to N minus 3). Existing Investor count rules upgrade into lifetime Wallet count rules without losing counts, though they cannot add country limits because historical entries lack countries. V1 tracks caps with a claim filter and drops zero-balance wallets.

Wallet restriction

Refuses transfers (and on DALP 3.2 token contracts, ordinary burns) sent from any restricted wallet, including transfers to bypassed recipients. Incoming transfers and mints pass, and forced transfers or forced burns skip it. A wallet recovery moving funds out of a restricted wallet propagates the restriction to the replacement wallet while the rule is active. Second generation only, with no parameters.

DALP installs this module automatically as a global control during system creation and System updates, populating active wallet restrictions. Manual installs are refused with DALP-12285 (system-installed-only).

In Global controls, a Compliance manager can turn the module off (preserving stored wallets across updates) or remove it (dropping stored wallets until the next update restores them), without lifting the restriction or freezes in DALP. Direct contract calls require Compliance manager.

Frequently asked questions

Does burning tokens free up capacity under a limit?

It depends on the module. Supply cap reads live total supply so burns free room immediately, Token supply limit reduces tracked supply, and Issuance volume limit credits burns LIFO. Capital raise limit never credits burns because it measures gross fiat raised.

Can one control apply different limits to different holders?

Yes, on V2 modules. Each binding can carry multiple rules with distinct parameters and sender, receiver, country, or claim scopes, optionally keeping accounting active for movements skipped by validation.

What happens to existing holders when a stricter rule is enabled?

Nothing until they transact. Enabling or tightening a rule never claws back settled holdings, though non-qualifying holders are refused as recipients on future movements.

Was this page helpful?