mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
updating the datatoken cap in the pool
This commit is contained in:
parent
406353e100
commit
b273e7fb21
@ -145,7 +145,7 @@ type Pool @entity {
|
|||||||
"publisher market fee value"
|
"publisher market fee value"
|
||||||
publishMarketSwapFee: BigDecimal!
|
publishMarketSwapFee: BigDecimal!
|
||||||
"publisher market fee total amount"
|
"publisher market fee total amount"
|
||||||
publishMarketSwapFeeAmount: BigDecimal
|
publishMarketSwapFeeAmount: BigDecimal!
|
||||||
|
|
||||||
"Liquidty provider fee value"
|
"Liquidty provider fee value"
|
||||||
liquidityProviderSwapFee: BigDecimal
|
liquidityProviderSwapFee: BigDecimal
|
||||||
|
@ -239,6 +239,7 @@ export function handleSetup(event: LOG_SETUP): void {
|
|||||||
pool.block = event.block.number.toI32()
|
pool.block = event.block.number.toI32()
|
||||||
pool.symbol = datatoken.symbol
|
pool.symbol = datatoken.symbol
|
||||||
pool.name = datatoken.name
|
pool.name = datatoken.name
|
||||||
|
pool.cap = datatoken.cap
|
||||||
pool.save()
|
pool.save()
|
||||||
poolTx.save()
|
poolTx.save()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user