You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current crowdsale code is a form that generates and distributes tokens. I would like to have a crowd sale with a token I have already created.
🐛 This is a bug report.
[] 📈 This is a feature request.
💻 Environment
Next, we need to know what your environment looks like.
Which version of OpenZeppelin are you using? 1.6.0
What network are you deploying to? testrpc? Ganache? Ropsten? kovan
How are you deploying your OpenZeppelin-backed contracts? truffle? Remix? Let us know! remix
📝 Details
Describe the problem you have been experiencing in more detail. Include as much information as you think is relevant. Keep in mind that transactions can fail for many reasons; context is key here.
🔢 Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.
insert short code snippets here
function Crowdsale() public {
cap = 1000000000000000000;
startTime = 1517410800;
endTime = 1517448600;
rate = 1000;
wallet = address;
token = new MintableToken(); --> this i want to use my existing mintabletoken!
}
I change that token = new MintableToken() -> MintableToken(address)
but error exist...
## 👍 Other Information
<!-- List any other information that is relevant to your issue. Error logs, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. -->
The text was updated successfully, but these errors were encountered:
hasin0525
changed the title
how to use existing my token in crowdsale?
how to use my existing token in crowdsale?
Feb 1, 2018
Hi there @hasin0525. It appears that you're neither reporting a bug or asking for a new feature, which is why I'm going to close this issue as invalid, as I couldn't gather enough information from your description of the issue and example code.
Please consider asking for help over in the #beginners channel of our OpenZeppelin Slack community: https://slack.openzeppelin.org
🎉 Description
The current crowdsale code is a form that generates and distributes tokens. I would like to have a crowd sale with a token I have already created.
💻 Environment
Next, we need to know what your environment looks like.
📝 Details
Describe the problem you have been experiencing in more detail. Include as much information as you think is relevant. Keep in mind that transactions can fail for many reasons; context is key here.
🔢 Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.
The text was updated successfully, but these errors were encountered: