There seems to be a bug in the data as there exist a PoolShare entity where the user is the pool itself. Here is an example query and output:
{
poolShares(where: {userAddress: "0x5e37910cfb8de1b14ec4e4bac0bec27c35dc07d5"}) {
id
balance
poolId {
id
}
}
}
{
"data": {
"poolShares": [
{
"balance": "0",
"id": "0x5e37910cfb8de1b14ec4e4bac0bec27c35dc07d5-0x5e37910cfb8de1b14ec4e4bac0bec27c35dc07d5",
"poolId": {
"id": "0x5e37910cfb8de1b14ec4e4bac0bec27c35dc07d5"
}
}
]
}
}
How is this possible? Are the BPTs sent to the pool itself upon user's liquidity withdrawal?
There seems to be a bug in the data as there exist a PoolShare entity where the user is the pool itself. Here is an example query and output:
How is this possible? Are the BPTs sent to the pool itself upon user's liquidity withdrawal?