Staking Guide

The time is here and we are ready to go live. This guide will detail the necessary steps needed to stake.

The staking contract will go live, and 24 hours afterwards the first rewards will be sent.

Disclaimer: If you send any Mugen to the contract that is not through the stake function those funds are lost. So please follow this guide and make sure you are using the correct function!

Step 1 Approve the contract

Back again with the approvals. This time you will need to go to the Mugen contract and approve the xMugen contract. A link to the Mugen contract is below as well as the xMugen address. Mugen has 18 decimal places so you will need to add 18 0’s to the end of the number in order to approve the right amount. Any decimal amount of Mugen (.5 or .001 Mugen) would require the removal of decimals. But for approval that is less important and you would be better off just using whole numbers.

Mugen contract: https://arbiscan.io/address/0xfc77b86f3ade71793e1eec1e7944db074922856e#code

xMugen address:

0x25B9f82D1F1549F97b86bd0873738E30f23D15ea

If you would like to approve 1 million Mugen to prevent having to approve again in the near future, copy the number below and place it into the amount field:

1000000000000000000000000

Approval example:

Remember to "connect to web3"
Remember to "connect to web3"

Step 2 deposit into the xMugen contract

Go over to this link (the xMugen contract):

Once there all you have to do is go to the stake function, enter the amount of Mugen you would like to stake, and thats it!

Remember when you put the amount you wish to stake, it will need 18 decimal places.

*If for instance you have 52.4574567457 tokens it would look like this 52457456745700000000

*Or .523452 would be 523452000000000000 (18 total places compared to 19+ with whole numbers).

One more thing to touch on, if you want to use the compound function there is the parameter “amountOutMin” this is for the swap through the uniswap pool. It is for the minimum amount of Mugen you expect to get back for your current claimable rewards. Your claimable rewards can be seen from the earned function (it is in weth, so 1e18 is 1 weth) and the price of Mugen is visible on different platforms. You will need to calculate based on the $ value of your rewards and the $ value of Mugen + Slippage, what is the minimum amount back you would expect. Setting this properly will help make sure that you do not get front ran or sandwiched when compounding.

Happy staking!

Subscribe to Mugen Finance
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.