mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Adding datatoken name and symbol to the pool
This commit is contained in:
parent
b8abd08ec9
commit
406353e100
@ -237,11 +237,11 @@ export function handleSetup(event: LOG_SETUP): void {
|
|||||||
)
|
)
|
||||||
pool.tx = event.transaction.hash.toHex()
|
pool.tx = event.transaction.hash.toHex()
|
||||||
pool.block = event.block.number.toI32()
|
pool.block = event.block.number.toI32()
|
||||||
|
pool.symbol = datatoken.symbol
|
||||||
|
pool.name = datatoken.name
|
||||||
pool.save()
|
pool.save()
|
||||||
poolTx.save()
|
poolTx.save()
|
||||||
|
|
||||||
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
|
||||||
const publisherMarketFee = getPoolPublisherMarketFee(event.address)
|
const publisherMarketFee = getPoolPublisherMarketFee(event.address)
|
||||||
|
Loading…
Reference in New Issue
Block a user