TribFi Protocol Documentation • Base Mainnet

TribFi Protocol Whitepaper

The decentralized architecture for fair-launch community tokens, zero-rug locked liquidity, and lifetime creator rewards on Base. Built with fixed 1 Billion token supplies, 5% anti-snipe limits, and permanent non-custodial smart contracts.

Section 08 • DeFi & Staking Utilities
~6 min read•8 of 20

Fundable Staking Vaults: Dynamic APY, Community Funding & Yield Mechanics

Non-dilutive community-funded reward pools, continuous per-second accrual, and auto-compounding

1. Non-Dilutive Staking Model

Traditional staking protocols print new tokens out of thin air to pay yield, causing runaway hyper-inflation that crashes token prices. TribFi replaces this with Fundable Staking Vaults (TribFiStakingVault.sol deployed via TribFiStakingFactory.sol).

In TribFi Staking Vaults, token supply is strictly capped. Reward pools are funded by real community contributions, creator fee royalties, and DAO donations.

2. Community fundRewards() Architecture

Any participant—creators, whales, community DAOs, or loyal members—can call fundRewards(uint256 amount) to inject yield into the vault. This allows communities to sponsor reward seasons or distribute bonus incentives permissionlessly.

// TribFiStakingVault.sol - Community Reward Funding
function fundRewards(uint256 amount) external nonReentrant {
    require(amount > 0, "Amount must be > 0");
    IERC20(stakingToken).safeTransferFrom(msg.sender, address(this), amount);
    rewardPoolBalance += amount;
    emit RewardsFunded(msg.sender, amount, rewardPoolBalance);
}

3. Per-Second Accrual & Compounding Math

Rewards accrue smoothly every single second according to the immutable APY basis points (apyBps). Users can call compound() to instantly add accrued yield back into their staked principal without paying early exit penalties or gas-heavy re-deposits.

4. Cooldowns, Lockups & Emergency Exit

Vaults can configure optional lockup periods and cooldown windows. If a staker chooses to exit early, any early withdrawal penalty (earlyWithdrawPenaltyBps) remains in the reward pool, directly enriching long-term stakers who stay. An emergencyWithdraw() safety hatch allows users to rescue their principal during paused conditions.