Skip to main content

Balance, voting, hold, supply and record features

Reference for the historical balances, voting power, hold, supply delegate and corporate action record features: what each keeps or restricts and who runs it.

Five token features cover historical balances, voting weight, balance reservations, delegated supply control and the token's record of its splits. Each is a token feature configured by the token's governance role. Each entry notes which DALP Library instrument templates include it.

Historical balances

Records every account's balance and total supply after each mint, burn or transfer so past timestamps can be queried. After each operation, the feature writes one timestamped checkpoint per touched account plus total supply when changed, keeping the final value if multiple writes land in one block.

balanceOfAt and totalSupplyAt return the latest checkpoint at or before the requested timestamp and reject future timestamps. Income features (dividend yield, interest yield, fixed treasury yield and the distribution waterfall) depend on it for record-date balances. The DALP Library includes it on 35 of its 36 templates (all except Custody receipt). See Ledger Data.

The feature has no parameters and attaches through a template or the Platform API (not the Console attach list). Neither the Console nor the Platform API detaches it: Detach is disabled, and the API refuses with TOKEN_FEATURE_KEEPS_MOVEMENT_HISTORY (after its dependents refusal while a yield feature or the distribution waterfall is attached). A detached contract writes no checkpoints, so a holder who sold in the gap still reads as holding, fixed treasury yield (which keeps reading the contract it started with) pays the seller instead of the buyer, and attaching the feature again brings the same contract back with that gap. On chain, setFeatures can still remove it.

Worked example: A token has 1,000 units on day 0 and enables historical balances on day 10. Standard totalSupplyAt for day 5 returns 0, the strict variant reverts with QueryBeforeEnabled, and day 12 returns 1,000.

A history starts when the token attaches it, not when its contract is created, and a repeat attach notification never moves that start. A lookup before the attach reverts with NotAttached. The first checkpoint holds every balance and the total supply at the attach, so the start date is the attach date. Turning the feature on again after a replacement or a detach through another route creates a new history with its own start date, and the Platform API gives it a new contract address. The fixed treasury yield checks on every claim that the history it cached is still the token's: it follows a replacement to the new history, pays nothing for a period that ended before that history started (the claim cursor moves past it, so later periods stay claimable), and refuses with NoHistoricalBalancesProvider when the token has none left. The dividend yield makes the same check when a dividend with a past record date is declared and refuses a record date before the current history's start (RecordDateNotCovered). A claim reads no history, so a declared dividend stays claimable. A history attached before this change keeps the start date it had.

Voting power

Turns token balances into checkpointed voting weight (one vote per token) for the token's governance add-on. Units count only when delegated to an address. Selecting Activate voting power in the Console delegates to the holder's own wallet without moving tokens.

Every mint, burn and transfer updates delegate checkpoints so getPastVotes and getPastTotalSupply return past weights. The DALP Library includes voting power on eight templates: Commercial Real Estate, Common Equity, Convertible Target Equity, Economic Class Share, Employee Equity Award, Mutual Fund, Private Equity Fund and Tokenised Art.

The feature takes no parameters. Holders delegate through the Platform API (requiring an activated identity registration, with no off-platform relay route). Governance attaches it, and the Governance wizard offers an inline attach when missing. Neither the Console nor the Platform API detaches it: the governor keeps reading this feature, and a detached copy misses every transfer, so vote weight would stay with holders who sold. The API refuses a detach while pending, active or queued governance proposals exist, and with TOKEN_FEATURE_KEEPS_MOVEMENT_HISTORY otherwise. Detach is disabled. On chain, setFeatures can still remove it.

Worked example: Alice holds 600 tokens (activated) and Bob holds 400 (not activated). A vote with record date T reads 600 votes for Alice, 0 for Bob and 600 delegated out of 1,000 total supply. If Bob delegates after T, his weight counts only for later votes. See Governance.

Hold

Lets an authorised reserver (an account or add-on such as the custody gateway) reserve units inside a holder's wallet without moving them. Reserved units cannot be transferred or burned (AmountExceedsAvailable checks balance minus custodian freezes and active holds, and a full-address freeze reduces available balance to zero).

A reserver places holds with an optional expiry, releases holds without moving units, or delivers held units directly to a recipient through the token's full compliance path without the holder's signature. Each reserver manages only its own holds, and expired holds stop counting immediately.

The feature has no attach parameters and starts with an empty reserver list (up to 32 slots). Governance adds and removes reservers in the Console or the Platform API, while co-installed features self-enrol on first hold. In the Console, Add reserver in the Hold section of the Features tab takes the reserver's address and a hold lifetime in whole days. Leave the lifetime blank for holds that never lapse, which the custody gateway add-on requires. A lifetime cannot be changed later: remove the reserver and add it again. Each listed reserver shows its hold lifetime. Removing a reserver invalidates its holds immediately, and anyone can clean up inactive reservations via Clear on the Features tab. The Platform API refuses to detach hold with TOKEN_FEATURE_HOLDS_LIVE while any reservation still counts, because a detached hold lets held units move and attaching the same contract again brings the reservation back onto units the holder receives later. Release or deliver the reservations, let them expire, or remove their reserver first.

Custodian forced transfers bypass holds (which can leave available balance at zero), and identity recovery carries active reserver holds to the replacement wallet while co-installed feature holds stay put. Place hold first in the feature list so fee or rewrite features cannot consume committed units. The DALP Library includes hold on 34 templates (all except Controlling Class Share and Economic Class Share), first on every template except Share-Class Mirror. EVM only.

Supply delegate

Lets a registered wallet or vouching contract (such as an add-on factory) mint and burn units without holding the supply management role. Governance registers up to 32 delegates in the Console or the Platform API with mint, burn or both permissions and an optional outstanding-supply cap (mints minus burns, never below zero). In the Console, the Supply delegate section of the Features tab lists each delegate with its permissions and cap, adds one through Add delegate, and removes one through Remove. A delegate's permissions cannot be changed later: remove it and add it again.

Mints run the token's full compliance path, and burns draw only from the caller's own unheld balance. Each mint or burn accepts an optional 32-byte reference (such as a deposit ID or hashed bank reference) without uniqueness checks.

A burn frees cap room only for units removed from total supply (burn fees sent to a fee recipient free no cap room). Vouching delegates share one cap across all vouched callers. Removing a delegate stops future mints and burns immediately while retaining its outstanding count.

Supply delegate cannot coexist with Booked movements (register lines). The DALP Library includes it on Custody receipt (paired with hold, EVM only). See Custody receipt and Bank rail.

Corporate action record

Keeps the token's record of its splits and of the corporate action in progress. Each split is one step in the record: its ratio, the base units in one whole share, whether the ratio replaces the old amount (a forward or reverse split) or adds to it (a bonus issue), and its fraction policy. Each step also keeps the token's total supply at the moment the step was recorded.

Only an account with the token's Supply management role writes the record. It marks a corporate action pending from a record date in the future, records the action's step, and then ends the action, which clears the marker. Recording the step leaves the marker on until the mint or burn behind it has run, so a contract holding the token pays nothing out on the new basis first. The marker can be cancelled only before the step is recorded, and the action ended only after. Ending an action that is no longer pending changes nothing. Writing the step that already sits at a position again changes nothing, so a retried write is safe. A different step at that position, or a step that skips a position, is refused. The record never blocks a transfer, mint or burn.

Every DALP Library template includes it, and the Asset Designer shows it switched on and fixed in every template, including the templates an organisation creates. A token that lacks it can attach it through the Console attach list or the Platform API. The feature has no parameters.

Neither the Console nor the Platform API detaches or replaces it: Detach is disabled, and the API refuses with TOKEN_FEATURE_KEEPS_CORPORATE_ACTION_RECORD. A replacement would start with an empty record, so the next split would land at a position that contracts holding the token count as already applied, and they would skip it. The feature's factory refuses a replacement on chain as well. See Corporate actions.

Was this page helpful?