0

i attached link code on etherscan. and error code also

error: https://etherscan.io/tx/0x90d0d39a127e0693066cbc9a8a42fab20250753ead52724ab1760d7b4b458009

code: https://etherscan.io/address/0xfecf0e91a193e8511ac83d8effda34ae4278f491#code

  • Could you please add the code of your contract to the post and as well as a link to the contract on Etherscan? – Henk Jul 21 '18 at 9:16
  • its little bit hard to add d contact, because its little bit big, so i added link. please sir if you can help me. thanks – Isuru Anupama Wickramasinghe Jul 21 '18 at 9:37
0

I think the issue is in here (function investInternal):

 if(!earlyParticipantWhitelist[receiver].status) {
      throw;
 }

Receiver (the caller of the buy method), is not on the earlyParticipantWhitelist.

Thus, the transaction reverts

  • sir, what an i do now? this is already created nah? can i change this? how? please – Isuru Anupama Wickramasinghe Jul 21 '18 at 9:55
  • It seems that only the owner can put you on the whitelist. Maybe you should contact support of the crowdsale – Henk Jul 21 '18 at 10:03
  • sir the problem is im the one who created this using poa wizard. actually tried a lot, according to your knowledge, if i remove the whitelist it will be able to invest for everyone? now, i can invest only the addresses i put as whitelist addresses. that's the problem sir. i dont know what to do :( – Isuru Anupama Wickramasinghe Jul 21 '18 at 10:07
  • What you should do: accept my answer, create a new question with detailed information on what you want to do and what you know about it not working. Add the links you provided in this question as well. – Henk Jul 21 '18 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.