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.
- 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/jobs/processors/multi_state_processor.py +2 -2
- defi_services/jobs/processors/state_processor.py +2 -2
- defi_services/jobs/queriers/state_querier.py +4 -4
- defi_services/services/dex/pancakeswap_service.py +1 -1
- defi_services/services/dex/pancakeswap_v2_service.py +1 -1
- defi_services/services/dex/uniswap_v2_service.py +1 -1
- defi_services/services/dex/uniswap_v3_service.py +2 -2
- defi_services/services/lending/aave_v2_services.py +2 -2
- defi_services/services/lending/aave_v3_services.py +4 -4
- defi_services/services/lending/apeswap_services.py +3 -3
- defi_services/services/lending/compound_service.py +3 -3
- defi_services/services/lending/compound_v3_services.py +1 -1
- defi_services/services/lending/flux_services.py +3 -3
- defi_services/services/lending/granary_services.py +1 -1
- defi_services/services/lending/iron_bank_service.py +4 -4
- defi_services/services/lending/justlend_service.py +3 -3
- defi_services/services/lending/liqee_service.py +3 -3
- defi_services/services/lending/morpho_aave_v2_services.py +2 -2
- defi_services/services/lending/morpho_aave_v3_services.py +2 -2
- defi_services/services/lending/morpho_compound_services.py +5 -5
- defi_services/services/lending/onyx_service.py +4 -4
- defi_services/services/lending/silo_services.py +3 -3
- defi_services/services/lending/strike_service.py +3 -3
- defi_services/services/lending/trava_services.py +2 -2
- defi_services/services/lending/uwu_services.py +2 -2
- defi_services/services/lending/valas_services.py +1 -1
- defi_services/services/lending/venus_services.py +7 -7
- defi_services/services/lending/wepiggy_services.py +4 -4
- defi_services/services/token_services.py +1 -1
- defi_services/utils/convert_address.py +2 -2
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +95 -36
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1108 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_EASY_TRACK_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"internalType": "address",
|
9
|
+
"name": "_governanceToken",
|
10
|
+
"type": "address"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"internalType": "address",
|
14
|
+
"name": "_admin",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"internalType": "uint256",
|
19
|
+
"name": "_motionDuration",
|
20
|
+
"type": "uint256"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"internalType": "uint256",
|
24
|
+
"name": "_motionsCountLimit",
|
25
|
+
"type": "uint256"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"internalType": "uint256",
|
29
|
+
"name": "_objectionsThreshold",
|
30
|
+
"type": "uint256"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"stateMutability": "nonpayable",
|
34
|
+
"type": "constructor"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"anonymous": false,
|
38
|
+
"inputs": [
|
39
|
+
{
|
40
|
+
"indexed": true,
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "_evmScriptExecutor",
|
43
|
+
"type": "address"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "EVMScriptExecutorChanged",
|
47
|
+
"type": "event"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"anonymous": false,
|
51
|
+
"inputs": [
|
52
|
+
{
|
53
|
+
"indexed": true,
|
54
|
+
"internalType": "address",
|
55
|
+
"name": "_evmScriptFactory",
|
56
|
+
"type": "address"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"indexed": false,
|
60
|
+
"internalType": "bytes",
|
61
|
+
"name": "_permissions",
|
62
|
+
"type": "bytes"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"name": "EVMScriptFactoryAdded",
|
66
|
+
"type": "event"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"anonymous": false,
|
70
|
+
"inputs": [
|
71
|
+
{
|
72
|
+
"indexed": true,
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "_evmScriptFactory",
|
75
|
+
"type": "address"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "EVMScriptFactoryRemoved",
|
79
|
+
"type": "event"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"anonymous": false,
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"indexed": true,
|
86
|
+
"internalType": "uint256",
|
87
|
+
"name": "_motionId",
|
88
|
+
"type": "uint256"
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"name": "MotionCanceled",
|
92
|
+
"type": "event"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"anonymous": false,
|
96
|
+
"inputs": [
|
97
|
+
{
|
98
|
+
"indexed": true,
|
99
|
+
"internalType": "uint256",
|
100
|
+
"name": "_motionId",
|
101
|
+
"type": "uint256"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"indexed": false,
|
105
|
+
"internalType": "address",
|
106
|
+
"name": "_creator",
|
107
|
+
"type": "address"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"indexed": true,
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "_evmScriptFactory",
|
113
|
+
"type": "address"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"indexed": false,
|
117
|
+
"internalType": "bytes",
|
118
|
+
"name": "_evmScriptCallData",
|
119
|
+
"type": "bytes"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"indexed": false,
|
123
|
+
"internalType": "bytes",
|
124
|
+
"name": "_evmScript",
|
125
|
+
"type": "bytes"
|
126
|
+
}
|
127
|
+
],
|
128
|
+
"name": "MotionCreated",
|
129
|
+
"type": "event"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"anonymous": false,
|
133
|
+
"inputs": [
|
134
|
+
{
|
135
|
+
"indexed": false,
|
136
|
+
"internalType": "uint256",
|
137
|
+
"name": "_motionDuration",
|
138
|
+
"type": "uint256"
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"name": "MotionDurationChanged",
|
142
|
+
"type": "event"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"anonymous": false,
|
146
|
+
"inputs": [
|
147
|
+
{
|
148
|
+
"indexed": true,
|
149
|
+
"internalType": "uint256",
|
150
|
+
"name": "_motionId",
|
151
|
+
"type": "uint256"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"name": "MotionEnacted",
|
155
|
+
"type": "event"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"anonymous": false,
|
159
|
+
"inputs": [
|
160
|
+
{
|
161
|
+
"indexed": true,
|
162
|
+
"internalType": "uint256",
|
163
|
+
"name": "_motionId",
|
164
|
+
"type": "uint256"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"indexed": true,
|
168
|
+
"internalType": "address",
|
169
|
+
"name": "_objector",
|
170
|
+
"type": "address"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"indexed": false,
|
174
|
+
"internalType": "uint256",
|
175
|
+
"name": "_weight",
|
176
|
+
"type": "uint256"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"indexed": false,
|
180
|
+
"internalType": "uint256",
|
181
|
+
"name": "_newObjectionsAmount",
|
182
|
+
"type": "uint256"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"indexed": false,
|
186
|
+
"internalType": "uint256",
|
187
|
+
"name": "_newObjectionsAmountPct",
|
188
|
+
"type": "uint256"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "MotionObjected",
|
192
|
+
"type": "event"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"anonymous": false,
|
196
|
+
"inputs": [
|
197
|
+
{
|
198
|
+
"indexed": true,
|
199
|
+
"internalType": "uint256",
|
200
|
+
"name": "_motionId",
|
201
|
+
"type": "uint256"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"name": "MotionRejected",
|
205
|
+
"type": "event"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"anonymous": false,
|
209
|
+
"inputs": [
|
210
|
+
{
|
211
|
+
"indexed": false,
|
212
|
+
"internalType": "uint256",
|
213
|
+
"name": "_newMotionsCountLimit",
|
214
|
+
"type": "uint256"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
"name": "MotionsCountLimitChanged",
|
218
|
+
"type": "event"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"anonymous": false,
|
222
|
+
"inputs": [
|
223
|
+
{
|
224
|
+
"indexed": false,
|
225
|
+
"internalType": "uint256",
|
226
|
+
"name": "_newThreshold",
|
227
|
+
"type": "uint256"
|
228
|
+
}
|
229
|
+
],
|
230
|
+
"name": "ObjectionsThresholdChanged",
|
231
|
+
"type": "event"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"anonymous": false,
|
235
|
+
"inputs": [
|
236
|
+
{
|
237
|
+
"indexed": false,
|
238
|
+
"internalType": "address",
|
239
|
+
"name": "account",
|
240
|
+
"type": "address"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"name": "Paused",
|
244
|
+
"type": "event"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"anonymous": false,
|
248
|
+
"inputs": [
|
249
|
+
{
|
250
|
+
"indexed": true,
|
251
|
+
"internalType": "bytes32",
|
252
|
+
"name": "role",
|
253
|
+
"type": "bytes32"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"indexed": true,
|
257
|
+
"internalType": "bytes32",
|
258
|
+
"name": "previousAdminRole",
|
259
|
+
"type": "bytes32"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"indexed": true,
|
263
|
+
"internalType": "bytes32",
|
264
|
+
"name": "newAdminRole",
|
265
|
+
"type": "bytes32"
|
266
|
+
}
|
267
|
+
],
|
268
|
+
"name": "RoleAdminChanged",
|
269
|
+
"type": "event"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"anonymous": false,
|
273
|
+
"inputs": [
|
274
|
+
{
|
275
|
+
"indexed": true,
|
276
|
+
"internalType": "bytes32",
|
277
|
+
"name": "role",
|
278
|
+
"type": "bytes32"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"indexed": true,
|
282
|
+
"internalType": "address",
|
283
|
+
"name": "account",
|
284
|
+
"type": "address"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"indexed": true,
|
288
|
+
"internalType": "address",
|
289
|
+
"name": "sender",
|
290
|
+
"type": "address"
|
291
|
+
}
|
292
|
+
],
|
293
|
+
"name": "RoleGranted",
|
294
|
+
"type": "event"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"anonymous": false,
|
298
|
+
"inputs": [
|
299
|
+
{
|
300
|
+
"indexed": true,
|
301
|
+
"internalType": "bytes32",
|
302
|
+
"name": "role",
|
303
|
+
"type": "bytes32"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"indexed": true,
|
307
|
+
"internalType": "address",
|
308
|
+
"name": "account",
|
309
|
+
"type": "address"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"indexed": true,
|
313
|
+
"internalType": "address",
|
314
|
+
"name": "sender",
|
315
|
+
"type": "address"
|
316
|
+
}
|
317
|
+
],
|
318
|
+
"name": "RoleRevoked",
|
319
|
+
"type": "event"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"anonymous": false,
|
323
|
+
"inputs": [
|
324
|
+
{
|
325
|
+
"indexed": false,
|
326
|
+
"internalType": "address",
|
327
|
+
"name": "account",
|
328
|
+
"type": "address"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"name": "Unpaused",
|
332
|
+
"type": "event"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"inputs": [],
|
336
|
+
"name": "CANCEL_ROLE",
|
337
|
+
"outputs": [
|
338
|
+
{
|
339
|
+
"internalType": "bytes32",
|
340
|
+
"name": "",
|
341
|
+
"type": "bytes32"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"stateMutability": "view",
|
345
|
+
"type": "function"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"inputs": [],
|
349
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
350
|
+
"outputs": [
|
351
|
+
{
|
352
|
+
"internalType": "bytes32",
|
353
|
+
"name": "",
|
354
|
+
"type": "bytes32"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"stateMutability": "view",
|
358
|
+
"type": "function"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"inputs": [],
|
362
|
+
"name": "MAX_MOTIONS_LIMIT",
|
363
|
+
"outputs": [
|
364
|
+
{
|
365
|
+
"internalType": "uint256",
|
366
|
+
"name": "",
|
367
|
+
"type": "uint256"
|
368
|
+
}
|
369
|
+
],
|
370
|
+
"stateMutability": "view",
|
371
|
+
"type": "function"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"inputs": [],
|
375
|
+
"name": "MAX_OBJECTIONS_THRESHOLD",
|
376
|
+
"outputs": [
|
377
|
+
{
|
378
|
+
"internalType": "uint256",
|
379
|
+
"name": "",
|
380
|
+
"type": "uint256"
|
381
|
+
}
|
382
|
+
],
|
383
|
+
"stateMutability": "view",
|
384
|
+
"type": "function"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"inputs": [],
|
388
|
+
"name": "MIN_MOTION_DURATION",
|
389
|
+
"outputs": [
|
390
|
+
{
|
391
|
+
"internalType": "uint256",
|
392
|
+
"name": "",
|
393
|
+
"type": "uint256"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"stateMutability": "view",
|
397
|
+
"type": "function"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"inputs": [],
|
401
|
+
"name": "PAUSE_ROLE",
|
402
|
+
"outputs": [
|
403
|
+
{
|
404
|
+
"internalType": "bytes32",
|
405
|
+
"name": "",
|
406
|
+
"type": "bytes32"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"stateMutability": "view",
|
410
|
+
"type": "function"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"inputs": [],
|
414
|
+
"name": "UNPAUSE_ROLE",
|
415
|
+
"outputs": [
|
416
|
+
{
|
417
|
+
"internalType": "bytes32",
|
418
|
+
"name": "",
|
419
|
+
"type": "bytes32"
|
420
|
+
}
|
421
|
+
],
|
422
|
+
"stateMutability": "view",
|
423
|
+
"type": "function"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"inputs": [
|
427
|
+
{
|
428
|
+
"internalType": "address",
|
429
|
+
"name": "_evmScriptFactory",
|
430
|
+
"type": "address"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"internalType": "bytes",
|
434
|
+
"name": "_permissions",
|
435
|
+
"type": "bytes"
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"name": "addEVMScriptFactory",
|
439
|
+
"outputs": [],
|
440
|
+
"stateMutability": "nonpayable",
|
441
|
+
"type": "function"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"inputs": [
|
445
|
+
{
|
446
|
+
"internalType": "uint256",
|
447
|
+
"name": "_motionId",
|
448
|
+
"type": "uint256"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "address",
|
452
|
+
"name": "_objector",
|
453
|
+
"type": "address"
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"name": "canObjectToMotion",
|
457
|
+
"outputs": [
|
458
|
+
{
|
459
|
+
"internalType": "bool",
|
460
|
+
"name": "",
|
461
|
+
"type": "bool"
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"stateMutability": "view",
|
465
|
+
"type": "function"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"inputs": [],
|
469
|
+
"name": "cancelAllMotions",
|
470
|
+
"outputs": [],
|
471
|
+
"stateMutability": "nonpayable",
|
472
|
+
"type": "function"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"inputs": [
|
476
|
+
{
|
477
|
+
"internalType": "uint256",
|
478
|
+
"name": "_motionId",
|
479
|
+
"type": "uint256"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"name": "cancelMotion",
|
483
|
+
"outputs": [],
|
484
|
+
"stateMutability": "nonpayable",
|
485
|
+
"type": "function"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"inputs": [
|
489
|
+
{
|
490
|
+
"internalType": "uint256[]",
|
491
|
+
"name": "_motionIds",
|
492
|
+
"type": "uint256[]"
|
493
|
+
}
|
494
|
+
],
|
495
|
+
"name": "cancelMotions",
|
496
|
+
"outputs": [],
|
497
|
+
"stateMutability": "nonpayable",
|
498
|
+
"type": "function"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"inputs": [
|
502
|
+
{
|
503
|
+
"internalType": "address",
|
504
|
+
"name": "_evmScriptFactory",
|
505
|
+
"type": "address"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"internalType": "bytes",
|
509
|
+
"name": "_evmScriptCallData",
|
510
|
+
"type": "bytes"
|
511
|
+
}
|
512
|
+
],
|
513
|
+
"name": "createMotion",
|
514
|
+
"outputs": [
|
515
|
+
{
|
516
|
+
"internalType": "uint256",
|
517
|
+
"name": "_newMotionId",
|
518
|
+
"type": "uint256"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"stateMutability": "nonpayable",
|
522
|
+
"type": "function"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"inputs": [
|
526
|
+
{
|
527
|
+
"internalType": "uint256",
|
528
|
+
"name": "_motionId",
|
529
|
+
"type": "uint256"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"internalType": "bytes",
|
533
|
+
"name": "_evmScriptCallData",
|
534
|
+
"type": "bytes"
|
535
|
+
}
|
536
|
+
],
|
537
|
+
"name": "enactMotion",
|
538
|
+
"outputs": [],
|
539
|
+
"stateMutability": "nonpayable",
|
540
|
+
"type": "function"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"inputs": [],
|
544
|
+
"name": "evmScriptExecutor",
|
545
|
+
"outputs": [
|
546
|
+
{
|
547
|
+
"internalType": "contract IEVMScriptExecutor",
|
548
|
+
"name": "",
|
549
|
+
"type": "address"
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"stateMutability": "view",
|
553
|
+
"type": "function"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"inputs": [
|
557
|
+
{
|
558
|
+
"internalType": "uint256",
|
559
|
+
"name": "",
|
560
|
+
"type": "uint256"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"name": "evmScriptFactories",
|
564
|
+
"outputs": [
|
565
|
+
{
|
566
|
+
"internalType": "address",
|
567
|
+
"name": "",
|
568
|
+
"type": "address"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"stateMutability": "view",
|
572
|
+
"type": "function"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"inputs": [
|
576
|
+
{
|
577
|
+
"internalType": "address",
|
578
|
+
"name": "",
|
579
|
+
"type": "address"
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"name": "evmScriptFactoryPermissions",
|
583
|
+
"outputs": [
|
584
|
+
{
|
585
|
+
"internalType": "bytes",
|
586
|
+
"name": "",
|
587
|
+
"type": "bytes"
|
588
|
+
}
|
589
|
+
],
|
590
|
+
"stateMutability": "view",
|
591
|
+
"type": "function"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"inputs": [],
|
595
|
+
"name": "getEVMScriptFactories",
|
596
|
+
"outputs": [
|
597
|
+
{
|
598
|
+
"internalType": "address[]",
|
599
|
+
"name": "",
|
600
|
+
"type": "address[]"
|
601
|
+
}
|
602
|
+
],
|
603
|
+
"stateMutability": "view",
|
604
|
+
"type": "function"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"inputs": [
|
608
|
+
{
|
609
|
+
"internalType": "uint256",
|
610
|
+
"name": "_motionId",
|
611
|
+
"type": "uint256"
|
612
|
+
}
|
613
|
+
],
|
614
|
+
"name": "getMotion",
|
615
|
+
"outputs": [
|
616
|
+
{
|
617
|
+
"components": [
|
618
|
+
{
|
619
|
+
"internalType": "uint256",
|
620
|
+
"name": "id",
|
621
|
+
"type": "uint256"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"internalType": "address",
|
625
|
+
"name": "evmScriptFactory",
|
626
|
+
"type": "address"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"internalType": "address",
|
630
|
+
"name": "creator",
|
631
|
+
"type": "address"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"internalType": "uint256",
|
635
|
+
"name": "duration",
|
636
|
+
"type": "uint256"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"internalType": "uint256",
|
640
|
+
"name": "startDate",
|
641
|
+
"type": "uint256"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"internalType": "uint256",
|
645
|
+
"name": "snapshotBlock",
|
646
|
+
"type": "uint256"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"internalType": "uint256",
|
650
|
+
"name": "objectionsThreshold",
|
651
|
+
"type": "uint256"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"internalType": "uint256",
|
655
|
+
"name": "objectionsAmount",
|
656
|
+
"type": "uint256"
|
657
|
+
},
|
658
|
+
{
|
659
|
+
"internalType": "bytes32",
|
660
|
+
"name": "evmScriptHash",
|
661
|
+
"type": "bytes32"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"internalType": "struct EasyTrack.Motion",
|
665
|
+
"name": "",
|
666
|
+
"type": "tuple"
|
667
|
+
}
|
668
|
+
],
|
669
|
+
"stateMutability": "view",
|
670
|
+
"type": "function"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"inputs": [],
|
674
|
+
"name": "getMotions",
|
675
|
+
"outputs": [
|
676
|
+
{
|
677
|
+
"components": [
|
678
|
+
{
|
679
|
+
"internalType": "uint256",
|
680
|
+
"name": "id",
|
681
|
+
"type": "uint256"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"internalType": "address",
|
685
|
+
"name": "evmScriptFactory",
|
686
|
+
"type": "address"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"internalType": "address",
|
690
|
+
"name": "creator",
|
691
|
+
"type": "address"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"internalType": "uint256",
|
695
|
+
"name": "duration",
|
696
|
+
"type": "uint256"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"internalType": "uint256",
|
700
|
+
"name": "startDate",
|
701
|
+
"type": "uint256"
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"internalType": "uint256",
|
705
|
+
"name": "snapshotBlock",
|
706
|
+
"type": "uint256"
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"internalType": "uint256",
|
710
|
+
"name": "objectionsThreshold",
|
711
|
+
"type": "uint256"
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"internalType": "uint256",
|
715
|
+
"name": "objectionsAmount",
|
716
|
+
"type": "uint256"
|
717
|
+
},
|
718
|
+
{
|
719
|
+
"internalType": "bytes32",
|
720
|
+
"name": "evmScriptHash",
|
721
|
+
"type": "bytes32"
|
722
|
+
}
|
723
|
+
],
|
724
|
+
"internalType": "struct EasyTrack.Motion[]",
|
725
|
+
"name": "",
|
726
|
+
"type": "tuple[]"
|
727
|
+
}
|
728
|
+
],
|
729
|
+
"stateMutability": "view",
|
730
|
+
"type": "function"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"inputs": [
|
734
|
+
{
|
735
|
+
"internalType": "bytes32",
|
736
|
+
"name": "role",
|
737
|
+
"type": "bytes32"
|
738
|
+
}
|
739
|
+
],
|
740
|
+
"name": "getRoleAdmin",
|
741
|
+
"outputs": [
|
742
|
+
{
|
743
|
+
"internalType": "bytes32",
|
744
|
+
"name": "",
|
745
|
+
"type": "bytes32"
|
746
|
+
}
|
747
|
+
],
|
748
|
+
"stateMutability": "view",
|
749
|
+
"type": "function"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"inputs": [],
|
753
|
+
"name": "governanceToken",
|
754
|
+
"outputs": [
|
755
|
+
{
|
756
|
+
"internalType": "contract IMiniMeToken",
|
757
|
+
"name": "",
|
758
|
+
"type": "address"
|
759
|
+
}
|
760
|
+
],
|
761
|
+
"stateMutability": "view",
|
762
|
+
"type": "function"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"inputs": [
|
766
|
+
{
|
767
|
+
"internalType": "bytes32",
|
768
|
+
"name": "role",
|
769
|
+
"type": "bytes32"
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"internalType": "address",
|
773
|
+
"name": "account",
|
774
|
+
"type": "address"
|
775
|
+
}
|
776
|
+
],
|
777
|
+
"name": "grantRole",
|
778
|
+
"outputs": [],
|
779
|
+
"stateMutability": "nonpayable",
|
780
|
+
"type": "function"
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"inputs": [
|
784
|
+
{
|
785
|
+
"internalType": "bytes32",
|
786
|
+
"name": "role",
|
787
|
+
"type": "bytes32"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"internalType": "address",
|
791
|
+
"name": "account",
|
792
|
+
"type": "address"
|
793
|
+
}
|
794
|
+
],
|
795
|
+
"name": "hasRole",
|
796
|
+
"outputs": [
|
797
|
+
{
|
798
|
+
"internalType": "bool",
|
799
|
+
"name": "",
|
800
|
+
"type": "bool"
|
801
|
+
}
|
802
|
+
],
|
803
|
+
"stateMutability": "view",
|
804
|
+
"type": "function"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"inputs": [
|
808
|
+
{
|
809
|
+
"internalType": "address",
|
810
|
+
"name": "_maybeEVMScriptFactory",
|
811
|
+
"type": "address"
|
812
|
+
}
|
813
|
+
],
|
814
|
+
"name": "isEVMScriptFactory",
|
815
|
+
"outputs": [
|
816
|
+
{
|
817
|
+
"internalType": "bool",
|
818
|
+
"name": "",
|
819
|
+
"type": "bool"
|
820
|
+
}
|
821
|
+
],
|
822
|
+
"stateMutability": "view",
|
823
|
+
"type": "function"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"inputs": [],
|
827
|
+
"name": "motionDuration",
|
828
|
+
"outputs": [
|
829
|
+
{
|
830
|
+
"internalType": "uint256",
|
831
|
+
"name": "",
|
832
|
+
"type": "uint256"
|
833
|
+
}
|
834
|
+
],
|
835
|
+
"stateMutability": "view",
|
836
|
+
"type": "function"
|
837
|
+
},
|
838
|
+
{
|
839
|
+
"inputs": [
|
840
|
+
{
|
841
|
+
"internalType": "uint256",
|
842
|
+
"name": "",
|
843
|
+
"type": "uint256"
|
844
|
+
}
|
845
|
+
],
|
846
|
+
"name": "motions",
|
847
|
+
"outputs": [
|
848
|
+
{
|
849
|
+
"internalType": "uint256",
|
850
|
+
"name": "id",
|
851
|
+
"type": "uint256"
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"internalType": "address",
|
855
|
+
"name": "evmScriptFactory",
|
856
|
+
"type": "address"
|
857
|
+
},
|
858
|
+
{
|
859
|
+
"internalType": "address",
|
860
|
+
"name": "creator",
|
861
|
+
"type": "address"
|
862
|
+
},
|
863
|
+
{
|
864
|
+
"internalType": "uint256",
|
865
|
+
"name": "duration",
|
866
|
+
"type": "uint256"
|
867
|
+
},
|
868
|
+
{
|
869
|
+
"internalType": "uint256",
|
870
|
+
"name": "startDate",
|
871
|
+
"type": "uint256"
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"internalType": "uint256",
|
875
|
+
"name": "snapshotBlock",
|
876
|
+
"type": "uint256"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"internalType": "uint256",
|
880
|
+
"name": "objectionsThreshold",
|
881
|
+
"type": "uint256"
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"internalType": "uint256",
|
885
|
+
"name": "objectionsAmount",
|
886
|
+
"type": "uint256"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"internalType": "bytes32",
|
890
|
+
"name": "evmScriptHash",
|
891
|
+
"type": "bytes32"
|
892
|
+
}
|
893
|
+
],
|
894
|
+
"stateMutability": "view",
|
895
|
+
"type": "function"
|
896
|
+
},
|
897
|
+
{
|
898
|
+
"inputs": [],
|
899
|
+
"name": "motionsCountLimit",
|
900
|
+
"outputs": [
|
901
|
+
{
|
902
|
+
"internalType": "uint256",
|
903
|
+
"name": "",
|
904
|
+
"type": "uint256"
|
905
|
+
}
|
906
|
+
],
|
907
|
+
"stateMutability": "view",
|
908
|
+
"type": "function"
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"inputs": [
|
912
|
+
{
|
913
|
+
"internalType": "uint256",
|
914
|
+
"name": "_motionId",
|
915
|
+
"type": "uint256"
|
916
|
+
}
|
917
|
+
],
|
918
|
+
"name": "objectToMotion",
|
919
|
+
"outputs": [],
|
920
|
+
"stateMutability": "nonpayable",
|
921
|
+
"type": "function"
|
922
|
+
},
|
923
|
+
{
|
924
|
+
"inputs": [
|
925
|
+
{
|
926
|
+
"internalType": "uint256",
|
927
|
+
"name": "",
|
928
|
+
"type": "uint256"
|
929
|
+
},
|
930
|
+
{
|
931
|
+
"internalType": "address",
|
932
|
+
"name": "",
|
933
|
+
"type": "address"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"name": "objections",
|
937
|
+
"outputs": [
|
938
|
+
{
|
939
|
+
"internalType": "bool",
|
940
|
+
"name": "",
|
941
|
+
"type": "bool"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"stateMutability": "view",
|
945
|
+
"type": "function"
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"inputs": [],
|
949
|
+
"name": "objectionsThreshold",
|
950
|
+
"outputs": [
|
951
|
+
{
|
952
|
+
"internalType": "uint256",
|
953
|
+
"name": "",
|
954
|
+
"type": "uint256"
|
955
|
+
}
|
956
|
+
],
|
957
|
+
"stateMutability": "view",
|
958
|
+
"type": "function"
|
959
|
+
},
|
960
|
+
{
|
961
|
+
"inputs": [],
|
962
|
+
"name": "pause",
|
963
|
+
"outputs": [],
|
964
|
+
"stateMutability": "nonpayable",
|
965
|
+
"type": "function"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"inputs": [],
|
969
|
+
"name": "paused",
|
970
|
+
"outputs": [
|
971
|
+
{
|
972
|
+
"internalType": "bool",
|
973
|
+
"name": "",
|
974
|
+
"type": "bool"
|
975
|
+
}
|
976
|
+
],
|
977
|
+
"stateMutability": "view",
|
978
|
+
"type": "function"
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"inputs": [
|
982
|
+
{
|
983
|
+
"internalType": "address",
|
984
|
+
"name": "_evmScriptFactory",
|
985
|
+
"type": "address"
|
986
|
+
}
|
987
|
+
],
|
988
|
+
"name": "removeEVMScriptFactory",
|
989
|
+
"outputs": [],
|
990
|
+
"stateMutability": "nonpayable",
|
991
|
+
"type": "function"
|
992
|
+
},
|
993
|
+
{
|
994
|
+
"inputs": [
|
995
|
+
{
|
996
|
+
"internalType": "bytes32",
|
997
|
+
"name": "role",
|
998
|
+
"type": "bytes32"
|
999
|
+
},
|
1000
|
+
{
|
1001
|
+
"internalType": "address",
|
1002
|
+
"name": "account",
|
1003
|
+
"type": "address"
|
1004
|
+
}
|
1005
|
+
],
|
1006
|
+
"name": "renounceRole",
|
1007
|
+
"outputs": [],
|
1008
|
+
"stateMutability": "nonpayable",
|
1009
|
+
"type": "function"
|
1010
|
+
},
|
1011
|
+
{
|
1012
|
+
"inputs": [
|
1013
|
+
{
|
1014
|
+
"internalType": "bytes32",
|
1015
|
+
"name": "role",
|
1016
|
+
"type": "bytes32"
|
1017
|
+
},
|
1018
|
+
{
|
1019
|
+
"internalType": "address",
|
1020
|
+
"name": "account",
|
1021
|
+
"type": "address"
|
1022
|
+
}
|
1023
|
+
],
|
1024
|
+
"name": "revokeRole",
|
1025
|
+
"outputs": [],
|
1026
|
+
"stateMutability": "nonpayable",
|
1027
|
+
"type": "function"
|
1028
|
+
},
|
1029
|
+
{
|
1030
|
+
"inputs": [
|
1031
|
+
{
|
1032
|
+
"internalType": "address",
|
1033
|
+
"name": "_evmScriptExecutor",
|
1034
|
+
"type": "address"
|
1035
|
+
}
|
1036
|
+
],
|
1037
|
+
"name": "setEVMScriptExecutor",
|
1038
|
+
"outputs": [],
|
1039
|
+
"stateMutability": "nonpayable",
|
1040
|
+
"type": "function"
|
1041
|
+
},
|
1042
|
+
{
|
1043
|
+
"inputs": [
|
1044
|
+
{
|
1045
|
+
"internalType": "uint256",
|
1046
|
+
"name": "_motionDuration",
|
1047
|
+
"type": "uint256"
|
1048
|
+
}
|
1049
|
+
],
|
1050
|
+
"name": "setMotionDuration",
|
1051
|
+
"outputs": [],
|
1052
|
+
"stateMutability": "nonpayable",
|
1053
|
+
"type": "function"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"inputs": [
|
1057
|
+
{
|
1058
|
+
"internalType": "uint256",
|
1059
|
+
"name": "_motionsCountLimit",
|
1060
|
+
"type": "uint256"
|
1061
|
+
}
|
1062
|
+
],
|
1063
|
+
"name": "setMotionsCountLimit",
|
1064
|
+
"outputs": [],
|
1065
|
+
"stateMutability": "nonpayable",
|
1066
|
+
"type": "function"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"inputs": [
|
1070
|
+
{
|
1071
|
+
"internalType": "uint256",
|
1072
|
+
"name": "_objectionsThreshold",
|
1073
|
+
"type": "uint256"
|
1074
|
+
}
|
1075
|
+
],
|
1076
|
+
"name": "setObjectionsThreshold",
|
1077
|
+
"outputs": [],
|
1078
|
+
"stateMutability": "nonpayable",
|
1079
|
+
"type": "function"
|
1080
|
+
},
|
1081
|
+
{
|
1082
|
+
"inputs": [
|
1083
|
+
{
|
1084
|
+
"internalType": "bytes4",
|
1085
|
+
"name": "interfaceId",
|
1086
|
+
"type": "bytes4"
|
1087
|
+
}
|
1088
|
+
],
|
1089
|
+
"name": "supportsInterface",
|
1090
|
+
"outputs": [
|
1091
|
+
{
|
1092
|
+
"internalType": "bool",
|
1093
|
+
"name": "",
|
1094
|
+
"type": "bool"
|
1095
|
+
}
|
1096
|
+
],
|
1097
|
+
"stateMutability": "view",
|
1098
|
+
"type": "function"
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"inputs": [],
|
1102
|
+
"name": "unpause",
|
1103
|
+
"outputs": [],
|
1104
|
+
"stateMutability": "nonpayable",
|
1105
|
+
"type": "function"
|
1106
|
+
}
|
1107
|
+
]
|
1108
|
+
''')
|