Skip to content

Instantly share code, notes, and snippets.

Hart Lambur hlambur

  • New York
Block or report user

Report or block hlambur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hlambur
hlambur / OptimisticBilateral.sol
Created Jul 27, 2019
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
View OptimisticBilateral.sol
pragma solidity >=0.4.22 <0.6.0;
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol';
contract ExampleOracle {
function submitDataRequest(address contractAdress, bytes32 priceTicker, uint disputeTimestamp) public {
// logic goes here.
}
function getDataRequest(address contractAdress) public returns (int) {
You can’t perform that action at this time.