Mechanism
Overview
Pye uses a yield splitting mechanism to separate staking capital into principal and yield tokens. Although this design is similar to the one used by fixed-yield protocols (ie. Pendle, Exponent), we do not employ this mechanism for the purpose of price discovery for points and speculative value of yield. The primary inteion behind the yield separation of our tokens is to allow users to trade principal and yield independently. As a matter of fact, unlike, price discovery protocols, are PTs are 1:1 redeemable for SOL and do not accrue fixed yield.
Principal Tokens
A principal token (PT) is an SPL token that represents the principal component of a fixed-term lockup. At maturity, it is redeemable 1:1 for the original deposit. PTs do not generate any yield. All yield produced by the principal is distributed to YT token holders.
Minting
When a user stakes with Pye, they are issued Principal Tokens (PT) and Yield Tokens (YT) representing their principal and future yield, respectively. To calculate the amount of PT tokens that will be issued we use the following formula:
where:
is the number principal tokens to mint,
is the principal amount in native units (eg. SOL),
As the formula suggests, PTs are minted 1:1 to the number of tokens deposited as defined by the constant 1
.
Redeeming
At maturity, PT token holders can redeem their tokens for the underlying principal pro rata. To calculate the repayment we use:
where:
is the number of PT the holder redeems,
is the total principal backing the pool,
is the total supply of PTs outstanding.
Reward Accrual
After each Solana epoch, staking rewards are automatically added to the stake account, increasing the number of SOL it contains. While the principal tokens (PTs) remain fixed and redeemable 1:1, the yield tokens (YTs) represent the incremental value that accrues from this compounding process.
We can formalize the initial value (backing) to be:
where:
is the initial deposit
is the principal deposit amount in SOL.
At the end of each epoch , the stake account grows by the effective staking reward rate . The value after epochs is:
After epochs (maturity), the stake account balance is:
where:
= initial deposit
already accounts for validator commission, inflation rate, MEV, etc.
The yield is the difference between the maturity value and the initial deposit:
Therefore:
PT holders redeem their tokens for exactly units of SOL, independent of yield.
YT holders redeem their tokens for the residual yield , distributed pro rata to the number of YT tokens they hold.
Yield Tokens
A yield token (YT) is an SPL token that represents the yield component of a fixed-term bond. Upon maturity, the holder of the YT can redeem the token for the underlying yield. 1 YT
is equal to the yield generated by 1 PT
until maturity.
For example, say Alice stakes 100 SOL into Pye for a period of 3 months starting in September 2025. She receives 2 tokens:
100 PT-SEP25-NOV25
100 YT-SEP25-NOV25
The yield component (100 YT-SEP25-NOV25
) will receive all the yield generated by the principal component (100 PT-SEP25-NOV25
) throughout those 3 months. Alice can redeem her 100 YT for the underlying yield at maturity.
Minting
To calculate the number of YT tokens that will be issued upon deposit, we use the following formula:
where:
is the principal amount in native units,
is the issue date of the bond,
is any date before maturity
is the maturity date of the bond
Unlike principal tokens, YTs are not minted 1:1 to the deposit. The number of YT tokens minted are relative to the total lockup period .
Here are some scenarios:
User stakes on the issuance date of the bond, where , and yield tokens are minted 1:1 to principal ,
User stakes during the middle of the term, where , and less yield tokens are minted, proportional to the time remaining,
User stakes ahead of the issuance date, where , and more yield tokens are minted, proportional to time remaining until issuance starts.
Redeeming
At maturity, YT token holders can redeem their tokens for the underlying yield pro rata.
The total yield accrued at maturity is .
Let represents the total supply of YT tokens outstanding for that maturity.
If a holder redeems units of YT tokens, their proportional share is:
where:
is the number of YT tokens redeemed by the holder,
is the total YT tokens outstanding,
is value of the stake account at maturity
is the original deposit amount.
Last updated