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 statediff | |
import ( | |
"math/big" | |
"sort" | |
"encoding/json" | |
"strings" | |
// "github.com/ethereum/go-ethereum/core" |
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
with import <nixpkgs> {}; | |
with pkgs.python36Packages; | |
let | |
stdenv = pkgs.stdenv; | |
in rec { | |
web3 = buildPythonPackage rec { | |
pname = "web3"; |
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
{ | |
"name": "vulcan0x", | |
"version": "0.0.1", | |
"lockfileVersion": 1, | |
"requires": true, | |
"dependencies": { | |
"@babel/code-frame": { | |
"version": "7.0.0-beta.46", | |
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.46.tgz", | |
"integrity": "sha512-7BKRkmYaPZm3Yff5HGZJKCz7RqZ5jUjknsXT6Gz5YKG23J3uq9hAj0epncCB0rlqmnZ8Q+UUpQB2tCR5mT37vw==", |
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
type Ilk { | |
id: String | |
take: Float | |
rate: Float | |
spot: Float | |
line: Float | |
chop: Float | |
lump: Float | |
flip: Address | |
rho: Era |
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
[dc@nixos:~/dev/makerdao/mcd-cli]$ ./bin/mcd -C kovan frob --ilk=ETH 0 50 | |
Updating Urn... | |
dink: 0 | |
dart: 50 | |
+ seth send 0xe7cf3198787c9a4daac73371a38f29aaeeced87e 'frob(bytes32,int256,int256)' 4554480000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000002b5e3af16b1880000 | |
Ethereum account passphrase (not echoed): seth-send: Published transaction with 100 bytes of calldata. | |
seth-send: 0x82f1b566b9198bab7045f65e11317aae13bd2563a3c8d428b41d98238157eaff | |
seth-send: Waiting for transaction receipt....... | |
seth-send: Transaction included in block 8553496. |
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
#!/usr/bin/env bash | |
rhoc="0x168296bb09e24a88805cb9c33356536b980d3fc5"; | |
from="0xe17C20292b2F1b0Ff887Dc32A73C259Fae25f03B"; | |
to="0xd35a2d8c651f3eba4f0a044db961b5b0ccf68a2d"; | |
wei=20000000100000000; | |
data=$(seth calldata 'transfer(address,uint256)' $to $(seth --to-word $wei)); | |
seth -C ethlive send -F $from $rhoc $data; |
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
Starting with profile default | |
Using data_dir: /Users/dc/.rnode | |
INFO - trying to open ports using UPnP.... | |
INFO - Available gateway devices: eero | |
INFO - Picking eero as gateway | |
INFO - Gateway's external IP address is from a public address block. | |
INFO - Removing an existing port mapping for port TCP/40400 [success] | |
INFO - Adding a port mapping for port TCP/40400 [success] | |
INFO - UPnP port forwarding was most likely successful! |
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
// Copyright (C) 2018 AGPL | |
pragma solidity ^0.4.23; | |
contract DssEvents { | |
// Auction kickoff | |
event LogKick( | |
uint256 id, // bid id | |
address mom, // auction contract address |
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
market | OfferID | No. Trades | Offer volume | Totalled trades volume | Volume diff | % filled | |
---|---|---|---|---|---|---|---|
WETHDAI | 24544 | 2 | 9.65103589613837 | 9.6510358961383724 | -0.0000000000000024 | 100.000000000000024868 | |
WETHDAI | 4454 | 2 | 5.970391582487159 | 5.9703915824871603 | -0.0000000000000013 | 100.000000000000021774 | |
WETHDAI | 14784 | 3 | 2.54390784948206 | 2.54390784948206054 | -0.00000000000000054 | 100.000000000000021227 | |
MKRWETH | 5065 | 2 | 8.48728805582 | 8.4872880558200015 | -0.0000000000000015 | 100.000000000000017673 | |
WETHDAI | 76548 | 2 | 9.979212467866821 | 9.9792124678668227 | -0.0000000000000017 | 100.000000000000017035 | |
MKRWETH | 39865 | 2 | 0.282177 | 0.282177000000000048 | -0.000000000000000048 | 100.000000000000017011 | |
MKRWETH | 6995 | 2 | 1.182130701961711 | 1.1821307019617112 | -0.0000000000000002 | 100.000000000000016919 | |
MKRWETH | 35905 | 2 | 0.26198 | 0.26198000000000004 | -0.00000000000000004 | 100.000000000000015268 | |
WETHDAI | 45235 | 9 | 40.50727594500199 | 40.5072759450019961 | -0.0000000000000061 | 100.000000000000015059 |
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
{ | |
"data": { | |
"allBalances": { | |
"totalCount": 22, | |
"nodes": [ | |
{ | |
"key": "0x4D71b91D46fA7247870804601E53AD9330CC7dCe", | |
"amt": "0.011906220000000000", | |
"time": "2018-05-29T20:56:41+00:00" | |
}, |