WalletMetadata
public class WalletMetadata : Codable, Hashable
Object to store UI related info about wallets, seperated from the wallet object itself to avoid issues merging together
-
Declaration
Swift
public var address: String
-
Declaration
Swift
public var derivationPath: String?
-
Declaration
Swift
public var hdWalletGroupName: String?
-
Declaration
Swift
public var walletNickname: String?
-
Declaration
Swift
public var socialUsername: String?
-
Declaration
Swift
public var socialUserId: String?
-
Declaration
Swift
public var mainnetDomains: [TezosDomainsReverseRecord]?
-
Declaration
Swift
public var ghostnetDomains: [TezosDomainsReverseRecord]?
-
Declaration
Swift
public var socialType: TorusAuthProvider?
-
Declaration
Swift
public var type: WalletType
-
Declaration
Swift
public var children: [WalletMetadata]
-
Declaration
Swift
public var isChild: Bool
-
Declaration
Swift
public var isWatchOnly: Bool
-
Declaration
Swift
public var bas58EncodedPublicKey: String
-
Declaration
Swift
public var backedUp: Bool
-
Declaration
Swift
public func hasMainnetDomain() -> Bool
-
Declaration
Swift
public func hasGhostnetDomain() -> Bool
-
Declaration
Swift
public func hasDomain(onNetwork network: TezosNodeClientConfig.NetworkType) -> Bool
-
Declaration
Swift
public func primaryMainnetDomain() -> TezosDomainsReverseRecord?
-
Declaration
Swift
public func primaryGhostnetDomain() -> TezosDomainsReverseRecord?
-
Declaration
Swift
public func primaryDomain(onNetwork network: TezosNodeClientConfig.NetworkType) -> TezosDomainsReverseRecord?
-
init(address:
derivationPath: hdWalletGroupName: walletNickname: socialUsername: socialUserId: mainnetDomains: ghostnetDomains: socialType: type: children: isChild: isWatchOnly: bas58EncodedPublicKey: backedUp: ) Declaration
Swift
public init(address: String, derivationPath: String?, hdWalletGroupName: String?, walletNickname: String? = nil, socialUsername: String? = nil, socialUserId: String? = nil, mainnetDomains: [TezosDomainsReverseRecord]? = nil, ghostnetDomains: [TezosDomainsReverseRecord]? = nil, socialType: TorusAuthProvider? = nil, type: WalletType, children: [WalletMetadata], isChild: Bool, isWatchOnly: Bool, bas58EncodedPublicKey: String, backedUp: Bool)
-
Declaration
Swift
public static func == (lhs: WalletMetadata, rhs: WalletMetadata) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)