Generated by DocFX

Class TicketNFT

Ticket NFT. Should related to the NFT Event

Inheritance
System.Object
CommonNFT
TicketNFT
Implements
INFT
Inherited Members
CommonNFT.TypeText
CommonNFT.Type
CommonNFT.Name
CommonNFT.Author
CommonNFT.Description
CommonNFT.Text
CommonNFT.Link
CommonNFT.IconLink
CommonNFT.ImageLink
CommonNFT.ImageData
CommonNFT.Base64Data
CommonNFT.Preview
CommonNFT.PreviewData
CommonNFT.DataItems
CommonNFT.Tags
CommonNFT.TagsList
CommonNFT.Utxo
CommonNFT.UtxoIndex
CommonNFT.ShortHash
CommonNFT.NFTOriginTxId
CommonNFT.SourceTxId
CommonNFT.TokenId
CommonNFT.Price
CommonNFT.PriceActive
CommonNFT.DogePrice
CommonNFT.DogePriceActive
CommonNFT.DogeAddress
CommonNFT.SellJustCopy
CommonNFT.IsLoaded
CommonNFT.IsInThePayments
CommonNFT.DogeftInfo
CommonNFT.SoldInfo
CommonNFT.Time
CommonNFT.History
CommonNFT.TxDetails
CommonNFT.TxDataRefreshed
CommonNFT.IsSpendable()
CommonNFT.LoadHistory()
CommonNFT.FillCommon(INFT)
CommonNFT.ClearSoldInfo()
CommonNFT.ClearPrices()
CommonNFT.LoadLastData(IDictionary<String, String>)
CommonNFT.ParsePrice(IDictionary<String, String>)
CommonNFT.ParseSoldInfo(IDictionary<String, String>)
CommonNFT.ParseCommon(IDictionary<String, String>)
CommonNFT.ParseDogeftInfo(IDictionary<String, String>)
CommonNFT.GetCommonMetadata()
CommonNFT.DownloadPreviewData()
CommonNFT.DownloadImageData()
CommonNFT.DecryptImageData(BitcoinSecret, String, String, String)
CommonNFT.DecryptProperty(String, BitcoinSecret, String, String, String)
CommonNFT.StopRefreshingData()
CommonNFT.StartRefreshingTxData(Int32)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.NFT
Assembly: VEDriversLite.dll
Syntax
public class TicketNFT : CommonNFT, INFT

Constructors

| Improve this Doc View Source

TicketNFT(String)

Create empty NFT class

Declaration
public TicketNFT(string utxo = "")
Parameters
Type Name Description
System.String utxo

Properties

| Improve this Doc View Source

AuthorLink

Author website page

Declaration
public string AuthorLink { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

EventAddress

Event Address - where the event NFT is stored

Declaration
public string EventAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

EventDate

Date of the Event

Declaration
public DateTime EventDate { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

EventId

Event NFT Utxo

Declaration
public string EventId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

EventNFTForTheTicket

Evenf NFT for the ticket

Declaration
[JsonIgnore]
public EventNFT EventNFTForTheTicket { get; set; }
Property Value
Type Description
EventNFT
| Improve this Doc View Source

Location

Event location name

Declaration
public string Location { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LocationCoordinates

Event coordinates "Lat,Len"

Declaration
public string LocationCoordinates { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LocationCoordinatesLat

Location coordinate Latitude

Declaration
public double LocationCoordinatesLat { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

LocationCoordinatesLen

Location coordinate Longitude

Declaration
public double LocationCoordinatesLen { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

MintAuthorAddress

Specify author address if different than the mint address

Declaration
public string MintAuthorAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MusicInLink

Music in the Link property

Declaration
public bool MusicInLink { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Seat

Seat on the event

Declaration
public string Seat { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TicketClass

Class of the ticket

Declaration
public ClassOfNFTTicket TicketClass { get; set; }
Property Value
Type Description
ClassOfNFTTicket
| Improve this Doc View Source

TicketDuration

Duration of the ticket

Declaration
public DurationOfNFTTicket TicketDuration { get; set; }
Property Value
Type Description
DurationOfNFTTicket
| Improve this Doc View Source

Used

Indicate if the ticket was used. It goes through all history during load

Declaration
public bool Used { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

VideoLink

Video link

Declaration
public string VideoLink { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

AddUsedTags()

Declaration
public void AddUsedTags()
| Improve this Doc View Source

Fill(INFT)

Fill basic parameters

Declaration
public override async Task Fill(INFT NFT)
Parameters
Type Name Description
INFT NFT
Returns
Type Description
System.Threading.Tasks.Task
Overrides
CommonNFT.Fill(INFT)
| Improve this Doc View Source

FillFromEvent(INFT)

Fill the NFT from the NFT Event data. Lots of fields are same

Declaration
public async Task FillFromEvent(INFT NFT)
Parameters
Type Name Description
INFT NFT
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

GetLastData()

Get last data of this NFT

Declaration
public async Task GetLastData()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

GetMetadata(String, String, String)

Get the NFT data for the NFT

Declaration
public override async Task<IDictionary<string, string>> GetMetadata(string address = "", string key = "", string receiver = "")
Parameters
Type Name Description
System.String address

Address of the sender

System.String key

Private key of the sender for encryption

System.String receiver

receiver of the NFT

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<System.String, System.String>>
Overrides
CommonNFT.GetMetadata(String, String, String)
| Improve this Doc View Source

LoadEventNFT()

Get last data for the Event NFT related to this NFT Ticket

Declaration
public async Task LoadEventNFT()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)

Find and parse origin data

Declaration
public override async Task ParseOriginData(IDictionary<string, string> lastmetadata, GetTransactionInfoResponse txinfo = null)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> lastmetadata
GetTransactionInfoResponse txinfo
Returns
Type Description
System.Threading.Tasks.Task
Overrides
CommonNFT.ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)
| Improve this Doc View Source

ParseSpecific(IDictionary<String, String>)

Parse specific parameters

Declaration
public override void ParseSpecific(IDictionary<string, string> metadata)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> metadata
Overrides
CommonNFT.ParseSpecific(IDictionary<String, String>)
| Improve this Doc View Source

ParseTags()

Declaration
public override void ParseTags()
Overrides
CommonNFT.ParseTags()

Implements

INFT