File tree Expand file tree Collapse file tree 2 files changed +25
-25
lines changed Expand file tree Collapse file tree 2 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 3
3
4
4
@dataclass (frozen = True )
5
5
class ConstantsEnum :
6
- PREFIX = "https://api.etherscan.io/api?"
7
- MODULE = "module="
8
- ACTION = "&action="
9
- CONTRACT_ADDRESS = "&contractaddress="
10
- ADDRESS = "&address="
11
- OFFSET = "&offset="
12
- PAGE = "&page="
13
- SORT = "&sort="
14
- BLOCK_TYPE = "&blocktype="
15
- TO = "&to="
16
- VALUE = "&value="
17
- DATA = "&data="
18
- POSITION = "&position="
19
- HEX = "&hex="
20
- GAS_PRICE = "&gasPrice="
21
- GAS = "&gas="
22
- START_BLOCK = "&startblock="
23
- END_BLOCK = "&endblock="
24
- BLOCKNO = "&blockno="
25
- TXHASH = "&txhash="
26
- TAG = "&tag="
27
- BOOLEAN = "&boolean="
28
- INDEX = "&index="
29
- API_KEY = "&apikey="
6
+ PREFIX : str = "https://api.etherscan.io/api?"
7
+ MODULE : str = "module="
8
+ ACTION : str = "&action="
9
+ CONTRACT_ADDRESS : str = "&contractaddress="
10
+ ADDRESS : str = "&address="
11
+ OFFSET : str = "&offset="
12
+ PAGE : str = "&page="
13
+ SORT : str = "&sort="
14
+ BLOCK_TYPE : str = "&blocktype="
15
+ TO : str = "&to="
16
+ VALUE : str = "&value="
17
+ DATA : str = "&data="
18
+ POSITION : str = "&position="
19
+ HEX : str = "&hex="
20
+ GAS_PRICE : str = "&gasPrice="
21
+ GAS : str = "&gas="
22
+ START_BLOCK : str = "&startblock="
23
+ END_BLOCK : str = "&endblock="
24
+ BLOCKNO : str = "&blockno="
25
+ TXHASH : str = "&txhash="
26
+ TAG : str = "&tag="
27
+ BOOLEAN : str = "&boolean="
28
+ INDEX : str = "&index="
29
+ API_KEY : str = "&apikey="
Original file line number Diff line number Diff line change 1
- from dataclass import dataclass
1
+ from dataclasses import dataclass
2
2
3
3
4
4
@dataclass (frozen = True )
You can’t perform that action at this time.
0 commit comments