tokenary/Shared/Extension/URL.swift

15 lines
431 B
Swift
Raw Normal View History

2021-12-09 17:42:45 +03:00
// Copyright © 2021 Tokenary. All rights reserved.
import Foundation
extension URL {
static let twitter = URL(string: "https://tokenary.io/twitter")!
static let github = URL(string: "https://tokenary.io/github")!
static let email = URL(string: "mailto:support@tokenary.io")!
2021-12-09 18:37:54 +03:00
static func etherscan(address: String) -> URL {
return URL(string: "https://etherscan.io/address/\(address)")!
}
2021-12-09 17:42:45 +03:00
}