NETWORK: BSC MAINNET (56) • BLOCK TIME: 450ms (FERMI) • opBNB: LIVE (204)
RARETOKEN // TIMESTAMP-INVARIANT TOKEN KIT•FIXED SUPPLY ERC-20

POST-FERMI 450ms-SAFE TOKEN LAUNCHES, VESTING & STAKING

Immune to BSC block-time drift. Fixed supply minted once to your Gnosis Safe treasury, timestamp-invariant linear vesting curves, and Synthetix-style staking reward contracts with 256-run invariant proofs.

Test Vesting & Staking Simulators ↓
RareToken ERC-20 Treasury & Vesting Timelock Vault
RareToken • Timelock ChronometerFixed Supply + Synthetix APY
01 // Interactive Protocol Simulators

Vesting Curve & Staking Yield Simulators

Contract: RareVesting.sol & RareStaking.sol • Invariants Verified

Vesting Schedule Simulator

Total: 1,000,000 RARE • 6-Mo Cliff • 36-Mo Linear
CLIFF + LINEAR
ELAPSED TIME:12 MONTHS
0 Mo (TGE)6 Mo (Cliff)18 Mo36 Mo (100%)
UNLOCKED: 33%LOCKED: 67%
CLAIMABLE TOKENS
330,000 RARE
Ready to withdraw
REMAINING IN ESCROW
670,000 RARE
Safe Multisig Vault
✓ Invariant Formally Checked:
released (330000) + releasable (670000) == 1,000,000 (0 Dust)

Staking Yield Calculator

Synthetix-style rewardPerToken • Fixed 18.5% Base APY
SYNTHETIX ALGO
ESTIMATED HARVESTABLE REWARD:18.5% APY
+456 RARE
Total return after 90 days: 10,456 RARE
// O(1) Gas Complexity: Claiming rewards consumes ~44k gas regardless of the pool size.
02 // Commercial Packages

RareToken Packages & Deployment

USD PRICING
Open-Source CoreGITHUB REPO
Free & Open Source
MIT Licensed Core
  • ✓RareToken.sol (Fixed-cap ERC-20, zero post-deploy mint)
  • ✓RareVesting.sol (Timestamp-based cliff + linear curve)
  • ✓RareStaking.sol (Synthetix-style rewardPerToken)
  • ✓Foundry invariant tests (256 runs, 0 rounding dust loss)
  • ✓Safe multisig deployment scripts
Token + Vesting DeploymentTURNKEY LAUNCH
$2,000 USD
Billed in USD via Safe / Wire
  • ✓Custom tokenomics parameterization & review
  • ✓Multi-beneficiary vesting schedules setup
  • ✓BSC Testnet (97) simulation & verified deployment
  • ✓BscScan token information registration assistance
  • ✓Safe multisig treasury & ownership handover runbook
Full DeFi Staking SuiteFULL STACK DEFI
$4,500 – $6,000 USD
Billed in USD via Safe / Wire
  • ✓RareStaking.sol deployment with custom reward schedules
  • ✓Next.js cinematic staking dApp with live APY telemetry
  • ✓Ponder indexer for real-time holder & staker rankings
  • ✓Full static analysis triage (Slither + Aderyn)
  • ✓Post-deployment monitoring and retainer support
03 // Smart Contract Architecture & FAQ

Token Architecture & Security Invariants

RareVesting.sol // Invariant Math
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";

contract RareVesting is Ownable2Step {
    using SafeERC20 for IERC20;

    // Guaranteed block.timestamp math — immune to BSC 450ms block drift
    function computeReleasableAmount(Schedule storage s) internal view returns (uint256) {
        if (block.timestamp < s.start + s.cliffDuration) {
            return 0;
        }
        if (block.timestamp >= s.start + s.totalDuration) {
            return s.totalAmount - s.releasedAmount;
        }
        uint256 totalVested = (s.totalAmount * (block.timestamp - s.start)) / s.totalDuration;
        return totalVested - s.releasedAmount;
    }
}

Why does block-number math completely break on BSC post-Maxwell?

Following the 2025–2026 Maxwell and Pascal upgrades, BSC cut block intervals from 3.0s down to 450ms (~0.45s). Any legacy contract calculating vesting or staking using block.number + (N * 1200) experiences massive time-warp drift (running nearly 7x faster than intended). RareToken and RareVesting strictly use block.timestamp for all duration and vesting math.

Can the contract owner or Rareware mint more tokens after deployment?

No. RareToken.sol enforces an absolute fixed supply. The entire supply is minted once in the constructor to the deployer’s Gnosis Safe treasury. There is no mint() function in the bytecode, making supply dilution cryptographically impossible.

What is the "Zero Rounding Dust" invariant in RareVesting?

In standard vesting contracts, integer division rounding can leave tiny dust balances trapped forever. RareVesting.sol is audited against a stateful Foundry invariant (testInvariant_VestingConservation) proving that for all actors and all time timestamps, released + releasable == totalAllocation with zero trapped dust.

How does staking reward calculation work without high gas overhead?

RareStaking.sol utilizes the industry-gold-standard Synthetix rewardPerTokenStored algorithm adapted for timestamp seconds. Instead of looping through all stakers (which hits gas limits), rewards accumulate in a single global accumulator, allowing stakers to deposit and harvest in O(1) constant gas.

Who holds the contract ownership keys upon deployment?

All deployments are initialized via OpenZeppelin Ownable2Step and transferred to your team’s Gnosis Safe multisig with an optional timelock. Rareware holds zero persistent admin keys.

Ask ReBo24/7
Rareware AI Architect
Floating ReBo Character