• Resolved papaexchange

    (@papaexchange)


    Hi,
    I have created a stake.
    Everything seems to work fine until you try to end stake.
    The stake is on BSC and I just did a little test run of staking with a small amount of token worth about a $1.
    When I try to end stake MetaMask is asking for 0.37 BNB.
    I have tried clicking on “I will try anyway” as I have insufficient tokens and editing the gas fee but this comes back as an error on the stakeing page.
    I don’t particularly want to add BNB to my account just in case it takes 0.37 BNB.
    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    Failed transactions are penalized, that is why the fees seems to be so high when you lack of funds or when there is a expected error on the transaction.

    If you want a correct estimation of gas fees please try with an account with enough funds.

    Thread Starter papaexchange

    (@papaexchange)

    Hi, Thanks for the quick response. Unfortunately issue not resolved. So I topped up my BNB to above the required amount, Meta Mask then says Transaction likely to fail so I click on try anyway.
    I can not copy and paste the message as it disappears to quickly and cant attach a photo here. I have used brackets where possible to indicate fields not filled in.

    I then get the following Error message on the stake page.

    Transaction has been reverted to EVM {“type”.”OxO”.”blockhash!:
    ” (Long contract number HERE) ”
    “cumulativeGasUsed!:15341430. “gasUsed”:1076, “logsBloom”:
    “0x (LOADS OF ZEROS HERE) “. “to”.
    ” (CONTRACT NUMBER OF THE STAKE POOL HERE I BELIEVE) “, “transactionHash”:
    ” (UNKNOWN CONTRACT HERE HERE) “, “blockNumber”:
    15625454, “contactAddress”:null, “from”:” (MY WALLET ADDRESS HERE) “,
    “status”:false, “transactionIndex”: 112, “events”:{} }

    Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    Can you share the url of your site?

    Thread Starter papaexchange

    (@papaexchange)

    Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    Seems like your token:
    https://bscscan.com/address/0x18f1f69fe1d80c8ff9472bc5387ff7b40e34c860#readContract

    Has some reflection features like burn / liquidity / tax.

    Did you exclude the staking contracts from taxes / burn features in your token contract?

    You need to do so, otherwise funds can be lost or show a weird behaviour in your Stakings.

    This is the warning the plugin has:

    “Are you using a reflection token? If so, you must exclude the stake contract in your reflection token”

    Thread Starter papaexchange

    (@papaexchange)

    Hi,
    Yes it is a reflection token. Can I exclude the contract in the token after the stake contract has been deployed?
    I knew I had to do this at some point.
    I think I have now done this on BScScan, have you got instructions just to verify I have done it correctly.
    Thank you

    Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    Yes, you need to exclude the staking contract from your reflection token.

    Not sure how to do it, because this reflection token is not made by us, but for sure you must have, as an admin, some exclude functions.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Stake’ is closed to new replies.