What you can do
| stake | Stake SOL for dfdvSOL | call DepositSol(lamports) on pool account pyZMBjpWsVjKANAYK5mpNbKiws2krjRPZ2N2UYCSnbP, or DepositSolWithSlippage to set a minimum output |
| unstake | Redeem dfdvSOL for SOL | call WithdrawSol(amount) on pool account pyZMBjpWsVjKANAYK5mpNbKiws2krjRPZ2N2UYCSnbP, or WithdrawSolWithSlippage; the withdrawal depends on the reserve holding enough SOL |
| hold-token | Hold and transfer dfdvSOL | SPL Token transfer or transferChecked of mint sctmB7GPi5L2Q5G9tUSzXvhZ4YiDMEGcRov9KfArQpx between token accounts |
dfdvSOL's price in SOL rises slowly over time. Use the pool ratio for accounting, not the DEX price.
Instant exits through DEX swaps can cost price impact. Direct withdrawals depend on the pool reserve.
Pool management and fees are set by the pool manager. Check current fee terms before large deposits.
Contracts
Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).dfdvSOL stake pool accountstaking on solanapyZMBjpWsVjKANAYK5mpNbKiws2krjRPZ2N2UYCSnbP
write DepositSol(u64)
Solana instruction: deposit SOL into the pool reserve and mint dfdvSOL at the current pool ratio. Argument: lamports to deposit.
write DepositSolWithSlippage
Solana instruction: same as DepositSol but fails if fewer than the minimum dfdvSOL is minted.
write WithdrawSol(u64)
Solana instruction: burn dfdvSOL and withdraw SOL from the reserve. Argument: dfdvSOL amount to burn.
write WithdrawSolWithSlippage
Solana instruction: same as WithdrawSol but fails if less than the minimum lamports are returned.
dfdvSOL token minttoken on solanasctmB7GPi5L2Q5G9tUSzXvhZ4YiDMEGcRov9KfArQpx
write transfer(amount: u64)
Standard SPL Token transfer of dfdvSOL between two token accounts (Tokenkeg program).
write transferChecked(amount: u64, decimals: u8)
SPL Token transfer that checks the decimals against the mint. Read the decimals from the mint account first.
read getTokenSupply(mint)
Total dfdvSOL supply and decimals from the mint account.
SanctumSpl stake pool programstaking on solanaSP12tWFxD9oJsVWNavTTBZvMbA6gkAmxtVgxdqvyvhY