0

I created a token sale smart contract. And it has an interface that resolves to a token contract address.

Now the output folder has the compiled token sale smart json file and the interface json file.....

When I deploy the token sale smart contract, what do I do with the interface output?

  • an interface that resolves to an address? never heard of this. – Nulik Jul 13 '18 at 1:25
  • @Nulik?token public tokenReward; then in constructor: tokenReward = token(addressOfTokenUsedAsReward); – Allen Zhang Jul 13 '18 at 1:45
  • in that case you should read more documentation first. check about the ABI and how to call contract methods – Nulik Jul 14 '18 at 14:59

Your Answer

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

Browse other questions tagged or ask your own question.