Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/standard-v2' into standard-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahannan committed Dec 4, 2023
2 parents 01c7114 + 408c68c commit a3aebb3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions contracts/NonFungibleToken-v2.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ access(all) contract NonFungibleToken {
// An entitlement for allowing the withdrawal of tokens from a Vault
access(all) entitlement Withdrawable

/// Event that is emitted when a token is updated,
///
access(all) event Updated(id: UInt64, uuid: UInt64, owner: Address, type:String)

access(self) view fun emitNFTUpdated(id: UInt64, uuid: UInt64, owner: Address, type: String): Bool
{
emit Updated(id: id, uuid: uuid, owner: owner, type: type)
return true
}


/// Event that is emitted when a token is withdrawn,
/// indicating the owner of the collection that it was withdrawn from.
///
Expand Down

0 comments on commit a3aebb3

Please sign in to comment.