I basically want the ability to pay whoever has a particular 1155 nft some ether. I can get the ownership of the minted nfts using the graph by creating a subgraph. However, since a solidity function can't query the graph, I can't bake the ethereum payments to the specific nft holders within the contract.
The solidity function that does the payment is supposed to be called by the minter of the nfts. But while calling the solidity function we cannot let the minter specify the people whom the payments should be made, only how much should be paid, and the payments should only be made to the people who hold the nfts. Does anybody know how to solve this?