This file contains hidden or 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
# How often the workflow triggers (e.g., every 2 minutes below) | |
cronExpression: "0 */2 * * * *" | |
# Provide the location or city. We'll pass this to Weatherstack. | |
weatherCity: "Adelaide" | |
# Address of a pre-deployed contract that expects (uint256 Temperature)[] in onReport(...) | |
consumerAddress: "0x6fc40D2398e917EC1F1beE2EB60Ca0F43dFFC7A2" | |
# Identifies which chain-writer capability to use |
This file has been truncated, but you can view the full file.
This file contains hidden or 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 hidden or 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
{ | |
"encryptedSecrets": { | |
"25639ae1de024fa6f16de92d3c5473e82d3fcb148264dfb88df523d40ac17213": "Rm3yIH/kl637Ifj7fAcQZKlU3jSup2lBD4fZj2ldaB3UjVyN4axpcwS/OdWQu1pyRULBwztQiggsnzQBbfNGs9PUSK1g93UbURGq09iSeAz1a7Zbri5W7oGY2XcnDQIppaf/ITI9lSJNBWyDZ1IIXllyWNBylb6QjK7g8KJSc3LVHvgfKOauFpC17BDNom1FrqvGS2cch+qVXgr8jzEcnzKnaootyozE8iSpcWhfuH5fu782", | |
"297319a9e75473da28360c7cb217a58e7db533e4cab2df13fef21ebbf8cee4d0": "iI0vF4kY+8fGqFTPmFRe7gXhrO5kStPI/3QIJDgZwQoRukTXqj5zwebxUylm1m9uadbIl7lar9lhMpraw+ERDNd48+r8K+0ICsAkORe7jsO52UP8Yo9t6YHUvAsXc9agrdHZ2IdcTZatKZS/A/Y8lpFSz6+1jF43QR9BduUlhXWJMi/PGgd84JwiaWq+t/AOmMKVk2F2d6YZourb9MmfVfZ4vrDDSULNHhC+guxSfKzLIrH8", | |
"3d0d92d96a07601ae50f6136f7ff607498d1f2e2c2efe5094b5db3c2e10ace87": "MxFYTXqVWnHxAuBnUX82ujjFUwpErmhfBRmjNJGny2S9Oo52D+g4lA2xl8hkN0pMmXyA0yCgNr1w29S/0I51Jgw18V93ZPQdewCKGUJ97+XbVvWG6h66WIhmbSDSHxsdaoCoQeDh7hcsECn9vugQ93ZYkpGqhlxPQ/1DzgiqX3559hQ8VmQzv4Uoh8XHBjmRcCls4HsG9duHYCQI97W/bKP0nKDTc4Dc9bVaJaU16jzMt4CC", | |
"45c60e309800f98623395c5745dbec51d89a18ab63a6f |
This file contains hidden or 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
cronTriggerInterval: 60 | |
dataFeedsCacheContractAddress: 0xb79288ce6a58b7af2230a77f296f6a13b78a0292 | |
feedId: 0x029BFA81517000400000000000000000 | |
endpointTimeoutMilliseconds: 5000 | |
chainWriterCapabilityLabel: [email protected] | |
cronExpression: "0 */2 * * * *" # Every 2 minutes | |
myUniqueValue: 1981 # Your custom integer [0..1000] | |
consumerAddress: "0x9bE25CED8524eaaF1d51b967893F982214161896" # A pre-deployed consumer contract for this example | |
chainWriterLabel: "[email protected]" |
This file has been truncated, but you can view the full file.
This file contains hidden or 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 hidden or 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
cronTriggerInterval: 60 | |
dataFeedsCacheContractAddress: 0xb79288ce6a58b7af2230a77f296f6a13b78a0292 | |
feedId: 0x029BFA81517000400000000000000000 | |
endpointTimeoutMilliseconds: 5000 | |
chainWriterCapabilityLabel: [email protected] | |
cronExpression: "0 */2 * * * *" # Every 2 minutes | |
myUniqueValue: 1981 # Your custom integer [0..1000] | |
consumerAddress: "0x9bE25CED8524eaaF1d51b967893F982214161896" # A pre-deployed consumer contract for this example | |
chainWriterLabel: "[email protected]" |
This file has been truncated, but you can view the full file.
This file contains hidden or 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 hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.19; | |
import {FunctionsClient} from "@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient.sol"; | |
import {FunctionsRequest} from "@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest.sol"; | |
import {ERC721} from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.5/contracts/token/ERC721/ERC721.sol"; | |
import {ERC721URIStorage} from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.5/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
/** | |
* THIS IS AN EXAMPLE CONTRACT THAT USES HARDCODED VALUES FOR CLARITY. |
This file contains hidden or 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
cronTriggerInterval: 60 | |
dataFeedsCacheContractAddress: 0xb79288ce6a58b7af2230a77f296f6a13b78a0292 | |
feedId: 0x029BFA81517000400000000000000000 | |
endpointTimeoutMilliseconds: 5000 | |
chainWriterCapabilityLabel: [email protected] |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
NewerOlder