Phala Network Docs
  • Home
    • 👾Phala Network Docs
  • Overview
    • ⚖️Phala Network
      • 💎Phala Cloud
      • 🥷Dstack
      • 🔐GPU TEE
    • 💎PHA Token
      • 🪙Introduction
      • 👐Delegation
        • Delegate to StakePool
        • What is Vault
        • What is Share
        • WrappedBalances & W-PHA
        • Examples of Delegation
        • Use Phala App to Delegate
        • Estimate Your Reward
      • 🗳️Governance
        • Governance Mechanism
        • Join the Council
        • Voting for Councillors
        • Apply for Project Funding
        • Phala Treasury
        • Phala Governance
        • Setting Up an Account Identity
  • Phala Cloud
    • 🚀Getting Started
      • Create Your Phala Cloud Account
      • Your First CVM Deployment
      • Explore Templates
        • Launch an Eliza Agent
        • Start from Template
    • 🪨TEEs, Attestation & Zero Trust Security
      • Attestation
      • Security Architecture
    • 🥷Phala Cloud User Guides
      • Deploy and Manage CVMs
        • Deploy CVM with Docker Compose
        • Set Secure Environment Variables
        • Deploy Private Docker Image to CVM
        • Debugging and Analyzing Logs
          • Check Logs
          • Private Log Viewer
          • Debug Your Application
        • Application Scaling & Resource Management
        • Upgrade Application
        • Deployment Cheat Sheet
      • Building with TEE
        • Access Your Applications
        • Expose Service Port
        • Setting Up Custom Domain
        • Secure Access Database
        • Create Crypto Wallet
        • Generate Remote Attestation
      • Advanced Deployment Options
        • Deploy CVM with Phala Cloud CLI
        • Deploy CVM with Phala Cloud API
        • Setup a CI/CD Pipeline
    • 🚢Be Production Ready
      • CI/CD Automation
        • Setup a CI/CD Pipeline
      • Production Checklist
      • Troubleshooting Guide
      • Glossary
    • 🔒Use Cases
      • TEE with AI
      • TEE with FHE and MPC
      • TEE with ZK and ZKrollup
    • 📋References
      • Phala Cloud CLI Reference
        • phala
          • auth
          • cvms
          • docker
          • simulator
      • Phala Cloud API & SDKs
        • API Endpoints & Examples
        • SDKs and Integrations
      • Phala Cloud Pricing
    • ❓FAQs
  • Dstack
    • Overview
    • Getting Started
    • Hardware Requirements
    • Design Documents
      • Decentralized Root-of-Trust
      • Key Management Service
      • Zero Trust HTTPs (TLS)
    • Acknowledgement
    • ❓FAQs
  • LLM in GPU TEE
    • 👩‍💻Host LLM in GPU TEE
    • 🔐GPU TEE Inference API
    • 🏎️GPU TEE Benchmark
    • ❓FAQs
  • Tech Specs
    • ⛓️Blockchain
      • Blockchain Entities
      • Cluster of Workers
      • Secret Key Hierarchy
  • References
    • 🔐Setting Up a Wallet on Phala
      • Acquiring PHA
    • 🌉SubBridge
      • Cross-chain Transfer
      • Supported Assets
      • Asset Integration Guide
      • Technical Details
    • 👷Community Builders
    • 🤹Hackathon Guides
      • ETHGlobal Singapore
      • ETHGlobal San Francisco
      • ETHGlobal Bangkok
    • 🤯Advanced Topics
      • Cross Chain Solutions
      • System Contract and Drivers
      • Run Local Testnet
      • SideVM
    • 🆘Support
      • Available Phala Chains
      • Resource Limits
      • Transaction Costs
      • Compatibility Matrix
      • Block Explorers
      • Faucet
    • ⁉️FAQ
  • Compute Providers
    • 🙃Basic Info
      • Introduction
      • Gemini Tokenomics (Worker Rewards)
      • Budget balancer
      • Staking Mechanism
      • Requirements in Phala
      • Confidence Level & SGX Function
      • Rent Hardware
      • Error Summary
    • 🦿Run Workers on Phala
      • Solo Worker Deployment
      • PRBv3 Deployment
      • Using PRBv3 UI
      • PRB Worker Deployment
      • Switch Workers from Solo to PRB Mode
      • Headers-cache deployment
      • Archive node deployment
    • 🛡️Gatekeeper
      • Collator
      • Gatekeeper
  • Web Directory
    • Discord
    • GitHub
    • Twitter
    • YouTube
    • Forum
    • Medium
    • Telegram
Powered by GitBook
LogoLogo

Participate

  • Compute Providers
  • Node
  • Community
  • About Us

Resources

  • Technical Whitepaper
  • Token Economics
  • Docs
  • GitHub

More

  • Testnet
  • Explorer
  • Careers
  • Responsible Disclosure

COPYRIGHT © 2024 PHALA.LTD ALL RIGHTS RESERVED. May Phala be with you!

On this page
  • StakePool’s APR
  • Pool Owner Reward
  • Delegator Reward
  • Vault’s APY
  • How these variables affect reward

Was this helpful?

Edit on GitHub
  1. Overview
  2. PHA Token
  3. Delegation

Estimate Your Reward

PreviousUse Phala App to DelegateNextGovernance

Last updated 1 year ago

Was this helpful?

StakePool’s APR

APR=PoolRewardPerHour⋅24⋅365⋅(1−TreasuryRatio)⋅(1−Commission)DelegatedAPR=\frac{PoolRewardPerHour \cdot 24\cdot 365\cdot(1-TreasuryRatio)\cdot(1-Commission)}{Delegated}APR=DelegatedPoolRewardPerHour⋅24⋅365⋅(1−TreasuryRatio)⋅(1−Commission)​
  • PoolRewardPerHourPoolRewardPerHourPoolRewardPerHour is the theoretical estimation of the number of tokens mined in the next hour based on the status and attributes of the Workers in StakePool;

  • TreasuryRatioTreasuryRatioTreasuryRatio is a fixed amount of mining rewards that is handed over to the treasury, which remains at 20%;

  • CommissionCommissionCommission is the management fee left to the StakePool’s owner, which is also set by the owner;

  • DelegatedDelegatedDelegated is the total delegated amount in this StakePool.

Pool Owner Reward

OwnerReward=PoolMined⋅(1−TreasuryRatio)⋅CommissionOwner Reward=PoolMined \cdot (1-TreasuryRatio) \cdot CommissionOwnerReward=PoolMined⋅(1−TreasuryRatio)⋅Commission

Delegator Reward

DelegatorReward=PoolMined⋅(1−TreasuryRatio)⋅(1−Commission)⋅UserDelegationDelegatedDelegator Reward = PoolMined \cdot (1-TreasuryRatio) \cdot (1-Commission) \cdot \frac{UserDelegation}{Delegated}DelegatorReward=PoolMined⋅(1−TreasuryRatio)⋅(1−Commission)⋅DelegatedUserDelegation​

Vault’s APY

All rewards earned by Vaults are from StakePool delegations. However, we use ‘APY’ to evaluate the interest accrual in the Vault rather than ‘APR’ which is used in StakePools.

This was decided for the following reasons:

  • Individual StakePool rewards can only increase with the addition of new workers. StakePool rewards are derived from workers, and each worker can only earn a finite amount of income regardless of how much the delegation amount in the StakePool increases. Additional rewards can be earned only when the StakePool owner adds new workers.

  • Vault owners have the ability to freely transfer delegations among different StakePools. A Vault’s delegation rewards are derived from the StakePools it delegates to. If a certain StakePool is producing its maximum reward and doesn’t add more workers, the Vault owner can begin delegating to a new StakePool to continue increasing the rewards that Vault earns.

  • The interest in the Vault delegation is compounded. All delegation rewards in the Vault will remain in StakePools and will be compounded if they’re not withdrawn.

How these variables affect reward

Human factors fall into the following categories:

  1. PoolMined: The better the performance⬆ of the workers in the StakePool, the more rewards⬆ mined, and the more rewards⬆ the delegators get;

  2. Commission: The higher the commission⬆, the less reward⬇ the delegators get;

  3. Delegated: The higher the amount of delegation⬆ in the StakePool, the less reward⬇ the delegators get.

Among them, the 1st generally does not fluctuate greatly. The 2nd depends on the credit of the owner of the StakePool, and the 3rd may change steadily.

UserDelegationUserDelegationUserDelegation is the delegation amount of a Delegator in the StakePool

Vaults act in the same role as delegators when Vaults delegate to StakePool. But the Vault owner will charge an additional commission for the management of funds. Click to learn more about .

Vault’sAPR=DelegationsfromVaulttoStakePool⋅StakePool’sAPRTotaldelegationinVaultVault’s APR=\frac{Delegations from Vault to StakePool\cdot StakePool’s APR}{Total delegation in Vault}Vault’sAPR=TotaldelegationinVaultDelegationsfromVaulttoStakePool⋅StakePool’sAPR​
Vault’sAPY=(Vault’sAPR365+1)365−1Vault’s APY={(\frac{Vault’s APR}{365}+1)}^{365} - 1Vault’sAPY=(365Vault’sAPR​+1)365−1
💎
👐
Vault commission