Skip to content

Instantly share code, notes, and snippets.

@netkiller
netkiller / NetkillerToken.sol
Last active May 16, 2018 13:16
NetkillerToken
pragma solidity ^0.4.21;
/******************************************/
/* Netkiller ADVANCED TOKEN */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-09 - Add Global lock */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller ADVANCED TOKEN - AirDrop */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-31 - Fixed transfer */
/******************************************/
@netkiller
netkiller / NetkillerAdvancedToken.sol
Last active July 25, 2018 04:00
NetkillerStandardToken
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller ADVANCED TOKEN */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-07-25 - batchTransfer */
/******************************************/
library SafeMath {
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Mini TOKEN */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-31 Fixed transfer bool */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Batch Token */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-06-09 - Batch transfer */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Crowdsale Contract */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-06-07 - Solc ver: 0.4.24 */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Crowdsale Contract */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-06-07 - Solc ver: 0.4.24 */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Mini TOKEN */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-31 Fixed transfer bool */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller ADVANCED TOKEN */
/******************************************/
/* Author netkiller <netkiller@msn.com> */
/* Home http://www.netkiller.cn */
/* Version 2018-08-09 airdrop & exchange */
/******************************************/
library SafeMath {
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
assert(c / a == b);