-
Notifications
You must be signed in to change notification settings - Fork 10
/
ubi-books.js
959 lines (949 loc) · 51.5 KB
/
ubi-books.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
// Lists all the books offered by UbiTok.io.
//
// the contract ABI has changed slightly over time ..
var BookERC20EthV0p9AbiArray =
[{"constant":true,"inputs":[{"name":"fromPrice","type":"uint16"}],"name":"walkBook","outputs":[{"name":"price","type":"uint16"},{"name":"depthBase","type":"uint256"},{"name":"orderCount","type":"uint256"},{"name":"blockNumber","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrder","outputs":[{"name":"client","type":"address"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountCntr","type":"uint256"}],"name":"withdrawCntr","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getBookInfo","outputs":[{"name":"_bookType","type":"uint8"},{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_cntrMinInitialSize","type":"uint256"},{"name":"_feePer10K","type":"uint256"},{"name":"_feeCollector","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrderState","outputs":[{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountBase","type":"uint256"}],"name":"transferBase","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountRwrd","type":"uint256"}],"name":"transferRwrd","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"depositCntr","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromBase","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"}],"name":"getClientBalances","outputs":[{"name":"bookBalanceBase","type":"uint256"},{"name":"bookBalanceCntr","type":"uint256"},{"name":"bookBalanceRwrd","type":"uint256"},{"name":"approvedBalanceBase","type":"uint256"},{"name":"approvedBalanceRwrd","type":"uint256"},{"name":"ownBalanceBase","type":"uint256"},{"name":"ownBalanceRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newFeeCollector","type":"address"}],"name":"changeFeeCollector","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromRwrd","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"},{"name":"maybeLastOrderIdReturned","type":"uint128"},{"name":"minClosedOrderIdCutoff","type":"uint128"}],"name":"walkClientOrders","outputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"maxMatches","type":"uint256"}],"name":"createOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"maxMatches","type":"uint256"}],"name":"continueOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"}],"name":"cancelOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"}],"name":"init","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientPaymentEventType","type":"uint8"},{"indexed":false,"name":"balanceType","type":"uint8"},{"indexed":false,"name":"clientBalanceDelta","type":"int256"}],"name":"ClientPaymentEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientOrderEventType","type":"uint8"},{"indexed":false,"name":"orderId","type":"uint128"}],"name":"ClientOrderEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"eventTimestamp","type":"uint256"},{"indexed":true,"name":"orderId","type":"uint128"},{"indexed":false,"name":"marketOrderEventType","type":"uint8"},{"indexed":false,"name":"price","type":"uint16"},{"indexed":false,"name":"depthBase","type":"uint256"},{"indexed":false,"name":"tradeBase","type":"uint256"}],"name":"MarketOrderEvent","type":"event"}]
;
var BookERC20EthV0p99AbiArray =
[{"constant":true,"inputs":[{"name":"fromPrice","type":"uint16"}],"name":"walkBook","outputs":[{"name":"price","type":"uint16"},{"name":"depthBase","type":"uint256"},{"name":"orderCount","type":"uint256"},{"name":"blockNumber","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrder","outputs":[{"name":"client","type":"address"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountCntr","type":"uint256"}],"name":"withdrawCntr","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getBookInfo","outputs":[{"name":"_bookType","type":"uint8"},{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_cntrMinInitialSize","type":"uint256"},{"name":"_feeDivisor","type":"uint256"},{"name":"_feeCollector","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrderState","outputs":[{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountBase","type":"uint256"}],"name":"transferBase","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountRwrd","type":"uint256"}],"name":"transferRwrd","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"depositCntr","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromBase","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"}],"name":"getClientBalances","outputs":[{"name":"bookBalanceBase","type":"uint256"},{"name":"bookBalanceCntr","type":"uint256"},{"name":"bookBalanceRwrd","type":"uint256"},{"name":"approvedBalanceBase","type":"uint256"},{"name":"approvedBalanceRwrd","type":"uint256"},{"name":"ownBalanceBase","type":"uint256"},{"name":"ownBalanceRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newFeeCollector","type":"address"}],"name":"changeFeeCollector","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromRwrd","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"},{"name":"maybeLastOrderIdReturned","type":"uint128"},{"name":"minClosedOrderIdCutoff","type":"uint128"}],"name":"walkClientOrders","outputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"maxMatches","type":"uint256"}],"name":"createOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"maxMatches","type":"uint256"}],"name":"continueOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"}],"name":"cancelOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"}],"name":"init","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientPaymentEventType","type":"uint8"},{"indexed":false,"name":"balanceType","type":"uint8"},{"indexed":false,"name":"clientBalanceDelta","type":"int256"}],"name":"ClientPaymentEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientOrderEventType","type":"uint8"},{"indexed":false,"name":"orderId","type":"uint128"}],"name":"ClientOrderEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"eventTimestamp","type":"uint256"},{"indexed":true,"name":"orderId","type":"uint128"},{"indexed":false,"name":"marketOrderEventType","type":"uint8"},{"indexed":false,"name":"price","type":"uint16"},{"indexed":false,"name":"depthBase","type":"uint256"},{"indexed":false,"name":"tradeBase","type":"uint256"}],"name":"MarketOrderEvent","type":"event"}]
;
var BookERC20EthV1AbiArray =
[{"constant":true,"inputs":[{"name":"fromPrice","type":"uint16"}],"name":"walkBook","outputs":[{"name":"price","type":"uint16"},{"name":"depthBase","type":"uint256"},{"name":"orderCount","type":"uint256"},{"name":"blockNumber","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrder","outputs":[{"name":"client","type":"address"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountCntr","type":"uint256"}],"name":"withdrawCntr","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getBookInfo","outputs":[{"name":"_bookType","type":"uint8"},{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_cntrMinInitialSize","type":"uint256"},{"name":"_feeDivisor","type":"uint256"},{"name":"_feeCollector","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrderState","outputs":[{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountBase","type":"uint256"}],"name":"transferBase","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountRwrd","type":"uint256"}],"name":"transferRwrd","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"depositCntr","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromBase","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"}],"name":"getClientBalances","outputs":[{"name":"bookBalanceBase","type":"uint256"},{"name":"bookBalanceCntr","type":"uint256"},{"name":"bookBalanceRwrd","type":"uint256"},{"name":"approvedBalanceBase","type":"uint256"},{"name":"approvedBalanceRwrd","type":"uint256"},{"name":"ownBalanceBase","type":"uint256"},{"name":"ownBalanceRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newFeeCollector","type":"address"}],"name":"changeFeeCollector","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromRwrd","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"},{"name":"maybeLastOrderIdReturned","type":"uint128"},{"name":"minClosedOrderIdCutoff","type":"uint128"}],"name":"walkClientOrders","outputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"maxMatches","type":"uint256"}],"name":"createOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"maxMatches","type":"uint256"}],"name":"continueOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"}],"name":"cancelOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"}],"name":"init","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientPaymentEventType","type":"uint8"},{"indexed":false,"name":"balanceType","type":"uint8"},{"indexed":false,"name":"clientBalanceDelta","type":"int256"}],"name":"ClientPaymentEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientOrderEventType","type":"uint8"},{"indexed":false,"name":"orderId","type":"uint128"},{"indexed":false,"name":"maxMatches","type":"uint256"}],"name":"ClientOrderEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"eventTimestamp","type":"uint256"},{"indexed":true,"name":"orderId","type":"uint128"},{"indexed":false,"name":"marketOrderEventType","type":"uint8"},{"indexed":false,"name":"price","type":"uint16"},{"indexed":false,"name":"depthBase","type":"uint256"},{"indexed":false,"name":"tradeBase","type":"uint256"}],"name":"MarketOrderEvent","type":"event"}]
;
var BookERC20EthV1DecAbiArray =
[{"constant":true,"inputs":[{"name":"fromPrice","type":"uint16"}],"name":"walkBook","outputs":[{"name":"price","type":"uint16"},{"name":"depthBase","type":"uint256"},{"name":"orderCount","type":"uint256"},{"name":"blockNumber","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrder","outputs":[{"name":"client","type":"address"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountCntr","type":"uint256"}],"name":"withdrawCntr","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getBookInfo","outputs":[{"name":"_bookType","type":"uint8"},{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_cntrMinInitialSize","type":"uint256"},{"name":"_feeDivisor","type":"uint256"},{"name":"_feeCollector","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrderState","outputs":[{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountBase","type":"uint256"}],"name":"transferBase","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_minPriceExponent","type":"int8"}],"name":"init","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountRwrd","type":"uint256"}],"name":"transferRwrd","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"depositCntr","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromBase","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"}],"name":"getClientBalances","outputs":[{"name":"bookBalanceBase","type":"uint256"},{"name":"bookBalanceCntr","type":"uint256"},{"name":"bookBalanceRwrd","type":"uint256"},{"name":"approvedBalanceBase","type":"uint256"},{"name":"approvedBalanceRwrd","type":"uint256"},{"name":"ownBalanceBase","type":"uint256"},{"name":"ownBalanceRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newFeeCollector","type":"address"}],"name":"changeFeeCollector","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromRwrd","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"},{"name":"maybeLastOrderIdReturned","type":"uint128"},{"name":"minClosedOrderIdCutoff","type":"uint128"}],"name":"walkClientOrders","outputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"maxMatches","type":"uint256"}],"name":"createOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"maxMatches","type":"uint256"}],"name":"continueOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"}],"name":"cancelOrder","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientPaymentEventType","type":"uint8"},{"indexed":false,"name":"balanceType","type":"uint8"},{"indexed":false,"name":"clientBalanceDelta","type":"int256"}],"name":"ClientPaymentEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientOrderEventType","type":"uint8"},{"indexed":false,"name":"orderId","type":"uint128"},{"indexed":false,"name":"maxMatches","type":"uint256"}],"name":"ClientOrderEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"eventTimestamp","type":"uint256"},{"indexed":true,"name":"orderId","type":"uint128"},{"indexed":false,"name":"marketOrderEventType","type":"uint8"},{"indexed":false,"name":"price","type":"uint16"},{"indexed":false,"name":"depthBase","type":"uint256"},{"indexed":false,"name":"tradeBase","type":"uint256"}],"name":"MarketOrderEvent","type":"event"}]
;
var BookERC20EthV1p1AbiArray =
[{"constant":true,"inputs":[{"name":"fromPrice","type":"uint16"}],"name":"walkBook","outputs":[{"name":"price","type":"uint16"},{"name":"depthBase","type":"uint256"},{"name":"orderCount","type":"uint256"},{"name":"blockNumber","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrder","outputs":[{"name":"client","type":"address"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountCntr","type":"uint256"}],"name":"withdrawCntr","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getBookInfo","outputs":[{"name":"_bookType","type":"uint8"},{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_cntrMinInitialSize","type":"uint256"},{"name":"_minPriceExponent","type":"int8"},{"name":"_feeDivisor","type":"uint256"},{"name":"_feeCollector","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"orderId","type":"uint128"}],"name":"getOrderState","outputs":[{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountBase","type":"uint256"}],"name":"transferBase","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_baseToken","type":"address"},{"name":"_rwrdToken","type":"address"},{"name":"_baseMinInitialSize","type":"uint256"},{"name":"_minPriceExponent","type":"int8"}],"name":"init","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amountRwrd","type":"uint256"}],"name":"transferRwrd","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"depositCntr","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromBase","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"}],"name":"getClientBalances","outputs":[{"name":"bookBalanceBase","type":"uint256"},{"name":"bookBalanceCntr","type":"uint256"},{"name":"bookBalanceRwrd","type":"uint256"},{"name":"approvedBalanceBase","type":"uint256"},{"name":"approvedBalanceRwrd","type":"uint256"},{"name":"ownBalanceBase","type":"uint256"},{"name":"ownBalanceRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newFeeCollector","type":"address"}],"name":"changeFeeCollector","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"transferFromRwrd","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"client","type":"address"},{"name":"maybeLastOrderIdReturned","type":"uint128"},{"name":"minClosedOrderIdCutoff","type":"uint128"}],"name":"walkClientOrders","outputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"status","type":"uint8"},{"name":"reasonCode","type":"uint8"},{"name":"executedBase","type":"uint256"},{"name":"executedCntr","type":"uint256"},{"name":"feesBaseOrCntr","type":"uint256"},{"name":"feesRwrd","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"price","type":"uint16"},{"name":"sizeBase","type":"uint256"},{"name":"terms","type":"uint8"},{"name":"maxMatches","type":"uint256"}],"name":"createOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"},{"name":"maxMatches","type":"uint256"}],"name":"continueOrder","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint128"}],"name":"cancelOrder","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientPaymentEventType","type":"uint8"},{"indexed":false,"name":"balanceType","type":"uint8"},{"indexed":false,"name":"clientBalanceDelta","type":"int256"}],"name":"ClientPaymentEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"client","type":"address"},{"indexed":false,"name":"clientOrderEventType","type":"uint8"},{"indexed":false,"name":"orderId","type":"uint128"},{"indexed":false,"name":"maxMatches","type":"uint256"}],"name":"ClientOrderEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"eventTimestamp","type":"uint256"},{"indexed":true,"name":"orderId","type":"uint128"},{"indexed":false,"name":"marketOrderEventType","type":"uint8"},{"indexed":false,"name":"price","type":"uint16"},{"indexed":false,"name":"depthBase","type":"uint256"},{"indexed":false,"name":"tradeBase","type":"uint256"}],"name":"MarketOrderEvent","type":"event"}]
;
var niceERC20TokenAbiArray =
[{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]
;
exports.networkInfo = {
"demo": {
networkId: "demo",
name: "Simulated Demo Network",
liveness: "DEMO"
},
"3": {
networkId: "3",
name: "Ropsten Test Network",
liveness: "TEST"
},
"4": {
networkId: "4",
name: "Rinkeby Test Network",
liveness: "TEST"
},
"42": {
networkId: "42",
name: "Kovan Test Network",
liveness: "TEST"
},
"1": {
networkId: "1",
name: "Main Network",
liveness: "LIVE"
}
};
// TODO - danger - the cntr and rwrd decimals settings aren't actually respected by UI yet
exports.bookInfo = {
"DEMO-ETH" : {
networkId: "demo",
bookAddress: "n/a",
bookAbiArray: [],
symbol: "DEMO-ETH",
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "DEMO",
decimals: 18,
name: "Demo Token",
address: "n/a",
abiArray: [],
minInitialSize: "0.01"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Demo Ether",
minInitialSize: "0.001"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok Reward Token",
address: "n/a",
abiArray: [],
}
},
"TESTR-ETH" : {
networkId: "3",
bookAddress: "0x297ad00cf67aa1dcfc2c952b15502fa9e1910cee",
bookAbiArray: BookERC20EthV0p9AbiArray,
symbol: "TESTR-ETH",
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "TESTR",
decimals: 18,
name: "Test Token (Ropsten)",
address: "0x678c4cf3f4a26d607d0a0032d72fdc3b1e3f71f4",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "0.01"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Test Ether (Ropsten)",
minInitialSize: "0.001"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "Test UbiTok.io Reward Token",
address: "0x5cfad634865157a5a988d743e6fcb4514e655460",
abiArray: niceERC20TokenAbiArray,
}
},
"TESTI-ETH" : {
networkId: "4",
bookAddress: "0xa4f552dab0fcb48dd8e3db45f239172592f94cd0",
bookAbiArray: BookERC20EthV0p9AbiArray,
symbol: "TESTI-ETH",
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "TESTI",
decimals: 18,
name: "Test Token (Rinkeby)",
address: "0xce3fba94168812793f7082794302a089510b8711",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "0.1"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Test Ether (Rinkeby)",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "Test Ubi Reward Token (Rinkeby)",
address: "0x76316acf8c8628c6df4730492e62a36ca00995d1",
abiArray: niceERC20TokenAbiArray,
}
},
"TEST8-ETH" : {
networkId: "4",
bookAddress: "0xfb6703a88e876c07e2dc537fb7c8886ac1055fba",
bookAbiArray: BookERC20EthV1DecAbiArray,
symbol: "TEST8-ETH",
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "TEST8",
decimals: 8,
name: "Test 8dp Token (Rinkeby)",
address: "0xb1569932d1ff362f2d6931c5775faaa9ee4c6d4f",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Test Ether (Rinkeby)",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "Test Ubi Reward Token (Rinkeby)",
address: "0x76316acf8c8628c6df4730492e62a36ca00995d1",
abiArray: niceERC20TokenAbiArray,
}
},
"OMG-ETH" : {
networkId: "1",
bookAddress: "0xf8d15960aa6Aaf5972DC54cF002951553906C7bd",
bookAbiArray: BookERC20EthV1AbiArray,
symbol: "OMG-ETH",
bookStartBlock: 4402394,
olderVersions: ["OMG-ETH.v01"],
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "OMG",
decimals: 18,
name: "OmiseGO",
address: "0xd26114cd6EE289AccF82350c8d8487fedB8A0C07",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "0.1"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"OMG-ETH.v01" : {
networkId: "1",
bookAddress: "0x8216deae8744a0286c8c53d8f237b65f661644e3",
bookAbiArray: BookERC20EthV0p99AbiArray,
symbol: "OMG-ETH.v01",
bookStartBlock: 4311371,
newerVersion: "OMG-ETH",
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "OMG",
decimals: 18,
name: "OmiseGO",
address: "0xd26114cd6EE289AccF82350c8d8487fedB8A0C07",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "0.1"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"eBTC-ETH" : {
networkId: "1",
bookAddress: "0x2cc6a8f865a71e69c9bc9931c486b6d1cbd90e15",
bookAbiArray: BookERC20EthV1DecAbiArray,
symbol: "eBTC-ETH",
bookStartBlock: 4509772,
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "eBTC",
decimals: 8,
name: "eBTC",
address: "0xeB7C20027172E5d143fB030d50f91Cece2D1485D",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0",
notes: "This is the new eBTC token following the token swap on 2017-10-30."
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"SALT-ETH" : {
networkId: "1",
bookAddress: "0x2d492254d5bef8db7555ce3defe0cbf9efedd5fb",
bookAbiArray: BookERC20EthV1DecAbiArray,
symbol: "SALT-ETH",
bookStartBlock: 4509772,
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "SALT",
decimals: 8,
name: "SALT",
address: "0x4156D3342D5c385a87D264F90653733592000581",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"STORJ-ETH" : {
networkId: "1",
bookAddress: "0x2fa277f06d5caee292e870986cdc8a06499a632c",
bookAbiArray: BookERC20EthV1DecAbiArray,
symbol: "STORJ-ETH",
bookStartBlock: 4509772,
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "STORJ",
decimals: 8,
name: "Storj",
address: "0xb64ef51c888972c908cfacf59b47c1afbc0ab8ac",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"BOLD-ETH" : {
networkId: "1",
bookAddress: "0x182f2b554462230735699df74ec9606a3c4c0684",
bookAbiArray: BookERC20EthV1DecAbiArray,
symbol: "BOLD-ETH",
bookStartBlock: 4537651,
priceRangeAdjustment: 0,
base: {
tradableType: "ERC20",
symbol: "BOLD",
decimals: 8,
name: "Bold",
address: "0x7cdEC53Fe4770729dac314756c10E2F37b8d2B2f",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "0.1"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"ELTCOIN-ETH" : {
networkId: "1",
bookAddress: "0x376635273257102472b7d8822f656f304fda1c29",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "ELTCOIN-ETH",
bookStartBlock: 4537651,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "ELTCOIN",
decimals: 8,
name: "ELTCOIN",
address: "0x44197A4c44D6A059297cAf6be4F7e172BD56Caaf",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "100.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"WOCO-ETH" : {
networkId: "1",
bookAddress: "0x05bfc9ef2836f0f883da06bace39ae8e2fbf998b",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "WOCO-ETH",
bookStartBlock: 4553895,
priceRangeAdjustment: -2,
base: {
tradableType: "ERC20",
symbol: "WOCO",
decimals: 18,
name: "Women Coin",
address: "0x86230462ce9048B24C8aAAABD74Ac02088a956Ea",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"GEN-ETH" : {
networkId: "1",
bookAddress: "0x5d8613dec639810a4aa6ca5beaba33aea0ab806f",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "GEN-ETH",
bookStartBlock: 4559886,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "GEN",
decimals: 18,
name: "Genesis",
address: "0x9dfe4643c04078a46803edcc30a3291b76d4c20c",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "10.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"ETHFM-ETH" : {
networkId: "1",
bookAddress: "0x557d4876870952d5779645818d3529551fdd24be",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "ETHFM-ETH",
bookStartBlock: 4584605,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "ETHFM",
decimals: 18,
name: "Ethereum Fundme",
address: "0x84ce2FcED3fFEd8C3A3e305d6cCf6f542a7cA006",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "10.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
},
"TDM-ETH" : {
networkId: "1",
bookAddress: "INVALID",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "ETHFM-ETH",
bookStartBlock: 4584605,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "TDM",
decimals: 8,
name: "Token of Digital Money",
address: "0x7b6e57D2139dD5F38012cd641CEBB8AFf0d8953a",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "10.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
}
},
"EXMR-ETH": {
networkId: "1",
bookAddress: "0x0783e1ab0f36512ca4b1c883a98cbea98566946d",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "EXMR-ETH",
bookStartBlock: 4584605,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "EXMR",
decimals: 8,
name: "EXMR",
address: "0xc98e0639c6d2ec037a615341c369666b110e80e5",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "10.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"TDM-ETH": {
networkId: "1",
bookAddress: "0xa4a7caf1c04a9e3d4edd61f24e42c95b4527c819",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "TDM-ETH",
bookStartBlock: 4603032,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "TDM",
decimals: 8,
name: "Token of Digital Money",
address: "0x7b6e57D2139dD5F38012cd641CEBB8AFf0d8953a",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"EBCH-ETH": {
networkId: "1",
bookAddress: "0xf05a3e4e864689eb20f0e27454b76da02589f638",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "EBCH-ETH",
bookStartBlock: 4584605,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "EBCH",
decimals: 8,
name: "eBitcoinCash",
address: "0xafc39788c51f0c1ff7b55317f3e70299e521fff6",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"RBTC-ETH": {
networkId: "1",
bookAddress: "0x617690b272b48627169cb02a71f462c1dc78dd9b",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "RBTC-ETH",
bookStartBlock: 4584605,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "RBTC",
decimals: 0,
name: "Bitcoin Revolution",
address: "0xf6f61f70ae1c4559459899300b17d2b2c77d39b5",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "100"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"YOLO-ETH": {
networkId: "1",
bookAddress: "0x300f516cda4475660ed27bf87bb49b95da8ba0e0",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "YOLO-ETH",
bookStartBlock: 4624380,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "YOLO",
decimals: 0,
name: "YOLOCOIN",
address: "0x07C5b1E4391fCdFC6c12548448aeEe30A3793079",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"FUDD-ETH": {
networkId: "1",
bookAddress: "0xc36b7ce1BFA6981A56fF72a63D32bc4371921a69",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "FUDD-ETH",
bookStartBlock: 4624380,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "FUDD",
decimals: 8,
name: "DimonCoin",
address: "0xde39e5e5a1b0eeb3afe717d6d011cae88d19451e",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"SSN-ETH": {
networkId: "1",
bookAddress: "0xb91c30cad0ef0aad42044aa3b6fbf1b2e3ddf903",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "SSN-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "SSN",
decimals: 8,
name: "SSENTE",
address: "0x6b14C373C24556165002A00Cba4174FD96FE28f0",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"GOAL-ETH": {
networkId: "1",
bookAddress: "0xFd5cD7acA07A154BA10f5B7705954551de0e0e11",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "GOAL-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
warning: "ICO on-going (token supply may change), not for sale to citizens of USA, Singapore, and China.",
base: {
tradableType: "ERC20",
symbol: "GOAL",
decimals: 18,
name: "GOAL Bonanza",
address: "0x7b69b78cc7fee48202c208609ae6d1f78ce42e13",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"PBIT-ETH": {
networkId: "1",
bookAddress: "0x296f01867605470510B8E373FB6d68bBD77Ec7F3",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "PBIT-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "PBIT",
decimals: 8,
name: "PeraBit",
address: "0xb395bb199f4b31232274a2889b266a37ea64b1a3",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"AXYS-ETH": {
networkId: "1",
bookAddress: "0x19f5811582bbFFAf06964d19766aa810AB1B1AA7",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "AXYS-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "AXYS",
decimals: 8,
name: "Axys",
address: "0xD4Deb869dF652A8756B6417aaf9Cb1f57b12A7f1",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"HYTV-ETH": {
networkId: "1",
bookAddress: "0x32bd7caA4e1fDB3e5d47Cf650E710cE26BD7Ee62",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "HYTV-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
warning: "HyperTV token contract allows further minting of tokens",
base: {
tradableType: "ERC20",
symbol: "HYTV",
decimals: 3,
name: "HyperTV",
address: "0x7259fdDCA8d5F0184B3b12AA7e8401964B703a4F",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"BTCL-ETH": {
networkId: "1",
bookAddress: "0xE4d155EA6107fAd9d20bc8aE0dEDf7638F073f66",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "BTCL-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
base: {
tradableType: "ERC20",
symbol: "BTCL",
decimals: 8,
name: "BTC LITE",
address: "0x5acD19b9c91e596b1f062f18e3D02da7eD8D1e50",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
},
"EAGLE-ETH": {
networkId: "1",
bookAddress: "0xdbafeb80598f6a7d382b2c456c3dade857f426de",
bookAbiArray: BookERC20EthV1p1AbiArray,
symbol: "EAGLE-ETH",
bookStartBlock: 4663593,
priceRangeAdjustment: -3,
warning: "this token contract (EAGLE) may allow new tokens to be created",
base: {
tradableType: "ERC20",
symbol: "EAGLE",
decimals: 18,
name: "EagleCoin",
address: "0x994f0dffdbae0bbf09b652d6f11a493fd33f42b9",
abiArray: niceERC20TokenAbiArray,
minInitialSize: "1.0"
},
cntr: {
tradableType: "Ether",
symbol: "ETH",
decimals: 18,
name: "Ether",
minInitialSize: "0.01"
},
rwrd: {
tradableType: "ERC20",
symbol: "UBI",
decimals: 18,
name: "UbiTok.io Reward Token",
address: "0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305",
abiArray: niceERC20TokenAbiArray,
}
}
};