An advanced Ethereum/EVM mobile wallet
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.
 
 
 
alpha-wallet-ios/Trust/Models/PushDevice.swift

24 lines
443 B

// Copyright SIX DAY LLC. All rights reserved.
import Foundation
protocol JSONable {
var dict: [String: Any] { get }
}
struct PushDevice: JSONable {
let deviceID: String
let token: String
let wallets: [String]
let chainID: Int
var dict: [String: Any] {
return [
"deviceID": deviceID,
"token": token,
"wallets": wallets,
"chainID": chainID,
]
}
}