secretfoundation / snips Goto Github PK
View Code? Open in Web Editor NEWSecret Network Improvement Proposals (SNIPs) ✂️
Secret Network Improvement Proposals (SNIPs) ✂️
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.