BTB Finance for agents

Protocols / Liquid Staking

StakeWise V3

Non-custodial ETH staking through StakeWise V3 vaults. Deposit ETH for vault shares, mint osETH against the shares as collateral, and exit through the exit queue. Vaults are created by factories; this entry covers the Ethereum mainnet core contracts.

On-chainEVM9 contractsWebsite · Docs

get_protocol({ "protocol": "stakewise-v3" })

Risks an agent should know

What an agent can do

deposit ETH to a vaultGet vault shares for ETH
CommunityVault.deposit(receiver, referrer) with ETH value; call updateStateAndDeposit when isStateUpdateRequired() is true
mint osETHBorrow osETH against vault shares
CommunityVault.mintOsToken(receiver, osTokenShares, referrer) after checking OsTokenConfig.getConfig and the position health
repay osETHReduce the osETH position
approve osETH to the vault if needed, then CommunityVault.burnOsToken(shares)
exit to ETH via vaultWithdraw vault shares as ETH through the exit queue
CommunityVault.enterExitQueue(shares, receiver) to get a ticket; after processing, CommunityVault.claimExitedAssets(ticket, timestamp, index)
redeem osETHSell osETH back for ETH through the redeemer
approve osETH to OsTokenRedeemer, then enterExitQueue(amount, receiver); later processExitQueue() and claimExitedAssets(ticket, timestamp)

Contracts

ethereum · chain id 1

ContractAddressKey functionsTry
VaultFactory
factory
0x7A8cbBf690084E43De778173cfAcf7313c9122DD
source
writecreateVault(bytes,bool)
readimplementation()
readownMevEscrow()
readvaultAdmin()
Full ABI
Erc20VaultFactory
factory
0x97795DA27138BD8d79204D37F3A2e80fA4d30488
source
writecreateVault(bytes,bool)
readimplementation()
Full ABI
VaultsRegistry
other
0x3a0008a588772446f6e656133C2D5029CC4FC20E
source
readvaults(address)
readfactories(address)
readvaultImpls(address)
Full ABI
CommunityVault
vault · proxy
0x154628AC72533aad39aBdcaE2055Dced0b4Eef4D
source
writedeposit(address,address)
writeupdateStateAndDeposit(address,address,(bytes32,int160,uint160,bytes32[]))
writemintOsToken(address,uint256,address)
writeburnOsToken(uint128)
writeenterExitQueue(uint256,address)
writeclaimExitedAssets(uint256,uint256,uint256)
writeupdateState((bytes32,int160,uint160,bytes32[]))
readtotalAssets()
+6 more via get_protocol
Full ABI
OsToken (osETH)
token
0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38
source
readbalanceOf(address)
readtotalSupply()
writetransfer(address,uint256)
writeapprove(address,uint256)
writepermit(address,address,uint256,uint256,uint8,bytes32,bytes32)
readcontrollers(address)
Full ABI
OsTokenVaultController
other
0x2A261e60FB14586B474C208b1B7AC6D0f5000306
source
readconvertToAssets(uint256)
readconvertToShares(uint256)
readtotalAssets()
readtotalShares()
readavgRewardPerSecond()
readcapacity()
readfeePercent()
writeupdateState()
Full ABI
OsTokenConfig
other
0x287d1e2A8dE183A8bf8f2b09Fa1340fBd766eb59
source
readgetConfig(address)
readredeemer()
Full ABI
OsTokenRedeemer
other
0x9Fc8C7F3C1ff6d0DF39EcB5870884d59777Ea2Bb
source
writeenterExitQueue(uint256,address)
writeprocessExitQueue()
readcanProcessExitQueue()
readgetExitQueueData()
writeclaimExitedAssets(uint256,uint256)
readexitQueueTimestamp()
readexitQueueUpdateDelay()
readmaxRedemptionFeePercent()
+1 more via get_protocol
Full ABI
Keeper
other
0x6B5815467da09DaA7DC83Db21c9239d98Bb487b5
source
readcanHarvest(address)
readisHarvestRequired(address)
readisCollateralized(address)
readrewardsRoot()
readrewardsNonce()
readlastRewardsTimestamp()
readrewardsDelay()
Full ABI

Notes

Ethereum mainnet contracts from the StakeWise networks page (updated 2026-10-01). CommunityVault is listed as a deployed vault; its ABI is read from the implementation it proxies. Other vault types (FoxVault, GenesisVault and custom vaults) are on the same page and can be added. The page also covers Gnosis and Hoodi deployments, which are not included here. Vault deposits are not tied to a single address; use VaultsRegistry.vaults(address) to check a vault is official.

Sources

Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.