Skip to content

Commit

Permalink
disables indexing of second staked sale deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Adolf <[email protected]>
  • Loading branch information
elmariachi111 committed Jan 9, 2025
1 parent 48afc39 commit 483a566
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
12 changes: 0 additions & 12 deletions subgraph/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
"address": "0x0Da77f361bB56f065Aa21647d885685eb7cAE10F",
"startBlock": 7339034
},
"StakedLockingCrowdSale2": {
"address": "0x2d309CF13dC3872f9c9B1B06Ebf6F60caDe08d55",
"startBlock": 7339082
},
"TermsAcceptedPermissioner": {
"address": "0xC05D649368d8A5e2E98CAa205d47795de5fCB599",
"startBlock": 5300776
Expand Down Expand Up @@ -58,10 +54,6 @@
"address": "0xbaadf00dbaadf00dbaadf00dbaadf00dbaadf00d",
"startBlock": 21431344
},
"StakedLockingCrowdSale2": {
"address": "0xbaadf00dbaadf00dbaadf00dbaadf00dbaadf00d",
"startBlock": 21431344
},
"TermsAcceptedPermissioner": {
"address": "0xC837E02982992B701A1B5e4E21fA01cEB0a628fA",
"startBlock": 17790450
Expand Down Expand Up @@ -92,10 +84,6 @@
"address": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
"startBlock": 0
},
"StakedLockingCrowdSale2": {
"address": "0xbaadf00dbaadf00dbaadf00dbaadf00dbaadf00d",
"startBlock": 0
},
"TermsAcceptedPermissioner": {
"address": "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
"startBlock": 0
Expand Down
1 change: 0 additions & 1 deletion subgraph/src/crowdSaleMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
Started as StartedEvent
} from '../generated/CrowdSale/CrowdSale'
import { IERC20Metadata } from '../generated/CrowdSale/IERC20Metadata'

import { CrowdSale, IPT } from '../generated/schema'
import { makeERC20Token } from './common'
import * as GenericCrowdSale from './genericCrowdSale'
Expand Down
17 changes: 9 additions & 8 deletions subgraph/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,15 @@ dataSources:
- event: ClaimedAuctionTokens(indexed uint256)
handler: handleClaimedFailedSale
file: ./src/stakedLockingCrowdSaleMapping.ts
- kind: ethereum/contract
name: StakedLockingCrowdSale2
network: foundry
source:
abi: StakedLockingCrowdSale
address: "0xbaadf00dbaadf00dbaadf00dbaadf00dbaadf00d"
startBlock: 0
mapping: *stakedLockingCrowdSaleMapping
# in case you need to watch another crowdsale contract this is how it could work:
# - kind: ethereum/contract
# name: StakedLockingCrowdSale2
# network: foundry
# source:
# abi: StakedLockingCrowdSale
# address: "0xbaadf00dbaadf00dbaadf00dbaadf00dbaadf00d"
# startBlock: 0
# mapping: *stakedLockingCrowdSaleMapping

- kind: ethereum/contract
name: TermsAcceptedPermissioner
Expand Down

0 comments on commit 483a566

Please sign in to comment.