Skip to content

Commit

Permalink
refactor: use @zetachain/protocol-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jun 27, 2023
1 parent c29cf2d commit d493e8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@zetachain/addresses": "^0.0.10",
"@zetachain/interfaces": "^0.0.1",
"@zetachain/networks": "^2.2.0-athens3",
"@zetachain/protocol-contracts": "^0.0.7",
"@zetachain/protocol-contracts": "^1.0.0-athens3",
"chai": "^4.2.0",
"cpx": "^1.5.0",
"dotenv": "^16.0.3",
Expand Down Expand Up @@ -85,4 +85,4 @@
"form-data": "^4.0.0",
"hardhat": "^2.15.0"
}
}
}
2 changes: 1 addition & 1 deletion tasks/balances.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ZetaEth from "@zetachain/interfaces/abi/json/contracts/Zeta.eth.sol/ZetaEth.json";
import { getAddress } from "@zetachain/protocol-contracts/lib";
import { getAddress } from "@zetachain/protocol-contracts";
import * as dotenv from "dotenv";
import { task } from "hardhat/config";
import { HardhatRuntimeEnvironment } from "hardhat/types";
Expand Down
2 changes: 1 addition & 1 deletion templates/omnichain/tasks/interact.ts.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { task } from "hardhat/config";
import { HardhatRuntimeEnvironment } from "hardhat/types";
import { parseEther } from "@ethersproject/units";
import { getAddress } from "@zetachain/addresses";
import { getAddress } from "@zetachain/protocol-contracts";

const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
const [signer] = await hre.ethers.getSigners();
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1401,10 +1401,10 @@
dependencies:
dotenv "^16.1.4"

"@zetachain/protocol-contracts@^0.0.7":
version "0.0.7"
resolved "https://registry.yarnpkg.com/@zetachain/protocol-contracts/-/protocol-contracts-0.0.7.tgz#a095cb440069fdb5e3832e3a72e1144da6b8dec4"
integrity sha512-NC9GdVkld7BwpMiPNXpS3fV4zWe6cfRvtDJmlWXCOwgRitqOe3uq4/ou98zM8rgSQhxDS5wrKrvJrVhyJP3clA==
"@zetachain/protocol-contracts@^1.0.0-athens3":
version "1.0.0-athens3"
resolved "https://registry.yarnpkg.com/@zetachain/protocol-contracts/-/protocol-contracts-1.0.0-athens3.tgz#032a2884219b27bdbb3cef8162b7cbe5def9761f"
integrity sha512-jZSUm2zYi7kOVXTdHKfGOVSZUD8SzSgNwK9Fz1+Uz9jRWNBsIGELnloBoS8DzD1EoUR99Dycwe9O6TP7t82avw==

abbrev@1:
version "1.1.1"
Expand Down

0 comments on commit d493e8a

Please sign in to comment.