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

Wrapping

PreviousRebasing & Smart ContractsNextBridging

Last updated 9 days 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

wOUSD, wOETH, wOS, and wsuperOETH use the same smart contract code.

When you wrap an OToken, you get a fixed number of wrapped tokens in return. This number will not go up. If you wrap OETH, for example, you will hold the same number of wOETH tokens in the future 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.

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 ERC-4626, 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 audited by Solidified in May 2022.

Wrapping

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

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

Unwrapping

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 Origin dapp to unwrap any of the OTokens or to call contract's withdraw function.

Lossless token wrapping in the Origin dapp