Skip to content

Instantly share code, notes, and snippets.

@KotNaplakal
KotNaplakal / LuckyStrikeTokens.sol
Last active February 15, 2019 02:48 — forked from yuriy77k/LuckyStrikeTokens.sol
LuckyStrikeTokens
pragma solidity 0.4.20;
/*
Lucky Strike smart contracts version: 2.0
*/
/*
This smart contract is intended for entertainment purposes only. Cryptocurrency gambling is illegal in many jurisdictions and users should consult their legal counsel regarding the legal status of cryptocurrency gambling in their jurisdictions.
Since developers of this smart contract are unable to determine which jurisdiction you reside in, you must check current laws including your local and state laws to find out if cryptocurrency gambling is legal in your area.
If you reside in a location where cryptocurrency gambling is illegal, please do not interact with this smart contract in any way and leave it immediately.
@KotNaplakal
KotNaplakal / LuckyStrike.sol
Created February 15, 2019 02:41 — forked from yuriy77k/LuckyStrike.sol
LuckyStrike
pragma solidity 0.4.20;
// we use solidity solidity 0.4.20 to work with oraclize (http://www.oraclize.it)
// solidity versions > 0.4.20 are not supported by oraclize
/*
Lucky Strike smart contracts version: 1.0
*/
/*
@KotNaplakal
KotNaplakal / DECAirdrop abi
Created October 30, 2018 12:10 — forked from snidima/DECAirdrop abi
DECAirdrop abi
[
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "owners",
@KotNaplakal
KotNaplakal / DECAirdrop byte
Created October 30, 2018 12:10 — forked from snidima/DECAirdrop byte
DECAirdrop byte
65da475abf0000600a5561012c600c908155600d805461ffff19168155610240604052600b608090815260a09290925260c052601560e052601661010052601f6101205260206101405260216101605260226101805260296101a052602a6101c052602b6101e0526033610200526034610220526200008390601890600e6200036b565b503480156200009157600080fd5b506002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018054600160a060020a0319163390811790915560009081526006602090815260408220839055918055600f9091526b737b6f623b49e7391c0000007f0db0e9d5a07148aa3e0acc10f721b78526b53a3f4f3d07794be76568de7347c5556b020ee9ff3193eb499d0000007faed549f926a17a28853af2d56b17ad8ad8d799c48d325a734362b810173b7729556a0c685fa11e01ec6f0000007fe48c37f5ec5b77098fcb2a7935f0925fec1a69796c076c65ed90d9c90ef07dc58190556b01048fd8377628651b0000007f20f1ba09e90a9b31be73a65ad973088bae45dec1c476bc20be866b29a09e06c9556a02e5276153cd3fb38000007fe0f7007f530b7e767adf64db9db91e8b07bbc4e05f83897ab46ef4b64efb2e9f556969e10de76676d08000007f03da3aa9f561cc5a4317b47294ef0645e30ddfeecade32c59eac
@KotNaplakal
KotNaplakal / DEC abi
Created October 30, 2018 12:10 — forked from snidima/DEC abi
[
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
@KotNaplakal
KotNaplakal / DEC byte
Created October 30, 2018 12:09 — forked from snidima/DEC byte
60008054600160a060020a03191673991a1bcb077599290d7305493c9a630c20f8b79817905560c0604052600960808190527f446563204e6f646573000000000000000000000000000000000000000000000060a090815262000066916004919062000112565b506040805180820190915260038082527f44454300000000000000000000000000000000000000000000000000000000006020909201918252620000ad9160059162000112565b506006805460ff19166012179055600160078190558054600160a060020a031916331790819055604051600160a060020a0391909116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620001b7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200015557805160ff191683800117855562000185565b8280016001018555821562000185579182015b828111156200018557825182559160200191906001019062000168565b506200019392915062000197565b5090565b620001b491905b808211156200019357600081556001016200019e565b90565b61162580620001c76000396000f3006080604052600436106101195763ffffffff60e060020a60003504166306fdde03811461011e578063095ea7b3146101a85780630e274eab14
@KotNaplakal
KotNaplakal / DEC описание
Created October 30, 2018 11:54 — forked from snidima/DEC описание
DEC описание
DEC
---
Методы ERC20 + методыERC777
setDECAirdropContract( address _address ) . Установка airdrop контракта. Админская функция
pushTokens( uint256 _amount ) . Отправить токены с текущего адреса для дальнейшей проверки
pullTokens() . Забрать токены обратно после метода pushTokens.
@KotNaplakal
KotNaplakal / DECAirdrop
Created October 30, 2018 11:54 — forked from snidima/DECAirdrop
DECAirdrop
pragma solidity 0.4.25;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
@KotNaplakal
KotNaplakal / DEC
Created October 30, 2018 11:54 — forked from snidima/DEC
DEC
pragma solidity 0.4.25;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;