Skip to content

Commit

Permalink
Merge pull request #29 from cowprotocol/restructures
Browse files Browse the repository at this point in the history
Code Restructuring
  • Loading branch information
harisang authored Aug 19, 2024
2 parents 25207fc + dd8d756 commit 44355a3
Show file tree
Hide file tree
Showing 29 changed files with 820 additions and 32,193 deletions.
7 changes: 6 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ SOLVER_SLIPPAGE_DB_URL=
# configure chain sleep time, e.g. CHAIN_SLEEP_TIME=60
CHAIN_SLEEP_TIME=

# add chain name, e.g. CHAIN_NAME=Ethereum
# add chain name, e.g. CHAIN_NAME=mainnet
CHAIN_NAME=

# OPTIONAL: when running imbalances_script to test for a single tx hash, must provide below variables
ETHEREUM_NODE_URL=

# Include these for fetching token prices
COINGECKO_API_KEY=
DUNE_API_KEY=
MORALIS_KEY=
2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[mypy-moralis]
ignore_missing_imports = True
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ pytest==7.4.0
setuptools
pandas-stubs
types-psycopg2
types-requests
types-requests
moralis
dune-client
Empty file added slippage_project.log
Empty file.
2 changes: 1 addition & 1 deletion src/balanceof_imbalances.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from web3.types import TxReceipt, HexStr
from eth_typing import ChecksumAddress
from typing import Dict, Optional, Set
from src.config import NODE_URL
from src.helpers.config import NODE_URL
from src.constants import SETTLEMENT_CONTRACT_ADDRESS, NATIVE_ETH_TOKEN_ADDRESS
from contracts.erc20_abi import erc20_abi

Expand Down
110 changes: 0 additions & 110 deletions src/coingecko_pricing.py

This file was deleted.

Loading

0 comments on commit 44355a3

Please sign in to comment.