mirror of
https://github.com/Instadapp/aave-automation-subgraph.git
synced 2024-07-29 22:28:08 +00:00
22 lines
538 B
TypeScript
22 lines
538 B
TypeScript
|
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||
|
|
||
|
import {
|
||
|
Address,
|
||
|
DataSourceTemplate,
|
||
|
DataSourceContext
|
||
|
} from "@graphprotocol/graph-ts";
|
||
|
|
||
|
export class InstaAutomation extends DataSourceTemplate {
|
||
|
static create(address: Address): void {
|
||
|
DataSourceTemplate.create("InstaAutomation", [address.toHex()]);
|
||
|
}
|
||
|
|
||
|
static createWithContext(address: Address, context: DataSourceContext): void {
|
||
|
DataSourceTemplate.createWithContext(
|
||
|
"InstaAutomation",
|
||
|
[address.toHex()],
|
||
|
context
|
||
|
);
|
||
|
}
|
||
|
}
|