Hey guys I’m kind of beginner in sol coding . Right now I have a project for a friend where I have to implement in a simple smartcontract for a token that this token can be bought over a ICO by sending to the contractadress token and you receive the determined amount of token for it. And with a whitelist function

It should have modifiable variables after the deploying. Like how much token should be sold, how will be the exchange rate and individual cap per adress and to add the whitelist addresses that other addresses get bounced. Anyone knows where I can find a template for it ?

Oct 11, 2020, 1:04 AM
I saw it works over the onlyowner function but didn’t find a good template as I usually as a beginner learn the best from ready solutions to understand it better
Oct 11, 2020, 1:09 AM
Check openzepelin library. I think it has all these functions.
Oct 11, 2020, 1:57 AM
Thank you very much for the fast answer
I’ll have a look
Oct 11, 2020, 1:58 AM
PaymentSplitter.sol in Payment folder.
Oct 11, 2020, 2:04 AM
Thanks I found it aswell didn’t look in telegram unfornately haha
Then I could spare the time searching
Oct 11, 2020, 2:39 AM
You can watch furucombo contract if you need ideas.
Oct 11, 2020, 3:14 AM
that looks interesting. is there any combination that makes good profit?
I heard some people farm coin X and stake it in project Y to make good profit
Oct 11, 2020, 4:02 AM

© 2024 Draquery.com All rights reserved.