mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
fix build (#308)
This commit is contained in:
parent
3e3a9d593d
commit
49f46806f4
@ -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
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { log } from '@graphprotocol/graph-ts'
|
||||
import { Nft, NftUpdate } from '../@types/schema'
|
||||
import {
|
||||
MetadataCreated,
|
||||
|
Loading…
Reference in New Issue
Block a user