ragraf_contract_pin_sample
Edition: enterprise Capability: contract-pin Operation page: contract_pin_sample
What it does
Behaviour probe: what an operation actually returns, hashed without the volatile fields — the part a signature pin cannot see
What problem it solves
Takes an answer sample the contract is built from, instead of describing it from memory.
How to call it
ragraf_contract_pin_sample()
ragraf -p config/ragraf.yaml query contract_pin_sample
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| mode | str | 'compare' |
| op | str | '' |
| limit | int | 50 |
| by | str | '' |
| note | str | '' |
| only_changed | bool | False |
| except_ops | str | '' |
What it returns
mode, probes, scope, selected, state