fix build (#308)

This commit is contained in:
mihaisc 2022-01-31 12:43:50 +02:00 committed by GitHub
parent 3e3a9d593d
commit 49f46806f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,7 @@ export function handleOrderStarted(event: OrderStarted): void {
)
const token = getToken(event.address.toHex())
order.token = token.id
order.datatoken = token.id
token.orderCount = token.orderCount.plus(integer.ONE)
const consumer = getUser(event.params.consumer.toHex())
@ -43,7 +43,7 @@ export function handleOrderStarted(event: OrderStarted): void {
token.decimals
)
order.serviceId = event.params.serviceIndex.toI32()
order.serviceIndex = event.params.serviceIndex.toI32()
const publishMarket = getUser(event.params.publishMarketAddress.toHex())
order.publishingMarket = publishMarket.id

View File

@ -1,4 +1,3 @@
import { log } from '@graphprotocol/graph-ts'
import { Nft, NftUpdate } from '../@types/schema'
import {
MetadataCreated,