Intenus General Standard
IGS Schema
Purpose
The Intenus General Standard (IGS) is a comprehensive schema that standardizes how intents, solutions, and execution data are represented across the entire protocol. Think of it as a universal language that all system components understand.
Why Standardization Matters
Interoperability: Different solvers, AI models, and smart contracts can seamlessly communicate
Extensibility: New intent types can be added without breaking existing functionality
Verifiability: Standardized formats enable deterministic verification of solutions
Clarity: Unambiguous representation prevents misinterpretation
IGS Structure
The IGS framework consists of three layers:
1. Core Primitives
Foundational data types used throughout the protocol:
{
"SuiAddress": "0x...",
"TokenAmount": "1000000000",
"Timestamp": 1699123456000,
"Signature": "0x..."
}Purpose: Eliminates ambiguity in basic data representation Examples: Addresses, amounts, time values, signatures
2. Intent Specification
Structured representation of user trading goals:
Key Features:
Flexible amount types (exact, range, percentage)
Comprehensive constraint system
Privacy policy integration
Support for complex multi-asset operations
3. Solution Specification
Standardized format for solver proposals:
Supported Intent Types
Swap Intents
exact_input: Specify input amount, optimize output
exact_output: Specify output amount, minimize input
range_swap: Flexible amounts within ranges
Limit Order Intents
limit_buy: Execute purchase at target price
limit_sell: Execute sale at target price
stop_loss: Trigger sale below threshold
take_profit: Trigger sale above threshold
Lending Intents
lend: Deposit assets for yield
borrow: Take loans against collateral
repay: Pay back borrowed assets
optimize_yield: Automatically rebalance
Bridge Intents
cross_chain_transfer: Move assets between chains
liquidity_bridge: Optimized cross-chain liquidity
Composite Intents
multi_step: Sequential operations
conditional: If-then logic
batch: Multiple parallel operations
Version Management
IGS uses semantic versioning:
Major: Breaking changes to schema structure
Minor: Backward-compatible additions
Patch: Bug fixes and clarifications
Current version: 1.0.0
Last updated