- Check block numbers before rolling back on sync
This file contains hidden or 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": "MarketCreated", | |
| "universe": "0x0fF6ee01f88145298761a29A0372Ed24E16E73B1", | |
| "endTime": 1351296002, | |
| "extraInfo": { | |
| "categories": [ | |
| "flash", | |
| "reasonable", | |
| "categorical" |
This file contains hidden or 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": "MarketCreated", | |
| "universe": "0xaAC01B4aaA2EBD04A4790c85b76e1749d8Ef8e13", | |
| "endTime": 1351296004, | |
| "extraInfo": { | |
| "categories": [ | |
| "flash", | |
| "reasonable", | |
| "categorical" |
This file contains hidden or 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
| (function showIndexedDbSize() { | |
| "use strict"; | |
| function openDatabases(...dbnames) { | |
| console.log('dbnames', dbnames); | |
| return Promise.all(dbnames.map(dbname => | |
| (new Promise(function(resolve, reject) { | |
| var request = window.indexedDB.open(dbname); | |
| request.onsuccess = function(event) { | |
| const db = event.target.result; | |
| resolve(db); |
This file contains hidden or 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
| @startuml | |
| title Blockstream unreliable node workflow | |
| (*) --> "New Block" | |
| @enduml |
This file contains hidden or 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
| @startuml | |
| title Gnosis Safe UI flow | |
| (*) --> "Login" | |
| --> "Check for Safe Address with Registry Contract" | |
| --> "Address exists in registry?" | |
| If "" then | |
| --> [Yes] "Return safe address to UI" | |
| else | |
| --> [No] "Check localstorage for gnosis safe address" as a1 | |
| Endif |
This file contains hidden or 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
| #!/bin/bash | |
| ((!$#)) && echo Issue number provided, command ignored! && exit 1; | |
| TITLE=$(hub issue show -f %t $1); | |
| ESCAPED_TITLE="GH-$1-${TITLE// /-}"; | |
| git checkout -b $ESCAPED_TITLE; |
This file contains hidden or 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 SubscriptionKey = string; | |
| interface Connector { | |
| trackAccount(account:string); | |
| }; | |
| interface EventEmitter { | |
| emit(key, payload); | |
| subscribe():SubscriptionKey |
This file contains hidden or 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
| \\ Proposing this structure for getters and senders. | |
| export interface Pong { | |
| response: string; | |
| } | |
| export class Ping<TBigNumber> { | |
| public static PingParams = t.type({}); | |
| @Getter() |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| [ | |
| { | |
| "marketId": "0x5d192f598ff29318013b3f269ae37590aa75b5f9", | |
| "universe": "0xe991247b78f937d7b69cfc00f1a487a293557677", | |
| "marketType": "yesNo", | |
| "numOutcomes": 2, | |
| "minPrice": "0", | |
| "maxPrice": "1", | |
| "marketCreator": "0xaf71d0d1ec6304b83171f7d280b87276055dc77b", | |
| "creationBlockNumber": 5937093, |