Skip to content

Instantly share code, notes, and snippets.

View pakaplace's full-sized avatar

Parker Place pakaplace

View GitHub Profile
@pakaplace
pakaplace / priceTrigger.js
Created February 16, 2019 22:17
EthTTT tables
User.js
* ethAddress
* phoneNumber
* email
Task (trigger + action)
* triggerJson
* actionJSON
* userId
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var users = require('./routes/users');
@pakaplace
pakaplace / EthToErc.sol
Last active February 25, 2018 20:30
Smart contract for converting Ether to ERC-Ether and then trading it via 0x with other ERC tokens
pragma solidity ^0.4.18;
import './WETH9.sol';
import './Exchange.sol';
contract NotShapeshift{
WETH9 etherToken; //object for WETH9 Contract
Exchange exchange;
event Deposit(address sender, uint amount);

Keybase proof

I hereby claim:

  • I am pakaplace on github.
  • I am paka (https://keybase.io/paka) on keybase.
  • I have a public key ASB8AER6JuerOAo8wYRNzd0JgBdZzeiBK0zQSAwDalaHiQo

To claim this, I am signing this object: