diff --git a/schema.graphql b/schema.graphql index 623ab83..2f4edaf 100644 --- a/schema.graphql +++ b/schema.graphql @@ -7,8 +7,6 @@ type Token @entity transferCount: BigInt! created: BigInt! mintOrder: BigInt - # The last account to hold the token before being burned. - ownerBeforeBurn: Account } type Account @entity diff --git a/src/mapping.ts b/src/mapping.ts index 636a3ee..efbea8a 100644 --- a/src/mapping.ts +++ b/src/mapping.ts @@ -74,9 +74,6 @@ export function handleTransfer(ev: TransferEvent): void { token.transferCount = BigInt.fromI32(0); token.created = ev.block.timestamp } - if (to.id == ZERO_ADDRESS) { - token.ownerBeforeBurn = from.id; - } token.owner = to.id; token.transferCount += BigInt.fromI32(1); token.save();