Projects: Deploying Your Own DIY Supernova Pool

​Our v3 app allows any project to deploy and fund their own Supernova contract through an easy to use interface. Users will also be able to easily find and stake in the pools to start earning rewards.

The goal is make it as simple as possible for new projects to launch their own farms and incentivize liquidity for their projects through a proven and fair token distribution method.

When we say "as simple as possible" we really mean it!

The entire process to deploy your own farm takes less than 2 minutes and only requires a few clicks.

Before creating the pool, decide on the following:

  1. Staking token contract address - this is the token you want users to stake. In most cases, it is the TOKEN-BNB or TOKEN-BUSD LP token on Pancake Swap or another DEX.

  2. Reward token address - this is the token users will be rewarded in. In most cases it will be your project's token.

  3. Bonus period length - this is an OPTIONAL setting to incentivize users to stake for longer in the pool. This is the number of days it will take for emissions to ramp up to the maximum rate if a users keeps their shares staked. For example, if you set the length to "30 days" with a max time bonus of 3x, a user will earn 3 times as many rewards tokens on day 30 as they will on day 1 provided they stay staked the entire time. For more technical details, see the Supernova Emissions Mechanism.

  4. Max time bonus - this is also OPTIONAL. It's the reward token emission rate multiplier for users who stay continuously staked during the bonus period. Again, if the max time bonus is set to 3x, and the bonus period length is set to 30, then at the end of 30 days, a user will earn 3x as many reward tokens as they will on day 1 (provided they stay staked the entire time). This bonus multiplier works linearly so on day 15, they will earn 1.5x as many reward tokens as day 1.

WARNING: Polairs Supernova contracts do not fully support single-token staking for reflect or β€œpassive yield tokens” (ie. RFI forks). However, these tokens may be used as LP tokens.

Example:

  • Stake RFIFORK earn RFIFORK doesn't work

  • Stake RFIFORK-BNB LP earn RFIFORK does work

Single token staking WILL work for all other types of tokens (deflationary and rebase) that do not use reflect / passive yield features.

How to Create Your Pool

  1. Go to https://v3.polarisdefi.io/create-pool and connect with the wallet you will be funding your pool with

  2. Enter the staking token address, reward token address, bonus period length and max time bonus

    1. Staking token address: this is usually the CAKE LP address of your TOKEN/BNB or TOKEN/BUSD

    2. Reward token address: this is usually your TOKEN contract address

    3. Bonus Period: recommended setting: 30 (for 30 days)

    4. Max time bonus: recommended setting: 3 (for 3x)

  3. Click "Confirm pool" and confirm your transaction

  4. Once your pool is created, wait a few moments for it to appear in the "All Pools" page in the dashboard

How to Fund your Pool

  1. Once your pool appears in the main dashboard, click into it and click "Manage Pool" in the top right. Make sure you connect with the same wallet address you used to create your pool

  2. In the "funding amount" field, enter the total amount you wish to fund. This is the total rewards that will be distributed to stakers over the farming period.The exact distribution rate will depend on the bonus period and max time bonus you set in the initial pool set up.

  3. In the "farming period" field, set the total number of days you want the rewards to be distributed over

  4. In the "starting at" field, set the start time when the reward distribution will start in Unix time. Note that users can stake and unstake BEFORE this time, but rewards will not be live until this set time. If you want rewards to start immediately, use the default value.

  5. Approve the contract and confirm the transaction

  6. Once approved, fund the rewards and confirm the transaction

Note: Once rewards are funded, they will be locked inside of the staking contract and distributed to stakers according to your set schedule. For the safety of users, you will NOT be able to withdraw these rewards later so make sure to double check all your info before submitting.

Also, you will be able to fund your Supernova multiple times, at any time. This means you can "refill" the pool while the farming is still ongoing, as well as after it's finished.

How to Claim User Deposited POLAR Tokens

Users who stake in your pool will have the option of spending POLAR when they harvest rewards to multiply their rewards. The used POLAR will be locked into your Supernova contract until you withdraw them. When you withdraw, half of the POLAR will be burned and the other half will be sent to your wallet which you may use for development funds.

  1. Go to your pool's "Manage" page

  2. Click "-Withdraw" tab

  3. The field will auto populate with the amount of available POLAR in your pool

  4. Click "Withdraw" to withdraw half to your wallet (the other half will be automatically burned)

How to Verify Your Pool Contract

We've designed the POLAR app for anyone to create a Supernova pool without technical Solidity knowledge. However, if you need to verify your pool contract for whatever reason, you can do so by following these steps below:

Tutorial: https://vimeo.com/549336276​

  1. Go your Supernova pool contract that was created and verify your contract:

    1. Compiler: 0.6.12

    2. MIT license

    3. Enable optimization: 10000 (make sure to enable optimization and enter β€œ10000” in misc when verifying)

    4. Use this for ABI (https://abi.hashex.org/#):

      1. SuperNova (test.sol)

      2. Enter same parameters as initial configuration

      3. β€œpolar_” field is:

        • BSC: 0x70905594023Cb2f37F3103fDc70315ad1601D6EF

        • Polygon:

      4. "feeCollector" address is: 0xEbCf6b78b66706395643DEe17d7E1E573bBE51CE