Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions abi/irm-adaptive-curve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"type": "function",
"name": "rateAtTarget",
"inputs": [{ "name": "id", "type": "bytes32" }],
"outputs": [{ "name": "", "type": "int256" }],
"stateMutability": "view"
}
]
11 changes: 11 additions & 0 deletions commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
"deps": ["build"],
"cmd": ["node", "--require=dotenv/config", "--require=tsconfig-paths/register", "lib/main-sonic.js"]
},
"process:hyperevm": {
"description": "Load .env and start the HyperEVM squid processor",
"deps": ["build"],
"cmd": ["node", "--require=dotenv/config", "--require=tsconfig-paths/register", "lib/main-hyperevm.js"]
},
"process:os": {
"description": "Load .env and start the squid processor",
"deps": ["build"],
Expand Down Expand Up @@ -130,6 +135,12 @@
"cmd": ["node", "--require=tsconfig-paths/register", "lib/main-os.js"],
"hidden": true
},
"process:hyperevm:prod": {
"description": "Start the HyperEVM squid processor",
"deps": ["migration:apply"],
"cmd": ["node", "--require=tsconfig-paths/register", "lib/main-hyperevm.js"],
"hidden": true
},
"process:oeth:prod": {
"description": "Start the squid processor",
"deps": ["migration:apply"],
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 30 additions & 2 deletions dev.env
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
NODE_ENV=development
TS_NODE_BASEURL=./lib
DB_HOST=localhost
DB_USER=postgres
DB_PASS=postgres
DB_NAME=squid
DB_PORT=23798
GQL_PORT=4350
# JSON-RPC node endpoint, both wss and https endpoints are accepted
RPC_ENDPOINT=## Fill me in! ##
RPC_BACKUP=## Backup RPC endpoint incase the primary is down ##
RPC_ENDPOINT=
RPC_ENDPOINT_FORK=
RPC_ETH_HTTP=
RPC_ENDPOINT_ALCHEMY=
RPC_ENV=RPC_ETH_HTTP
RPC_ENV_BACKUP=RPC_ENDPOINT_ALCHEMY

RPC_ARBITRUM_ENDPOINT=
RPC_ARBITRUM_ENV=RPC_ARBITRUM_ENDPOINT

RPC_BASE_DRPC=
RPC_BASE_HTTP=
RPC_BASE_ENV=RPC_BASE_HTTP

RPC_SONIC_MAINNET_HTTP=
RPC_SONIC_ENDPOINT=
RPC_SONIC_ENDPOINT_ALCHEMY=
RPC_SONIC_ENV=RPC_SONIC_MAINNET_HTTP
RPC_SONIC_ENV_BACKUP=RPC_SONIC_ENDPOINT_ALCHEMY

RPC_HYPEREVM_ENDPOINT=
RPC_HYPEREVM_ENV=RPC_HYPEREVM_ENDPOINT

# ARCHIVE_ONLY=true
IGNORE_VALIDATION=true

NOTION_SECRET=
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"process:ousd": "sqd process:ousd",
"process:ogv": "sqd process:ogv",
"process:mainnet": "sqd process:mainnet",
"process:hyperevm": "sqd process:hyperevm",
"process:test": "sqd process:test",
"process": "sqd process",
"generate:validations": "ts-node --require tsconfig-paths/register scripts/generate-validations.ts",
Expand Down Expand Up @@ -61,7 +62,7 @@
"type-graphql": "^1.2.0-rc.1",
"typeorm": "^0.3.16",
"uuid": "^9.0.0",
"viem": "^2.22.12"
"viem": "^2.40.1"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.3.4",
Expand Down Expand Up @@ -106,4 +107,4 @@
"viem>ws>utf-8-validate": false
}
}
}
}
Loading