View StatusCrowdsale.sol
pragma solidity ^0.4.11; | |
/// @dev `Owned` is a base level contract that assigns an `owner` that can be | |
/// later changed | |
contract Owned { | |
/// @dev `owner` is the only address that can call a function with this | |
/// modifier | |
modifier onlyOwner() { |
View WeirdMorning.py
# -*- coding: utf-8 -*- | |
import requests | |
import json | |
import time | |
from decimal import * | |
token = 'place your Web API token here' # https://api.slack.com | |
api_url = 'https://slack.com/api/chat.postMessage' | |
data = { | |
'token': token, |