Skip to content

issue #1 #3

Description

@BytePhoenixCoding

image

In the liquidity pool page, it lists pairs in which u own liquidity.

I would like it to display a red blocked logo (see photo for idea of what I mean), or if liquidity is unlocked, a green tick.

Just find any image for now, graphics can be tweaked later

How do u find out if the user's liquidity is locked?

U can find out by making a call to the read function in the FilterManager smart contract:
isLiquidityLocked(address _liquidityProviderAddr, address _pairAddr)

where liquidityProviderAddr = the user's wallet address who holds the LP tokens
and pairAddr = the address for the liquidity pair contract ('Filter LPs')

For each liquidity pair detected, the UI must query isLiquidityLocked. If true, then display red banned symbol. If false, then display green tick.

Contract code (u may need to copy the ABI): https://testnet.bscscan.com/address/0xf71d3dE7D7a51320A5f21Ad5198a64131a267599#readContract

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions