Hi, having problem with balance > ratio? on safemoon/reflect like token.
When interacting with smartcontracts which is excludedFromRewards.
Interacting with masterchef, if 2 accounts each staked some tokens, and started to earn rewards, 3 tokens per block, after some time and accumulation of rewards, when trying to withdraw/harvest/transfer ,it gets safeMath Overflow , its like the balance of masterchef is less than what is deposited?
another example, when i couldn’t do any action on masterchef i was going to try the presale contract.
with a new account i try to buy from the pre sale address with over 9 million tokens, but it let to buy only < 20k tokens over this it gets the error overflow, so i bought 15k with that account, then after this i was able to buy over 90k with another account.
masterchef still couldn’t do anything, so i send directly 10k tokens to it, then after this the user who bought 75k tokens was able to deposit, and others was able to withdraw etc, till the balance gets on a ratio which become buggy again.
In short, even with more balance than it has to pay, the system thinks it has less, it deny transfers.
I’m correctly minting with the current rate math thing to the masterchef, and it transferFromExcluded to user wallets, and user wallets TransferToExcluded, everything as it should.
Jul 16, 2021, 9:34 PM
fixed, need a token upgrade :/
Jul 17, 2021, 1:03 AM