This file contains 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.0; | |
contract Auth { | |
mapping(address => bytes32) internal verification; | |
function submit(bytes32 code) public { | |
verification[msg.sender] = code; | |
} | |
function getVerificationCode(address _person) public view returns (bytes32) { |
This file contains 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.0; | |
import "./Ownable.sol"; | |
import "./SafeMath.sol"; | |
import "./State.sol"; | |
contract Hackathon is Ownable, HackathonState { | |
using SafeMath for uint256; | |
uint256 public initFound; |
This file contains 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.0; | |
import "./Ownable.sol"; | |
import "./SafeMath.sol"; | |
import "./State.sol"; | |
contract HackathonFactory is Ownable { | |
address public owner; | |
event HackathonCreated( |
This file contains 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.0; | |
import "./Ownable.sol"; | |
import "./SafeMath.sol"; | |
contract HackathonFactory is Ownable { | |
address public owner; | |
event HackathonCreated( | |
address indexed _owner, |
This file contains 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
//This is a WeChat miniprogram client transport for phoenix.js | |
// so that you can use easily use Phoenix Channel as a WebSocket server. | |
// Written by @chrismccord | |
// example usage: | |
// ``` | |
// let socket = new Socket("ws://localhost:4000/socket", { transport: WxSocket }) | |
// socket.connect() | |
// let channel = socket.channel("room:lobby", {}) | |
// channel.join() | |
// .receive("ok", resp => { console.log("Joined successfully", resp) }) |
This file contains 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
[package] | |
name = "rand" | |
version = "0.1.0" | |
authors = ["zhangsoledad <787953403@qq.com>"] | |
[dependencies.num-bigint] | |
git = "https://github.com/zhangsoledad/num-bigint" | |
features = ["rand"] |
This file contains 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
0xe4c016a18617cc307d955ffbe003f0bd1ddc58e5 |
NewerOlder