跳到主要内容
RAGRAF

contract_pin_sample

版本: enterprise ragraf_contract_pin_sample

行为探针:一个操作实际返回什么,去掉易变字段后取哈希——签名固定看不见的那一部分

参数

名称 类型 默认值
modestr'compare'
opstr''
limitint50
bystr''
notestr''
only_changedboolFalse
except_opsstr''

调用示例

ragraf -p config/ragraf.yaml query contract_pin_sample

尖括号表示必填参数;默认值可以不传。

返回什么

mode, probes, scope, selected, state

何时拒绝

空结果是退出码 0 且 found=false,不是错误。只有当前无法执行时才返回码 3:例如 capability 不是 full 时的 slice。原因总写在 note 字段里。