-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1114 from WalletConnect/develop
1.8.0
- Loading branch information
Showing
103 changed files
with
1,803 additions
and
707 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
Example/WalletApp/BusinessLayer/ListingsSertice/Listings.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import Foundation | ||
|
||
struct Listing: Codable { | ||
struct ImageURL: Codable { | ||
@FailableDecodable | ||
private(set) var sm: URL? | ||
|
||
@FailableDecodable | ||
private(set) var md: URL? | ||
|
||
@FailableDecodable | ||
private(set) var lg: URL? | ||
} | ||
struct App: Codable { | ||
@FailableDecodable | ||
private(set) var ios: URL? | ||
|
||
@FailableDecodable | ||
private(set) var android: URL? | ||
|
||
@FailableDecodable | ||
private(set) var browser: URL? | ||
} | ||
struct Mobile: Codable { | ||
let native: String? | ||
let universal: String? | ||
} | ||
struct Metadata: Codable { | ||
struct Colors: Codable { | ||
let primary: String? | ||
let secondary: String? | ||
} | ||
let shortName: String | ||
let colors: Colors | ||
} | ||
let id: String | ||
let name: String | ||
let description: String | ||
let homepage: String | ||
let image_url: ImageURL | ||
let app: App | ||
let mobile: Mobile | ||
let metadata: Metadata | ||
let chains: [String] | ||
} |
Oops, something went wrong.