Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
The Synthetic Staking Protocol
Exceed is a Stablecoin Yield and Synthetic Staking platform redefining how on-chain yield is generated and accessed. It is a vertically integrated protocol — spanning proprietary yield engines, a developer SDK, and a user-friendly frontend — built to deliver the highest yields for both institutional users and crypto-native participants.
Inspired by smart beta ETFs in traditional finance, Exceed applies systematic, rules-based yield generation to crypto — enhancing returns while maintaining transparency and simplicity.
We aim to make staking smarter, more flexible, and more rewarding — while keeping the experience simple, predictable, and fully transparent. Exceed acts as an infrastructure layer that upgrades how crypto assets are staked and used, unlocking better outcomes for users without adding complexity.
Unlike traditional staking solutions that are static and low-yielding, Exceed dynamically allocates capital between validator rewards and synthetic yield modules. This means users always earn the most competitive return possible — in both bullish and bearish markets — without needing to actively manage anything.
Synthetic staking is an advanced but transparent approach to staking. With Exceed, users earn not only blockchain security rewards (validator yield) but also market-based rewards, such as funding fees paid by traders. These two sources of yield are seamlessly combined through automated, rules-based logic.
When users stake with Exceed, they help secure both blockchains and crypto markets, contributing to greater stability across the ecosystem — and in return, they earn superior rewards.
In practice, users receive a synthetic liquid staking token (sLST) — such as pikSOL or pikUSDC — which grows in value over time, just like traditional LSTs. The user experience mirrors that of staking with popular protocols on Solana today, with no extra steps or complexity.
Staking, in its current form, leaves much to be desired. Yields are typically low, inflexible, and unresponsive to real-time market conditions. On the other hand, many newer “yield-enhancing” protocols introduce unnecessary complexity, lack transparency, rely on directional trading, and often do not offer principal protection — exposing users to avoidable risk.
Exceed takes a different path.
We’re building a robust, transparent infrastructure layer designed to:
Maximize staking efficiency in a predictable, risk-conscious way
Deliver higher returns through systematic, rule-based synthetic yield infrastructure
Maintain simplicity and transparency at every level of the user experience
Exceed is launching with 25% APY on SOL and 20% APY on USDC, partly funded with token incentives
V1 has been live on Solana mainnet (private beta) since October 2024, consistently outperforming all benchmarks
Familiar staking experience with transparent, automated optimization behind the scenes
You deposit SOL or USDC
Exceed mints a synthetic liquid staking token (e.g. pikSOL, pikUSDC)
Your assets are dynamically allocated to either validator staking or synthetic yield modules — depending on which offers better performance
The value of your sLST increases over time relative to the underlying asset, reflecting accrued yield
Withdraw anytime — standard withdrawals settle in 24–48 hours, or choose instant withdrawal (for a small fee) via our liquidity network

The Switch Tokens tab allows you to seamlessly convert between respective Regular and Reserve staking tokens at any time. This lets you change staking modes and / or your staking assets without unstaking or interrupting your staking streak.
1. Token Selection Tab Choose which token pair you want to switch between.
2. Amount to Switch Enter the amount of your current staking token you'd like to switch from. You can click “MAX” to use your full available balance.
3. Tokens Recieved Displays the token and amount you will receive after the switch based on the current exchange rate and a switching fee if applicable. A switching fee is only applied when switching between sLSTs with different underlying assets, i.e. switching between USDC-based and SOL-based sLSTs.
4. Switch Button After entering your amount, click Switch and confirm the transaction in your wallet. The new tokens will be available in your wallet instantly.
6. Arrow Button Click the arrow to toggle between matching tokens (e.g., pikSOL ↔ pitSOL), and switch staking modes.
Synthetic staking is an advanced but transparent approach to staking. With Exceed, users earn not only blockchain security rewards (validator yield) but also market-based rewards, such as funding fees paid by traders. These two sources of yield are seamlessly combined through automated, rules-based logic.
The Founders Reserve is an exclusive group of early supporters who gain access to premium benefits and long-term alignment with Exceed’s future. A total of 500 seats are available — split between Lifetime Seats and Competitive Seats — each granting elevated rewards, governance power, and recognition within the protocol. For more information visit the
1. Payment Method Toggle Select whether you want to purchase FXT Points using SOL or USDC. This choice determines which token you'll use for the transaction.
The APY you see on the Exceed app is the actual yield you will earn during the current week — not a historical estimate.
All yields are shown as annualized, compounded rates, meaning they account for reinvestment over time.
Yields are derived from the underlying performance of Exceed’s synthetic yield engines — including JLP trading commissions, funding rates, and validator rewards. See the High-Yielding Synthetic USDC and SOL sections for an explanation of yield sources.
Exceed rewards regular stakers with FXT points, calculated in real-time and added continuously to user balances.
Real-Time Calculation. Every 5 seconds, the protocol compares actual in-kind yield to target APY. The difference is minted as FXT points at a 100:1 ratio to future tokens
FDV Valuation Schedule. Initial rewards are calculated at a $50M FDV. The valuation escalates progressively to $100M, so earlier participants lock in more favorable conversion terms.
Program Duration. Incentives phase out automatically as TVL grows, rewarding the earliest stakers with the maximum benefits.
Vesting Schedule. Once FXT Points convert into Exceed Tokens at TGE:
30% unlocks immediately
70% vests linearly over 9 months, starting after a 3-month cliff.
What you see is what you get. No guesswork, no lag.
3. You Pay (Input) Enter the amount of SOL or USDC you want to use to purchase FXT Points. The equivalent dollar value is displayed below.
4. You Recieve (Output) Shows how many FXT Points you'll receive based on the amount entered above.
5. Purchase Button Click Purchase to confirm your transaction and receive FXT Points. You’ll be prompted to approve the transaction in your connected wallet. You're now one step closer to joining the Founders Reserve.
6. Lifetime Seats Counter Shows how many of the 100 limited Lifetime Seats are still available. These seats are granted to users who purchase or earn (through reserve staking) 30M FXT Points and are non-competitive and permanent. Seats are awarded on a first past the line principle.
7. Competitive Seats Counter Displays how many of the 400 competitive seats are still available. These seats can be earned by reaching 2 million FXT Points (through reserve staking or purchase) and maintaining a 500-day staking streak. If you withdraw or lose eligibility, your seat may be reallocated to someone else who meets the criteria. You keep your seat even if others qualify as long as you don’t break your streak or sell your FXT / Exceed Tokens. The explainer on streaks is in another section.


pikUSDC and pitUSDC are Exceed’s synthetic USDC products, offering USD-pegged exposure with significantly higher yield than traditional stablecoins — powered by crypto-native yield sources.
Yield on synthetic USDC is derived from three core mechanisms:
Exceed allocates capital into the JLP pool, which powers Solana’s leading Perps DEX, earning a share of trading fees and funding from perpetual traders.
Exceed runs a delta-neutral strategy by staking SOL while shorting SOL perps. This earns:
~8% from staking SOL (inflation, fees, MEV)
~12% from funding fees on short perp positions Together, this strategy offers stable, relatively high yield USD returns.
When market-based returns fall below the prevailing USD crypto risk free rate (the baseline stablecoin yield available on blue-chip borrow-lend protocols), Exceed automatically reallocates to those benchmark strategies. This includes either:
Switching to leading DeFi lending protocols on Solana (e.g. Kamino, DRIFT)
Alternatively, converting collateral into Franklin Templeton’s Benji Token to earn baseline yield from US Treasury Bills, via Exceed’s integration agreement with Franklin Templeton
This dynamic floor ensures that Exceed never underperforms what users could get from low-risk DeFi yield options.
Exceed ensures synthetic USDC stays pegged to $1 through:
Redeemability of synthetic USDC at par value for USDC at any time
Real-time rebalancing to maintain delta-neutrality of collateral
Aallocations are always transparent and auditable via the protocol’s dashboard. Every pikUSDC and pitUSDC token is backed by productive collateral designed to maintain both liquidity and peg integrity under a wide range of market conditions.
Reserve Staking offers the highest rewards in the Exceed ecosystem — with yield paid in FXT Points, the future native token of the protocol.
100 FXT Points will convert into 1 Exceed Token at the Token Generation Event (TGE).
Your yield is calculated based on the amount staked and a target APY (e.g. 50–100%), using a fixed reference token price:
Staked Amount × APY ÷ Token Price = FXT Points Earned
The protocol will only conduct its TGE once it surpasses $300M in TVL, aligning with a target valuation of $500M–$2B.
The APY for Reserve Staking is set by the protocol as a multiple of regular staking yield and may evolve over time. It is Calibrated to reward early adopters and long-term supporters.
Once FXT Points convert into Exceed Tokens at TGE:
30% unlocks immediately
70% vests linearly over 9 months, starting after a 3-month cliff
FXT Points are non-transferable
They accrue passively through Reserve Staking
They can also be purchased via the Founders Reserve tab for users who wish to accelerate accumulation — whether to secure a Founders Reserve seat or simply build a larger future stake
FXT Points represent a growing stake in the future of the protocol
When users stake with Exceed, they help secure both blockchains and crypto markets, contributing to greater stability across the ecosystem — and in return, they earn superior rewards.
In practice, when staking with Exceed users receive a synthetic liquid staking token (sLST) — such as pikSOL or pikUSDC — which grows in value over time, just like traditional LSTs. The user experience mirrors that of staking with popular protocols on Solana today, with no extra steps or complexity.
For users seeking higher APYs and deeper participation in the Exceed ecosystem, Reserve Staking offers an advanced path. When staking in Reserve mode, users receive pitSOL or pitUSDC — tokens that stay pegged 1:1 to the underlying asset. Instead of growing in value, rewards are accrued as FXT Points (Future Exceed Tokens), which can later be redeemed 1:1 for Exceed Tokens at TGE.
1. Navigation Bar The top navigation bar allows you to switch between the core protocol modules:
Stake: Stake your SOL or USDC using Regular or Reserve staking modes.
Switch Tokens: Move tokens between regular and reserve staking modes without unstaking.
Founders Reserve: Earn or Purchase FXT Points to claim a lifetime seat and unlock exclusive perks.
2. Regular Staking Regular Staking lets you stake SOL or USDC and receive pikSOL or pikUSDC - synthetic liquid staking tokens (sLSTs) that grow in value over time relative to their underlying token, earning you higher yields. By selecting "Stake" you will be directed to the Regular Staking tab.
3. Reserve Staking Reserve Staking lets you stake SOL or USDC to receive pitSOL or pitUSDC - synthetic liquid staking tokens (sLSTs) that stay 1:1 with their underlying asset, while earning FXT Points redeemable 1:1 for Exceed Tokens at TGE. Selecting “Stake” will take you directly to the Reserve Staking tab.
4. FXT Points Badge Shows the number of FXT Points you’ve earned or purchased once your wallet is connected.
5. Connect Wallet Button that allows you to connect your wallet in order to use the dApp.
Once you've selected Regular Staking, you'll land on this screen. Here, you can stake SOL or USDC and receive pikSOL or pikUSDC - synthetic liquid restaking tokens (sLSTs) that grow in value over time relative to their base asset. Simply select your asset, enter the amount, and confirm the transaction to start earning yield.
1. Token Selection Tabs Switch between staking SOL or USDC. Your choice determines whether you receive pikSOL or pikUSDC.
2. Stake/Unstake Toggle Choose whether you want to deposit new funds (Stake) or begin the withdrawal process (Unstake).
3. Amount to Stake Enter how much SOL or USDC you want to stake. You can also click "MAX" to use your full available balance. Click "Stake" and confirm the transaction in your wallet. Upon confirmation, pikSOL or pikUSDC will automatically appear in your wallet.
4. Tokens Received Shows how much pikSOL or pikUSDC you'll receive based on the amount you've entered and the current exchange rate.
5. Stake Button After entering your amount, click Stake and confirm the transaction in your wallet to initiate staking.
6. Arrow Button This button lets you toggle between staking and unstaking modes. If you want to unstake, pikSOL will be converted back into SOL at the displayed exchange and considering a small withdrawal fee.
7. FXT Points Badge Shows the number of FXT Points you’ve earned or purchased. FXT Points are redeemable for Exceed Tokens at a 1:1 ratio on TGE.
8. Wallet Button Shows the connected wallet and allows you to manage wallet interactions (e.g. switch accounts or disconnect).
9. Back Button Takes you back to the previous screen where you choose between Regular and Reserve staking strategies.
By clicking the "Unstake" toggle, the interface switches to enable you to unstake your funds. The Regular Unstaking screen allows you to redeem your pikSOL or pikUSDC for SOL or USDC.
After selecting the amount you wish to unstake and confirming the transaction, your request enters a 48-hour withdrawal window. You’ll be able to monitor and manage your pending withdrawals directly from this screen.
1. Amount to Unstake Enter the amount you want to unstake. pikSOL will be converted into SOL and available to claim after 48 hours. Use the MAX button to automatically fill in your full balance.
2. Tokens Received Shows the amount of the SOL / USDC you will receive based on the amount of Exceed sLSTs you entered and the current exchange rate, taking into account a small withdrawal fee.
3. Unstake Button Click this button to begin the unstaking process. Once confirmed in your wallet, a pending withdrawal will be created. Funds will be available for withdrawal after a 48 hour period.
4. Pending Withdrawals A tab where you can monitor withdrawals and claim your funds. See the "Withdrawals" page for more information.
Once you've unstaked and confirmed the transaction in your wallet, your request will appear in the Pending Withdrawals tab. Withdrawals are completed over a 48-hour period and follow a clear, three-stage process — described below and illustrated in the app interface.
Withdrawals are batched daily, with midnight UTC as the cutoff.
Requests submitted before midnight UTC will be claimable at midnight UTC the next day — i.e., settled in ~24 hours
Requests submitted after midnight UTC are included in the next batch — and become claimable in ~48 hours
Actual unstaking duration ranges from 24 to 48 hours, depending on when your request enters the batching window.
1. Stage 1 — Pending (0–24 hours) This is the initial stage of the withdrawal period. During this time, your request is still cancelable. If you change your mind and want to continue staking, simply click the "Cancel" button. There is no fee for cancelling a withdrawal request. And your unstaking fee will also be returned in full.
2. Stage 2 — Committed (24–48 hours) Once the first 24 hours have passed, your withdrawal request becomes locked. It can no longer be canceled, and your funds are now in the final settlement window.
3. Stage 3 — Claimable (after 48 hours) When the full 48-hour period is complete, your withdrawal becomes claimable. The "Withdraw" button will activate, allowing you to transfer your SOL or USDC back to your wallet.
For users seeking higher APYs and deeper participation in the Exceed ecosystem, Reserve Staking offers an advanced path. When staking in Reserve mode, users receive pitSOL or pitUSDC — tokens that stay pegged 1:1 to the underlying asset. Instead of growing in value, rewards are accrued as FXT Points (Future Exceed Tokens), which can later be redeemed 1:1 for Exceed Tokens at TGE. Choose your asset, enter the amount, and confirm the transaction to begin earning.
1. Token Selection Tabs Switch between staking SOL or USDC. Your choice determines whether you receive pitSOL or pitUSDC.
2. Stake/Unstake Toggle Choose whether you want to deposit new funds (Stake) or begin the withdrawal process (Unstake).
3. Amount to Stake Enter how much SOL or USDC you want to stake. You can also click "MAX" to use your full available balance. Click "Stake" and confirm the transaction in your wallet. Upon confirmation, pitSOL or pitUSDC will automatically appear in your wallet.
4. Tokens Received Shows the amount of pitSOL or pitUSDC you'll receive based on the amount you've entered. SOL and USDC are always 1:1 with pitSOL and pitUSDC.
5. Stake Button After entering your amount, click Stake and confirm the transaction in your wallet to initiate staking.
6. Arrow Button This button lets you toggle between staking and unstaking modes. If you want to unstake, pitSOL will be converted back into SOL at the displayed exchange rate minus a small withdrawal fee, as displayed on the screen.
7. FXT Points Badge Shows the number of FXT Points you’ve earned or purchased. FXT Points are redeemable for Exceed Tokens at a 1:1 ratio on TGE.
8. Wallet Button Shows the connected wallet and allows you to manage wallet interactions (e.g. switch accounts or disconnect).
9. Back Button Takes you back to the previous screen where you choose between Regular and Reserve staking strategies.
By clicking the "Unstake" toggle, the interface switches to enable you to unstake your funds. The Reserve Unstaking screen allows you to redeem your pitSOL / pitUSDC for SOL / USDC respectively.
After selecting the amount you wish to unstake and confirming the transaction, your request enters a 48-hour withdrawal window. You’ll be able to monitor and manage your pending withdrawals directly from this screen.
1. Amount to Unstake Enter the amount you want to unstake. pitSOL will be converted into SOL and available to claim after 48 hours. Use the MAX button to automatically fill in your full balance.
2. Tokens Received Shows the amount of the SOL / USDC you will receive based on the amount of Exceed sLSTs you entered and the current exchange rate, taking into account a small withdrawal fee.
3. Unstake Button Click this button to begin the unstaking process. Once confirmed in your wallet, a pending withdrawal will be created. Funds will be available for withdrawal after a 48 hour period.
4. Pending Withdrawals A tab where you can monitor withdrawals and claim your funds. See the "Withdrawals" page for more information.
Exceed allocates capital into the JLP pool, which powers Solana’s leading Perps DEX, earning a share of trading fees and funding from perpetuals traders.
When funding rates are negative, Exceed may open long SOL positions on decentralized (Drift) or centralized (Binance) perpetual exchanges, collecting funding fees for its long SOL exposure.
When blockchain-native staking rewards (validator yield) exceed market-based returns, Exceed dynamically reallocates capital to traditional staking — ensuring users earn at least as much as they would via traditional staking providers. This switching mechanism guarantees baseline staking performance with upside when market conditions are favorable.
To ensure that synthetic SOL 1:1 tracks the performance of native SOL:
The protocol uses a combination of JLP pool exposure, SOL-denominated derivatives, and validator staking
This allows Exceed to mirror SOL’s price behavior 1:1 while capturing yield from multiple sources
The peg is maintained through:
Redeemability of synthetic SOL at par value for SOL at any time
Real-time asset-liability matching
A transparent dashboard displaying real collateral composition
pikSOL and pitSOL are always backed by yield-generating collateral, with built-in protections to prioritize peg stability and risk-adjusted yield.

Users are at the heart of the Exceed ecosystem. The largest share of tokens is allocated to users via the FXT Points system, rewarding early participation and long-term engagement.
Unlike most points programs, FXT Points are fully transparent and simple:
100 FXT Points = 1 Exceed Token at TGE
Your token rewards are updated in real time
TGE timing is public and TVL-dependent ($300M target) — no uncertainty
The team is on a 4-year vesting schedule, with:
1-year cliff
3 years of daily linear unlocks
This reflects deep commitment to building the protocol for the long haul — not cashing out early.
Exceed is founded by builders who are also users — and who are designing the system they wish existed. The result is a protocol where users come first, and ownership is earned through contribution.
Exceed is currently self-funded by founders. While the protocol may raise strategic venture capital in the future, it will be limited to 2–4% of total token supply at most — preserving the protocol's user-owned foundation.







Through derivatives and dynamic exposure management, the protocol maintains delta-neutrality and full SOL exposure — keeping value stable in USD terms for USDC-based synthetic assets and in SOL terms for SOL-based ones.
Our infrastructure adapts to markets in real time. When validator yields or benchmark stablecoin rates outperform market-based sources (e.g. fees, funding), Exceed reallocates automatically — ensuring users always earn competitive returns.
Underlying collateral is liquid and composable. Even during market stress, collateral can be efficiently unwound with minimal cost — ensuring timely redemption.
Colalteral is held in institutional-grade, non-custodial wallets (Fireblocks). This setup minimizes both operational and custodial risk.
In extreme scenarios, the protocol can shift colateral into Franklin Templeton’s tokenized treasury Benji fund, providing a crypto-to-TradFi safety rail that anchors value to regulated, USD-denominated assets.
All smart contracts have been audited by top-tier security firms and rigorously tested. Ongoing monitoring and structured internal reviews ensure continued protocol integrity. Check our latest aduit by Quantstamp here:
Liquid Staking Program Address: par1tyqusak2f2DXg9RHv78SVHNWXkJLSbtJZQSuWjV
The Liquid Staking Program uses a "Pair" model to ensure that every LST issued is backed by an underlying token. Each pair maintains:
An associated token account for the base token (receives deposits)
An LST mint with configurable decimals matching the base token
Dynamic exchange rates that compound yield over time based on APR and time intervals
Configurable fees (stake, swap, withdrawal) up to 25% (2500 bps)
Withdrawal windows batch withdrawal requests for processing. Each window has:
Time boundaries: start_time, end_time, earliest_withdrawal_time, expiration_time
Capacity limits: max_withdrawal_amount (in base tokens)
Creation: Window authority creates a window with time parameters and max withdrawal amount
Request Period: Users can request withdrawals between start_time and end_time
Funding: After end_time, deposit authority funds the window with requested_withdrawal_amount base tokens
Here are the PDA seeds used to derive each account type in the program:
Access Control
Pair
LST Mint
Withdrawal Window
Withdrawal Request
To manually derive a withdrawal window address, you need:
The pair address - e.g., J6szVgxaWyCrvKJHfjrV6CzbFUcvfgu7KqQ7gJ1DtWii for pikSOL
The window's start time - Unix timestamp as an i64
The program ID - par1tyqusak2f2DXg9RHv78SVHNWXkJLSbtJZQSuWjV
Manual Derivation Example:
Key Points:
The start_time must be converted to little-endian i64 bytes (8 bytes)
Each unique start_time creates a different withdrawal window
Windows are immutable once created - the start time becomes part of the address
Streaks are Exceed’s loyalty system — a transparent and consistent way to reward long-term participation in both Regular and Reserve staking. By staking daily, users earn Streaks that unlock higher yields, increase engagement, and pave the way to exclusive benefits like the Founders Reserve.
You earn 1 Streak per day for each staking mode:
The Founders Reserve is an exclusive group of early supporters who gain access to premium benefits and long-term alignment with Exceed’s future. A total of 500 seats are available — split between Lifetime Seats and Competitive Seats — each granting elevated rewards, governance power, and recognition within the protocol. See the Founders Reserve Section for more details.
Members of the Founders Reserve receive:
1 Streak for Regular Staking
1 Streak for Reserve Staking
That means you can earn up to 2 Streaks per day
More ways to earn Streaks (e.g. through referrals) are coming soon
Streaks aren’t just about long-term goals — users are rewarded progressively. As your streak count grows, your APY increases across both Regular and Reserve staking.
100
~50 days
+5% APY
200
~100 days
+10% APY
300
~150 days
+15% APY
At 500 Streaks (currnetly achievable in ~250 days at the 2/day max), users become eligible for a Competitive Seat in the Founders Reserve, provided they also meet the required FXT Points threshold.
The Streak counter caps at 550.
To keep the system fair and reward long-term engagement:
You can withdraw up to 5% of your stake per week with no penalty
If you withdraw more than 5%, you will incur a proportional Streak reduction
This ensures flexibility for users who need liquidity, while maintaining strong incentives for ongoing participation.
Revenue share — earn 5% of protocol fees
Higher staking APYs — 15% boost
Governance — vote and help shape the future of Exceed
Transferable access — seats are represented as NFTs
There are two ways to earn a seat:
Earn or purchase 3 billion FXT Points to secure a permanent, non-revocable seat. Once you meet the requirement, the seat is yours for life, regardless of future activity.
Hold at least 200 million FXT Points and maintain a 500-day staking streak to claim a Competitive Seat.
These seats are yours to lose — meaning:
You keep your seat as long as you maintain eligibility (staking streak + token holdings)
You only lose your seat if you withdraw, sell, or break your streak
A real-time leaderboard will be available in the dApp, showing:
How many Lifetime and Competitive Seats remain
Your current standing vs. others
How close you are to qualifying
This ensures full transparency and allows users to track progress and stay competitive in real time.
Stake SOL or USDC through Reserve Staking to earn FXT Points and build your staking streak. This lets you progress naturally toward a Competitive or Lifetime Seat.
Purchase FXT Points directly to accelerate your progress toward a Founders Reserve seat. This is ideal if you're looking to secure a seat early and unlock benefits immediately.
Deposit caps and minimum deposit requirements
LST Mint Address
8B9vL4c9w5HiyFXdPT8Z8hgFvSeZ14Y5DxjCZyRSTf4z
requested_withdrawal_amount, total_lst_burned, withdrawn_amountFunding status: is_funded flag indicates if the window has been funded with base tokens
Execution Period: Users can execute withdrawals between earliest_withdrawal_time and expiration_time
Closure: Window authority closes the window after all withdrawals are executed
Pair Address
J6szVgxaWyCrvKJHfjrV6CzbFUcvfgu7KqQ7gJ1DtWii
LST Mint Address
8tbk3FoJwsgNtK3osT3XQ5iJnkuocrzAgPVkdkpZMsBi
Pair Address
EwqMpnBHKEd537E37kcsNU9Qi82uukjVAXsC8K5Kswt7
// Find a withdrawal window by unix timestamp
const unixTimestamp = Math.floor(Date.now() / 1000); // or getUnixTime(yourDate)
const [withdrawalWindowAddress] = findWithdrawalWindowPda(
umi,
pairAddress,
unixTimestamp
);
// Fetch the window data
const windowSerializer = getWithdrawalWindowAccountDataSerializer();
const windowAccount = await umi.rpc.getAccount(withdrawalWindowAddress);
const [window] = windowSerializer.deserialize(windowAccount.data);
// Or fetch all windows using the GPA builder
const windowGpaBuilder = getWithdrawalWindowGpaBuilder();
const allWindows = await windowGpaBuilder.get();
seeds: [b"access_control"]
seeds: [
b"pair",
base_token_mint.key(),
lst_mint.key()
]
seeds: [
b"lst_mint",
symbol.as_bytes() // e.g., "pikSOL"
]
seeds: [
b"withdrawal_window",
pair.key(),
start_time.to_le_bytes() // i64 as little-endian bytes
]
seeds: [
b"withdrawal_request",
withdrawal_window.key(),
staker.key()
]
import { PublicKey } from '@solana/web3.js';
// Convert unix timestamp to little-endian bytes
function timestampToBytes(unixTimestamp: number): Buffer {
const buffer = Buffer.alloc(8);
buffer.writeBigInt64LE(BigInt(unixTimestamp));
return buffer;
}
// Manual PDA derivation
const programId = new PublicKey('par1tyqusak2f2DXg9RHv78SVHNWXkJLSbtJZQSuWjV');
const pairAddress = new PublicKey('J6szVgxaWyCrvKJHfjrV6CzbFUcvfgu7KqQ7gJ1DtWii');
const startTime = 1704067200; // Example: Jan 1, 2024
const [withdrawalWindowAddress, bump] = PublicKey.findProgramAddressSync(
[
Buffer.from('withdrawal_window'),
pairAddress.toBuffer(),
timestampToBytes(startTime)
],
programId
);
console.log('Withdrawal Window Address:', withdrawalWindowAddress.toString());