Skip to content

Commit

Permalink
chore: add @VenusProtocol prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Nov 19, 2024
1 parent a312b8d commit 35e9765
Show file tree
Hide file tree
Showing 25 changed files with 182 additions and 188 deletions.
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "venus-subgraph-utils",
"name": "@venusprotocol/subgraph-utils",
"version": "0.0.0",
"license": "MIT",
"main": "src",
Expand Down
6 changes: 3 additions & 3 deletions subgraphs/cross-chain-governance/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "venus-cross-chain-governance-subgraph",
"name": "@venusprotocol/cross-chain-governance-subgraph",
"version": "0.1.7",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -41,10 +41,10 @@
"@graphprotocol/graph-cli": "^0.80.0",
"@layerzerolabs/solidity-examples": "^1.0.0",
"@venusprotocol/governance-contracts": "2.5.0-dev.4",
"@venusprotocol/subgraph-utils": "0.0.0",
"apollo-fetch": "^0.7.0",
"hardhat": "^2.10.2",
"ts-node": "^10.9.2",
"urql": "^3.0.3",
"venus-subgraph-utils": "0.0.0"
"urql": "^3.0.3"
}
}
2 changes: 1 addition & 1 deletion subgraphs/etherfi-promo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "etherfi-promo-subgraph",
"name": "@venusprotocol/etherfi-promo-subgraph",
"version": "0.1.1",
"license": "MIT",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions subgraphs/isolated-pools/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "isolated-pools-subgraph",
"name": "@venusprotocol/isolated-pools-subgraph",
"version": "0.3.0",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -49,10 +49,10 @@
"devDependencies": {
"@graphprotocol/client-cli": "3.0.0",
"@graphprotocol/graph-cli": "^0.80.0",
"@venusprotocol/subgraph-utils": "0.0.0",
"apollo-fetch": "^0.7.0",
"hardhat": "^2.10.2",
"ts-node": "^10.9.2",
"urql": "^3.0.3",
"venus-subgraph-utils": "0.0.0"
"urql": "^3.0.3"
}
}
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/tests/integration/pool.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { scaleValue, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { ethers } from 'hardhat';
import { scaleValue, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client';
import { defaultMarkets } from './constants';
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/tests/integration/poolRegistry.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/tests/integration/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { deploy } from 'venus-subgraph-utils';
import { deploy } from '@venusprotocol/subgraph-utils';

import { SUBGRAPH_ACCOUNT, SUBGRAPH_NAME, SYNC_DELAY } from './constants';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/tests/integration/utils/deploy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exec, fetchSubgraph, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';
import { exec, fetchSubgraph, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';

import { SUBGRAPH_ACCOUNT, SUBGRAPH_NAME, SYNC_DELAY } from '../constants';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/tests/integration/vTokens.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client';
import { checkAccountVToken, checkMarket } from './checkEntities';
Expand Down
6 changes: 3 additions & 3 deletions subgraphs/protocol-reserve/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "protocol-reserve-subgraph",
"name": "@venusprotocol/protocol-reserve-subgraph",
"version": "0.0.5",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -32,9 +32,9 @@
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.80.0",
"@venusprotocol/subgraph-utils": "0.0.0",
"apollo-fetch": "^0.7.0",
"ts-node": "^10.9.2",
"urql": "^3.0.3",
"venus-subgraph-utils": "0.0.0"
"urql": "^3.0.3"
}
}
6 changes: 3 additions & 3 deletions subgraphs/venus-governance/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "venus-governance-subgraph",
"name": "@venusprotocol/governance",
"version": "0.1.0",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -29,10 +29,10 @@
"@graphprotocol/client-cli": "3.0.0",
"@graphprotocol/graph-cli": "^0.80.0",
"@venusprotocol/governance-contracts": "2.5.0-dev.3",
"@venusprotocol/subgraph-utils": "0.0.0",
"apollo-fetch": "^0.7.0",
"hardhat": "^2.10.2",
"ts-node": "^10.9.2",
"urql": "^3.0.3",
"venus-subgraph-utils": "0.0.0"
"urql": "^3.0.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '@nomiclabs/hardhat-ethers';
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client/index';
import { SYNC_DELAY, nullAddress } from './utils/constants';
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/tests/integration/alpha.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { mine } from '@nomicfoundation/hardhat-network-helpers';
import '@nomiclabs/hardhat-ethers';
import type { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { scaleValue, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { scaleValue, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client/index';
import { SYNC_DELAY } from './utils/constants';
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/tests/integration/bravo.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { mine } from '@nomicfoundation/hardhat-network-helpers';
import '@nomiclabs/hardhat-ethers';
import type { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { scaleValue, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers, network } from 'hardhat';
import { scaleValue, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client/index';
import { SYNC_DELAY, mockAddress } from './utils/constants';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '@nomiclabs/hardhat-ethers';
import { numberToByteId, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { numberToByteId, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client/index';
import { SYNC_DELAY } from './utils/constants';
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/tests/integration/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { deploy } from 'venus-subgraph-utils';
import { deploy } from '@venusprotocol/subgraph-utils';

import { SUBGRAPH_ACCOUNT, SUBGRAPH_NAME, SYNC_DELAY } from './utils/constants';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/tests/integration/xvsVault.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import '@nomiclabs/hardhat-ethers';
import type { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { scaleValue, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { scaleValue, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import subgraphClient from '../../subgraph-client/index';
import { SYNC_DELAY } from './utils/constants';
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "venus-subgraph",
"name": "@venusprotocol/core-pool-subgraph",
"version": "0.0.3",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/tests/integration/comptroller-after.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import createSubgraphClient from '../../subgraph-client';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/tests/integration/comptroller-before.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import createSubgraphClient from '../../subgraph-client';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/tests/integration/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { deploy } from 'venus-subgraph-utils';
import { deploy } from '@venusprotocol/subgraph-utils';

import { SUBGRAPH_ACCOUNT, SUBGRAPH_NAME, SYNC_DELAY } from './constants';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/tests/integration/utils/deploy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exec, fetchSubgraph, waitForSubgraphToBeSynced } from 'venus-subgraph-utils';
import { exec, fetchSubgraph, waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';

import { SUBGRAPH_ACCOUNT, SUBGRAPH_NAME, SYNC_DELAY } from '../constants';

Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/tests/integration/vTokens.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { JsonRpcSigner } from '@nomiclabs/hardhat-ethers/signers';
import { waitForSubgraphToBeSynced } from '@venusprotocol/subgraph-utils';
import { expect } from 'chai';
import { Contract } from 'ethers';
import hre, { ethers } from 'hardhat';
import { waitForSubgraphToBeSynced } from 'venus-subgraph-utils';

import createSubgraphClient from '../../subgraph-client';

Expand Down
Loading

0 comments on commit 35e9765

Please sign in to comment.