Pricing

This document provides a detailed explanation of how the voucher's price calculation work

The DeGym NFT-based voucher pricing function is designed to calculate the price of a voucher based on two primary factors: tier and durability. The pricing model also includes a decay factor, which adjusts the price over time to ensure fairness and incentivize early purchases. The pricing model rewards users who opt for longer durations, offering better value as the duration increases.

System Parameters

The following parameters are internal voucher parameters in the respective of a given ERC20 token determined by the DAO (commercial tokens), which can be changed anytime by voting mechanism:

  • BPB_P: BASE_MONTHLY_PRICE — the base price for a 1-month.

  • MPM_P: MIN_PRICE_FACTOR — The minimum percentage of the base price allowed.

  • DRD_R: PRICE_DECAY_RATE — The rate at which the price decreases as the duration increases.

Function

The pricing of a voucher is determined by the following formula:

Price=max(BP​×(1−DR​×(30D​−1)),MP​×BP​)×T×30D​Price=max(B_P​×(1−D_R​×(\frac{30}{D}​−1)),M_P​×B_P​)×T×\frac{30}{D​}

Where:

  • TT: tier — the tier level of the voucher, which acts as a multiplier.

  • DD: duration — the duration of the voucher in days.

This formula calculates the voucher price by:

  1. Adjusting the base price based on the duration. The longer the duration, the more favorable the pricing.

  2. Ensuring that the price does not fall below a certain threshold, which is determined by the minimum base price factor.

  3. Multiplying by the tier and the normalized duration to arrive at the final price.

Last updated