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
#> git diff deploy-011 master contracts | |
diff --git a/contracts/contracts/interfaces/IComptroller.sol b/contracts/contracts/interfaces/IComptroller.sol | |
new file mode 100644 | |
index 00000000..8be07f69 | |
--- /dev/null | |
+++ b/contracts/contracts/interfaces/IComptroller.sol | |
@@ -0,0 +1,9 @@ | |
+pragma solidity 0.5.11; | |
+ |
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
$ FORK=true npx hardhat debug --network localhost | |
Contract addresses | |
==================== | |
OUSD proxy: 0x2A8e1E676Ec238d8A992307B495b45B3fEAa5e86 | |
OUSD: 0x75977143ff1BB9BBCf2894e5D78AA65e58560F4A | |
Vault proxy: 0x3768278a5407A08960D4F817098AA93ec0a3C570 | |
Vault: 0x3525ec52f699CeeA4ae3382e4B4CC0ba6E176f98 | |
Vault core: 0x8Ae72779A026E65D7FaC4eC44968058fF049833a | |
Vault admin: 0x7345b7CEe1C7978Afbf0538caC519738f10F5fEE |
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
// Script that queries Etherscan to download all the tx hashes eligible for the Origin February 2020 drawing. | |
// The tx hashes can then be used as input for the drawing script at: https://gist.github.com/franckc/cb78cc9220e5c1c47d3790b6658c1124 | |
const fetch = require('node-fetch') | |
const address = '0x698ff47b84837d3971118a369c570172ee7e54c2' | |
const fromBlock = '9393349' | |
const toBlock = '9594889' | |
const topic0 = '0x6ee68cb753f284cf771c1a32c236d7ffcab6011345186a30e57837d761e86837' | |
const topic2 = '0x0000000000000000000000000000000000000000000000000000000000000051' |
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
const seedrandom = require('seedrandom') | |
const fs = require('fs') | |
const numWinners = 30 | |
// Read hashes from a file. They are expected to be in block descending order (most recent first). | |
const hashes = fs.readFileSync('hashes.txt').toString().trim().split('\n') | |
// Seed a random generator with the most recent hash. | |
const randomGenerator = seedrandom(hashes[0]) |
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
[ERROR] event-listener: { Error: GraphQL error: Couldn't decode uint256 from ABI: 0x | |
at new ApolloError (/app/node_modules/apollo-client/bundle.umd.js:92:26) | |
at /app/node_modules/apollo-client/bundle.umd.js:1581:34 | |
at /app/node_modules/apollo-client/bundle.umd.js:2001:15 | |
at Set.forEach (<anonymous>) | |
at /app/node_modules/apollo-client/bundle.umd.js:1999:26 | |
at Map.forEach (<anonymous>) | |
at QueryManager.broadcastQueries (/app/node_modules/apollo-client/bundle.umd.js:1997:20) | |
at /app/node_modules/apollo-client/bundle.umd.js:2124:19 | |
at Object.next (/app/node_modules/zen-observable/lib/Observable.js:308:23) |
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
[INFO] relayer: Loaded PROD risk engine. | |
[INFO] relayer: Addresses { Marketplace: '0xe842831533c4bf4b0f71b4521c4320bdb669324e', | |
MarketplaceEpoch: 3086315, | |
IdentityEvents: '0x160455a06d8e5aa38862afc34e4eca0566ee4e7e', | |
IdentityEventsEpoch: 3670528, | |
UniswapDaiExchange: '0x77dB9C915809e7BE439D2AB21032B1b8B58F6891', | |
ProxyFactory: '0xe52d8ae4A3745459aC525287a597d1D5f39c44F7', | |
ProxyFactoryEpoch: 4664344, | |
IdentityProxyImplementation: '0x8ACcCe67F87508814e79f3970F58c5D0cd31CacB', | |
OGN: '0xa115e16ef6e217f7a327a57031f75ce0487aadb8', |
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
[INFO] event-listener: Indexing identity 0x18f81B581082F0aD519B9efD07D87518bDf4F341 in DB | |
[DEBUG] event-listener: Identity= { ethAddress: '0x522731a061e896b5db9ddff9234fb5461a533710', | |
firstName: 'Origin Store', | |
lastName: '', | |
email: 'austin@OriginProtocol.com', | |
phone: '1 7175759208', | |
airbnb: undefined, | |
twitter: '928647522817417200', | |
facebookVerified: true, | |
googleVerified: false, |
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
#> cd packages/contracts/contracts/marketplace | |
#> diff V01_Marketplace.sol V00_Marketplace.sol | |
19c19 | |
< contract V01_Marketplace is Ownable { | |
--- | |
> contract V00_Marketplace is Ownable { | |
171d170 | |
< listing.deposit = 0; // Prevent multiple deposit withdrawals | |
316,317d314 | |
< } else { |
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
{ | |
"jsonrpc":"2.0", | |
"id":193, | |
"result":{ | |
"transactionsRoot":"0xf846fa3380c9182e4ff6d95a6006b6246824f7bfda9118235bcec9d9d48708d9", | |
"miner":"0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c", | |
"number":"0x80045f", | |
"size":"0x544c", | |
"author":"0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c", | |
"mixHash":"0xdb6d97d26cdf769b075d5dcd1af8ddfe471d983090c5c5e27867830734b2570c", |
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
{ | |
"jsonrpc":"2.0", | |
"id":193, | |
"result":{ | |
"transactionsRoot":"0xf846fa3380c9182e4ff6d95a6006b6246824f7bfda9118235bcec9d9d48708d9", | |
"miner":"0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c", | |
"number":"0x80045f", | |
"size":"0x544c", | |
"author":"0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c", | |
"mixHash":"0xdb6d97d26cdf769b075d5dcd1af8ddfe471d983090c5c5e27867830734b2570c", |
NewerOlder