Skip to content

Commit e81c4c3

Browse files
committed
Fix error
1 parent c92ec4a commit e81c4c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/classic/bind_old_products.template.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { Address, log } from "@graphprotocol/graph-ts"
1+
import { Address, log, ethereum } from "@graphprotocol/graph-ts"
22
import { addIgnoredContract } from "../common/entity/ignored"
33
import { BeefyERC20Product as BeefyERC20ProductTemplate } from "../../generated/templates"
4-
import { ADDRESS_ZERO } from "../common/utils/address";
54

65

7-
export function bindOldProducts(): void {
8-
log.warning("Binding old boosts", [])
6+
7+
export function bindOldProducts(block: ethereum.Block): void {
8+
log.warning("Binding old boosts at block {}", [block.number.toString()])
99
{{#old_boosts}}
1010
addIgnoredContract(Address.fromString("{{.}}"));
1111
{{/old_boosts}}
1212

13-
log.warning("Binding old vaults", [])
13+
log.warning("Binding old vaults at block {}", [block.number.toString()])
1414
{{#old_vaults}}
1515
BeefyERC20ProductTemplate.create(Address.fromString("{{.}}"))
1616
{{/old_vaults}}

0 commit comments

Comments
 (0)