Non-dilutive community-funded reward pools, continuous per-second accrual, and auto-compounding
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.
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);
}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.
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.