We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 303dbb0 commit 26464e6Copy full SHA for 26464e6
src/mappings/staking.ts
@@ -601,6 +601,7 @@ export function handleAllocationClosedCobbDouglas(event: AllocationClosed1): voi
601
deployment.save()
602
603
// update graph network
604
+ graphNetwork.activeAllocationCount = graphNetwork.activeAllocationCount - 1
605
graphNetwork.totalTokensAllocated = graphNetwork.totalTokensAllocated.minus(event.params.tokens)
606
graphNetwork.save()
607
}
0 commit comments