defi-state-querier 0.4.26__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.
- defi_services/__init__.py +1 -1
- defi_services/abis/vault/lido/__init__.py +0 -0
- defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
- defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
- defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
- defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
- defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
- defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
- defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
- defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
- defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
- defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
- defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
- defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
- defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
- defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
- defi_services/abis/vault/lido/lido_burner.py +698 -0
- defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
- defi_services/abis/vault/lido/lido_dao.py +623 -0
- defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
- defi_services/abis/vault/lido/lido_dao_token.py +590 -0
- defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
- defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
- defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
- defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
- defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
- defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
- defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
- defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
- defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_locator.py +357 -0
- defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
- defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
- defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
- defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
- defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
- defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
- defi_services/abis/vault/lido/lido_steth.py +1604 -0
- defi_services/abis/vault/lido/lido_stonks.py +744 -0
- defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
- defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
- defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
- defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
- defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
- defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
- defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
- defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
- defi_services/abis/vault/lido/lido_wsteth.py +481 -0
- defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
- defi_services/services/token_services.py +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +66 -7
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,887 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_ARAGON_VOTING_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": false,
|
21
|
+
"inputs": [
|
22
|
+
{
|
23
|
+
"name": "_objectionPhaseTime",
|
24
|
+
"type": "uint64"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"name": "unsafelyChangeObjectionPhaseTime",
|
28
|
+
"outputs": [],
|
29
|
+
"payable": false,
|
30
|
+
"stateMutability": "nonpayable",
|
31
|
+
"type": "function"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"constant": false,
|
35
|
+
"inputs": [
|
36
|
+
{
|
37
|
+
"name": "_token",
|
38
|
+
"type": "address"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"name": "_supportRequiredPct",
|
42
|
+
"type": "uint64"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"name": "_minAcceptQuorumPct",
|
46
|
+
"type": "uint64"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"name": "_voteTime",
|
50
|
+
"type": "uint64"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "_objectionPhaseTime",
|
54
|
+
"type": "uint64"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "initialize",
|
58
|
+
"outputs": [],
|
59
|
+
"payable": false,
|
60
|
+
"stateMutability": "nonpayable",
|
61
|
+
"type": "function"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"constant": true,
|
65
|
+
"inputs": [],
|
66
|
+
"name": "UNSAFELY_MODIFY_VOTE_TIME_ROLE",
|
67
|
+
"outputs": [
|
68
|
+
{
|
69
|
+
"name": "",
|
70
|
+
"type": "bytes32"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"payable": false,
|
74
|
+
"stateMutability": "view",
|
75
|
+
"type": "function"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"constant": false,
|
79
|
+
"inputs": [
|
80
|
+
{
|
81
|
+
"name": "_voteTime",
|
82
|
+
"type": "uint64"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"name": "unsafelyChangeVoteTime",
|
86
|
+
"outputs": [],
|
87
|
+
"payable": false,
|
88
|
+
"stateMutability": "nonpayable",
|
89
|
+
"type": "function"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"constant": true,
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"name": "_script",
|
96
|
+
"type": "bytes"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"name": "getEVMScriptExecutor",
|
100
|
+
"outputs": [
|
101
|
+
{
|
102
|
+
"name": "",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"payable": false,
|
107
|
+
"stateMutability": "view",
|
108
|
+
"type": "function"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"constant": true,
|
112
|
+
"inputs": [],
|
113
|
+
"name": "getRecoveryVault",
|
114
|
+
"outputs": [
|
115
|
+
{
|
116
|
+
"name": "",
|
117
|
+
"type": "address"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"payable": false,
|
121
|
+
"stateMutability": "view",
|
122
|
+
"type": "function"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"constant": true,
|
126
|
+
"inputs": [],
|
127
|
+
"name": "MODIFY_QUORUM_ROLE",
|
128
|
+
"outputs": [
|
129
|
+
{
|
130
|
+
"name": "",
|
131
|
+
"type": "bytes32"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"payable": false,
|
135
|
+
"stateMutability": "view",
|
136
|
+
"type": "function"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"constant": true,
|
140
|
+
"inputs": [],
|
141
|
+
"name": "objectionPhaseTime",
|
142
|
+
"outputs": [
|
143
|
+
{
|
144
|
+
"name": "",
|
145
|
+
"type": "uint64"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"payable": false,
|
149
|
+
"stateMutability": "view",
|
150
|
+
"type": "function"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"constant": true,
|
154
|
+
"inputs": [
|
155
|
+
{
|
156
|
+
"name": "_voteId",
|
157
|
+
"type": "uint256"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"name": "_voter",
|
161
|
+
"type": "address"
|
162
|
+
}
|
163
|
+
],
|
164
|
+
"name": "getVoterState",
|
165
|
+
"outputs": [
|
166
|
+
{
|
167
|
+
"name": "",
|
168
|
+
"type": "uint8"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"payable": false,
|
172
|
+
"stateMutability": "view",
|
173
|
+
"type": "function"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"constant": true,
|
177
|
+
"inputs": [
|
178
|
+
{
|
179
|
+
"name": "_voteId",
|
180
|
+
"type": "uint256"
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"name": "getVote",
|
184
|
+
"outputs": [
|
185
|
+
{
|
186
|
+
"name": "open",
|
187
|
+
"type": "bool"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"name": "executed",
|
191
|
+
"type": "bool"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"name": "startDate",
|
195
|
+
"type": "uint64"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"name": "snapshotBlock",
|
199
|
+
"type": "uint64"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"name": "supportRequired",
|
203
|
+
"type": "uint64"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"name": "minAcceptQuorum",
|
207
|
+
"type": "uint64"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"name": "yea",
|
211
|
+
"type": "uint256"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"name": "nay",
|
215
|
+
"type": "uint256"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"name": "votingPower",
|
219
|
+
"type": "uint256"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"name": "script",
|
223
|
+
"type": "bytes"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"name": "phase",
|
227
|
+
"type": "uint8"
|
228
|
+
}
|
229
|
+
],
|
230
|
+
"payable": false,
|
231
|
+
"stateMutability": "view",
|
232
|
+
"type": "function"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"constant": false,
|
236
|
+
"inputs": [
|
237
|
+
{
|
238
|
+
"name": "_minAcceptQuorumPct",
|
239
|
+
"type": "uint64"
|
240
|
+
}
|
241
|
+
],
|
242
|
+
"name": "changeMinAcceptQuorumPct",
|
243
|
+
"outputs": [],
|
244
|
+
"payable": false,
|
245
|
+
"stateMutability": "nonpayable",
|
246
|
+
"type": "function"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"constant": true,
|
250
|
+
"inputs": [],
|
251
|
+
"name": "MODIFY_SUPPORT_ROLE",
|
252
|
+
"outputs": [
|
253
|
+
{
|
254
|
+
"name": "",
|
255
|
+
"type": "bytes32"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"payable": false,
|
259
|
+
"stateMutability": "view",
|
260
|
+
"type": "function"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"constant": false,
|
264
|
+
"inputs": [
|
265
|
+
{
|
266
|
+
"name": "_supportRequiredPct",
|
267
|
+
"type": "uint64"
|
268
|
+
}
|
269
|
+
],
|
270
|
+
"name": "changeSupportRequiredPct",
|
271
|
+
"outputs": [],
|
272
|
+
"payable": false,
|
273
|
+
"stateMutability": "nonpayable",
|
274
|
+
"type": "function"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"constant": true,
|
278
|
+
"inputs": [
|
279
|
+
{
|
280
|
+
"name": "token",
|
281
|
+
"type": "address"
|
282
|
+
}
|
283
|
+
],
|
284
|
+
"name": "allowRecoverability",
|
285
|
+
"outputs": [
|
286
|
+
{
|
287
|
+
"name": "",
|
288
|
+
"type": "bool"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"payable": false,
|
292
|
+
"stateMutability": "view",
|
293
|
+
"type": "function"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"constant": true,
|
297
|
+
"inputs": [],
|
298
|
+
"name": "appId",
|
299
|
+
"outputs": [
|
300
|
+
{
|
301
|
+
"name": "",
|
302
|
+
"type": "bytes32"
|
303
|
+
}
|
304
|
+
],
|
305
|
+
"payable": false,
|
306
|
+
"stateMutability": "view",
|
307
|
+
"type": "function"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"constant": true,
|
311
|
+
"inputs": [],
|
312
|
+
"name": "getInitializationBlock",
|
313
|
+
"outputs": [
|
314
|
+
{
|
315
|
+
"name": "",
|
316
|
+
"type": "uint256"
|
317
|
+
}
|
318
|
+
],
|
319
|
+
"payable": false,
|
320
|
+
"stateMutability": "view",
|
321
|
+
"type": "function"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"constant": false,
|
325
|
+
"inputs": [
|
326
|
+
{
|
327
|
+
"name": "_token",
|
328
|
+
"type": "address"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"name": "transferToVault",
|
332
|
+
"outputs": [],
|
333
|
+
"payable": false,
|
334
|
+
"stateMutability": "nonpayable",
|
335
|
+
"type": "function"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"constant": true,
|
339
|
+
"inputs": [
|
340
|
+
{
|
341
|
+
"name": "_sender",
|
342
|
+
"type": "address"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"name": "_role",
|
346
|
+
"type": "bytes32"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"name": "_params",
|
350
|
+
"type": "uint256[]"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"name": "canPerform",
|
354
|
+
"outputs": [
|
355
|
+
{
|
356
|
+
"name": "",
|
357
|
+
"type": "bool"
|
358
|
+
}
|
359
|
+
],
|
360
|
+
"payable": false,
|
361
|
+
"stateMutability": "view",
|
362
|
+
"type": "function"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"constant": true,
|
366
|
+
"inputs": [],
|
367
|
+
"name": "getEVMScriptRegistry",
|
368
|
+
"outputs": [
|
369
|
+
{
|
370
|
+
"name": "",
|
371
|
+
"type": "address"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"payable": false,
|
375
|
+
"stateMutability": "view",
|
376
|
+
"type": "function"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"constant": true,
|
380
|
+
"inputs": [],
|
381
|
+
"name": "voteTime",
|
382
|
+
"outputs": [
|
383
|
+
{
|
384
|
+
"name": "",
|
385
|
+
"type": "uint64"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"payable": false,
|
389
|
+
"stateMutability": "view",
|
390
|
+
"type": "function"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"constant": true,
|
394
|
+
"inputs": [],
|
395
|
+
"name": "CREATE_VOTES_ROLE",
|
396
|
+
"outputs": [
|
397
|
+
{
|
398
|
+
"name": "",
|
399
|
+
"type": "bytes32"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"payable": false,
|
403
|
+
"stateMutability": "view",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"constant": true,
|
408
|
+
"inputs": [
|
409
|
+
{
|
410
|
+
"name": "_sender",
|
411
|
+
"type": "address"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"name": "",
|
415
|
+
"type": "bytes"
|
416
|
+
}
|
417
|
+
],
|
418
|
+
"name": "canForward",
|
419
|
+
"outputs": [
|
420
|
+
{
|
421
|
+
"name": "",
|
422
|
+
"type": "bool"
|
423
|
+
}
|
424
|
+
],
|
425
|
+
"payable": false,
|
426
|
+
"stateMutability": "view",
|
427
|
+
"type": "function"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"constant": true,
|
431
|
+
"inputs": [
|
432
|
+
{
|
433
|
+
"name": "_voteId",
|
434
|
+
"type": "uint256"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"name": "canExecute",
|
438
|
+
"outputs": [
|
439
|
+
{
|
440
|
+
"name": "",
|
441
|
+
"type": "bool"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"payable": false,
|
445
|
+
"stateMutability": "view",
|
446
|
+
"type": "function"
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"constant": true,
|
450
|
+
"inputs": [
|
451
|
+
{
|
452
|
+
"name": "_voteId",
|
453
|
+
"type": "uint256"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"name": "_voter",
|
457
|
+
"type": "address"
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"name": "canVote",
|
461
|
+
"outputs": [
|
462
|
+
{
|
463
|
+
"name": "",
|
464
|
+
"type": "bool"
|
465
|
+
}
|
466
|
+
],
|
467
|
+
"payable": false,
|
468
|
+
"stateMutability": "view",
|
469
|
+
"type": "function"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"constant": true,
|
473
|
+
"inputs": [],
|
474
|
+
"name": "kernel",
|
475
|
+
"outputs": [
|
476
|
+
{
|
477
|
+
"name": "",
|
478
|
+
"type": "address"
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"payable": false,
|
482
|
+
"stateMutability": "view",
|
483
|
+
"type": "function"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"constant": false,
|
487
|
+
"inputs": [
|
488
|
+
{
|
489
|
+
"name": "_executionScript",
|
490
|
+
"type": "bytes"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"name": "_metadata",
|
494
|
+
"type": "string"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"name": "newVote",
|
498
|
+
"outputs": [
|
499
|
+
{
|
500
|
+
"name": "voteId",
|
501
|
+
"type": "uint256"
|
502
|
+
}
|
503
|
+
],
|
504
|
+
"payable": false,
|
505
|
+
"stateMutability": "nonpayable",
|
506
|
+
"type": "function"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"constant": false,
|
510
|
+
"inputs": [
|
511
|
+
{
|
512
|
+
"name": "_evmScript",
|
513
|
+
"type": "bytes"
|
514
|
+
}
|
515
|
+
],
|
516
|
+
"name": "forward",
|
517
|
+
"outputs": [],
|
518
|
+
"payable": false,
|
519
|
+
"stateMutability": "nonpayable",
|
520
|
+
"type": "function"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"constant": true,
|
524
|
+
"inputs": [],
|
525
|
+
"name": "minAcceptQuorumPct",
|
526
|
+
"outputs": [
|
527
|
+
{
|
528
|
+
"name": "",
|
529
|
+
"type": "uint64"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"payable": false,
|
533
|
+
"stateMutability": "view",
|
534
|
+
"type": "function"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"constant": true,
|
538
|
+
"inputs": [],
|
539
|
+
"name": "isPetrified",
|
540
|
+
"outputs": [
|
541
|
+
{
|
542
|
+
"name": "",
|
543
|
+
"type": "bool"
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"payable": false,
|
547
|
+
"stateMutability": "view",
|
548
|
+
"type": "function"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"constant": true,
|
552
|
+
"inputs": [],
|
553
|
+
"name": "votesLength",
|
554
|
+
"outputs": [
|
555
|
+
{
|
556
|
+
"name": "",
|
557
|
+
"type": "uint256"
|
558
|
+
}
|
559
|
+
],
|
560
|
+
"payable": false,
|
561
|
+
"stateMutability": "view",
|
562
|
+
"type": "function"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"constant": false,
|
566
|
+
"inputs": [
|
567
|
+
{
|
568
|
+
"name": "_voteId",
|
569
|
+
"type": "uint256"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"name": "_supports",
|
573
|
+
"type": "bool"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"name": "_executesIfDecided_deprecated",
|
577
|
+
"type": "bool"
|
578
|
+
}
|
579
|
+
],
|
580
|
+
"name": "vote",
|
581
|
+
"outputs": [],
|
582
|
+
"payable": false,
|
583
|
+
"stateMutability": "nonpayable",
|
584
|
+
"type": "function"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"constant": false,
|
588
|
+
"inputs": [
|
589
|
+
{
|
590
|
+
"name": "_executionScript",
|
591
|
+
"type": "bytes"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"name": "_metadata",
|
595
|
+
"type": "string"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"name": "_castVote",
|
599
|
+
"type": "bool"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"name": "_executesIfDecided_deprecated",
|
603
|
+
"type": "bool"
|
604
|
+
}
|
605
|
+
],
|
606
|
+
"name": "newVote",
|
607
|
+
"outputs": [
|
608
|
+
{
|
609
|
+
"name": "voteId",
|
610
|
+
"type": "uint256"
|
611
|
+
}
|
612
|
+
],
|
613
|
+
"payable": false,
|
614
|
+
"stateMutability": "nonpayable",
|
615
|
+
"type": "function"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"constant": true,
|
619
|
+
"inputs": [
|
620
|
+
{
|
621
|
+
"name": "_voteId",
|
622
|
+
"type": "uint256"
|
623
|
+
}
|
624
|
+
],
|
625
|
+
"name": "getVotePhase",
|
626
|
+
"outputs": [
|
627
|
+
{
|
628
|
+
"name": "",
|
629
|
+
"type": "uint8"
|
630
|
+
}
|
631
|
+
],
|
632
|
+
"payable": false,
|
633
|
+
"stateMutability": "view",
|
634
|
+
"type": "function"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"constant": false,
|
638
|
+
"inputs": [
|
639
|
+
{
|
640
|
+
"name": "_voteId",
|
641
|
+
"type": "uint256"
|
642
|
+
}
|
643
|
+
],
|
644
|
+
"name": "executeVote",
|
645
|
+
"outputs": [],
|
646
|
+
"payable": false,
|
647
|
+
"stateMutability": "nonpayable",
|
648
|
+
"type": "function"
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"constant": true,
|
652
|
+
"inputs": [],
|
653
|
+
"name": "supportRequiredPct",
|
654
|
+
"outputs": [
|
655
|
+
{
|
656
|
+
"name": "",
|
657
|
+
"type": "uint64"
|
658
|
+
}
|
659
|
+
],
|
660
|
+
"payable": false,
|
661
|
+
"stateMutability": "view",
|
662
|
+
"type": "function"
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"constant": true,
|
666
|
+
"inputs": [],
|
667
|
+
"name": "token",
|
668
|
+
"outputs": [
|
669
|
+
{
|
670
|
+
"name": "",
|
671
|
+
"type": "address"
|
672
|
+
}
|
673
|
+
],
|
674
|
+
"payable": false,
|
675
|
+
"stateMutability": "view",
|
676
|
+
"type": "function"
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"constant": true,
|
680
|
+
"inputs": [],
|
681
|
+
"name": "PCT_BASE",
|
682
|
+
"outputs": [
|
683
|
+
{
|
684
|
+
"name": "",
|
685
|
+
"type": "uint64"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"payable": false,
|
689
|
+
"stateMutability": "view",
|
690
|
+
"type": "function"
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"constant": true,
|
694
|
+
"inputs": [],
|
695
|
+
"name": "isForwarder",
|
696
|
+
"outputs": [
|
697
|
+
{
|
698
|
+
"name": "",
|
699
|
+
"type": "bool"
|
700
|
+
}
|
701
|
+
],
|
702
|
+
"payable": false,
|
703
|
+
"stateMutability": "pure",
|
704
|
+
"type": "function"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"anonymous": false,
|
708
|
+
"inputs": [
|
709
|
+
{
|
710
|
+
"indexed": true,
|
711
|
+
"name": "voteId",
|
712
|
+
"type": "uint256"
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"indexed": true,
|
716
|
+
"name": "creator",
|
717
|
+
"type": "address"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"indexed": false,
|
721
|
+
"name": "metadata",
|
722
|
+
"type": "string"
|
723
|
+
}
|
724
|
+
],
|
725
|
+
"name": "StartVote",
|
726
|
+
"type": "event"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"anonymous": false,
|
730
|
+
"inputs": [
|
731
|
+
{
|
732
|
+
"indexed": true,
|
733
|
+
"name": "voteId",
|
734
|
+
"type": "uint256"
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"indexed": true,
|
738
|
+
"name": "voter",
|
739
|
+
"type": "address"
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"indexed": false,
|
743
|
+
"name": "supports",
|
744
|
+
"type": "bool"
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"indexed": false,
|
748
|
+
"name": "stake",
|
749
|
+
"type": "uint256"
|
750
|
+
}
|
751
|
+
],
|
752
|
+
"name": "CastVote",
|
753
|
+
"type": "event"
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"anonymous": false,
|
757
|
+
"inputs": [
|
758
|
+
{
|
759
|
+
"indexed": true,
|
760
|
+
"name": "voteId",
|
761
|
+
"type": "uint256"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"indexed": true,
|
765
|
+
"name": "voter",
|
766
|
+
"type": "address"
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"indexed": false,
|
770
|
+
"name": "stake",
|
771
|
+
"type": "uint256"
|
772
|
+
}
|
773
|
+
],
|
774
|
+
"name": "CastObjection",
|
775
|
+
"type": "event"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"anonymous": false,
|
779
|
+
"inputs": [
|
780
|
+
{
|
781
|
+
"indexed": true,
|
782
|
+
"name": "voteId",
|
783
|
+
"type": "uint256"
|
784
|
+
}
|
785
|
+
],
|
786
|
+
"name": "ExecuteVote",
|
787
|
+
"type": "event"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"anonymous": false,
|
791
|
+
"inputs": [
|
792
|
+
{
|
793
|
+
"indexed": false,
|
794
|
+
"name": "supportRequiredPct",
|
795
|
+
"type": "uint64"
|
796
|
+
}
|
797
|
+
],
|
798
|
+
"name": "ChangeSupportRequired",
|
799
|
+
"type": "event"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"anonymous": false,
|
803
|
+
"inputs": [
|
804
|
+
{
|
805
|
+
"indexed": false,
|
806
|
+
"name": "minAcceptQuorumPct",
|
807
|
+
"type": "uint64"
|
808
|
+
}
|
809
|
+
],
|
810
|
+
"name": "ChangeMinQuorum",
|
811
|
+
"type": "event"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"anonymous": false,
|
815
|
+
"inputs": [
|
816
|
+
{
|
817
|
+
"indexed": false,
|
818
|
+
"name": "voteTime",
|
819
|
+
"type": "uint64"
|
820
|
+
}
|
821
|
+
],
|
822
|
+
"name": "ChangeVoteTime",
|
823
|
+
"type": "event"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"anonymous": false,
|
827
|
+
"inputs": [
|
828
|
+
{
|
829
|
+
"indexed": false,
|
830
|
+
"name": "objectionPhaseTime",
|
831
|
+
"type": "uint64"
|
832
|
+
}
|
833
|
+
],
|
834
|
+
"name": "ChangeObjectionPhaseTime",
|
835
|
+
"type": "event"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"anonymous": false,
|
839
|
+
"inputs": [
|
840
|
+
{
|
841
|
+
"indexed": true,
|
842
|
+
"name": "executor",
|
843
|
+
"type": "address"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"indexed": false,
|
847
|
+
"name": "script",
|
848
|
+
"type": "bytes"
|
849
|
+
},
|
850
|
+
{
|
851
|
+
"indexed": false,
|
852
|
+
"name": "input",
|
853
|
+
"type": "bytes"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"indexed": false,
|
857
|
+
"name": "returnData",
|
858
|
+
"type": "bytes"
|
859
|
+
}
|
860
|
+
],
|
861
|
+
"name": "ScriptResult",
|
862
|
+
"type": "event"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"anonymous": false,
|
866
|
+
"inputs": [
|
867
|
+
{
|
868
|
+
"indexed": true,
|
869
|
+
"name": "vault",
|
870
|
+
"type": "address"
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"indexed": true,
|
874
|
+
"name": "token",
|
875
|
+
"type": "address"
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"indexed": false,
|
879
|
+
"name": "amount",
|
880
|
+
"type": "uint256"
|
881
|
+
}
|
882
|
+
],
|
883
|
+
"name": "RecoverToVault",
|
884
|
+
"type": "event"
|
885
|
+
}
|
886
|
+
]
|
887
|
+
''')
|