The identity and compliance checks every regulated transfer runs cost less gas in 3.0, and the rules they enforce stay the same. A transfer on a regulated token reads identity, compliance rules and supply limits from storage, and every read is paid for on every transfer as the book grows. DALP 3.0 removes repeated reads from those paths.
The checks a transfer runs read storage fewer times, and the rules they enforce stay the same
The savings sit in the contract versions 3.0 ships: the identity registry, the per-token compliance modules, the issuance-volume and capital-raise limits, and the proxies 3.0 deploys. A system gets them once it runs those versions.
- Registration check
- Up to 40% less gas
- List rules
- Same cost at any list length
- Rolling limits
- Running total, no history scan
- Proxies
- Addresses fixed in code
Before and after
Before 3.0: A list rule scanned its entries one by one on each transfer, so the cost of a check grew as the programme added countries or investors. A rolling issuance limit summed the mint history for its window on each mint, and identity checks and proxies read the same storage more than once per call.
With 3.0: list rules look an entry up directly, rolling limits keep a running total, and identity checks and proxies read each value once.
A mint or transfer passes the proxy, the identity check, the list rules and the rolling limits, and each reads storage fewer times in 3.0.
Check identity for less gas on every transfer
Every transfer asks the identity registry whether the recipient holds a registered, verified identity. The identity registry 3.0 ships answers that question without calling itself and resolves a lost-wallet check once instead of twice, and the per-token verification resolves the stored identity once. In our benchmark, run against the same registry before and after the upgrade with identical state, the registration check costs up to 40% less gas and returns the same answer. The claim-topic check that the identity verification rule runs on a regulated transfer costs about 8% less.
The transfer form hides recipients the token's rules would refuse.
A book that settles many transfers a day pays less for the same identity check on each of them. The saving applies once your system runs the 3.0 identity registry, which an existing system receives through System updates.
Keep list checks at the same cost as the list grows
Six compliance modules check list membership: the country allow and block lists, the identity allow and block lists, the address block list and transfer approval. In their per-token 3.0 versions, each keeps its entries in a set and looks an entry up directly. A Compliance officer who widens a bond's country allow list from five countries to fifty sees no change in what each transfer's check costs.
Per-transfer cost stays steady as a programme adds investors and countries. Adding or removing an entry costs more gas than before, and a module shared across tokens still scans its list.
Enforce a rolling limit without replaying the mint history
The issuance-volume and capital-raise limit modules cap what a token can issue or raise over a rolling window. In 3.0 each keeps a running total for its window, updated on every mint and trimmed as old entries leave the window. When an Issuer runs a raise capped over a rolling 365 days, each new subscription checks the running total instead of summing a year of mints, and a mint pays a small fixed extra write to keep the total current.
The check costs the same on day 300 of a raise as on day one. The token supply limit module still reads its window day by day, so its check grows with the window length.
Pay less overhead on every proxied call
Every call to a token, a token feature or an identity passes through a proxy before it reaches the logic. The proxies 3.0 deploys hold the factory and registry addresses they need in their code instead of reading them from storage, and identity calls resolve their implementation in fewer steps.
The saving lands on every call, from mints and transfers to coupon claims. A proxy deployed before 3.0 keeps its earlier code, so this saving applies to proxies created from 3.0 onwards.
Upgrading
Nothing changes in what the rules decide. The savings come with the 3.0 contract versions, and System updates shows the versions your system runs and applies the new ones. Review the new versions under your own change process before you apply them, because a gas change is a code change.
Why it matters
- Banks: A high-volume book pays less gas for the same identity and compliance checks once its system runs the 3.0 contracts.
- Exchanges, CSDs and market infrastructures: list checks cost the same at any length, so per-transfer cost stays steady as a programme grows.