Giter VIP home page Giter VIP logo

snips's People

Contributors

assafmo avatar baedrik avatar blake-regalia avatar cashmaney avatar darwinzer0 avatar ddt5 avatar jlwaugh avatar mweichert avatar reuvenpo avatar writersblockchain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snips's Issues

Add query to view all allowances for SNIP-20

This is a request to add a key-authenticated query to the SNIP-20 spec, possibly called AllAllowances, that would take an address and a key as parameters and respond with a list of all non-zero allowances that address has authorized.

--Questions--
Should this query allow optional pagination? Do we expect the average user to have set enough allowances that pagination would be useful?

Should this query also filter out expired allowances? Because queries are performed locally, off-chain, there is no Env, so is checking whether the allowance has expired even feasible without access to an env.block.time?

Add query to view all individual NFT approvals for SNIP-721

This is a request to add a key-authenticated query to the SNIP-721 spec, possibly called AllNftApprovals, that would take an address and a key as parameters and respond with a list of all the approvals granted for individual NFTs. While the SNIP-721 spec includes a query to list all operators (addresses that have transfer approval for ALL of the owner's NFTs), it does not currently have a query to list all individual NFT approvals.

--Questions--
Should this query allow optional pagination? Do we expect the average user to have set enough approvals that pagination would be useful?

Should this query also filter out expired approvals? Because queries are performed locally, off-chain, there is no Env, so is checking whether the approval has expired even feasible without access to an env.block.time?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.