mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
debug
This commit is contained in:
parent
00eacb7832
commit
7d8a8ae7dd
@ -174,6 +174,12 @@ export function handleSetup(event: LOG_CALL): void {
|
||||
handleSetSwapFee(event, swapFee)
|
||||
handleFinalize(event)
|
||||
createPoolTransaction(event, 'setup', event.transaction.from.toHex())
|
||||
const ptx = event.transaction.hash.toHexString()
|
||||
let poolTx = PoolTransaction.load(ptx)
|
||||
if (poolTx == null) {
|
||||
debuglog('????????????????????????????/ no PoolTransaction ', event, [ptx])
|
||||
return
|
||||
}
|
||||
|
||||
// update base token
|
||||
let amount = hexToDecimal(baseTokenAmount, 18)
|
||||
|
Loading…
Reference in New Issue
Block a user