defi-state-querier 0.4.25__py3-none-any.whl → 0.4.27__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/vault/lido/__init__.py +0 -0
  3. defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
  4. defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
  5. defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
  6. defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
  7. defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
  8. defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
  9. defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
  10. defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
  11. defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
  12. defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
  13. defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
  14. defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
  15. defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
  16. defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
  17. defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
  18. defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
  19. defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
  20. defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
  21. defi_services/abis/vault/lido/lido_burner.py +698 -0
  22. defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
  23. defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
  24. defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
  25. defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
  26. defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
  27. defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
  28. defi_services/abis/vault/lido/lido_dao.py +623 -0
  29. defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
  30. defi_services/abis/vault/lido/lido_dao_token.py +590 -0
  31. defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
  32. defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
  33. defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
  34. defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
  35. defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
  36. defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
  37. defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
  38. defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
  39. defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
  40. defi_services/abis/vault/lido/lido_locator.py +357 -0
  41. defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
  42. defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
  43. defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
  44. defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
  45. defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
  46. defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
  47. defi_services/abis/vault/lido/lido_steth.py +1604 -0
  48. defi_services/abis/vault/lido/lido_stonks.py +744 -0
  49. defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
  50. defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
  51. defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
  52. defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
  53. defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
  54. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
  55. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
  56. defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
  57. defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
  58. defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
  59. defi_services/abis/vault/lido/lido_wsteth.py +481 -0
  60. defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
  61. defi_services/jobs/processors/multi_state_processor.py +2 -2
  62. defi_services/jobs/processors/state_processor.py +2 -2
  63. defi_services/jobs/queriers/state_querier.py +4 -4
  64. defi_services/services/dex/pancakeswap_service.py +1 -1
  65. defi_services/services/dex/pancakeswap_v2_service.py +1 -1
  66. defi_services/services/dex/uniswap_v2_service.py +1 -1
  67. defi_services/services/dex/uniswap_v3_service.py +2 -2
  68. defi_services/services/lending/aave_v2_services.py +2 -2
  69. defi_services/services/lending/aave_v3_services.py +4 -4
  70. defi_services/services/lending/apeswap_services.py +3 -3
  71. defi_services/services/lending/compound_service.py +3 -3
  72. defi_services/services/lending/compound_v3_services.py +1 -1
  73. defi_services/services/lending/flux_services.py +3 -3
  74. defi_services/services/lending/granary_services.py +1 -1
  75. defi_services/services/lending/iron_bank_service.py +4 -4
  76. defi_services/services/lending/justlend_service.py +3 -3
  77. defi_services/services/lending/liqee_service.py +3 -3
  78. defi_services/services/lending/morpho_aave_v2_services.py +2 -2
  79. defi_services/services/lending/morpho_aave_v3_services.py +2 -2
  80. defi_services/services/lending/morpho_compound_services.py +5 -5
  81. defi_services/services/lending/onyx_service.py +4 -4
  82. defi_services/services/lending/silo_services.py +3 -3
  83. defi_services/services/lending/strike_service.py +3 -3
  84. defi_services/services/lending/trava_services.py +2 -2
  85. defi_services/services/lending/uwu_services.py +2 -2
  86. defi_services/services/lending/valas_services.py +1 -1
  87. defi_services/services/lending/venus_services.py +7 -7
  88. defi_services/services/lending/wepiggy_services.py +4 -4
  89. defi_services/services/token_services.py +1 -1
  90. defi_services/utils/convert_address.py +2 -2
  91. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
  92. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +95 -36
  93. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
  94. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
  95. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1013 @@
1
+ import json
2
+
3
+ LIDO_ARAGON_FINANCE_ABI = json.loads('''
4
+ [
5
+ {
6
+ "constant": true,
7
+ "inputs": [],
8
+ "name": "hasInitialized",
9
+ "outputs": [
10
+ {
11
+ "name": "",
12
+ "type": "bool"
13
+ }
14
+ ],
15
+ "payable": false,
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "constant": true,
21
+ "inputs": [],
22
+ "name": "CREATE_PAYMENTS_ROLE",
23
+ "outputs": [
24
+ {
25
+ "name": "",
26
+ "type": "bytes32"
27
+ }
28
+ ],
29
+ "payable": false,
30
+ "stateMutability": "view",
31
+ "type": "function"
32
+ },
33
+ {
34
+ "constant": false,
35
+ "inputs": [
36
+ {
37
+ "name": "_token",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "name": "_receiver",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "name": "_amount",
46
+ "type": "uint256"
47
+ },
48
+ {
49
+ "name": "_initialPaymentTime",
50
+ "type": "uint64"
51
+ },
52
+ {
53
+ "name": "_interval",
54
+ "type": "uint64"
55
+ },
56
+ {
57
+ "name": "_maxExecutions",
58
+ "type": "uint64"
59
+ },
60
+ {
61
+ "name": "_reference",
62
+ "type": "string"
63
+ }
64
+ ],
65
+ "name": "newScheduledPayment",
66
+ "outputs": [
67
+ {
68
+ "name": "paymentId",
69
+ "type": "uint256"
70
+ }
71
+ ],
72
+ "payable": false,
73
+ "stateMutability": "nonpayable",
74
+ "type": "function"
75
+ },
76
+ {
77
+ "constant": false,
78
+ "inputs": [
79
+ {
80
+ "name": "_paymentId",
81
+ "type": "uint256"
82
+ }
83
+ ],
84
+ "name": "executePayment",
85
+ "outputs": [],
86
+ "payable": false,
87
+ "stateMutability": "nonpayable",
88
+ "type": "function"
89
+ },
90
+ {
91
+ "constant": false,
92
+ "inputs": [
93
+ {
94
+ "name": "_vault",
95
+ "type": "address"
96
+ },
97
+ {
98
+ "name": "_periodDuration",
99
+ "type": "uint64"
100
+ }
101
+ ],
102
+ "name": "initialize",
103
+ "outputs": [],
104
+ "payable": false,
105
+ "stateMutability": "nonpayable",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "constant": false,
110
+ "inputs": [
111
+ {
112
+ "name": "_token",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "name": "removeBudget",
117
+ "outputs": [],
118
+ "payable": false,
119
+ "stateMutability": "nonpayable",
120
+ "type": "function"
121
+ },
122
+ {
123
+ "constant": true,
124
+ "inputs": [
125
+ {
126
+ "name": "_token",
127
+ "type": "address"
128
+ }
129
+ ],
130
+ "name": "getBudget",
131
+ "outputs": [
132
+ {
133
+ "name": "budget",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "name": "hasBudget",
138
+ "type": "bool"
139
+ }
140
+ ],
141
+ "payable": false,
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "constant": true,
147
+ "inputs": [
148
+ {
149
+ "name": "_script",
150
+ "type": "bytes"
151
+ }
152
+ ],
153
+ "name": "getEVMScriptExecutor",
154
+ "outputs": [
155
+ {
156
+ "name": "",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "payable": false,
161
+ "stateMutability": "view",
162
+ "type": "function"
163
+ },
164
+ {
165
+ "constant": false,
166
+ "inputs": [
167
+ {
168
+ "name": "_paymentId",
169
+ "type": "uint256"
170
+ },
171
+ {
172
+ "name": "_active",
173
+ "type": "bool"
174
+ }
175
+ ],
176
+ "name": "setPaymentStatus",
177
+ "outputs": [],
178
+ "payable": false,
179
+ "stateMutability": "nonpayable",
180
+ "type": "function"
181
+ },
182
+ {
183
+ "constant": true,
184
+ "inputs": [
185
+ {
186
+ "name": "_paymentId",
187
+ "type": "uint256"
188
+ }
189
+ ],
190
+ "name": "getPayment",
191
+ "outputs": [
192
+ {
193
+ "name": "token",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "name": "receiver",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "name": "amount",
202
+ "type": "uint256"
203
+ },
204
+ {
205
+ "name": "initialPaymentTime",
206
+ "type": "uint64"
207
+ },
208
+ {
209
+ "name": "interval",
210
+ "type": "uint64"
211
+ },
212
+ {
213
+ "name": "maxExecutions",
214
+ "type": "uint64"
215
+ },
216
+ {
217
+ "name": "inactive",
218
+ "type": "bool"
219
+ },
220
+ {
221
+ "name": "executions",
222
+ "type": "uint64"
223
+ },
224
+ {
225
+ "name": "createdBy",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "payable": false,
230
+ "stateMutability": "view",
231
+ "type": "function"
232
+ },
233
+ {
234
+ "constant": true,
235
+ "inputs": [],
236
+ "name": "getRecoveryVault",
237
+ "outputs": [
238
+ {
239
+ "name": "",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "payable": false,
244
+ "stateMutability": "view",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "constant": true,
249
+ "inputs": [
250
+ {
251
+ "name": "_transactionId",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "getTransaction",
256
+ "outputs": [
257
+ {
258
+ "name": "periodId",
259
+ "type": "uint64"
260
+ },
261
+ {
262
+ "name": "amount",
263
+ "type": "uint256"
264
+ },
265
+ {
266
+ "name": "paymentId",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "name": "paymentExecutionNumber",
271
+ "type": "uint64"
272
+ },
273
+ {
274
+ "name": "token",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "name": "entity",
279
+ "type": "address"
280
+ },
281
+ {
282
+ "name": "isIncoming",
283
+ "type": "bool"
284
+ },
285
+ {
286
+ "name": "date",
287
+ "type": "uint64"
288
+ }
289
+ ],
290
+ "payable": false,
291
+ "stateMutability": "view",
292
+ "type": "function"
293
+ },
294
+ {
295
+ "constant": true,
296
+ "inputs": [],
297
+ "name": "CHANGE_PERIOD_ROLE",
298
+ "outputs": [
299
+ {
300
+ "name": "",
301
+ "type": "bytes32"
302
+ }
303
+ ],
304
+ "payable": false,
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "constant": true,
310
+ "inputs": [],
311
+ "name": "CHANGE_BUDGETS_ROLE",
312
+ "outputs": [
313
+ {
314
+ "name": "",
315
+ "type": "bytes32"
316
+ }
317
+ ],
318
+ "payable": false,
319
+ "stateMutability": "view",
320
+ "type": "function"
321
+ },
322
+ {
323
+ "constant": false,
324
+ "inputs": [
325
+ {
326
+ "name": "_paymentId",
327
+ "type": "uint256"
328
+ }
329
+ ],
330
+ "name": "receiverExecutePayment",
331
+ "outputs": [],
332
+ "payable": false,
333
+ "stateMutability": "nonpayable",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "constant": true,
338
+ "inputs": [
339
+ {
340
+ "name": "_periodId",
341
+ "type": "uint64"
342
+ }
343
+ ],
344
+ "name": "getPeriod",
345
+ "outputs": [
346
+ {
347
+ "name": "isCurrent",
348
+ "type": "bool"
349
+ },
350
+ {
351
+ "name": "startTime",
352
+ "type": "uint64"
353
+ },
354
+ {
355
+ "name": "endTime",
356
+ "type": "uint64"
357
+ },
358
+ {
359
+ "name": "firstTransactionId",
360
+ "type": "uint256"
361
+ },
362
+ {
363
+ "name": "lastTransactionId",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "payable": false,
368
+ "stateMutability": "view",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "constant": false,
373
+ "inputs": [
374
+ {
375
+ "name": "_periodDuration",
376
+ "type": "uint64"
377
+ }
378
+ ],
379
+ "name": "setPeriodDuration",
380
+ "outputs": [],
381
+ "payable": false,
382
+ "stateMutability": "nonpayable",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "constant": true,
387
+ "inputs": [],
388
+ "name": "periodsLength",
389
+ "outputs": [
390
+ {
391
+ "name": "",
392
+ "type": "uint64"
393
+ }
394
+ ],
395
+ "payable": false,
396
+ "stateMutability": "view",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "constant": false,
401
+ "inputs": [
402
+ {
403
+ "name": "_token",
404
+ "type": "address"
405
+ },
406
+ {
407
+ "name": "_amount",
408
+ "type": "uint256"
409
+ }
410
+ ],
411
+ "name": "setBudget",
412
+ "outputs": [],
413
+ "payable": false,
414
+ "stateMutability": "nonpayable",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "constant": true,
419
+ "inputs": [
420
+ {
421
+ "name": "",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "name": "allowRecoverability",
426
+ "outputs": [
427
+ {
428
+ "name": "",
429
+ "type": "bool"
430
+ }
431
+ ],
432
+ "payable": false,
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "constant": true,
438
+ "inputs": [],
439
+ "name": "appId",
440
+ "outputs": [
441
+ {
442
+ "name": "",
443
+ "type": "bytes32"
444
+ }
445
+ ],
446
+ "payable": false,
447
+ "stateMutability": "view",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "constant": true,
452
+ "inputs": [],
453
+ "name": "getInitializationBlock",
454
+ "outputs": [
455
+ {
456
+ "name": "",
457
+ "type": "uint256"
458
+ }
459
+ ],
460
+ "payable": false,
461
+ "stateMutability": "view",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "constant": false,
466
+ "inputs": [
467
+ {
468
+ "name": "_token",
469
+ "type": "address"
470
+ }
471
+ ],
472
+ "name": "recoverToVault",
473
+ "outputs": [],
474
+ "payable": false,
475
+ "stateMutability": "nonpayable",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "constant": true,
480
+ "inputs": [],
481
+ "name": "EXECUTE_PAYMENTS_ROLE",
482
+ "outputs": [
483
+ {
484
+ "name": "",
485
+ "type": "bytes32"
486
+ }
487
+ ],
488
+ "payable": false,
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "constant": true,
494
+ "inputs": [],
495
+ "name": "currentPeriodId",
496
+ "outputs": [
497
+ {
498
+ "name": "",
499
+ "type": "uint64"
500
+ }
501
+ ],
502
+ "payable": false,
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "constant": false,
508
+ "inputs": [
509
+ {
510
+ "name": "_token",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "name": "transferToVault",
515
+ "outputs": [],
516
+ "payable": false,
517
+ "stateMutability": "nonpayable",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "constant": true,
522
+ "inputs": [
523
+ {
524
+ "name": "_sender",
525
+ "type": "address"
526
+ },
527
+ {
528
+ "name": "_role",
529
+ "type": "bytes32"
530
+ },
531
+ {
532
+ "name": "_params",
533
+ "type": "uint256[]"
534
+ }
535
+ ],
536
+ "name": "canPerform",
537
+ "outputs": [
538
+ {
539
+ "name": "",
540
+ "type": "bool"
541
+ }
542
+ ],
543
+ "payable": false,
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "constant": true,
549
+ "inputs": [],
550
+ "name": "getEVMScriptRegistry",
551
+ "outputs": [
552
+ {
553
+ "name": "",
554
+ "type": "address"
555
+ }
556
+ ],
557
+ "payable": false,
558
+ "stateMutability": "view",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "constant": false,
563
+ "inputs": [
564
+ {
565
+ "name": "_maxTransitions",
566
+ "type": "uint64"
567
+ }
568
+ ],
569
+ "name": "tryTransitionAccountingPeriod",
570
+ "outputs": [
571
+ {
572
+ "name": "success",
573
+ "type": "bool"
574
+ }
575
+ ],
576
+ "payable": false,
577
+ "stateMutability": "nonpayable",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "constant": true,
582
+ "inputs": [],
583
+ "name": "getPeriodDuration",
584
+ "outputs": [
585
+ {
586
+ "name": "",
587
+ "type": "uint64"
588
+ }
589
+ ],
590
+ "payable": false,
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "constant": false,
596
+ "inputs": [
597
+ {
598
+ "name": "_token",
599
+ "type": "address"
600
+ },
601
+ {
602
+ "name": "_amount",
603
+ "type": "uint256"
604
+ },
605
+ {
606
+ "name": "_reference",
607
+ "type": "string"
608
+ }
609
+ ],
610
+ "name": "deposit",
611
+ "outputs": [],
612
+ "payable": true,
613
+ "stateMutability": "payable",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "constant": true,
618
+ "inputs": [
619
+ {
620
+ "name": "_paymentId",
621
+ "type": "uint256"
622
+ }
623
+ ],
624
+ "name": "nextPaymentTime",
625
+ "outputs": [
626
+ {
627
+ "name": "",
628
+ "type": "uint64"
629
+ }
630
+ ],
631
+ "payable": false,
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "constant": true,
637
+ "inputs": [
638
+ {
639
+ "name": "_periodId",
640
+ "type": "uint64"
641
+ },
642
+ {
643
+ "name": "_token",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "name": "getPeriodTokenStatement",
648
+ "outputs": [
649
+ {
650
+ "name": "expenses",
651
+ "type": "uint256"
652
+ },
653
+ {
654
+ "name": "income",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "payable": false,
659
+ "stateMutability": "view",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "constant": true,
664
+ "inputs": [],
665
+ "name": "kernel",
666
+ "outputs": [
667
+ {
668
+ "name": "",
669
+ "type": "address"
670
+ }
671
+ ],
672
+ "payable": false,
673
+ "stateMutability": "view",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "constant": true,
678
+ "inputs": [],
679
+ "name": "paymentsNextIndex",
680
+ "outputs": [
681
+ {
682
+ "name": "",
683
+ "type": "uint256"
684
+ }
685
+ ],
686
+ "payable": false,
687
+ "stateMutability": "view",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "constant": true,
692
+ "inputs": [],
693
+ "name": "isPetrified",
694
+ "outputs": [
695
+ {
696
+ "name": "",
697
+ "type": "bool"
698
+ }
699
+ ],
700
+ "payable": false,
701
+ "stateMutability": "view",
702
+ "type": "function"
703
+ },
704
+ {
705
+ "constant": true,
706
+ "inputs": [
707
+ {
708
+ "name": "_token",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "name": "_amount",
713
+ "type": "uint256"
714
+ }
715
+ ],
716
+ "name": "canMakePayment",
717
+ "outputs": [
718
+ {
719
+ "name": "",
720
+ "type": "bool"
721
+ }
722
+ ],
723
+ "payable": false,
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "constant": true,
729
+ "inputs": [],
730
+ "name": "MANAGE_PAYMENTS_ROLE",
731
+ "outputs": [
732
+ {
733
+ "name": "",
734
+ "type": "bytes32"
735
+ }
736
+ ],
737
+ "payable": false,
738
+ "stateMutability": "view",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "constant": true,
743
+ "inputs": [],
744
+ "name": "transactionsNextIndex",
745
+ "outputs": [
746
+ {
747
+ "name": "",
748
+ "type": "uint256"
749
+ }
750
+ ],
751
+ "payable": false,
752
+ "stateMutability": "view",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "constant": true,
757
+ "inputs": [
758
+ {
759
+ "name": "_token",
760
+ "type": "address"
761
+ }
762
+ ],
763
+ "name": "getRemainingBudget",
764
+ "outputs": [
765
+ {
766
+ "name": "",
767
+ "type": "uint256"
768
+ }
769
+ ],
770
+ "payable": false,
771
+ "stateMutability": "view",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "constant": false,
776
+ "inputs": [
777
+ {
778
+ "name": "_token",
779
+ "type": "address"
780
+ },
781
+ {
782
+ "name": "_receiver",
783
+ "type": "address"
784
+ },
785
+ {
786
+ "name": "_amount",
787
+ "type": "uint256"
788
+ },
789
+ {
790
+ "name": "_reference",
791
+ "type": "string"
792
+ }
793
+ ],
794
+ "name": "newImmediatePayment",
795
+ "outputs": [],
796
+ "payable": false,
797
+ "stateMutability": "nonpayable",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "constant": true,
802
+ "inputs": [],
803
+ "name": "vault",
804
+ "outputs": [
805
+ {
806
+ "name": "",
807
+ "type": "address"
808
+ }
809
+ ],
810
+ "payable": false,
811
+ "stateMutability": "view",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "payable": true,
816
+ "stateMutability": "payable",
817
+ "type": "fallback"
818
+ },
819
+ {
820
+ "anonymous": false,
821
+ "inputs": [
822
+ {
823
+ "indexed": true,
824
+ "name": "periodId",
825
+ "type": "uint64"
826
+ },
827
+ {
828
+ "indexed": false,
829
+ "name": "periodStarts",
830
+ "type": "uint64"
831
+ },
832
+ {
833
+ "indexed": false,
834
+ "name": "periodEnds",
835
+ "type": "uint64"
836
+ }
837
+ ],
838
+ "name": "NewPeriod",
839
+ "type": "event"
840
+ },
841
+ {
842
+ "anonymous": false,
843
+ "inputs": [
844
+ {
845
+ "indexed": true,
846
+ "name": "token",
847
+ "type": "address"
848
+ },
849
+ {
850
+ "indexed": false,
851
+ "name": "amount",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "indexed": false,
856
+ "name": "hasBudget",
857
+ "type": "bool"
858
+ }
859
+ ],
860
+ "name": "SetBudget",
861
+ "type": "event"
862
+ },
863
+ {
864
+ "anonymous": false,
865
+ "inputs": [
866
+ {
867
+ "indexed": true,
868
+ "name": "paymentId",
869
+ "type": "uint256"
870
+ },
871
+ {
872
+ "indexed": true,
873
+ "name": "recipient",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "indexed": false,
878
+ "name": "maxExecutions",
879
+ "type": "uint64"
880
+ },
881
+ {
882
+ "indexed": false,
883
+ "name": "reference",
884
+ "type": "string"
885
+ }
886
+ ],
887
+ "name": "NewPayment",
888
+ "type": "event"
889
+ },
890
+ {
891
+ "anonymous": false,
892
+ "inputs": [
893
+ {
894
+ "indexed": true,
895
+ "name": "transactionId",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "indexed": false,
900
+ "name": "incoming",
901
+ "type": "bool"
902
+ },
903
+ {
904
+ "indexed": true,
905
+ "name": "entity",
906
+ "type": "address"
907
+ },
908
+ {
909
+ "indexed": false,
910
+ "name": "amount",
911
+ "type": "uint256"
912
+ },
913
+ {
914
+ "indexed": false,
915
+ "name": "reference",
916
+ "type": "string"
917
+ }
918
+ ],
919
+ "name": "NewTransaction",
920
+ "type": "event"
921
+ },
922
+ {
923
+ "anonymous": false,
924
+ "inputs": [
925
+ {
926
+ "indexed": true,
927
+ "name": "paymentId",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "indexed": false,
932
+ "name": "active",
933
+ "type": "bool"
934
+ }
935
+ ],
936
+ "name": "ChangePaymentState",
937
+ "type": "event"
938
+ },
939
+ {
940
+ "anonymous": false,
941
+ "inputs": [
942
+ {
943
+ "indexed": false,
944
+ "name": "newDuration",
945
+ "type": "uint64"
946
+ }
947
+ ],
948
+ "name": "ChangePeriodDuration",
949
+ "type": "event"
950
+ },
951
+ {
952
+ "anonymous": false,
953
+ "inputs": [
954
+ {
955
+ "indexed": false,
956
+ "name": "paymentId",
957
+ "type": "uint256"
958
+ }
959
+ ],
960
+ "name": "PaymentFailure",
961
+ "type": "event"
962
+ },
963
+ {
964
+ "anonymous": false,
965
+ "inputs": [
966
+ {
967
+ "indexed": true,
968
+ "name": "executor",
969
+ "type": "address"
970
+ },
971
+ {
972
+ "indexed": false,
973
+ "name": "script",
974
+ "type": "bytes"
975
+ },
976
+ {
977
+ "indexed": false,
978
+ "name": "input",
979
+ "type": "bytes"
980
+ },
981
+ {
982
+ "indexed": false,
983
+ "name": "returnData",
984
+ "type": "bytes"
985
+ }
986
+ ],
987
+ "name": "ScriptResult",
988
+ "type": "event"
989
+ },
990
+ {
991
+ "anonymous": false,
992
+ "inputs": [
993
+ {
994
+ "indexed": true,
995
+ "name": "vault",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "indexed": true,
1000
+ "name": "token",
1001
+ "type": "address"
1002
+ },
1003
+ {
1004
+ "indexed": false,
1005
+ "name": "amount",
1006
+ "type": "uint256"
1007
+ }
1008
+ ],
1009
+ "name": "RecoverToVault",
1010
+ "type": "event"
1011
+ }
1012
+ ]
1013
+ ''')