-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
728 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
pkg/capabilities/actions/readcontract/action_builders_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
pkg/capabilities/actions/readcontract/readcontract_action-schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/smartcontractkit/chainlink-common/pkg/capabilities/actions/readcontract/[email protected]", | ||
"$defs": { | ||
"Config": { | ||
"type": "object", | ||
"properties": { | ||
"ContractReaderConfig": { | ||
"type": "string" | ||
}, | ||
"ReadIdentifier": { | ||
"type": "string" | ||
}, | ||
"ContractAddress": { | ||
"type": "string" | ||
}, | ||
"ContractName": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["ContractReaderConfig", "ReadIdentifier", "ContractAddress", "ContractName"] | ||
}, | ||
"Input": { | ||
"type": "object", | ||
"properties": { | ||
"ConfidenceLevel": { | ||
"type": "string" | ||
}, | ||
"Params": { | ||
"type": "object", | ||
"additionalProperties": true | ||
} | ||
}, | ||
"required": ["ConfidenceLevel", "Params"] | ||
}, | ||
"Output": { | ||
"type": "object", | ||
"properties": { | ||
"LatestValue": { | ||
"type": ["object", "string", "boolean", "null", "array"] | ||
} | ||
}, | ||
"required": ["LatestValue"] | ||
} | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"Config": { | ||
"$ref": "#/$defs/Config" | ||
}, | ||
"Inputs": { | ||
"$ref": "#/$defs/Input" | ||
}, | ||
"Outputs": { | ||
"$ref": "#/$defs/Output" | ||
} | ||
} | ||
} |
115 changes: 115 additions & 0 deletions
115
pkg/capabilities/actions/readcontract/readcontract_action_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.