DipDupToken
public struct DipDupToken : Codable, Hashable, Equatable
DipDup representation of a Token
-
The user facing symbol of the token
Declaration
Swift
public let symbol: String -
The TZ address of the token
Declaration
Swift
public let address: String -
The token ID of the token (always 0 for FA1.2 tokens)
Declaration
Swift
public let tokenId: Decimal -
The number of decimals for the token
Declaration
Swift
public let decimals: Int -
Which standard the token follows
Declaration
Swift
public let standard: DipDupTokenStandard -
Optional string to denote where to get the thumbnail image
Declaration
Swift
public let thumbnailUri: String? -
Conforming to
Hashableto enable working with UITableViewDiffableDataSourceDeclaration
Swift
public func hash(into hasher: inout Hasher) -
Conforming to
Equatableto enable working with UITableViewDiffableDataSourceDeclaration
Swift
public static func == (lhs: DipDupToken, rhs: DipDupToken) -> Bool
Install in Dash