Parse-Docs
  • Getting Started
  • Introduction
    • PARSE stablecoin
    • Payment Gateway
    • Governance
  • technical guide
    • Target Price
    • Tax Protocol
    • Rebase Protocol
    • Architecture and Functionality
Powered by GitBook
On this page
  • The Idea Behind It
  • More In Depth
  • How is it implemented?
  • How is it calculated?
  • Scheduling
  • Tax vs. Rebase
  1. technical guide

Rebase Protocol

PreviousTax ProtocolNextArchitecture and Functionality

Last updated 2 years ago

The Idea Behind It

As a fundamental economic principle, when supply shrinks, the price rises; when it expands, the price falls. Rebase Protocol uses that simple principle to stabilize the price. It adjusts the supply to ensure that the demand always matches the supply. Under this protocol, the balance of users is elastic; it shrinks when the price is under its target and expands when the price is above its target. These changes are applied slightly, smoothly, and gently to avoid user confusion.

This method of stabilizing the price is similar to the one that uses.

More In Depth

How is it implemented?

For each user, a number named "share" is stored on the blockchain. The user's share indicates how much of PARSE's total supply is owned by that user. There is a conversion coefficient that indicates each share is equal to how much PARSE.

conversion coefficient=total nummber of sharestotal PARSE supply\mathrm{conversion~coefficient} = \frac{\mathrm{total~nummber~of~shares}}{\mathrm{total~PARSE~supply}} conversion coefficient=total PARSE supplytotal nummber of shares​

Rebase Protocol changes the total PARSE supply by altering the conversion coefficient.

How is it calculated?

The function fffcalculates the rebase percentage, a number between uuu and lll. The rebase percentage determines how much the total supply should change; if it is greater than one, the total supply expands, and if it is smaller than one, the total supply shrinks. The rebase percentage equal to one means no changes to the total supply. The function fff is an S-shaped curve with two asymptotes (upper and lower bounds) named uuu and lll. There is another hyperparameter called ggg, the growth rate which determines the curve's steepness. The function fff is defined as below: (ppp is the price)

f(p)=l+u−l1−ul⋅2−g⋅pf(p)=l+\frac{u-l}{1-\frac{u}{l}\cdot 2^{-g\cdot p}}f(p)=l+1−lu​⋅2−g⋅pu−l​

Scheduling

Tax vs. Rebase

There are three thresholds:

  • rebase upper threshold

  • tax threshold (or θ\thetaθ)

  • rebase upper threshold

As soon as the price varies between the tax threshold and rebase upper threshold, nothing happens. When the price goes beyond the rebase upper threshold, the total supply extends. When the price goes below the tax threshold but not lower than the rebase lower threshold, the contract imposes some degree of tax on all transactions. For prices lower than the rebase lower threshold, the tax rate is set to zero, and the Rebase protocol shrinks the total supply.

Using the S-shaped curve makes the behavior of Rebase Ptorocol smooth, bounded, and resistant to the noisy oracle price. For more details, see and .

Same as the .

Amplfoth
here
here
Tax Protocol schedule
tax and rebase thresholds