2
调用合约数据存储问题
source link: https://learnblockchain.cn/question/1910
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.
调用合约数据存储问题 | 登链社区 | 技术问答
调用合约数据存储问题
假设有一个智能合约A,里面有一个字段message可以存储一个人的重要信息。这种前提下,每一次外部账户调用该合约时,message是否都会被覆盖重写?我的问题是,假设这个message对每一个外部账户都是有意义的,那么我怎么去查询这个已经被覆盖了的message,或者说以往的message是怎么被保证是真实存在的,没有被篡改过的?
PS:目前我的认知是外部账户调用合约时,交易的tx data 有函数选择器和参数,可能是可以从参数这里入手。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK