fiatcoinis the address of any of USDT, USDC, BUSD, TUSD, USDP, or GUSD.
amountis the amount you want to wrap, with the
fiatcoin's "decimals" included e.g. 1 USDT or USDC is
1 * 10^6while 1 BUSD is
1 * 10^18.
0x0000000000000000000000000000000000000000in this case.
fiatcoincreates 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
amountis sent to the
- You must first approve the WUSD contract to transfer your
wrap()must create 100+ WUSD in one transaction to start earning credit
fiatcoinis 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.
amountis the amount of WUSD you want to unwrap where 1 WUSD is
1 * 10^18.
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 balanceand +1% per epoch since last (
- 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