Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A token is a transferable, divisible object on the blockchain, such as a subcurrency or a prediction market share.
0
votes
1
answer
622
views
buytoken function with erc20 interface
I was following a tutorial that can buy erc20 tokens and I'm now stuck with transferring tokens to a buyer account which I need more clarification. … What if it was the buyer's first time purchasing the tokens? then the buyer won't have existing tokens in balanceOf variable initially. …
0
votes
1
answer
368
views
ERC20, how to calculate how many tokens for crowdsale?
If you look at this article, the total tokens for crowdsale is 100 tokens and defined in the code as
uint256 public maxTokens = 100000000000000000000;
how come 100000000000000000000 becomes 100 tokens …