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
| contract Ticketer { | |
| address owner; | |
| uint tickets; | |
| uint sellStartDate; | |
| uint sellEndDate; | |
| uint eventStartDate; | |
| uint buffer; | |
| uint maxTicketsPerAddress; | |
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
| 0x866B3c4994e1416B7C738B9818b31dC246b95eEE |
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
| 0x19bC8Ee574bbF9a591CdfF271971155d8445Ef54 |
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
| "prettier": { | |
| "semi": false, | |
| "editor.formatOnSave": true, | |
| "singleQuote": true | |
| } |
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
| export function modulate(value, rangeA, rangeB, limit) { | |
| let fromHigh, fromLow, result, toHigh, toLow | |
| if (limit == null) { | |
| limit = false | |
| } | |
| fromLow = rangeA[0] | |
| fromHigh = rangeA[1] | |
| toLow = rangeB[0] | |
| toHigh = rangeB[1] | |
| result = toLow + ((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow) |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am jefflau on github. | |
| * I am jefflau (https://keybase.io/jefflau) on keybase. | |
| * I have a public key ASB76SCxW1qF2yWjmO_ffbhDiIoFL50sQn1NZkAwgSA_8wo | |
| To claim this, I am signing this object: |
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
| /* Inspired by: https://gist.github.com/avinmathew/e82fe7e757b20cb337d5219e0ab8dc2c */ | |
| import React, { Fragment } from 'react' | |
| import { | |
| BrowserRouter as Router, | |
| Route as DefaultRoute, | |
| Switch | |
| } from 'react-router-dom' | |
| import TestRegistrar from './routes/TestRegistrar' | |
| import Home from './routes/Home' | |
| import SingleName from './routes/SingleName' |
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
| [ | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "node", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "resolver", |
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
| [ | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_hash", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "releaseDeed", |
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 Address { | |
| address: String | |
| } | |
| type Node { | |
| name: String | |
| nameHash: String | |
| label: String | |
| node: String | |
| subNodes: [Node] |