Jelly Protocol
  • Introduction
  • Jelly Recipes
  • recipes
    • Create an Airdrop
      • Overview
      • Prepare your Whitelist
        • Create a CSV Whitelist
        • Generate your Merkle proof
        • Upload proof (optional)
      • Create Airdrop
        • Create your JellyDrop contract
        • Add Rewards
        • Your Airdrop Claim UI
        • Set Airdrop Claim
      • Contract Links
      • Demo Airdrop
    • Create a Staking Pool (using ve model)
      • Prepare Staking Pool
        • Create Staking Pool (with Liquidity)
        • Create Staking Pool (No liquidity)
      • Staking UI
      • How to calculate token fee
      • Snapshot strategy
      • Contract Links
  • Tokens
    • Tokens
    • Jellynomics
    • veJELLY
  • Links
    • Twitter
    • Discord
    • Medium
    • Website
    • Brand Assets
Powered by GitBook
On this page
  1. recipes
  2. Create a Staking Pool (using ve model)

How to calculate token fee

PreviousStaking UINextSnapshot strategy

Last updated 2 years ago

Staking Pool Recipe contract:

  • Ethereum Mainnet

  • Goerli

Go to the StakingPoolRecipe contract on Etherscan, then click the Contract tab, open Read Contract, and go to getFeeInTokens function:

  • _addr - enter the staking token address

Click the Query button and you’ll get an amount of the fee in tokens:

269740439496785365075681 is the amount of the token fee.

https://etherscan.io/address/0x7679D3c9191f85C2fd7AD9c7D8f4cE9fF13D98Ce#readContract
https://goerli.etherscan.io/address/0xce139e3aff464c084a398ba6d8e764e07aacc892#readContract
269740439496785365075681 is the amount of payment in the token