Computing Provider Income
Swan Chain is a decentralized network that connects computing providers with users requiring computational resources. To foster early network growth and incentivize CPs to join and contribute resources, a dual compensation mechanism has been designed:
Universal Basic Income (UBI): Provides CPs with a predictable token income when their resources are underutilized.
Paid Jobs: Offers market-priced compensation for computational tasks requested by users.
This mechanism ensures a fair and gradual distribution of tokens to providers, supporting the network's expansion until it reaches a critical mass of user-paid tasks. Importantly, the UBI distribution rate is influenced by the resource usage rate, and CPs earn market-based compensation when engaged in paid jobs.
Total Income
The total daily income I(x)for a computing provider on day (x) comprises two components:
UBI Income yUBI(x)
Paid Job Income yPaid(x)
Substituting the expressions for yUBI(x) and yPaid(x)
Resource Usage Rate Impact
When u(x)=0:
CP receives full UBI allocation.
No income from paid jobs.
When u(x)=1:
All resources are utilized by paid jobs.
CP receives full income from paid jobs.
No UBI allocation.
Intermediate Values:
CP's income is a combination of UBI and paid job compensation, proportional to resource utilization.
Individual CP's UBI
To calculate the UBI for a single CP, we consider both the resource usage and completion rates of tasks. UBI allocation is conditional on sufficient resource contribution and performance metrics:
(1) UBI Workload Calculation
Calculate the daily completion rate of a single ECP zk-task: PECP
Calculate the completion rate of a single FCP sampling task: PFCP
Number of GPUs: NECP(GPUk) and GPU types.
Calculate the total UBI workload:
(2) Calculating the UBI for a single CP:
As an ECP:
As an FCP:
Conditions for CP to Receive UBI
A CP must meet certain conditions to qualify for UBI:
Sufficient Collateral:
Where:
NECP(GPUk) represents the number of ECP for GPUk
Cbase is the base collateral, with an initial value of 3533 (this value will be dynamically adjusted based on the daily computing units of the entire network; for specific adjustment rules, check here)
NFCP(GPUk)represents the number of GPUk in FCP
NECP(GPUk) represents the number of GPUk in ECP.
WFCP represents the FCP resource bonus ratio, currently set at a constant value of 1.2
NOTE: The value of WFCP, 1.2, means that if the same configuration of servers is deployed for FCP, it will generate 20% more earnings than ECP.
Completion of Basic Test Tasks:
FCP: Sampling task
ECP: ZK task
GPU count and type are also factored into the UBI eligibility.
Exit Mechanism:
CP Exit Mechanism If a CP wishes to exit, they must set
taskType= 100.The CP will no longer receive any tasks and will not incur any collateral deductions.
The CP will no longer appear on the current dashboard list.
CPs can request to withdraw their collateral, but this requires a 7-day confirmation period to ensure settlement before the withdrawal is finalized (first
requestWithdraw, followed byconfirmRequestafter 7 days).
Last updated