Skip to content

Commit

Permalink
chore: migrated the subgraph to the org account, bumped and cleaned t…
Browse files Browse the repository at this point in the history
…he dependencies
  • Loading branch information
jaybuidl committed Oct 23, 2023
1 parent 307616d commit cf1586b
Show file tree
Hide file tree
Showing 4 changed files with 13,114 additions and 2,501 deletions.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
1 change: 0 additions & 1 deletion lib/bot-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {getRealityETHV30} from "./ethers";
const _contract = require('./abi/RealityETH_v3_0.json')
const Web3 = require('web3')
const web3 = new Web3(process.env.WEB3_PROVIDER_URL)
const ob = require('urbit-ob')

const contract = new web3.eth.Contract(
_contract,
Expand Down
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.210.0",
"@aws-sdk/lib-dynamodb": "^3.210.0",
"@graphprotocol/graph-cli": "^0.25.1",
"@graphprotocol/graph-ts": "^0.27.0",
"@netlify/functions": "^1.6.0",
"@types/node-telegram-bot-api": "^0.61.7",
"axios": "^1.4.0",
"better-sqlite3": "^8.4.0",
"cache-manager": "^5.1.3",
Expand All @@ -20,18 +18,19 @@
"graphql-request": "^3.7.0",
"http-status-codes": "^2.2.0",
"markdown-escape": "^1.1.0",
"netlify-cli": "^16.0.2",
"node-cache": "^5.1.2",
"node-fetch": "2",
"node-telegram-bot-api": "^0.61.0",
"p-queue": "^6.6.2",
"pm2": "^5.2.0",
"urbit-ob": "^5.0.1",
"web3": "^1.8.1"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.60.0",
"@typechain/ethers-v5": "^8.0.5",
"@types/node-telegram-bot-api": "^0.61.7",
"hardhat": "^2.8.3",
"netlify-cli": "^16.0.2",
"pm2": "^5.2.0",
"ts-node": "^10.4.0",
"typechain": "^6.0.5",
"typescript": "^4.5.4"
Expand All @@ -46,13 +45,17 @@
"typechain:build": "npx typechain --target ethers-v5 --out-dir lib/typechain lib/abi/*.json",
"graph:codegen": "cd subgraph && graph codegen",
"graph:build": "cd subgraph && graph build",
"graph:deploy": "cd subgraph && graph deploy --node https://api.thegraph.com/deploy/ shotaronowhere/kleros-moderator-bot",
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ shotaronowhere/kleros-moderator-bot",
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ shotaronowhere/kleros-moderator-bot",
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 shotaronowhere/kleros-moderator-bot",
"graph:deploy": "cd subgraph && graph deploy --node https://api.thegraph.com/deploy/ kleros/kleros-moderator-bot",
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ kleros/kleros-moderator-bot",
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ kleros/kleros-moderator-bot",
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kleros/kleros-moderator-bot",
"pm2:start": "pm2 start ecosystem.config.js",
"pm2:stop-all": "pm2 stop all",
"pm2:delete-all": "pm2 delete all",
"postinstall": "yarn typechain:build"
},
"volta": {
"node": "16.20.2",
"yarn": "1.22.19"
}
}
}
Loading

0 comments on commit cf1586b

Please sign in to comment.