- Get xSAUCE amount from SAUCE
- Stake SAUCE tokens for xSAUCE
- Get SAUCE amount from xSAUCE
- Unstake xSAUCE tokens for SAUCE
Contract ID: Mothership
Refer to Single-sided staking for concept-level documentation.
Get xSAUCE amount from SAUCE
Get the calculated xSAUCE amount from a given SAUCE amount. Function name:sauceForxSauce
No gas cost — read-only call.
Code overview
- JSON RPC
Stake SAUCE tokens for xSAUCE
Stake any amount of SAUCE tokens in exchange for xSAUCE tokens. Function name:enter
Recommended gas limit: 100,000
A spender allowance for the Mothership contract is required for the SAUCE token.
Ensure that the client has the xSAUCE token ID associated beforehand.
Code overview
- JavaScript SDK
Get SAUCE amount from xSAUCE
Get the calculated SAUCE amount from a given xSAUCE amount. Function name:xSauceForSauce
No gas cost — read-only call.
Code overview
- JSON RPC
Unstake xSAUCE tokens for SAUCE
Unstake any amount of xSAUCE tokens in exchange for SAUCE tokens. Function name:leave
Recommended gas limit: 100,000
Ensure that the client has the SAUCE token ID associated beforehand.
Code overview
- JavaScript SDK
Next steps
Single-sided staking concepts
How xSAUCE and the staking pool work.
Yield farming operations
Deposit LP tokens and read pending rewards.
Contract deployments
Mothership and token IDs for mainnet and testnet.