diff --git a/contract_manager/package.json b/contract_manager/package.json index 0ea29795..4a88a2aa 100644 --- a/contract_manager/package.json +++ b/contract_manager/package.json @@ -1,5 +1,5 @@ { - "name": "contract_manager", + "name": "@pythnetwork/contract-manager", "version": "1.0.0", "description": "Set of tools to manage pyth contracts", "private": true, diff --git a/package-lock.json b/package-lock.json index 13e69299..b95b6c52 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31488,7 +31488,7 @@ "node": ">= 0.6" } }, - "node_modules/contract_manager": { + "node_modules/@pythnetwork/contract-manager": { "resolved": "contract_manager", "link": true }, @@ -65844,7 +65844,7 @@ "license": "Apache-2.0", "dependencies": { "@pythnetwork/cosmwasm-deploy-tools": "*", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "rimraf": "^5.0.0", "typescript": "^5.3.3", "yargs": "^17.0.1" @@ -66492,7 +66492,7 @@ "@pythnetwork/entropy-sdk-solidity": "*", "@pythnetwork/pyth-multisig-wh-message-builder": "*", "@pythnetwork/pyth-sdk-solidity": "^3.0.0", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "dotenv": "^10.0.0", "elliptic": "^6.5.2", "ethers": "^5.7.2", @@ -67954,7 +67954,7 @@ "@pythnetwork/client": "^2.17.0", "@pythnetwork/price-service-client": "^1.4.0", "@pythnetwork/price-service-sdk": "^1.2.0", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "prettier": "^2.8.7", "typescript": "^5.0.4", "xc_admin_common": "*" @@ -77292,7 +77292,7 @@ "requires": { "@pythnetwork/cosmwasm-deploy-tools": "*", "@types/yargs": "^17.0.18", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "rimraf": "^5.0.0", "typescript": "^5.3.3", "yargs": "^17.0.1" @@ -79896,7 +79896,7 @@ "@truffle/hdwallet-provider": "^2.1.5", "@types/chai": "^4.3.4", "chai": "^4.2.0", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "dotenv": "^10.0.0", "elliptic": "^6.5.2", "ethers": "^5.7.2", @@ -92541,7 +92541,7 @@ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==" }, - "contract_manager": { + "@pythnetwork/contract-manager": { "version": "file:contract_manager", "requires": { "@certusone/wormhole-sdk": "^0.9.8", @@ -109759,7 +109759,7 @@ "@pythnetwork/client": "^2.17.0", "@pythnetwork/price-service-client": "^1.4.0", "@pythnetwork/price-service-sdk": "^1.2.0", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "prettier": "^2.8.7", "typescript": "^5.0.4", "xc_admin_common": "*" diff --git a/target_chains/aptos/cli/src/commands/aptos.ts b/target_chains/aptos/cli/src/commands/aptos.ts index f5d155c3..10efaaad 100644 --- a/target_chains/aptos/cli/src/commands/aptos.ts +++ b/target_chains/aptos/cli/src/commands/aptos.ts @@ -8,7 +8,7 @@ import { AptosChain, DefaultStore, getDefaultDeploymentConfig, -} from "contract_manager"; +} from "@pythnetwork/contract-manager"; const NETWORK_CHOICES = Object.entries(DefaultStore.chains) .filter(([chain, config]) => { diff --git a/target_chains/cosmwasm/deploy-scripts/package.json b/target_chains/cosmwasm/deploy-scripts/package.json index 7ad70057..70049032 100644 --- a/target_chains/cosmwasm/deploy-scripts/package.json +++ b/target_chains/cosmwasm/deploy-scripts/package.json @@ -13,7 +13,7 @@ "license": "Apache-2.0", "dependencies": { "@pythnetwork/cosmwasm-deploy-tools": "*", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "rimraf": "^5.0.0", "typescript": "^5.3.3", "yargs": "^17.0.1" diff --git a/target_chains/cosmwasm/deploy-scripts/src/configs.ts b/target_chains/cosmwasm/deploy-scripts/src/configs.ts index cc643d13..fc81a8a2 100644 --- a/target_chains/cosmwasm/deploy-scripts/src/configs.ts +++ b/target_chains/cosmwasm/deploy-scripts/src/configs.ts @@ -1,4 +1,4 @@ -import { getDefaultDeploymentConfig } from "contract_manager"; +import { getDefaultDeploymentConfig } from "@pythnetwork/contract-manager"; import { DeploymentType } from "./helper"; function getPythSources(deploymentType: DeploymentType) { diff --git a/target_chains/cosmwasm/deploy-scripts/src/instantiate-pyth.ts b/target_chains/cosmwasm/deploy-scripts/src/instantiate-pyth.ts index 9b8f33f2..c28e3753 100644 --- a/target_chains/cosmwasm/deploy-scripts/src/instantiate-pyth.ts +++ b/target_chains/cosmwasm/deploy-scripts/src/instantiate-pyth.ts @@ -8,7 +8,7 @@ import { DefaultStore, Store, toPrivateKey, -} from "contract_manager"; +} from "@pythnetwork/contract-manager"; import { CHAINS } from "xc_admin_common"; import { DeploymentType, getContractBytesDict } from "./helper"; diff --git a/target_chains/cosmwasm/deploy-scripts/src/instantiate-wormhole.ts b/target_chains/cosmwasm/deploy-scripts/src/instantiate-wormhole.ts index 0bdc7bfd..89218a94 100644 --- a/target_chains/cosmwasm/deploy-scripts/src/instantiate-wormhole.ts +++ b/target_chains/cosmwasm/deploy-scripts/src/instantiate-wormhole.ts @@ -7,7 +7,7 @@ import { DefaultStore, toPrivateKey, CosmWasmWormholeContract, -} from "contract_manager"; +} from "@pythnetwork/contract-manager"; import { CHAINS } from "xc_admin_common"; import { DeploymentType } from "./helper"; diff --git a/target_chains/ethereum/contracts/package.json b/target_chains/ethereum/contracts/package.json index da32b32c..2023a77f 100644 --- a/target_chains/ethereum/contracts/package.json +++ b/target_chains/ethereum/contracts/package.json @@ -37,7 +37,7 @@ "@pythnetwork/pyth-multisig-wh-message-builder": "*", "@pythnetwork/pyth-sdk-solidity": "^3.0.0", "@pythnetwork/entropy-sdk-solidity": "*", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "dotenv": "^10.0.0", "elliptic": "^6.5.2", "ethers": "^5.7.2", diff --git a/target_chains/ethereum/contracts/scripts/batchDeployReceivers.ts b/target_chains/ethereum/contracts/scripts/batchDeployReceivers.ts index bc26694b..cd5b5efd 100644 --- a/target_chains/ethereum/contracts/scripts/batchDeployReceivers.ts +++ b/target_chains/ethereum/contracts/scripts/batchDeployReceivers.ts @@ -10,7 +10,7 @@ import { EvmChain, loadHotWallet, EvmWormholeContract, -} from "contract_manager"; +} from "@pythnetwork/contract-manager"; import Web3 from "web3"; import { CHAINS } from "xc_admin_common"; import * as fs from "fs"; diff --git a/target_chains/sui/cli/package.json b/target_chains/sui/cli/package.json index 85efe86f..8b96d144 100644 --- a/target_chains/sui/cli/package.json +++ b/target_chains/sui/cli/package.json @@ -15,7 +15,7 @@ "@pythnetwork/client": "^2.17.0", "@pythnetwork/price-service-client": "^1.4.0", "@pythnetwork/price-service-sdk": "^1.2.0", - "contract_manager": "*", + "@pythnetwork/contract-manager": "*", "prettier": "^2.8.7", "typescript": "^5.0.4", "xc_admin_common": "*" diff --git a/target_chains/sui/cli/src/cli.ts b/target_chains/sui/cli/src/cli.ts index 1e281283..0c8f36e4 100644 --- a/target_chains/sui/cli/src/cli.ts +++ b/target_chains/sui/cli/src/cli.ts @@ -5,7 +5,7 @@ import { getDefaultDeploymentConfig, SuiChain, SuiPriceFeedContract, -} from "contract_manager"; +} from "@pythnetwork/contract-manager"; import { PriceServiceConnection } from "@pythnetwork/price-service-client"; import { execSync } from "child_process"; import { initPyth, publishPackage } from "./pyth_deploy"; diff --git a/target_chains/sui/cli/src/upgrade_pyth.ts b/target_chains/sui/cli/src/upgrade_pyth.ts index d169a305..44024f8d 100644 --- a/target_chains/sui/cli/src/upgrade_pyth.ts +++ b/target_chains/sui/cli/src/upgrade_pyth.ts @@ -8,7 +8,7 @@ import { SuiClient } from "@mysten/sui.js/client"; import { Ed25519Keypair } from "@mysten/sui.js/keypairs/ed25519"; import { execSync } from "child_process"; -import { SuiPriceFeedContract } from "contract_manager"; +import { SuiPriceFeedContract } from "@pythnetwork/contract-manager"; export function buildForBytecodeAndDigest(packagePath: string) { const buildOutput: {