mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Saving block number inn pool
This commit is contained in:
parent
345a3284ea
commit
b8abd08ec9
@ -236,10 +236,11 @@ export function handleSetup(event: LOG_SETUP): void {
|
|||||||
token.decimals
|
token.decimals
|
||||||
)
|
)
|
||||||
pool.tx = event.transaction.hash.toHex()
|
pool.tx = event.transaction.hash.toHex()
|
||||||
|
pool.block = event.block.number.toI32()
|
||||||
pool.save()
|
pool.save()
|
||||||
poolTx.save()
|
poolTx.save()
|
||||||
|
|
||||||
log.debug('\n\n Pool: {}\n\n\n', [pool.tx])
|
log.info('\n\n ##### \n\n Pool: {}\n\n########\n\n\n ', [pool.tx])
|
||||||
|
|
||||||
const lpFee = getPoolLpSwapFee(event.address)
|
const lpFee = getPoolLpSwapFee(event.address)
|
||||||
pool.liquidityProviderSwapFee = lpFee
|
pool.liquidityProviderSwapFee = lpFee
|
||||||
|
Loading…
Reference in New Issue
Block a user