Added more logs.
This commit is contained in:
parent
15f982311e
commit
b08a0cc83a
|
@ -35,6 +35,14 @@ export function handleOrderStarted(event: OrderStarted): void {
|
|||
event.logIndex.toI32()
|
||||
)
|
||||
)
|
||||
log.info('order created id: {}', [
|
||||
getOrderId(
|
||||
event.transaction.hash.toHex(),
|
||||
event.address.toHex(),
|
||||
event.transaction.from.toHex(),
|
||||
event.logIndex.toI32()
|
||||
)
|
||||
])
|
||||
|
||||
const token = getToken(event.address, true)
|
||||
order.datatoken = token.id
|
||||
|
|
Loading…
Reference in New Issue