Canto-Network / Canto

Layer-1 blockchain powered by Free Public Infrastructure
GNU Lesser General Public License v3.0
83 stars 80 forks source link

modify Query Interface for CSR #36

Closed nivasan1 closed 2 years ago

nivasan1 commented 2 years ago

Additions

Replaced Rewards and UserToCSR query in favor on DeployerCSR and ContractCSR.

DeployerCSR

return the CSRs associated with a deployer cantoAddress

CSR

Query CSR by nftID for the CSR as opposed to the PoolAddress for the CSR

ContractCSR

return the CSR in which a contract belongs. Contract is passed by its EVM address

Testing

make proto-gen