blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
471 B
24 lines
471 B
// Copyright SIX DAY LLC. All rights reserved.
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
struct RequestViewModel {
|
|
|
|
let transferType: TransferType
|
|
|
|
init(transferType: TransferType) {
|
|
self.transferType = transferType
|
|
}
|
|
|
|
var title: String {
|
|
switch transferType {
|
|
case .ether: return "Request ETH"
|
|
case .token(let token): return "Request \(token.name)"
|
|
}
|
|
}
|
|
|
|
var backgroundColor: UIColor {
|
|
return .white
|
|
}
|
|
}
|
|
|