Skip to content

Commit

Permalink
Update for @chainlink/contracts@^1.0.0-beta.0
Browse files Browse the repository at this point in the history
Required changes to imports.

NOTE: package.json not updated here.  Will need to be updated
to point to ^1.0.0 when we go to RC.
  • Loading branch information
zeuslawyer committed Jan 10, 2024
1 parent 3d72a5e commit 9b6e8ad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions contracts/AutomatedFunctionsConsumer.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import {FunctionsClient} from "@chainlink/contracts/src/v0.8/functions/dev/v1_0_0/FunctionsClient.sol";
import {FunctionsClient} from "@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient.sol";

import {ConfirmedOwner} from "@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner.sol";
import {FunctionsRequest} from "@chainlink/contracts/src/v0.8/functions/dev/v1_0_0/libraries/FunctionsRequest.sol";
import {FunctionsRequest} from "@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest.sol";
import {AutomationCompatibleInterface} from "@chainlink/contracts/src/v0.8/automation/AutomationCompatible.sol";

/**
Expand Down
4 changes: 2 additions & 2 deletions contracts/FunctionsConsumer.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import {FunctionsClient} from "@chainlink/contracts/src/v0.8/functions/dev/v1_0_0/FunctionsClient.sol";
import {FunctionsClient} from "@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient.sol";
import {ConfirmedOwner} from "@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner.sol";
import {FunctionsRequest} from "@chainlink/contracts/src/v0.8/functions/dev/v1_0_0/libraries/FunctionsRequest.sol";
import {FunctionsRequest} from "@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest.sol";

/**
* @title Chainlink Functions example on-demand consumer contract example
Expand Down
4 changes: 2 additions & 2 deletions contracts/test/LinkToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.24;
pragma solidity ^0.8.0;

import "@chainlink/contracts/src/v0.4/LinkToken.sol";
import "@chainlink/contracts/src/v0.8/shared/token/ERC677/LinkToken.sol";
4 changes: 2 additions & 2 deletions contracts/test/MockV3Aggregator.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
pragma solidity ^0.8.0;

import "@chainlink/contracts/src/v0.7/tests/MockV3Aggregator.sol";
import "@chainlink/contracts/src/v0.8/tests/MockV3Aggregator.sol";

0 comments on commit 9b6e8ad

Please sign in to comment.