Skip to content

Instantly share code, notes, and snippets.

View hlambur's full-sized avatar

Hart Lambur hlambur

View GitHub Profile
@hlambur
hlambur / OptimisticBilateral.sol
Created July 27, 2019 02:30
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=
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) {
@hlambur
hlambur / SFPoops.js
Last active November 10, 2019 17:19
Retrieves the last 1000 days of SF poop data.
const fetch = require("node-fetch");
const getJson = async url => {
const response = await fetch(url);
const json = await response.json();
if (!json) {
throw `Query [${url}] failed to get JSON`;
}
return json;
};

Keybase proof

I hereby claim:

  • I am hlambur on github.
  • I am hart (https://keybase.io/hart) on keybase.
  • I have a public key whose fingerprint is 7DDD B1C9 98DB 3FD9 A5D9 C92B 1FB5 FACC 2FD0 1A71

To claim this, I am signing this object:

@hlambur
hlambur / HL bio.md
Last active February 19, 2024 10:12

Name: Hart Lambur
Company: UMA & Across
Title: Co-Founder
Headshots:

  1. Older (more formal) Headshot
  2. Newer (less formal) Headshot

Bio:

Hart is the Co-Founder of Risk Labs, the foundation supporting the UMA and Across protocols. UMA is an optimistic oracle that can verify arbitrary data on-chain. Across is a "intents-based" bridge offering cheap and near-instant cross-chain interoperability.