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.17; | |
| import "./Sag.sol"; | |
| contract SagProxy { | |
| event PrizeRequest(bytes32 msgHash, uint8 v, bytes32 r, bytes32 s); | |
| event PrizeReady(address winner, bytes prize); | |
| Sag private sag; |
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
| import os | |
| import sys | |
| import struct | |
| import binaryninja | |
| def touch(fname, times=None): | |
| with open(fname, 'a'): | |
| os.utime(fname, times) | |
| #------------------------------------------------------------------- |