Smart Contract Breakdown
Last updated
Last updated
Forged in Solidity, unyielding as steel, this code governs those who pledge their TBTC. It is law, order, and the path to power.
Command: deposit(uint256 _pid, uint256 _amount)
Function: Warriors stake their TBTC, and the contract records their offering.
Rule: Once pledged, the path begins—there is no turning back without consequence.
Watcher: The TashiDo Algorithm tracks every moment.
Check Rewards: pendingReward(uint256 _pid, address _user)
Claim Rewards: claimReward(uint256 _pid)
Law: Loyalty is rewarded. Hesitation is punished. Patience brings power.
Create a Pool: addPool(IERC20 _stakedToken, IERC20 _rewardToken, uint256 _APY, uint256 _lockDays)
Purpose: The battlefield evolves—each pool has its own risks and rewards.
Wisdom: Some pools reward patience. Others reward boldness. Choose wisely.
Withdraw Safely: withdraw(uint256 _pid, uint256 _amount)
Emergency Exit: emergencyWithdraw(uint256 _pid)
Warning:
Serve your time, and you reclaim your honor unscathed.
Leave too soon, and the penalty strikes.
Owner Commands:
Check Master: owner()
Transfer Power: transferOwnership(address newOwner)
Step Down: renounceOwnership()
Legacy: The system stands strong yet adaptable, ensuring the Shōgun’s Vault endures through time.
This contract is more than code—it is the law of the Staking Samurai. Honor it. Master it. Claim your rightful rewards.