Libre Chain Docs
WebsiteAppWalletCreate Account
  • The Libre Platform
    • Libre is a Bitcoin-native, decentralized lending marketplace
    • Borrow
    • Lend
    • Run A Libre Node
    • Validators
    • The Smart Contract Platform
      • Building Smart Contracts on Libre
      • Libre Developer Tools
      • Libre Testnet
      • API Docs
  • DeFi on Libre DEX
    • DeFi
    • libreDEX
    • Ordinals
    • Building on Libre
      • How to add a trading pair
  • BitcoinFi on Libre
    • Glossary
  • The LIBRE Reward Coin
    • A reward system for validators and stakers
    • Supply
    • Mint Rush
    • Spindrop
      • How to Claim the LIBRE Spindrop
      • Eligibility Requirements for the LIBRE Spindrop
  • ACCOUNTS AND WALLETS
    • LIBRE Account Names
      • Cryptographic Keys
    • Creating Multiple Accounts
    • Bitcoin Libre Wallet
    • Anchor Wallet
      • Creating a Libre MainNet Account in Anchor
      • Creating a Libre Testnet Account in Anchor
      • Getting Testnet LIBRE Coins
    • Ledger Hardware Wallet
  • EARN
    • Staking
    • Mining
    • Referrals
    • Become a Validator
    • DAO Tax
    • Libre Lightning Provider
  • Governance
    • Voting Power
    • Validator Election
    • Libre DAO
    • Libre Governance Docs
      • Libre Blockchain Operating Agreement (LBOA)
      • Block Producer Agreement
      • Block Producer Minimum Requirements
    • Libre Mainnet Multisig Gov
      • Oct 2024
      • July 2023
      • June 2023
      • April 2023
      • March 2023
      • February 2023
      • December 2022
  • Technical Details
    • Libre Core Constants
    • Mint Rush Details
    • Staking Details
    • Verifying Code Updates
      • Deployed Smart Contract Versions
  • Cross-Chain Interoperability
    • Cross-Chain Overview
    • Bridge Comparison
    • Libre CrossLink Bridge
      • Technical Whitepaper
      • Bitcoin to Libre (Peg-In Process)
      • Libre to Bitcoin (Peg Out)
    • Bitcoin Lightning Network
    • USDT / Ethereum
    • Legacy pNetwork
    • Bitcoin Audit
Powered by GitBook
On this page
  • Mint Rush Math
  • Mint Rush LP Token Repayment
  • Mint Rush Table

Was this helpful?

Edit on GitLab
  1. Technical Details

Mint Rush Details

Libre Mint Rush formulas.

PreviousLibre Core ConstantsNextStaking Details

Last updated 8 months ago

Was this helpful?

The Libre Mint Rush was a distribution of LIBRE in exchange for contributions to the AMM liquidity pool of LIBRE / BTC. For graphs and logic please see Mint Rush.

Mint Rush Math

The Mint APY was calculated using the following formula:

f(StakedDays)=((Alpha0+√(StakedDays/365)∗(Beta0−Alpha0)))∗(1+MintBonus)f(StakedDays) =((Alpha0 + √ (Staked Days/365)*(Beta0-Alpha0)))*(1 + Mint Bonus)f(StakedDays)=((Alpha0+√(StakedDays/365)∗(Beta0−Alpha0)))∗(1+MintBonus)

Alpha0 and Beta0 are defined in the Libre Core Constants.

All of the values are stored on-chain as defined in the Mint Rush Table below in the .

Mint Rush LP Token Repayment

Mint Rush contributors received staked LIBRE and also slowly get back their share of the initial liquidity pool which includes the BTC, matching LIBRE, and any fees that have accumulated.

The rate of repayment (daily) is calculated based on the total LP tokens that of any account (that contributed to the mint rush liquidity pool) using the following formula:

r=(TotalLPTokens)/(LPRepaymentLength)r = (Total LP Tokens) / (LP Repayment Length)r=(TotalLPTokens)/(LPRepaymentLength)

Mint Rush Table

Variable
Type
Value

Index

INT

Table row index

Day of Mint Rush

DATE

=Todays Date - Mint Start Date

Staked Days

INT

User Defined **Required**

Your BTC Contribution

FLOAT

=User Defined **Required**

Mint Bonus

%

=(1 - ( Day of Mint Rush / Length of Mint Rush ))

Libre Minted

FLOAT

=( Total BTC Contributed / Your BTC Contribution ) * Total Libre Minted

Mint APY

%

=((Alpha0 + sqrt(Staked Days/365)*(Beta0-Alpha0)))*(1 + Mint Bonus)

Total BTC Contributed

FLOAT

=SUM of all Bitcoin Contributed During Mint Rush

Total Libre Minted

FLOAT

=200,000,000

Mint Bonus

INT

=2x

Length of Mint Rush (Days)

INT

=30

Mint Start Date

DATE

11/15/2022

Minimum Staking Period (Days)

INT

=30

LP Repayment Length (Days)

INT

=365

open-source Libre staking contract