YieldX is a decentralized finance (DeFi) smart contract enabling users to tokenize and trade future yield. This innovative protocol separates asset ownership from its yield, allowing users to secure fixed-rate income or speculate on future yield. With a fixed 60-day maturity period, users can seamlessly trade tokenized yield while benefiting from a transparent and secure system.
Depositing:
Tokenization:
Principal Withdrawal:
Yield Claims:
Yield Token Trading:
Cancellation:
Fee Management:
deposit()
: Deposit native tokens to receive PT and YT.withdrawPrincipal()
: Withdraw the principal after the 60-day maturity period.claimYield(address depositorAddress)
: Claim EDU yield using Yield Tokens (YT).sellYieldToken(address buyer, uint256 yieldAmount)
: Sell Yield Tokens to another user.cancelDeposit()
: Cancel the deposit and reclaim the principal before maturity.updateFeeRate(uint256 newFeeRate)
: Update the transaction fee for Yield Token trades.getDepositDetails(address user)
: View deposit details for a user.calculateYield(uint256 amount, uint256 interestRate)
: Calculate yield based on principal and interest rate.deposit()
with the desired amount of native tokens.withdrawPrincipal()
to reclaim your principal in native tokens.claimYield()
using your Yield Tokens (YT) to receive EDU yield.sellYieldToken(buyer, yieldAmount)
to sell Yield Tokens.cancelDeposit()
to reclaim your principal before maturity.Deposited(address indexed user, uint256 amount, uint256 maturityTime, uint256 interestRate)
YieldTokenSold(address indexed seller, address indexed buyer, uint256 yieldAmount)
PrincipalWithdrawn(address indexed user, uint256 amount)
YieldClaimed(address indexed user, uint256 amount)
DepositCanceled(address indexed user, uint256 principalRefunded)
FeeUpdated(uint256 newFeeRate)
Here, You can deposit you yield tokens, withdraw principle, claim yield, sell yield and also you can cancel you deposit. Also you can see details of your deposit.
Read about the project and its features
You can connect to wallet of your choice via rainbow wallet.
YieldX offers a robust and innovative decentralized finance protocol, enabling users to tokenize and trade future yield with ease and security. By separating asset ownership from its yield, it provides opportunities for both fixed-rate income and speculative yield trading. With a transparent system, a fixed maturity period, and various user functions, YieldX simplifies yield management while maintaining security and flexibility.