public-awesome / cw-nfts

Examples and helpers to build NFT contracts on CosmWasm
Apache License 2.0
185 stars 181 forks source link

There is no easy way to query for existence of an operator #88

Closed peara closed 1 year ago

peara commented 1 year ago

For operators added using ApproveAll, the only way to see them is using AllOperators query. However, that query is paginated which makes it hard to use from another contract. I suggest that we add a query type to directly check the existence of a <owner, operator> pair so operators can check immediately if their approval statuses.