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
443 B
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,
|
|
]
|
|
}
|
|
}
|
|
|