Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

智能合约授权 | Simplexity #5

Open
simplexity-ckcclc opened this issue Oct 12, 2021 · 0 comments
Open

智能合约授权 | Simplexity #5

simplexity-ckcclc opened this issue Oct 12, 2021 · 0 comments

Comments

@simplexity-ckcclc
Copy link
Owner

https://simplexity.cn/2020/11/19/authorization-in-smart-contract/

  1. 合约内授权业务智能合约内,可能会针对某些用户给予指定的数据访问权,或者调用方法的权限,涉及到合约内数据的授权。以下是solidity伪代码,适用于该业务合约由权威机构管理,也就是存在administrator角色统一分配权限,其他只能作为参与方访问授权数据。相应的可以参考微众银行权限治理合约,将用户权限按照分组在权限合约里统一管理,应用合约接口粒度的权限。123456789101112131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant