Comment on page
WUSory
The
WUSory
is the factory for arbitrary WUSD-[TOKEN] "liquidity mining" contracts. This allows, for a fee, anyone to create and maintain arbitrary liquidity mining interfaces — called
WUSer
s — with which users can provide WUSD-paired liquidity on Uniswap v3 separate from the WUSETHer
. However, unlike the WUSETHer
and Provisioner
, WUSer
s must be recharged every 30 days to continue to grant credit. The
WUSory
basically creates replicas of the WUSETHer
but for any WUSD-[TOKEN] pairing. In that manner, these interface with the respective Uniswap v3 1% fee tier pools.Returns the addresses of all
WUSer
s created.Returns
token
's WUSer
.This returns
0x0000000000000000000000000000000000000000
if it doesn't existUsed to create a
WUSer
for token
with starting WUSD-denominated price of tick
via referrer
's frontend.Name | Meaning |
---|---|
token | The token for which a WUSer is being created |
tick | |
referrer | Address of registered frontend used for the transaction or 0 address |
Excluding
- tokens already covered by
wrap()
(USDT, USDC, BUSD, TUSD, USDP, and GUSD) - tokens covered by the
WUSETHer
(WETH and WUSD) - tokens covered by the
Provisioner
(GLO)
token
can be any ERC20 token that can be used on Uniswap v3. If token
doesn't already have a 1% fee tier pool on Uniswap v3, this will automatically initialize one at the provided tick
. tick
is merely the current price of token
in terms of WUSD and converted as per the formula defined here.There are two fees charged here:
- 25K USDT one-time fee, which is automatically used to buy-back GLO and burn it
- 1K service fee, each in USDT and USDC
The referral units earned by
referrer
here is a fixed amount of 25K. - The caller must approve the
WUSory
to spend their USDT and USDC token
must not already have aWUSer
Used to recharge
token
's WUSer
via referrer
's frontend so that it can continue granting credit.Name | Meaning |
---|---|
token | The token for which a WUSer is being created |
referrer | Address of registered frontend used for the transaction or 0 address |
After 30 days since using
create()
, a WUSer
stops granting credit on decrease()
s, fee collect()
s, and withdrawal()
s. Therefore, starting 28 days after create()
(or the last recharge()
), a WUSer can be "recharged" so that it continues to grant credit for another 30 day period.Anyone can
recharge()
a token
's WUSer
and it isn't required that it be the same person that created()
it.As above, there are two fees charged here:
- 10K USDT one-time fee, which is automatically used to buy-back GLO and burn it
- 1K service fee, each in USDT and USDC
The referral units earned by
referrer
here is a fixed amount of 10K. - The caller must approve the
WUSory
to spend their USDT and USDC token
must already have aWUSer
Last modified 5mo ago