PolyFlow
Official WebsiteXDiscordMedium
  • Polyflow Overview
  • PolyFlow DAPP
    • White Paper
    • User Guide
    • Seed Season Campaign
  • Payment ID - PID
    • Intro
    • PID Use Case
    • Identity Issuer Ref
  • Payment Liquidity Pool - PLP
    • Intro
    • Ecosystem Participants
    • PLP Mechanism
      • PF Token
      • Wallet Creation Workflow
      • Receive Crypto Workflow
      • Withdraw Crypto Workflow
      • Fee Distribution
  • Stake
    • Intro
    • Staking Workflow
  • Backers
  • Team
  • FAQ
  • Links
    • Official Website
    • X
    • Medium
    • Mirror
    • Discord
    • Telegram
    • Telegram Chat Group
    • Brand Kits
Powered by GitBook
On this page
  • Stake
  • Swap
  • Unstake
  1. Stake

Staking Workflow

PreviousIntroNextBackers

Last updated 3 months ago

Stake

1-1. The user calls the contract's stake method to transfer USDT into the contract.

1-2. The user receives USDT-pfUSDT-LP tokens in return as proof of staking.

Swap

2-1. The user can call the contract's swap method to exchange USDT for pfUSDT or vice versa.

  • The swap method can specify a recipient address.

  • User exchanges for pfUSDT:

    • 0% fee

    • The exchangeable amount = The amount of pfUSDT available in the pool.

  • User exchanges for USDT:

    • There is a redemption fee, which could be determined by a curve (fee model).

    • The exchangeable amount = The amount of USDT available in the pool.

2-2. The user receives USDT or pfUSDT in return.

Unstake

3-1. The user calls the contract's unstake method to transfer USDT-pfUSDT-LP tokens back into the contract.

3-2. Based on the token quantity, the contract redeems a proportional amount of USDT or pfUSDT to the user.