Pricing
This document provides a detailed explanation of how the voucher's price calculation work
Last updated
This document provides a detailed explanation of how the voucher's price calculation work
Last updated
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.
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:
: BASE_MONTHLY_PRICE — the base price for a 1-month.
: MIN_PRICE_FACTOR — The minimum percentage of the base price allowed.
: PRICE_DECAY_RATE — The rate at which the price decreases as the duration increases.
The pricing of a voucher is determined by the following formula:
Where:
: tier — the tier level of the voucher, which acts as a multiplier.
: duration — the duration of the voucher in days.
This formula calculates the voucher price by:
Adjusting the base price based on the duration. The longer the duration, the more favorable the pricing.
Ensuring that the price does not fall below a certain threshold, which is determined by the minimum base price factor.
Multiplying by the tier and the normalized duration to arrive at the final price.