mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Updating JSON string notation
This commit is contained in:
parent
91bd6e08fd
commit
44d608b7e8
@ -199,14 +199,13 @@ export function handleNewPaymentCollector(event: NewPaymentCollector): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function handleProviderFee(event: ProviderFee): void {
|
export function handleProviderFee(event: ProviderFee): void {
|
||||||
const providerFee: string = `{providerFeeAddress: ${event.params.providerFeeAddress.toHex()}, providerFeeToken: ${event.params.providerFeeToken.toHex()}, providerFeeAmount: ${
|
const providerFee: string = `{"providerFeeAddress": "${event.params.providerFeeAddress.toHex()}", "providerFeeToken": "${event.params.providerFeeToken.toHex()}", "providerFeeAmount": "${
|
||||||
event.params.providerFeeAmount
|
event.params.providerFeeAmount
|
||||||
}, providerData: ${event.params.providerData.toHexString()}, v: ${
|
}", "providerData": "${event.params.providerData.toHexString()}", "v": "${
|
||||||
event.params.v
|
event.params.v
|
||||||
}, r: ${event.params.r.toHexString()}, s: ${event.params.s.toHexString()}, validUntil: ${
|
}", "r": "${event.params.r.toHexString()}", "s": "${event.params.s.toHexString()}", "validUntil": "${
|
||||||
event.params.validUntil
|
event.params.validUntil
|
||||||
}
|
}"}`
|
||||||
}`
|
|
||||||
|
|
||||||
const orderId = getOrderId(
|
const orderId = getOrderId(
|
||||||
event.transaction.hash.toHex(),
|
event.transaction.hash.toHex(),
|
||||||
|
Loading…
Reference in New Issue
Block a user