Skip to content

Commit

Permalink
chore: actually use the constant lol
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoCentonze committed Sep 19, 2024
1 parent 8ea1c1d commit 42dad41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/StablecoinLens.vy
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _circulating_supply() -> uint256:
# Fetch the weth controller (index 3) under the assumption that
# weth will always be a valid collateral for crvUSD, therefore its
# monetary policy should always be up to date.
controller: IController = staticcall factory.controllers(3)
controller: IController = staticcall factory.controllers(WETH_CONTROLLER_IDX)

# We obtain the address of the current monetary policy used by the
# weth controller because it contains a list of all the peg keepers.
Expand Down

0 comments on commit 42dad41

Please sign in to comment.