type AuctionStartedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Actor that started this auction." actor: ContentActor! "Video that's being auctioned." video: Video! "Auction started." auction: Auction! } type NftIssuedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Content actor that issued the NFT." contentActor: ContentActor! "Video represented via NFT." video: Video! "Royalty for the NFT/video." royalty: Float # TODO: inspect if metadata can be unpacked and mean something useful "NFT's metadata." metadata: String! "Member NFT was originally issued to." newOwner: Membership } type AuctionBidMadeEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Member bidding in the auction." member: Membership! "Video that's bidden on." video: Video! "Bid made." bidAmount: BigInt! "Sign of auction duration being extended by making this bid." extendsAuction: Boolean! } type AuctionBidCanceledEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Auction that canceled the bid." member: Membership! "Auctioned video." video: Video! } type AuctionCanceledEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Content actor canceling the event." contentActor: ContentActor! "Auctioned video." video: Video! } type EnglishAuctionCompletedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Member claiming the auctioned NFT." winner: Membership! "Auctioned video." video: Video! } type BidMadeCompletingAuctionEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Member completing the auction." member: Membership! "Auctioned video." video: Video! } type OpenAuctionBidAcceptedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "Content actor canceling the event." contentActor: ContentActor! "Auctioned video." video: Video! } type OfferStartedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "NFT's video." video: Video! "Content actor acting as NFT owner." contentActor: ContentActor! "Member that receives the offer." member: Membership! "Offer's price." price: BigInt } type OfferAcceptedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "NFT's video." video: Video! } type OfferCanceledEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "NFT's video." video: Video! "Content actor acting as NFT owner." contentActor: ContentActor! } type NftSellOrderMadeEvent @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "NFT's video." video: Video! "Content actor acting as NFT owner." contentActor: ContentActor! "Offer's price." price: BigInt! } type NftBoughtEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "NFT's video." video: Video! "Member that bought the NFT." member: Membership! } type BuyNowCanceledEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}." id: ID! "Hash of the extrinsic which caused the event to be emitted." inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in." network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "NFT's video." video: Video! "Content actor acting as NFT owner." contentActor: ContentActor! }