rename recipent to contributor in token contract
This commit is contained in:
parent
d7c8ee46bd
commit
9e57567cd3
@ -17,11 +17,11 @@ contract Token is Upgradeable, BasicToken {
|
|||||||
decimals = 18;
|
decimals = 18;
|
||||||
}
|
}
|
||||||
|
|
||||||
function mintFor(address recipientAddress, uint256 amount, uint proposalId) onlyRegistryContractFor('Operator') public {
|
function mintFor(address contributorAccount, uint256 amount, uint proposalId) onlyRegistryContractFor('Operator') public {
|
||||||
totalSupply_ = totalSupply_.add(amount);
|
totalSupply_ = totalSupply_.add(amount);
|
||||||
balances[recipientAddress] = balances[recipientAddress].add(amount);
|
balances[contributorAccount] = balances[contributorAccount].add(amount);
|
||||||
|
|
||||||
LogMint(recipientAddress, amount, proposalId);
|
LogMint(contributorAccount, amount, proposalId);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user