What you can do
| stake-btc | Mint uniBTC from wrapped BTC | approve the Vault on the chain (Ethereum 0x047D41F2544B7F63A8e991aF2068a363d210d6Da, Base 0x9f283B0401d9698e86097fdC44820BcBE5DcfeFb, Arbitrum or BNB Chain 0x84E5C854A7fF9F49c888d69DECa578D406C26800) for the wrapped BTC amount, then call mint(tokenAddress, amount). You receive uniBTC 1 to 1. Check allowedTokenList and paused first. |
| unstake-btc | Unstake uniBTC for wrapped BTC on Ethereum | check getCurrentCap(WBTC) and redeemFeeRate(); approve the Redeem contract (0xAA732c9c110A84d090a72da230eAe1E779f89246) for the uniBTC amount; call createDelayedRedeem(WBTC, amount). After the delay (about 8 days per the docs), call claimDelayedRedeems(n) or wait for canClaimDelayedRedeem to return true. |
| check-unstake-status | See pending unstake requests | getUserDelayedRedeems(user) lists requests, and getClaimableUserDelayedRedeems(user) lists the ones ready to claim. |
Unstaking is slow. The docs describe about 8 days before wrapped BTC can be claimed, and the unstake contract has a daily cap per token that can reject large requests.
The docs list the unstake function as still under development and open on Ethereum only, with WBTC as the only withdrawal asset. Other networks may not support unstaking yet.
A withdrawal fee applies (0.5 percent at the last docs update). Check redeemFeeRate before unstaking.
Addresses on the Redeem blacklist cannot withdraw. Bedrock can add addresses to the blacklist.
Contracts
Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).uniBTC token (Ethereum)token on ethereum0x004E9C3EF86bc1ca1f0bB5C7662861Ee93350568
write approve(address,uint256)
Approve a spender for a uniBTC amount in wei (18 decimals). Approve the Redeem contract before creating a delayed redeem.
read balanceOf(address)
uniBTC balance of an address, 18 decimals.
write transfer(address,uint256)
Send uniBTC. Amount in wei (18 decimals).
write burn(uint256)
Burn uniBTC held by the caller. This does not return wrapped BTC; use the Redeem contract to unstake.
uniBTC Vault (Ethereum, mint)vault on ethereum0x047D41F2544B7F63A8e991aF2068a363d210d6Da
write mint(address,uint256)
Stake an allowed wrapped BTC token and receive uniBTC 1 to 1. Arguments: the token address (for example WBTC 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599) and the amount in the token's smallest unit. Approve the Vault for the amount first. Reverts if the token is not on the allowed list or minting is paused. Check caps(token) for the limit.
read allowedTokenList(address)
True when a token is accepted for minting uniBTC on this chain.
read caps(address)
Maximum amount of a token the Vault accepts, in its smallest unit.
read paused()
True when minting through the Vault is paused.
read paused(address)
True when minting with a specific token is paused.
uniBTC Redeem (Ethereum, unstake)exchange on ethereum0xAA732c9c110A84d090a72da230eAe1E779f89246
write createDelayedRedeem(address,uint256)
Start an unstake. Arguments: the wrapped BTC token to receive (WBTC on Ethereum) and the uniBTC amount in wei. Approve this contract for the uniBTC amount first. Subject to the per-token daily cap, the fee rate, and the blacklist. The docs describe a delay of about 8 days before the wrapped BTC can be claimed.
read getUserDelayedRedeems(address)
All delayed redeem requests for a user. Use it to find request indexes.
read getClaimableUserDelayedRedeems(address)
Delayed redeem requests for a user that are ready to claim now.
read canClaimDelayedRedeem(address,uint256)
True when the delayed redeem at a given index for a user can be claimed. Arguments: user and index.
write claimDelayedRedeems(uint256)
Claim up to the given number of matured delayed redeems for the caller, sending the wrapped BTC to the caller. Argument: maximum number of redeems to claim.
read getCurrentCap(address)
Remaining daily unstake capacity for a wrapped BTC token. Check it before sizing an unstake, since requests above the cap are rejected.
read redeemFeeRate()
Current withdrawal fee rate. The docs state 0.5 percent at the last update.
read redeemDelay()
Current delay in seconds before a delayed redeem can be claimed.
uniBTC token (Base)token on base0x93919784C523f39CACaa98Ee0a9d96c3F32b593e
write approve(address,uint256)
Approve a spender for a uniBTC amount in wei on Base.
read balanceOf(address)
uniBTC balance of an address on Base, 18 decimals.
write transfer(address,uint256)
Send uniBTC on Base. Amount in wei.
uniBTC Vault (Base, mint)vault on base0x9f283B0401d9698e86097fdC44820BcBE5DcfeFb
write mint(address,uint256)
Stake an allowed wrapped BTC token on Base and receive uniBTC 1 to 1. Arguments: token address and amount in its smallest unit. Approve the Vault for the amount first.
read allowedTokenList(address)
True when a token is accepted for minting uniBTC on Base.
read paused()
True when minting through the Base Vault is paused.
uniBTC token (Arbitrum)token on arbitrum0x6B2a01A5f79dEb4c2f3c0eDa7b01DF456FbD726a
write approve(address,uint256)
Approve a spender for a uniBTC amount in wei on Arbitrum.
read balanceOf(address)
uniBTC balance of an address on Arbitrum, 18 decimals.
write transfer(address,uint256)
Send uniBTC on Arbitrum. Amount in wei.
uniBTC Vault (Arbitrum, mint)vault on arbitrum0x84E5C854A7fF9F49c888d69DECa578D406C26800
write mint(address,uint256)
Stake an allowed wrapped BTC token on Arbitrum and receive uniBTC 1 to 1. Arguments: token address and amount in its smallest unit. Approve the Vault for the amount first.
read allowedTokenList(address)
True when a token is accepted for minting uniBTC on Arbitrum.
read paused()
True when minting through the Arbitrum Vault is paused.
uniBTC token (BNB Chain)token on bsc0x6B2a01A5f79dEb4c2f3c0eDa7b01DF456FbD726a
write approve(address,uint256)
Approve a spender for a uniBTC amount in wei on BNB Chain.
read balanceOf(address)
uniBTC balance of an address on BNB Chain, 18 decimals.
write transfer(address,uint256)
Send uniBTC on BNB Chain. Amount in wei.
uniBTC Vault (BNB Chain, mint)vault on bsc0x84E5C854A7fF9F49c888d69DECa578D406C26800
write mint(address,uint256)
Stake an allowed wrapped BTC token on BNB Chain and receive uniBTC 1 to 1. Arguments: token address and amount in its smallest unit. Approve the Vault for the amount first.
read allowedTokenList(address)
True when a token is accepted for minting uniBTC on BNB Chain.
read paused()
True when minting through the BNB Chain Vault is paused.