Skip to content

Commit

Permalink
Update testnet addresses (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi authored Jun 11, 2024
1 parent c011d49 commit a26e84b
Show file tree
Hide file tree
Showing 11 changed files with 279 additions and 287 deletions.
411 changes: 180 additions & 231 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "v3-subgraph",
"version": "1.1.5",
"version": "1.1.6",
"description": "Subgraph for the StakeWise Protocol",
"repository": "https://github.com/stakewise/v3-subgraph",
"license": "AGPL-3.0-only",
Expand Down Expand Up @@ -45,20 +45,20 @@
"deploy-local:chiado": "npm run prepare:chiado && npm run deploy network:chiado node:local"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.69.1",
"@graphprotocol/graph-ts": "0.34.0",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"@graphprotocol/graph-cli": "0.73.0",
"@graphprotocol/graph-ts": "0.35.1",
"@types/node": "20.14.2",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"lint-staged": "15.2.6",
"matchstick-as": "0.6.0",
"mustache": "4.2.0",
"prettier": "3.2.5",
"typescript": "5.4.3"
"prettier": "3.3.2",
"typescript": "5.4.5"
},
"engines": {
"node": "18"
Expand Down
9 changes: 7 additions & 2 deletions src/abis/BlocklistVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,9 @@
{
"inputs": [
{
"internalType": "uint128",
"internalType": "uint256",
"name": "osTokenShares",
"type": "uint128"
"type": "uint256"
}
],
"name": "burnOsToken",
Expand Down Expand Up @@ -1035,6 +1035,11 @@
"internalType": "struct IKeeperValidators.ApprovalParams",
"name": "keeperParams",
"type": "tuple"
},
{
"internalType": "bytes",
"name": "validatorsManagerSignature",
"type": "bytes"
}
],
"name": "registerValidators",
Expand Down
9 changes: 7 additions & 2 deletions src/abis/Erc20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,9 @@
{
"inputs": [
{
"internalType": "uint128",
"internalType": "uint256",
"name": "osTokenShares",
"type": "uint128"
"type": "uint256"
}
],
"name": "burnOsToken",
Expand Down Expand Up @@ -1177,6 +1177,11 @@
"internalType": "struct IKeeperValidators.ApprovalParams",
"name": "keeperParams",
"type": "tuple"
},
{
"internalType": "bytes",
"name": "validatorsManagerSignature",
"type": "bytes"
}
],
"name": "registerValidators",
Expand Down
9 changes: 7 additions & 2 deletions src/abis/GenesisVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,9 @@
{
"inputs": [
{
"internalType": "uint128",
"internalType": "uint256",
"name": "osTokenShares",
"type": "uint128"
"type": "uint256"
}
],
"name": "burnOsToken",
Expand Down Expand Up @@ -1046,6 +1046,11 @@
"internalType": "struct IKeeperValidators.ApprovalParams",
"name": "keeperParams",
"type": "tuple"
},
{
"internalType": "bytes",
"name": "validatorsManagerSignature",
"type": "bytes"
}
],
"name": "registerValidators",
Expand Down
9 changes: 7 additions & 2 deletions src/abis/GnoVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,9 @@
{
"inputs": [
{
"internalType": "uint128",
"internalType": "uint256",
"name": "osTokenShares",
"type": "uint128"
"type": "uint256"
}
],
"name": "burnOsToken",
Expand Down Expand Up @@ -976,6 +976,11 @@
"internalType": "struct IKeeperValidators.ApprovalParams",
"name": "keeperParams",
"type": "tuple"
},
{
"internalType": "bytes",
"name": "validatorsManagerSignature",
"type": "bytes"
}
],
"name": "registerValidators",
Expand Down
9 changes: 7 additions & 2 deletions src/abis/PrivateVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,9 @@
{
"inputs": [
{
"internalType": "uint128",
"internalType": "uint256",
"name": "osTokenShares",
"type": "uint128"
"type": "uint256"
}
],
"name": "burnOsToken",
Expand Down Expand Up @@ -1003,6 +1003,11 @@
"internalType": "struct IKeeperValidators.ApprovalParams",
"name": "keeperParams",
"type": "tuple"
},
{
"internalType": "bytes",
"name": "validatorsManagerSignature",
"type": "bytes"
}
],
"name": "registerValidators",
Expand Down
13 changes: 13 additions & 0 deletions src/abis/RewardSplitter.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "totalRewards",
"outputs": [
{
"internalType": "uint128",
"name": "",
"type": "uint128"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "totalShares",
Expand Down
9 changes: 7 additions & 2 deletions src/abis/Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,9 @@
{
"inputs": [
{
"internalType": "uint128",
"internalType": "uint256",
"name": "osTokenShares",
"type": "uint128"
"type": "uint256"
}
],
"name": "burnOsToken",
Expand Down Expand Up @@ -972,6 +972,11 @@
"internalType": "struct IKeeperValidators.ApprovalParams",
"name": "keeperParams",
"type": "tuple"
},
{
"internalType": "bytes",
"name": "validatorsManagerSignature",
"type": "bytes"
}
],
"name": "registerValidators",
Expand Down
44 changes: 22 additions & 22 deletions src/config/chiado.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,54 +6,54 @@
"gnoUsdPriceFeed": "0xcC5E385EdB2fEaB9C9A6DE97b572f1d811312ae7",
"v2PoolFeePercent": "1500",
"vaultFactoryV1": "0x0000000000000000000000000000000000000000",
"vaultFactoryV2": "0xfA14e7A35EA37c08eC006a15831dCC8eCcf2B51f",
"vaultFactoryV2": "0x3092C23185bCEFB440B0Bc8bFA1E340E40b3A410",
"privVaultFactoryV1": "0x0000000000000000000000000000000000000000",
"privVaultFactoryV2": "0x1A9ADdd9ca10338cFd146578b5DfE3caAa660Dfa",
"privVaultFactoryV2": "0xEBAF5bEbFb199D7c08fE82347C6D37914d07de70",
"erc20VaultFactoryV1": "0x0000000000000000000000000000000000000000",
"erc20VaultFactoryV2": "0x6A67A0caB72bF86a81A2E331949EC3890fcB37E5",
"erc20VaultFactoryV2": "0x951D3BAB6BebB42BEabf807df808b58a5c4FC55D",
"privErc20VaultFactoryV1": "0x0000000000000000000000000000000000000000",
"privErc20VaultFactoryV2": "0xFD16734b47A570c7a446F879874A134dAa6ae496",
"blocklistVaultFactoryV2": "0x765a1B647cd2020FD08CDD810CB1D00Eeb02E151",
"blocklistErc20VaultFactoryV2": "0xFD6920C6D8D9f5a291B798B2F805d1c51CeEFaDe",
"privErc20VaultFactoryV2": "0x81feD710De1aC9D3D860F6C9aB4f150B1dfF621d",
"blocklistVaultFactoryV2": "0x6e16fc22013e07B8C8e6d4b30280F44d42A60a97",
"blocklistErc20VaultFactoryV2": "0xdd9e0dBFb218fb17f0A2f96E77224e00dF095bf2",
"rewardSplitterFactoryV1": "0x0000000000000000000000000000000000000000",
"rewardSplitterFactoryV2": "0xa2D8b88EB39909dD5309542B3623eFA5640D5f24",
"rewardSplitterFactoryV2": "0x63De511Ff504E70109Bb8312d1329f2C88c14f77",
"foxVault1": "0x0000000000000000000000000000000000000000",
"foxVault2": "0x0000000000000000000000000000000000000000",
"vestingEscrowFactory": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": "9652014"
},
"keeper": {
"address": "0x6DfF9E878a83A2d84ef5AC242705E08BF0F33fdD",
"startBlock": "9652014"
"address": "0x13Af1266d8664aF3da4c711E7C86725D4779EA72",
"startBlock": "10258082"
},
"osToken": {
"address": "0x2c72f8019BF6aab4D430f527DC35Ff8F903b7295",
"startBlock": "9652008"
"address": "0x11Bd460C704b74Dc84Fce0C45d7dDA49EffCA59f",
"startBlock": "10258076"
},
"swiseToken": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": "9652014"
"startBlock": "10258082"
},
"osTokenVaultController": {
"address": "0x6d0e8Ceb65Ed8B954CBB8b32eaC034580ec07A59",
"startBlock": "9652002"
"address": "0x28637130e692F821843eBAbeB8708dAB3F82cFa5",
"startBlock": "10258071"
},
"genesisVault": {
"address": "0xF3d3071905A6495a4D2f8650E8b3baaAE827DD13",
"startBlock": "9652149"
"address": "0x0386467c4DfFA2A9Cf8b12dD9b62950065aa7e96",
"startBlock": "10258217"
},
"depositDataRegistry": {
"address": "0x197292Fb9893Bc06329ee8E3Fd07d8ceF29E4d13",
"startBlock": "9652041"
"address": "0xf9eB9EAd3d71516bF5206F702B8BD0c183045474",
"startBlock": "10258106"
},
"v2RewardToken": {
"address": "0x3A945FD94A1d810B5e1c4536747F0de358d32854",
"startBlock": "9650953"
"address": "0x0d6736e4ee767B1Bdfc1daeEfB74150643a50C15",
"startBlock": "10257788"
},
"v2StakedToken": {
"address": "0x5da7d1De2e84047De2A7988a7E01B494d54284e7",
"startBlock": "9650951"
"address": "0x61A58F486c9E23D3ACB88792c50ddcdde7cda656",
"startBlock": "10257854"
},
"starknetMerkleDrop": {
"address": "0x0000000000000000000000000000000000000000",
Expand Down
26 changes: 13 additions & 13 deletions src/config/holesky.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"privVaultFactoryV1": "0x9741f8e49fFa322714511b5D17bD052698eAFA43",
"erc20VaultFactoryV1": "0x4C1140F4A5E3DD459De642A46bd1df6FBe287e1B",
"privErc20VaultFactoryV1": "0x930A2D0ADEbF4E69Bb929F6456C3D4bcabf52796",
"vaultFactoryV2": "0xc93C070124Cb78fE9Dee9F0527168F81850a384b",
"privVaultFactoryV2": "0xDe0b026f1A7b143A650732EdcCce5a30784BFe20",
"blocklistVaultFactoryV2": "0x1F05A6F83e72732046DF4cac3215d1fd00E2Bc5C",
"erc20VaultFactoryV2": "0x2B324944213F5781A23A07ea3f55884b535DcF36",
"privErc20VaultFactoryV2": "0x400f8E12c8503D6803141E3F5CCc3e0C01A44899",
"blocklistErc20VaultFactoryV2": "0x76FC9b44D4b18eef3CdF8FEeee0B926775F00e6e",
"vaultFactoryV2": "0xd68ef965D4E32b99Fd2D014Fc35304f3C273277E",
"privVaultFactoryV2": "0x09fD091483d64b3b9d5474F374ddFE6039F79aAd",
"blocklistVaultFactoryV2": "0x473a94aBe8f173cac48A6213f61335E21B913875",
"erc20VaultFactoryV2": "0x10C5066FB5DA1C0D7eb189DE4dfA26d23e8e4aDa",
"privErc20VaultFactoryV2": "0x5da7d1De2e84047De2A7988a7E01B494d54284e7",
"blocklistErc20VaultFactoryV2": "0x3A945FD94A1d810B5e1c4536747F0de358d32854",
"rewardSplitterFactoryV1": "0x6c56AC64457B8AeA1Bb8d1f5eA2d1E397C9c7a13",
"rewardSplitterFactoryV2": "0x384B388A040C6b32c9B5927aB25891F2bAd4E5f7",
"rewardSplitterFactoryV2": "0x7Fcb1857011BAF51003018e9299deE9012de0967",
"foxVault1": "0x3c4ae629bf823475192124E02b9879D3C1fd4538",
"foxVault2": "0x37Bf0883c27365CffCd0C4202918df930989891f",
"vestingEscrowFactory": {
Expand Down Expand Up @@ -44,16 +44,16 @@
"startBlock": "215444"
},
"depositDataRegistry": {
"address": "0x1Dfb40a149940300f183d21E5B200c5DaaF3A842",
"startBlock": "1491091"
"address": "0xf25f9A254F38aF10Dc352bF8F446Dc09a820ca76",
"startBlock": "1711347"
},
"v2RewardToken": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": "215406"
"address": "0xd57c19f20168406d162852515030e00e49bB7781",
"startBlock": "1104929"
},
"v2StakedToken": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": "215406"
"address": "0xFb534BB912Eb83b7b629329195b8DF798Ea325b2",
"startBlock": "1104931"
},
"starknetMerkleDrop": {
"address": "0xe8a222D887b468a71Ee8a27df4fa3b886A4B7BA1",
Expand Down

0 comments on commit a26e84b

Please sign in to comment.