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,666 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_CURVE_LIQUIDITY_FARMING_REWARD_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"internalType": "address",
|
9
|
+
"name": "_owner",
|
10
|
+
"type": "address"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"internalType": "address",
|
14
|
+
"name": "_rewardsDistribution",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"internalType": "address",
|
19
|
+
"name": "_rewardsToken",
|
20
|
+
"type": "address"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"internalType": "address",
|
24
|
+
"name": "_stakingToken",
|
25
|
+
"type": "address"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"internalType": "uint256",
|
29
|
+
"name": "_rewardsDuration",
|
30
|
+
"type": "uint256"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"payable": false,
|
34
|
+
"stateMutability": "nonpayable",
|
35
|
+
"type": "constructor"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"anonymous": false,
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"indexed": false,
|
42
|
+
"internalType": "address",
|
43
|
+
"name": "oldOwner",
|
44
|
+
"type": "address"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "address",
|
49
|
+
"name": "newOwner",
|
50
|
+
"type": "address"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "OwnerChanged",
|
54
|
+
"type": "event"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"anonymous": false,
|
58
|
+
"inputs": [
|
59
|
+
{
|
60
|
+
"indexed": false,
|
61
|
+
"internalType": "address",
|
62
|
+
"name": "newOwner",
|
63
|
+
"type": "address"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"name": "OwnerNominated",
|
67
|
+
"type": "event"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"anonymous": false,
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"indexed": false,
|
74
|
+
"internalType": "bool",
|
75
|
+
"name": "isPaused",
|
76
|
+
"type": "bool"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "PauseChanged",
|
80
|
+
"type": "event"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"anonymous": false,
|
84
|
+
"inputs": [
|
85
|
+
{
|
86
|
+
"indexed": false,
|
87
|
+
"internalType": "address",
|
88
|
+
"name": "token",
|
89
|
+
"type": "address"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"indexed": false,
|
93
|
+
"internalType": "uint256",
|
94
|
+
"name": "amount",
|
95
|
+
"type": "uint256"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"name": "Recovered",
|
99
|
+
"type": "event"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"anonymous": false,
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"indexed": false,
|
106
|
+
"internalType": "uint256",
|
107
|
+
"name": "reward",
|
108
|
+
"type": "uint256"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"name": "RewardAdded",
|
112
|
+
"type": "event"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"anonymous": false,
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"indexed": true,
|
119
|
+
"internalType": "address",
|
120
|
+
"name": "user",
|
121
|
+
"type": "address"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"indexed": false,
|
125
|
+
"internalType": "uint256",
|
126
|
+
"name": "reward",
|
127
|
+
"type": "uint256"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
"name": "RewardPaid",
|
131
|
+
"type": "event"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"anonymous": false,
|
135
|
+
"inputs": [
|
136
|
+
{
|
137
|
+
"indexed": false,
|
138
|
+
"internalType": "uint256",
|
139
|
+
"name": "newDuration",
|
140
|
+
"type": "uint256"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"name": "RewardsDurationUpdated",
|
144
|
+
"type": "event"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"anonymous": false,
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"indexed": true,
|
151
|
+
"internalType": "address",
|
152
|
+
"name": "user",
|
153
|
+
"type": "address"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"indexed": false,
|
157
|
+
"internalType": "uint256",
|
158
|
+
"name": "amount",
|
159
|
+
"type": "uint256"
|
160
|
+
}
|
161
|
+
],
|
162
|
+
"name": "Staked",
|
163
|
+
"type": "event"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"anonymous": false,
|
167
|
+
"inputs": [
|
168
|
+
{
|
169
|
+
"indexed": true,
|
170
|
+
"internalType": "address",
|
171
|
+
"name": "user",
|
172
|
+
"type": "address"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"indexed": false,
|
176
|
+
"internalType": "uint256",
|
177
|
+
"name": "amount",
|
178
|
+
"type": "uint256"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"name": "Withdrawn",
|
182
|
+
"type": "event"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"constant": false,
|
186
|
+
"inputs": [],
|
187
|
+
"name": "acceptOwnership",
|
188
|
+
"outputs": [],
|
189
|
+
"payable": false,
|
190
|
+
"stateMutability": "nonpayable",
|
191
|
+
"type": "function"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"constant": true,
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "account",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "balanceOf",
|
203
|
+
"outputs": [
|
204
|
+
{
|
205
|
+
"internalType": "uint256",
|
206
|
+
"name": "",
|
207
|
+
"type": "uint256"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"payable": false,
|
211
|
+
"stateMutability": "view",
|
212
|
+
"type": "function"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"constant": true,
|
216
|
+
"inputs": [
|
217
|
+
{
|
218
|
+
"internalType": "address",
|
219
|
+
"name": "account",
|
220
|
+
"type": "address"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "earned",
|
224
|
+
"outputs": [
|
225
|
+
{
|
226
|
+
"internalType": "uint256",
|
227
|
+
"name": "",
|
228
|
+
"type": "uint256"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"payable": false,
|
232
|
+
"stateMutability": "view",
|
233
|
+
"type": "function"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"constant": false,
|
237
|
+
"inputs": [],
|
238
|
+
"name": "exit",
|
239
|
+
"outputs": [],
|
240
|
+
"payable": false,
|
241
|
+
"stateMutability": "nonpayable",
|
242
|
+
"type": "function"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"constant": false,
|
246
|
+
"inputs": [],
|
247
|
+
"name": "getReward",
|
248
|
+
"outputs": [],
|
249
|
+
"payable": false,
|
250
|
+
"stateMutability": "nonpayable",
|
251
|
+
"type": "function"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"constant": true,
|
255
|
+
"inputs": [],
|
256
|
+
"name": "getRewardForDuration",
|
257
|
+
"outputs": [
|
258
|
+
{
|
259
|
+
"internalType": "uint256",
|
260
|
+
"name": "",
|
261
|
+
"type": "uint256"
|
262
|
+
}
|
263
|
+
],
|
264
|
+
"payable": false,
|
265
|
+
"stateMutability": "view",
|
266
|
+
"type": "function"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"constant": true,
|
270
|
+
"inputs": [],
|
271
|
+
"name": "lastPauseTime",
|
272
|
+
"outputs": [
|
273
|
+
{
|
274
|
+
"internalType": "uint256",
|
275
|
+
"name": "",
|
276
|
+
"type": "uint256"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"payable": false,
|
280
|
+
"stateMutability": "view",
|
281
|
+
"type": "function"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"constant": true,
|
285
|
+
"inputs": [],
|
286
|
+
"name": "lastTimeRewardApplicable",
|
287
|
+
"outputs": [
|
288
|
+
{
|
289
|
+
"internalType": "uint256",
|
290
|
+
"name": "",
|
291
|
+
"type": "uint256"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"payable": false,
|
295
|
+
"stateMutability": "view",
|
296
|
+
"type": "function"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"constant": true,
|
300
|
+
"inputs": [],
|
301
|
+
"name": "lastUpdateTime",
|
302
|
+
"outputs": [
|
303
|
+
{
|
304
|
+
"internalType": "uint256",
|
305
|
+
"name": "",
|
306
|
+
"type": "uint256"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"payable": false,
|
310
|
+
"stateMutability": "view",
|
311
|
+
"type": "function"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"constant": false,
|
315
|
+
"inputs": [
|
316
|
+
{
|
317
|
+
"internalType": "address",
|
318
|
+
"name": "_owner",
|
319
|
+
"type": "address"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"name": "nominateNewOwner",
|
323
|
+
"outputs": [],
|
324
|
+
"payable": false,
|
325
|
+
"stateMutability": "nonpayable",
|
326
|
+
"type": "function"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"constant": true,
|
330
|
+
"inputs": [],
|
331
|
+
"name": "nominatedOwner",
|
332
|
+
"outputs": [
|
333
|
+
{
|
334
|
+
"internalType": "address",
|
335
|
+
"name": "",
|
336
|
+
"type": "address"
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"payable": false,
|
340
|
+
"stateMutability": "view",
|
341
|
+
"type": "function"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"constant": false,
|
345
|
+
"inputs": [
|
346
|
+
{
|
347
|
+
"internalType": "uint256",
|
348
|
+
"name": "reward",
|
349
|
+
"type": "uint256"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"internalType": "address",
|
353
|
+
"name": "rewardHolder",
|
354
|
+
"type": "address"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"name": "notifyRewardAmount",
|
358
|
+
"outputs": [],
|
359
|
+
"payable": false,
|
360
|
+
"stateMutability": "nonpayable",
|
361
|
+
"type": "function"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"constant": true,
|
365
|
+
"inputs": [],
|
366
|
+
"name": "owner",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "address",
|
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": "paused",
|
382
|
+
"outputs": [
|
383
|
+
{
|
384
|
+
"internalType": "bool",
|
385
|
+
"name": "",
|
386
|
+
"type": "bool"
|
387
|
+
}
|
388
|
+
],
|
389
|
+
"payable": false,
|
390
|
+
"stateMutability": "view",
|
391
|
+
"type": "function"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"constant": true,
|
395
|
+
"inputs": [],
|
396
|
+
"name": "periodFinish",
|
397
|
+
"outputs": [
|
398
|
+
{
|
399
|
+
"internalType": "uint256",
|
400
|
+
"name": "",
|
401
|
+
"type": "uint256"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"payable": false,
|
405
|
+
"stateMutability": "view",
|
406
|
+
"type": "function"
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"constant": false,
|
410
|
+
"inputs": [
|
411
|
+
{
|
412
|
+
"internalType": "address",
|
413
|
+
"name": "tokenAddress",
|
414
|
+
"type": "address"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"internalType": "uint256",
|
418
|
+
"name": "tokenAmount",
|
419
|
+
"type": "uint256"
|
420
|
+
}
|
421
|
+
],
|
422
|
+
"name": "recoverERC20",
|
423
|
+
"outputs": [],
|
424
|
+
"payable": false,
|
425
|
+
"stateMutability": "nonpayable",
|
426
|
+
"type": "function"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"constant": true,
|
430
|
+
"inputs": [],
|
431
|
+
"name": "rewardPerToken",
|
432
|
+
"outputs": [
|
433
|
+
{
|
434
|
+
"internalType": "uint256",
|
435
|
+
"name": "",
|
436
|
+
"type": "uint256"
|
437
|
+
}
|
438
|
+
],
|
439
|
+
"payable": false,
|
440
|
+
"stateMutability": "view",
|
441
|
+
"type": "function"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"constant": true,
|
445
|
+
"inputs": [],
|
446
|
+
"name": "rewardPerTokenStored",
|
447
|
+
"outputs": [
|
448
|
+
{
|
449
|
+
"internalType": "uint256",
|
450
|
+
"name": "",
|
451
|
+
"type": "uint256"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"payable": false,
|
455
|
+
"stateMutability": "view",
|
456
|
+
"type": "function"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"constant": true,
|
460
|
+
"inputs": [],
|
461
|
+
"name": "rewardRate",
|
462
|
+
"outputs": [
|
463
|
+
{
|
464
|
+
"internalType": "uint256",
|
465
|
+
"name": "",
|
466
|
+
"type": "uint256"
|
467
|
+
}
|
468
|
+
],
|
469
|
+
"payable": false,
|
470
|
+
"stateMutability": "view",
|
471
|
+
"type": "function"
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"constant": true,
|
475
|
+
"inputs": [
|
476
|
+
{
|
477
|
+
"internalType": "address",
|
478
|
+
"name": "",
|
479
|
+
"type": "address"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"name": "rewards",
|
483
|
+
"outputs": [
|
484
|
+
{
|
485
|
+
"internalType": "uint256",
|
486
|
+
"name": "",
|
487
|
+
"type": "uint256"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"payable": false,
|
491
|
+
"stateMutability": "view",
|
492
|
+
"type": "function"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"constant": true,
|
496
|
+
"inputs": [],
|
497
|
+
"name": "rewardsDistribution",
|
498
|
+
"outputs": [
|
499
|
+
{
|
500
|
+
"internalType": "address",
|
501
|
+
"name": "",
|
502
|
+
"type": "address"
|
503
|
+
}
|
504
|
+
],
|
505
|
+
"payable": false,
|
506
|
+
"stateMutability": "view",
|
507
|
+
"type": "function"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"constant": true,
|
511
|
+
"inputs": [],
|
512
|
+
"name": "rewardsDuration",
|
513
|
+
"outputs": [
|
514
|
+
{
|
515
|
+
"internalType": "uint256",
|
516
|
+
"name": "",
|
517
|
+
"type": "uint256"
|
518
|
+
}
|
519
|
+
],
|
520
|
+
"payable": false,
|
521
|
+
"stateMutability": "view",
|
522
|
+
"type": "function"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"constant": true,
|
526
|
+
"inputs": [],
|
527
|
+
"name": "rewardsToken",
|
528
|
+
"outputs": [
|
529
|
+
{
|
530
|
+
"internalType": "contract IERC20",
|
531
|
+
"name": "",
|
532
|
+
"type": "address"
|
533
|
+
}
|
534
|
+
],
|
535
|
+
"payable": false,
|
536
|
+
"stateMutability": "view",
|
537
|
+
"type": "function"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"constant": false,
|
541
|
+
"inputs": [
|
542
|
+
{
|
543
|
+
"internalType": "bool",
|
544
|
+
"name": "_paused",
|
545
|
+
"type": "bool"
|
546
|
+
}
|
547
|
+
],
|
548
|
+
"name": "setPaused",
|
549
|
+
"outputs": [],
|
550
|
+
"payable": false,
|
551
|
+
"stateMutability": "nonpayable",
|
552
|
+
"type": "function"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"constant": false,
|
556
|
+
"inputs": [
|
557
|
+
{
|
558
|
+
"internalType": "address",
|
559
|
+
"name": "_rewardsDistribution",
|
560
|
+
"type": "address"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"name": "setRewardsDistribution",
|
564
|
+
"outputs": [],
|
565
|
+
"payable": false,
|
566
|
+
"stateMutability": "nonpayable",
|
567
|
+
"type": "function"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"constant": false,
|
571
|
+
"inputs": [
|
572
|
+
{
|
573
|
+
"internalType": "uint256",
|
574
|
+
"name": "_rewardsDuration",
|
575
|
+
"type": "uint256"
|
576
|
+
}
|
577
|
+
],
|
578
|
+
"name": "setRewardsDuration",
|
579
|
+
"outputs": [],
|
580
|
+
"payable": false,
|
581
|
+
"stateMutability": "nonpayable",
|
582
|
+
"type": "function"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"constant": false,
|
586
|
+
"inputs": [
|
587
|
+
{
|
588
|
+
"internalType": "uint256",
|
589
|
+
"name": "amount",
|
590
|
+
"type": "uint256"
|
591
|
+
}
|
592
|
+
],
|
593
|
+
"name": "stake",
|
594
|
+
"outputs": [],
|
595
|
+
"payable": false,
|
596
|
+
"stateMutability": "nonpayable",
|
597
|
+
"type": "function"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"constant": true,
|
601
|
+
"inputs": [],
|
602
|
+
"name": "stakingToken",
|
603
|
+
"outputs": [
|
604
|
+
{
|
605
|
+
"internalType": "contract IERC20",
|
606
|
+
"name": "",
|
607
|
+
"type": "address"
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"payable": false,
|
611
|
+
"stateMutability": "view",
|
612
|
+
"type": "function"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"constant": true,
|
616
|
+
"inputs": [],
|
617
|
+
"name": "totalSupply",
|
618
|
+
"outputs": [
|
619
|
+
{
|
620
|
+
"internalType": "uint256",
|
621
|
+
"name": "",
|
622
|
+
"type": "uint256"
|
623
|
+
}
|
624
|
+
],
|
625
|
+
"payable": false,
|
626
|
+
"stateMutability": "view",
|
627
|
+
"type": "function"
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"constant": true,
|
631
|
+
"inputs": [
|
632
|
+
{
|
633
|
+
"internalType": "address",
|
634
|
+
"name": "",
|
635
|
+
"type": "address"
|
636
|
+
}
|
637
|
+
],
|
638
|
+
"name": "userRewardPerTokenPaid",
|
639
|
+
"outputs": [
|
640
|
+
{
|
641
|
+
"internalType": "uint256",
|
642
|
+
"name": "",
|
643
|
+
"type": "uint256"
|
644
|
+
}
|
645
|
+
],
|
646
|
+
"payable": false,
|
647
|
+
"stateMutability": "view",
|
648
|
+
"type": "function"
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"constant": false,
|
652
|
+
"inputs": [
|
653
|
+
{
|
654
|
+
"internalType": "uint256",
|
655
|
+
"name": "amount",
|
656
|
+
"type": "uint256"
|
657
|
+
}
|
658
|
+
],
|
659
|
+
"name": "withdraw",
|
660
|
+
"outputs": [],
|
661
|
+
"payable": false,
|
662
|
+
"stateMutability": "nonpayable",
|
663
|
+
"type": "function"
|
664
|
+
}
|
665
|
+
]
|
666
|
+
''')
|