The sale binds inventory and funding to one outcome: delivery after success, or refunds when an optional minimum is missed.
A minimum raise is optional. Setting one defers delivery until finalisation, and finalisation runs only when someone calls it.
Activation locks the commercial terms: prices, hard cap, per-buyer limits, unlock schedules, presale terms and terms hash. A sale administrator can still extend the end time, edit the presale whitelist, set per-investor allocations and pause the sale, while a system manager can upgrade the token-sale factory implementation.
A failed offering lets each investor claim a refund in the exact currency they paid, and the issuer cannot withdraw unclaimed investor refunds.
What a primary offering is
A Primary Offering lets an issuer sell newly issued units once and settle payment, allocation and delivery or refunds in a single on-chain contract. Instead of reconciling a separate subscription book, payment rail and token transfer process, one contract enforces all four steps.
Units enter investor hands for the first time from issuer-controlled inventory before secondary trading. A hard cap limits total supply, per-buyer limits bound individual subscriptions, and an optional soft cap (minimum raise) gates success so a shortfall opens full refunds.
An offering runs in one of two modes:
- First-come sale: Allocates each purchase immediately against remaining capacity.
- Book-built offering: Collects escrowed applications during the window, then allocates shares in a post-close run with optional greenshoe and per-category lock-ups.
DALP runs the distribution mechanics: eligibility checks, accepted payment currencies, allocation records, token release, proceeds withdrawal and refunds. Legal offering terms, disclosures and pricing decisions stay with the issuer.
What you fix before the sale opens
Before a Primary Offering accepts purchases, a sale administrator activates it. When the organisation's approval policy enables the Offerings family under Approvals, creating, activating, ending and resuming a sale each wait for a different organisation owner to approve.
Before activation, the offering is a draft. After activation, most commercial terms lock for the life of the sale, so changing them requires ending the offering and opening another.
Activation requires the sale contract to already hold the full hard cap of the sale token. The exception is a book-built offering that mints shares at settlement: it activates without pre-funded inventory once it is a minting delegate of the token's supply delegate feature. Application mode must be selected before funding so settlement cannot double-issue shares.
The asset's governance holder adds the offering as a delegate that may mint but not burn and vouches for no caller, with a mint cap of the hard cap plus the greenshoe. The offering mints settled allocations through that feature and can never mint more than the cap. Activation refuses a delegate with a zero cap, which the feature reads as no cap. A sale contract never holds the supply management role, which is for people: it would let the contract mint without a cap. Only a DALP asset carries features, so an offering of another asset type is funded. A split during the offering does not move the cap. If settlement then reaches it, the governance holder removes the delegate and adds it again at the re-based cap.
One configured value decides whether a buyer walks away holding tokens or holding a claim.
Running the offering
A Primary Offering moves from setup to active. During setup, you configure the sale token, inventory cap, dates, prices, payment currencies, buyer limits and optional presale, minimum raise, subscription step, terms documents and vesting. On Offerings, create the sale, upload terms documents on the Marketing tab, then select Set terms before activating.
An offering can run an optional whitelisted presale at a discounted price factor followed by a public phase open to any eligible buyer. The phase transitions automatically on the first transaction after the presale window ends, or earlier when a sale administrator opens the public phase. Once the public phase begins, the presale whitelist no longer restricts purchases.
Each purchase takes payment in an accepted currency and records the buyer's allocation. Rather than partially filling an invalid order, the sale rejects it with a specific reason:
- Outside the time window, or not on the presale whitelist during presale: wait for the right phase or add the buyer to the whitelist.
- Terms not acknowledged when required: acknowledge the recorded terms hash and resubmit.
- Unaccepted payment currency, or an amount too small for one whole token unit: switch currency or increase the payment.
- Output below the buyer's stated minimum (DALP-4300): raise the payment or lower the minimum output.
- Buyer fails token compliance (DALP-4045): obtain the required identity claim before retrying.
- Per-buyer, presale or per-investor allocation cap reached (DALP-4227), or hard cap reached (DALP-4114): reduce the amount to fit remaining capacity.
- Running total is not a whole multiple of the subscription step (DALP-0686): adjust the amount so the buyer's total lands on the step.
The per-buyer minimum applies only to a buyer's first purchase, whereas the subscription step applies to the buyer's running total on every purchase.
Subscription step and per-investor allocations
A subscription step restricts every buyer's holding to whole multiples of a fixed lot (such as 1,000 units). A sale administrator configures it during setup and locks it at activation. Setting the step to zero disables the rule.
A per-investor allocation caps total purchases across every wallet registered to an investor's identity, including replacement wallets after identity recovery. It applies alongside the per-buyer maximum and hard cap, with the smallest limit winning.
Unlike other limits, a sale administrator can change or clear an allocation after activation without maker-checker approval in the Console Allocation caps section or via the token sale endpoints. Values below the per-buyer minimum are refused, and zero removes the cap.
Finalisation, and what waits on it
After the offering window closes, someone must call finalisation. Nothing finalises an offering automatically, and no deadline applies.
Anyone can call finalisation directly on chain. In the Console, a sale administrator or funds manager uses Finalize offering, which requires approval from a second organisation owner when the Offerings row under Approvals is enabled. Finalisation requires the window to have closed (either naturally or via an early end) and records success when no minimum raise is set or the minimum is met, and failure otherwise.
An offering that was never activated cannot finalise (DALP-4279). To recover its inventory, a sale administrator ends the draft sale and withdraws the unsold tokens through the Platform API.
Until finalisation runs, the issuer cannot withdraw proceeds, and buyers in a minimum-raise offering cannot withdraw tokens. Once the window passes without finalisation, the Console marks the offering as awaiting finalisation.
After finalisation, each party claims its share:
- Proceeds (after success): The funds manager withdraws collected funds to a named address.
- Buyer tokens (after success): Investors claim their allocations, subject to any vesting schedule.
- Unsold inventory: The sale administrator withdraws unsold tokens (all tokens after failure, or unallocated inventory after success).
Through the Platform API, issuer withdrawals and undeliverable-purchase refunds require a Console session or an API key. Portal or anonymous sessions return 403 WALLET_ (DALP-200384). Investor purchases, claims and refunds do not require a Console session.
Investors with multiple ended offerings can batch up to 20 settlements in one call to POST /api/ with a single wallet verification. Each claim or refund submits its own transaction so one failure does not block the rest, and custody accounts settle one account per call. Browser wallets sign each claim or refund individually.
When the raise falls short
When a minimum-raise offering fails, no tokens have left the sale and every buyer can claim a refund in the exact currency they paid. Investors who paid in two currencies submit two separate refund claims.
For 30 days after failure, the issuer cannot withdraw anything (DALP-4270). After the grace period ends, the issuer can withdraw only balances above unclaimed investor refunds. Refund claims have no expiry, so remind investors to claim them.
How funding becomes an allocation
Each Primary Offering is an isolated contract bound to one sale token, keeping its configuration, phase, balances and settlement separate from other offerings by the same issuer.
At purchase time, the contract converts payment using the currency's price ratio and both tokens' decimals, checks phase, window, compliance, terms acknowledgement, limits, remaining hard cap and minimum output, and then updates the buyer's purchase and contribution records.
Allocation and delivery can happen separately. A minimum raise defers delivery until finalisation succeeds, while vesting records the allocation at purchase and accrues from the vesting start so everything accrued during the cliff unlocks when the cliff ends. Once finalisation records success or failure, the outcome is terminal.
Book-built offerings: greenshoe and lock-ups
A sale in application mode runs as a book-built offering. Investors submit escrowed applications during the window, and after close an allocation run divides supply pro rata when oversubscribed, minting shares to investors, paying the issuer and refunding excess cash in one settlement. Two optional setup terms shape that outcome: a greenshoe and per-category lock-ups.
The allocation run, its approval and the reclaim
After close, a signer holding both sale admin and funds manager roles requests one allocation run naming the proceeds recipient. A preview computes every applicant's demand, allocation, refund, rounding dust and per-currency totals, locked by a book hash. Changing the book or recipient after settlement begins is refused.
When Offerings approvals are enabled, the run waits up to seven days for a different organisation owner to approve, then recomputes from chain and aborts if the book changed. If the total demand, up to the offering, misses the soft cap, finalisation fails the offering and refunds every applicant in full. The tokens that rounding down leaves unallocated do not count against it. Because settlement delivers tokens and refunds together, investors make no separate post-run claim.
A refused delivery reserves the allocation
If token compliance refuses delivery to an applicant's wallet at settlement (for instance, an expired identity claim), the applicant keeps the allocation while excess payment refunds normally. Settlement reserves the allocated tokens and holds their payment in escrow for 30 days. Only an applicant with an unrecovered lost wallet is refunded immediately instead.
While an allocation is reserved:
- Anyone can retry delivery once the wallet passes compliance, releasing the held payment to the issuer in the same transaction. Delivery is refused for an allocation a split or reverse split rounded to zero, which has no tokens to deliver: only the sale admin's refund or the 30-day reclaim closes it.
- The sale admin can refund the held cost in full without issuing tokens.
- The sale admin can place a hold (with a reason of up to 200 characters visible to the applicant) to pause the 30-day reclaim without blocking delivery or refund.
- After 30 days without a hold, anyone can trigger reclaim, which delivers if the wallet now passes compliance and refunds otherwise.
Each reserved application shows “Reserved” with its expiry date. If the sale admin starts no allocation run within 30 days of close, applications switch to “Reclaim due”, blocking any run and allowing every applicant to reclaim their full escrowed payment across all currencies with one verification.
The greenshoe
A greenshoe allows a book-built offering to expand above its hard cap at the offer price when demand exceeds supply. The sale admin configures a maximum in basis points of the hard cap (up to 65,535 bps, with zero disabling it), capped on chain by whole tokens and the headroom left under the token's supply cap.
Exercising a discretionary greenshoe changes the book hash, so any prior allocation-run request must be re-requested. Settlement mints the over-allotted shares alongside the base allocation as the asset's minting delegate, within its cap, dividing hard cap plus exercised greenshoe pro rata. First-come sales do not support greenshoes because excess demand is not collected in a book.
Greenshoes and lock-up schedules require a token-sale factory implementation that supports them. Attempting to configure either on an older factory implementation fails with DALP-200382 before sending a transaction.
Lock-ups per investor category
A lock-up restricts transfer of delivered allocations in timed steps. The sale admin defines up to eight categories mapped to identity verification topics (such as qualified) plus a default schedule. The default schedule is the strictest lock-up: setup refuses a category whose schedule runs longer than it. Settlement applies the shortest schedule among the investor's verified topics, so a claim can only shorten a lock-up and removing one can only lengthen it. A holder keeps at most eight unlock dates. Dates that have passed are dropped and deliveries with the same date merge. An applicant whose lock-up has no free slot is parked and refunded, like any refused delivery, instead of blocking the others.
Each schedule contains up to four chronological unlock steps summing to 10,000 basis points, with waits measured from the settlement's first delivery up to 1,826 days. A schedule with no steps, or a single zero-wait 10,000 bps step, leaves shares unlocked.
Settlement writes the lock into the token's lock-up compliance rule in the same transaction that mints the shares, blocking ordinary transfers of locked amounts while preserving dividends and voting rights. Custodian forced transfers bypass compliance rules, including lock-ups.
One-step schedules write a single holder lock (combining amounts and keeping the later unlock time if one exists), while multi-step schedules write separate tranches beside any existing lock. Every investor in a category unlocks on the same clock starting at the settlement's first delivery, and steps whose unlock time has already passed write no tranche.
Activating a sale with lock-ups requires an active lock-up compliance rule on the token (DALP-4526) and the token governance role on the sale contract so it can write holder locks (DALP-4527). Multi-step schedules require a tranche-capable lock-up rule (DALP-4529), valid step ordering and totals (DALP-4528), and at most eight total unlock steps per holder identity (DALP-4530).
Each application's lockup field reports the total locked amount, final unlock time, matched category topic (or null for the default schedule) and per-step tranches.
The cap table: who bought in
Every offering provides a sale-scoped cap table for sale administrators and funds managers, listing one row per buyer and payment currency. Unlike a token's global holder register, it covers only purchases made in that offering and excludes secondary trades or other sales.
What a row represents
Each row aggregates one buyer's purchases in one payment currency, showing wallet address, resolved name, KYC status, country, purchaseCount, total committed and total allocated. A buyer using two currencies appears on two adjacent rows sorted by allocation and currency address, so investorCount can be smaller than the row count.
When a sale still holds tokens for a buyer, the row also reports whether delivery to the buyer's wallet fails compliance (undeliverable) and whether a recovered replacement wallet can receive them (recovered), enabling matching Console actions such as refunding an undeliverable purchase.
The cap table is rebuilt on every request
Each request rebuilds the cap table live by aggregating purchase records and looking up current identity data for KYC status, name and country. Because identities and settlements change over time, consecutive reads can return different results. Export the cap table when you need a point-in-time audit snapshot.
KYC badges
Each row's badge reads one of three values.
Who can read a cap table
Four roles can open the cap table tab, and only the sale admin and funds manager roles can read the table.
Every field in a cap table row is investor data, so DALP enforces role checks at the API before any data leaves the server. The API checks the caller's wallets against the sale token's access manager and permits only sale admin or funds manager. Any other caller receives HTTP 403 DALP-0006.
Administrator and token manager roles can open the Console tab, but are denied by the API. A visible Console tab is never proof that the underlying request will succeed.
Integrating with the endpoint
The cap table endpoint returns one row per buyer-currency pair alongside sale totals. Each monetary or token amount comes as both a display decimal string and an exact raw integer string: sum the exact integers in calculations to avoid rounding error. The token address may be empty until the tenant indexes the token.
The integration contract
The Primary Offering API follows the lifecycle: create and configure in setup, activate, submit purchases, then end and finalise. Every write follows the shared idempotency and Settlement Verdict contract in Asset Lifecycle. For purchases, confirm the buyer's updated allocation and per-currency contribution record before reporting settlement downstream.
Amounts use integer token units, and purchases include a minimum token output to guard against currency-ratio and precision rounding. Store the payment currency beside each contribution because refunds and proceeds withdrawals operate per currency.
Setup-only writes (terms hash, subscription step, application mode, greenshoe and lock-ups) succeed only before activation, while per-investor allocations, presale whitelist edits and end-time extensions remain available afterward. DALP rejects timestamps after 23:59:59 UTC on 31 December 9999. If a direct on-chain call sets a timestamp beyond that limit, the indexer quarantines the sale and you must read it directly from the contract.
Sale events
Finalised blocks emit webhook events for activation, extension, close, finalisation, subscription, delivery, refund and proceeds withdrawal. Book-built application, greenshoe, lock-up, allocation and reclaim steps emit no webhooks (read them via the applications and allocation-run endpoints), except reserved-allocation actions (reserve, deliver, refund, hold, release and reclaim). See the primary market event catalogue.
A sale that passes its end time without an explicit close emits no closed event: wait for the finalised event instead. Pausing, resuming and opening the public phase early emit no lifecycle events.
Controls and evidence
At subscription time, the sale contract enforces registered identity, token compliance rules, any active presale whitelist, and per-buyer, presale and hard caps.
To bind offering terms, upload terms documents on the sale and record the derived terms hash once during setup. Buyers must acknowledge that immutable hash on chain before buying, and DALP blocks purchases if uploaded documents lack a recorded hash. See Sale terms and acknowledgement.
The sale contract records configuration, phase transitions, purchases, allocations, per-currency contributions, outcomes, withdrawals and refunds as on-chain evidence. Legal adequacy of disclosures and off-chain investor obligations remain outside the contract.
On-chain approval of offering actions
The sold asset's administrators can make an offering's administrative actions wait for a second person on chain. They set an approval rule on the asset's access manager, with the offering as the contract and the action as the function. The action then fails until the offering's role holder proposes the exact call and another person approves it. The approval sits on the chain, so it holds for a direct contract call as well as for the Console, unlike the Offerings approval family.
These actions can carry a rule:
- Activating, pausing, resuming and ending the offering.
- Setting per-investor allocations, exercising the greenshoe and withdrawing unsold tokens.
- Withdrawing the raised funds.
- The first allocation batch of a book-built offering, and the first settlement batch of a successful one, which records who receives the payment. Later batches run without approval, so an allocation that has started finishes unchanged.
Finalisation, purchases, refunds and claims never wait for approval. An approved activation also fixes the offering's setup: a change to a cap, a purchase limit, a price, the terms, the presale, the allocations, the greenshoe, the lock-ups or the vesting after the proposal leaves the activation unusable, and the role holder proposes again. A presale whitelist change does not. With no rule, every action runs on the role alone, as before.
A book-built offering mints each allocation at settlement as a minting delegate of the asset's supply delegate feature, never through the asset's own mint. So when the asset's own minting waits for a second approver, the offering still settles with no approval per investor. The Four-eyes approval switch puts no approval on adding the delegate, so one Governance holder adds it. Adding it waits for a second person only under a rule on addDelegate written through the Platform API (Maker-checker). Activation fails with “sale cannot mint” when the offering is not a minting delegate.
Offerings belong to the Primary market module, which an organisation can turn off in Organisation settings. While disabled, existing offerings stay read-only across Console and Investor portal, and write routes (including investor purchases, claims and refunds) return HTTP 403 platform.module.DISABLED (DALP-20531). Because disabling the module only closes DALP routes, pause or end the sale on chain if you also need to halt direct contract calls.
Frequently asked questions
What does pausing a sale stop?
Pausing blocks new purchases and buyer token withdrawals without stopping refund claims, proceeds withdrawals or end-time extensions. A sale administrator can pause and resume indefinitely, and finalising an offering automatically lifts any active pause.
Is there a limit to how many payment currencies a sale can accept?
Yes, up to ten at once. Currencies are set at creation and cannot be changed through the API afterward.
What happens to excess or unsuccessful demand?
Any purchase exceeding remaining hard cap, per-buyer limits or presale capacity is rejected rather than partially filled, while minimum output protects against conversion rounding. If a minimum-raise offering fails, every accepted contribution becomes refundable per currency paid, and the issuer cannot withdraw unclaimed investor refunds.
Nobody finalised our offering and the window closed weeks ago. Is it lost?
No. Finalisation has no deadline and anyone can call it. The outcome depends solely on whether the raise met its minimum before close, and vesting continues accruing from the vesting start throughout the delay.
Can the vesting start date fall before the sale ends?
No. The vesting start must be at or after the sale end time. Earlier values revert rather than clamping.
Can an offering sell more than its hard cap?
Yes, in a book-built offering with a greenshoe. When demand exceeds the hard cap, the sale adds whole tokens up to the configured greenshoe cap and allocates the expanded total pro rata. First-come sales cannot exceed their hard cap.
Can different investors of one offering have different lock-ups?
Yes, on a book-built offering. One category can release 40% at 90 days and 60% at 180 days, while another releases everything at 180 days. Lock-ups per investor category explains how schedules match.