WithRuntimeInputs supplies policy input values that are merged additively onto the contract arguments when evaluating the standalone material policies for this add. Used by --policy-input-from-file.
(inputs *policies.RuntimeInputs)
| 576 | // the contract arguments when evaluating the standalone material policies for |
| 577 | // this add. Used by --policy-input-from-file. |
| 578 | func WithRuntimeInputs(inputs *policies.RuntimeInputs) AddOpt { |
| 579 | return func(o *addOpts) { |
| 580 | o.runtimeInputs = inputs |
| 581 | } |
| 582 | } |
| 583 | |
| 584 | // AddMaterialContractFree adds a material to the crafting state without checking the contract schema. |
| 585 | // This is useful for adding materials that are not defined in the schema. |
no outgoing calls
no test coverage detected