Skip to content

Commit

Permalink
Migrate subgraph from 0.0.3 to 0.0.6 supporting The graph protocol de…
Browse files Browse the repository at this point in the history
…ploy
  • Loading branch information
Corantin committed Jan 11, 2023
1 parent ba5ebd3 commit 5dff86b
Show file tree
Hide file tree
Showing 35 changed files with 26,938 additions and 1,123 deletions.
1,780 changes: 1,780 additions & 0 deletions generated/AragonCourt/AragonCourt.ts

Large diffs are not rendered by default.

810 changes: 810 additions & 0 deletions generated/AragonCourt/BrightIdRegister.ts

Large diffs are not rendered by default.

1,088 changes: 1,088 additions & 0 deletions generated/AragonCourt/ERC20.ts

Large diffs are not rendered by default.

1,554 changes: 1,554 additions & 0 deletions generated/AragonCourt/JurorsRegistry.ts

Large diffs are not rendered by default.

615 changes: 615 additions & 0 deletions generated/AragonCourt/Subscriptions.ts

Large diffs are not rendered by default.

2,605 changes: 2,605 additions & 0 deletions generated/schema.ts

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions generated/templates.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.

import {
Address,
DataSourceTemplate,
DataSourceContext
} from "@graphprotocol/graph-ts";

export class DisputeManager extends DataSourceTemplate {
static create(address: Address): void {
DataSourceTemplate.create("DisputeManager", [address.toHex()]);
}

static createWithContext(address: Address, context: DataSourceContext): void {
DataSourceTemplate.createWithContext(
"DisputeManager",
[address.toHex()],
context
);
}
}

export class JurorsRegistry extends DataSourceTemplate {
static create(address: Address): void {
DataSourceTemplate.create("JurorsRegistry", [address.toHex()]);
}

static createWithContext(address: Address, context: DataSourceContext): void {
DataSourceTemplate.createWithContext(
"JurorsRegistry",
[address.toHex()],
context
);
}
}

export class Voting extends DataSourceTemplate {
static create(address: Address): void {
DataSourceTemplate.create("Voting", [address.toHex()]);
}

static createWithContext(address: Address, context: DataSourceContext): void {
DataSourceTemplate.createWithContext("Voting", [address.toHex()], context);
}
}

export class Treasury extends DataSourceTemplate {
static create(address: Address): void {
DataSourceTemplate.create("Treasury", [address.toHex()]);
}

static createWithContext(address: Address, context: DataSourceContext): void {
DataSourceTemplate.createWithContext(
"Treasury",
[address.toHex()],
context
);
}
}

export class Subscriptions extends DataSourceTemplate {
static create(address: Address): void {
DataSourceTemplate.create("Subscriptions", [address.toHex()]);
}

static createWithContext(address: Address, context: DataSourceContext): void {
DataSourceTemplate.createWithContext(
"Subscriptions",
[address.toHex()],
context
);
}
}

export class BrightIdRegister extends DataSourceTemplate {
static create(address: Address): void {
DataSourceTemplate.create("BrightIdRegister", [address.toHex()]);
}

static createWithContext(address: Address, context: DataSourceContext): void {
DataSourceTemplate.createWithContext(
"BrightIdRegister",
[address.toHex()],
context
);
}
}
Loading

0 comments on commit 5dff86b

Please sign in to comment.