Direct Issuance Program
A Direct Issuance Program allows a public company to issue new tokenized shares directly to eligible investors, with purchases executed using real-time market prices and settled in stablecoins.
1. Overview
2. Architecture
Partner Backend
┌─────────────────┐
│ KYC + Wallet │
│ Collection │
└────────┬────────┘
│
┌───────────────┼───────────────┐
│ HTTP API │ │ On-chain
▼ │ ▼
┌────────────────┐ │ ┌──────────────────┐
│ Superstate │ │ │ Ethereum Mainnet │
│ Onboard API │ │ │ │
│ │ │ │ ┌────────────┐ │
│ POST /onboard │ │ │ │ Allowlist │ │
│ POST /add- │ │ │ │ (V4.0) │ │
│ allowlist │ │ │ └────────────┘ │
│ PUT /update │ │ │ ▲ │
└────────────────┘ │ │ │ reads │
│ │ ┌──────┴─────┐ │
│ │ │ EquityToken│ │
│ │ │ (Dippable) │──┼── User calls
│ │ └──────┬─────┘ │ buyTheDip()
│ │ │ │
│ │ ┌──────▼─────┐ │
│ │ │ DIP │ │
│ │ │ Contract │ │
│ │ └────────────┘ │
│ └──────────────────┘
│
┌────────▼─────────┐
│ Partner User │
│ (EOA Wallet) │
└──────────────────┘3. Prerequisites & Setup
3.1 API Key & Request Signing
3.2 Contract Addresses
Contract
Description
3.3 Supported KYC Providers
4. User Onboarding API
4.1 Available Endpoints
Method
Endpoint
Purpose
4.2 Key Concepts
5. Allowlisting
5.1 How Allowlisting Works
5.2 Checking Allowlist Status
5.3 Allowlist Integration with Onboarding
6. DIP Contract Specification
6.1 Market Lifecycle
State
Value
Description
6.2 Market Configuration
6.3 Market Data Structure
6.4 Constants
Constant
Value
Description
7. Executing a Purchase (buyTheDip)
buyTheDip)7.1 User-Facing Function
7.2 Step-by-Step Integration
7.3 Slippage Protection
7.4 Partial Fills
7.5 Auto-Close Behavior
8. Querying Market State
8.1 Read Functions
8.2 Useful Derived Values
9. Events & Indexing
9.1 DIP Contract Events
9.2 Token Events
9.3 Indexing Recommendations
10. Error Reference
10.1 DIP Contract Errors
Error
When
Description
10.2 EquityToken (Dippable) Errors
Error
When
Description
10.3 Common ERC20 Errors
Error
When
Description
10.4 Allowlist Errors
Error
When
Description
11. Decimal & Pricing Math
11.1 Decimal Conventions
Token/Value
Decimals
Example
11.2 Pricing Formula
11.3 Payment Normalization
12. End-to-End Examples
12.1 Full Integration Flow (TypeScript / viem)
12.2 Full Integration Flow (ethers.js v6)
Appendix A: Market Management (Reference)
Create Market
Update Market Config
Transition Market State
Last updated