4

用require(msg.sender == tx.origin)限制合约调用者 不能为合约

 2 years ago
source link: https://learnblockchain.cn/question/2497
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
用require(msg.sender == tx.origin)限制合约调用者 不能为合约

用require(msg.sender == tx.origin)限制合约调用者 不能为合约

如果用代理合约的话,那msg.sender不就等于tx.origin了吗


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK