Skip to content

Instantly share code, notes, and snippets.

@PillarDevelopment
Created February 26, 2018 12:01
Show Gist options
  • Select an option

  • Save PillarDevelopment/d12ce498c15e948d08af6b3afed7e7d9 to your computer and use it in GitHub Desktop.

Select an option

Save PillarDevelopment/d12ce498c15e948d08af6b3afed7e7d9 to your computer and use it in GitHub Desktop.
функция массовой рассылки токенов по указанным адресам
function distributionTokens() public onlyOwner {
require(distribute = true);
//_to = beneficiary;
//_value = teamReserve+consultReserve+contingencyFund+marketingReserve+testReserve+bountyReserve;
//_value = _value*DEC;
//avaliableSupply -= _value;
_transfer(this, beneficiary, 24500000*DEC); // frozen all
_transfer(this, team, 7500000*DEC); // immediately Team 1/2
_transfer(this, consult, 2000000*DEC); // immediately advisers 1/3
_transfer(this, test, 100000*DEC); // immediately testers all
_transfer(this, marketing, 5900000*DEC); // immediately marketing all
// immediately 15 500 000
avaliableSupply -= 40000000*DEC;
distribute = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment