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

Skip to content

Commit 1848af5

Browse files
author
Kotsias, Panagiotis-Christos
committed
Initial commit
0 parents  commit 1848af5

File tree

12 files changed

+34
-0
lines changed

12 files changed

+34
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# notebooks
2+
*.ipynb
3+
4+
# .pyc
5+
*.pyc

__init__.py

Whitespace-only changes.

bot/__init__.py

Whitespace-only changes.

coingecko/__init__.py

Whitespace-only changes.

etherscan/__init__.py

Whitespace-only changes.

etherscan/accounts/__init__.py

Whitespace-only changes.

etherscan/contracts/__init__.py

Whitespace-only changes.

etherscan/enums/__init__.py

Whitespace-only changes.

etherscan/enums/constants_enum.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
from dataclasses import dataclass
2+
3+
4+
@dataclass(frozen=True)
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="

etherscan/tokens/__init__.py

Whitespace-only changes.

etherscan/transactions/__init__.py

Whitespace-only changes.

setup.py

Whitespace-only changes.

0 commit comments

Comments
 (0)