Delegated accounts start with no permissions and must be explicitly granted access. Permissions are granular, allowing vault owners to build precise guardrails by adding specific capabilities to each delegate. This approach enhances security by ensuring that delegates can only perform intended actions within the defined boundaries, reducing the risk of unauthorized operations and mistakes.

Permissions

The table below lists the available permissions that can be granted to a delegated account.

Permission EnumDescription
DriftBorrowBorrow assets from Drift
DriftCancelOrdersCancel orders on Drift
DriftDeleteUserDelete a Drift user
DriftDepositDeposit assets to Drift
DriftInitInitialize and add a Drift user
DriftOrdersPlace and manage Drift orders
DriftPerpMarketTrade on Drift perp markets
DriftSpotMarketTrade on Drift spot markets
DriftUpdateUserUpdate a Drift user
DriftWithdrawWithdraw assets from Drift
JupiterGovClaimClaim rewards from Jupiter governance
JupiterGovStakeStake JUP using voter escrow
JupiterGovUnstakeUnstake JUP
JupiterGovVoteOnProposalVote on Jupiter DAO proposals
JupiterGovWithdrawWithdraw staked JUP or governance rewards
JupiterSwapAllowlistedSwap allowlisted assets on Jupiter (recommended)
JupiterSwapAnySwap any assets on Jupiter (high-risk)
JupiterSwapLstSwap LSTs on Jupiter
JupiterSwapPriceableSwap assets with onchain pricing support
KaminoBorrowBorrow from Kamino
KaminoDepositDeposit into Kamino
KaminoInitInitialize a Kamino user
KaminoWithdrawWithdraw from Kamino
MeteoraDlmmClaimClaim fees and rewards from Meteora
MeteoraDlmmLiquidityAdd or remove liquidity to a Meteora DLMM position
MeteoraDlmmPositionCreate or manage a Meteora DLMM position
MeteoraDlmmSwapExecute a swap on Meteora
StakeStake SOL or LSTs
TransferToAllowlistedTransfer tokens to allowlisted accounts only
UnstakeUnstake SOL or LSTs
WSolWrap or unwrap SOL