Skip to content

Commit

Permalink
chore: black .
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and BobTheBuidler committed Dec 16, 2024
1 parent 6be0c91 commit c17268e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions y/prices/tokenized_fund/piedao.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ async def get_tokens(
See Also:
- :class:`ERC20`
"""
token_addresses = await Call(pie_address, ["getTokens()(address[])"], block_id=block)
token_addresses = await Call(
pie_address, ["getTokens()(address[])"], block_id=block
)
return [ERC20(t) for t in token_addresses]


Expand Down Expand Up @@ -200,4 +202,4 @@ async def get_value(
get_balance(bpool, token, block),
token.price(block, skip_cache=skip_cache, sync=False),
)
return UsdValue(balance * Decimal(price))
return UsdValue(balance * Decimal(price))

0 comments on commit c17268e

Please sign in to comment.