Skip to content

Commit

Permalink
update contract addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparkallas committed Jul 2, 2024
1 parent 97ada70 commit dd4eed3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
24 changes: 21 additions & 3 deletions subgraphs/vesting-scheduler/abis/VestingScheduler_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@
{ "internalType": "address", "name": "receiver", "type": "address" },
{ "internalType": "uint256", "name": "totalAmount", "type": "uint256" },
{ "internalType": "uint32", "name": "totalDuration", "type": "uint32" },
{ "internalType": "uint32", "name": "cliffPeriod", "type": "uint32" },
{ "internalType": "bytes", "name": "ctx", "type": "bytes" }
],
"name": "createAndExecuteVestingScheduleFromAmountAndDuration",
Expand All @@ -458,8 +457,7 @@
},
{ "internalType": "address", "name": "receiver", "type": "address" },
{ "internalType": "uint256", "name": "totalAmount", "type": "uint256" },
{ "internalType": "uint32", "name": "totalDuration", "type": "uint32" },
{ "internalType": "uint32", "name": "cliffPeriod", "type": "uint32" }
{ "internalType": "uint32", "name": "totalDuration", "type": "uint32" }
],
"name": "createAndExecuteVestingScheduleFromAmountAndDuration",
"outputs": [],
Expand Down Expand Up @@ -490,6 +488,26 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract ISuperToken",
"name": "superToken",
"type": "address"
},
{ "internalType": "address", "name": "receiver", "type": "address" },
{ "internalType": "uint32", "name": "startDate", "type": "uint32" },
{ "internalType": "uint32", "name": "cliffDate", "type": "uint32" },
{ "internalType": "int96", "name": "flowRate", "type": "int96" },
{ "internalType": "uint256", "name": "cliffAmount", "type": "uint256" },
{ "internalType": "uint32", "name": "endDate", "type": "uint32" },
{ "internalType": "bytes", "name": "ctx", "type": "bytes" }
],
"name": "createVestingSchedule",
"outputs": [{ "internalType": "bytes", "name": "newCtx", "type": "bytes" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
4 changes: 3 additions & 1 deletion subgraphs/vesting-scheduler/config/optimism-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"network": "optimism",
"vestingSchedulerAddress": "0x65377d4dfE9c01639A41952B5083D58964782892",
"vestingSchedulerStartBlock": 67820482
"vestingSchedulerStartBlock": 67820482,
"vestingSchedulerAddress_v2": "0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C",
"vestingSchedulerStartBlock_v2": 122162549
}
4 changes: 2 additions & 2 deletions subgraphs/vesting-scheduler/config/optimism-sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"network": "optimism-sepolia",
"vestingSchedulerAddress": "0xd902aAE48a0b59e7A02fedc0Ccb789e0cB586945",
"vestingSchedulerStartBlock": 14057406,
"vestingSchedulerAddress_v2": "0x38BFcAc468B2032CcBC07fc4b5B10F0CF9B1A273",
"vestingSchedulerStartBlock_v2": 14052310
"vestingSchedulerAddress_v2": "0x3aa62b96f44D0f8892BeBBC819DE8e02E9DE69A8",
"vestingSchedulerStartBlock_v2": 14061097
}
4 changes: 2 additions & 2 deletions subgraphs/vesting-scheduler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vesting-scheduler-subgraph",
"version": "1.1.0",
"version": "1.0.3",
"description": "A subgraph for the vesting scheduler contracts",
"keywords": [
"subgraph"
Expand All @@ -9,7 +9,7 @@
"author": "Superfluid",
"scripts": {
"build": "graph build ./optimism-sepolia.subgraph.yaml",
"deploy:test": "goldsky subgraph deploy vesting-v1-optimism-mainnet/1.1.8 --path ./build",
"deploy:test": "goldsky subgraph deploy vesting-v1-sepolia-mainnet/1.0.3 --path ./build",
"dev": "nodemon -e ts -x yarn test",
"gen": "npm-run-all -s gen:yaml gen:types",
"gen:types": "graph codegen ./optimism-sepolia.subgraph.yaml --output-dir src/types/",
Expand Down

0 comments on commit dd4eed3

Please sign in to comment.