Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
facuspagnuolo committed Feb 1, 2022
1 parent cfc158c commit fa9097a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface Event {
edition: Edition!
token: Token!
blockNumber: BigInt!
blockHhash: Bytes!
blockHash: Bytes!
txHash: Bytes!
timestamp: BigInt!
}
Expand All @@ -59,7 +59,7 @@ type Sale implements Event @entity {
edition: Edition!
token: Token!
blockNumber: BigInt!
blockHhash: Bytes!
blockHash: Bytes!
txHash: Bytes!
timestamp: BigInt!
currency: Bytes!
Expand All @@ -74,7 +74,7 @@ type Transfer implements Event @entity {
edition: Edition!
token: Token!
blockNumber: BigInt!
blockHhash: Bytes!
blockHash: Bytes!
txHash: Bytes!
timestamp: BigInt!
from: Account!
Expand Down
4 changes: 2 additions & 2 deletions src/Artist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function handleEditionPurchased(event: EditionPurchasedEvent): void {
sale.amount = edition.price
sale.currency = ZERO_ADDRESS
sale.blockNumber = event.block.number
sale.blockHhash = event.block.hash
sale.blockHash = event.block.hash
sale.timestamp = event.block.timestamp
sale.txHash = event.transaction.hash
sale.save()
Expand Down Expand Up @@ -112,7 +112,7 @@ export function handleTransfer(event: TransferEvent): void {
transfer.from = from.id
transfer.to = to.id
transfer.blockNumber = event.block.number
transfer.blockHhash = event.block.hash
transfer.blockHash = event.block.hash
transfer.timestamp = event.block.timestamp
transfer.txHash = event.transaction.hash
transfer.save()
Expand Down

0 comments on commit fa9097a

Please sign in to comment.