File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ contract Crowdsale {
73
73
74
74
/**
75
75
* @dev fallback function ***DO NOT OVERRIDE***
76
+ * Note that other contracts will transfer fund with a base gas stipend
77
+ * of 2300, which is not enough to call buyTokens. Consider calling
78
+ * buyTokens directly when purchasing tokens from a contract.
76
79
*/
77
80
function () external payable {
78
81
buyTokens (msg .sender );
@@ -100,15 +103,15 @@ contract Crowdsale {
100
103
}
101
104
102
105
/**
103
- * @return the mount of wei raised.
106
+ * @return the amount of wei raised.
104
107
*/
105
108
function weiRaised () public view returns (uint256 ) {
106
109
return _weiRaised;
107
110
}
108
111
109
112
/**
110
113
* @dev low level token purchase ***DO NOT OVERRIDE***
111
- * @param beneficiary Address performing the token purchase
114
+ * @param beneficiary Recipient of the token purchase
112
115
*/
113
116
function buyTokens (address beneficiary ) public payable {
114
117
@@ -188,7 +191,7 @@ contract Crowdsale {
188
191
}
189
192
190
193
/**
191
- * @dev Executed when a purchase has been validated and is ready to be executed. Not necessarily emits/sends tokens.
194
+ * @dev Executed when a purchase has been validated and is ready to be executed. Doesn't necessarily emit/send tokens.
192
195
* @param beneficiary Address receiving the tokens
193
196
* @param tokenAmount Number of tokens to be purchased
194
197
*/
You can’t perform that action at this time.
0 commit comments