BTB
/

Origin Protocol

Liquid Stakingwebsite
Yield-bearing rebasing tokens backed 1:1 by a vault: OETH (ETH, Ethereum), OUSD (USDC, Ethereum) and Super OETH (superOETHb, Base), each with an ERC-4626 wrapper (wOETH, wOUSD, wsuperOETHb). Agents mint by depositing WETH/USDC (or ETH via the Zapper), redeem through a two-step withdrawal queue, wrap/unwrap, swap stETH<->WETH on the ARM, and stake OGN for xOGN.

What you can do

mint-oethGet OETH for ETH/WETH at 1:1ETH: OETHZapper.deposit() with ETH value (or depositETHForWrappedTokens(minWOETH) to receive wOETH). WETH: WETH.approve(OETH Vault, amt) then Vault.mint(amt). Origin recommends also comparing the Curve OETH/ETH price, which can be better.
mint-ousdGet OUSD for USDC at 1:1USDC.approve(OUSD Vault, amt) then OUSDVault.mint(amt) (amt in 6-decimal USDC units).
mint-superoethbGet superOETHb on BaseBase Zapper.deposit() with ETH, or WETH.approve(Super OETH Vault) then Vault.mint(amt).
redeemRedeem OETH/OUSD/superOETHb 1:1 for WETH/USDCVault.requestWithdrawal(amount) -> requestId (event WithdrawalRequested); wait >= withdrawalClaimDelay (600 s) and until withdrawalRequests(id).queued <= withdrawalQueueMetadata().claimable; then Vault.claimWithdrawal(id) from the same address. For an instant exit, swap on Curve/Aerodrome or (stETH) the ARM instead.
wrapConvert rebasing token to non-rebasing ERC-4626OToken.approve(wrapper, amt) then wrapper.deposit(amt, receiver); unwrap with wrapper.redeem(shares, receiver, owner).
enable-yield-for-contractLet a smart-contract wallet earn rebasesFrom the contract/multisig: OToken.rebaseOptIn(); check with rebaseState(addr) == 2.
swap-stethSell stETH for WETH (or buy) on the Lido ARMstETH.approve(ARM, amt); ARM.swapExactTokensForTokens(stETH, WETH, amt, minOut, to). Expected out = amt * traderate1 / 1e36.
stake-ognStake OGN for xOGNOGN.approve(xOGN, amt); xOGN.stake(amt, durationSeconds, to, false, -1).
exit-osExit Origin Sonic (wind-down)wOS.redeem(shares, me, me) -> OS; OSVault.requestWithdrawal(amount); after 10 min OSVault.claimWithdrawal(id) -> wS. ARM LPs: OSARM.requestRedeem(shares) then claimRedeem(id).
OETH, OUSD and superOETHb are rebasing: EOA balances rise automatically, but smart contracts (incl. multisigs, AMM pools, vaults) do NOT earn yield unless they call rebaseOptIn(). Use the wrapped ERC-4626 tokens where balances must not change.
Redemptions are asynchronous: requestWithdrawal burns tokens immediately, the claim opens after withdrawalClaimDelay (600 s) and only when the queue has liquidity. Origin docs say OUSD redemptions can take up to ~24 h when funds must be pulled from strategies; OETH liquidity can depend on validator withdrawals.
All core contracts (tokens, vaults, wrappers, ARM, xOGN) are upgradeable proxies controlled by Origin governance (Timelock 0x35918cDE7233F2dD33fA41ae3Cb6aE0e42E0e69F on Ethereum, 5-of-8 Safe admins, and a Guardian Safe that can pause capital). rebase() itself is restricted to the operator/strategist/governor; rebases also happen during user actions and by keeper.
Yield comes from strategies: OETH from ETH staking (Origin native/compounding staking) and Curve AMO; OUSD from Morpho vaults on Ethereum/Base/HyperEVM (bridged via CCTP) and a Curve AMO; superOETHb from bridged wOETH plus Aerodrome/Curve AMOs. Strategy or bridge failure can impair backing; mint reverts if the vault is paused.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
OETH (Origin Ether)token on ethereum0x856c4Efb76C1D1AE02e20CEB03A2A6a08b0b8dC3
read balanceOf(address)
OETH balance (18 decimals). For EOAs and opted-in contracts it grows with each rebase; contracts that have not called rebaseOptIn() keep a fixed balance.
write rebaseOptIn()
Called BY a smart contract / multisig holding OETH to start earning rebasing yield. Contracts are non-rebasing by default; EOAs rebase automatically. Cannot be called from a constructor.
write rebaseOptOut()
Stop receiving rebasing yield for msg.sender (balance then stays fixed).
read rebaseState(address)
Rebase status enum: 0 NotSet (EOA earns, contract does not), 1 StdNonRebasing, 2 StdRebasing, 3 YieldDelegationSource, 4 YieldDelegationTarget.
read creditsBalanceOf(address)
Returns (credits, creditsPerToken) for an account; internal accounting behind the rebasing balance.
read rebasingCreditsPerTokenHighres()
Global credits-per-token (1e27 precision); falls as yield is distributed.
read nonRebasingSupply()
Supply held by non-rebasing accounts.
read totalSupply()
Total supply (18 decimals).
write transfer(address,uint256)
ERC-20 transfer. Because of rebasing, a full-balance transfer can leave a 1-2 wei remainder.
write approve(address,uint256)
ERC-20 approve (e.g. approve the wrapped ERC-4626 token before deposit). Note: burning OETH via the OETH Vault needs no approval.
read vaultAddress()
Address of the OETH Vault that mints/burns this token.
wOETH (Wrapped OETH, ERC-4626)token on ethereum0xDcEe70654261AF21C44c093C300eD3Bb97b78192
write deposit(uint256,address)
ERC-4626 wrap: deposit OETH (assets, 18 decimals; approve OETH to this contract first), mint wOETH shares to receiver. Returns shares.
write mint(uint256,address)
ERC-4626: mint an exact number of wOETH shares, pulling the needed OETH. Returns assets used.
write redeem(uint256,address,address)
ERC-4626 unwrap: burn shares from owner, send OETH to receiver. Args (shares, receiver, owner). Returns assets.
write withdraw(uint256,address,address)
ERC-4626: withdraw an exact OETH amount, burning the needed shares. Args (assets, receiver, owner).
read convertToAssets(uint256)
OETH value of a wOETH share amount (exchange rate; rises as yield accrues). Use this, not an AMM price, for valuation.
read convertToShares(uint256)
wOETH shares for a OETH amount.
read previewDeposit(uint256)
Shares minted for a deposit of assets.
read previewRedeem(uint256)
Assets returned for redeeming shares.
read totalAssets()
OETH held by the wrapper.
read balanceOf(address)
wOETH share balance (does not rebase).
OETH Vaultvault on ethereum0x39254033945AA2E4809Cc2977E7087BEE48bd7Ab
write mint(uint256)
Deposit WETH (amount in WETH units, 18 decimals; approve WETH to the vault first) and mint OETH 1:1 (scaled to 18 decimals) to msg.sender. Reverts if capitalPaused().
write mint(address,uint256,uint256)
Deprecated legacy form (asset, amount, minimumOut); first and last args are ignored and it behaves like mint(uint256). Prefer mint(uint256).
write requestWithdrawal(uint256)
Step 1 of a redemption: burns OETH (18 decimals) from msg.sender and queues WETH 1:1. Returns (requestId, queued). The requestId is also in the WithdrawalRequested event.
write claimWithdrawal(uint256)
Step 2: claim a request by id; must be sent from the same address that requested. Reverts "Claim delay not met" before withdrawalClaimDelay (currently 600 s) and "Queue pending liquidity" until the vault has WETH for it. Returns WETH amount.
write claimWithdrawals(uint256[])
Claim several requests at once; reverts if any one is not claimable. Returns (amounts[], totalAmount).
read withdrawalRequests(uint256)
Request info: (withdrawer, claimed, timestamp, amount [OETH, 18 dec], queued [cumulative, WETH decimals]). Claimable when queued <= withdrawalQueueMetadata().claimable and the delay has passed.
read withdrawalQueueMetadata()
Queue totals in WETH decimals: (queued, claimable, claimed, nextWithdrawalIndex).
write addWithdrawalQueueLiquidity()
Permissionless: move idle vault assets into the withdrawal queue so pending requests become claimable.
read withdrawalClaimDelay()
Minimum seconds between request and claim (600 at time of research).
read totalValue()
Total value of vault assets incl. strategies (18 decimals).
read capitalPaused()
True if mint/requestWithdrawal are paused.
read asset()
The backing asset (WETH).
read oToken()
The OETH token address.
OETH Zapperrouter on ethereum0xDA0485c1E74A7ef690E99D8286C243942eDAa07B
write deposit()
Send native ETH as msg.value; wraps to WETH and mints OETH 1:1 to msg.sender. Returns OETH minted. Plain ETH transfers to the zapper do the same.
write depositETHForWrappedTokens(uint256)
Send ETH as msg.value; mints OETH and wraps it into wOETH for msg.sender. Arg: minReceived (wOETH); reverts "Zapper: not enough minted" below it.
write depositWETHForWrappedTokens(uint256,uint256)
Args (wethAmount, minReceived): pulls WETH (approve first), mints OETH, wraps to wOETH for msg.sender.
OUSD (Origin Dollar)token on ethereum0x2A8e1E676Ec238d8A992307B495b45B3fEAa5e86
read balanceOf(address)
OUSD balance (18 decimals). For EOAs and opted-in contracts it grows with each rebase; contracts that have not called rebaseOptIn() keep a fixed balance.
write rebaseOptIn()
Called BY a smart contract / multisig holding OUSD to start earning rebasing yield. Contracts are non-rebasing by default; EOAs rebase automatically. Cannot be called from a constructor.
write rebaseOptOut()
Stop receiving rebasing yield for msg.sender (balance then stays fixed).
read rebaseState(address)
Rebase status enum: 0 NotSet (EOA earns, contract does not), 1 StdNonRebasing, 2 StdRebasing, 3 YieldDelegationSource, 4 YieldDelegationTarget.
read creditsBalanceOf(address)
Returns (credits, creditsPerToken) for an account; internal accounting behind the rebasing balance.
read rebasingCreditsPerTokenHighres()
Global credits-per-token (1e27 precision); falls as yield is distributed.
read nonRebasingSupply()
Supply held by non-rebasing accounts.
read totalSupply()
Total supply (18 decimals).
write transfer(address,uint256)
ERC-20 transfer. Because of rebasing, a full-balance transfer can leave a 1-2 wei remainder.
write approve(address,uint256)
ERC-20 approve (e.g. approve the wrapped ERC-4626 token before deposit). Note: burning OUSD via the OUSD Vault needs no approval.
read vaultAddress()
Address of the OUSD Vault that mints/burns this token.
wOUSD (Wrapped OUSD, ERC-4626)token on ethereum0xD2af830E8CBdFed6CC11Bab697bB25496ed6FA62
write deposit(uint256,address)
ERC-4626 wrap: deposit OUSD (assets, 18 decimals; approve OUSD to this contract first), mint wOUSD shares to receiver. Returns shares.
write mint(uint256,address)
ERC-4626: mint an exact number of wOUSD shares, pulling the needed OUSD. Returns assets used.
write redeem(uint256,address,address)
ERC-4626 unwrap: burn shares from owner, send OUSD to receiver. Args (shares, receiver, owner). Returns assets.
write withdraw(uint256,address,address)
ERC-4626: withdraw an exact OUSD amount, burning the needed shares. Args (assets, receiver, owner).
read convertToAssets(uint256)
OUSD value of a wOUSD share amount (exchange rate; rises as yield accrues). Use this, not an AMM price, for valuation.
read convertToShares(uint256)
wOUSD shares for a OUSD amount.
read previewDeposit(uint256)
Shares minted for a deposit of assets.
read previewRedeem(uint256)
Assets returned for redeeming shares.
read totalAssets()
OUSD held by the wrapper.
read balanceOf(address)
wOUSD share balance (does not rebase).
OUSD Vaultvault on ethereum0xE75D77B1865Ae93c7eaa3040B038D7aA7BC02F70
write mint(uint256)
Deposit USDC (amount in USDC units, 6 decimals; approve USDC to the vault first) and mint OUSD 1:1 (scaled to 18 decimals) to msg.sender. Reverts if capitalPaused().
write mint(address,uint256,uint256)
Deprecated legacy form (asset, amount, minimumOut); first and last args are ignored and it behaves like mint(uint256). Prefer mint(uint256).
write requestWithdrawal(uint256)
Step 1 of a redemption: burns OUSD (18 decimals) from msg.sender and queues USDC 1:1. Returns (requestId, queued). The requestId is also in the WithdrawalRequested event.
write claimWithdrawal(uint256)
Step 2: claim a request by id; must be sent from the same address that requested. Reverts "Claim delay not met" before withdrawalClaimDelay (currently 600 s) and "Queue pending liquidity" until the vault has USDC for it. Returns USDC amount.
write claimWithdrawals(uint256[])
Claim several requests at once; reverts if any one is not claimable. Returns (amounts[], totalAmount).
read withdrawalRequests(uint256)
Request info: (withdrawer, claimed, timestamp, amount [OUSD, 18 dec], queued [cumulative, USDC decimals]). Claimable when queued <= withdrawalQueueMetadata().claimable and the delay has passed.
read withdrawalQueueMetadata()
Queue totals in USDC decimals: (queued, claimable, claimed, nextWithdrawalIndex).
write addWithdrawalQueueLiquidity()
Permissionless: move idle vault assets into the withdrawal queue so pending requests become claimable.
read withdrawalClaimDelay()
Minimum seconds between request and claim (600 at time of research).
read totalValue()
Total value of vault assets incl. strategies (18 decimals).
read capitalPaused()
True if mint/requestWithdrawal are paused.
read asset()
The backing asset (USDC).
read oToken()
The OUSD token address.
stETH ARM (Lido ARM, ARM-WETH-stETH)pool on ethereum0x85B78AcA6Deae198fBF201c82DAF6Ca21942acc6
write swapExactTokensForTokens(address,address,uint256,uint256,address)
Swap at the ARM's posted price. Args (inToken, outToken, amountIn, amountOutMin, to). Tokens are WETH and stETH; approve inToken first. Returns uint256[] amounts (in, out).
write swapExactTokensForTokens(uint256,uint256,address[],address,uint256)
Uniswap-V2-router-compatible form: (amountIn, amountOutMin, path[2], to, deadline).
write swapTokensForExactTokens(address,address,uint256,uint256,address)
Exact-output swap: (inToken, outToken, amountOut, amountInMax, to).
read traderate0()
Price (scaled 1e36) used when selling token0 (WETH) for token1 (stETH); i.e. token1 out per token0 in = amount * traderate0 / 1e36.
read traderate1()
Price (scaled 1e36) used when selling token1 (stETH) for token0 (WETH); token0 out = amount * traderate1 / 1e36 (e.g. 0.9998e36 = 2 bp discount).
read token0()
Liquidity asset (WETH).
read token1()
Base asset (stETH).
write deposit(uint256)
LP: deposit WETH (approve first) for ARM LP shares. Subject to the optional CapManager limits; reverts "ARM: insolvent" if outstanding withdrawals cannot be met.
write requestRedeem(uint256)
LP exit step 1: burn shares, returns (requestId, assets). Value is set at request time but can be reduced if NAV falls before claim.
write claimRedeem(uint256)
LP exit step 2 (after claimDelay, currently 600 s, and once liquidity is available): returns WETH paid out. Reverts until claimable.
read claimDelay()
Seconds between requestRedeem and claimRedeem.
read convertToAssets(uint256)
Canonical share -> asset value (use this, not AMM prices, to value ARM LP shares).
read previewDeposit(uint256)
Shares for a deposit.
read previewRedeem(uint256)
Assets for redeeming shares (estimate).
read totalAssets()
Total ARM assets in liquidity-asset terms.
OGN (Origin Token)token on ethereum0x8207c1FfC5B6804F6024322CcF34F29c3541Ae26
read balanceOf(address)
OGN balance (18 decimals).
write approve(address,uint256)
Approve OGN, e.g. to xOGN staking before stake().
write transfer(address,uint256)
ERC-20 transfer.
xOGN (OGN Staking)staking on ethereum0x63898b3b6Ef3d39332082178656E9862bee45C57
write stake(uint256,uint256,address,bool,int256)
Lock OGN for xOGN voting points. Args (amountIn, durationSeconds, to, stakeRewards, lockupId); lockupId -1 creates a new lockup, otherwise extends/adds to an existing one. Approve OGN first. Duration must be >= minStakeDuration().
write unstake(uint256)
Withdraw OGN from a lockup by id after (or, with a penalty per previewWithdraw, before) its end; also pays rewards.
write collectRewards()
Claim accrued OGN staking rewards.
read previewPoints(uint256,uint256)
xOGN points for (amount, duration); returns (points, end).
read previewRewards(address)
Pending OGN rewards for a user.
read previewWithdraw(uint256,uint256)
OGN returned for unstaking (amount, end) now, incl. early-exit penalty.
read lockups(address,uint256)
Lockup info (amount, end, points) by user and index.
read lockupsCount(address)
Number of lockups for a user.
write delegate(address)
Delegate governance votes.
superOETHb (Super OETH)token on base0xDBFeFD2e8460a6Ee4955A68582F85708BAEA60A3
read balanceOf(address)
superOETHb balance (18 decimals). For EOAs and opted-in contracts it grows with each rebase; contracts that have not called rebaseOptIn() keep a fixed balance.
write rebaseOptIn()
Called BY a smart contract / multisig holding superOETHb to start earning rebasing yield. Contracts are non-rebasing by default; EOAs rebase automatically. Cannot be called from a constructor.
write rebaseOptOut()
Stop receiving rebasing yield for msg.sender (balance then stays fixed).
read rebaseState(address)
Rebase status enum: 0 NotSet (EOA earns, contract does not), 1 StdNonRebasing, 2 StdRebasing, 3 YieldDelegationSource, 4 YieldDelegationTarget.
read creditsBalanceOf(address)
Returns (credits, creditsPerToken) for an account; internal accounting behind the rebasing balance.
read rebasingCreditsPerTokenHighres()
Global credits-per-token (1e27 precision); falls as yield is distributed.
read nonRebasingSupply()
Supply held by non-rebasing accounts.
read totalSupply()
Total supply (18 decimals).
write transfer(address,uint256)
ERC-20 transfer. Because of rebasing, a full-balance transfer can leave a 1-2 wei remainder.
write approve(address,uint256)
ERC-20 approve (e.g. approve the wrapped ERC-4626 token before deposit). Note: burning superOETHb via the Super OETH Vault needs no approval.
read vaultAddress()
Address of the Super OETH Vault that mints/burns this token.
wsuperOETHb (Wrapped Super OETH, ERC-4626)token on base0x7FcD174E80f264448ebeE8c88a7C4476AAF58Ea6
write deposit(uint256,address)
ERC-4626 wrap: deposit superOETHb (assets, 18 decimals; approve superOETHb to this contract first), mint wsuperOETHb shares to receiver. Returns shares.
write mint(uint256,address)
ERC-4626: mint an exact number of wsuperOETHb shares, pulling the needed superOETHb. Returns assets used.
write redeem(uint256,address,address)
ERC-4626 unwrap: burn shares from owner, send superOETHb to receiver. Args (shares, receiver, owner). Returns assets.
write withdraw(uint256,address,address)
ERC-4626: withdraw an exact superOETHb amount, burning the needed shares. Args (assets, receiver, owner).
read convertToAssets(uint256)
superOETHb value of a wsuperOETHb share amount (exchange rate; rises as yield accrues). Use this, not an AMM price, for valuation.
read convertToShares(uint256)
wsuperOETHb shares for a superOETHb amount.
read previewDeposit(uint256)
Shares minted for a deposit of assets.
read previewRedeem(uint256)
Assets returned for redeeming shares.
read totalAssets()
superOETHb held by the wrapper.
read balanceOf(address)
wsuperOETHb share balance (does not rebase).
Super OETH Vaultvault on base0x98a0CbeF61bD2D21435f433bE4CD42B56B38CC93
write mint(uint256)
Deposit WETH (amount in WETH units, 18 decimals; approve WETH to the vault first) and mint superOETHb 1:1 (scaled to 18 decimals) to msg.sender. Reverts if capitalPaused().
write mint(address,uint256,uint256)
Deprecated legacy form (asset, amount, minimumOut); first and last args are ignored and it behaves like mint(uint256). Prefer mint(uint256).
write requestWithdrawal(uint256)
Step 1 of a redemption: burns superOETHb (18 decimals) from msg.sender and queues WETH 1:1. Returns (requestId, queued). The requestId is also in the WithdrawalRequested event.
write claimWithdrawal(uint256)
Step 2: claim a request by id; must be sent from the same address that requested. Reverts "Claim delay not met" before withdrawalClaimDelay (currently 600 s) and "Queue pending liquidity" until the vault has WETH for it. Returns WETH amount.
write claimWithdrawals(uint256[])
Claim several requests at once; reverts if any one is not claimable. Returns (amounts[], totalAmount).
read withdrawalRequests(uint256)
Request info: (withdrawer, claimed, timestamp, amount [superOETHb, 18 dec], queued [cumulative, WETH decimals]). Claimable when queued <= withdrawalQueueMetadata().claimable and the delay has passed.
read withdrawalQueueMetadata()
Queue totals in WETH decimals: (queued, claimable, claimed, nextWithdrawalIndex).
write addWithdrawalQueueLiquidity()
Permissionless: move idle vault assets into the withdrawal queue so pending requests become claimable.
read withdrawalClaimDelay()
Minimum seconds between request and claim (600 at time of research).
read totalValue()
Total value of vault assets incl. strategies (18 decimals).
read capitalPaused()
True if mint/requestWithdrawal are paused.
read asset()
The backing asset (WETH).
read oToken()
The superOETHb token address.
Super OETH Zapperrouter on base0x3b56c09543D3068f8488ED34e6F383c3854d2bC1
write deposit()
Send native ETH as msg.value; wraps to WETH and mints superOETHb 1:1 to msg.sender. Returns superOETHb minted. Plain ETH transfers to the zapper do the same.
write depositETHForWrappedTokens(uint256)
Send ETH as msg.value; mints superOETHb and wraps it into wsuperOETHb for msg.sender. Arg: minReceived (wsuperOETHb); reverts "Zapper: not enough minted" below it.
write depositWETHForWrappedTokens(uint256,uint256)
Args (wethAmount, minReceived): pulls WETH (approve first), mints superOETHb, wraps to wsuperOETHb for msg.sender.
wOETH (bridged)token on base0xD8724322f44E5c58D7A815F542036fb17DbbF839
read balanceOf(address)
Bridged wOETH balance (18 decimals). Non-rebasing; value = wOETH.convertToAssets on Ethereum (or the Chainlink OETH/wOETH exchange-rate feed listed in the docs).
write transfer(address,uint256)
ERC-20 transfer.
write approve(address,uint256)
ERC-20 approve.
read totalSupply()
Bridged supply on Base.
OGN (Base)token on base0x7002458B1DF59EccB57387bC79fFc7C29E22e6f7
read balanceOf(address)
OGN balance on Base (18 decimals).
write transfer(address,uint256)
ERC-20 transfer.
wOETH (bridged)token on arbitrum0xD8724322f44E5c58D7A815F542036fb17DbbF839
read balanceOf(address)
Bridged wOETH balance (18 decimals). Non-rebasing.
write transfer(address,uint256)
ERC-20 transfer.
write approve(address,uint256)
ERC-20 approve.
OS (Origin Sonic) - winding downtoken on sonic0xb1e25689D55734FD3ffFc939c4C3Eb52DFf8A794
read balanceOf(address)
OS balance (18 decimals). OS no longer earns yield (wind-down).
write approve(address,uint256)
ERC-20 approve.
write transfer(address,uint256)
ERC-20 transfer.
wOS (Wrapped OS, ERC-4626) - winding downtoken on sonic0x9F0dF7799f6FDAd409300080cfF680f5A23df4b1
write redeem(uint256,address,address)
Unwrap: (shares, receiver, owner) -> OS. Official exit step before withdrawing OS.
read balanceOf(address)
wOS share balance.
read convertToAssets(uint256)
OS per wOS shares.
OS Vault - winding downvault on sonic0xa3c0eCA00D2B76b4d1F170b0AB3FdeA16C180186
write requestWithdrawal(uint256)
Step 1 of a redemption: burns OS (18 decimals) from msg.sender and queues wS 1:1. Returns (requestId, queued). The requestId is also in the WithdrawalRequested event.
write claimWithdrawal(uint256)
Step 2: claim a request by id; must be sent from the same address that requested. Reverts "Claim delay not met" before withdrawalClaimDelay (currently 600 s) and "Queue pending liquidity" until the vault has wS for it. Returns wS amount.
write claimWithdrawals(uint256[])
Claim several requests at once; reverts if any one is not claimable. Returns (amounts[], totalAmount).
read withdrawalRequests(uint256)
Request info: (withdrawer, claimed, timestamp, amount [OS, 18 dec], queued [cumulative, wS decimals]). Claimable when queued <= withdrawalQueueMetadata().claimable and the delay has passed.
read withdrawalQueueMetadata()
Queue totals in wS decimals: (queued, claimable, claimed, nextWithdrawalIndex).
write addWithdrawalQueueLiquidity()
Permissionless: move idle vault assets into the withdrawal queue so pending requests become claimable.
read withdrawalClaimDelay()
Minimum seconds between request and claim (600 at time of research).
read totalValue()
Total value of vault assets incl. strategies (18 decimals).
read capitalPaused()
True if mint/requestWithdrawal are paused.
read asset()
The backing asset (wS).
read oToken()
The OS token address.
OS ARM (ARM-WS-OS) - winding downpool on sonic0x2F872623d1E1Af5835b08b0E49aAd2d81d649D30
read balanceOf(address)
ARM-WS-OS LP share balance.
read previewRedeem(uint256)
wS paid for redeeming shares.
write requestRedeem(uint256)
Exit step 1: (shares) -> (requestId, assets). requestId also in the RedeemRequested event.
write claimRedeem(uint256)
Exit step 2, >= 10 minutes later, from the same wallet: pays wS.
superOETHp (Super OETH on Plume) - deprecatedtoken on plume0xFCbe50DbE43bF7E5C88C6F6Fb9ef432D4165406E
read balanceOf(address)
superOETHp balance (18 decimals). No longer earns yield.
wsuperOETHp (Wrapped Super OETH on Plume) - deprecatedtoken on plume0x2dE8A403f7A5c6C5161D4a129918Ec9f0b653918
write redeem(uint256,address,address)
Unwrap (shares, receiver, owner) -> superOETHp.
read balanceOf(address)
Share balance.
Plume Vault - deprecatedvault on plume0xc8c8F8bEA5631A8AF26440AF32a55002138cB76a
write requestWithdrawal(uint256)
Burn superOETHp (18 decimals) and queue a 1:1 withdrawal; requestId in the event logs.
write claimWithdrawal(uint256)
Claim by requestId after the 10-minute delay, from the requesting wallet.