forked from DeltaBalances/DeltaBalances.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigBundle.js
More file actions
708 lines (685 loc) · 160 KB
/
configBundle.js
File metadata and controls
708 lines (685 loc) · 160 KB
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
require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({"/config.js":[function(require,module,exports){
module.exports = {
homeURL: 'https://deltabalances.github.io',
socketURL: 'https://api.forkdelta.com', //'https://socket.etherdelta.com';
DeltaBalanceAddr: '0x40a38911e470fc088beeb1a9480c2d69c847bcec',
exchangeContracts: {
// supportedDex toggles whether recent.js sees them as Exchanges
EtherDelta: { addr: '0x8d12a197cb00d4747a1fe03395095ce2a5cc6819', name: 'EtherDelta ', supportedDex: true },
EtherDelta2: { addr: '0x373c55c277b866a69dc047cad488154ab9759466', name: 'EtherDelta-OLD ', supportedDex: true },
EtherDelta3: { addr: '0x4aea7cf559f67cedcad07e12ae6bc00f07e8cf65', name: 'EtherDelta-OLD ', supportedDex: true },
EtherDelta4: { addr: '0x2136bbba2edca21afdddee838fff19ea70d10f03', name: 'EtherDelta-OLD ', supportedDex: true },
EtherDelta5: { addr: '0xc6b330df38d6ef288c953f1f2835723531073ce2', name: 'EtherDelta-OLD ', supportedDex: true },
TokenStore: { addr: '0x1ce7ae555139c5ef5a57cc8d814a867ee6ee33d8', name: 'Token Store ', supportedDex: true },
Idex: { addr: '0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208', name: 'IDEX ', supportedDex: true },
Decentrex: { addr: '0xbf29685856fae1e228878dfb35b280c0adcc3b05', name: 'Decentrex ', supportedDex: true },
'0x': { addr: '0x12459c951127e0c374ff9105dda097662a027093', name: '0x Exchange ', supportedDex: true },
'0xProxy': { addr: '0x8da0d80f5007ef1e431dd2127178d224e32c2ef4', name: '0x Proxy ', supportedDex: true },
'0x2': { addr: '0x4f833a24e1f95d70f028921e27040ca56e09ab0b', name: '0x Exchange2 ', supportedDex: true },
'0xProxy2': { addr: '0x2240dab907db71e64d3e0dba4800c83b5c502d4e', name: '0x ERC20 Proxy ', supportedDex: true },
// ethfinex uses 0x clone?
'Ethfinex': { addr: '0xdcdb42c9a256690bd153a7b409751adfc8dd5851', name: 'Ethfinex ', supportedDex:true },
'EthfinexProxy': {addr: '0x7e03d2b8edc3585ecd8a5807661fff0830a0b603', name: 'Ethfinex Proxy ', supportedDex:true },
'0xForwarder': { addr: '0x7afc2d5107af94c462a194d2c21b5bdd238709d6', name: '0x Forwarder ', supportedDex: false },
OasisDex: { addr: '0x14fbca95be7e99c15cc2996c6c9d841e54b79425', name: 'OasisDex ', supportedDex: true },
OasisDexOld: { addr: '0x3aa927a97594c3ab7d7bf0d47c71c3877d1de4a1', name: 'OasisDex (OLD) ', supportedDex: true },
OasisDexOld2: { addr: '0x83ce340889c15a3b4d38cfcd1fc93e5d8497691f', name: 'OasisDex (OLD2) ', supporteDex: true },
OasisDexOld3: { addr: '0xa1b5eedc73a978d181d1ea322ba20f0474bb2a25', name: 'OasisDex (OLD3) ', supportedDex: false },
//Oasisdirect proxy creator
OasisDirect: { addr: '0x793ebbe21607e4f04788f89c7a9b97320773ec59', name: 'OasisDirect ', supportedDex: true },
//0x279594b6843014376a422ebb26a6eab7a30e36f0
AirSwap: { addr: '0x8fd3121013a07c57f0d69646e86e7a4880b467b7', name: 'AirSwap ', supportedDex: true },
Kyber: { addr: '0x964f35fae36d75b1e72770e244f6595b68508cf5', name: 'Kyber Network ', supportedDex: true }, // contract disabled?
KyberTest: { addr: '0xd2d21fdef0d054d2864ce328cc56d1238d6b239e', name: 'Kyber Test ', supportedDex: true },
Kyber2: { addr: '0x91a502c678605fbce581eae053319747482276b9', name: 'Kyber Network ', supportedDex: true }, // Kyber v2?
Kyber2Proxy: { addr: '0x818e6fecd516ecc3849daf6845e3ec868087b755', name: 'Kyber Network ', supportedDex: true }, // kyber2 moved events to proxy?
Kyber2_2: { addr: '0x706abce058db29eb36578c463cf295f180a1fe9c', name: 'Kyber Network ', supportedDex: true },
Kyber2_2Proxy: { addr: '0xc14f34233071543e979f6a79aa272b0ab1b4947d', name: 'Kyber Network ', supportedDex: true },
Kyber2_3: { addr: '0x44f854ea73eec7a10c9ff0e003d1ec076ac18197', name: 'Kyber Network ', supportedDex: true },
Kyber2_3Proxy: { addr: '0x3257073d3b80bae378db8dea32519938910d05cc', name: 'Kyber Network ', supportedDex: true },
Kyber2_4: { addr: '0xaa9fb0f5b12752af97afa9ffdad9a15902645dbf', name: 'Kyber Network ', supportedDex: true },
Kyber2_4Proxy: { addr: '0xd76d2888828aea74247c41157020dad54865e730', name: 'Kyber Network ', supportedDex: true },
BancorQuick: { addr: '0xcf1cc6ed5b653def7417e3fa93992c3ffe49139b', name: 'Bancor ', supportedDex: false },
BancorQuick2: { addr: '0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b1', name: 'Bancor ', supportedDex: false },
// network is quick v3?
BancorNetwork: { addr: '0xf20b9e713a33f61fa38792d2afaf1cd30339126a', name: 'Bancor ', supportedDex: false },
// bancor quick3? 0x111913ca1c1a8d4e3283213ba115bf6dcde07d6f
Enclaves: { addr: '0xbf45f4280cfbe7c2d2515a7d984b8c71c15e82b7', name: 'EnclavesDex ', supportedDex: true },
Enclaves2: { addr: '0xed06d46ffb309128c4458a270c99c824dc127f5d', name: 'EnclavesDex ', supportedDex: false },
Ethen: { addr: '0xf4c27b8b002389864ac214cb13bfeef4cc5c4e8d', name: 'ETHEN ', supportedDex: true },
Ethex: { addr: '0xb746aed479f18287dc8fc202fe06f25f1a0a60ae', name: 'ETHEX ', supportedDex: true },
Singularx: { addr: '0x9a2d163ab40f88c625fd475e807bbc3556566f80', name: 'SingularX ', supportedDex: true },
EtherC: { addr: '0xd8d48e52f39ab2d169c8b562c53589e6c71ac4d3', name: 'EtherC ', supportedDex: true },
//bithumb R1 protocol?
R1: { addr: '0x7b45a572ea991887a01fd919c05edf1cac79c311', name: 'R1 Protocol', supportedDex: false },
Martle: { addr: '0x551d56781e0cd16ac2c61a03e6537844a41c7709', name: 'Martle instant', supportedDex: false},
/* exchange aggregators */
EasyTrade: { addr: '0x9ae4ed3bf7a3a529afbc126b4541c0d636d455f6', name: 'EasyTrade ', supportedDex: true },
EasyTrade2: { addr: '0x0c577fbf29f8797d9d29a33de59001b872a1d4dc', name: 'EasyTrade ', supportedDex: true },
//tokenstore instant
InstantTrade: { addr: '0xe17dbb844ba602e189889d941d1297184ce63664', name: 'TS InstantTrade ', supportedDex: true },
/* small exchanges, no input/event parsing yet */
Dexy: { addr: '0x54b0de285c15d27b0daa687bcbf40cea68b2807f', name: 'Dexy ', supportedDex: false },
Dexy2: { addr: '0x9d160e257f1dff52ec81d5a4e7326dd82e144177', name: 'Dexy ', supportedDex: false },
Dubiex: { addr: '0x7c21d723af0f4594d4f8821aa16bc27c8ea6cec7', name: 'DUBIex ', supportedDex: false },
Radex: { addr: '0x9462eeb9124c99731cc7617348b3937a8f00b11f', name: 'Radex ', supportedDex: false },
Joyso: { addr: '0x04f062809b244e37e7fdc21d9409469c989c2342', name: 'Joyso ', supportedDex: false },
DexTop: { addr: '0x7600977eb9effa627d6bd0da2e5be35e11566341', name: 'DEx.top ', supportedDex: false },
BitEye: { addr: '0x39fbd1140cd1fc298f00c3ea64b3591de94c67e7', name: 'BitEye ', supportedDex: false },
AXNET: { addr: '0xacf999bfa9347e8ebe6816ed30bf44b127233177', name: 'AXNET ', supportedDex: false },
/* exchange aggregators (no input parsing yet) */
Totle: { addr: '0xd94c60e2793ad587400d86e4d6fd9c874f0f79ef', name: 'Totle ', supportedDex: true },
Totle2: { addr: '0x98db9047e80260b407ffbc67543f9a010ef0fc6a', name: 'Totle-OLD ', supportedDex: true },
/* small ED/FD clones, not in history pages yet, input/events should parse */
Bitox: { addr: '0xb5adb233f28c86cef693451b67e1f2d41da97d21', name: 'BITOX ', supportedDex: true },
Coinchange: { addr: '0x2f23228b905ceb4734eb42d9b42805296667c93b', name: 'Coinchangex ', supportedDex: true },
EtherNext: { addr: '0x499197314f9903a1ba9bed7ee54cd9eee5900e49', name: 'Ethernext ', supportedDex: true },
Swisscrypto: { addr: '0xbeeb655808e3bdb83b6998f09dfe1e0f2c66a9be', name: 'SwissCrypto ', supportedDex: true },
Ethmall: { addr: '0x2b44d68555899dbc1ab0892e7330476183dbc932', name: 'Ethmall ', supportedDex: true },
Ethernity: { addr: '0x18f0cd26c06449d967ca6aef8b5f9d8ee9fd7992', name: 'Ethernity ', supportedDex: true },
ExToke: { addr: '0x97c9e0eccc27efef7330e89a8c9414623ba2ee0f', name: 'ExToke ', supportedDex: true },
AZExchange: { addr: '0xba74368aa52ad58d08309f1f549aa63bab0c7e2a', name: 'AZExchange ', supportedDex: true },
EtherERC: { addr: '0x20ac542ea6b358066f2308c9805531be62747e90', name: 'EtherERC ', supportedDex: true },
Polaris: { addr: '0x25066b77ae6174d372a9fe2b1d7886a2be150e9b', name: 'PolarisDEX ', supportedDex: true },
/* unknown ED clones */
// fake ED? 0x60394f71266901a5930bb4e90db5dd26b77f8dad
// MarketPLace (ED clone) 0x2f13fa06c0efd2a5c4cf2175a0467084672e648b
// bloxxor (ED clone) 0xb92c5f4f3a13bb14467fe0c25a4c569aa20e1df8
// 0xd307c5686441fe6677e9251d1c1c469e0785e331
// 0xa0e8bf2b304a9761cbbf82369182f748cbeae6b5
// 0x4d55f76ce2dbbae7b48661bef9bd144ce0c9091b
// 0xc86366cb075426223bca74059ae9dd3d68b5210a
// fake 0x? 0x5fb2f392772a6cb5ac423ceb587b62898c06c8cf
},
//token attributes for exchanges that makes tokens show up as listed
listedExchanges: ['EtherDelta', 'ForkDelta', 'IDEX', 'DDEX', 'Binance', 'Radar', 'Kyber'],
//https://github.com/0xProject/0x-relayer-registry/blob/master/relayers.json
zrxRelayers: {
'0xa258b39954cef5cb142fd567a46cddb31a670124': "RadarRelay",
'0xeb71bad396acaa128aeadbc7dbd59ca32263de01': "IDT",
'0xe269e891a2ec8585a378882ffa531141205e92e9': 'DDEX',
'0x0000000000000000000000000000000000000000': 'Paradex',
'0x6f7ae872e995f98fcd2a7d3ba17b7ddfb884305f': 'Tokenlon',
'0x55890b06f0877a01bb5349d93b202961f8e27a9b': 'Shark Relay',
'0x5e150a33ffa97a8d22f59c77ae5487b089ef62e9': 'TokenJar',
'0x5dd835a893734b8d556eccf87800b76dda5aedc5': 'BambooRelay',
'0xc22d5b2951db72b44cfb8089bb8cd374a3c354ea': 'OpenRelay',
'0x4524baa98f9a3b9dec57caae7633936ef96bd708': 'LedgerDex',
'0x7219612be7036d1bfa933e16ca1246008f38c5fe': 'The Ocean',
'0x0e8ba001a821f3ce0734763d008c9d7c957f5852': 'Amadeus',
'0x8124071f810d533ff63de61d0c98db99eeb99d64': 'STAR BIT',
'0x0681e844593a051e2882ec897ecd5444efe19ff2': 'STAR BIT',
"0x58a5959a6c528c5d5e03f7b9e5102350e24005f1": 'Erc Dex',
"0xa71deef328b2c40d0e6525cd248ae749e9208dbb": 'Erc Dex',
"0x5bf2c11b0aa0c752c6de6fed48dd56fed2a4286d": 'Erc Dex',
"0x1dd43bbe2264234bccfbb88aadbde331d87719ee": 'Erc Dex',
"0x3b4ce2ea700ff327c3b4fe624f328c4106fd2885": 'Erc Dex',
"0x3fa5f23d42847e49d242496ffe2a3c8fda66706c": 'Erc Dex',
"0x173a2467cece1f752eb8416e337d0f0b58cad795": 'Erc Dex',
'0x173a2467cece1f752eb8416e337d0f0b58cad795': 'Erc Dex',
'0x61b9898c9b60a159fc91ae8026563cd226b7a0c1': 'Ethfinex', //0x clone contract
},
admins: {
'0xceceaa8edc0830c7cec497e33bb3a3c28dd55a32': 'IDEX Admin',
'0xa7a7899d944fe658c4b0a1803bab2f490bd3849e': 'IDEX Admin',
// '0xe269e891a2ec8585a378882ffa531141205e92e9': 'DDEX Admin',
'0x4969358e80cdc3d74477d7447bffa3b2e2acbe92': 'Paradex Admin',
'0xd2045edc40199019e221d71c0913343f7908d0d5': 'Paradex Admin',
'0xd3d0474124c1013ed6bfcfd9a49cfedb8c78fc44': 'Erc Dex Admin',
'0x61b9898c9b60a159fc91ae8026563cd226b7a0c1': 'Ethfinex Admin',
},
wrappedETH: {
"0x0000000000000000000000000000000000000000": 1, // EtherDelta, IDEX, tokenStore, Decentrex reserved for ETH
"0xe495bcacaf29a0eb00fb67b86e9cd2a994dd55d8": 1, // 0x style ?, deprecated
"0x2956356cd2a2bf3202f771f50d3d14a367b48070": 1, // 0x WETH v1 (deprecated)
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": 1, // 0x WETH v2 (active)
"0xecf8f87f810ecf450940c9f60066b4a7a501d6a7": 1, // WETH MKR
"0xc0829421c1d260bd3cb3e0f06cfe2d52db2ce315": 1, // Bancor ether token
"0xaa7427d8f17d87a28f5e1ba3adbb270badbe1011":1, // ethfinex ETHW
},
exchangeWallets: {
'0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be': 'Binance',
'0xd551234ae421e3bcba99a0da6d736074f22192ff': 'Binance',
'0x564286362092d8e7936f0549571a803b203aaced': 'Binance',
'0x0681d8db095565fe8a346fa0277bffde9c0edbbf': 'Binance',
'0x00799bbc833d5b168f0410312d2a8fd9e0e3079c': 'Binance',
'0x2910543af39aba0cd09dbb2d50200b3e800a63d2': 'Kraken',
'0x0a869d79a7052c7f1b55a8ebabbea3420f0d1e13': 'Kraken',
'0xe853c56864a2ebe4576a807d26fdc4a0ada51919': 'Kraken',
'0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0': 'Kraken',
'0x70faa28a6b8d6829a4b1e649d26ec9a2a39ba413': 'ShapeShift',
'0x120a270bbc009644e35f0bb6ab13f95b8199c4ad': 'ShapeShift',
'0x9e6316f44baeeee5d41a1070516cc5fa47baf227': 'ShapeShift',
'0xd3273eba07248020bf98a8b560ec1576a612102f': 'ShapeShift',
'0x3b0bc51ab9de1e5b7b6e34e5b960285805c41736': 'ShapeShift',
'0x563b377a956c80d77a7c613a9343699ad6123911': 'ShapeShift',
'0xeed16856d551569d134530ee3967ec79995e2051': 'ShapeShift',
'0x1151314c646ce4e0efd76d1af4760ae66a9fe30f': 'Bitfinex',
'0x7727e5113d1d161373623e5f49fd568b4f543a9e': 'Bitfinex',
'0x4fdd5eb2fb260149a3903859043e962ab89d8ed4': 'Bitfinex',
'0x876eabf441b2ee5b5b0554fd502a8e0600950cfa': 'Bitfinex',
'0x7180eb39a6264938fdb3effd7341c4727c382153': 'Bitfinex',
'0xcafb10ee663f465f9d10588ac44ed20ed608c11e': 'Bitfinex',
'0x32be343b94f860124dc4fee278fdcbd38c102d88': 'Poloniex',
'0xb794f5ea0ba39494ce839613fffba74279579268': 'Poloniex',
'0xab11204cfeaccffa63c2d23aef2ea9accdb0a0d5': 'Poloniex',
'0x209c4784ab1e8183cf58ca33cb740efbf3fc18ef': 'Poloniex',
'0x5e575279bf9f4acf0a130c186861454247394c06': 'Liqui',
'0x8271b2e8cbe29396e9563229030c89679b9470db': 'Liqui',
'0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98': 'Bittrex',
'0xe94b04a0fed112f3664e45adb2b8915693dd5ff3': 'Bittrex',
'0x59a5208b32e627891c389ebafc644145224006e8': 'HitBTC',
'0x9c67e141c0472115aa1b98bd0088418be68fd249': 'HitBTC',
'0xd24400ae8bfebb18ca49be86258a3c749cf46853': 'Gemini',
'0x0d0707963952f2fba59dd06f2b425ace40b492fe': 'Gate.io',
'0x390de26d772d2e2005c6d1d24afc902bae37a4bb': 'Upbit',
'0xf73c3c65bde10bf26c2e1763104e609a41702efe': 'Bibox',
'0xf5bec430576ff1b82e44ddb5a1c93f6f9d0884f3': 'Yobit',
'0x2b5634c42055806a59e9107ed44d43c426e58258': 'KuCoin',
'0x9539e0b14021a43cde41d9d45dc34969be9c7cb0': 'CoinBene',
'0x027beefcbad782faf69fad12dee97ed894c68549': 'QuadrigaCX',
'0xb6aac3b56ff818496b747ea57fcbe42a9aae6218': 'QuadrigaCX',
//'0x0286f920f893513c7ec9fe35ba0a4760229a243e': 'SingularFund',
'0x09678741bd50c3e74301f38fbd0136307099ae5d': 'Local Ethereum',
'0x867ffb5a3871b500f65bdfafe0136f9667deae06': 'Local Ethereum',
// Maker DAI cdp system, mark as exchange for now
'0x448a5065aebb8e423f0896e6c5d525c040f59af3': 'Maker CDP',
'0xbda109309f9fafa6dd6a9cb9f1df4085b27ee8ef': 'Maker CDP',
'0x9b0f70df76165442ca6092939132bbaea77f2d7a': 'Maker CDP',
'0x9b0ccf7c8994e19f39b2b4cf708e0a7df65fa8a3': 'Maker CDP'
},
bancorConverters: [ //some of the many bancor converter contracts, address not always necessary to find trades, but makes things easier
'0xf20b9e713a33f61fa38792d2afaf1cd30339126a',
'0x3839416bd0095d97be9b354cbfb0f6807d4d609e',
'0x2b9eab2098e4a363a114aa6934f5c3cdea8149a3',
'0xc02d4bd00f642d2821e4279c810dd7b6e49264f8',
'0xe9800c0b73a71be61d49a61fa3b2320ee524fb3d',
'0x238b7e54dfee4d8e98b8d1a78ab40dd94349bcfd',
'0xaf6a5b0998ff41355f3b4fe1ab96d89bd2c487d3',
'0x2d56d1904bb750675c0a55ca7339f971f48d9dda',
'0x587044b74004e3d5ef2d453b7f8d198d9e4cb558',
'0x8c2036ce61648fcddffb06d6d11fe0b479ed63fe',
'0x967f1c667fc490ddd2fb941e3a461223c03d40e9',
'0x4a5cb62e27120a5a2b113198a69a2b12069ad146',
'0x58b249b613ce917b6ccc2f66787856ef39f4f0b6',
'0x07cff9c779702a57a4da4b15ef9a0af58e9472d3',
'0xb19710f3bdb4df4c781b9dc3cd62979921878280',
'0x8606704880234178125b2d44cbbe190ccdbde015',
'0xbb9859dca5b269e787e9dd6042db46b07515fc4b',
'0x46ffcdc6d8e6ed69f124d944bbfe0ac74f8fcf7f',
'0x2dad2c84f6c3957ef4b83a5df6f1339dfd9e6080',
'0x1f4baef92123335fbb6db8781cc28d2cf4a85800',
'0xedcc9346d266c78364f21b1aca88641be7ca73e1',
'0x71168843b49e305e4d53de158683903ef261b37f',
'0x7172c5b24bdce3b93a78c53ef1ece011b0472c1b',
'0xde6a1e3702c31ae9e13ec316fce463278c8962d3',
'0x02b5e0c10862c8d24585c00282bde99d09831a6c',
'0x0c41f4e6339e9c8635062f39d976789dbd832b09',
'0xf4327c919854cb099ac574a22f5fba901e2025c4',
'0x83e240d1cbc6ec7f394cd6ba5ed01b7fcdf44ed5',
'0xdd9b82c59aa260b2a834ec67c472f43b40a2e6f1',
'0x645a3f2fa86be27a4d9a3cc93a73f27b33df766f',
'0xf3ed5b15618494ddbd0a57b3bca8b2686ac0bc04',
'0x94c654fef85b8b0a982909a6ca45b66bb2384236',
'0x58c46d06cfdcf9ca2cb590d7b79b12ffa8adce04',
'0xa0db892affca7ec5ba3cea5d03fc0bc53db34036',
'0xfa968bc2e4768d431ffec4ee64307f8152e1c9f1',
'0xec532c82ad94b196b908e6ef86c9ac69811dfd56',
'0x8fd5bfbc2f61a450400ae275e64d1e171c05b639',
'0xc18166e01970be040d8c7761cdd1c3372ae1edf0',
'0xe88d6d63389d5c91e6348e379913f330739ad2c4',
'0xd0c1bdb51514f144f11169140d408c26bd89f9e5',
'0x2769eb86e3acdda921c4f36cfe6cad035d95d31b',
'0x8658863984d116d4b3a0a5af45979eceac8a62f1',
'0x7bac8115f3789f4d7a3bfe241eb1bcb4d7f71665',
'0xaa8cec9cbd7d051ba86d9deff1ec0775bd4b13c5',
'0x751b934e7496e437503d74d0679a45e49c0b7071',
'0xd3a3bace3d61f6f5d16a9b415d51813cd2ea3887',
'0xba2be1cd1f00470c21385b7cbed6211aefac0172',
'0x66906318f947e519da5e6a0f8c88ddd1610d3621',
'0x11614c5f1eb215ecffe657da56d3dd12df395dc8',
'0x2ac0e433c3c9ad816db79852d6f933b0b117aefe',
'0x9c3a65ef4dae8655d7725ada3dd7711cfcc19ef5',
'0xc31db08240a11df6a4c159ff4e6d69f484fc3828',
'0x599485dc0f3d8b308b973b2db5cd44bae46d31c4',
'0x4b19e0bd92ac4e3d4ac69bc9f90c8602fe2bf306',
'0x6b431a7a99780819473722161ee9145e5649c5e2',
'0xd64ac0a8f157df9762f8fae9e650a0f99b039629',
'0x287565333c9cafd57ad7241ccb1d29de976bb5f8',
'0x8fff721412503c85cffef6982f2b39339481bca9',
'0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf',
'0x9a3487c0d300c4d3a7b3ff38d7a18c53c66f1c49',
'0xcde79f10b689a716029d0edb54de78b1bbc14957',
'0x1c35e1157f85527569134d84af72a96f2fb8fd3a',
'0x72844ab8b5f59c0251bcce6ef5f2be92d7528c1a',
'0x3b42239a8bc2f07bb16b17578fe44ff2422c16f6',
'0xc7151af2e9d1a702a61fcb655e2334bfee5b5faf',
'0x315b9696cd3c83bb3e082f5c7f612cd2126f90d1',
'0x99f357f722ec3e456af0eb530c1c14a3251305ad',
'0xbe1daf05bf9e054b3e28b7e9c318819ef5dacb58',
'0x32d4fb837f41955b81556f74dadb2c5b8a0d0989',
'0x7e4b0abad3407b87a381c1c05af78d7ad42975e7',
'0xdf76e7e26f6ee937f09a3f17f1d7047c0f928e12',
'0x37c88474b5d6c593bbd2e4ce16635c08f8215b1e',
'0xbf7f4e20473ed510cd7cdd0c1a5036a2791ff1bc',
'0x20d23c7a4b2ea38f9dc885bd25b1bc8c2601d44d',
'0x079cf5c7b29067708bf653fbb93d7f619d9287a9',
'0x69e37aba9b520a204bb0baebd76b0ac1a2390b37',
'0x25d4aef414ea092fbcbd83fd30e89e15cf820d0a',
'0x4f88dfc8e1d7ba696db158656457797cfbdfb844',
'0xc6aacdf2cb021515009098025a0ece472608918e',
'0xc04b5a4556d00bca8eac5f5acca31981a6597409',
'0x6411a822850dcfe2fae215248e47de77b1738bea',
'0x7322e84e522407d026ccb86f688281222cbc8874',
'0xa8ace92ea2d9174f75208ee44495f459e0491a96',
'0x952eb7dc904f6f8b6b0bc6c5c99d45143e743cd7',
'0xfe75413e059eecf6eb2b92f06456276e8596862b',
'0x4f138e1ceec7b33dfa4f3051594ec016a08c7513',
'0x2c2d1113dd9f40fad1b04cf23af9da84c37efcf3',
'0x635c9c9940d512bf5cb455706a28f9c7174d307f',
'0xdb9272880400e0ae8e522994f6a959122d94c7b7',
'0x9f547e89078b24d0e2269ba08eb411102e98ca14',
'0xd7169672b25271d379cc2c022dfe0ceebb3f006f',
'0x5ae1217f932fe1acdc8a34229044444920a13db8',
'0x0fec04a7526f601a1019edcd5d5b003101c46a0c',
'0x7dfebdd6902f3df5a0f247d18f7895116f640bd1',
'0x60dfa58865b9cce905cf570d6e2bfa7899ce0b2b',
'0x8e7fc617e87b39bd5fe1767a95afa53d2c79f147',
'0x2f3cdf19a7ed0352f96440dac92a6d2959719c07',
'0x73f73391e5f56ce371a61fc3e18200a73d44cf6f',
'0x8bb76c5ae6b7d6bd1678510edd06444acdf8f72b',
'0xcbc7e6dccfaaf6ed2e8346ceda633f77247eb84c',
'0x8b30e174bddb3c0376e666afb8a4196e2f53182d',
'0xb5a5a031d8b8577871384be6055b2ea29fac064c',
'0xc9788f6fe9c5808a106f10cb6844618cbeddd1c0',
'0x39a23012c065e0a93a6e268717c8b0f25f0430e9',
'0x810c99c5de0a673e4bc86090f9bfe96a6d1b49a7',
'0x8b56ef96c1cc67dac0a57ccea197a2ef1568ad33',
'0x91ba23a1dcc91ce023660c98434ba611addaa173',
'0xc11cce040583640001f5a7e945dfd82f662cc0ae',
'0xce1e2b5ffe4d441abafd136768f24867101dfa50',
'0x0960465fe4bb1c2fd822235e7ca826d648c3fb34',
'0x13ddae7f499474791d78902b4fa8c32a418ba3ad',
'0x2ce573c05c9b8f6ef1a476cc40250972f1f3d63c',
'0x3167cc146d228c6977dcbada380df926b39865b1',
'0xe27cf7324e6377bddc48db6bac642839ffa9bb36',
'0x3b0116363e435d9e4ef24eca6282a21b7cc662df',
'0x3f7ba8b8f663fddb47568cca30eac7aed3d2f1a3',
'0xb018af916ed0116404537d1238b18988d652733a',
'0xff8d1014da6382f4c07461fbd5f3bed733b229f1',
'0xdbd2291c8719003717fcab6c7888f1e8c392b85b',
'0x73314db8f62312e6a1fb365c3a98599119a91c74',
'0xe0569fd1c3f0affd7e08131a16c06f3381c9355a',
'0xf346a9884bf8f858848268fb9d8ab31dae4b323f',
'0xb85e52268cbf57b97ae15136aa65d4f567b8107c',
'0xe53730216bafc67e12d371047fa9f18fa4cfd93c',
'0x5039d9b575bd5722d310af6d2fc11e053c6d03da',
'0xc85e1c39a08a8bc385644f16f068156a329e7867',
'0x5142127a6703f5fc80bf11b7b57ff68998f218e4',
'0xf0521bc69f0e6e21e03cf0f15efe28af0cc3acce',
'0x34e4e501dfa903c7c1c7b7f82a56b870838b5274',
'0xa7a402266ceea0652ea8eafd919d619d16bee134',
'0xfd9e980adb3d1f9e9ff515aff99e454ad839bdfa',
'0x4ccd6c8da3e35f60c3328388d46f64f1be49b41f',
'0x9a914cee02c69e37e4ca51c46967e4ffacb95cc5',
'0x42d2c774b30f53b81a1468f894d8405cdff07b83',
'0xa0776ec5aaffc81268c47e5ca3365f92dd035b74',
'0x593a70c88a14188f05636f9173a63128540a5890',
'0xe103038c907625be740aa467cf597c7e89d5c5ad',
'0xbafc0bf857ae9b8feaed937ac90e44d90a487c72',
'0x3e3acb9cfebab0e3652c87bcb923184bb6408a51',
'0x2666c5656460b12b4013b5e68514b76cf47e7611',
'0x0a9ed23490cf8f89e750bbc3e28f96502bb45491',
'0xf166d91c417c89444c601c95b171a23acbd10b93',
'0x5552b2460ba2e899ada7c8369dcf09042ff14308',
'0xe65c7e27c1c086f26ce0daa986c3d9c24ef3c2d8',
'0x8c73126b85f59d85aa61391579b4c2710dd70f96',
'0xe86d3a9bada1b7adcc32abde0522861b1dc7973a',
'0x5fd2edfd49d0c88321ba644dda91fa16a2fe3a9c',
'0x6e0e57ef7cbecd23162ebedccc3ac8e25d200487',
'0x8cfcd76160a695303ec6f8dfacaa347fd6ae6f6f',
'0xd361339550cd8b3e9446bbb12aea337785a7aea4',
'0x3524bf63a3c97ed21f13f7621d14d2fe486d994c',
'0x3d937ed623ef7ff3a61c55aebe32789fe443cf13',
'0xd6c1942f34554aa6c85c8ea1d820e30ad8c2e43d',
'0x8ca94b91be0b35f404d5af515cf448131b02ed37',
'0x60c866423679fd30c1c7a7e16ed5142e9632a860',
'0x6a4ebd8ce47b1362ea809d93f1beb744c4ffd7ee',
'0x0cfbed1bd80bd8a740f24ec5fca8e8d1a9f87052',
'0x98b069022c1304e95df0f060dcc186b6e25f2412',
'0x14609cca8a69c734f7ba6dca3f723c4fbbeb6b43',
'0x38ef8fd7cfd46d615ebf7788bc7225906b58406f',
'0x2723a5af933ff0a3522a301015544be366e6ee31',
'0xc3a60d674712019611fd68febb45a89ba766c8ef',
'0xee5f5354f261383e67a45a65307e636bfda2d100',
'0x9b10206f236669f4f40e8e9806de9ab1813d3f65',
'0xb952ccbc1893c4dd1701bde249e62fc3ed357967',
'0x82c970c55711dc5f33aa40fee6614fbb857ceb83',
'0x7768a2e685da843a7dcf9a0f09b4d03d8d7fb6c4',
'0xb3ad443ad4ec366127a634fae67453b0babc3f67',
'0xc44330a585c3408392afb85b7018178bd4bae219',
'0x2b2ed53e664d3616a20347cc0ff8940521784d47',
'0xf458fd28e012e4a36f744384acc244d7bc38bb96',
'0x445556b7215349b205997aaaf6c6dfa258eb029d',
'0x32131848edc60e032abf0369241d34ec969ebf90',
'0x38a3fc625df834dd34e8ede60e10cd3024a6650e',
'0xe18e79a0e53fd57aea0e748c8d8da54b85a68d51',
'0x123e3506bc08c14b15f1a967e27c26b108557db2',
'0x015040eb85ac97f1532d4d45e309e16d07c0c164',
'0x5ce5dc8107539907ce5f663ac71a93ccdd84a0be',
'0x9bd60265d6e894dbbbba55eb76c6c9dd09efb22e',
'0xce194c194cda85d93557867c2e88dc9f5bcd01f1',
'0x1d9d9670351d7a05c19ed7c06d3085dcbef68264',
'0x620266bf3b1675646173f9b8d7b5ed92c0805400',
'0xb2bc3b9558a22a73edd531c590593f5e4e3370a7',
'0x1c533d00b6463bdb609555e906cee92bd8e5f313',
'0x07d30104ba4d9eb4a845db1142bf9aa1f5a93d97',
'0xecc17838dcc6ed1be59c7b3aadc015c7299c72ec',
'0x51907923c3280c24b6b69b0d217ea34cabde684d',
'0x211d59b3ce1b8f6fc37df1055a603394cdd3a4e4',
'0xdacc53bb6dbb17029f17e408ae9e07e13b8af563',
'0xd016ab46ec8fd9ccc19103db74b3cca72e68ea62',
'0x8a048742ae8f533cc8680b0098701bf9557f25da',
'0x8ea7865cdf06ed8bfaf3826fdd34ecb6d596d612',
'0xfec548e321d1776867821bd8697e147eda5e8f20',
'0x8646a2dbf9585b0e76811bc338706d702ed68203',
'0xdcb059d5d596e15cf7256b406e1d5991dee7ec70',
'0x4f70eaf75e7d31cea17248476fc98947b31d4d3a',
'0xb5621cf12d88f3711836a062f23bf6d3965d7f09',
'0x6dc4a22c8b5e208a75a86b89c65273e361eaac6a',
'0xe06418962803dc41a36fd6c677dfab68a954d066',
'0x3f400c81c3c13ece47ec02b612d5643f92dd6aeb',
'0x30fdf2c840aab738bccba53d9787bffa8ba27005',
'0x4c789df2c1e21bb17c5ab24ed95d6abeb114726b',
'0xc99209bbc3ce73b610f5f17cd01a0d1244abbc8d',
'0x5e7fd9521a17c38f3f69a02e3f45f8df7763c224',
],
ethAddr: '0x0000000000000000000000000000000000000000',
// non ETH/WETH base currency (like DAI)
baseToken: {
"0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359": 1, // DAI stablecoin
"0xdac17f958d2ee523a2206206994597c13d831ec7": 2, // USDT
"0xe41d2489571d322189246dafa5ebde1f4699f498": 3, // ZRX, fee in 0x sometimes as a zrx trade
"0x0027449bf0887ca3e431d263ffdefb244d95b555": 4, // NOT coin openrelay
"0x1a9b2d827f26b7d7c18fec4c1b27c1e8deeba26e": 5,// USDT-W ethfinex
"0xd9ebebfdab08c643c5f2837632de920c70a56247": 6, // DAI-W
"0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c": 7, //BNT
},
apiServer: 'https://api.etherdelta.com', /*'https://api.forkdelta.com', 'https://cache.etherdelta.com', 'https://cache1.etherdelta.com', 'https://cache2.etherdelta.com', 'https://cache3.etherdelta.com'*/
etherscanAPIKey: 'YHBUWV6P5B5ITKMI91JIRZZYBP1CG1V65R',
infuraURL: 'https://mainnet.infura.io/DeltaBalances',
web3URLs: {
Infura: 'https://mainnet.infura.io/DeltaBalances',
myEtherApi: 'https://api.myetherwallet.com/eth',//'https://api.myetherapi.com/eth',
//myCryptoApi: 'https://api.mycryptoapi.com/eth',
},
localNode: 'http://localhost:8545',
tokens: [
{ addr: '0x0000000000000000000000000000000000000000', name: 'ETH', decimals: 18 },
],
customTokens: [
{ addr: '0x0000000000000000000000000000000000000000', name: 'ETH', decimals: 18 },
],
//exchange contract ABIs (stripped from: constant functions, constructors, fallback)
ABIs: {
DeltaBalances: [{constant:true,inputs:[{name:"exchange",type:"address"},{name:"user",type:"address"},{name:"tokens",type:"address[]"}],name:"depositedBalances",outputs:[{name:"",type:"uint256[]"}],payable:false,stateMutability:"view",type:"function"},{constant:true,inputs:[{name:"user",type:"address"},{name:"tokens",type:"address[]"}],name:"tokenBalances",outputs:[{name:"",type:"uint256[]"}],payable:false,stateMutability:"view",type:"function"},{constant:false,inputs:[],name:"withdraw",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"},{name:"amount",type:"uint256"}],name:"withdrawToken",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:true,inputs:[{name:"spenderContract",type:"address"},{name:"user",type:"address"},{name:"tokens",type:"address[]"}],name:"tokenAllowances",outputs:[{name:"",type:"uint256[]"}],payable:false,stateMutability:"view",type:"function"},{constant:true,inputs:[],name:"admin",outputs:[{name:"",type:"address"}],payable:false,stateMutability:"view",type:"function"},{inputs:[],payable:false,stateMutability:"nonpayable",type:"constructor"}],
EtherDelta: [{ constant: false, inputs: [{ name: "tokenGet", type: "address" }, { name: "amountGet", type: "uint256" }, { name: "tokenGive", type: "address" }, { name: "amountGive", type: "uint256" }, { name: "expires", type: "uint256" }, { name: "nonce", type: "uint256" }, { name: "user", type: "address" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }, { name: "amount", type: "uint256" }], name: "trade", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "tokenGet", type: "address" }, { name: "amountGet", type: "uint256" }, { name: "tokenGive", type: "address" }, { name: "amountGive", type: "uint256" }, { name: "expires", type: "uint256" }, { name: "nonce", type: "uint256" }], name: "order", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "tokenGet", type: "address" }, { name: "amountGet", type: "uint256" }, { name: "tokenGive", type: "address" }, { name: "amountGive", type: "uint256" }, { name: "expires", type: "uint256" }, { name: "nonce", type: "uint256" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }], name: "cancelOrder", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "amount", type: "uint256" }], name: "withdraw", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }], name: "depositToken", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "feeMake_", type: "uint256" }], name: "changeFeeMake", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "feeRebate_", type: "uint256" }], name: "changeFeeRebate", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "feeAccount_", type: "address" }], name: "changeFeeAccount", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "feeTake_", type: "uint256" }], name: "changeFeeTake", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }], name: "withdrawToken", outputs: [], payable: false, type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "user", type: "address" }], name: "Order", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "v", type: "uint8" }, { indexed: false, name: "r", type: "bytes32" }, { indexed: false, name: "s", type: "bytes32" }], name: "Cancel", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "get", type: "address" }, { indexed: false, name: "give", type: "address" }], name: "Trade", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Deposit", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Withdraw", type: "event" }],
TokenStore: [{ constant: false, inputs: [{ name: "_tokenGet", type: "address" }, { name: "_amountGet", type: "uint256" }, { name: "_tokenGive", type: "address" }, { name: "_amountGive", type: "uint256" }, { name: "_expires", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_user", type: "address" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }, { name: "_amount", type: "uint256" }], name: "trade", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_tokenGet", type: "address" }, { name: "_amountGet", type: "uint256" }, { name: "_tokenGive", type: "address" }, { name: "_amountGive", type: "uint256" }, { name: "_expires", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "cancelOrder", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_amount", type: "uint256" }], name: "withdraw", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "depositToken", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_accountModifiers", type: "address" }], name: "changeAccountModifiers", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_user", type: "address" }], name: "depositTokenForUser", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_tradeTracker", type: "address" }], name: "changeTradeTracker", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_fee", type: "uint256" }], name: "changeFee", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_user", type: "address" }], name: "depositForUser", outputs: [], payable: true, type: "function" }, { constant: false, inputs: [{ name: "_feeAccount", type: "address" }], name: "changeFeeAccount", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawToken", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_tokens", type: "address[]" }], name: "migrateFunds", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [], name: "deposit", outputs: [], payable: true, type: "function" }, { constant: false, inputs: [{ name: "_deprecated", type: "bool" }, { name: "_successor", type: "address" }], name: "deprecate", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "v", type: "uint8" }, { indexed: false, name: "r", type: "bytes32" }, { indexed: false, name: "s", type: "bytes32" }], name: "Cancel", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "get", type: "address" }, { indexed: false, name: "give", type: "address" }, { indexed: false, name: "nonce", type: "uint256" }], name: "Trade", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Deposit", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Withdraw", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "user", type: "address" }], name: "FundsMigrated", type: "event" }],
Idex: [{ constant: false, inputs: [{ name: "assertion", type: "bool" }], name: "assert", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newOwner", type: "address" }], name: "setOwner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }, { name: "user", type: "address" }, { name: "nonce", type: "uint256" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }, { name: "feeWithdrawal", type: "uint256" }], name: "adminWithdraw", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }], name: "depositToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "admin", type: "address" }, { name: "isAdmin", type: "bool" }], name: "setAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "getOwner", outputs: [{ name: "out", type: "address" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "a", type: "uint256" }, { name: "b", type: "uint256" }], name: "safeSub", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "user", type: "address" }, { name: "nonce", type: "uint256" }], name: "invalidateOrdersBefore", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "a", type: "uint256" }, { name: "b", type: "uint256" }], name: "safeMul", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "deposit", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "expiry", type: "uint256" }], name: "setInactivityReleasePeriod", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "a", type: "uint256" }, { name: "b", type: "uint256" }], name: "safeAdd", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "tradeValues", type: "uint256[8]" }, { name: "tradeAddresses", type: "address[4]" }, { name: "v", type: "uint8[2]" }, { name: "rs", type: "bytes32[4]" }], name: "trade", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }], name: "withdraw", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "previousOwner", type: "address" }, { indexed: true, name: "newOwner", type: "address" }], name: "SetOwner", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenBuy", type: "address" }, { indexed: false, name: "amountBuy", type: "uint256" }, { indexed: false, name: "tokenSell", type: "address" }, { indexed: false, name: "amountSell", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "v", type: "uint8" }, { indexed: false, name: "r", type: "bytes32" }, { indexed: false, name: "s", type: "bytes32" }], name: "Order", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenBuy", type: "address" }, { indexed: false, name: "amountBuy", type: "uint256" }, { indexed: false, name: "tokenSell", type: "address" }, { indexed: false, name: "amountSell", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "v", type: "uint8" }, { indexed: false, name: "r", type: "bytes32" }, { indexed: false, name: "s", type: "bytes32" }], name: "Cancel", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenBuy", type: "address" }, { indexed: false, name: "amountBuy", type: "uint256" }, { indexed: false, name: "tokenSell", type: "address" }, { indexed: false, name: "amountSell", type: "uint256" }, { indexed: false, name: "get", type: "address" }, { indexed: false, name: "give", type: "address" }], name: "Trade", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Deposit", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Withdraw", type: "event" }],
'0x': [{ constant: false, inputs: [{ name: "orderAddresses", type: "address[5][]" }, { name: "orderValues", type: "uint256[6][]" }, { name: "fillTakerTokenAmount", type: "uint256" }, { name: "shouldThrowOnInsufficientBalanceOrAllowance", type: "bool" }, { name: "v", type: "uint8[]" }, { name: "r", type: "bytes32[]" }, { name: "s", type: "bytes32[]" }], name: "fillOrdersUpTo", outputs: [{ name: "", type: "uint256" }], payable: false, type: "function" }, { constant: false, inputs: [{ name: "orderAddresses", type: "address[5]" }, { name: "orderValues", type: "uint256[6]" }, { name: "cancelTakerTokenAmount", type: "uint256" }], name: "cancelOrder", outputs: [{ name: "", type: "uint256" }], payable: false, type: "function" }, { constant: false, inputs: [{ name: "orderAddresses", type: "address[5][]" }, { name: "orderValues", type: "uint256[6][]" }, { name: "fillTakerTokenAmounts", type: "uint256[]" }, { name: "v", type: "uint8[]" }, { name: "r", type: "bytes32[]" }, { name: "s", type: "bytes32[]" }], name: "batchFillOrKillOrders", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "orderAddresses", type: "address[5]" }, { name: "orderValues", type: "uint256[6]" }, { name: "fillTakerTokenAmount", type: "uint256" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }], name: "fillOrKillOrder", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "orderAddresses", type: "address[5][]" }, { name: "orderValues", type: "uint256[6][]" }, { name: "fillTakerTokenAmounts", type: "uint256[]" }, { name: "shouldThrowOnInsufficientBalanceOrAllowance", type: "bool" }, { name: "v", type: "uint8[]" }, { name: "r", type: "bytes32[]" }, { name: "s", type: "bytes32[]" }], name: "batchFillOrders", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "orderAddresses", type: "address[5][]" }, { name: "orderValues", type: "uint256[6][]" }, { name: "cancelTakerTokenAmounts", type: "uint256[]" }], name: "batchCancelOrders", outputs: [], payable: false, type: "function" }, { constant: false, inputs: [{ name: "orderAddresses", type: "address[5]" }, { name: "orderValues", type: "uint256[6]" }, { name: "fillTakerTokenAmount", type: "uint256" }, { name: "shouldThrowOnInsufficientBalanceOrAllowance", type: "bool" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }], name: "fillOrder", outputs: [{ name: "filledTakerTokenAmount", type: "uint256" }], payable: false, type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "maker", type: "address" }, { indexed: false, name: "taker", type: "address" }, { indexed: true, name: "feeRecipient", type: "address" }, { indexed: false, name: "makerToken", type: "address" }, { indexed: false, name: "takerToken", type: "address" }, { indexed: false, name: "filledMakerTokenAmount", type: "uint256" }, { indexed: false, name: "filledTakerTokenAmount", type: "uint256" }, { indexed: false, name: "paidMakerFee", type: "uint256" }, { indexed: false, name: "paidTakerFee", type: "uint256" }, { indexed: true, name: "tokens", type: "bytes32" }, { indexed: false, name: "orderHash", type: "bytes32" }], name: "LogFill", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "maker", type: "address" }, { indexed: true, name: "feeRecipient", type: "address" }, { indexed: false, name: "makerToken", type: "address" }, { indexed: false, name: "takerToken", type: "address" }, { indexed: false, name: "cancelledMakerTokenAmount", type: "uint256" }, { indexed: false, name: "cancelledTakerTokenAmount", type: "uint256" }, { indexed: true, name: "tokens", type: "bytes32" }, { indexed: false, name: "orderHash", type: "bytes32" }], name: "LogCancel", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "errorId", type: "uint8" }, { indexed: true, name: "orderHash", type: "bytes32" }], name: "LogError", type: "event" }],
'0x2': [{ "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "takerAssetFillAmounts", "type": "uint256[]" }, { "name": "signatures", "type": "bytes[]" }], "name": "batchFillOrders", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "hash", "type": "bytes32" }, { "name": "signerAddress", "type": "address" }, { "name": "signature", "type": "bytes" }], "name": "preSign", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "leftOrder", "type": "tuple" }, { "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "rightOrder", "type": "tuple" }, { "name": "leftSignature", "type": "bytes" }, { "name": "rightSignature", "type": "bytes" }], "name": "matchOrders", "outputs": [{ "components": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "left", "type": "tuple" }, { "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "right", "type": "tuple" }, { "name": "leftMakerAssetSpreadAmount", "type": "uint256" }], "name": "matchedFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "order", "type": "tuple" }, { "name": "takerAssetFillAmount", "type": "uint256" }, { "name": "signature", "type": "bytes" }], "name": "fillOrderNoThrow", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "fillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }], "name": "batchCancelOrders", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "takerAssetFillAmounts", "type": "uint256[]" }, { "name": "signatures", "type": "bytes[]" }], "name": "batchFillOrKillOrders", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "targetOrderEpoch", "type": "uint256" }], "name": "cancelOrdersUpTo", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "takerAssetFillAmounts", "type": "uint256[]" }, { "name": "signatures", "type": "bytes[]" }], "name": "batchFillOrdersNoThrow", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "order", "type": "tuple" }, { "name": "takerAssetFillAmount", "type": "uint256" }, { "name": "signature", "type": "bytes" }], "name": "fillOrKillOrder", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "fillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "validatorAddress", "type": "address" }, { "name": "approval", "type": "bool" }], "name": "setSignatureValidatorApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "takerAssetFillAmount", "type": "uint256" }, { "name": "signatures", "type": "bytes[]" }], "name": "marketSellOrders", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "makerAssetFillAmount", "type": "uint256" }, { "name": "signatures", "type": "bytes[]" }], "name": "marketBuyOrdersNoThrow", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "order", "type": "tuple" }, { "name": "takerAssetFillAmount", "type": "uint256" }, { "name": "signature", "type": "bytes" }], "name": "fillOrder", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "fillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "salt", "type": "uint256" }, { "name": "signerAddress", "type": "address" }, { "name": "data", "type": "bytes" }, { "name": "signature", "type": "bytes" }], "name": "executeTransaction", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "assetProxy", "type": "address" }], "name": "registerAssetProxy", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "order", "type": "tuple" }], "name": "cancelOrder", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "takerAssetFillAmount", "type": "uint256" }, { "name": "signatures", "type": "bytes[]" }], "name": "marketSellOrdersNoThrow", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "components": [{ "name": "makerAddress", "type": "address" }, { "name": "takerAddress", "type": "address" }, { "name": "feeRecipientAddress", "type": "address" }, { "name": "senderAddress", "type": "address" }, { "name": "makerAssetAmount", "type": "uint256" }, { "name": "takerAssetAmount", "type": "uint256" }, { "name": "makerFee", "type": "uint256" }, { "name": "takerFee", "type": "uint256" }, { "name": "expirationTimeSeconds", "type": "uint256" }, { "name": "salt", "type": "uint256" }, { "name": "makerAssetData", "type": "bytes" }, { "name": "takerAssetData", "type": "bytes" }], "name": "orders", "type": "tuple[]" }, { "name": "makerAssetFillAmount", "type": "uint256" }, { "name": "signatures", "type": "bytes[]" }], "name": "marketBuyOrders", "outputs": [{ "components": [{ "name": "makerAssetFilledAmount", "type": "uint256" }, { "name": "takerAssetFilledAmount", "type": "uint256" }, { "name": "makerFeePaid", "type": "uint256" }, { "name": "takerFeePaid", "type": "uint256" }], "name": "totalFillResults", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "signerAddress", "type": "address" }, { "indexed": true, "name": "validatorAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }], "name": "SignatureValidatorApproval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "makerAddress", "type": "address" }, { "indexed": true, "name": "feeRecipientAddress", "type": "address" }, { "indexed": false, "name": "takerAddress", "type": "address" }, { "indexed": false, "name": "senderAddress", "type": "address" }, { "indexed": false, "name": "makerAssetFilledAmount", "type": "uint256" }, { "indexed": false, "name": "takerAssetFilledAmount", "type": "uint256" }, { "indexed": false, "name": "makerFeePaid", "type": "uint256" }, { "indexed": false, "name": "takerFeePaid", "type": "uint256" }, { "indexed": true, "name": "orderHash", "type": "bytes32" }, { "indexed": false, "name": "makerAssetData", "type": "bytes" }, { "indexed": false, "name": "takerAssetData", "type": "bytes" }], "name": "Fill", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "makerAddress", "type": "address" }, { "indexed": true, "name": "feeRecipientAddress", "type": "address" }, { "indexed": false, "name": "senderAddress", "type": "address" }, { "indexed": true, "name": "orderHash", "type": "bytes32" }, { "indexed": false, "name": "makerAssetData", "type": "bytes" }, { "indexed": false, "name": "takerAssetData", "type": "bytes" }], "name": "Cancel", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "makerAddress", "type": "address" }, { "indexed": true, "name": "senderAddress", "type": "address" }, { "indexed": false, "name": "orderEpoch", "type": "uint256" }], "name": "CancelUpTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "name": "id", "type": "bytes4" }, { "indexed": false, "name": "assetProxy", "type": "address" }], "name": "AssetProxyRegistered", "type": "event" }],
// WETH token, to also capture wrapping/unwrapping
Erc20: [{ constant: false, inputs: [{ name: "guy", type: "address" }, { name: "wad", type: "uint256" }], name: "approve", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "src", type: "address" }, { name: "dst", type: "address" }, { name: "wad", type: "uint256" }], name: "transferFrom", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "wad", type: "uint256" }], name: "withdraw", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [{ name: "", type: "uint8" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [{ name: "", type: "address" }], name: "balanceOf", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [{ name: "", type: "string" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ name: "dst", type: "address" }, { name: "wad", type: "uint256" }], name: "transfer", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "deposit", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [{ name: "", type: "address" }, { name: "", type: "address" }], name: "allowance", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "src", type: "address" }, { indexed: true, name: "guy", type: "address" }, { indexed: false, name: "wad", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "src", type: "address" }, { indexed: true, name: "dst", type: "address" }, { indexed: false, name: "wad", type: "uint256" }], name: "Transfer", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "dst", type: "address" }, { indexed: false, name: "wad", type: "uint256" }], name: "Deposit", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "src", type: "address" }, { indexed: false, name: "wad", type: "uint256" }], name: "Withdrawal", type: "event" }],
//bancor ETH token for Issuance, Destruction
Erc20Bancor: [{ constant: false, inputs: [{ name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_amount", type: "uint256" }], name: "withdraw", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "deposit", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "_amount", type: "uint256" }], name: "Issuance", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_amount", type: "uint256" }], name: "Destruction", type: "event" }],
//ethfinex erc20 wrapper
//ERC20Ethfinex: [{ "constant": false, "inputs": [], "name": "withdrawBalanceDifference", "outputs": [{ "name": "success", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" },{ "constant": false, "inputs": [{ "name": "_value", "type": "uint256" }, { "name": "v", "type": "uint8" }, { "name": "r", "type": "bytes32" }, { "name": "s", "type": "bytes32" }, { "name": "signatureValidUntilBlock", "type": "uint256" }], "name": "withdraw", "outputs": [{ "name": "success", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function"},{ "constant": false, "inputs": [{ "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" }], "name": "transferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"},{ "constant": false, "inputs": [{ "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" }], "name": "transfer", "outputs": [{ "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function"},{ "constant": false, "inputs": [{ "name": "_differentToken", "type": "address" }, { "name": "_erc20old", "type": "bool" }], "name": "withdrawDifferentToken", "outputs": [{ "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function"},{ "constant": false, "inputs": [{ "name": "_value", "type": "uint256" }, { "name": "_forTime", "type": "uint256" }], "name": "deposit", "outputs": [{ "name": "success", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function"},{ "constant": false, "inputs": [{ "name": "_newSigner", "type": "address" }], "name": "addSigner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" },{ "constant": false, "inputs": [{ "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" },{ "anonymous": false, "inputs": [{ "indexed": true, "name": "previousOwner", "type": "address" }, { "indexed": true, "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event"},{ "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"}],
OasisDex: [{ constant: false, inputs: [{ name: "pay_gem", type: "address" }, { name: "pay_amt", type: "uint256" }, { name: "buy_gem", type: "address" }, { name: "min_fill_amount", type: "uint256" }], name: "sellAllAmount", outputs: [{ name: "fill_amt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "stop", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "pay_gem", type: "address" }, { name: "buy_gem", type: "address" }, { name: "pay_amt", type: "uint128" }, { name: "buy_amt", type: "uint128" }], name: "make", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "owner_", type: "address" }], name: "setOwner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "baseToken", type: "address" }, { name: "quoteToken", type: "address" }], name: "addTokenPairWhitelist", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "baseToken", type: "address" }, { name: "quoteToken", type: "address" }], name: "remTokenPairWhitelist", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "pay_amt", type: "uint256" }, { name: "pay_gem", type: "address" }, { name: "buy_amt", type: "uint256" }, { name: "buy_gem", type: "address" }, { name: "pos", type: "uint256" }], name: "offer", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id", type: "uint256" }, { name: "pos", type: "uint256" }], name: "insert", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "matchingEnabled_", type: "bool" }], name: "setMatchingEnabled", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id", type: "uint256" }], name: "cancel", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id", type: "uint256" }], name: "del_rank", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id", type: "bytes32" }, { name: "maxTakeAmount", type: "uint128" }], name: "take", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id_", type: "bytes32" }], name: "bump", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "authority_", type: "address" }], name: "setAuthority", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "buy_gem", type: "address" }, { name: "buy_amt", type: "uint256" }, { name: "pay_gem", type: "address" }, { name: "max_fill_amount", type: "uint256" }], name: "buyAllAmount", outputs: [{ name: "fill_amt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id", type: "bytes32" }], name: "kill", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "pay_gem", type: "address" }, { name: "dust", type: "uint256" }], name: "setMinSell", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "buyEnabled_", type: "bool" }], name: "setBuyEnabled", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "id", type: "uint256" }, { name: "amount", type: "uint256" }], name: "buy", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "pay_amt", type: "uint256" }, { name: "pay_gem", type: "address" }, { name: "buy_amt", type: "uint256" }, { name: "buy_gem", type: "address" }, { name: "pos", type: "uint256" }, { name: "rounding", type: "bool" }], name: "offer", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "pay_amt", type: "uint256" }, { name: "pay_gem", type: "address" }, { name: "buy_amt", type: "uint256" }, { name: "buy_gem", type: "address" }], name: "offer", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: true, inputs: [{ indexed: true, name: "sig", type: "bytes4" }, { indexed: true, name: "guy", type: "address" }, { indexed: true, name: "foo", type: "bytes32" }, { indexed: true, name: "bar", type: "bytes32" }, { indexed: false, name: "wad", type: "uint256" }, { indexed: false, name: "fax", type: "bytes" }], name: "LogNote", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "id", type: "uint256" }], name: "LogItemUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "pay_amt", type: "uint256" }, { indexed: true, name: "pay_gem", type: "address" }, { indexed: false, name: "buy_amt", type: "uint256" }, { indexed: true, name: "buy_gem", type: "address" }], name: "LogTrade", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "id", type: "bytes32" }, { indexed: true, name: "pair", type: "bytes32" }, { indexed: true, name: "maker", type: "address" }, { indexed: false, name: "pay_gem", type: "address" }, { indexed: false, name: "buy_gem", type: "address" }, { indexed: false, name: "pay_amt", type: "uint128" }, { indexed: false, name: "buy_amt", type: "uint128" }, { indexed: false, name: "timestamp", type: "uint64" }], name: "LogMake", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "id", type: "bytes32" }, { indexed: true, name: "pair", type: "bytes32" }, { indexed: true, name: "maker", type: "address" }, { indexed: false, name: "pay_gem", type: "address" }, { indexed: false, name: "buy_gem", type: "address" }, { indexed: false, name: "pay_amt", type: "uint128" }, { indexed: false, name: "buy_amt", type: "uint128" }, { indexed: false, name: "timestamp", type: "uint64" }], name: "LogBump", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "id", type: "bytes32" }, { indexed: true, name: "pair", type: "bytes32" }, { indexed: true, name: "maker", type: "address" }, { indexed: false, name: "pay_gem", type: "address" }, { indexed: false, name: "buy_gem", type: "address" }, { indexed: true, name: "taker", type: "address" }, { indexed: false, name: "take_amt", type: "uint128" }, { indexed: false, name: "give_amt", type: "uint128" }, { indexed: false, name: "timestamp", type: "uint64" }], name: "LogTake", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "id", type: "bytes32" }, { indexed: true, name: "pair", type: "bytes32" }, { indexed: true, name: "maker", type: "address" }, { indexed: false, name: "pay_gem", type: "address" }, { indexed: false, name: "buy_gem", type: "address" }, { indexed: false, name: "pay_amt", type: "uint128" }, { indexed: false, name: "buy_amt", type: "uint128" }, { indexed: false, name: "timestamp", type: "uint64" }], name: "LogKill", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "authority", type: "address" }], name: "LogSetAuthority", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "owner", type: "address" }], name: "LogSetOwner", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "isEnabled", type: "bool" }], name: "LogBuyEnabled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "pay_gem", type: "address" }, { indexed: false, name: "min_amount", type: "uint256" }], name: "LogMinSell", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "isEnabled", type: "bool" }], name: "LogMatchingEnabled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "id", type: "uint256" }], name: "LogUnsortedOffer", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "id", type: "uint256" }], name: "LogSortedOffer", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "baseToken", type: "address" }, { indexed: false, name: "quoteToken", type: "address" }], name: "LogAddTokenPairWhitelist", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "baseToken", type: "address" }, { indexed: false, name: "quoteToken", type: "address" }], name: "LogRemTokenPairWhitelist", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "keeper", type: "address" }, { indexed: false, name: "id", type: "uint256" }], name: "LogInsert", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "keeper", type: "address" }, { indexed: false, name: "id", type: "uint256" }], name: "LogDelete", type: "event" }],
OasisDexOld3: [{constant:false,inputs:[{name:"id",type:"uint256"}],name:"cancel",outputs:[{name:"success",type:"bool"}],payable:false,type:"function"},{constant:false,inputs:[{name:"id",type:"uint256"},{name:"quantity",type:"uint256"}],name:"buy",outputs:[{name:"success",type:"bool"}],payable:false,type:"function"},{constant:false,inputs:[{name:"sell_how_much",type:"uint256"},{name:"sell_which_token",type:"address"},{name:"buy_how_much",type:"uint256"},{name:"buy_which_token",type:"address"}],name:"offer",outputs:[{name:"id",type:"uint256"}],payable:false,type:"function"},{anonymous:false,inputs:[{indexed:false,name:"id",type:"uint256"}],name:"ItemUpdate",type:"event"},{anonymous:false,inputs:[{indexed:false,name:"sell_how_much",type:"uint256"},{indexed:true,name:"sell_which_token",type:"address"},{indexed:false,name:"buy_how_much",type:"uint256"},{indexed:true,name:"buy_which_token",type:"address"}],name:"Trade",type:"event"}],
OasisDirect: [{ constant: false, inputs: [{ name: "otc", type: "address" }, { name: "payToken", type: "address" }, { name: "payAmt", type: "uint256" }, { name: "wethToken", type: "address" }, { name: "minBuyAmt", type: "uint256" }], name: "sellAllAmountBuyEth", outputs: [{ name: "wethAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "otc", type: "address" }, { name: "payToken", type: "address" }, { name: "payAmt", type: "uint256" }, { name: "buyToken", type: "address" }, { name: "minBuyAmt", type: "uint256" }], name: "sellAllAmount", outputs: [{ name: "buyAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "otc", type: "address" }, { name: "buyToken", type: "address" }, { name: "buyAmt", type: "uint256" }, { name: "payToken", type: "address" }, { name: "maxPayAmt", type: "uint256" }], name: "buyAllAmount", outputs: [{ name: "payAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "factory", type: "address" }, { name: "otc", type: "address" }, { name: "wethAmt", type: "uint256" }, { name: "payToken", type: "address" }, { name: "maxPayAmt", type: "uint256" }], name: "createAndBuyAllAmountBuyEth", outputs: [{ name: "proxy", type: "address" }, { name: "payAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "factory", type: "address" }, { name: "otc", type: "address" }, { name: "payToken", type: "address" }, { name: "payAmt", type: "uint256" }, { name: "minBuyAmt", type: "uint256" }], name: "createAndSellAllAmountBuyEth", outputs: [{ name: "proxy", type: "address" }, { name: "wethAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "factory", type: "address" }, { name: "otc", type: "address" }, { name: "buyToken", type: "address" }, { name: "buyAmt", type: "uint256" }], name: "createAndBuyAllAmountPayEth", outputs: [{ name: "proxy", type: "address" }, { name: "wethAmt", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "factory", type: "address" }, { name: "otc", type: "address" }, { name: "buyToken", type: "address" }, { name: "minBuyAmt", type: "uint256" }], name: "createAndSellAllAmountPayEth", outputs: [{ name: "proxy", type: "address" }, { name: "buyAmt", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "factory", type: "address" }, { name: "otc", type: "address" }, { name: "buyToken", type: "address" }, { name: "buyAmt", type: "uint256" }, { name: "payToken", type: "address" }, { name: "maxPayAmt", type: "uint256" }], name: "createAndBuyAllAmount", outputs: [{ name: "proxy", type: "address" }, { name: "payAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "otc", type: "address" }, { name: "buyToken", type: "address" }, { name: "buyAmt", type: "uint256" }, { name: "wethToken", type: "address" }], name: "buyAllAmountPayEth", outputs: [{ name: "wethAmt", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "factory", type: "address" }, { name: "otc", type: "address" }, { name: "payToken", type: "address" }, { name: "payAmt", type: "uint256" }, { name: "buyToken", type: "address" }, { name: "minBuyAmt", type: "uint256" }], name: "createAndSellAllAmount", outputs: [{ name: "proxy", type: "address" }, { name: "buyAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "otc", type: "address" }, { name: "wethToken", type: "address" }, { name: "buyToken", type: "address" }, { name: "minBuyAmt", type: "uint256" }], name: "sellAllAmountPayEth", outputs: [{ name: "buyAmt", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "otc", type: "address" }, { name: "wethToken", type: "address" }, { name: "wethAmt", type: "uint256" }, { name: "payToken", type: "address" }, { name: "maxPayAmt", type: "uint256" }], name: "buyAllAmountBuyEth", outputs: [{ name: "payAmt", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }],
//Proxy for delegatecalls to another OasisDirect
OasisProxy: [{constant:false,inputs:[{name:"_target",type:"address"},{name:"_data",type:"bytes"}],name:"execute",outputs:[{name:"response",type:"bytes32"}],payable:true,stateMutability:"payable",type:"function"},{constant:false,inputs:[{name:"_code",type:"bytes"},{name:"_data",type:"bytes"}],name:"execute",outputs:[{name:"target",type:"address"},{name:"response",type:"bytes32"}],payable:true,stateMutability:"payable",type:"function"}],
AirSwap: [{ constant: false, inputs: [{ name: "makerAddress", type: "address" }, { name: "makerAmount", type: "uint256" }, { name: "makerToken", type: "address" }, { name: "takerAddress", type: "address" }, { name: "takerAmount", type: "uint256" }, { name: "takerToken", type: "address" }, { name: "expiration", type: "uint256" }, { name: "nonce", type: "uint256" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }], name: "fill", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "makerAddress", type: "address" }, { name: "makerAmount", type: "uint256" }, { name: "makerToken", type: "address" }, { name: "takerAddress", type: "address" }, { name: "takerAmount", type: "uint256" }, { name: "takerToken", type: "address" }, { name: "expiration", type: "uint256" }, { name: "nonce", type: "uint256" }, { name: "v", type: "uint8" }, { name: "r", type: "bytes32" }, { name: "s", type: "bytes32" }], name: "cancel", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "makerAddress", type: "address" }, { indexed: false, name: "makerAmount", type: "uint256" }, { indexed: true, name: "makerToken", type: "address" }, { indexed: false, name: "takerAddress", type: "address" }, { indexed: false, name: "takerAmount", type: "uint256" }, { indexed: true, name: "takerToken", type: "address" }, { indexed: false, name: "expiration", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }], name: "Filled", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "makerAddress", type: "address" }, { indexed: false, name: "makerAmount", type: "uint256" }, { indexed: true, name: "makerToken", type: "address" }, { indexed: false, name: "takerAddress", type: "address" }, { indexed: false, name: "takerAmount", type: "uint256" }, { indexed: true, name: "takerToken", type: "address" }, { indexed: false, name: "expiration", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }], name: "Canceled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "code", type: "uint256" }, { indexed: true, name: "makerAddress", type: "address" }, { indexed: false, name: "makerAmount", type: "uint256" }, { indexed: true, name: "makerToken", type: "address" }, { indexed: false, name: "takerAddress", type: "address" }, { indexed: false, name: "takerAmount", type: "uint256" }, { indexed: true, name: "takerToken", type: "address" }, { indexed: false, name: "expiration", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }], name: "Failed", type: "event" }],
Kyber: [{ constant: false, inputs: [{ name: "alerter", type: "address" }], name: "removeAlerter", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "reserve", type: "address" }, { name: "src", type: "address" }, { name: "dest", type: "address" }, { name: "add", type: "bool" }], name: "listPairForReserve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }, { name: "sendTo", type: "address" }], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newAlerter", type: "address" }], name: "addAlerter", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "field", type: "bytes32" }, { name: "value", type: "uint256" }], name: "setInfo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newAdmin", type: "address" }], name: "transferAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_enable", type: "bool" }], name: "setEnable", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "claimAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newAdmin", type: "address" }], name: "transferAdminQuickly", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newOperator", type: "address" }], name: "addOperator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "reserve", type: "address" }, { name: "add", type: "bool" }], name: "addReserve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "operator", type: "address" }], name: "removeOperator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_whiteList", type: "address" }, { name: "_expectedRate", type: "address" }, { name: "_feeBurner", type: "address" }, { name: "_maxGasPrice", type: "uint256" }, { name: "_negligibleRateDiff", type: "uint256" }], name: "setParams", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "src", type: "address" }, { name: "srcAmount", type: "uint256" }, { name: "dest", type: "address" }, { name: "destAddress", type: "address" }, { name: "maxDestAmount", type: "uint256" }, { name: "minConversionRate", type: "uint256" }, { name: "walletId", type: "address" }], name: "trade", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "amount", type: "uint256" }, { name: "sendTo", type: "address" }], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "sender", type: "address" }, { indexed: false, name: "amount", type: "uint256" }], name: "EtherReceival", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "sender", type: "address" }, { indexed: false, name: "src", type: "address" }, { indexed: false, name: "dest", type: "address" }, { indexed: false, name: "actualSrcAmount", type: "uint256" }, { indexed: false, name: "actualDestAmount", type: "uint256" }], name: "ExecuteTrade", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "reserve", type: "address" }, { indexed: false, name: "add", type: "bool" }], name: "AddReserveToNetwork", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "reserve", type: "address" }, { indexed: false, name: "src", type: "address" }, { indexed: false, name: "dest", type: "address" }, { indexed: false, name: "add", type: "bool" }], name: "ListReservePairs", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "token", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "sendTo", type: "address" }], name: "TokenWithdraw", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "sendTo", type: "address" }], name: "EtherWithdraw", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "pendingAdmin", type: "address" }], name: "TransferAdminPending", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "newAdmin", type: "address" }, { indexed: false, name: "previousAdmin", type: "address" }], name: "AdminClaimed", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "newAlerter", type: "address" }, { indexed: false, name: "isAdd", type: "bool" }], name: "AlerterAdded", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "newOperator", type: "address" }, { indexed: false, name: "isAdd", type: "bool" }], name: "OperatorAdded", type: "event" }],
BancorQuick: [{ constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_register", type: "bool" }], name: "registerEtherToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_signerAddress", type: "address" }], name: "setSignerAddress", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }, { name: "_block", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "convertForPrioritized", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }], name: "claimAndConvertFor", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "claimAndConvert", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }], name: "convertFor", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_gasPriceLimit", type: "address" }], name: "setGasPriceLimit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convert", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "_prevOwner", type: "address" }, { indexed: true, name: "_newOwner", type: "address" }], name: "OwnerUpdate", type: "event" }],
// bancor network is new generation bancor quick?
BancorNetwork: [{ constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_register", type: "bool" }], name: "registerEtherToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_signerAddress", type: "address" }], name: "setSignerAddress", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }, { name: "_block", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "convertForPrioritized", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }, { name: "_block", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "convertForPrioritized2", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [], name: "acceptOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }], name: "claimAndConvertFor", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_paths", type: "address[]" }, { name: "_pathStartIndex", type: "uint256[]" }, { name: "_amounts", type: "uint256[]" }, { name: "_minReturns", type: "uint256[]" }, { name: "_for", type: "address" }], name: "convertForMultiple", outputs: [{ name: "", type: "uint256[]" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "claimAndConvert", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_for", type: "address" }], name: "convertFor", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_gasPriceLimit", type: "address" }], name: "setGasPriceLimit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convert", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_registry", type: "address" }], name: "setContractRegistry", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "_prevOwner", type: "address" }, { indexed: true, name: "_newOwner", type: "address" }], name: "OwnerUpdate", type: "event" }],
//regular bancor covertors
Bancor: [{ constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_weight", type: "uint32" }, { name: "_enableVirtualBalance", type: "bool" }, { name: "_virtualBalance", type: "uint256" }], name: "updateConnector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferTokenOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_disable", type: "bool" }], name: "disableConversions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_extensions", type: "address" }], name: "setExtensions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptTokenOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_weight", type: "uint32" }, { name: "_enableVirtualBalance", type: "bool" }], name: "addConnector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawFromToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "clearQuickBuyPath", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_disable", type: "bool" }], name: "disableConnectorPurchases", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "change", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_sellAmount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "sell", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convert", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_disable", type: "bool" }], name: "disableTokenTransfers", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_depositAmount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "buy", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptManagement", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }], name: "setQuickBuyPath", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newManager", type: "address" }], name: "transferManagement", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_conversionFee", type: "uint32" }], name: "setConversionFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "quickConvert", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "_fromToken", type: "address" }, { indexed: true, name: "_toToken", type: "address" }, { indexed: true, name: "_trader", type: "address" }, { indexed: false, name: "_amount", type: "uint256" }, { indexed: false, name: "_return", type: "uint256" }, { indexed: false, name: "_currentPriceN", type: "uint256" }, { indexed: false, name: "_currentPriceD", type: "uint256" }], name: "Conversion", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_prevFee", type: "uint32" }, { indexed: false, name: "_newFee", type: "uint32" }], name: "ConversionFeeUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_prevManager", type: "address" }, { indexed: false, name: "_newManager", type: "address" }], name: "ManagerUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_prevOwner", type: "address" }, { indexed: false, name: "_newOwner", type: "address" }], name: "OwnerUpdate", type: "event" }],
// bancor version with different 'conversion' event including conversionFee
Bancor2: [{ constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_weight", type: "uint32" }, { name: "_enableVirtualBalance", type: "bool" }, { name: "_virtualBalance", type: "uint256" }], name: "updateConnector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_block", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "quickConvertPrioritized", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferTokenOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_disable", type: "bool" }], name: "disableConversions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_extensions", type: "address" }], name: "setExtensions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convertInternal", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptTokenOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_weight", type: "uint32" }, { name: "_enableVirtualBalance", type: "bool" }], name: "addConnector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawFromToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "clearQuickBuyPath", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_disable", type: "bool" }], name: "disableConnectorPurchases", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "change", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convert", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_disable", type: "bool" }], name: "disableTokenTransfers", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptManagement", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }], name: "setQuickBuyPath", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newManager", type: "address" }], name: "transferManagement", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_conversionFee", type: "uint32" }], name: "setConversionFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "quickConvert", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "_fromToken", type: "address" }, { indexed: true, name: "_toToken", type: "address" }, { indexed: true, name: "_trader", type: "address" }, { indexed: false, name: "_amount", type: "uint256" }, { indexed: false, name: "_return", type: "uint256" }, { indexed: false, name: "_conversionFee", type: "int256" }, { indexed: false, name: "_currentPriceN", type: "uint256" }, { indexed: false, name: "_currentPriceD", type: "uint256" }], name: "Conversion", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_prevFee", type: "uint32" }, { indexed: false, name: "_newFee", type: "uint32" }], name: "ConversionFeeUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "_prevManager", type: "address" }, { indexed: true, name: "_newManager", type: "address" }], name: "ManagerUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "_prevOwner", type: "address" }, { indexed: true, name: "_newOwner", type: "address" }], name: "OwnerUpdate", type: "event" }],
// bancor v3 changed event
Bancor3: [{ constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_weight", type: "uint32" }, { name: "_enableVirtualBalance", type: "bool" }, { name: "_virtualBalance", type: "uint256" }], name: "updateConnector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferTokenOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }, { name: "_block", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "quickConvertPrioritized", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_disable", type: "bool" }], name: "disableConversions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convertInternal", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptTokenOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_weight", type: "uint32" }, { name: "_enableVirtualBalance", type: "bool" }], name: "addConnector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawFromToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_whitelist", type: "address" }], name: "setConversionWhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "clearQuickBuyPath", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_connectorToken", type: "address" }, { name: "_disable", type: "bool" }], name: "disableConnectorPurchases", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_to", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "change", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_fromToken", type: "address" }, { name: "_toToken", type: "address" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "convert", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_disable", type: "bool" }], name: "disableTokenTransfers", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_registry", type: "address" }], name: "setRegistry", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "acceptManagement", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }], name: "setQuickBuyPath", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_newManager", type: "address" }], name: "transferManagement", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_conversionFee", type: "uint32" }], name: "setConversionFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_path", type: "address[]" }, { name: "_amount", type: "uint256" }, { name: "_minReturn", type: "uint256" }], name: "quickConvert", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "_fromToken", type: "address" }, { indexed: true, name: "_toToken", type: "address" }, { indexed: true, name: "_trader", type: "address" }, { indexed: false, name: "_amount", type: "uint256" }, { indexed: false, name: "_return", type: "uint256" }, { indexed: false, name: "_conversionFee", type: "int256" }], name: "Conversion", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "_connectorToken", type: "address" }, { indexed: false, name: "_tokenSupply", type: "uint256" }, { indexed: false, name: "_connectorBalance", type: "uint256" }, { indexed: false, name: "_connectorWeight", type: "uint32" }], name: "PriceDataUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_prevFee", type: "uint32" }, { indexed: false, name: "_newFee", type: "uint32" }], name: "ConversionFeeUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "_prevManager", type: "address" }, { indexed: true, name: "_newManager", type: "address" }], name: "ManagerUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "_prevOwner", type: "address" }, { indexed: true, name: "_newOwner", type: "address" }], name: "OwnerUpdate", type: "event" }],
Enclaves: [{ constant: false, inputs: [{ name: "_tokenGet", type: "address" }, { name: "_amountGet", type: "uint256" }, { name: "_tokenGive", type: "address" }, { name: "_amountGive", type: "uint256" }, { name: "_expires", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_user", type: "address" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }, { name: "_amount", type: "uint256" }, { name: "_withdraw", type: "bool" }], name: "tradeEtherDelta", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_tokenGet", type: "address" }, { name: "_amountGet", type: "uint256" }, { name: "_tokenGive", type: "address" }, { name: "_amountGive", type: "uint256" }, { name: "_expires", type: "uint256" }, { name: "_nonce", type: "uint256" }], name: "order", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_useEIP712", type: "bool" }], name: "setUseEIP712", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_tokenGet", type: "address" }, { name: "_amountGet", type: "uint256" }, { name: "_tokenGive", type: "address" }, { name: "_amountGive", type: "uint256" }, { name: "_expires", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "cancelOrder", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_amount", type: "uint256" }], name: "withdraw", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_tradeABIHash", type: "bytes32" }], name: "setTradeABIHash", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "depositToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_value", type: "uint256" }, { name: "_feeToken", type: "address" }, { name: "_feeValue", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_user", type: "address" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "withdrawPreSigned", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "depositBoth", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_freezeTrading", type: "bool" }], name: "changeFreezeTrading", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeAccount", type: "address" }], name: "changeFeeAccount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeTake", type: "uint256" }], name: "changeFeeTake", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_admin", type: "address" }], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_tokenAmount", type: "uint256" }, { name: "_ethAmount", type: "uint256" }], name: "withdrawBoth", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_tokenGet", type: "address" }, { name: "_amountGet", type: "uint256" }, { name: "_tokenGive", type: "address" }, { name: "_amountGive", type: "uint256" }, { name: "_expires", type: "uint256" }, { name: "_nonce", type: "uint256" }, { name: "_user", type: "address" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }, { name: "_amount", type: "uint256" }, { name: "_withdraw", type: "bool" }], name: "trade", outputs: [{ name: "", type: "uint256" }], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeAmountThreshold", type: "uint256" }], name: "changeFeeAmountThreshold", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "deposit", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [], name: "setEtherDeltaFees", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_withdrawABIHash", type: "bytes32" }], name: "setWithdrawABIHash", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_tokens", type: "address[]" }, { name: "_amounts", type: "uint256[]" }], name: "withdrawTokenMulti", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: true, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: true, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: true, name: "user", type: "address" }], name: "Order", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: true, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: true, name: "user", type: "address" }, { indexed: false, name: "v", type: "uint8" }, { indexed: false, name: "r", type: "bytes32" }, { indexed: false, name: "s", type: "bytes32" }], name: "Cancel", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: true, name: "get", type: "address" }, { indexed: true, name: "give", type: "address" }, { indexed: false, name: "exchange", type: "uint8" }], name: "Trade", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "token", type: "address" }, { indexed: true, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Deposit", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "token", type: "address" }, { indexed: true, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "balance", type: "uint256" }], name: "Withdraw", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "feeToken", type: "address" }, { indexed: false, name: "feeValue", type: "uint256" }, { indexed: true, name: "feeReceiver", type: "address" }], name: "WithdrawPreSigned", type: "event" }, { anonymous: false, inputs: [{ indexed: true, name: "dex", type: "address" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "amount", type: "uint256" }], name: "Rebalance", type: "event" }],
Enclaves2: [{ constant: false, inputs: [{ name: "_proposedImplementation", type: "address" }], name: "proposeUpgrade", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "upgrade", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "_implementation", type: "address" }], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "_proposedImplementation", type: "address" }, { indexed: false, name: "_proposedTimestamp", type: "uint256" }], name: "UpgradedProposed", type: "event" }],
Ethen: [{ constant: false, inputs: [{ name: "_makeFee", type: "uint256" }], name: "setMakeFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_coeff", type: "uint8" }, { name: "_duration", type: "uint128" }], name: "buyPack", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_takeFee", type: "uint256" }], name: "setTakeFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_coeff", type: "uint8" }, { name: "_duration", type: "uint128" }], name: "delPack", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_nums", type: "uint256[]" }, { name: "_addrs", type: "address[]" }, { name: "_rss", type: "bytes32[]" }], name: "trade", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "depositToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_amount", type: "uint256" }], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_order", type: "uint8" }, { name: "_token", type: "address" }, { name: "_nonce", type: "uint256" }, { name: "_price", type: "uint256" }, { name: "_amount", type: "uint256" }, { name: "_expire", type: "uint256" }, { name: "_v", type: "uint256" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "cancel", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_expireDelay", type: "uint256" }], name: "setExpireDelay", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_addr", type: "address" }], name: "setSigner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "depositEther", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_addr", type: "address" }], name: "setFeeCollector", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_coeff", type: "uint8" }, { name: "_expire", type: "uint128" }, { name: "_v", type: "uint8" }, { name: "_r", type: "bytes32" }, { name: "_s", type: "bytes32" }], name: "setCoeff", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_coeff", type: "uint8" }, { name: "_duration", type: "uint128" }, { name: "_price", type: "uint256" }], name: "addPack", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "makeFee", type: "uint256" }], name: "NewMakeFee", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "takeFee", type: "uint256" }], name: "NewTakeFee", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "user", type: "address" }, { indexed: false, name: "coeff", type: "uint8" }, { indexed: false, name: "expire", type: "uint128" }, { indexed: false, name: "price", type: "uint256" }], name: "NewFeeCoeff", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "total", type: "uint256" }], name: "DepositEther", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "user", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "total", type: "uint256" }], name: "WithdrawEther", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "user", type: "address" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "total", type: "uint256" }], name: "DepositToken", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "user", type: "address" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "amount", type: "uint256" }, { indexed: false, name: "total", type: "uint256" }], name: "WithdrawToken", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "order", type: "uint8" }, { indexed: false, name: "owner", type: "address" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "price", type: "uint256" }, { indexed: false, name: "amount", type: "uint256" }], name: "Cancel", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "orderOwner", type: "address" }, { indexed: false, name: "orderNonce", type: "uint256" }, { indexed: false, name: "orderPrice", type: "uint256" }, { indexed: false, name: "tradeTokens", type: "uint256" }, { indexed: false, name: "orderFilled", type: "uint256" }, { indexed: false, name: "orderOwnerFinalTokens", type: "uint256" }, { indexed: false, name: "orderOwnerFinalEther", type: "uint256" }, { indexed: false, name: "fees", type: "uint256" }], name: "Order", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "trader", type: "address" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "trade", type: "uint256" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "traderFinalTokens", type: "uint256" }, { indexed: false, name: "traderFinalEther", type: "uint256" }], name: "Trade", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "owner", type: "address" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "shouldHaveAmount", type: "uint256" }, { indexed: false, name: "actualAmount", type: "uint256" }], name: "NotEnoughTokens", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "owner", type: "address" }, { indexed: false, name: "shouldHaveAmount", type: "uint256" }, { indexed: false, name: "actualAmount", type: "uint256" }], name: "NotEnoughEther", type: "event" }, { anonymous: false, inputs: [], name: "Pause", type: "event" }, { anonymous: false, inputs: [], name: "Unpause", type: "event" }],
// Dexy: [{constant:false,inputs:[{name:"",type:"address"},{name:"from",type:"address"},{name:"",type:"address"},{name:"amount",type:"uint256"},{name:"",type:"bytes"},{name:"",type:"bytes"}],name:"tokensReceived",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"}],name:"setERC777",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"}],name:"withdrawOverflow",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"},{name:"amount",type:"uint256"}],name:"deposit",outputs:[],payable:true,stateMutability:"payable",type:"function"},{constant:false,inputs:[{name:"spender",type:"address"}],name:"removeSpender",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"}],name:"unsetERC777",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"from",type:"address"},{name:"value",type:"uint256"},{name:"",type:"bytes"}],name:"tokenFallback",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"spender",type:"address"}],name:"approve",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"spender",type:"address"}],name:"addSpender",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"},{name:"from",type:"address"},{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transfer",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"_newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"},{name:"amount",type:"uint256"}],name:"withdraw",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"spender",type:"address"}],name:"unapprove",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{anonymous:false,inputs:[{indexed:true,name:"user",type:"address"},{indexed:false,name:"token",type:"address"},{indexed:false,name:"amount",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"user",type:"address"},{indexed:false,name:"token",type:"address"},{indexed:false,name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"user",type:"address"},{indexed:true,name:"spender",type:"address"}],name:"Approved",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"user",type:"address"},{indexed:true,name:"spender",type:"address"}],name:"Unapproved",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"spender",type:"address"}],name:"AddedSpender",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"spender",type:"address"}],name:"RemovedSpender",type:"event"}],
// Dexy2: [{constant:false,inputs:[{name:"addresses",type:"address[3]"},{name:"values",type:"uint256[4]"},{name:"signature",type:"bytes"},{name:"maxFillAmount",type:"uint256"}],name:"trade",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"_takerFee",type:"uint256"}],name:"setFees",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"_feeAccount",type:"address"}],name:"setFeeAccount",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[],name:"subscribe",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"addresses",type:"address[3]"},{name:"values",type:"uint256[4]"}],name:"cancel",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"addresses",type:"address[2]"},{name:"values",type:"uint256[4]"}],name:"order",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"_newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[{name:"token",type:"address"},{name:"amount",type:"uint256"}],name:"withdraw",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{constant:false,inputs:[],name:"unsubscribe",outputs:[],payable:false,stateMutability:"nonpayable",type:"function"},{anonymous:false,inputs:[{indexed:true,name:"user",type:"address"}],name:"Subscribed",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"user",type:"address"}],name:"Unsubscribed",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"hash",type:"bytes32"}],name:"Cancelled",type:"event"},{anonymous:false,inputs:[{indexed:true,name:"hash",type:"bytes32"},{indexed:false,name:"makerToken",type:"address"},{indexed:false,name:"makerTokenAmount",type:"uint256"},{indexed:false,name:"takerToken",type:"address"},{indexed:false,name:"takerTokenAmount",type:"uint256"},{indexed:false,name:"maker",type:"address"},{indexed:false,name:"taker",type:"address"}],name:"Traded",type:"event"},{anonymous:false,inputs:[{indexed:false,name:"maker",type:"address"},{indexed:false,name:"makerToken",type:"address"},{indexed:false,name:"takerToken",type:"address"},{indexed:false,name:"makerTokenAmount",type:"uint256"},{indexed:false,name:"takerTokenAmount",type:"uint256"},{indexed:false,name:"expires",type:"uint256"},{indexed:false,name:"nonce",type:"uint256"}],name:"Ordered",type:"event"}],
Ethex: [{ constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokenAmount", type: "uint256" }, { name: "weiAmount", type: "uint256" }, { name: "seller", type: "address" }], name: "takeSellOrder", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "makeFee_", type: "uint256" }], name: "changeMakeFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokenAmount", type: "uint256" }], name: "makeBuyOrder", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokenAmount", type: "uint256" }, { name: "weiAmount", type: "uint256" }], name: "cancelAllBuyOrders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokenAmount", type: "uint256" }, { name: "weiAmount", type: "uint256" }], name: "makeSellOrder", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "feeAccount_", type: "address" }], name: "changeFeeAccount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokenAmount", type: "uint256" }, { name: "weiAmount", type: "uint256" }, { name: "totalTokens", type: "uint256" }, { name: "buyer", type: "address" }], name: "takeBuyOrder", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "admin_", type: "address" }], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_lastFreeBlock", type: "uint256" }], name: "changeLastFreeBlock", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "etxAddress_", type: "address" }], name: "changeETXAddress", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokenAmount", type: "uint256" }, { name: "weiAmount", type: "uint256" }], name: "cancelAllSellOrders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "takeFee_", type: "uint256" }], name: "changeTakeFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "orderHash", type: "bytes32" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "tokenAmount", type: "uint256" }, { indexed: false, name: "weiAmount", type: "uint256" }, { indexed: true, name: "buyer", type: "address" }], name: "MakeBuyOrder", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "orderHash", type: "bytes32" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "tokenAmount", type: "uint256" }, { indexed: false, name: "weiAmount", type: "uint256" }, { indexed: true, name: "seller", type: "address" }], name: "MakeSellOrder", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "orderHash", type: "bytes32" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "tokenAmount", type: "uint256" }, { indexed: false, name: "weiAmount", type: "uint256" }, { indexed: true, name: "buyer", type: "address" }], name: "CancelBuyOrder", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "orderHash", type: "bytes32" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "tokenAmount", type: "uint256" }, { indexed: false, name: "weiAmount", type: "uint256" }, { indexed: true, name: "seller", type: "address" }], name: "CancelSellOrder", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "orderHash", type: "bytes32" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "tokenAmount", type: "uint256" }, { indexed: false, name: "weiAmount", type: "uint256" }, { indexed: false, name: "totalTransactionTokens", type: "uint256" }, { indexed: true, name: "buyer", type: "address" }, { indexed: true, name: "seller", type: "address" }], name: "TakeBuyOrder", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "orderHash", type: "bytes32" }, { indexed: true, name: "token", type: "address" }, { indexed: false, name: "tokenAmount", type: "uint256" }, { indexed: false, name: "weiAmount", type: "uint256" }, { indexed: false, name: "totalTransactionWei", type: "uint256" }, { indexed: true, name: "buyer", type: "address" }, { indexed: true, name: "seller", type: "address" }], name: "TakeSellOrder", type: "event" }],
//EtherC only the functions different from ED/TokenStore
Etherc: [{ constant: false, inputs: [{ name: "_tradeTracker", type: "address" }], name: "changeTradeTracker", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeModifiers", type: "address" }], name: "changeFeeModifiers", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeMake", type: "uint256" }], name: "changeFeeMake", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeAccount", type: "address" }], name: "changeFeeAccount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_feeTake", type: "uint256" }], name: "changeFeeTake", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_token", type: "address" }, { name: "_amount", type: "uint256" }], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "expires", type: "uint256" }, { indexed: false, name: "nonce", type: "uint256" }, { indexed: false, name: "maker", type: "address" }, { indexed: false, name: "v", type: "uint8" }, { indexed: false, name: "r", type: "bytes32" }, { indexed: false, name: "s", type: "bytes32" }, { indexed: false, name: "orderHash", type: "bytes32" }, { indexed: false, name: "amountFilled", type: "uint256" }], name: "Cancel", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "tokenGet", type: "address" }, { indexed: false, name: "amountGet", type: "uint256" }, { indexed: false, name: "tokenGive", type: "address" }, { indexed: false, name: "amountGive", type: "uint256" }, { indexed: false, name: "maker", type: "address" }, { indexed: false, name: "taker", type: "address" }, { indexed: false, name: "orderHash", type: "bytes32" }], name: "Trade", type: "event" }],
EasyTrade: [{ constant: false, inputs: [{ name: "amount", type: "uint256" }], name: "withdrawFees", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "feeAccount_", type: "address" }], name: "changeFeeAccount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "admin_", type: "address" }], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokensTotal", type: "uint256" }, { name: "ethersTotal", type: "uint256" }, { name: "exchanges", type: "uint8[]" }, { name: "orderAddresses", type: "address[5][]" }, { name: "orderValues", type: "uint256[6][]" }, { name: "exchangeFees", type: "uint256[]" }, { name: "v", type: "uint8[]" }, { name: "r", type: "bytes32[]" }, { name: "s", type: "bytes32[]" }], name: "createSellOrder", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "amount", type: "uint256" }], name: "withdrawZRX", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "token", type: "address" }, { name: "tokensTotal", type: "uint256" }, { name: "exchanges", type: "uint8[]" }, { name: "orderAddresses", type: "address[5][]" }, { name: "orderValues", type: "uint256[6][]" }, { name: "exchangeFees", type: "uint256[]" }, { name: "v", type: "uint8[]" }, { name: "r", type: "bytes32[]" }, { name: "s", type: "bytes32[]" }], name: "createBuyOrder", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "serviceFee_", type: "uint256" }], name: "changeFeePercentage", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "account", type: "address" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "tokens", type: "uint256" }, { indexed: false, name: "ethers", type: "uint256" }, { indexed: false, name: "tokensSold", type: "uint256" }, { indexed: false, name: "ethersObtained", type: "uint256" }, { indexed: false, name: "tokensRefunded", type: "uint256" }], name: "FillSellOrder", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "account", type: "address" }, { indexed: false, name: "token", type: "address" }, { indexed: false, name: "tokens", type: "uint256" }, { indexed: false, name: "ethers", type: "uint256" }, { indexed: false, name: "tokensObtained", type: "uint256" }, { indexed: false, name: "ethersSpent", type: "uint256" }, { indexed: false, name: "ethersRefunded", type: "uint256" }], name: "FillBuyOrder", type: "event" }],
EasyTrade2: [{ constant: false, inputs: [{ name: "enabled", type: "bool" }], name: "changeTradingEnabled", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "tradeable", type: "address" }, { name: "volume", type: "uint256" }, { name: "ordersData", type: "bytes" }, { name: "destinationAddr", type: "address" }, { name: "affiliate", type: "address" }], name: "buy", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [{ name: "_feeWallet", type: "address" }], name: "changeFeeWallet", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "tradeable", type: "address" }, { name: "volume", type: "uint256" }, { name: "volumeEth", type: "uint256" }, { name: "ordersData", type: "bytes" }, { name: "destinationAddr", type: "address" }, { name: "affiliate", type: "address" }], name: "sell", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_traders", type: "address" }], name: "changeTraders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [{ indexed: false, name: "account", type: "address" }, { indexed: false, name: "destinationAddr", type: "address" }, { indexed: false, name: "traedeable", type: "address" }, { indexed: false, name: "volume", type: "uint256" }, { indexed: false, name: "volumeEth", type: "uint256" }, { indexed: false, name: "volumeEffective", type: "uint256" }, { indexed: false, name: "volumeEthEffective", type: "uint256" }], name: "Sell", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "account", type: "address" }, { indexed: false, name: "destinationAddr", type: "address" }, { indexed: false, name: "traedeable", type: "address" }, { indexed: false, name: "volume", type: "uint256" }, { indexed: false, name: "volumeEth", type: "uint256" }, { indexed: false, name: "volumeEffective", type: "uint256" }, { indexed: false, name: "volumeEthEffective", type: "uint256" }], name: "Buy", type: "event" }],
InstantTrade: [{constant:false,inputs:[{name:"_tokenGet",type:"address"},{name:"_amountGet",type:"uint256"},{name:"_tokenGive",type:"address"},{name:"_amountGive",type:"uint256"},{name:"_expires",type:"uint256"},{name:"_nonce",type:"uint256"},{name:"_user",type:"address"},{name:"_v",type:"uint8"},{name:"_r",type:"bytes32"},{name:"_s",type:"bytes32"},{name:"_amount",type:"uint256"},{name:"_store",type:"address"}],name:"instantTrade",outputs:[],payable:true,stateMutability:"payable",type:"function"}],
},
//First block on day 1 of month, UTC time (feb 2017 is feb 9, etherdelta contract deployment date)
blockMonths: [
{ m: "Feb 2017", blockFrom: 3154196, blockTo: 3269188 },
{ m: "Mar 2017", blockFrom: 3269188, blockTo: 3454529 },
{ m: "Apr 2017", blockFrom: 3454529, blockTo: 3629091 },
{ m: "May 2017", blockFrom: 3629091, blockTo: 3800776 },
{ m: "Jun 2017", blockFrom: 3800776, blockTo: 3955159 },
{ m: "Jul 2017", blockFrom: 3955159, blockTo: 4101695 },
{ m: "Aug 2017", blockFrom: 4101695, blockTo: 4225038 },
{ m: "Sept 2017", blockFrom: 4225038, blockTo: 4326061 },
{ m: "Oct 2017", blockFrom: 4326061, blockTo: 4467005 },
{ m: "Nov 2017", blockFrom: 4467005, blockTo: 4652926 },
{ m: "Dec 2017", blockFrom: 4652926, blockTo: 4832686 },
{ m: "Jan 2018", blockFrom: 4832686, blockTo: 5008422 },
{ m: "Feb 2018", blockFrom: 5008422, blockTo: 5174125 },
{ m: "Mar 2018", blockFrom: 5174125, blockTo: 5357795 },
{ m: "Apr 2018", blockFrom: 5357795, blockTo: 5534863 },
{ m: "May 2018", blockFrom: 5534863, blockTo: 5710964 },
{ m: "Jun 2018", blockFrom: 5710964, blockTo: 5883490 },
{ m: "Jul 2018", blockFrom: 5883490, blockTo: 6065980 },
{ m: "Aug 2018", blockFrom: 6065980, blockTo: 6249399 },
{ m: "Sept 2018", blockFrom: 6249399, blockTo: 6430273 },
{ m: "Oct 2018", blockFrom: 6430273, blockTo: 6620476 },
],
history: {
EtherDelta: {
contract: 'EtherDelta', //contract variable in exchangeContracts
minBlock: 3154197,
tradeTopic: '0x6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d',
withdrawTopic: '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567',
depositTopic: '0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7',
createTx: '0xc10fc67499a037b6c2f14ae0c63b659b05bd7b553378202f96e777dd4843130f',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
Decentrex: {
contract: 'Decentrex',
minBlock: 3767902,
tradeTopic: '0x6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d',
withdrawTopic: '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567',
depositTopic: '0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7',
createTx: '0x1b2ff86bbf91feb9ef7f5310dd258137e034d65f6e99ea432fa98a933a2ffecd',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
'Token store': {
contract: 'TokenStore',
minBlock: 4097029,
tradeTopic: '0x3314c351c2a2a45771640a1442b843167a4da29bd543612311c031bbfb4ffa98',
withdrawTopic: '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567',
depositTopic: '0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7',
createTx: '0x386439acefbf00018b318f283a9ebc6185c483ff6738117243dba40fc1b42bb6',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
'0x Protocol v1': {
contract: '0x',
minBlock: 4145578,
tradeTopic: '0x0d0b9391970d9a25552f37d436d2aae2925e2bfe1b2a923754bada030c498cb3',
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x4ba480054e660dd81dea5d9ffcdc12a355650762d6997f181c9fe2ec6fa96f6e',
userIndexed: false, // only if maker
showExchange: true,
hideFees: false,
hideOpponent: false,
},
'Ethfinex': { //0x v1 clone
contract: 'Ethfinex',
minBlock: 6293901,
tradeTopic: '0x0d0b9391970d9a25552f37d436d2aae2925e2bfe1b2a923754bada030c498cb3',
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x5a1fd20ae25f77649d04fdf1439feb555ec9de275b29a83f6c4b12ee2fb5480a',
userIndexed: false, // only if maker
showExchange: true,
hideFees: false,
hideOpponent: false,
},
'0x Protocol v2': {
contract: '0x2',
minBlock: 6271590,
tradeTopic: '0x0bcc4c97732e47d9946f229edb95f5b6323f601300e4690de719993f3c371129',
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x4a03044699c2fbd256e21632a6d8fbfc27655ea711157fa8b2b917f0eb954cea',
userIndexed: false, // only if maker
showExchange: true,
hideFees: false,
hideOpponent: false,
},
OasisDex: {
contract: ['OasisDex', 'OasisDexOld', 'OasisDexOld2'],
minBlock: 3435757, //4262057, //4751582,
tradeTopic: '0x3383e3357c77fd2e3a4b30deea81179bc70a795d053d14d5b7f2f01d0fd4596f', // LogTake
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x1f28edb2288fbd6b97886ea96d8066bde577a038a5aeb908400f32bc237b01ab',
//'0xdc8a9aff20f869e63f1a71c9a40e13fc4a1284988b9988b0bdf0ccffc9a1bbbc', //'0xdfe4f91325cd74cce7d3f2d53cc0592af09ee74a58935523b404a02c1db9165f',
userIndexed: false,
showExchange: false,
hideFees: true,
hideOpponent: false,
},
AirSwap: {
contract: 'AirSwap',
minBlock: 4349701,
tradeTopic: '0xe59c5e56d85b2124f5e7f82cb5fcc6d28a4a241a9bdd732704ac9d3b6bfc98ab', //Fill
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0xb5ddd56f449b623f1073535154356849deb8d37cf89140c9d6c07f14a04bc1a2',
userIndexed: false,
showExchange: false,
hideFees: true,
hideOpponent: false,
},
Kyber: {
contract: ['Kyber', 'Kyber2Proxy'],
minBlock: 5049196,
tradeTopic: '0x1849bd6a030a1bca28b83437fd3de96f3d27a5d172fa7e9c78e7b61468928a39', // ExecuteTrade
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x4f76c7f8627440a0fdedd50866f17e1b6a99255479dc8dce6be800c86e8f6e54',
userIndexed: true,
userTopic: 1,
showExchange: false,
hideFees: true,
hideOpponent: true,
},
Enclaves: {
contract: 'Enclaves',
minBlock: 5446248,
tradeTopic: '0x7b6c917cd708d6f749ab415a0f1aa5ced6110d03141d28e5b75e216ecb4e79f7',
withdrawTopic: '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567',
depositTopic: '0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7',
createTx: '0x9f314254a972db7d6967d929c3e576240b2bbfb7b24ff5b38ca73f83cb49c072',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
ETHEN: {
contract: 'Ethen',
minBlock: 5354266,
tradeTopic: [
'0x165223f17116d321e4ef371cbdb122aa350ce59db46ff8f575874758c14a3ef0', // Ethen 1/2 'Order'
'0xee7e85974085b8a74acdea8330a9e8c09680dccea6f6df360491edf22a27cc3b', // Ethen 2/2 'Trade'
],
withdrawTopic: ['0xfd68f27313402be52d2f46b6d391b7b8657000a3062853a4be930f1281072a01', '0xa69fc39b702a6e8195370ae2252cc11b4445837cc4abe15ac39123f2f2d8770d'],
depositTopic: ['0xbb01c612a93e37305a5f1f7b8ed63ea61211be444f722915b9dc827c0bdbffcc', '0x20d6bac8359f33d79581bfd2b0457cb189fda6d90fed287ddc9f2ba3eb124b67'],
createTx: '0x9fc7d3e77c02fb00c537640114369ec5f1fbf748ac69a819c2d6dddbf08279b1',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
ETHEX: {
contract: 'Ethex',
minBlock: 5026534,
tradeTopic: [
'0x4a42a397fcad5d4d60ebf2e7cf663489e687e9c6d2d2cf518488fc78044815ba', // take sell
'0x8de9ee05a363c847bda3ed15fc9011be60b55c7cf2e7c024c173859ed2d3760c', // take buy
],
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x7c50c240caa6aceb49d5d315bf959387f0d092b972185b000f1e4e77d4789d77',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
EasyTrade: {
contract: ['EasyTrade', 'EasyTrade2'],
minBlock: 5045834,
tradeTopic: [
'0x4c5de51a00fa52b3d883d5627b5d614583a2f5eec10c63c6efe8a6f1f68b11e3', // Buy (v2)
'0x2182e4add8250752f872eda9b48eab6b84aa81f99ee69c557acfbf103828083c', // Sell (v2)
'0xe26e8d84f7ed98fa72d63fa1c1214ede1ac33f01853fc7ecba14153893fc75f5', // FillSellOrder
'0xa6ddcc9603775cbdbc6af5fc55608e5b392f9c04a446106e0fe78e12813640bd', // FillBuyOrder
],
withdrawTopic: undefined,
depositTopic: undefined,
createTx: '0x88c95f4369aba78edda75389faaa1d80c93e3a20f9b23da385ad221598151c5a',
userIndexed: false,
showExchange: false,
hideFees: true,
hideOpponent: true,
},
SingularX: {
contract: 'Singularx',
minBlock: 4504709,
tradeTopic: '0x6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d',
withdrawTopic: '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567',
depositTopic: '0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7',
createTx: '0x3693cdf7af88c0ccc01f32dddde09e2012afb598a0c6913cb7d730e0a04cfb3f',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
},
EtherC: {
contract: 'EtherC',
minBlock: 5474977,
tradeTopic: '0x68381874bf7a1a19bfeecb18abbaa22f0fc7892cfec46e7dd4ea9b3688419d18',
withdrawTopic: '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567',
depositTopic: '0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7',
createTx: '0x1d1e714a8ec7c0657e70822b8f83778779e3073c010324c9ff2271fb7e859d5c',
userIndexed: false,
showExchange: false,
hideFees: false,
hideOpponent: false,
}
}
};
},{}]},{},[]);