Not working
KingMaxime opened this issue · comments
Hey thanks for the presale contract,
I successful deployed it but when ever I send bnb to the contract address it fails and no error is emitted please can you explain what I did wrong
My token details
decimal:- 8
hardcap:- 500000000000000000000 (500 bnb)
softcap:- 50000000000000000000 (50 bnb)
minbuy:- 1000000000000000 (0.001 bnb)
Maxbuy:- 1000000000000000000 (1 bnb)
rate:- 100000000000 (1000 token = 1 bnb)
Thanks for your help @FreezyEx
did you set gas limit to 300k?
Il Gio 5 Ago 2021, 00:15 Slow Works ***@***.***> ha scritto:
… Hey thanks for the presale contract,
I successful deployed it but when ever I send bnb to the contract address
it fails and no error is emitted please can you explain what I did wrong
My token details
decimal:- 8
hardcap:- 500000000000000000000 (500 bnb)
softcap:- 50000000000000000000 (50 bnb)
minbuy:- 1000000000000000 (0.001 bnb)
Maxbuy:- 1000000000000000000 (1 bnb)
rate:- 100000000000 (1000 token = 1 bnb)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSF6VXA6YTBK4IVXAG4XKLT3G3YVANCNFSM5BSEJIRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
Yes @FreezyEx I did but transaction still failed I think I did a mistake but I have no idea what and hey my token is 8 decimal will I still use Wei for all fields or I use gwei??