Skip to main content

Section 2: Technical Architecture

๐Ÿ—๏ธOTCM ThePROTOCOL

complete

Comprehensive Technical Whitepaper  โ€”  Version 7.0

ST22 Digital Securities Platform  |  March 2026  |  Groovy Company, Inc. dba OTCM Protocol

 

Section 2: Technical Architecture

A comprehensive description of the nine-layer infrastructuretechnology stack andthat howpowers eachthe layerOTCM integratesProtocol to form a unified, compliance-native trading platform forST22 Digital Securities.Securities Platform, the Solana blockchain foundation, and the cross-layer communication architecture.


 

๐Ÿ—๏ธ 2.1  Layered Architecture Overview

๐Ÿ”น 2.1.1  The Nine-Layer Technology Stack

The OTCM Protocol L2 is not a single application but a comprehensive nine-layer infrastructure stack, each layer serving a distinct and irreplaceable function. The stack is designed so that security enforcement occurs at the lowest possible layer (Layer 2), ensuring that no higher-layer component can bypass, override, or selectively apply the 42 Transfer Hook security controls.

This architecture eliminates the attack surface that exists in platforms where compliance is implemented at the application layer rather than the token transfer primitive. Under the SEC's March 17, 2026 interpretation (Release No. 33-11412), ST22 Security Tokens are formally classified as Digital Securities โ€” and this nine-layer architecture is purpose-built to enforce every obligation that classification entails.

Layer

Name

Description

Layer 1

Foundation

Solana blockchain providing consensus, finality, and network security at 65,000+ TPS with sub-second settlement finality

Layer 2

Security Enforcement

SPL Token-2022 Transfer Hook extensions โ€” 42 security controls enforced before every ST22 transfer completes. See Section 4

Layer 3

Liquidity Engine

Federated Liquidity Protocol (FLP): sovereign per-issuer liquidity pools with optional cross-pool federation routing. Permanently locked. See Section 5

Layer 4

Custom AMM

OTCM's proprietary Automated Market Maker. Major DEXs (Raydium, Orca, Meteora) cannot support Token-2022 Transfer Hooks โ€” OTCM built its own AMM to maintain complete security integrity

Layer 5

CEDEX

Centralized Exchange with Decentralized settlement โ€” OTCM's trading interface exclusively for ST22 Digital Securities. Combines Web2 UX with Web3 settlement finality. See Section 6

Layer 6

Oracle Network

Real-time oracles monitoring SEC EDGAR filings, OTC Markets data, custody verification feeds, and price discovery. Critical for Transfer Hook decision logic and Predictive AI scoring

Layer 7

DAO Governance

Decentralized Autonomous Organization with multi-tier on-chain voting for protocol upgrades, fee adjustments, and parameter changes. Prevents any single party from unilaterally altering security controls

Layer 8

Wallet Infrastructure

Native iOS and Android Web3 wallets enabling retail and institutional investors to hold, send, and receive ST22 tokens with KYC/AML compliance enforced at the wallet level

Layer 9

Predictive Marketing AI

Intelligence layer powering the OTCM commercial engine โ€” continuously monitors SEC EDGAR and OTC Markets data across ~15,000 U.S. OTC companies. See Section 8

The nine-layer architecture represents a deliberate departure from existing DeFi infrastructure, which was designed for permissionless token movement rather than securities compliance. Each layer was purpose-built for Digital Securities โ€” integrating custody verification (Layer 6), investor eligibility enforcement (Layer 2), and intelligent issuer/investor discovery (Layer 9) into a unified stack that functions as a single coherent system.


๐Ÿ”น 2.1.2 Protocol Layer Design Philosophy

The nine-layer architecture enforces strict separation of concerns, where each layer handles a distinct responsibility with well-defined interfaces to adjacent layers. This enables independent scaling, testing, and upgrading of individual layers while maintaining system integrity.

Layer

Name

Primary Responsibility

Layer 1

Application Layer

User interfaces, portal access, experience management

Layer 2

Compliance Enforcement

Transfer Hooks, KYC/AML, OFAC, securities law automation

Layer 3

Trading & Liquidity

CEDEX engine, bonding curves, CPMM, liquidity pools

Layer 4

Blockchain Infrastructure

Solana L1, RPC nodes, consensus, finality

Layer 5

External Integration

Custody verification, oracles, SEC EDGAR, analytics


๐Ÿ”น 2.1.3 Architecture Diagram

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  LAYER 9 โ€” Predictive Marketing AI                              โ”‚
โ”‚  EDGAR NLP ยท IDOS Scoring ยท Launch Timing ยท Investor Targeting  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 8 โ€” Wallet Infrastructure                                โ”‚
โ”‚  iOS ยท Android ยท Ledger/Trezor ยท KYC/AML Enforcement           โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 7 โ€” DAO Governance                                       โ”‚
โ”‚  On-chain Voting ยท 48-hour Timelock ยท Supermajority Controls    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 6 โ€” Oracle Network     โ†โ”€โ”€โ”€โ”€ External Data Sources      โ”‚
โ”‚  EST Custody ยท OFAC/SDN ยท AML ยท EDGAR ยท Price Feeds            โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 5 โ€” CEDEX Exchange                                       โ”‚
โ”‚  Order Matching ยท Bonding Curve ยท CPMM ยท Settlement             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 4 โ€” Custom AMM Engine                                    โ”‚
โ”‚  Token-2022 Native ยท Circuit Breakers ยท TWAP                    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 3 โ€” Federated Liquidity Protocol                         โ”‚
โ”‚  Sovereign Per-Issuer LP ยท Permanent Locks ยท Capital Routes     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 2 โ€” SPL Token-2022 Transfer Hooks  โ—„โ”€โ”€ LAYER 6 FEEDS   โ”‚
โ”‚  42 Controls ยท OFAC ยท AML ยท KYC ยท Custody ยท Circuit Breaker    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  LAYER 1 โ€” Solana Foundation                                    โ”‚
โ”‚  65,000+ TPS ยท 400ms Slots ยท Tower BFT ยท PoH ยท Sealevel        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Note: Layer 6 (Oracle Network) feeds Layer 2 (Security Enforcement) directly with real-time custody, sanctions, and AML data. Layer 9 (AI Module) operates as an intelligence overlay โ€” consuming Layer 6 oracle feeds and populating the issuer pipeline that feeds qualified candidates into the Issuers Portal and Layer 5 CEDEX launch mechanism.


๐Ÿ”น 2.1.4 Cross-Layer Communication

Downward Communication (Request Flow) Actions at Layer 9 (AI), Layer 8 (Wallet), or Layer 5 (CEDEX) flow downward through Layer 2 (Security Enforcement) for Transfer Hook verification, drawing oracle data from Layer 6, before settling on Layer 1 (Solana).

Upward Communication (Response Flow) Settlement confirmations propagate upward from Layer 1 through Layer 2 compliance acknowledgement, Layer 6 oracle confirmation, and into user-facing interfaces at Layer 5 / Layer 8 โ€” with a full on-chain audit trail written at each layer.

Horizontal Communication Components within each layer communicate via defined internal APIs. Layer 7 (DAO Governance) has a unique horizontal relationship: passed governance proposals write directly to parameter configurations in Layer 2, Layer 3, and Layer 4 via a 48-hour timelock mechanism โ€” the only cross-layer write path not triggered by a token transfer event.


โšก 2.2 Layer 1: Solana Blockchain Foundation

OTCM Protocol's technical foundation rests on Solana โ€” a monolithic Layer 1 blockchain designed for high-throughput, low-latency transaction processing. Unlike modular blockchains that offload scaling to Layer 2 solutions, Solana handles all transaction processing, state management, and consensus directly on its base layer โ€” a critical characteristic for Digital Securities trading where settlement certainty and deterministic execution are paramount.


๐Ÿ”น 2.2.1 Why Solana: Technical Rationale

Requirement

Traditional Alternative

Solana Capability

Transaction Throughput

Ethereum: 15โ€“30 TPS

65,000+ TPS theoretical

Block Time

Ethereum: ~12 seconds

400ms slots

Transaction Cost

Ethereum: $1โ€“$50+

$0.0001โ€“$0.0025

Finality Time

Ethereum: ~6 minutes

~13 seconds (32 blocks)

Smart Contract Model

Ethereum: Sequential EVM

Parallel Sealevel execution

Token Standard

ERC-20 / ERC-1400

SPL Token-2022 + Transfer Hooks

๐Ÿ’ก Critical Design Decision: SPL Token-2022's Transfer Hook extension enables OTCM to execute compliance verification during every token transfer at the protocol level โ€” a capability not available on Ethereum or most other blockchains without complex, gas-intensive proxy patterns.


๐Ÿ”น 2.2.2 Core Protocol Innovations

Solana achieves its exceptional performance through eight core innovations. Understanding these is essential for comprehending how OTCM's compliance-intensive operations execute efficiently.

Proof of History (PoH) Functions as a "cryptographic clock" that timestamps transactions before they enter consensus. PoH pre-establishes a verifiable sequence of events through a SHA-256 hash chain, where each hash depends on the previous output.

hash_n   = SHA256(hash_n-1)
hash_n+1 = SHA256(hash_n)

OTCM Application: Transfer Hook verification benefits from PoH's pre-established ordering. Compliance checks execute in deterministic sequence without consensus delays, enabling 750โ€“1,250ms total verification time despite six sequential hooks.


Tower BFT Solana's custom PBFT implementation optimized to leverage PoH as its clock source. Traditional PBFT requires O(nยฒ) message complexity; Tower BFT reduces this through PoH-synchronized voting.

  • Vote Lockout โ€” Validators commit with exponentially increasing lockout periods
  • Rollback Cost โ€” Switching votes becomes exponentially more expensive over time
  • Finality โ€” 32-block confirmation provides practical finality (~13 seconds)

Sealevel: Parallel Smart Contract Execution Processes thousands of smart contracts simultaneously by identifying non-overlapping transactions and executing them in parallel across available CPU cores.

OTCM Application: CEDEX trading transactions touching different ST22 token pairs execute in parallel. Transactions involving the same token pair serialize automatically, ensuring atomic state updates.


Turbine: Block Propagation Protocol Breaks blocks into smaller packets distributed through a tree structure. Each validator receives partial data and forwards it to downstream validators โ€” achieving O(log n) propagation complexity.

  • Packet Size: 64KB shreds (erasure-coded fragments)
  • Fanout Factor: Each node forwards to 200 downstream nodes
  • Reconstruction: 67% of shreds required to reconstruct a complete block

Gulf Stream: Mempool-less Transaction Forwarding Eliminates the traditional mempool by forwarding transactions to upcoming leader validators before the current block finalizes, reducing confirmation latency and memory pressure.

OTCM Application: CEDEX transactions forward immediately to the next leader, reducing the time between user submission and block inclusion โ€” enabling sub-second UX despite comprehensive compliance verification.


Cloudbreak: Horizontally Scaled Account Database Implements Solana's account database using memory-mapped files optimized for concurrent reads and writes, supporting the parallel access patterns essential for high-throughput trading.


Pipelining: Transaction Processing Unit Operates similarly to CPU instruction pipelining with distinct stages for data fetching, signature verification, banking (state changes), and recording.

Stage 1

Stage 2

Stage 3

Stage 4

Data Fetch

Signature Verify

Banking

Recording

GPU

GPU

CPU

Kernel


Archivers: Distributed Ledger Storage Specialized nodes responsible for distributed ledger storage, enabling validators to maintain high performance while ensuring complete historical data availability for compliance and audit purposes.


๐Ÿ”น 2.2.3 Consensus Mechanism Deep Dive

Solana employs a hybrid consensus mechanism combining Proof of History (PoH) with Delegated Proof of Stake (dPoS), achieving Byzantine Fault Tolerance while maintaining securities-grade throughput.

Leader Selection     โ†’ Deterministic rotation among validators by stake weight
Block Production     โ†’ Leader receives transactions via Gulf Stream ยท adds PoH timestamps
Block Propagation    โ†’ Turbine distributes block shreds through validator network
Voting               โ†’ Validators vote via Tower BFT with exponential lockout
Finality             โ†’ 32 confirmations (~13 seconds) = practical finality

๐Ÿ”น 2.2.4 Network Performance Specifications

Metric

Specification

OTCM Utilization

Theoretical TPS

65,000+

400โ€“600 TPS (compliance overhead)

Block Time (Slot)

400ms

PoH synchronization

Finality Time

~13 seconds (32 blocks)

Settlement certainty for trades

Transaction Cost

$0.0001โ€“$0.0025

~5,000 lamports base fee

Architecture Type

Monolithic L1

No L2 dependency for settlement

Consensus

PoH + dPoS (Tower BFT)

Deterministic ordering


๐Ÿ“ 2.3 Layer-by-Layer Technical Specifications


๐Ÿ”น 2.3.1 Layers 1, 8 & 9: Application, Wallet & AI Module

Issuers Portal

Purpose: Comprehensive onboarding and management interface for companies tokenizing securities as Digital Securities through OTCM Protocol.

Component

Technology Stack

Frontend Framework

React 18+ with TypeScript, TailwindCSS

State Management

Redux Toolkit with RTK Query for API caching

Wallet Integration

Solana Wallet Adapter (Phantom, Solflare, Ledger)

Authentication

SIWS (Sign-In With Solana) + JWT sessions

Document Processing

DocuSign API for legal signatures ยท S3 for storage

Core Functions:

  • Company Registration โ€” SEC CIK validation, corporate document upload, authorized signatory verification
  • Series M Configuration โ€” Share class creation parameters, conversion ratios, custody arrangements
  • ST22 Token Management โ€” Minting authorization, vesting schedule configuration, treasury management
  • Compliance Dashboard โ€” Real-time trading analytics, regulatory reporting, investor cap table

CEDEX Trading Interface

Purpose: Real-time trading interface for ST22 Digital Securities transactions with integrated compliance verification.

Core Functions:

  • Market Discovery โ€” Token listing, price charts, volume analytics, market depth visualization
  • Order Execution โ€” Market orders, limit orders, swap interface with slippage protection
  • Portfolio Management โ€” Holdings display, transaction history, P&L tracking
  • Compliance Status โ€” Real-time KYC status, verification requirements, restriction alerts

Staking Interface

Core Functions:

  • Stake Management โ€” Deposit/withdraw OTCM tokens, delegation to validator nodes
  • Rewards Tracking โ€” APY display (8โ€“60%), reward accrual, claim functionality
  • Epoch Management โ€” 2.6-day epoch visualization, reward distribution timing
  • Governance โ€” Voting on protocol proposals, delegation to representatives

DAO Governance Interface (Layer 7)

Core Functions:

  • Proposal Management โ€” Submit, review, and vote on protocol governance proposals with quorum requirements
  • Security Control Governance โ€” Multi-tier voting required for any Transfer Hook parameter change
  • Timelock Enforcement โ€” 48-hour execution delay on all passed proposals
  • Treasury Oversight โ€” DAO governance over OTCM Protocol development fund allocation

Web3 Wallet Application (Layer 8)

Core Functions:

  • Portfolio Management โ€” Multi-issuer ST22 holdings display, transaction history, P&L tracking
  • Embedded KYC/AML โ€” Inline accreditation verification and compliance status display
  • Token Operations โ€” Send, receive, stake, and redeem ST22 with full Transfer Hook enforcement
  • Institutional Support โ€” Ledger and Trezor hardware wallet integration ยท multi-sig custody

Predictive Marketing AI Dashboard (Layer 9)

Core Functions:

  • IDOS Dashboard โ€” Real-time Issuer Distress and Opportunity Score rankings across 15,000+ OTC companies
  • Investor Pool Analytics โ€” Qualified accredited wallet targeting for ST22 launch campaigns
  • Launch Timing โ€” Launch Readiness Score monitoring and optimal window recommendations
  • Burn Analytics โ€” Real-time on-chain tracking of OTCM token burns from AI module operations

๐Ÿ”น 2.3.2 Layer 2: Security Enforcement โ€” SPL Token-2022 Transfer Hooks

Layer 2 implements OTCM's 42-control security architecture through SPL Token-2022 Transfer Hooks, intercepting every ST22 Digital Securities transfer before it completes. Oracle data from Layer 6 feeds real-time custody balances, sanctions lists, and AML scores into each hook's decision logic.

Hook

Function

Data Source

Latency

Error Code

Hook 1

Custody Verification

Empire Stock Transfer API

100โ€“150ms

6001

Hook 2

OFAC Screening

SDN List Oracle (hourly update)

200โ€“500ms

6002

Hook 3

AML Analytics

Chainalysis / TRM Labs

300โ€“400ms

6003

Hook 4

Redemption Eligibility

KYC Registry

50โ€“100ms

6004

Hook 5

Price Impact Limit

TWAP Oracle

50โ€“100ms

6006

Hook 6

Liquidity Ratio

Pool State

50โ€“100ms

6007

TOTAL

Complete Verification Pipeline

โ€”

750โ€“1,350ms

โ€”

๐Ÿ’ก Atomic Execution Guarantee: If any Transfer Hook returns an error, the entire transaction reverts atomically. Non-compliant transfers can never execute, even partially. Solana's account model and Sealevel's transaction isolation guarantee this atomicity.

Hook 3 โ€” AML Risk Scoring Tiers:

Risk Score

Classification

Action

0โ€“30

Low Risk

Automatic approval โ€” transaction proceeds

31โ€“70

Medium Risk

Transaction proceeds ยท flagged for compliance review

71โ€“100

High Risk

Automatic rejection โ€” reverts with Error 6003


๐Ÿ”น 2.3.3 Layers 3, 4 & 5: Federated Liquidity, Custom AMM & CEDEX

Layers 3, 4, and 5 form the integrated trading and liquidity stack. Layer 3 manages sovereign per-issuer liquidity pools. Layer 4 is OTCM's proprietary AMM, purpose-built for Token-2022 compliance. Layer 5 (CEDEX) combines centralized order matching with decentralized settlement.

CEDEX Engine

Bonding Curve Trading (Pre-Graduation): New ST22 tokens begin trading on linear bonding curves:

P(n) = P0 + (g ร— n)
P0 = 0.000001 SOL ยท g = 0.0000000079 SOL/token

CPMM Trading (Post-Graduation): Upon graduation (market cap โ‰ฅ $250,000), tokens transition to Constant Product Market Maker mechanics:

output = (input_amount ร— output_reserve) / (input_reserve + input_amount)

OTCM Liquidity Pool โ€” Four Capital Accumulation Mechanisms:

Capital Source

Contribution Rate

Lock Status

Bonding Curve Graduations

$1Mโ€“$5M per issuer

Permanent

Trading Fee Allocation

0.44% of volume

Permanent

Staking Reward Reinvestment

2% of rewards

Permanent

Initial Protocol Deposit

$2M at launch

Permanent

Projected LP Growth:

Year 1

Year 2

Year 3

Year 4

Year 5

$12.5M

$27.3M

$41.8M

$53.2M

$64.3M


๐Ÿ”น 2.3.4 Layer 1: Solana Blockchain Foundation

RPC Node Architecture:

  • Primary RPC โ€” Helius dedicated nodes (500 req/sec ยท 100 sendTx/sec tier)
  • Failover RPC โ€” Triton/QuickNode backup cluster
  • Geographic Distribution โ€” US-East ยท US-West ยท EU-West ยท APAC nodes
  • MEV Protection โ€” Jito bundle integration for frontrunning protection

Transaction Lifecycle on Solana:

Submission    โ†’ Transaction submitted to RPC node ยท forwarded via Gulf Stream to leader
Processing    โ†’ Leader includes tx in block ยท Sealevel executes Transfer Hooks in parallel
Propagation   โ†’ Turbine distributes block shreds across validator network
Voting        โ†’ Validators vote on block validity via Tower BFT
Confirmation  โ†’ Transaction confirmed after 1 block (~400ms)
Finality      โ†’ Practical finality achieved after 32 blocks (~13 seconds)

๐Ÿ”น 2.3.5 Layer 6: Oracle Network & External Data Integration

Layer 6 provides the real-time data bridge between on-chain Transfer Hook enforcement and the off-chain data sources required for Digital Securities compliance โ€” custody verification, sanctions screening, AML scoring, and SEC EDGAR intelligence.

Empire Stock Transfer Integration:

Integration Point

Function

Custody Oracle API

Real-time balance verification ยท cryptographically signed attestations ยท updated every ~400ms

Share Registration

Series M share issuance recording ยท beneficial ownership tracking ยท corporate action processing

Redemption Processing

KYC-verified token-to-share conversions ยท DRS registration ยท certificate issuance

Audit Reporting

Quarterly custody attestations ยท regulatory examination support ยท transaction audit trails

Compliance Oracle Network:

  • OFAC/SDN Oracle โ€” Updates hourly from Treasury Department SDN list. Implements fuzzy matching algorithms for name variations and aliases
  • Blockchain Analytics Oracle โ€” Integrates Chainalysis KYT and TRM Labs. Provides wallet risk scoring based on transaction history, counterparty analysis, and pattern detection
  • SEC EDGAR Integration โ€” Pulls company financial data, filing status, and corporate action information for issuer onboarding verification and ongoing compliance monitoring

๐Ÿ“‹ RPC Infrastructure Redundancy Specification

Version: 6.1 | Extends: RPC Node Architecture

Health Check and Alerting:

Health Check

Frequency

Alert Threshold

Action

Helius RPC latency

Every 30 seconds

p95 > 500ms for 2 minutes

Shift traffic to Triton

sendTransaction success rate

Per minute

<95% success rate

Alert P2 + increase tip

Oracle feed freshness

Every block

Any feed stale beyond threshold

Hook failsafe activates

CEDEX order matching lag

Continuous

>2 block lag

Alert P1

WebSocket disconnect rate

Per hour

>5 disconnects/hour

Alert P2


๐Ÿ”— Transaction Durability Specification

Version: 6.1 | Applies To: All CEDEX transaction submissions

Blockhash Lifecycle Management Solana transactions are valid only while their recent_blockhash is within the last ~150 blocks (~60 seconds). CEDEX manages blockhash freshness proactively.

Durable Nonce Accounts โ€” Institutional Orders For large institutional orders requiring extended signing windows (e.g., multi-sig approval workflows >60 seconds), CEDEX supports durable nonce account-based transactions โ€” bypassing the blockhash expiry constraint.


๐Ÿ”„ 2.4 Data Flow Specification


๐Ÿ”น 2.4.1 Transaction Lifecycle

Every ST22 Digital Securities transaction follows a deterministic lifecycle from user initiation through settlement and post-transaction monitoring.


๐Ÿ”น 2.4.2 Nine-Layer Transaction Processing Model

Phase 1: Initiation (0โ€“50ms) Transaction initiation begins when a user submits an ST22 transfer through CEDEX:

interface TransactionParams {
  tokenMint:       PublicKey;  // ST22 Digital Securities token address
  amount:          u64;        // Transfer amount in base units
  maxPrice:        u64;        // Slippage protection (0 = market)
  recipientWallet: PublicKey;  // Destination wallet
  deadline:        i64;        // Unix timestamp expiry
}

Phase 2: Verification (750โ€“1,350ms) All six Transfer Hooks execute sequentially. Each hook:

  • Queries its designated oracle or data source
  • Performs verification logic against compliance rules
  • Records verification result in the compliance log
  • Returns PASS to continue or ERROR to revert

Phase 3: Execution (400โ€“600ms) Upon successful verification, transaction execution proceeds atomically:

  • Swap output calculated via CPMM formula
  • Pool reserves updated (Effects before Interactions โ€” CEI pattern)
  • Tokens transferred to recipient
  • Fees distributed to protocol and issuer

Phase 4: Settlement (~13 seconds) Settlement occurs through Solana's Tower BFT consensus. After 32 block confirmations, the transaction achieves practical finality with cryptographic guarantees against reversal.

Phase 5: Post-Transaction Monitoring (Ongoing)

  • Real-time pattern analysis โ€” ML models analyze transaction patterns for suspicious activity
  • Flagging queue โ€” Transactions meeting review thresholds enter compliance team queue
  • SAR evaluation โ€” Suspicious Activity Report filing determination for flagged transactions
  • Regulatory reporting โ€” Automated generation of required regulatory filings

๐Ÿ”น 2.4.3 Error Handling & Recovery

Code

Error Type

Recovery Action

6001

Insufficient Custody Backing

Wait for oracle update or reduce amount

6002

OFAC Sanctioned Address

Transaction permanently blocked

6003

AML Risk Threshold Exceeded

Contact compliance for review

6004

KYC / Accreditation Invalid

Complete verification via portal

6006

Circuit Breaker Triggered

Reduce order size or wait for TWAP reset

6007

Liquidity Ratio Violation

Reduce order size below pool limits


๐Ÿ”Œ 2.5 External System Integration

๐Ÿ”น 2.5.1 Empire Stock Transfer Integration

GET https://api.empirestocktransfer.com/v1/custody/{issuer_cik}
Authorization: Bearer {api_key}
X-Oracle-Signature: {signature}

Response:
{
  "issuer_cik":            "string",    // SEC CIK number
  "cusip":                 "string",    // CUSIP identifier
  "share_class":           "SERIES_M",  // Always Series M
  "custodied_balance":     u64,         // Verified share count
  "last_verification":     i64,         // Unix timestamp
  "attestation_signature": "string",    // Ed25519 signature
  "audit_hash":            "string"     // SHA-256 of audit data
}

๐Ÿ”น 2.5.2 Compliance Oracle Network

OFAC Screening API:

POST https://oracle.otcm.io/v1/ofac/screen
{
  "wallet_address":  "7xKXt...",
  "transaction_type": "transfer",
  "counterparty":    "9yMPs..."
}

Response:
{
  "status":               "CLEAR" | "MATCH" | "PARTIAL_MATCH",
  "sdn_match_confidence": 0.0โ€“1.0,
  "last_list_update":     "2026-03-17T00:00:00Z",
  "verification_id":      "uuid"
}

๐Ÿ”น 2.5.3 External API Specifications

System

Protocol

Auth Method

Rate Limit

Empire Stock Transfer

REST/JSON

API Key + Signature

1,000/min

Chainalysis

REST/JSON

OAuth 2.0

10,000/hour

SEC EDGAR

REST/XML

User-Agent ID

10/sec

Helius RPC

JSON-RPC 2.0

API Key

500/sec


โšก 2.6 Performance Engineering


๐Ÿ”น 2.6.1 Throughput Analysis

Metric

Solana Theoretical

OTCM Effective

Peak TPS

65,000+

400โ€“600

Daily Capacity

5.6B transactions

~50M transactions

Compliance Overhead

N/A

750โ€“1,350ms/tx


๐Ÿ”น 2.6.2 End-to-End Latency

Phase

Latency

User submission to RPC

50โ€“100ms

Transfer Hook verification

750โ€“1,350ms

Swap execution

400โ€“600ms

Block confirmation (first)

~400ms

TOTAL (to confirmation)

1.6โ€“2.5 seconds

Full finality (32 blocks)

~13 seconds


๐Ÿ”น 2.6.3 Scalability Architecture

  • Token Pair Isolation โ€” Trades in different ST22 tokens execute in parallel (no account overlap)
  • Oracle Caching โ€” Compliance oracle results cached for 1 block (~400ms) to reduce redundant queries
  • Batch Processing โ€” Off-chain systems aggregate compliance data for efficient on-chain verification
  • Geographic Distribution โ€” Multi-region RPC deployment minimizes network latency globally

๐Ÿ—๏ธ 2.7 Security Architecture


๐Ÿ”น 2.7.1 Defense-in-Depth Model

Layer

Protection Mechanism

Threat Mitigated

Network

WAF ยท DDoS protection ยท rate limiting

Network-level attacks ยท flooding

Application

Input validation ยท CSRF protection ยท CSP

Injection ยท XSS ยท session hijacking

Smart Contract

Formal verification ยท audit ยท bug bounty

Logic bugs ยท reentrancy ยท overflow

Compliance

42 Transfer Hooks ยท securities law automation

Unauthorized trading ยท sanctions evasion

Custody

Multi-sig ยท HSM ยท custody verification

Asset misappropriation ยท insider threat


๐Ÿ”น 2.7.2 Cryptographic Standards

Primitive

Standard

Application

Key Derivation

Ed25519

Solana wallet signatures (128-bit security equivalent)

Hashing

SHA-256 / Blake3

Transaction verification / high-performance hashing

Encryption

AES-256-GCM / TLS 1.3

Data at rest / data in transit

Oracle Signatures

Ed25519

All oracle attestations for non-repudiation


๐Ÿ”น 2.7.3 Attack Surface Analysis

Attack Vector

OTCM Mitigation

MEV / Frontrunning

Jito bundle integration ยท 2% TWAP circuit breaker limits sandwich attack profitability

Oracle Manipulation

Multi-oracle consensus required โ€” single oracle compromise cannot affect verification

Rug Pull

Permanent LP locks enforced by smart contract โ€” override requires 2/3 DAO supermajority + 48h timelock

Smart Contract Exploits

Formal verification (Certora) ยท audits (Quantstamp, Halborn) ยท $100K bug bounty program


๐Ÿš€ 2.8 Deployment Topology

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚            OTCM PROTOCOL DEPLOYMENT                 โ”‚
โ”‚                                                     โ”‚
โ”‚  Infrastructure:  Kubernetes (K8s)                  โ”‚
โ”‚  CDN:             Cloudflare                        โ”‚
โ”‚  Primary RPC:     Helius                            โ”‚
โ”‚  Failover RPC:    Triton                            โ”‚
โ”‚                                                     โ”‚
โ”‚  Regions:  US-East ยท US-West ยท EU-West ยท APAC       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Groovy Company, Inc. dba OTCM Protocol ยท Wyoming Corporation ยท invest@otcm.io ยท otcm.io

๐Ÿ—๏ธ The complete nine-layer infrastructure stack and how each layer integrates to form a unified, compliance-native trading platform for tokenized securities.


๐Ÿ—๏ธ 2.1 Layered Architecture Overview

๐Ÿ”น 2.1.1 The Nine-Layer Technology Stack

The OTCM Protocol L2 is not a single application but a comprehensive nine-layer infrastructure stack, each layer serving a distinct and irreplaceable function. The stackarchitecture is designed so that securitysecurities compliance enforcement occurs at Layer 2, the lowest possibleprogrammable layer (Layer 2),layer, ensuring that no higher-layer component can bypass, override, or selectively apply the 42 Transfer Hook security controls. This architecture eliminates the attack surface that existspresent in platforms where compliance is implemented at the application layerlayer, ratherwhere thanit can be circumvented by trading venues, third-party wallets, or alternative front-ends that do not share the tokenissuer's transfercompliance primitive.obligations.

Layer

Name

Description

LayerThe 1

Foundation

Solananine-layer blockchaindesign (basereflects layer)lessons providingfrom consensus,both finality,traditional andsecurities network security at 65,000+ TPS with sub-second settlement finality.

Layer 2

Security Enforcement

SPL Token-2022 Transfer Hook extensionsinfrastructure โ€” the Company's most critical innovation. Every ST22 token transfer is intercepted by custom Rust smart contracts that enforce 42 security controls before the transaction completes. See Section 3.

Layer 3

Liquidity Engine

Federated Liquidity Protocol (FLP): sovereign liquidity pools per issuer with optional cross-pool federation routing. Permanently locked liquidity backed 1:1 by Empire Stock Transfer custody. See Section 5.

Layer 4

Custom AMM

OTCM's proprietary Automated Market Maker engine. Major DEXs (Raydium, Orca, Meteora) cannot support Token-2022 Transfer Hooks โ€” they would disable all 42 security controls. OTCM built its own AMM to maintain complete security integrity.

Layer 5

CEDEX

Centralized Exchange with Decentralized settlement โ€” the OTCM trading interface exclusively for ST22 tokens. Combines Web2 user experience with Web3 settlement finality. See Section 4.

Layer 6

Oracle Network

Real-time oracles monitoring SEC EDGAR filings, OTC Markets data, custody verification feeds, and price discovery. Feeds are critical for Transfer Hook decision logic and Predictive AI Module scoring.

Layer 7

DAO Governance

Decentralized Autonomous Organization with multi-tier on-chain voting for protocol upgrades, fee adjustments, and parameter changes. Prevents any single party from unilaterally altering security controls.

Layer 8

Wallet Infrastructure

Native iOS and Android Web3 wallets enabling retail and institutional investors to hold, send, and receive ST22 tokens with full KYC/AMLwhere compliance enforcedexists at the walletinstitutional level.

Layerlevel 9

Predictivebut Marketingcan AIbe Module

Therouted intelligence layer powering the OTCM commercial engine. A proprietary AI system continuously monitors SEC EDGAR filings (Form D, 10-K/Q NLP, 8-K triggers, DEF 14A proxy data) and OTC Markets Group tier data across approximately 15,000 U.S. OTC companies, building a daily-refreshed Issuer Distress and Opportunity Score. The AI simultaneously operates an investor-side behavioral profiling engine targeting verified accredited wallets on Solana for ST22 launch campaigns. Launch Timing Optimization modeling forecasts optimal bonding curve windowsaround by analyzingunregulated competing launch schedules, RPC congestion, sentiment cycles, and historical volume correlation. All AI capabilities are gated behind OTCM Security Token staking tiers and each operation burns tokens permanentlyvenues โ€” creating deflationary demand driven by platform success. See Section 7 for full specification.

The nine-layer architecture represents a deliberate departure from existingand DeFi infrastructure, which was designed for permissionless token movement rather than securities compliance.regulation. Each layer was purpose-built for tokenized securitiessecurities. โ€”No integratinglayer custodyis verificationrepurposed (from general DeFi infrastructure.

 

Network),2

Layer

6

9

Oracle
investor

Predictive eligibilityAI enforcementModule

(Layer
Transfer Hooks), and intelligent issuer/investor discovery (

Layer 9 Predictive Marketing AI)AI Module: EDGAR NLP pipeline, Issuer Distress and Opportunity Score (IDOS) generation, investor targeting engine, Launch Timing Optimization Engine (LTOE). Feeds qualified issuer and investor candidates into athe unifiedplatform stackpipeline. See Section 10.

Layer

8

Wallet Infrastructure

Native iOS and Android wallets with KYC/AML enforcement at wallet activation. Hardware wallet support (Ledger, Trezor) for institutional custody. All wallet operations route through Layer 2 Transfer Hook enforcement regardless of entry point. See Section 9.

Layer

7

DAO Governance

On-chain proposal and voting system with mandatory 48-hour timelock. Governs fee parameters, AMM configuration, and liquidity pool settings. The 42 Transfer Hook security controls are immutable โ€” DAO governance cannot weaken investor protections. Activation target: 2028. See Section 8.

Layer

6

Oracle Network

Real-time data feeds: Empire Stock Transfer custody verification (~400ms), OFAC/SDN hourly refresh, Chainalysis/TRM Labs AML risk scoring, SEC EDGAR issuer data, TWAP price feeds. Layer 6 feeds Layer 2 directly โ€” oracle data drives Transfer Hook decisions on every transaction. See Section 7.

Layer

5

CEDEX

Compliant Exchange for Digital Securities: centralized order matching with decentralized Solana settlement. Exclusive trading venue for all ST22 tokens. Dual-layer execution model โ€” compliance verification layer + trading execution layer. Only exchange that functionsmaintains asall a42 singleTransfer coherentHook systemcontrols ratherpost-trade. thanSee aSection collection6.

Layer

4

Custom AMM Engine

Proprietary Automated Market Maker operating against the Global Unified CEDEX Liquidity Pool. CPMM formula (x ร— y = k) with u128 overflow-safe arithmetic. Purpose-built because all major external DEXs (Raydium, Orca, Jupiter, Meteora) disable SPL Token-2022 Transfer Hooks at trade execution. See Section 5.

Layer

3

Global Unified CEDEX Liquidity Pool

Single protocol-owned liquidity pool shared by all ST22 issuers simultaneously. Seeded once by OTCM Protocol treasury. Deepened continuously by 5% transaction fees across all issuers and by investor secondary sale proceeds. LP tokens burned at initialization โ€” withdrawal mathematically impossible. Replaces per-issuer FLP model. See Section 4.

Layer

2

Security Enforcement

SPL Token-2022 Transfer Hook extensions โ€” 42 sequential security controls enforced on every ST22 token transfer. Controls cover custody verification, OFAC/SDN screening, AML risk scoring, accreditation check, holding period enforcement (Control 24), price impact limits, volume halts, wallet concentration limits, and 33 additional investor protections. Any control failure causes atomic transaction reversion. See Section 3.

Layer

1

Solana Foundation

Solana blockchain base layer providing consensus, finality, and network security. 65,000+ TPS theoretical throughput. ~400ms block confirmation time. ~$0.00025 average transaction cost. Proof of third-partyHistory integrations.(PoH) + Tower BFT consensus. The 400ms block time matches Empire Stock Transfer's custody oracle refresh interval โ€” ensuring real-time 1:1 verification on every block.

 

๐Ÿ”น 2.1.2  Protocol Layer Design Philosophy

The nine-layer architecture enforces strict separation of concerns,concerns whereโ€” each layer handles a distinct responsibility and communicates with adjacent layers through well-defined interfaces to adjacent layers.interfaces. This design enables independent scaling, testing, and upgrading of individual layers whilewithout maintainingcompromising system integrity. A change to Layer 4 (Custom AMM Engine) cannot affect Layer 2 (Security Enforcement) โ€” the compliance controls are structurally isolated from the trading mechanics above them.

 

RPC Integration

LayerPrinciple

NameImplementation

PrimarySecurity ResponsibilityConsequence

LayerCompliance 1at lowest layer

Application Layer

User interfaces, portal access, experience management

Layer 2

Compliance Enforcement

Transfer Hooks,Hooks KYC/AML,intercept OFAC,every securitiestransfer lawbefore automationsettlement

Cannot be bypassed by any higher-layer component including OTCM itself

LayerSingle-venue 3enforcement

Trading & Liquidity

CEDEX engine,is bondingthe curves,only CPMM,exchange that preserves all 42 Transfer Hook controls

Eliminating multi-venue fragmentation eliminates compliance gaps

Protocol-owned liquidity

Global pool funded by OTCM treasury โ€” not per-issuer or market-maker

No single issuer failure can drain pool or eliminate liquidity poolsfor others

LayerEmpire 4as custody authority

BlockchainEmpire InfrastructureStock Transfer holds Series M shares and owns investor onboarding

Regulated custodian โ€” not OTCM โ€” controls the financial relationship

Immutable security controls

42 Transfer Hook controls in immutable on-chain program

DAO governance cannot weaken investor protections

On-chain audit trail

Every Transfer Hook decision permanently recorded on Solana

L1,
nodes,

Complete, consensus,immutable finalitycompliance history for every transaction

Layer 5

External

Custody verification, oracles, SEC EDGAR, analytics

 

๐Ÿ”น 2.1.3  Architecture Diagram โ€” Data Flow

The following diagram illustrates the nine-layer logical architecture anddescribes directional data flows:flow across the nine layers during a standard ST22 token transfer on CEDEX:


 

//OTCMProtocolโ€”


























โ”‚BondingCurve โ”‚ CPMM post-grad โ”‚ Order matching โ”‚ Compliance UI       โ”‚
โ””---โ”ฌ---โ”˜
โ”‚ AMM execution
โ”Œ---โ”ด---โ”
โ”‚  LAYER 4: CUSTOM AMM ENGINE                                           โ”‚
โ”‚  Token-2022 native โ”‚ Price discovery โ”‚ Fee routing (5% protocol)      โ”‚
โ””---โ”ฌ---โ”˜
โ”‚ Liquidity depth
โ”Œ---โ”ด---โ”
โ”‚  LAYER 3: FEDERATED LIQUIDITY PROTOCOL (FLP)                          โ”‚
โ”‚  Per-issuer sovereign pools โ”‚ Cross-pool federation โ”‚ Permanent locks   โ”‚
โ””---โ”ฌ---โ”˜
โ”‚ Oracle feeds for hook logic
โ”Œ---โ”ด---โ”
โ”‚  LAYER 6: ORACLE NETWORK                                              โ”‚
โ”‚  EST Custody โ”‚ OFAC/SDN โ”‚ Chainalysis/TRM โ”‚ SEC EDGAR โ”‚ Price Feeds  โ”‚
โ””---โ”ฌ---โ”˜
โ”‚ Enforces 42 controls on every transfer
โ”Œ---โ”ด---โ”
โ”‚  LAYER 2: SECURITY ENFORCEMENT โ€” SPL TOKEN-2022 TRANSFER HOOKS         โ”‚
โ”‚  Hook 1: Custody โ”‚ Hook 2: OFAC โ”‚ Hook 3: AML โ”‚ Hooks 4-6 + 36 Supp.  โ”‚
โ””---โ”ฌ---โ”˜
โ”‚ Consensus + settlement finality
โ”Œ---โ”ด---โ”
โ”‚  LAYER 1: SOLANA FOUNDATION                                           โ”‚
โ”‚  65,000+ TPS โ”‚ 400ms blocks โ”‚ PoH + Tower BFT โ”‚ Gulf Stream          โ”‚
โ””---โ”˜
Nine-

Flow Direction

Path

Description

Downward (request)

Layer Architecture9/8/5 //โ†’ Layer 2 โ†’ Layer 1

User or AI action flows down through Transfer Hook verification (Layer 2), drawing oracle data from Layer 6, before settling on Solana (Layer 1)

Oracle feed

Layer 6 โ†’ Layer 2

Empire custody data, OFAC/SDN list, AML scores, and TWAP prices feed Layer 2 Transfer Hook decision logic directly โ€” not through higher layers

Upward (confirmation)

Layer 1 =โ†’ FoundationLayer 2 โ†’ Layer 5/8

Settlement confirmation propagates upward from Solana through compliance acknowledgement at Layer 2, into CEDEX order book update at Layer 5 / wallet balance update at Layer 8

Governance

Layer 7 โ†’ Layer 2/3/4

DAO-approved parameter changes write to Layer 2, Layer 3, and Layer 4 configuration via 48-hour timelock โ€” the only cross-layer write path not triggered by a token transfer

AI pipeline

Layer 9 โ†’ Layer 5

IDOS scores and investor targeting data from Layer 9 =populate Intelligence) โ”Œ---โ” โ”‚ LAYER 9: PREDICTIVE MARKETING AI MODULE โ”‚ โ”‚ EDGAR NLP โ”‚ IDOS Scoring โ”‚ Investor Targeting โ”‚ Launch Timing Optimizer โ”‚ โ””---โ”ฌ---โ”˜ โ”‚ Feedsthe issuer + investoracquisition pipeline โ”Œ---โ”ด---โ”and โ”‚feed LAYER 8: WALLET INFRASTRUCTURE โ”‚ โ”‚ iOS Wallet โ”‚ Android Wallet โ”‚ KYC/AML at wallet โ”‚ HW Vault support โ”‚ โ””---โ”ฌ---โ”˜ โ”‚ Governance โ”Œ---โ”ด---โ” โ”‚ LAYER 7: DAO GOVERNANCE โ”‚ โ”‚ On-chain proposals โ”‚ 48hr timelock โ”‚ Security param governance โ”‚ โ””---โ”ฌ---โ”˜ โ”‚ Trade routing + settlement โ”Œ---โ”ด---โ” โ”‚ LAYER 5:into CEDEX (Centralized-Decentralizedlaunch Exchange)mechanics

โ”‚

Note: 

Layer5CEDEX

Critical Architecture Principle

Layer 6 (Oracle Network) feeds Layer 2 (Security Enforcement) directly withโ€” not through Layer 5 (CEDEX) or any application layer. This means compliance decisions are based on authoritative real-time custody,data sanctions,from Empire Stock Transfer, OFAC, and AML data. Layer 9 (AI Module) operates as an intelligence overlayproviders โ€” consumingnot Layeron 6data that has passed through OTCM's own application stack. Any attempt to manipulate oracle feedsinputs andwould populatinghave theto issuercompromise pipelineEmpire thatStock feedsTransfer's qualifiedcustody candidatessystem intodirectly, thenot IssuersOTCM's Portalsoftware.

and
launch

 mechanism.

๐Ÿ”น 2.1.4  Cross-Layer Communication

Inter-layer communication follows strict protocols ensuring data integrity and systemseparation reliability:of responsibilities:

 

โ€ข       Downward Communication (Request Flow): โ€” Actions at Layer 9 (AI Module), Layer 8 (Wallet), or Layer 5 (CEDEX) flow downward through Layer 2 (Security Enforcement) for Transfer Hook verification, drawing oracle data from Layer 6, before settling on Layer 1 (Solana).Downward CommunicationNo (Requesthigher-layer Flow):action Actions atreaches Layer 91 (AIwithout Module), Layer 8 (Wallet), or Layer 5 (CEDEX) flow downwardpassing through Layer 2 (Security Enforcement) for Transfer Hook verification, drawing oracle data from Layer 6, before settling on Layer 1 (Solana).compliance.

โ€ข       Upward Communication (Response Flow): โ€” Settlement confirmations propagate upward from Layer 1 through Layer 2 compliance acknowledgement, Layer 6 oracle confirmation, and into the user-facing interfaces at Layer 5 /and Layer 8,8. withA full on-chain audit trail written at each layer.Upward Communication (Response Flow): Settlement confirmations propagate upward from Layer 1 through Layer 2 compliance acknowledgement, Layer 6 oracle confirmation, and into the user-facing interfaces at Layer 5 / Layer 8, with full on-chain audit trailis written at each layer.layer transition.

Horizontalโ€ข       Communication:Oracle HorizontalFeeds Communication:(Layer Components6 withinโ†’ eachLayer layer2) communicateโ€” viaEmpire definedStock internalTransfer APIs.custody data, OFAC/SDN list updates, AML risk scores, and price oracle feeds flow directly from Layer 6 to Layer 2. This is the only external data channel that influences compliance decisions โ€” it does not pass through OTCM's application layer.

โ€ข       Governance Writes (Layer 7 (โ†’ Layers 2/3/4) โ€” Passed DAO Governance) has a unique horizontal relationship: passed governance proposals write directly to parameter configurations in Layer 2, Layer 3, and Layer 4 via athe 48-hour timelock mechanismmechanism. โ€”This is the only cross-layer write path not triggered by a token transfer event. Governance cannot write to the immutable Transfer Hook security control logic โ€” only to adjustable parameters within defined governance bounds.

โ€ข       Horizontal Communication โ€” Components within each layer communicate via defined internal APIs. No horizontal communication crosses layer boundaries โ€” all cross-layer interaction follows the directional protocols above.

 

โšก 2.2  Layer 1: Solana Blockchain Foundation

OTCM Protocol's technical foundation rests on Solana, a monolithichigh-throughput Layer 1 blockchain protocol designed for low-latency, high-throughput, low-latencyvolume transaction processing. Unlike modular blockchains (such as Ethereum) that offload scaling to separate Layer 2 solutions, Solana handles all transaction processing, state management, and consensus directly on its base layerโ€”layer โ€” a critical characteristicproperty for securities trading where settlement certainty and deterministic execution are paramount.

 

๐Ÿ”น 2.2.1  Why Solana: Technical Rationale

The selection of Solana as OTCM'OTCM Protocol's blockchain infrastructure reflects carefula analysissingle decisive criterion: SPL Token-2022 Transfer Hook support. No other production blockchain provides native, atomic compliance enforcement at the token transfer primitive. The performance and cost advantages of securitiesSolana tradingreinforce requirementsthis mappedselection againstbut availableare blockchainsecondary capabilities:to the compliance architecture capability.

 

Model

Requirement

TraditionalEthereum Alternative(alternative)

Solana Capability(selected)

Transfer Hook enforcement

Not natively supported โ€” requires proxy patterns at significant gas cost

Native SPL Token-2022 standard โ€” atomic, low-cost, no proxy needed

Transaction Throughputthroughput

Ethereum: 15-15โ€“30 TPS practical

65,000+ TPS theoretical ยท 400โ€“600 TPS for compliance-verified ST22 trades

Block Timetime

Ethereum: ~12 seconds

~400ms slotsโ€” matches Empire custody oracle refresh interval

Transaction Costcost

Ethereum: $1-1โ€“$50+ per transaction

$0.0001 - 0001โ€“$0.0025 per transaction

FinalitySmart Timecontract execution

Ethereum:Sequential EVM โ€” limits parallel compliance checking

Sealevel parallel execution โ€” enables concurrent Transfer Hook verification

Settlement finality

~6 minutes (32 block confirmations)

~13 seconds (32 blocks)block confirmations)

Smart Contract

Ethereum: Sequential EVM

Parallel Sealevel execution

Token Standard

ERC-20/ERC-1400

SPL Token-2022 + Transfer Hooks

๐Ÿ’ก Critical Design Decision

SPL Token-2022's Transfer Hook extension enables OTCM to execute compliance verification during every token transfer at the protocol levelโ€”a capability not available on Ethereum or most other blockchains without complex, gas-intensive proxy patterns.

๐Ÿ”น 2.2.2  Core Protocol Innovations

Solana achieves its exceptionalperformance performancecharacteristics through eight core innovations within its base layer.innovations. Understanding these innovations is essential context for comprehending how OTCM'OTCM Protocol's compliance-intensive operationsTransfer executeHook efficiently:architecture executes efficiently at scale:

 

โ€ข       Proof of History (PoH)

Proofโ€” ofA HistorySHA-256 functionshash as a "cryptographic clock"chain that timestamps transactions before they enter consensus.consensus, Traditionaleliminating blockchainsthe requireneed nodesfor tonetwork-wide communicate extensivelycommunication to agree on transaction orderingordering. This 'cryptographic clock' is the primary source of Solana's throughput advantage and timing.the PoHmechanism pre-establishesthat aenables verifiabledeterministic sequence400ms ofblock eventstimes.

through

โ€ข       aTower SHA-256BFT hashConsensus chain,โ€” whereA eachPoH-optimized hashByzantine dependsFault onTolerant consensus algorithm that leverages the previoushistorical output.

record


to
//reduce PoHmessage Sequence Generation
// Proof of History Hash Chain

hash_n = SHA256(hash_n-1)

hash_n+1 = SHA256(hash_n)


// Each hash proves a specific amount of time has passed
//complexity. Validators can verifyagree orderon withoutblock communication
validity

OTCMfaster Application:because TransferPoH Hookprovides verificationa benefitsshared, from PoH's pre-established ordering. Compliance checks execute in deterministic sequence without consensus delays, enabling the 750-1,250ms total verificationverifiable time despite six sequential hooks.reference.

Towerโ€ข       BFT

Tower BFT represents Solana's custom implementation of Practical Byzantine Fault Tolerance (PBFT) consensus, optimized to leverage PoH as its clock source. Traditional PBFT requires O(nยฒ) message complexity for n validators; Tower BFT reduces this through PoH-synchronized voting.

Consensus Parameters:

  • Vote Lockout: Validators commit to votes with exponentially increasing lockout periods
  • Rollback Cost: Switching votes becomes exponentially more expensive over time
  • Finality: 32-block confirmation provides practical finality (~13 seconds) Sealevel: Parallel Smart Contract Execution

Sealevel is Solana's parallel execution engine that processes thousands of smart contracts simultaneously. Unlike Ethereum's sequential EVM, Sealevel identifies non-overlapping transactions and executes them in parallel across available CPU cores.


// Sealevel Parallel Scheduling
// Transaction Parallelization Logic
fn schedule_transactions(txs: Vec) -> ExecutionPlan {
// Group transactions by account access patterns
let read_only: Vec<&Transaction> = filter_read_only(txs);
let write_sets: HashMap> = group_by_writes(txs);
// Transactions touching different accounts execute in parallel
// Transactions touching same account execute sequentially

ExecutionPlan::optimize(read_only, write_sets)

}

OTCM Application: CEDEX trading transactions touching different ST22 token pairs execute in parallel, enabling the platform to handle hundreds of concurrent trades. Transactions involving the same token pair serialize automatically, ensuring atomic state updates.

Turbine:Turbine Block Propagation Protocol

โ€”

Turbine addresses the bandwidth bottleneck ofA block propagation byprotocol breakingthat blocksbreaks data into smallersmall packets distributedand throughpropagates them across the network in a structured tree structure.pattern Eachโ€” validatorsimilar receivesto partialBitTorrent. dataReduces bandwidth requirements and forwardsenables it to downstream validators, achieving O(log n)fast propagation complexity.even as block size grows.

โ€ข       Block Propagation Specifications:

  • Packet Size: 64KB shreds (erasure-coded fragments)
  • Fanout Factor: Each node forwards to 200 downstream nodes
  • Reconstruction: 67% of shreds required to reconstruct complete block Gulf Stream:Stream Mempool-less Transaction Forwarding

Gulfโ€” StreamTransactions eliminatesare forwarded directly to the traditional mempool by forwarding transactions to upcomingexpected leader validatorsvalidator before the current block finalizes.finalizes, eliminating the mempool bottleneck. This reducesenables higher throughput and faster confirmation latencywith lower memory requirements.

โ€ข       Sealevel Parallel Smart Contract Execution โ€” OTCM Protocol's most important Solana-specific capability: Sealevel enables parallel execution of non-overlapping transactions. Multiple ST22 Transfer Hook verifications can execute simultaneously on different accounts โ€” a critical performance property for a platform processing thousands of concurrent trades.

โ€ข       Pipelining Transaction Processing โ€” A Transaction Processing Unit (TPU) that validates, processes, and memorycommits pressuretransactions through parallel hardware stages, similar to a CPU pipeline. Eliminates sequential bottlenecks in transaction processing.

โ€ข       Cloudbreak Horizontally Scaled State โ€” Solana's accounts database is designed for simultaneous read/write access across themultiple network.

OTCM Application: CEDEX transactions forward immediately to the next leader, reducing the time between user submission and inclusion in a block.SSDs. This enables the sub-secondhigh-throughput userstate experiencemanagement despiterequired comprehensivefor complianceOTCM's verification.Transfer Hook oracle reads on every transaction.

Cloudbreak:โ€ข       HorizontallyArchivers Scaled Account Database

Cloudbreak implements Solana's account database using memory-mapped files optimized for concurrent reads and writes. The system supports parallel access patterns essential for high-throughput trading operations.

Pipelining: Transaction Processing Unit

Solana's transaction processing pipeline operates similarly to CPU instruction pipelining, with distinct stages for data fetching, signature verification, banking (state changes), and recording. Different transactions occupy different pipeline stages simultaneously.

Stage 1

Stage 2

Stage 3

Stage 4

Data Fetch

Signature Verify

Banking

Recording

GPU

GPU

CPU

Kernel

Archivers:โ€” Distributed Ledger Storage

Archiversโ€” areLedger specializeddata is distributed to network nodes responsiblecalled Archivers for distributed ledgerlong-term storage, keepingoffloading transactionthe historyburden accessible without overburdeningfrom validators. ThisEnsures separationthe ofimmutable concerns enables validators to maintain high performance while ensuring complete historical data availability foron-chain compliance and audit purposes.

trail

๐Ÿ”นOTCM 2.2.3Protocol Consensus Mechanism Deep Dive

Solana employs a hybrid consensus mechanism combining Proof of History (PoH) with Delegated Proof of Stake (dPoS). This hybrid approach achieves Byzantine Fault Tolerance while maintaining the throughput necessary for securities trading applications.

Consensus Flow:

  • Leader Selection: A deterministic schedule rotates leader responsibility among validators basedwrites on stake weight
  • Block Production: The leader validator receives transactions via Gulf Stream and produces blocks with PoH timestamps
  • Block Propagation: Turbine distributes block shreds through the validator network
  • Voting: Validators vote on block validity using Tower BFT with exponential lockout
  • Finality: After 32 confirmations (~13 seconds), transactions achieve practical finality

๐Ÿ”น 2.2.4 Network Performance Specifications

Metric

Specification

OTCM Utilization

Theoretical TPS

65,000+

400-600 TPS (compliance overhead)

Block Time (Slot)

400ms

Used for PoH synchronization

Finality Time

~13 seconds (32 blocks)

Settlement certainty for trades

Transaction Cost

$0.0001 - $0.0025

~5,000 lamports base fee

Architecture Type

Monolithic L1

No L2 dependency for settlement

Consensus

PoH + dPoS (Tower BFT)

Deterministic ordering

๐Ÿ“ 2.3 Layer-by-Layer Technical Specifications

This section provides detailed technical specifications for each layer of the nine-layer architecture, including interface definitions, performance requirements, and integration protocols. Layers are grouped by functional relationship where appropriate.

๐Ÿ”น 2.3.1 Layers 1, 8 & 9: Application, Wallet & AI Module

The Application Layer provides user-facing interfaces enabling interaction with OTCM Protocol. All interfaces share common authentication, state management, and API connectivity patterns while presenting specialized functionality for different user types.

Issuers Portal

Purpose: Comprehensive onboarding and management interface for companies tokenizing securities through OTCM Protocol.

Core Functions:

  • Company Registration: SEC CIK validation, corporate document upload, authorized signatory verification
  • Series M Configuration: Share class creation parameters, conversion ratios, custody arrangements
  • ST22 Token Management: Minting authorization, vesting schedule configuration, treasury management
  • Compliance Dashboard: Real-time trading analytics, regulatory reporting, investor cap table

Component

Technology Stack

Frontend Framework

React 18+ with TypeScript, TailwindCSS

State Management

Redux Toolkit with RTK Query for API caching

Wallet Integration

Solana Wallet Adapter (Phantom, Solflare, Ledger)

Authentication

SIWS (Sign-In With Solana) + JWT sessions

Document Processing

DocuSign API for legal signatures, S3 for storage

CEDEX Trading Interface

Purpose: Real-time trading interface enabling ST22 token transactions with integrated compliance verification.

Core Functions:

  • Market Discovery: Token listing, price charts, volume analytics, market depth visualization
  • Order Execution: Market orders, limit orders, swap interface with slippage protection
  • Portfolio Management: Holdings display, transaction history, P&L tracking
  • Compliance Status: Real-time KYC status, verification requirements, restriction alerts Staking Interface

Purpose: Staking management dashboard for OTCM token holders participating in protocol governance and rewards.

Core Functions:

  • Stake Management: Deposit/withdraw OTCM tokens, delegation to validator nodes
  • Rewards Tracking: APY display (8-60%), reward accrual, claim functionality
  • Epoch Management: 2.6-day epoch visualization, reward distribution timing
  • Governance: Voting on protocol proposals, delegation to representatives DAO Governance Interface (Layer 7)

Purpose: On-chain governance portal for OTCM Security Token holders to propose and vote on protocol parameter changes, security control updates, and treasury decisions.

Core Functions:

  • Proposal Management: Submit, review, and vote on protocol governance proposals with quorum requirements
  • Security Control Governance: Multi-tier voting required for anyevery Transfer Hook parameterdecision change
  • Timelockis Enforcement:permanently 48-houraccessible.

    execution

     delay

    on

    2.2.3 all passedSPL proposals

  • TreasuryToken-2022: Oversight:The DAOCompliance-Critical governanceStandard over

    SPL Token-2022 is Solana's next-generation token program. Its Transfer Hook extension is the foundational capability that makes the OTCM Protocol developmentcompliance fundarchitecture allocationpossible. Web3Without WalletTransfer ApplicationHook support, OTCM would be forced to implement compliance at the application layer โ€” exactly the architecture the January 28, 2026 Joint Staff Statement identifies as creating Category 2 (LayerThird-Party 8)

Sponsored) risk exposure.

Purpose: Native

iOSandAndroidwallet Management:accreditation Send,receive,stake, and redeem ST22 with full Transfer Hook enforcement
  • Institutional Support: Ledger and Trezor hardware wallet integration; multi-sig custody Predictive Marketing AI Dashboard (Layer 9)
  • exposing Dashboard:
    applications

    SPL forToken-2022 compliantFeature

    OTCM Protocol Usage

    Transfer Hooks

    42 security controls invoked atomically on every ST22 tokentransfer management.โ€” the core compliance enforcement mechanism

    CoreMetadata Functions:Extension

    • Portfolio
    Multi-

    Token metadata stored on-chain: issuer ST22identity, holdingsCUSIP, display,Series transactionM history,authorization P&Ldetails, tracking

  • Embeddedregulatory KYC/AML:classification

    Inline
  • Permanent Delegate

    Empire Stock Transfer designated as permanent delegate authority โ€” enables custody oracle verification and complianceemergency statusfreeze display

  • Tokencapability

    Operations:
  • Purpose:Confidential IntelligenceTransfers

    interface
    AI module capabilities

    Available for issuersfuture andinstitutional operators.privacy requirements โ€” not currently activated in production

    CoreTransfer Functions:Fee Extension

    • IDOS
    Real-time

    5% Issuerprotocol Distresstransaction andfee Opportunityconfigured Scoreat rankings across 15,000+ OTC companies

  • Investor Pool Analytics: Qualified accredited wallet targeting for ST22 launch campaigns
  • Launch Timing: Launch Readiness Score monitoring and optimal window recommendations
  • Burn Analytics: Real-time on-chain tracking of OTCMthe token burnsprogram fromlevel AIโ€” modulecannot operations
  • be

    ๐Ÿ”นbypassed by trading venues

     

    2.3.23  Layer 2: Security Enforcement โ€” SPL Token-2022 Transfer Hooks

    Layer 2 is OTCM Protocol's most critical innovation. It is the only layer in the nine-layer stack that cannot be disabled, upgraded, or worked around by any participant โ€” including OTCM Protocol itself. The 42 security controls implemented in Layer 2 are the technical expression of the Alesia Doctrine: compliance by encirclement, not by trust.

    Every ST22 token transfer โ€” whether initiated through CEDEX, a hardware wallet, a third-party interface, or any other entry point โ€” must pass through all 42 Transfer Hook controls before the transaction completes on-chain. There is no administrative override. There is no whitelist for trusted parties. The controls execute identically for every participant on every transfer.

     

    2.3.1  The 42 Controls โ€” Six Categories

     

    Category

    Controls

    Description

    Custody & Asset Backing

    Controls 1, 36โ€“42

    Verify circulating token supply never exceeds Empire-custodied Series M share count. Control 1 is the primary custody oracle check (Security~400ms). Enforcement)Controls implements36โ€“42 OTCM'provide redundant custody verification channels.

    Sanctions & AML

    Controls 2, 3

    Control 2: OFAC/SDN real-time screening of both sender and recipient (updated hourly). Control 3: ML-based AML risk scoring (0โ€“30 approve / 31โ€“70 enhanced review / 71โ€“100 reject). Error codes 6002/6003.

    Investor Eligibility

    Controls 4, 24, 25โ€“30

    Control 4: Accreditation verification โ€” buyer must be a verified accredited investor in Empire's system. Control 24: Holding period enforcement โ€” Rule 144 (6 months US) / Reg S (12 months non-US), Error 6024. Controls 25โ€“30: KYB/entity verification for institutional investors.

    Market Integrity

    Controls 5, 16, 17, 18

    Control 5: Wallet concentration limit โ€” no single wallet may exceed 4.99% of circulating supply. Control 16: Price impact limit โ€” rejects transactions exceeding 2% TWAP deviation. Control 17: TWAP oracle integrity check. Control 18: Volume halt โ€” 24-hour suspension if any wallet sells >30% of circulating supply.

    CEI & Reentrancy

    Controls 6โ€“15

    Checks-Effects-Interactions pattern enforcement on all Cross-Program Invocations (CPI). Prevents reentrancy attacks across the 42-control securityexecution chain.

    Governance & Audit

    Controls 19โ€“23, 31โ€“35

    Governance parameter validation โ€” ensures runtime values are within DAO-approved bounds. Immutable audit log writes โ€” every Transfer Hook decision permanently recorded on-chain with full context.

     

    2.3.2  Control 24: Holding Period Enforcement

    Control 24 is the specific Transfer Hook control that enforces the mandatory holding periods required by Regulation D Rule 506(c) and Regulation S. It is the on-chain mechanism that makes OTCM Protocol's issuance model legally compliant at the transfer primitive rather than relying on investor self-compliance.

     

    โ€ข       Purchase timestamp recording โ€” When Empire Stock Transfer delivers ST22 tokens to a verified investor wallet, the timestamp is recorded on-chain in the investor's VestingAccount state. This record is immutable.

    โ€ข       Jurisdiction flag โ€” Each investor wallet is flagged as U.S. (Reg D) or non-U.S. (Reg S) based on Empire's KYC/KYB determination. The flag determines which holding period applies.

    โ€ข       Transfer attempt check โ€” On every transfer attempt, Control 24 computes: current_timestamp โˆ’ purchase_timestamp and compares it to the applicable threshold (15,778,800 seconds / 6 months for U.S.; 31,536,000 seconds / 12 months for non-U.S.).

    โ€ข       Rejection before expiry โ€” If the holding period has not elapsed, the transaction reverts with Error 6024 (TokensLocked). No partial compliance, no grace period, no administrative override.

    โ€ข       Automatic clearance โ€” Once the holding period elapses, Control 24 clears automatically on the next transfer attempt. No action required from the investor, Empire, or OTCM Protocol.

     

    2.3.3  Execution Architecture

    The 42 Transfer Hook controls execute through an optimized parallel architecture designed to achieve sub-1,000ms total verification time while maintaining atomic transaction guarantees:

     

    Execution Phase

    Controls

    Method

    Target Latency

    Critical path โ€” sequential

    Controls 1, 2, 3, 4, 24

    Sequential โ€” each must pass before next executes

    400โ€“600ms

    Market integrity โ€” parallel

    Controls 5, 16, 17, 18

    Parallel execution alongside critical path

    50โ€“100ms

    CEI enforcement โ€” parallel

    Controls 6โ€“15

    Parallel CPI validation

    20โ€“50ms

    Governance validation โ€” parallel

    Controls 19โ€“23

    Parallel parameter boundary check

    10โ€“30ms

    Audit log write

    Controls 31โ€“35

    Asynchronous after approval decision

    Non-blocking

    Extended custody verification

    Controls 36โ€“42

    Parallel redundant oracle cross-check

    100โ€“200ms

    Total (parallel)

    All 42

    Parallel execution reduces total to critical path time

    < 1,000ms

     

    2.4  Layer 3: Global Unified CEDEX Liquidity Pool

    Layer 3 is the liquidity infrastructure that makes secondary trading economically viable for all ST22 issuers simultaneously. In the V7 architecture, Layer 3 is a single, protocol-owned global pool rather than the per-issuer sovereign pool model used in earlier versions. This change resolves the fundamental bootstrapping problem that has caused every prior microcap liquidity solution to fail.

     

    2.4.1  The Bootstrapping Problem โ€” Why Per-Issuer Pools Fail

    Every prior attempt to create secondary market liquidity for microcap OTC securities has failed for the same reason: each issuer or each token requires its own liquidity โ€” and the cost of creating adequate per-token liquidity exceeds the economic capacity of the issuers and investors involved.

    Traditional market makers face the same problem. A market maker committing $50,000 in capital to support a single illiquid OTC security earns perhaps $200 in daily spread revenue. The economics do not work. Each token launched on a bonding curve or seeded with per-issuer liquidity starts from zero depth and must independently reach the critical mass required for meaningful price discovery. Most never do.

     

    2.4.2  The Global Pool Architecture

    The OTCM Global Unified CEDEX Liquidity Pool solves the bootstrapping problem by inverting the economics. Rather than each issuer creating its own pool from zero, all ST22 issuers trade against a single protocol-owned pool that accumulates depth from the first day of operation and deepens with every new issuer that onboards:

     

    โ€ข       One-time treasury seed โ€” OTCM Protocol seeds the pool once from its treasury at platform launch. This is the only capital deployment required from OTCM โ€” no per-issuer contribution is needed.

    โ€ข       5% transaction fee accumulation โ€” Every trade on CEDEX across every ST22 issuer generates a 5% fee. A defined allocation of this fee routes directly to the Global Pool. As trading volume grows with each new issuer, pool depth grows proportionally.

    โ€ข       Investor secondary sale routing โ€” When accredited investors sell ST22 tokens after the holding period expires, proceeds route into the Global Pool โ€” providing ongoing buy-side depth and creating a direct link between investor liquidity and pool deepening.

    โ€ข       Permanent lock โ€” LP tokens are burned at pool initialization. There is no withdrawal mechanism โ€” not for OTCM Protocol, not for any investor, not for any DAO vote. Once capital enters the Global Pool, it is permanently committed to providing liquidity for all ST22 issuers.

     

    2.4.3  Network Effect Economics

    The Global Pool creates a compounding network effect that makes the platform more valuable with every issuer:

     

    Pool State

    Depth Effect

    For New Issuers

    For Existing Issuers

    1 issuer

    Thin โ€” minimum viable trading

    Pool provides basic buy-side

    โ€”

    10 issuers

    Moderate depth from accumulated fees

    Significantly better price discovery

    Deeper pool reduces price impact

    50 issuers

    Strong depth โ€” institutional-grade price discovery

    Day-one liquidity comparable to established markets

    Low slippage on large trades

    100+ issuers

    Self-sustaining โ€” fees alone maintain and grow pool

    Access to deep pre-existing market

    Network effect fully operational

     

    "The Global Unified CEDEX Liquidity Pool is the first market infrastructure for OTC microcap securities where the n+1 issuer benefits from the work done by issuers 1 through n. Every issuer that onboards makes the platform better for all existing issuers โ€” and for all future issuers. This compounding dynamic does not exist in any prior microcap liquidity solution."

     

    2.5  Layers 4โ€“9: Overview

    The remaining five layers are described in dedicated sections. The following provides a reference summary of each layer's function, key architectural decision, and cross-reference to its full specification:

     

    completes. capabilitysequential error,

    Layer

    Name

    Key Architectural Decision

    Section

    Layer 4

    Custom AMM Engine

    Purpose-built CPMM specifically to support SPL Token-2022 Transfer Hooks,Hooks interceptingโ€” everyexternal DEXs disable Transfer Hook functionality

    Section 5

    Layer 5

    CEDEX

    Dual-layer execution: centralized OMS for order matching + decentralized Solana settlement for Transfer Hook enforcement. Exclusive ST22 transfertrading beforevenue.

    it

    Section 6

    Layer 6

    Oracle dataNetwork

    from

    Layer 6 feeds real-timeLayer 2 directly โ€” empire custody balances,oracle sanctions(~400ms), lists,OFAC/SDN andhourly, AML scoresreal-time, intoEDGAR eachdaily. hook'sNot decisionrouted logic.through Seeapplication layer.

    Section 3 for the full specification:7

    TransferLayer Hook Architecture7

    SPLDAO Token-2022'sGovernance

    On-chain governance with 48-hour timelock. 42 Transfer Hook extensioncontrols enablesare customimmutable programโ€” executionDAO duringcannot everyweaken tokeninvestor transfer.protections. OTCMActivation: leverages2028.

    this
    to

    Section implement8

    six

    Layer 8

    Wallet Infrastructure

    KYC/AML enforced at wallet activation โ€” compliance verificationis hooks:

    ambient,

    Hook

    Function

    Datanot Source

    Latency

    Error

    Hookoptional. 1

    CustodyRoutes Verification

    Empireall Stockoperations API

    100-150ms

    6001

    Hookthrough Layer 2

    OFAC Screening

    SDN List Oracle

    200-500ms

    6002

    Hook 3

    AML Analytics

    Chainalysis/TRM

    300-400ms

    6003

    Hook 4

    Redemption Eligibility

    KYC Registry

    50-100ms

    6004

    Hook 5

    Price Impact Limit

    TWAP Oracle

    50-100ms

    6006

    Hook 6

    Liquidity Ratio

    Pool State

    50-100ms

    6007

    TOTAL

    Complete Verification Pipeline

    โ€”

    750-1,350ms

    โ€”

    ๐Ÿ’ก Atomic Execution Guarantee

    If any Transfer Hook returnsenforcement.

    an

    Section 9

    Layer 9

    Predictive AI Module

    EDGAR NLP + IDOS scoring across ~15,000 OTC companies. Generates daily-refreshed tokenization readiness scores. Powers issuer acquisition pipeline.

    Section 10

     

    2.6  Architecture Security Properties

    The nine-layer architecture produces a set of security properties that are structural โ€” they arise from the entirearchitecture transactionitself, revertsnot atomically.from Thispolicy, ensurestrust thatrelationships, non-compliantor transfersoperator canbehavior. neverThese execute,properties evenhold partially.regardless Solana'sof accountwhether modelOTCM andProtocol Sealevel'sacts transactionin isolationgood guaranteefaith, this atomicity.

    Hook Implementation Details

    Hook 1 โ€” Custody Verification Oracle:


    // Hook 1: Custody Verification (Rust/Anchor)
    pub fn verify_custody(

    ctx: Context<CustodyVerification>,

    transfer_amount: u64,

    ) -> Result<()> {


    let oracle_data = ctx.accounts.custody_oracle.load()?;
    let total_circulating = ctx.accounts.mint.supply;
    let custodied_shares = oracle_data.verified_balance;
    // Ensure tokens never exceed custodied backing
    require!(

    total_circulating + transfer_amount <= custodied_shares,

    OtcmError::InsufficientCustody // Error 6001

    );


    emit!(CustodyVerified { timestamp: Clock::get()?.unix_timestamp });
    Ok(())

    }

    Hook 3 โ€” AML Risk Scoring:

    The AML verification hook implements a three-tier risk scoring system:

    • Risk Score 0-30: Automatic approval โ€” transaction proceeds without delay
    • Risk Score 31-70: Enhanced review โ€” transaction proceeds but flagged for compliance team review
    • Risk Score 71-100: Automatic rejection โ€” transaction reverts with error 6003

    ๐Ÿ”น 2.3.3 Layers 3, 4 & 5: Federated Liquidity, Custom AMM & CEDEX

    Layers 3, 4, and 5 formbecause the integratedarchitecture trading and liquidity stack. Layer 3 (Federated Liquidity Protocol) manages sovereign per-issuer liquidity pools. Layer 4 (Custom AMM) is OTCM's proprietary AMM, purpose-built for Token-2022 compliance. Layer 5 (CEDEX) is the trading interface combining centralized order matching with decentralized settlement:Sealevel parallel execution to process multiple trades concurrently while maintaining atomic state updates.

    CEDEX Engine

    CEDEX operates as a purpose-built trading infrastructure combining centralized order matching efficiency with decentralized settlement guarantees:

    Bonding Curve Trading (Pre-Graduation):

    New ST22 tokens begin trading on bonding curves using a modified constant product formula:


    // CEDEX Bonding Curve Formula
    // Bonding Curve Price Formula
    price = (SOL_reserve + delta_SOL) / (token_supply - delta_tokens)
    // With 5% protocol fee:
    effective_price = price * 1.05
    // Graduation triggers when market_cap >= $250,000 USD
    // CANONICAL DEFINITION: market_cap = P(n_current) x circulating_supply
    // P(n_current) = bonding curve price at current tokens issued (no oracle needed)
    // Evaluation occurs on every buy/sell. No circular dependency.
    CPMM Trading (Post-Graduation):

    Upon graduation (market cap โ‰ฅ $250,000), tokens transition to Constant Product Market Maker (CPMM) mechanics with deeper liquidity:


    // CPMM Swap Calculation
    // CPMM Invariant: k = x * y (constant product)
    // Where x = SOL reserves, y = token reserves
    fn calculate_output(

    input_amount: u64,

    input_reserve: u64,

    output_reserve: u64,

    ) -> u64 {


    let input_with_fee = input_amount * 9955; // 0.45% fee
    let numerator = input_with_fee * output_reserve;
    let denominator = (input_reserve * 10000) + input_with_fee;

    numerator / denominator

    }

    OTCM Liquidity Pool

    The OTCM Liquidity Pool aggregates capital from four sources, creating unified market depth across all ST22 tokens:

    Capital Source

    Contribution Rate

    Lock Status

    Bonding Curve Graduations

    $1M-$5M per issuer

    Permanent

    Trading Fee Allocation

    0.44% of volume

    Permanent

    Staking Reward Reinvestment

    2% of rewards

    Permanent

    Initial Protocol Deposit

    $2M at launch

    Permanent

    Projected LP Growth:

    Year 1

    Year 2

    Year 3

    Year 4

    Year 5

    $12.5M

    $27.3M

    $41.8M

    $53.2M

    $64.3M

    ๐Ÿ”น 2.3.4 Layer 1: Solana Blockchain Foundation

    Layer 1 (Solana Foundation) provides the base consensus, settlement finality, and network security upon which all eight higher layers depend. This layer integrates the eight core Solana innovations (detailed in Section 2.2.2) into a cohesive infrastructure supporting securities trading requirements.

    RPC Node Architecture

    OTCM operates dedicated RPC infrastructure with the following specifications:

    • Primary RPC: Helius dedicated nodes (500 req/sec, 100 sendTx/sec tier)
    • Failover RPC: Triton/QuickNode backup cluster
    • Geographic Distribution: US-East, US-West, EU-West, APAC nodes
    • MEV Protection: Jito bundle integration for frontrunning protection Transaction Lifecycle on Solana

    Understanding Solana's transaction lifecycle is essential for comprehending OTCM's settlement guarantees:

    • Submission: Transaction submitted to RPC node, forwarded via Gulf Stream to upcoming leader
    • Processing: Leader includes transaction in block, Sealevel executes Transfer Hooks in parallel with non-conflicting transactions
    • Propagation: Turbine distributes block shreds across validator network
    • Voting: Validators vote on block validity using Tower BFT
    • Confirmation: Transaction confirmed after 1 block (~400ms)
    • Finality: Practical finality achieved after 32 blocks (~13 seconds)

    ๐Ÿ”น 2.3.5 Layer 6: Oracle Network & External Data Integration

    Layer 6 (Oracle Network) provides the real-time data bridge between on-chain Transfer Hook enforcement and the off-chain data sources required for securities compliance โ€” custody verification, sanctions screening, AML scoring, and SEC EDGAR intelligence. This layer implements oracle patterns ensuring data integrity while maintaining the performance requirements of blockchain-based trading.

    Empire Stock Transfer Integration

    Empire Stock Transfer serves as OTCM's qualified custodian, providing SEC-registered transfer agent services for Series M share custody:

    Integration Point

    Function

    Custody Oracle API

    Real-time balance verification, cryptographically signed attestations, updated every block (~400ms)

    Share Registration

    Series M share issuance recording, beneficial ownership tracking, corporate action processing

    Redemption Processing

    KYC-verified token-to-share conversions, DRS registration, certificate issuance

    Audit Reporting

    Quarterly custody attestations, regulatory examination support, transaction audit trails

    Compliance Oracle Network

    OTCM's compliance verification relies on a network of specialized oracles:

    OFAC/SDN Oracle: Updates hourly from Treasury Department Specially Designated Nationals list. Implements fuzzy matching algorithms for name variations and aliases.

    Blockchain Analytics Oracle: Integrates Chainalysis KYT (Know Your Transaction) and TRM Labs data. Provides wallet risk scoring based on transaction history, counterparty analysis, and pattern detection.

    SEC EDGAR Integration: Pulls company financial data, filing status, and corporate action information. Used for issuer onboarding verification and ongoing compliance monitoring.

    ๐ŸŒ RPC INFRASTRUCTURE REDUNDANCY SPECIFICATION

    Version: 6.0 | Extends: Existing RPC Node Architecture

    Multi-Provider RPC Architecture


    TRAFFIC ROUTING (weighted round-robin with health checks):
    
      CEDEX Trade Submissions (sendTransaction):
        Primary:   Helius dedicated RPC โ€” 100 sendTx/sec (us-east-1)
        Secondary: Triton RPC cluster   โ€” 50 sendTx/sec  (us-west-2)
        Tertiary:  QuickNode RPC        โ€” 25 sendTx/sec  (eu-west-1)
        Failover trigger: Primary unavailable for >5 seconds
    
      Chain State Reads (getAccountInfo, getBalance):
        Primary:   Helius โ€” 500 req/sec
        Fallback:  Public Solana RPC (rate limited โ€” emergency only)
        Cache TTL: 400ms (1 block) for account state, 100ms for slot
    
      WebSocket Subscriptions (accountSubscribe for real-time updates):
        Primary:   Helius WebSocket endpoint
        Fallback:  Triton WebSocket endpoint
        Reconnect: Exponential backoff โ€” 1s, 2s, 4s, 8s, max 30s

    Transaction Submission Reliability

    typescript


    async function submitWithFallback(
      transaction: VersionedTransaction,
      config: SubmitConfig
    ): Promise {
      const providers = [heliusRpc, tritonRpc, quicknodeRpc];
    
      for (let attempt = 0; attempt < config.maxAttempts; attempt++) {
        const provider = providers[attempt % providers.length];
    
        try {
          const sig = await provider.sendRawTransaction(
            transaction.serialize(),
            { skipPreflight: false, maxRetries: 0 }
          );
    
          // Confirm on any provider (signatures are global)
          await confirmWithTimeout(sig, config.commitmentLevel, 30_000);
          return sig;
    
        } catch (err) {
          if (isHookRejection(err)) {
            // Transfer Hook rejection โ€” dodoes not retry, return error to user
            throw new HookRejectionError(err);
          }
          // Network error โ€” try next provider after delay
          await sleep(config.retryDelayMs * (attempt + 1));
        }
      }
      throw new MaxRetriesExceededError();
    }

    Health Check and Alerting

    Health Check

    Frequency

    Alert Threshold

    Action

    Helius RPC latency

    Every 30 seconds

    p95 > 500ms for 2 minutes

    Shift traffic to Triton

    sendTransaction success rate

    Per minute

    <95% success rate

    Alert P2 + increase tip

    Oracle feed freshness

    Every block

    Any feed stale beyond threshold

    Hook failsafe activates

    CEDEX order matching lag

    Continuous

    >2 block lag between chain and OMS

    Alert P1

    WebSocket disconnect rate

    Per hour

    >5 disconnects/hour

    Alert P2

    ๐Ÿ”— TRANSACTION DURABILITY SPECIFICATION

    Version: 6.0 | Applies To: All CEDEX transaction submissions

    Blockhash Lifecycle Management

    Solana transactions are valid only while their recent_blockhash is within the last ~150 blocks (~60 seconds). CEDEX manages blockhash freshness as follows:

    typescript


    class BlockhashManager {
      private cachedBlockhash: { hash: string; validUntilSlot: number } | null = null;
      private readonly REFRESH_SLOTS_BEFORE_EXPIRY = 20; // Refresh 8 seconds before expiry
    
      async getFreshBlockhash(): Promise {
        const currentSlot = await connection.getSlot();
    
        if (
          !this.cachedBlockhash ||
          currentSlot >= this.cachedBlockhash.validUntilSlot - this.REFRESH_SLOTS_BEFORE_EXPIRY
        ) {
          const { blockhash, lastValidBlockHeight } =
            await connection.getLatestBlockhash('confirmed');
          this.cachedBlockhash = {
            hash: blockhash,
            validUntilSlot: lastValidBlockHeight,
          };
        }
        return this.cachedBlockhash.hash;
      }
    }

    Durable Nonce Accounts โ€” Institutional Orders

    For large institutional orders that require extended signing windows (e.g., multi-sig approval workflows requiring >60 seconds), CEDEX supports durable nonce account-based transactions. These bypass the blockhash expiry constraint.


    Standard Transaction (retail):
      blockhash expires ~60 seconds after fetch
      Suitable for: single-signer retail trades
    
    Durable Nonce Transaction (institutional):
      nonce account used instead of blockhash
      Transaction valid until nonce is advanced
      Suitable for: 4-of-7 multisig treasury trades, large block orders
    
    CEDEX automatically selects transaction type based on:
      - Wallet type (hardware multisig โ†’ durable nonce)
      - Order size (> $500,000 โ†’ offer durable nonce option)
      - User preference setting in institutional portal

    Transaction Confirmation Strategy

    typescript


    const CONFIRMATION_CONFIG = {
      commitment: 'confirmed',           // 2/3 supermajority โ€” sufficient for trading
      preflightCommitment: 'processed',  // Faster preflight check
    
      // Confirmation polling
      maxRetries: 0,                     // Manual retry management
      skipPreflight: false,              // Always run preflight โ€” catches Hook failures
    
      // Timeout per attempt
      confirmationTimeoutMs: 30_000,     // 30 seconds per attempt
    
      // Resubmission
      maxResubmissions: 3,
      resubmissionIntervalMs: 5_000,     // 5 seconds between attempts
    
      // On confirmed: update order book, emit WebSocket event to UI
      onConfirmed: (signature: string) => updateOrderBook(signature),
    
      // On timeout: escalate to P2 incident if >3 consecutive timeoutsdepend on same route
      onTimeout: (signature: string) => escalateIfPatternDetected(signature),
    };

    ๐Ÿ”„ 2.4 Data Flow Specification

    This section provides detailed specifications for transaction data flow through OTCM Protocol's nine-layergood architecture.faith Understandingto this flow is essential for developers integrating with the protocol and auditors verifying compliance implementation.

    ๐Ÿ”น 2.4.1 Transaction Lifecycle

    Every ST22 token transaction follows a deterministic lifecycle from user initiation through settlement and post-transaction monitoring:function:


     

    //TransactionLifecycleDiagram
    โ”Œ---โ”
    โ”‚                     ST22 TRANSACTION LIFECYCLE                           โ”‚
    โ””---โ”˜
    โ€ขsignatureโ–ผโ€ขโ”‚
    
    
    
    
    โ”‚  โ€ข Event emission           โ€ข State commitment             โ”‚
    โ””---โ”˜
    โ”‚
    โ–ผ              Phase 4: SETTLEMENT (~13 seconds)
    โ”Œ---โ”
    โ”‚  โ€ข Block confirmation       โ€ข Tower BFT voting             โ”‚
    โ”‚  โ€ข 32-block finality        โ€ข Compliance recording         โ”‚
    โ”‚  โ€ข Fee distribution         โ€ข Audit trail creation         โ”‚
    โ””---โ”˜
    โ”‚
    โ–ผ              Phase 5: MONITORING (Ongoing)
    โ”Œ---โ”
    โ”‚  โ€ข Pattern analysis         โ€ข SAR evaluation               โ”‚
    โ”‚  โ€ข Regulatory reporting     โ€ข Anomaly detection            โ”‚
    โ””---โ”˜
    

    ๐Ÿ”น 2.4.2 Nine-Layer Transaction Processing Model

    integration
    //
    EmpireStock Transfer API // Custody Oracle API Specification

    interface CustodyOracleResponse {

    issuer_cik: string; // SEC CIK number

    cusip: string; // CUSIP identifier

    share_class: 'SERIES_M'; // Always Series M

    custodied_balance: u64; // Verified share count

    last_verification: i64; // Unix timestamp

    attestation_signature: string; // Ed25519 signature

    audit_hash: string; // SHA-256 of audit data

    }


    // API Endpoint
    Bearer {api_key}

    X-Oracle-Signature: {signature}

    ๐Ÿ”น 2.5.2 Compliance Oracle Network

    OFAC Screening API:


    // OFAC Screening API
    // OFAC Screening Request
    reduce redundant queries
  • Batch Processing: Off-chain systems aggregate compliance data for efficient on-chain verification
  • Geographic Distribution: Multi-region RPC deployment minimizes network latency globally
  • ๐Ÿ—๏ธ 2.7 Security Architecture

    notresult 2.7.1

    UserSecurity Action Phase 1: INITIATION (0-50ms)Property


    Mechanism

    โ”‚
    Parameter

    Cannot validationBe โ”‚Defeated โ€ขBy

    Wallet
    RPC

    Compliance submissionunbypassable

    โ”Œ---โ”
    Submit

    42 โ”‚---โ–บ Gulf Stream forwards to leader validator โ””---โ”˜ โ”‚ โ–ผ Phase 2: VERIFICATION (750-1,350ms) โ”Œ---โ” โ”‚ TRANSFER HOOKS EXECUTION (Sequential) โ”‚ โ”‚Transfer Hook 1:controls Custodyenforce ---โ–บat Layer 2 โ€” below all application layers

    Any front-end, wallet, or trading venue โ€” including CEDEX itself

    Rugpull impossible

    LP tokens burned at initialization ยท Series M shares under irrevocable Empire custody ยท Transfer Hook 2:Control OFAC1 ---โ–บverifies Hook1:1 3:backing AMLon โ”‚ โ”‚ Hook 4: KYC ---โ–บ Hook 5: Circuit Breaker ---โ–บ Hook 6: LP โ”‚ โ””---โ”˜ โ”‚ โ”œ--- FAIL ---โ–บ Atomic Revert + Error Code โ”‚ โ–ผ PASS Phase 3: EXECUTION (400-600ms) โ”Œ---โ” โ”‚ โ€ข CPMM calculation โ€ข Fee deduction (5%) โ”‚ โ”‚ โ€ข Reserve update โ€ข Tokenevery transfer

    โ”‚

    Phase 1: Initiation (0-50ms)

    Transaction initiation begins when a user submits an ST22 transfer through the CEDEX interface:


    // Transaction Parameters (TypeScript)

    interface TransactionParams {

    tokenMint: PublicKey; // ST22 token address

    amount: u64; // Transfer amount in base units

    maxPrice: u64; // Slippage protection (0 = market)

    recipientWallet: PublicKey; // Destination wallet

    deadline: i64; // Unix timestamp expiry

    }

    Phase 2: Verification (750-1,350ms)

    The verification phase executes all six Transfer Hooks sequentially. Each hook:

    • Queries its designated oracle or data source
    • Performs verification logic against compliance rules
    • Records verification result in compliance log
    • Returns PASS to continue or ERROR to revert Phase 3: Execution (400-600ms)

    Upon successful verification, transaction execution proceeds atomically:


    // Swap Execution (Rust/Anchor)
    fn execute_swap(ctx: Context, params: SwapParams) -> Result<()> {
    // Calculate output using CPMM formula
    let output = calculate_cpmm_output(

    params.input_amount,

    ctx.accounts.pool.sol_reserve,

    ctx.accounts.pool.token_reserve,

    )?;


    // Apply 5% protocol fee
    let fee = output * 500 / 10000;  // 5% = 500 basis points
    let net_output = output - fee;
    // Atomic state updates

    ctx.accounts.pool.sol_reserve += params.input_amount;

    ctx.accounts.pool.token_reserve -= output;


    // Transfer tokens to recipient

    transfer_tokens(ctx.accounts.recipient, net_output)?;


    // Distribute fees

    distribute_fees(fee, &ctx.accounts.fee_recipients)?;


    emit!(SwapExecuted { ... });
    Ok(())

    }

    Phase 4: Settlement (~13 seconds)

    Settlement occurs through Solana's Tower BFT consensus mechanism. After 32 block confirmations, the transaction achieves practical finality with cryptographic guarantees against reversal.

    Phase 5: Post-Transaction Monitoring (Ongoing)

    Post-transaction monitoring implements continuous compliance oversight:

    • Real-time pattern analysis: Machine learning models analyze transaction patterns for suspicious activity
    • Flagging queue: Transactions meeting review thresholds enter compliance team queue
    • SAR evaluation: Suspicious Activity Report filing determination for flagged transactions
    • Regulatory reporting: Automated generation of required regulatory filings

    ๐Ÿ”น 2.4.3 Error Handling & Recovery

    OTCM implements comprehensive error handling with specific error codes enabling rapid diagnosis:

    Code

    Error Type

    Recovery Action

    6001

    Insufficient Custody Backing

    Wait for oracle update or reduce amount

    6002

    OFAC Sanctioned Address

    Transaction permanently blocked

    6003

    AML Risk Threshold Exceeded

    Contact compliance for review

    6004

    KYC/Accreditation Invalid

    Complete verification via portal

    6006

    Circuit Breaker Triggered

    Reduce order size or wait for TWAP reset

    6007

    Liquidity Ratio Violation

    Reduce order size below pool limits

    2.5 System Integration Architecture

    OTCM Protocol integrates with multiple external systems to deliver comprehensive securities trading functionality. This section documents API specifications, authentication protocols, and data exchange formats.

    ๐Ÿ”Œ 2.5 External System Integration

    ๐Ÿ”น 2.5.1Protocol, Empire Stock TransferTransfer, Integration

    or any issuer

    TheOFAC/SDN Empirescreening Stockcontinuous

    Transfer
    provides

    Control 2 screens both parties on every transfer against SDN list updated hourly

    A single onboarding check โ€” rescreening happens on every trade

    Holding period unwaivable

    Control 24 enforces Rule 144/Reg S timestamps on every transfer attempt ยท No administrative override exists

    OTCM Protocol, Empire, or the custodyinvestor verification foundation for all ST22 token operations:themselves


    GETOracle manipulation resistanthttps://api.empirestocktransfer.com/v1/custody/{issuer_cik}

    Authorization:

    POSTLayer https://oracle.otcm.io/v1/ofac/screen

    6

    {

    feeds

    "wallet_address":Layer "7xKXt...",

    2

    "transaction_type":directly "transfer",

    ยท

    "counterparty": "9yMPs..."

    }


    // Response

    {

    "status": "CLEAR" | "MATCH" | "PARTIAL_MATCH",

    "sdn_match_confidence": 0.0 - 1.0,

    "last_list_update": "2025-12-22T00:00:00Z",

    "verification_id": "uuid"

    }

    ๐Ÿ”น 2.5.3 External API Specifications

    System

    Protocol

    Auth Method

    Rate Limit

    Empire Stock

    REST/JSON

    API KeyPrimary + Signature

    1,000/min

    Chainalysis

    REST/JSON

    OAuthsecondary 2.0

    10,000/hour

    SEC+ EDGAR

    REST/XML

    User-Agent ID

    10/sec

    Helius RPC

    JSON-RPC 2.0

    API Key

    500/sec

    โšก 2.6 Performance Engineering

    OTCM Protocol's performance engineering balances compliance verification requirements with user experience expectations. This section documents throughput optimization strategies, latency management approaches, and scalability architecture.

    ๐Ÿ”น 2.6.1 Throughput Optimization

    While Solana theoretically supports 65,000+ TPS, OTCM's compliance verification overhead reduces effective throughput to 400-600 TPS. This remains substantially higher than required for securities trading while ensuring every transaction passes compliance checks.

    Throughput Analysis:

    Metric

    Solana Theoretical

    OTCM Effective

    Peak TPS

    65,000+

    400-600

    Daily Capacity

    5.6B transactions

    ~50M transactions

    Compliance Overhead

    N/A

    750-1,350ms/tx

    ๐Ÿ”น 2.6.2 Latency Management

    End-to-end latency for a typical CEDEX trade:

    Phase

    Latency

    User submission to RPC

    50-100ms

    Transfer Hook verification

    750-1,350ms

    Swap execution

    400-600ms

    Block confirmation (first)

    ~400ms

    TOTAL (to confirmation)

    1.6-2.5 seconds

    Full finality (32 blocks)

    ~13 seconds

    ๐Ÿ”น 2.6.3 Scalability Architecture

    OTCM's scalability strategy leverages Solana's Sealevel parallel execution for horizontal scaling of non-conflicting transactions:

    • Token Pair Isolation: Trades in different ST22 tokens execute in parallel (no account overlap)
    • Oracle Caching: Compliancetertiary oracle resultsarchitecture cachedยท forDiscrepancy 1triggers blockcircuit (~400ms)breaker

      to

    OTCM implements a defense-in-depth security model with multiple overlapping protection layers. This approach ensures that compromiseCompromise of any single securityoracle controlfeed

    does

    Governance cannot weaken controls

    42 Transfer Hook controls in system-wideimmutable vulnerability.on-chain program ยท Outside DAO governance scope

    ๐Ÿ”น

    Defense-in-Depth

    Any Modelgovernance proposal regardless of vote margin

    Pool permanence enforced

    LP tokens sent to burn address on initialization ยท Smart contract has no withdrawal function

    Any party including DAO supermajority

     

    Layer

    Protection Mechanism

    Threat Mitigated

    Network

    WAF, DDoS protection, rate limiting

    Network-level attacks, flooding

    Application

    Input validation, CSRF protection, CSP

    Injection, XSS, session hijacking

    Smart Contract

    Formal verification, audit, bug bounty

    Logic bugs, reentrancy, overflow

    Compliance

    Transfer Hooks, 42-point security

    Unauthorized trading, sanctions evasion

    Custody

    Multi-sig, HSM, custody verification

    Asset misappropriation, insider threat

    ๐Ÿ”น 2.7.2 Cryptographic Standards

    OTCM employs industry-standard cryptographic primitives:

    • Key Derivation: Ed25519 for Solana wallet signatures (128-bit security equivalent)
    • Hashing: SHA-256 for transaction verification, Blake3 for high-performance hashing
    • Encryption: AES-256-GCM for data at rest, TLS 1.3 for data in transit
    • Oracle Signatures: Ed25519 signatures on all oracle attestations for non-repudiation

    ๐Ÿ”น 2.7.3 Attack Surface Analysis

    The followingAlesia attack vectors have been analyzed and mitigated:Doctrine

    MEV/Frontrunning:The Jitoarchitecture's bundlesecurity integrationproperties routesare transactionsnamed throughthe validatorAlesia bundlesDoctrine thatafter resistthe frontrunning.military Circuit breakers (2% TWAP deviation) limit profitabilityprinciple of sandwichencirclement attacks.โ€” OTCM Protocol's compliance controls surround every transaction from multiple independent layers, making successful circumvention structurally impossible rather than merely difficult. The doctrine holds: any attempt to bypass compliance at one layer encounters compliance enforcement at the layers below it. There is no gap.

     

    Groovy Company, Inc. dba OTCM Protocol  |  CIK: 1499275  |  Version 7.0  |  March 2026  |  Confidential


    Oracle Manipulation: Multi-oracle architecture requires consensus across Empire Stock Transfer, OFAC, and blockchain analytics sources. Single oracle compromise cannot affect transaction verification.

    Rug Pull Attempts: Permanent liquidity locks enforced by smart contract make liquidity withdrawal mathematically impossible. Override requires 2/3 DAO supermajority plus 48-hour timelock.

    Smart Contract Exploits: Formal verification using Certora, security audits by Quantstamp and Halborn, active bug bounty program with up to $100K rewards.

    ๐Ÿš€ 2.8 Deployment Topology

    OTCM Protocol deploys across multiple regions with redundant infrastructure ensuring high availability:


    // Global Deployment Architecture
    โ”Œ---โ”
    โ”‚                    OTCM DEPLOYMENT TOPOLOGY                             โ”‚
    โ””---โ”˜
    โ”Œ---โ”       โ”Œ---โ”
    โ”‚   US-EAST     โ”‚       โ”‚   US-WEST     โ”‚
    โ”‚   (Primary)   โ”‚โ—„---โ–บโ”‚   (Secondary) โ”‚
    โ””---โ”ฌ---โ”˜       โ””---โ”ฌ---โ”˜
    โ”‚                       โ”‚
    โ””---โ”ฌ---โ”˜
    โ”‚
    โ”Œ---โ”ด---โ”
    โ”‚  GLOBAL LOAD BALANCER โ”‚
    โ””---โ”ฌ---โ”˜
    โ”‚
    โ”Œ---โ”ผ---โ”
    โ”‚                       โ”‚                       โ”‚
    โ”Œ---โ”ด---โ”         โ”Œ---โ”ด---โ”         โ”Œ---โ”ด---โ”
    โ”‚  EU-WEST    โ”‚         โ”‚  APAC       โ”‚         โ”‚  LATAM      โ”‚
    โ”‚  (DR Site)  โ”‚         โ”‚  (Edge)     โ”‚         โ”‚  (Edge)     โ”‚
    โ””---โ”˜         โ””---โ”˜         โ””---โ”˜

    Infrastructure: Kubernetes (K8s) | CDN: Cloudflare | RPC: Helius + Triton