Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhosuh committed Nov 6, 2023
1 parent 8997176 commit 606c138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curvesim/pool_data/queries/pool_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from curvesim.pool_data.metadata import PoolMetaDataInterface
from curvesim.utils import get_event_loop, get_pairs

from .metadata import get_metadata
from .metadata import Chain, get_metadata

logger = get_logger(__name__)

Expand All @@ -22,7 +22,7 @@ def get_pool_volume(
metadata_or_address: Union[PoolMetaDataInterface, str],
days: int = 60,
end: Optional[int] = None,
chain: Optional[str] = "mainnet",
chain: Union[str, Chain] = "mainnet",
) -> DataFrame:
"""
Gets historical daily volume for each pair of coins traded in a Curve pool.
Expand Down

0 comments on commit 606c138

Please sign in to comment.