Wrapped USD
Search
K
Links

Wrapping

As running a frontend is incentivized with GLO, there is no "official one". However, direct interaction is possible via Etherscan and tools like interface.fyi.
The next few pages will summarize the process, with more technical details, including information about establishing a frontend, left for the dev section.

Wrap

Use wrap (fiatcoin, amount, referrer) and you'll get a 1:1 amount of WUSD in return.
fiatcoin is the address of any of USDT, USDC, BUSD, TUSD, USDP, or GUSD. amount is the amount you want to wrap, with the fiatcoin's "decimals" included e.g. 1 USDT or USDC is 1 * 10^6 while 1 BUSD is 1 * 10^18. referrer is 0x0000000000000000000000000000000000000000 in this case.
If your wrap() of fiatcoin creates 100+ WUSD, you get some GLO and also start earning GLO credit at a rate of +1% per epoch. The GLO receivable is capped at 2 total per address i.e. wrap() will not cause your balance to exceed 2 GLO, and if does already, you get nothing. A 1% service fee on amount is sent to the Collector.
  • You must first approve the WUSD contract to transfer your fiatcoin
  • Your wrap() must create 100+ WUSD in one transaction to start earning credit

Unwrap

Use unwrap (fiatcoin, amount) and you'll get a 1:1 amount of fiatcoin in return.
fiatcoin is the address of any of the 6 fiatcoins you want in return for unwrapping WUSD and doesn't have to be the same as the one used above. amount is the amount of WUSD you want to unwrap where 1 WUSD is 1 * 10^18.
A full unwrap() allows you to claim all earned GLO credit since your last (un)wrap(). If it isn't a full unwrap(), the credit you'll claim is the lesser of amount / WUSD balance and +1% per epoch since last (un)wrap()
  • If you unwrap() your full WUSD balance, you will forfeit all uncredited GLO
  • The WUSD contract must have a balance of at least amount + 1 fiatcoin