mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Adding logs
This commit is contained in:
parent
3e40927ae2
commit
3716e50b00
@ -1,4 +1,4 @@
|
|||||||
import { BigInt, Address } from '@graphprotocol/graph-ts'
|
import { BigInt, Address, log } from '@graphprotocol/graph-ts'
|
||||||
import {
|
import {
|
||||||
LOG_EXIT,
|
LOG_EXIT,
|
||||||
LOG_JOIN,
|
LOG_JOIN,
|
||||||
@ -235,6 +235,8 @@ export function handleSetup(event: LOG_SETUP): void {
|
|||||||
event.params.baseTokenAmountIn.toBigDecimal(),
|
event.params.baseTokenAmountIn.toBigDecimal(),
|
||||||
token.decimals
|
token.decimals
|
||||||
)
|
)
|
||||||
|
log.info('\n\npoolTx: {}\n\n', [event.address.toHex()])
|
||||||
|
log.info('\n\npoolTx: {}\n\n', [event.block.toString()])
|
||||||
pool.save()
|
pool.save()
|
||||||
poolTx.save()
|
poolTx.save()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user