Pondo Docs
  • Introduction to Pondo
  • 📚How it works
    • Aleo Delegated Staking
    • Liquid Staking Mechanisms
    • pALEO Token
    • Yield Oracle
    • Rebalancing
    • Security
  • 🚀Get Started
    • Stake using Pondo
    • Claim your rewards
    • How to Burn PNDO for pALEO?
  • Validators
    • Requirements
    • PNDO Token
Powered by GitBook
On this page
  • Step 1: Open https://demo.leo.app/execute, and connect your wallet
  • Step 2: Fill the required fields of the form
  • Step 3: Review and Confirm the Transaction in your Wallet
  • How to determine the withdrawn pALEO amount?
  • Step 1: Retrieve B, the pALEO balance of Pondo Contract
  • Step 2: Retrieve S, the PNDO current supply
  1. Get Started

How to Burn PNDO for pALEO?

PNDO's utility explained

PreviousClaim your rewardsNextRequirements

Last updated 4 months ago

As there is no web interface to burn PNDO yet, the burn function must be executed directly from the Leo Demo DApp. Here is the step-by-step guide to do so.

Step 1: Open , and connect your wallet

Step 2: Fill the required fields of the form

Program ID: pondo_protocol_token.aleo

Function Name: burn_public

Inputs: (One input per line)

YOUR_ADDRESS (It must be the same as the wallet address connected to the dApp) PNDO_BURNT_AMOUNT (Postfixed with u128, as an integer with 6 digits precision, for instance 23.5 PNDO would be represented by 23500000u128) WITHDRAWN_PALEO_AMOUNT (Postfixed with u128, as an integer with 6 digits precision, for instance 123.456 ALEO would be represented by 123456000u128, see next section to learn how to determine this amount)

Fee: 346053 (Network fees, ~0.35 ALEO)

Step 3: Review and Confirm the Transaction in your Wallet

How to determine the withdrawn pALEO amount?

Let's say you are trying to burn a PNDO token amount N, you then need to determine what is the associated withdrawn pALEO amount: A. Let's understand how to compute A from N.

Step 1: Retrieve B, the pALEO balance of Pondo Contract

B is the integer between balance: and the following u128, here 57062905199.

Step 2: Retrieve S, the PNDO current supply

S is the integer between supply: and the following u128, here 57062905199.

You can then obtain the pALEO amount A you will get for burning N PNDO tokens:

A=N⋅BSA=\frac{N\cdot B}{S}A=SN⋅B​

Open the following link:

Open the following link:

🚀
https://api.explorer.provable.com/v1/mainnet/program/token_registry.aleo/mapping/authorized_balances/3242288718229738787948769588602675310170924869859109695547161313477376112745field
https://api.explorer.provable.com/v1/mainnet/program/token_registry.aleo/mapping/registered_tokens/1751493913335802797273486270793650302076377624243810059080883537084141842601field
https://demo.leo.app/execute