Computing Provider Collateral
Introduction
In the Swan Chain network, Computing Providers (CPs) contribute their computational resources to support the network's decentralized computing infrastructure. To ensure stability and economic security, CPs are required to provide collateral in Swan tokens. This collateral acts as a financial commitment, incentivizing CPs to act in the best interest of the network while also sharing in the economic rewards generated from providing computing power.
Collateral Model
The collateral amount for each CP is determined by an inverse correlation model based on the total computing power contributed by the CP to the network. The formula for calculating the collateral amount is:
Where:
WFCP represents the FCP resource bonus ratio, currently set at a constant value of 1.2
NFCP(GPUk)represents the number of GPUk in FCP
NECP(GPUk) represents the number of GPUk in ECP.
fk represents the earnings growth factor
Currently, the computing units CUtotal in the network are capped at (CU_0 = 3000). If the computing units remain at or below (3000), the base collateral remains constant at:
Example: If CUtotal increases to 6000
Substitute CUtotal = 6000 into the formula:
Perform the calculation:
So, if the computing units (CU) exceed 3000, the base collateral amount will start to decrease. In the example where CU is 6000, the base collateral amount is 1867, which is lower than the 3533 calculated earlier when CU was 3000.
Revenue Sharing and APR Calculation
Once a CP provides collateral, they are eligible to receive revenue generated from both Universal Basic Income (UBI) tokens and paid jobs. The revenue model includes:
UBI Income: CPs receive UBI tokens as a baseline income for their participation, which is inversely related to their collateral and computing power.
Paid Job Income: CPs can earn additional revenue by completing paid jobs, which are offered at a market rate determined by user demand.
The Annual Percentage Rate (APR) for the CPs is calculated separately for both their operating revenue and collateral revenue:
Operator APR: The revenue generated by CPs for providing computing power divided by their total operational costs.
Collateral APR: Calculated based on the revenue earned by providing collateral relative to the collateral amount itself.
The total APR includes both the operator APR and collateral APR, providing a complete picture of the financial returns for CPs participating in the Swan Chain network.
Slashing Mechanism
To maintain network performance and accountability, CPs are subject to a precise slashing mechanism that penalizes inefficient or unreliable computing services. For each failed task, CPs face graduated penalties:
Edge Computing Providers (ECP) lose 0.025% of their current full collateral amount per failed task (approximately 0.88 SWAN for a 3080 GPU), with around 48 tasks processed daily.
Fog Computing Providers (FCP) lose 0.1% of their current full collateral amount per failed task (approximately 3.533 SWAN for a 3080 GPU), with around 14 tasks processed daily.
If a CP's collateral amount falls below the required threshold, they become ineligible to receive Universal Basic Income (UBI) tasks. To mitigate the risk of unexpected task exclusion, CPs are advised to maintain a buffer in their collateral amount.
Impact of Collateral Model
The negative correlation between collateral and computing power has several benefits:
Incentivizing Scale: CPs are encouraged to scale up their contributions to the network, as increasing their computing power reduces their collateral requirements.
Risk Mitigation: Collateral serves as a safeguard, ensuring that CPs have a financial stake in the network's success and discouraging malicious behavior.
Economic Participation: By allowing CPs to share in both operator and collateral revenue, the model promotes balanced economic participation, where CPs are rewarded not only for their computational contributions but also for their financial commitment.
Swan 2.0: Updated Collateral Model
The collateral model above applies to the legacy UBI system (Swan 1.0). Swan 2.0 introduces additional collateral options and updated tiers for the Inference Cloud. See SIP-002 for the full proposal.
Stablecoin Collateral (New in Swan 2.0)
Swan 2.0 introduces stablecoin collateral via the ProviderCollateral smart contract. Providers can deposit USDC or USDT on-chain as an alternative to SWAN token collateral:
Supported tokens: USDC, USDT
Supported chains: Swan Chain (mainnet), Base, Ethereum (configurable)
Deposit method: Provider sends tokens to the contract and submits the
tx_hashfor on-chain verificationRefund waiting period: 7 days from request to withdrawal
Providers can also use USD (off-chain) via Stripe, PayPal, or bank transfer, with admin confirmation.
Collateral status follows the lifecycle: pending → confirmed → refund_requested → refunded
Updated Collateral Tiers (SIP-002)
Under the unified Computing Provider (CP) model, collateral requirements are based on hardware tier:
RTX 3090 / A4000
5,000 SWAN
Uptime < 50% for 7 days
RTX 4090 / A5000 / A6000
10,000 SWAN
Repeated failed requests (> 20% failure rate)
A100
25,000 SWAN
Malicious behavior or gaming detected
H100
50,000 SWAN
Unauthorized hardware changes
These SIP-002 collateral tiers are a draft proposal subject to governance approval. The legacy collateral formula (Cbase = 3533 SWAN) continues to apply until SIP-002 is ratified.
Benchmark-Based Slashing (Swan 2.0)
In addition to the existing task-failure slashing, Swan 2.0 introduces benchmark-based slashing for inference providers:
The benchmark worker runs every 24 hours, testing math accuracy, code generation, and response latency
Providers must pass all thresholds (≥ 50% math, ≥ 50% code, ≤ 5000ms latency)
Consecutive failures trigger slashing: configurable percentage (default 10%) of collateral per consecutive failure
Providers that fall below the minimum collateral threshold are suspended from receiving inference requests
Smart Contracts
ProviderCollateral (USDC)
Swan Chain Mainnet
0x557f306f917009cf83c32b8b32a79202e79948e5
SWAN Token
Swan Chain Mainnet
0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02
Last updated