This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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, |