Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c910a2f

Browse files
author
Kotsias, Panagiotis-Christos
committed
Build and dist
1 parent c5adeec commit c910a2f

8 files changed

+574
-4
lines changed

build/lib/configs/stable.json

+156
Original file line numberDiff line numberDiff line change
@@ -306,5 +306,161 @@
306306
"page": 1,
307307
"offset": 100
308308
}
309+
},
310+
"get_hist_eth_balance_for_address_by_block_no": {
311+
"module": "pro",
312+
"kwargs": {
313+
"address": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
314+
"block_no": "8000000"
315+
}
316+
},
317+
"get_daily_average_block_size": {
318+
"module": "pro",
319+
"kwargs": {
320+
"start_date": "2019-02-01",
321+
"end_date": "2019-02-28",
322+
"sort": "asc"
323+
}
324+
},
325+
"get_daily_block_count_and_rewards": {
326+
"module": "pro",
327+
"kwargs": {
328+
"start_date": "2019-02-01",
329+
"end_date": "2019-02-28",
330+
"sort": "asc"
331+
}
332+
},
333+
"get_daily_block_rewards": {
334+
"module": "pro",
335+
"kwargs": {
336+
"start_date": "2019-02-01",
337+
"end_date": "2019-02-28",
338+
"sort": "asc"
339+
}
340+
},
341+
"get_daily_average_block_time": {
342+
"module": "pro",
343+
"kwargs": {
344+
"start_date": "2019-02-01",
345+
"end_date": "2019-02-28",
346+
"sort": "asc"
347+
}
348+
},
349+
"get_daily_uncle_block_count_and_rewards": {
350+
"module": "pro",
351+
"kwargs": {
352+
"start_date": "2019-02-01",
353+
"end_date": "2019-02-28",
354+
"sort": "asc"
355+
}
356+
},
357+
"get_hist_erc20_token_total_supply_by_contract_address_and_block_no": {
358+
"module": "pro",
359+
"kwargs": {
360+
"contract_address": "0x57d90b64a1a57749b0f932f1a3395792e12e7055",
361+
"block_no": "8000000"
362+
}
363+
},
364+
"get_hist_erc20_token_account_balance_for_token_contract_address_by_block_no": {
365+
"module": "pro",
366+
"kwargs": {
367+
"contract_address": "0x57d90b64a1a57749b0f932f1a3395792e12e7055",
368+
"address": "0xe04f27eb70e025b78871a2ad7eabe85e61212761",
369+
"block_no": "8000000"
370+
}
371+
},
372+
"get_token_info_by_contract_address": {
373+
"module": "pro",
374+
"kwargs": {
375+
"contract_address": "0x0e3a2a1f2146d86a604adc220b4967a898d7fe07"
376+
}
377+
},
378+
"get_daily_average_gas_limit": {
379+
"module": "pro",
380+
"kwargs": {
381+
"start_date": "2019-02-01",
382+
"end_date": "2019-02-28",
383+
"sort": "asc"
384+
}
385+
},
386+
"get_eth_daily_total_gas_used": {
387+
"module": "pro",
388+
"kwargs": {
389+
"start_date": "2019-02-01",
390+
"end_date": "2019-02-28",
391+
"sort": "asc"
392+
}
393+
},
394+
"get_eth_daily_average_gas_price": {
395+
"module": "pro",
396+
"kwargs": {
397+
"start_date": "2019-02-01",
398+
"end_date": "2019-02-28",
399+
"sort": "asc"
400+
}
401+
},
402+
"get_eth_daily_network_tx_fee": {
403+
"module": "pro",
404+
"kwargs": {
405+
"start_date": "2019-02-01",
406+
"end_date": "2019-02-28",
407+
"sort": "asc"
408+
}
409+
},
410+
"get_daily_new_address_count": {
411+
"module": "pro",
412+
"kwargs": {
413+
"start_date": "2019-02-01",
414+
"end_date": "2019-02-28",
415+
"sort": "asc"
416+
}
417+
},
418+
"get_daily_network_utilization": {
419+
"module": "pro",
420+
"kwargs": {
421+
"start_date": "2019-02-01",
422+
"end_date": "2019-02-28",
423+
"sort": "asc"
424+
}
425+
},
426+
"get_daily_average_network_hash_rate": {
427+
"module": "pro",
428+
"kwargs": {
429+
"start_date": "2019-02-01",
430+
"end_date": "2019-02-28",
431+
"sort": "asc"
432+
}
433+
},
434+
"get_daily_tx_count": {
435+
"module": "pro",
436+
"kwargs": {
437+
"start_date": "2019-02-01",
438+
"end_date": "2019-02-28",
439+
"sort": "asc"
440+
}
441+
},
442+
"get_daily_average_network_difficulty": {
443+
"module": "pro",
444+
"kwargs": {
445+
"start_date": "2019-02-01",
446+
"end_date": "2019-02-28",
447+
"sort": "asc"
448+
}
449+
},
450+
"get_eth_hist_daily_market_cap": {
451+
"module": "pro",
452+
"kwargs": {
453+
"start_date": "2019-02-01",
454+
"end_date": "2019-02-28",
455+
"sort": "asc"
456+
}
457+
},
458+
"get_eth_hist_price": {
459+
"module": "pro",
460+
"kwargs": {
461+
"start_date": "2019-02-01",
462+
"end_date": "2019-02-28",
463+
"sort": "asc"
464+
}
309465
}
310466
}

build/lib/etherscan/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
from .etherscan import Etherscan
12
from .modules.accounts import Accounts as accounts
23
from .modules.blocks import Blocks as blocks
34
from .modules.contracts import Contracts as contracts
45
from .modules.gastracker import GasTracker as gastracker
6+
from .modules.pro import Pro as pro
57
from .modules.proxy import Proxy as proxy
68
from .modules.stats import Stats as stats
79
from .modules.tokens import Tokens as tokens
810
from .modules.transactions import Transactions as transactions
9-
from .etherscan import Etherscan

build/lib/etherscan/enums/actions_enum.py

+25-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,35 @@ class ActionsEnum:
77
BALANCE_MULTI: str = "balancemulti"
88
BALANCE: str = "balance"
99
CHAIN_SIZE: str = "chainsize"
10+
DAILY_AVG_BLOCK_SIZE: str = "dailyavgblocksize"
11+
DAILY_AVG_BLOCK_TIME: str = "dailyavgblocktime"
12+
DAILY_AVG_GAS_LIMIT: str = "dailyavggaslimit"
13+
DAILY_AVG_GAS_PRICE: str = "dailyavggasprice"
14+
DAILY_AVG_HASH_RATE: str = "dailyavghashrate"
15+
DAILY_AVG_NET_DIFFICULTY: str = "dailyavgnetdifficulty"
16+
DAILY_BLK_COUNT: str = "dailyblkcount"
17+
DAILY_BLOCK_REWARDS: str = "dailyblockrewards"
18+
DAILY_GAS_USED: str = "dailygasused"
19+
DAILY_NET_UTILIZATION: str = "dailynetutilization"
20+
DAILY_NEW_ADDRESS: str = "dailynewaddress"
21+
DAILY_TX: str = "dailytx"
22+
DAILY_TXN_FEE: str = "dailytxnfee"
23+
DAILY_UNCLE_BLK_COUNT: str = "dailyuncleblkcount"
1024
ETH_BLOCK_NUMBER: str = "eth_blockNumber"
1125
ETH_CALL: str = "eth_call"
26+
ETH_DAILY_MARKET_CAP: str = "ethdailymarketcap"
27+
ETH_DAILY_PRICE: str = "ethdailyprice"
1228
ETH_ESTIMATE_GAS: str = "eth_estimateGas"
1329
ETH_GAS_PRICE: str = "eth_gasPrice"
1430
ETH_GET_BLOCK_BY_NUMBER: str = "eth_getBlockByNumber"
15-
ETH_GET_BLOCK_TRANSACTION_COUNT_BY_NUMBER: str = "eth_getBlockTransactionCountByNumber"
16-
ETH_GET_TRANSACTION_BY_BLOCK_NUMBER_AND_INDEX: str = "eth_getTransactionByBlockNumberAndIndex"
31+
ETH_GET_BLOCK_TRANSACTION_COUNT_BY_NUMBER: str = (
32+
"eth_getBlockTransactionCountByNumber"
33+
)
1734
ETH_GET_CODE: str = "eth_getCode"
1835
ETH_GET_STORAGE_AT: str = "eth_getStorageAt"
36+
ETH_GET_TRANSACTION_BY_BLOCK_NUMBER_AND_INDEX: str = (
37+
"eth_getTransactionByBlockNumberAndIndex"
38+
)
1939
ETH_GET_TRANSACTION_BY_HASH: str = "eth_getTransactionByHash"
2040
ETH_GET_TRANSACTION_COUNT: str = "eth_getTransactionCount"
2141
ETH_GET_TRANSACTION_RECEIPT: str = "eth_getTransactionReceipt"
@@ -32,10 +52,12 @@ class ActionsEnum:
3252
GET_SOURCE_CODE: str = "getsourcecode"
3353
GET_STATUS: str = "getstatus"
3454
GET_TX_RECEIPT_STATUS: str = "gettxreceiptstatus"
55+
TOKEN_BALANCE_HISTORY: str = "tokenbalancehistory"
3556
TOKEN_BALANCE: str = "tokenbalance"
57+
TOKEN_INFO: str = "tokeninfo"
58+
TOKEN_SUPPLY_HISTORY: str = "tokensupplyhistory"
3659
TOKEN_SUPPLY: str = "tokensupply"
3760
TOKENNFTTX: str = "tokennfttx"
3861
TOKENTX: str = "tokentx"
3962
TXLIST_INTERNAL: str = "txlistinternal"
4063
TXLIST: str = "txlist"
41-

0 commit comments

Comments
 (0)