parent
2a50e8e4e6
commit
236dc2bd4b
@ -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…
Reference in new issue