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.7.0; | |
// KeeperCompatible.sol imports the functions from both ./KeeperBase.sol and | |
// ./interfaces/KeeperCompatibleInterface.sol | |
import "@chainlink/contracts/src/v0.7/KeeperCompatible.sol"; | |
contract MultipleCounter is KeeperCompatibleInterface { | |
/** | |
* Public counter variable |
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 | |
// This example code is designed to quickly deploy an example contract using Remix. | |
pragma solidity ^0.6.7; | |
import "@chainlink/contracts/src/v0.6/ChainlinkClient.sol"; | |
contract APIConsumer is ChainlinkClient { | |
using Chainlink for Chainlink.Request; | |
uint256 public volume; |