Skip to content

Commit

Permalink
Revert mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Corantin committed Aug 29, 2023
1 parent 79bafdc commit b47aa04
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 177 deletions.
6 changes: 3 additions & 3 deletions packages/subgraphs/govern-subgraph/src/Govern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Address } from "@graphprotocol/graph-ts";
import { Address, BigDecimal, BigInt } from "@graphprotocol/graph-ts";
import {
Executed as ExecutedEvent,
Frozen as FrozenEvent,
Expand All @@ -10,14 +10,14 @@ import {
} from "../generated/Govern/Govern";
import { Govern, Deposit, Withdraw } from "../generated/schema";
import { frozenRoles, roleGranted, roleRevoked } from "./lib/MiniACL";
import { loadOrThrowContainer } from "./GovernQueue";
import { loadOrCreateContainer } from "./GovernQueue";
import { handleContainerEventExecute } from "./utils/events";
import { buildId, buildIndexedId } from "./utils/ids";
import { ZERO_ADDRESS } from "./utils/constants";

export function handleExecuted(event: ExecutedEvent): void {
let govern = loadOrCreateGovern(event.address);
let container = loadOrThrowContainer(event.params.memo);
let container = loadOrCreateContainer(event.params.memo);

handleContainerEventExecute(container, event);

Expand Down
Loading

0 comments on commit b47aa04

Please sign in to comment.