Skip to content

Instantly share code, notes, and snippets.

View RideSolo's full-sized avatar

F/LALIDJI RideSolo

View GitHub Profile
pragma solidity ^0.4.20;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b);
@RideSolo
RideSolo / pre_ico_memority.sol
Created September 8, 2018 16:30 — forked from yuriy77k/pre_ico_memority.sol
pre ICO Memority.io
pragma solidity ^0.4.20;
contract owned {
address public owner;
function owned() public {owner = msg.sender;}
modifier onlyOwner { require(msg.sender == owner); _;}
function transferOwnership(address newOwner) onlyOwner public {owner = newOwner;}
}
contract EmtCrowdfund is owned {
@RideSolo
RideSolo / Atomz.sol
Created September 16, 2018 17:13 — forked from yuriy77k/Atomz.sol
Atomz
pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
@RideSolo
RideSolo / suapp.sol
Created September 20, 2018 08:17 — forked from yuriy77k/suapp.sol
SUAPP ERC20
pragma solidity ^0.4.24;
/*
* @title SafeMath
* @dev Math operations with safety checks that throw on error
* Name : SUAPP (SUP)
* Decimals : 8
* TotalSupply : 100000000000
*/
contract ERC20Basic {
@RideSolo
RideSolo / mambocoin.sol
Created September 21, 2018 20:14 — forked from yuriy77k/mambocoin.sol
MamboCoin
pragma solidity ^0.4.15;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
@RideSolo
RideSolo / WooshCoin.sol
Created September 25, 2018 21:58 — forked from yuriy77k/WooshCoin.sol
WooshCoin
pragma solidity ^0.4.24;
/**
* SmartEth.co
* ERC20 Token and ICO smart contracts development, smart contracts audit, ICO websites.
* contact@smarteth.co
*/
/**
* @title SafeMath
@RideSolo
RideSolo / electrominer.sol
Created September 27, 2018 21:55 — forked from yuriy77k/electrominer.sol
electrominer.io pre ico
pragma solidity ^0.4.23;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
@RideSolo
RideSolo / ACLYD.sol
Created September 29, 2018 01:59 — forked from yuriy77k/ACLYD.sol
ACLYD
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACLYDTOKEN' token contract
//
// Deployed to : 0x2bea96F65407cF8ed5CEEB804001837dBCDF8b23
// Symbol : ACLYD
// Name : ACLYD
// Total supply: 750000000
// Decimals : 18
pragma solidity ^0.4.13;
/**
* @title SafeMath
* Math operations with safety checks
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
@RideSolo
RideSolo / AQX_2.sol
Created September 30, 2018 08:07 — forked from yuriy77k/AQX_2.sol
Aqua Intel
pragma solidity ^0.4.19;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;