Skip to content

Commit

Permalink
Deployment address, move method_id inline
Browse files Browse the repository at this point in the history
  • Loading branch information
ethzoomer authored Feb 7, 2024
1 parent c482a45 commit 02bb3da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions contracts/LpSugar.vy
Original file line number Diff line number Diff line change
Expand Up @@ -962,11 +962,9 @@ def _is_cl_factory(_factory: address) -> (bool):
@notice Returns true if address is a CL factory
@param _factory The factory address
"""
function_signature: bytes4 = method_id("nft()", output_type=bytes4)

response: Bytes[32] = raw_call(
_factory,
function_signature,
method_id("nft()"),
max_outsize=32,
is_delegate_call=False,
is_static_call=True,
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Below is the list of datasets we support.

### Liquidity Pools Data

`LpSugar.vy` is deployed at `0x4F6C0ae189fB11937E092D71F5D5F4B343d06a8C`
`LpSugar.vy` is deployed at `0x90b18D906aa461a45229877469eD4c6A41c31Da6`

It allows fetching on-chain pools data.
The returned data/struct of type `Lp` values represent:
Expand Down

0 comments on commit 02bb3da

Please sign in to comment.