Origin
  • Introduction
    • Overview
    • Core Concepts
      • Elastic Supply
      • Rebasing & Smart Contracts
      • Wrapping
      • Bridging
      • AMO
  • Protocol
    • OETH
      • Liquid Staking
      • Redemption
      • Dripper
      • Zapper
    • OS
      • Staking on Sonic
      • Redemption
    • Super OETH
      • Supercharged LSTs
      • Protocol-Owned Liquidity
      • Layer 2 Roadmap
      • Flywheel
    • OUSD
      • Yield Generation
        • Lending
        • Market Making
        • Rewards
      • Collateral
      • Flipper
    • ARM
  • Security & Risk
    • Audits
    • Risk Framework
    • Bug Bounties
    • Price Oracles
  • OGN
    • Staking
    • Governance
    • Vote Delegation
      • Recognized Delegates
    • University Governance Program
  • Registry
    • Contracts
      • OS Registry
      • OETH Registry
      • Super OETH Registry
        • Base
        • Plume
      • OUSD Registry
      • ARM Registry
      • Pool Booster
    • Dapp
    • API
  • Guides
    • FAQ
    • Governance Templates
      • Rebase Opt-In Proposal
      • Integration Proposal
      • General Proposal
      • Yield Strategy Proposal
      • Collateral Proposal
    • Incentivized Harvesting Guide
  • Links
    • Website
    • Dapp
    • GitHub
    • Discord
    • Telegram
    • Governance Forum
Powered by GitBook
On this page
  • How wrapped tokens work
  • Wrapping
  • Unwrapping
  1. Introduction
  2. Core Concepts

Wrapping

PreviousRebasing & Smart ContractsNextBridging

Last updated 3 months ago

Wrapped versions of OETH, OUSD, Super OETH, and OS are available as non-rebasing alternatives that still earn yield. This makes it easier to use these tokens as building blocks in other contracts. The wrapped versions may also provide tax benefits in some jurisdictions.

Two flavors, up only

How wrapped tokens work

When you wrap OETH, you get a fixed number of wOETH tokens in return. This number will not go up - you will have the same number of wOETH tokens tomorrow as you have today. However, the number of OETH tokens you can unwrap will increase over time. For example, if you wrap 10,000 OETH, you might receive 9,423 wOETH. If you hold for a while, you will still have 9,423 wOETH. But when you unwrap the wOETH, you receive 11,500 OETH.

Wrapping

Unwrapping

Both OETH and wOETH earn at the same rate and can be transferred just like any other ERC-20 token. wOUSD was one of the first implementations of , which is an extension of ERC-20 that provides basic functionality for depositing and withdrawing tokens and reading balances on a tokenized vault. wOUSD was independently in May 2022. wOETH, wOS, and wsuperOETH use the same smart contract code.

OS, Super OETH, OETH and OUSD can be wrapped using their respective swap forms in the .

wOETH is also a supported swap route in , which enables onboarding directly to wOETH from ETH or any other token.

Converting back to the underlying yield-bearing tokens does not require any ERC-20 approvals. There's also no minimum term or lockup period. You can use the same swap form in the to unwrap OETH or OUSD or use Etherscan to call the withdraw function if you prefer to specify the amount of or to be taken out.

ERC-4626
audited by Solidified
Origin dapp
1inch
Origin dapp
OETH
OUSD
Lossless token wrapping in the Origin dapp