BTB
/

Drift Staked SOL

Liquid Stakingwebsite
Liquid staking token for SOL built by Drift and run on Sanctum's stake pool. dSOL is a standard SPL token that appreciates against SOL as rewards accrue. An agent can hold, transfer and read the supply of dSOL, and can buy or sell it through swaps.

What you can do

stakeBuy dSOL with SOLswap SOL for dSOL on Sanctum (app.sanctum.so), which deposits into the pool; the on-chain instruction for a direct deposit was not read
migrate-stakeMove an active stake account into dSOLuse the Migrate tab at app.sanctum.so/migrate, which delegates to the Drift Validator
hold-dsolHold and transfer dSOLSPL Token transfer or transferChecked of mint Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ between token accounts
check-poolRead pool and supplyread pool account 9mhGNSPArRMHpLDMSmxAvuoizBqtBGqYdT8WGuqgxNdn and getTokenSupply on the dSOL mint
The Drift Validator charges a 10% commission, per Sanctum's launch post. Migrated stake earns rewards after that commission.
The pool program is Sanctum's build of the SPL stake pool, and its instruction set was not read. Do not assume SPL instruction names.
Unstake and fee details were not confirmed from an official page. Check on Sanctum before acting.
Swap prices on DEXs can differ from the pool rate. Use the pool rate for accounting.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
SanctumSpl stake pool program (dSOL pool program)staking on solanaSP12tWFxD9oJsVWNavTTBZvMbA6gkAmxtVgxdqvyvhY
dSOL stake pool accountpool on solana9mhGNSPArRMHpLDMSmxAvuoizBqtBGqYdT8WGuqgxNdn
dSOL token minttoken on solanaDso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ
write transfer(amount: u64)
Standard SPL Token transfer of dSOL 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.
write approve(amount: u64)
Delegate an amount of dSOL to a spender token account.
write burn(amount: u64)
Burn dSOL from a token account owned by the signer.
read getTokenSupply(mint)
Total dSOL supply and decimals from the mint account.