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.

Vesting Curve & Staking Yield Simulators
Vesting Schedule Simulator
Staking Yield Calculator
RareToken Packages & Deployment
- ✓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
- ✓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
- ✓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
Token Architecture & Security Invariants
// 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.
