1import { isDevelopment } from './flags';
3const CHECK_BLOCK_EVERY_MS = isDevelopment ? 1000 : 5000;
4const DEFAULT_GAS_PRICE_GWEI = 20;
10const MIN_PLANET = 65536;
11const MAX_PLANET = 4294967297;
13const ZOD = MIN_GALAXY;
15const PLANET_ENTROPY_BITS = 64;
16const STAR_ENTROPY_BITS = 128;
17const GALAXY_ENTROPY_BITS = 384;
19const SEED_ENTROPY_BITS = 128;
21//TODO move into azimuth-js
24 TRANSFER: 560000, //NOTE biggest, also update gas tank's max
25 CONFIGURE_KEYS: 100000,
28 ESCAPE: 115000, //NOTE low sample size
29 ADOPT: 100000, //NOTE low sample size
30 CANCEL_ESCAPE: 200000, //NOTE no samples
31 REJECT: 200000, //NOTE no samples
32 DETACH: 200000, //NOTE no samples
34 GIFT_PLANET: 420000, //NOTE low sample size, //NOTE also update in gas tank
41// TODO: this is walletgen-ui specific, move into a wallet router later
43 ENY_NOSTART: Symbol('ENY_NOSTART'),
44 ENY_PENDING: Symbol('ENY_PENDING'),
45 ENY_SUCCESS: Symbol('ENY_SUCCESS'),
46 ENY_FAILURE: Symbol('ENY_FAILURE'),
47 DERIVATION_NOSTART: Symbol('DERIVATION_NOSTART'),
48 DERIVATION_PENDING: Symbol('DERIVATION_PENDING'),
49 DERIVATION_SUCCESS: Symbol('DERIVATION_SUCCESS'),
50 DERIVATION_FAILURE: Symbol('DERIVATION_FAILURE'),
51 PAPER_NOSTART: Symbol('PAPER_NOSTART'),
52 PAPER_PENDING: Symbol('PAPER_PENDING'),
53 PAPER_SUCCESS: Symbol('PAPER_SUCCESS'),
54 PAPER_FAILURE: Symbol('PAPER_FAILURE'),
57const BUTTON_STATES = {
58 NOSTART: Symbol('NOSTART'),
59 SUCCESS: Symbol('SUCCESS'),
60 ERROR: Symbol('ERROR'),
61 PENDING: Symbol('PENDING'),
64const PROFILE_STATES = {
65 NOSTART: Symbol('NOSTART'),
66 UPLOAD_SUCCESS: Symbol('UPLOAD_SUCCESS'),
67 UPLOAD_ERROR: Symbol('UPLOAD_ERROR'),
68 INPUT_SUCCESS: Symbol('INPUT_SUCCESS'),
69 INPUT_ERROR: Symbol('INPUT_ERROR'),
72const PROGRESS_ANIMATION_DELAY_MS = 500; // .animated-width
76 DEFAULT_GAS_PRICE_GWEI,
92 PROGRESS_ANIMATION_DELAY_MS,
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list