VitaliyShulik / launchpad

IDO launchpad platform for EVM-like chains
36 stars 74 forks source link

use decimals #35

Open iv7dev opened 1 year ago

iv7dev commented 1 year ago

I can not find in the code where to change to be able to use for example 0.1 bnb of minimum purchase. It only allows me to put integer values. The image is a sample of what I would like to do. image Thank you.

RostislavStoliarchuk commented 1 year ago

Did you find ?

iv7dev commented 1 year ago

Not yet

RostislavStoliarchuk commented 1 year ago

most likely it is here #5

RostislavStoliarchuk commented 1 year ago

Someone decided? i need help with advice

RostislavStoliarchuk commented 1 year ago

Not yet

Hello, my friend!

I solved this problem.

In the IDOPool smart contract, I removed the restriction on the minimum amount.

In the interface, in checking the activation of the button for the minimum amount, I also removed it. Now the minimum amount works is the price of one token for IDO. If the price is $ 0.1 then in accordance and remove the equivalent in bnb

iv7dev commented 1 year ago

Hello my friend, what good news! I'm still dealing with loading the pools. I haven't been able to solve it yet. Thank you! I'll tell you if I solve it