don't know if someone can help me, but let me explain my problem. For more transparency in my token generation smart contract, I want to hardcode the Team Pool (0xA) and Crowdfunding Pool (0xB) with allocation amounts, just as example.
constructor() public {
symbol = "STT";
name = "Sample Token";
decimals = 18;
totalSupply_ = 500000000 * (10 ** uint256(decimals));
// Now we need to split the total supply into 2 hardcoded addresses
function allocate() public {
allocations[0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA] = 250000000 * (10 ** uint256(decimals));
allocations[0xBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB] = 250000000 * (10 ** uint256(decimals));
}
Means that after deployment the total supply will be distributed to two ethereum addresses.
Can someone guide me, please and how the amounts are send while deployment. ? The rest of the code is based on https://github.com/OpenZeppelin/openzeppelin-solidity BasicToken without mint or burn
Thanks in advance
Cheers