Skip to content

Public access to _isBPool  #238

@maurodelazeri

Description

@maurodelazeri

Hello,
Would be very helpful the implementation of a public view of the _isBPool map, this could be done in a similar way with what UNISWAP does with does with allPairs and allPairsLength

The main problem with the current implementation in Balancer is that I don't have a way to get all pools associated with a factory, the only thing I can do is to follow the log event LOG_NEW_POOL but this will only be usefull for new pools and not the existent ones. For the current pools, I believe that I will need to check all the previous blocks and listen to LOG_NEW_POOL again, please correct me if I'm wrong with any of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions