Move ExchangeToken into separate file

pull/2/head
Michael Scoff 7 years ago
parent 2a50e8e4e6
commit 236dc2bd4b
  1. 15
      Trust/Exchange/Types/ExchangeToken.swift

@ -0,0 +1,15 @@
// Copyright SIX DAY LLC. All rights reserved.
import Foundation
struct ExchangeToken {
let name: String
let symbol: String
let balance: Double
}
extension ExchangeToken: Equatable {
static func == (lhs: ExchangeToken, rhs: ExchangeToken) -> Bool {
return lhs.symbol == rhs.symbol
}
}
Loading…
Cancel
Save