Skip to content

Commit

Permalink
chore: remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovalido committed Jun 18, 2024
1 parent 9f15d51 commit 429c478
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions contracts/LpSugar.vy
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,6 @@ def _pools(_limit: uint256, _offset: uint256)\
empty(DynArray[address[4], MAX_POOLS])

for index in range(0, MAX_FACTORIES):
# TODO: remove once v1 factory is delisted
if index == 1:
continue

if index >= factories_count:
break

Expand Down Expand Up @@ -321,10 +317,6 @@ def forSwaps(_limit: uint256, _offset: uint256) -> DynArray[SwapLp, MAX_POOLS]:
left: uint256 = _limit

for index in range(0, MAX_FACTORIES):
# TODO: remove once v1 factory is delisted
if index == 1:
continue

if index >= factories_count:
break

Expand Down Expand Up @@ -638,10 +630,6 @@ def _positions(
factories_count: uint256 = len(_factories)

for index in range(0, MAX_FACTORIES):
# TODO: remove once v1 factory is delisted
if index == 1:
continue

if index >= factories_count:
break

Expand Down
2 changes: 1 addition & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CONVERTOR_ADDRESS=0x585Af0b397AC42dbeF7f18395426BF878634f18D
RELAY_REGISTRY_ADDRESSES=0xe9F00f2e61CB0c6fb00A2e457546aCbF0fC303C2,0x6b1253B116B5919932399295C75116d33F8EfF96
SLIPSTREAM_HELPER_ADDRESS=0x5Bd7E2221C2d59c99e6A9Cd18D80A5F4257D0f32
GOVERNOR_ADDRESS=0x0000000000000000000000000000000000000000
LP_SUGAR_ADDRESS=0x703CcC274B280b42d4e4F816d492C185b37AAB6d
LP_SUGAR_ADDRESS=0x1381B1E6aaFa01bD28e95AdaB35bdA8191826bC8
VE_SUGAR_ADDRESS=0x37403dBd6f1b583ea244F7956fF9e37EF45c63eB
RELAY_SUGAR_ADDRESS=0xb8307e5842B9aeE75C704183F0355076aa74b4e2

Expand Down

0 comments on commit 429c478

Please sign in to comment.