First $RAR/$Gold and $RAR/$CraftingMaterials utility pairs

Strategst
4 min readSep 21, 2021

--

Hello, gamers, $RAR claiming took pretty good pace, 3.5m $RAR was already claimed.

Just a little reminder, every summoner can claim new $RAR tokens on each level_up. By the design of wealth_by_level function, level 3 has 300 $RAR claimable, level 4 can claim 600 $RAR. That is how we will reach cap fast, rewarding the most active and dedicated Rarity gamers.

First, $wRAR/$wrGold pair

On SpookySwap we can trade only common ERC20 type of tokens, so we should wrap native Rarity tokens to this standard. There is a special wrapper contract to use converting. My thoughts about the reasons I chose wrapping and trading on SpookySwap instead of creating our own exchange are in the introduction of this article.

Add LP on $wRAR/$wrGold pair

  1. Wrap $RAR to $wRAR

Approve wrapper contract in original $RAR contract. Go to the write section of the $RAR contract.

Function 1. approve, write:

from: your summoner ID

spender: 2596298

amount (for max): -1

2. Wrap your $RAR. Go to the write section of the $wRAR contract.

Function 7. wrap, write:

from: your summoner ID

amount: your amount * 1000000000000000000, so 100 $RAR will be 100000000000000000000

Unwrap ERC20 $RAR to Rarity $RAR

  1. If you like to use the new summoner as a receiver, approve the wrapper contract in the original $RAR contract with the new summoner ID. Else, skip this step.

Function 1. approve, write:

from: new summoner ID

spender: 2596298

amount (for max): -1

2. Unwrap $RAR. Go to the write section of the $wRAR contract.

Function 6. unwrap, write:

amountToUnwrap: amount * 1000000000000000000

toSummonerID: your summoner ID

2. Wrap $Gold to $wrGold

Approve wrapper contract in original $Gold contract. Go to the write section of the $Gold contract.

Function 1. approve, write:

from: your summoner ID

spender: 2338834 (this different Treasurer, specific to the Gold wrapper)

amount (for max): -1

2. Wrap your $Gold. Go to the write section of the $wrGold contract.

Function 7. wrap, write:

from: your summoner ID

amount: your amount * 1000000000000000000, so 100 $wrGold will be 100000000000000000000

Unwrapping $wrGold take the same steps as $wRAR token, the contracts are very similar.

3. Add liquidity to $wRAR/$wrGold pair:

Go to SpookySwap liquidity page, or navigate:

Liquidity -> Supply -> Add addresses:

$wRAR: 0x817CA23E8393Aa3E0075a40deD609684651982d7

$wrGold: 0xF2331f7CED0bc4fc842538f8EB8C5f84C74CC2ed

1 $wRAR = 100 $wrGold, why do you need big amounts of gold anyway?

Link for trading $wrGold with $wRAR on Spooky Swap is here.

Next, $wRAR/$wrMats pair

  1. Wrap your $RAR following the same steps as in the $wrGold section.

2. Wrap $Crafting Materials I to $wrMats

  1. Approve wrapper contract in original $Crafting Materials I contract. Go to the write section of the $Crafting Materials I contract.

Function 1. approve, write:

  1. from: your summoner ID
  2. spender: 2594738
  3. amount (for max): -1

2. Wrap your $Crafting Materials I. Go to the write section of the $wrGold contract.

  1. Function 7. wrap, write:
  2. from: your summoner ID
  3. amount: your amount ($wrMats has no decimals, don’t multiply by 1000000000000000000)

Unwrapping $wrMats take the same steps as $wRAR and $wrGold token, the contracts are very similar.

3. Add liquidity to $wRAR/$wrMats pair:

Go to SpookySwap liquidity page, or navigate:

Liquidity -> Supply -> Add addresses:

$wRAR: 0x817CA23E8393Aa3E0075a40deD609684651982d7

$wrMats: 0x7ff716092Fe2E53D9d01da62D9e7a4E9859e3006

Crafting Materials I are little bit more useful, isn’t it?

Link for trading $wrMats with $wRAR on Spooky Swap is here.

Should be a little bit more expensive, right?

Links

--

--