Closed bjwswang closed 1 year ago
以存证合约为例
[ { "name": "Proof", "version": "v0.0.1", "from": "Bestchains Team", "language": "Go", "description": "提供存证应用的基础功能,通用的Key-Value存储", "package": "example/basic/metadata.json", "status": "已完成", "interfaces": [ { "name":"Initialize", "args":[""], "condition":"无", "description":"用于初始化存证应用" }, { "name":"Total", "args":[""], "condition":"无", "description":"用于获取存证总数" }, { "name": "PutValue", "args": [ "context.Message msg", "string value" ], "condition":"仅允许合约Client角色用户调用", "description": "用于生成存证" }, { "name": "GetValueByIndex", "args":["string index"], "condition":"无", "description":"基于存证索引查询存证" }, { "name": "GetValueByKey", "args":["string kid"], "condition":"无", "description": "基于存证Key查询存证" } ] } ]
以存证合约为例