Solidity contracts for the Liquidity digital securities exchange on Liquid EVM.
- Foundry (forge, cast)
- Solidity 0.8.31, Shanghai EVM,
via_ir = true
- Dependencies: standard library (ERC-3643/T-REX securities), OpenZeppelin v5, forge-std
forge install
forge build
forge test -vv
36 contracts across 13 modules.
| Contract | Description |
SecurityToken | ERC-1404 + ST-20 for all tradable assets (stocks + crypto), 1:1 collateralized |
USDL | USD stablecoin with whitelist-gated transfers |
WLQDTY | Wrapped LQDTY (like WETH) |
LiquidToken | Liquid pool token |
LiquidTokenFactory | Factory for deploying LiquidToken instances |
PartitionToken | ERC-1400 partitioned tranches (Class A/B, locked, vested) |
RestrictedToken | ERC-1404 with external TransferRestriction engine |
| Contract | Description |
LiquidityBridge | Cross-chain bridge for Liquid EVM |
LiquidityTeleporter | Teleporter integration for cross-chain messaging |
SecurityBridge | Mint/burn/lock bridge for security tokens across chains |
SolvencyStateMachine | State machine for bridge solvency proofs |
| Contract | Description |
JurisdictionModule | ISO 3166-1 country/region transfer blocking |
LockupModule | Rule 144 holding period enforcement |
WhitelistModule | KYC-verified address whitelist |
| Contract | Description |
CorporateActions | Stock splits, reverse splits, forced transfers, conversions |
DividendDistributor | Snapshot-based pull-model pro-rata dividends |
| Contract | Description |
BatchFactory | EIP-1167 minimal proxy factory for batch SecurityToken deploys |
DeterministicDeployer | CREATE2-based deterministic contract deployment |
OrderBook | On-chain order recording and matching |
SettlementRegistry | On-chain settlement records with multi-signer verification |
| Contract | Description |
ComplianceRegistry | KYC/AML/accreditation/jurisdiction registry (T-REX IdentityRegistry) |
| Contract | Description |
LoanRegistry | On-chain auto loan lifecycle (ported from Substrate) |
| Contract | Description |
MigrationVault | Vault for locked tokens during chain migration |
SubstrateImporter | Batch import of Substrate balances to EVM |
SubstrateMigration | SR25519-verified token claim for Substrate-to-EVM migration |
| Contract | Description |
AssetNFT | Minimal-clone ERC-721 for tokenized physical assets |
AssetNFTFactory | EIP-1167 factory for deploying AssetNFT clones |
SBA7 | ERC-721 for SBA 7(a) loan positions |
| Contract | Description |
EncryptedDataRoom | Encrypted document storage with access control |
FHEComplianceVerifier | FHE-based compliance proof verification |
PrivateInvestorRegistry | Privacy-preserving investor registry |
| Contract | Description |
AccountRegistry | KYC/accreditation status and wallet mapping |
DocumentRegistry | ERC-1643 document management (URI + content hash) |
TransferRestriction | Max holder count and per-address transfer limits |
| Contract | Description |
LiquidStakingManager | LQDTY liquid staking |
| Contract | Description |
Treasury | Protocol treasury with timelocked withdrawals |
| Network | Chain ID | Contracts | Status |
| Devnet | 8675311 | 18 | Partial (chain stalled) |
| Testnet | 8675310 | 97+ | Fully deployed |
| Mainnet | 8675309 | 97+ | Fully deployed |
Deployment manifests in deployments/.
Address: 0x9011E888251AB053B7bD1cdB598Db4f9DEd94714