mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-01 08:54:06 +03:00
commit
69390afcf0
1
Podfile
1
Podfile
@ -2,7 +2,6 @@ inhibit_all_warnings!
|
||||
use_frameworks!
|
||||
|
||||
def shared_pods
|
||||
pod 'BlockiesSwift'
|
||||
pod 'Kingfisher'
|
||||
pod 'TrustWalletCore'
|
||||
pod 'BigInt'
|
||||
|
@ -1,6 +1,5 @@
|
||||
PODS:
|
||||
- BigInt (5.2.0)
|
||||
- BlockiesSwift (0.1.2)
|
||||
- Kingfisher (7.9.1)
|
||||
- SwiftProtobuf (1.24.0)
|
||||
- TrustWalletCore (4.0.1):
|
||||
@ -12,25 +11,22 @@ PODS:
|
||||
|
||||
DEPENDENCIES:
|
||||
- BigInt
|
||||
- BlockiesSwift
|
||||
- Kingfisher
|
||||
- TrustWalletCore
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- BigInt
|
||||
- BlockiesSwift
|
||||
- Kingfisher
|
||||
- SwiftProtobuf
|
||||
- TrustWalletCore
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
BigInt: f668a80089607f521586bbe29513d708491ef2f7
|
||||
BlockiesSwift: 22d8d56dd187e6bfd16cb8c8fbd4fd4896c3e65d
|
||||
Kingfisher: 1d14e9f59cbe19389f591c929000332bf70efd32
|
||||
SwiftProtobuf: bcfd2bc231cf9ae552cdc7c4e877bd3b41fe57b1
|
||||
TrustWalletCore: 77c78bda1d1a411390321b7d9f7b81bd1d547b71
|
||||
|
||||
PODFILE CHECKSUM: 80600e3a469003bb39f77a8b610658742fa669da
|
||||
PODFILE CHECKSUM: 63ae34d7b530436a1a7d72f33a0171a22f73d4ad
|
||||
|
||||
COCOAPODS: 1.13.0
|
||||
|
@ -1,67 +0,0 @@
|
||||
//
|
||||
// Color+HSL.swift
|
||||
// BlockiesSwift
|
||||
//
|
||||
// Created by Koray Koska on 22.12.17.
|
||||
//
|
||||
|
||||
#if os(iOS) || os(tvOS) || os(watchOS)
|
||||
import UIKit
|
||||
#elseif os(OSX)
|
||||
import AppKit
|
||||
#endif
|
||||
|
||||
#if os(iOS) || os(tvOS) || os(watchOS)
|
||||
typealias Color = UIColor
|
||||
#elseif os(OSX)
|
||||
typealias Color = NSColor
|
||||
#endif
|
||||
|
||||
extension Color {
|
||||
|
||||
/**
|
||||
* Initializes Color with the given HSL color values.
|
||||
*
|
||||
* H must be bigger than 0 and smaller than 360.
|
||||
*
|
||||
* S must be between 0 and 1.
|
||||
*
|
||||
* L must be between 0 and 1.
|
||||
*
|
||||
* - parameter h: The h value.
|
||||
* - parameter s: The s value.
|
||||
* - parameter l: The l value.
|
||||
*/
|
||||
convenience init?(h: Double, s: Double, l: Double) {
|
||||
let c = (1 - abs(2 * l - 1)) * s
|
||||
let x = c * (1 - abs((h / 60).truncatingRemainder(dividingBy: 2) - 1))
|
||||
let m = l - (c / 2)
|
||||
|
||||
let (tmpR, tmpG, tmpB): (Double, Double, Double)
|
||||
if 0 <= h && h < 60 {
|
||||
(tmpR, tmpG, tmpB) = (c, x, 0)
|
||||
} else if 60 <= h && h < 120 {
|
||||
(tmpR, tmpG, tmpB) = (x, c, 0)
|
||||
} else if 120 <= h && h < 180 {
|
||||
(tmpR, tmpG, tmpB) = (0, c, x)
|
||||
} else if 180 <= h && h < 240 {
|
||||
(tmpR, tmpG, tmpB) = (0, x, c)
|
||||
} else if 240 <= h && h < 300 {
|
||||
(tmpR, tmpG, tmpB) = (x, 0, c)
|
||||
} else if 300 <= h && h < 360 {
|
||||
(tmpR, tmpG, tmpB) = (c, 0, x)
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
||||
let r = (tmpR + m)
|
||||
let g = (tmpG + m)
|
||||
let b = (tmpB + m)
|
||||
|
||||
self.init(red: CGFloat(r), green: CGFloat(g), blue: CGFloat(b), alpha: 1)
|
||||
}
|
||||
|
||||
static func fromHSL(h: Double, s: Double, l: Double) -> Color? {
|
||||
return Color(h: h, s: s, l: l)
|
||||
}
|
||||
}
|
21
Pods/BlockiesSwift/LICENSE
generated
21
Pods/BlockiesSwift/LICENSE
generated
@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Boilertalk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
119
Pods/BlockiesSwift/README.md
generated
119
Pods/BlockiesSwift/README.md
generated
@ -1,119 +0,0 @@
|
||||
<a href="https://github.com/Boilertalk/VaporFacebookBot">
|
||||
<img src="https://storage.googleapis.com/boilertalk/logo.svg" width="100%" height="256">
|
||||
</a>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/Boilertalk/BlockiesSwift">
|
||||
<img src="http://img.shields.io/travis/Boilertalk/BlockiesSwift.svg?style=flat" alt="CI Status">
|
||||
</a>
|
||||
<a href="http://cocoapods.org/pods/BlockiesSwift">
|
||||
<img src="https://img.shields.io/cocoapods/v/BlockiesSwift.svg?style=flat" alt="Version">
|
||||
</a>
|
||||
<a href="http://cocoapods.org/pods/BlockiesSwift">
|
||||
<img src="https://img.shields.io/cocoapods/l/BlockiesSwift.svg?style=flat" alt="License">
|
||||
</a>
|
||||
<a href="http://cocoapods.org/pods/BlockiesSwift">
|
||||
<img src="https://img.shields.io/cocoapods/p/BlockiesSwift.svg?style=flat" alt="Platform">
|
||||
</a>
|
||||
<a href="https://github.com/Carthage/Carthage">
|
||||
<img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
# :alembic: BlockiesSwift
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/Boilertalk/BlockiesSwift/raw/master/sample.png" alt="Sample Blockies">
|
||||
</p>
|
||||
|
||||
This library is a Swift implementation of the [Ethereum fork of Blockies](https://github.com/ethereum/blockies) which is intended to be used in iOS, watchOS, tvOS and macOS apps.
|
||||
|
||||
Blockies generates unique images (identicons) for a given seed string. Those can be used to create images representing an Ethereum (or other Cryptocurrency) Wallet address or really anything else.
|
||||
|
||||
## Example
|
||||
|
||||
To run the example project, run `pod try BlockiesSwift`. Or clone the repo, and run `pod install` from the Example directory.
|
||||
|
||||
## Installation
|
||||
|
||||
### CocoaPods
|
||||
|
||||
BlockiesSwift is available through [CocoaPods](http://cocoapods.org). To install
|
||||
it, simply add the following line to your `Podfile`:
|
||||
|
||||
```ruby
|
||||
pod 'BlockiesSwift'
|
||||
```
|
||||
|
||||
### Carthage
|
||||
|
||||
BlockiesSwift is compatible with [Carthage](https://github.com/Carthage/Carthage), a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To install it, simply add the following line to your `Cartfile`:
|
||||
|
||||
```
|
||||
github "Boilertalk/BlockiesSwift"
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Basic usage is very straight forward. You just create an instance of `Blockies` with your seed and call `createImage()` to get your image.
|
||||
|
||||
```Swift
|
||||
import BlockiesSwift
|
||||
|
||||
let blockies = Blockies(seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724")
|
||||
let img = blockies.createImage()
|
||||
|
||||
yourImageView.image = img
|
||||
```
|
||||
|
||||
This will generate an image with `size` set to 8 and `scale` set to 4. `size` is the width and height of the Blockies image in blocks, `scale` is the width and height of one block in pixels.
|
||||
|
||||
Per default, random colors are generated for the given seed. You can change that but keep in mind that the pattern will also change if you provide custom colors as there will be less calls to the internal `random()` function.
|
||||
|
||||
The following is a full example.
|
||||
|
||||
```Swift
|
||||
import BlockiesSwift
|
||||
|
||||
let blockies = Blockies(
|
||||
seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724",
|
||||
size: 5,
|
||||
scale: 10,
|
||||
color: UIColor.green,
|
||||
bgColor: UIColor.gray,
|
||||
spotColor: UIColor.orange
|
||||
)
|
||||
let img = blockies.createImage()
|
||||
|
||||
yourImageView.image = img
|
||||
```
|
||||
|
||||
The following sizes work well for most cases.
|
||||
|
||||
* size: 8, scale: 3
|
||||
* size: 5, scale: 10
|
||||
|
||||
Sizes above 10 generate more noisy structures. If you want to generate bigger images, you can go for a set of `size` and `scale` from the above and pass a `customScale` value to `createImage(_:)`.
|
||||
|
||||
```Swift
|
||||
import BlockiesSwift
|
||||
|
||||
let blockies = Blockies(
|
||||
seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724",
|
||||
size: 8,
|
||||
scale: 3
|
||||
)
|
||||
let img = blockies.createImage(customScale: 10)
|
||||
|
||||
yourImageView.image = img
|
||||
```
|
||||
|
||||
The image in this example would be `8 * 3 = 24x24` pixels without a custom scale. With the `customScale` set to `10` it will be `8 * 3 * 10 = 240x240` pixels. The `customScale` lets you generate bigger images with the same structure quality as the smaller ones.
|
||||
|
||||
## Author
|
||||
|
||||
Koray Koska, koray@koska.at
|
||||
|
||||
## License
|
||||
|
||||
BlockiesSwift is available under the MIT license. See the LICENSE file for more info.
|
6
Pods/Manifest.lock
generated
6
Pods/Manifest.lock
generated
@ -1,6 +1,5 @@
|
||||
PODS:
|
||||
- BigInt (5.2.0)
|
||||
- BlockiesSwift (0.1.2)
|
||||
- Kingfisher (7.9.1)
|
||||
- SwiftProtobuf (1.24.0)
|
||||
- TrustWalletCore (4.0.1):
|
||||
@ -12,25 +11,22 @@ PODS:
|
||||
|
||||
DEPENDENCIES:
|
||||
- BigInt
|
||||
- BlockiesSwift
|
||||
- Kingfisher
|
||||
- TrustWalletCore
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- BigInt
|
||||
- BlockiesSwift
|
||||
- Kingfisher
|
||||
- SwiftProtobuf
|
||||
- TrustWalletCore
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
BigInt: f668a80089607f521586bbe29513d708491ef2f7
|
||||
BlockiesSwift: 22d8d56dd187e6bfd16cb8c8fbd4fd4896c3e65d
|
||||
Kingfisher: 1d14e9f59cbe19389f591c929000332bf70efd32
|
||||
SwiftProtobuf: bcfd2bc231cf9ae552cdc7c4e877bd3b41fe57b1
|
||||
TrustWalletCore: 77c78bda1d1a411390321b7d9f7b81bd1d547b71
|
||||
|
||||
PODFILE CHECKSUM: 80600e3a469003bb39f77a8b610658742fa669da
|
||||
PODFILE CHECKSUM: 63ae34d7b530436a1a7d72f33a0171a22f73d4ad
|
||||
|
||||
COCOAPODS: 1.13.0
|
||||
|
5430
Pods/Pods.xcodeproj/project.pbxproj
generated
5430
Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>${PODS_DEVELOPMENT_LANGUAGE}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.1.2</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,5 +0,0 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
@interface PodsDummy_BlockiesSwift_iOS : NSObject
|
||||
@end
|
||||
@implementation PodsDummy_BlockiesSwift_iOS
|
||||
@end
|
@ -1,12 +0,0 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1,16 +0,0 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT double BlockiesSwiftVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char BlockiesSwiftVersionString[];
|
||||
|
@ -1,14 +0,0 @@
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/BlockiesSwift
|
||||
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
SKIP_INSTALL = YES
|
||||
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
|
@ -1,6 +0,0 @@
|
||||
framework module BlockiesSwift {
|
||||
umbrella header "BlockiesSwift-iOS-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/BlockiesSwift
|
||||
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
SKIP_INSTALL = YES
|
||||
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>${PODS_DEVELOPMENT_LANGUAGE}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.1.2</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,5 +0,0 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
@interface PodsDummy_BlockiesSwift_macOS : NSObject
|
||||
@end
|
||||
@implementation PodsDummy_BlockiesSwift_macOS
|
||||
@end
|
@ -1,12 +0,0 @@
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1,16 +0,0 @@
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT double BlockiesSwiftVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char BlockiesSwiftVersionString[];
|
||||
|
@ -1,15 +0,0 @@
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
CODE_SIGN_IDENTITY =
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/BlockiesSwift
|
||||
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
SKIP_INSTALL = YES
|
||||
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
|
@ -1,6 +0,0 @@
|
||||
framework module BlockiesSwift {
|
||||
umbrella header "BlockiesSwift-macOS-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
CODE_SIGN_IDENTITY =
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/BlockiesSwift
|
||||
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
SKIP_INSTALL = YES
|
||||
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
|
@ -25,31 +25,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
## BlockiesSwift
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Boilertalk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
## Kingfisher
|
||||
|
||||
The MIT License (MIT)
|
||||
|
@ -46,37 +46,6 @@ SOFTWARE.
|
||||
<key>FooterText</key>
|
||||
<string>The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Boilertalk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
</string>
|
||||
<key>License</key>
|
||||
<string>MIT</string>
|
||||
<key>Title</key>
|
||||
<string>BlockiesSwift</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>FooterText</key>
|
||||
<string>The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Wei Wang
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
@ -1,6 +1,5 @@
|
||||
${PODS_ROOT}/Target Support Files/Pods-Tokenary iOS/Pods-Tokenary iOS-frameworks.sh
|
||||
${BUILT_PRODUCTS_DIR}/BigInt-iOS/BigInt.framework
|
||||
${BUILT_PRODUCTS_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework
|
||||
${BUILT_PRODUCTS_DIR}/Kingfisher-iOS/Kingfisher.framework
|
||||
${BUILT_PRODUCTS_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework
|
||||
${BUILT_PRODUCTS_DIR}/TrustWalletCore-iOS/WalletCore.framework
|
@ -1,5 +1,4 @@
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BigInt.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BlockiesSwift.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftProtobuf.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WalletCore.framework
|
@ -1,6 +1,5 @@
|
||||
${PODS_ROOT}/Target Support Files/Pods-Tokenary iOS/Pods-Tokenary iOS-frameworks.sh
|
||||
${BUILT_PRODUCTS_DIR}/BigInt-iOS/BigInt.framework
|
||||
${BUILT_PRODUCTS_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework
|
||||
${BUILT_PRODUCTS_DIR}/Kingfisher-iOS/Kingfisher.framework
|
||||
${BUILT_PRODUCTS_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework
|
||||
${BUILT_PRODUCTS_DIR}/TrustWalletCore-iOS/WalletCore.framework
|
@ -1,5 +1,4 @@
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BigInt.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BlockiesSwift.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftProtobuf.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WalletCore.framework
|
@ -177,14 +177,12 @@ code_sign_if_enabled() {
|
||||
|
||||
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BigInt-iOS/BigInt.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/Kingfisher-iOS/Kingfisher.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/TrustWalletCore-iOS/WalletCore.framework"
|
||||
fi
|
||||
if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BigInt-iOS/BigInt.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/Kingfisher-iOS/Kingfisher.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/TrustWalletCore-iOS/WalletCore.framework"
|
||||
|
@ -1,12 +1,12 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers"
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers"
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "BlockiesSwift" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
|
@ -1,12 +1,12 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers"
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers"
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS/BlockiesSwift.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "BlockiesSwift" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-iOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-iOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
|
@ -25,31 +25,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
## BlockiesSwift
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Boilertalk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
## Kingfisher
|
||||
|
||||
The MIT License (MIT)
|
||||
|
@ -46,37 +46,6 @@ SOFTWARE.
|
||||
<key>FooterText</key>
|
||||
<string>The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Boilertalk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
</string>
|
||||
<key>License</key>
|
||||
<string>MIT</string>
|
||||
<key>Title</key>
|
||||
<string>BlockiesSwift</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>FooterText</key>
|
||||
<string>The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Wei Wang
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
@ -1,6 +1,5 @@
|
||||
${PODS_ROOT}/Target Support Files/Pods-Tokenary/Pods-Tokenary-frameworks.sh
|
||||
${BUILT_PRODUCTS_DIR}/BigInt-macOS/BigInt.framework
|
||||
${BUILT_PRODUCTS_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework
|
||||
${BUILT_PRODUCTS_DIR}/Kingfisher-macOS/Kingfisher.framework
|
||||
${BUILT_PRODUCTS_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework
|
||||
${BUILT_PRODUCTS_DIR}/TrustWalletCore-macOS/WalletCore.framework
|
@ -1,5 +1,4 @@
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BigInt.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BlockiesSwift.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftProtobuf.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WalletCore.framework
|
@ -1,6 +1,5 @@
|
||||
${PODS_ROOT}/Target Support Files/Pods-Tokenary/Pods-Tokenary-frameworks.sh
|
||||
${BUILT_PRODUCTS_DIR}/BigInt-macOS/BigInt.framework
|
||||
${BUILT_PRODUCTS_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework
|
||||
${BUILT_PRODUCTS_DIR}/Kingfisher-macOS/Kingfisher.framework
|
||||
${BUILT_PRODUCTS_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework
|
||||
${BUILT_PRODUCTS_DIR}/TrustWalletCore-macOS/WalletCore.framework
|
@ -1,5 +1,4 @@
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BigInt.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BlockiesSwift.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftProtobuf.framework
|
||||
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WalletCore.framework
|
@ -177,14 +177,12 @@ code_sign_if_enabled() {
|
||||
|
||||
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BigInt-macOS/BigInt.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/Kingfisher-macOS/Kingfisher.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/TrustWalletCore-macOS/WalletCore.framework"
|
||||
fi
|
||||
if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BigInt-macOS/BigInt.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/Kingfisher-macOS/Kingfisher.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/TrustWalletCore-macOS/WalletCore.framework"
|
||||
|
@ -1,12 +1,12 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers"
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers"
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/../Frameworks' '@loader_path/Frameworks' "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "BlockiesSwift" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
|
@ -1,12 +1,12 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS" "${PODS_ROOT}/TrustWalletCore" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core"
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers"
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers"
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/../Frameworks' '@loader_path/Frameworks' "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS/BlockiesSwift.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BlockiesSwift-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "BlockiesSwift" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS/BigInt.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS/Kingfisher.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS/SwiftProtobuf.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS/WalletCore.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/BigInt-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher-macOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf-macOS" -iframework "${PODS_ROOT}/TrustWalletCore" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/TrustWalletCore/Core" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/TrustWalletCore-macOS"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -framework "Accelerate" -framework "BigInt" -framework "CFNetwork" -framework "Kingfisher" -framework "SwiftProtobuf" -framework "WalletCore" -weak_framework "Combine" -weak_framework "SwiftUI"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
enum Web3Provider: String, Codable {
|
||||
enum InpageProvider: String, Codable {
|
||||
case ethereum, unknown, multiple
|
||||
}
|
@ -11,7 +11,7 @@ struct SafariRequest {
|
||||
|
||||
let id: Int
|
||||
let name: String
|
||||
let provider: Web3Provider
|
||||
let provider: InpageProvider
|
||||
let body: Body
|
||||
let host: String
|
||||
let favicon: String?
|
||||
@ -62,7 +62,7 @@ struct SafariRequest {
|
||||
self.favicon = nil
|
||||
}
|
||||
|
||||
let provider = Web3Provider(rawValue: json["provider"] as? String ?? "") ?? .unknown
|
||||
let provider = InpageProvider(rawValue: json["provider"] as? String ?? "") ?? .unknown
|
||||
self.provider = provider
|
||||
|
||||
var body: Body?
|
||||
|
@ -12,7 +12,7 @@ extension SafariRequest {
|
||||
}
|
||||
|
||||
struct ProviderConfiguration {
|
||||
let provider: Web3Provider
|
||||
let provider: InpageProvider
|
||||
let address: String
|
||||
let network: EthereumNetwork?
|
||||
}
|
||||
@ -29,7 +29,7 @@ extension SafariRequest {
|
||||
if let latestConfigurations = json["latestConfigurations"] as? [[String: Any]] {
|
||||
for configuration in latestConfigurations {
|
||||
guard let providerString = configuration["provider"] as? String,
|
||||
let provider = Web3Provider(rawValue: providerString),
|
||||
let provider = InpageProvider(rawValue: providerString),
|
||||
let data = try? JSONSerialization.data(withJSONObject: configuration)
|
||||
else { continue }
|
||||
|
||||
|
@ -7,7 +7,7 @@ extension ResponseToExtension {
|
||||
struct Multiple {
|
||||
|
||||
let bodies: [Body]
|
||||
let providersToDisconnect: [Web3Provider]
|
||||
let providersToDisconnect: [InpageProvider]
|
||||
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ struct ResponseToExtension {
|
||||
}
|
||||
}
|
||||
|
||||
var provider: Web3Provider {
|
||||
var provider: InpageProvider {
|
||||
switch self {
|
||||
case .ethereum:
|
||||
return .ethereum
|
||||
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Tokenary</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>Tokenary_ScreensaverView</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,7 +0,0 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
#import <ScreenSaver/ScreenSaver.h>
|
||||
|
||||
@interface Tokenary_ScreensaverView : ScreenSaverView
|
||||
|
||||
@end
|
@ -1,46 +0,0 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
#import "Tokenary_ScreensaverView.h"
|
||||
|
||||
@implementation Tokenary_ScreensaverView
|
||||
|
||||
- (instancetype)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview
|
||||
{
|
||||
self = [super initWithFrame:frame isPreview:isPreview];
|
||||
if (self) {
|
||||
[self setAnimationTimeInterval:1/30.0];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)startAnimation
|
||||
{
|
||||
[super startAnimation];
|
||||
}
|
||||
|
||||
- (void)stopAnimation
|
||||
{
|
||||
[super stopAnimation];
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)rect
|
||||
{
|
||||
[super drawRect:rect];
|
||||
}
|
||||
|
||||
- (void)animateOneFrame
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
- (BOOL)hasConfigureSheet
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (NSWindow*)configureSheet
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
@ -43,8 +43,8 @@ extension CoinType {
|
||||
}
|
||||
}
|
||||
|
||||
static func correspondingToWeb3Provider(_ web3Provider: Web3Provider) -> CoinType? {
|
||||
switch web3Provider {
|
||||
static func correspondingToInpageProvider(_ inpageProvider: InpageProvider) -> CoinType? {
|
||||
switch inpageProvider {
|
||||
case .ethereum:
|
||||
return .ethereum
|
||||
case .unknown, .multiple:
|
||||
|
@ -16,7 +16,7 @@ struct SelectAccountAction {
|
||||
let peer: PeerMeta?
|
||||
let coinType: CoinType?
|
||||
var selectedAccounts: Set<SpecificWalletAccount>
|
||||
let initiallyConnectedProviders: Set<Web3Provider>
|
||||
let initiallyConnectedProviders: Set<InpageProvider>
|
||||
var network: EthereumNetwork?
|
||||
let source: Source
|
||||
let completion: (EthereumNetwork?, [SpecificWalletAccount]?) -> Void
|
||||
@ -27,7 +27,7 @@ struct SelectAccountAction {
|
||||
}
|
||||
|
||||
struct SignMessageAction {
|
||||
let provider: Web3Provider
|
||||
let provider: InpageProvider
|
||||
let subject: ApprovalSubject
|
||||
let account: Account
|
||||
let meta: String
|
||||
@ -36,7 +36,7 @@ struct SignMessageAction {
|
||||
}
|
||||
|
||||
struct SendTransactionAction {
|
||||
let provider: Web3Provider
|
||||
let provider: InpageProvider
|
||||
let transaction: Transaction
|
||||
let chain: EthereumNetwork
|
||||
let account: Account
|
||||
|
@ -24,7 +24,7 @@ struct DappRequestProcessor {
|
||||
return .justShowApp
|
||||
case .switchAccount:
|
||||
let preselectedAccounts = body.providerConfigurations.compactMap { (configuration) -> SpecificWalletAccount? in
|
||||
guard let coin = CoinType.correspondingToWeb3Provider(configuration.provider) else { return nil }
|
||||
guard let coin = CoinType.correspondingToInpageProvider(configuration.provider) else { return nil }
|
||||
return walletsManager.getSpecificAccount(coin: coin, address: configuration.address)
|
||||
}
|
||||
let network = body.providerConfigurations.compactMap { $0.network }.first
|
||||
@ -49,7 +49,7 @@ struct DappRequestProcessor {
|
||||
}
|
||||
|
||||
let providersToDisconnect = initiallyConnectedProviders.filter { provider in
|
||||
if let coin = CoinType.correspondingToWeb3Provider(provider),
|
||||
if let coin = CoinType.correspondingToInpageProvider(provider),
|
||||
specificWalletAccounts.contains(where: { $0.account.coin == coin }) {
|
||||
return false
|
||||
} else {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// https://github.com/Boilertalk/BlockiesSwift
|
||||
|
||||
//
|
||||
// Blockies.swift
|
||||
// BlockiesSwift
|
||||
@ -11,7 +13,7 @@
|
||||
import AppKit
|
||||
#endif
|
||||
|
||||
public final class Blockies {
|
||||
final class Blockies {
|
||||
|
||||
// MARK: - Properties
|
||||
|
||||
@ -204,7 +206,7 @@ public final class Blockies {
|
||||
}
|
||||
}
|
||||
|
||||
class BlockiesHelper {
|
||||
private class BlockiesHelper {
|
||||
|
||||
/**
|
||||
* Creates the initial version of the 4 UInt32 array for the given seed.
|
||||
@ -228,7 +230,7 @@ class BlockiesHelper {
|
||||
}
|
||||
}
|
||||
|
||||
extension Double {
|
||||
private extension Double {
|
||||
|
||||
/**
|
||||
* Generates a random number between 0 and 1 with `arc4random()`.
|
||||
@ -238,7 +240,7 @@ extension Double {
|
||||
}
|
||||
}
|
||||
|
||||
extension Character {
|
||||
private extension Character {
|
||||
|
||||
/**
|
||||
* Returns the value of the first 8 bits of this unicode character.
|
||||
@ -252,3 +254,58 @@ extension Character {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if os(iOS) || os(tvOS) || os(watchOS)
|
||||
private typealias Color = UIColor
|
||||
#elseif os(OSX)
|
||||
private typealias Color = NSColor
|
||||
#endif
|
||||
|
||||
private extension Color {
|
||||
|
||||
/**
|
||||
* Initializes Color with the given HSL color values.
|
||||
*
|
||||
* H must be bigger than 0 and smaller than 360.
|
||||
*
|
||||
* S must be between 0 and 1.
|
||||
*
|
||||
* L must be between 0 and 1.
|
||||
*
|
||||
* - parameter h: The h value.
|
||||
* - parameter s: The s value.
|
||||
* - parameter l: The l value.
|
||||
*/
|
||||
convenience init?(h: Double, s: Double, l: Double) {
|
||||
let c = (1 - abs(2 * l - 1)) * s
|
||||
let x = c * (1 - abs((h / 60).truncatingRemainder(dividingBy: 2) - 1))
|
||||
let m = l - (c / 2)
|
||||
|
||||
let (tmpR, tmpG, tmpB): (Double, Double, Double)
|
||||
if 0 <= h && h < 60 {
|
||||
(tmpR, tmpG, tmpB) = (c, x, 0)
|
||||
} else if 60 <= h && h < 120 {
|
||||
(tmpR, tmpG, tmpB) = (x, c, 0)
|
||||
} else if 120 <= h && h < 180 {
|
||||
(tmpR, tmpG, tmpB) = (0, c, x)
|
||||
} else if 180 <= h && h < 240 {
|
||||
(tmpR, tmpG, tmpB) = (0, x, c)
|
||||
} else if 240 <= h && h < 300 {
|
||||
(tmpR, tmpG, tmpB) = (x, 0, c)
|
||||
} else if 300 <= h && h < 360 {
|
||||
(tmpR, tmpG, tmpB) = (c, 0, x)
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
||||
let r = (tmpR + m)
|
||||
let g = (tmpG + m)
|
||||
let b = (tmpB + m)
|
||||
|
||||
self.init(red: CGFloat(r), green: CGFloat(g), blue: CGFloat(b), alpha: 1)
|
||||
}
|
||||
|
||||
static func fromHSL(h: Double, s: Double, l: Double) -> Color? {
|
||||
return Color(h: h, s: s, l: l)
|
||||
}
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
// Copyright © 2022 Tokenary. All rights reserved.
|
||||
|
||||
import WalletCore
|
||||
import BlockiesSwift
|
||||
|
||||
extension Account {
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
import UIKit
|
||||
import BlockiesSwift
|
||||
|
||||
enum DataState: CaseIterable {
|
||||
case hasData, loading, failedToLoad, noData, unknown
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
import UIKit
|
||||
import BlockiesSwift
|
||||
|
||||
protocol AccountTableViewCellDelegate: AnyObject {
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
import UIKit
|
||||
import BlockiesSwift
|
||||
import WalletCore
|
||||
|
||||
class ApproveTransactionViewController: UIViewController {
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
import UIKit
|
||||
import BlockiesSwift
|
||||
import WalletCore
|
||||
|
||||
class ApproveViewController: UIViewController {
|
||||
@ -34,7 +33,7 @@ class ApproveViewController: UIViewController {
|
||||
@IBOutlet weak var okButton: UIButton!
|
||||
@IBOutlet weak var cancelButton: UIButton!
|
||||
|
||||
static func with(subject: ApprovalSubject, provider: Web3Provider, account: Account, meta: String, peerMeta: PeerMeta?, completion: @escaping (Bool) -> Void) -> ApproveViewController {
|
||||
static func with(subject: ApprovalSubject, provider: InpageProvider, account: Account, meta: String, peerMeta: PeerMeta?, completion: @escaping (Bool) -> Void) -> ApproveViewController {
|
||||
let new = instantiate(ApproveViewController.self, from: .main)
|
||||
new.completion = completion
|
||||
new.shouldEnableWaiting = false
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright © 2021 Tokenary. All rights reserved.
|
||||
|
||||
import Cocoa
|
||||
import BlockiesSwift
|
||||
import WalletCore
|
||||
|
||||
class AccountCellView: NSTableRowView {
|
||||
|
@ -39,10 +39,10 @@
|
||||
2C264BD127B2F30C00234393 /* UnknownSafariRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BCF27B2F30C00234393 /* UnknownSafariRequest.swift */; };
|
||||
2C264BD227B2F30C00234393 /* UnknownSafariRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BCF27B2F30C00234393 /* UnknownSafariRequest.swift */; };
|
||||
2C264BD327B2F30C00234393 /* UnknownSafariRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BCF27B2F30C00234393 /* UnknownSafariRequest.swift */; };
|
||||
2C264BD527B5806200234393 /* Web3Provider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* Web3Provider.swift */; };
|
||||
2C264BD627B5806200234393 /* Web3Provider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* Web3Provider.swift */; };
|
||||
2C264BD727B5806200234393 /* Web3Provider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* Web3Provider.swift */; };
|
||||
2C264BD827B5806200234393 /* Web3Provider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* Web3Provider.swift */; };
|
||||
2C264BD527B5806200234393 /* InpageProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* InpageProvider.swift */; };
|
||||
2C264BD627B5806200234393 /* InpageProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* InpageProvider.swift */; };
|
||||
2C264BD727B5806200234393 /* InpageProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* InpageProvider.swift */; };
|
||||
2C264BD827B5806200234393 /* InpageProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BD427B5806200234393 /* InpageProvider.swift */; };
|
||||
2C264BDC27B5AC5400234393 /* EthereumResponseToExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BDB27B5AC5400234393 /* EthereumResponseToExtension.swift */; };
|
||||
2C264BDD27B5AC5400234393 /* EthereumResponseToExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BDB27B5AC5400234393 /* EthereumResponseToExtension.swift */; };
|
||||
2C264BDE27B5AC5400234393 /* EthereumResponseToExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C264BDB27B5AC5400234393 /* EthereumResponseToExtension.swift */; };
|
||||
@ -79,8 +79,6 @@
|
||||
2C5FF97926C84F7B00B32ACC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2C5FF97726C84F7B00B32ACC /* Main.storyboard */; };
|
||||
2C5FF97B26C84F7C00B32ACC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2C5FF97A26C84F7C00B32ACC /* Assets.xcassets */; };
|
||||
2C5FF97E26C84F7C00B32ACC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2C5FF97C26C84F7C00B32ACC /* LaunchScreen.storyboard */; };
|
||||
2C5FF98C26C8567D00B32ACC /* Tokenary_ScreensaverView.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C5FF98B26C8567D00B32ACC /* Tokenary_ScreensaverView.h */; };
|
||||
2C5FF98E26C8567D00B32ACC /* Tokenary_ScreensaverView.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C5FF98D26C8567D00B32ACC /* Tokenary_ScreensaverView.m */; };
|
||||
2C603D0226B6E13F00956955 /* String.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C603D0126B6E13F00956955 /* String.swift */; };
|
||||
2C6706A5267A6BFE006AAEF2 /* Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C6706A4267A6BFE006AAEF2 /* Bundle.swift */; };
|
||||
2C6B964C26B9D92500D2C819 /* NSColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C6B964B26B9D92500D2C819 /* NSColor.swift */; };
|
||||
@ -101,6 +99,8 @@
|
||||
2C8944C62AEAFF97006A711F /* UInt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C8944C42AEAFF97006A711F /* UInt.swift */; };
|
||||
2C8944CB2AEB0C10006A711F /* EthereumRPC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C8944CA2AEB0C10006A711F /* EthereumRPC.swift */; };
|
||||
2C8944CC2AEB0C10006A711F /* EthereumRPC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C8944CA2AEB0C10006A711F /* EthereumRPC.swift */; };
|
||||
2C8944CE2AEC34EB006A711F /* Blockies.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C8944CD2AEC34EB006A711F /* Blockies.swift */; };
|
||||
2C8944CF2AEC34EB006A711F /* Blockies.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C8944CD2AEC34EB006A711F /* Blockies.swift */; };
|
||||
2C89D26827BADCA9006C0C8D /* DappRequestAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C89D26727BADCA9006C0C8D /* DappRequestAction.swift */; };
|
||||
2C89D26927BADCA9006C0C8D /* DappRequestAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C89D26727BADCA9006C0C8D /* DappRequestAction.swift */; };
|
||||
2C8A09C6267513FC00993638 /* Agent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C8A09C5267513FC00993638 /* Agent.swift */; };
|
||||
@ -275,7 +275,7 @@
|
||||
2C264BBB27B2F25E00234393 /* SafariRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SafariRequest.swift; sourceTree = "<group>"; };
|
||||
2C264BC027B2F2C100234393 /* EthereumSafariRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EthereumSafariRequest.swift; sourceTree = "<group>"; };
|
||||
2C264BCF27B2F30C00234393 /* UnknownSafariRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnknownSafariRequest.swift; sourceTree = "<group>"; };
|
||||
2C264BD427B5806200234393 /* Web3Provider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Web3Provider.swift; sourceTree = "<group>"; };
|
||||
2C264BD427B5806200234393 /* InpageProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InpageProvider.swift; sourceTree = "<group>"; };
|
||||
2C264BDB27B5AC5400234393 /* EthereumResponseToExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EthereumResponseToExtension.swift; sourceTree = "<group>"; };
|
||||
2C264BEA27B6B50700234393 /* DappRequestProcessor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DappRequestProcessor.swift; sourceTree = "<group>"; };
|
||||
2C2AA1D128AD1DC100E35DBF /* SpecificWalletAccount.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpecificWalletAccount.swift; sourceTree = "<group>"; };
|
||||
@ -302,10 +302,6 @@
|
||||
2C5FF97A26C84F7C00B32ACC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
2C5FF97D26C84F7C00B32ACC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
2C5FF97F26C84F7C00B32ACC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
2C5FF98926C8567D00B32ACC /* Screensaver.saver */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Screensaver.saver; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
2C5FF98B26C8567D00B32ACC /* Tokenary_ScreensaverView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Tokenary_ScreensaverView.h; sourceTree = "<group>"; };
|
||||
2C5FF98D26C8567D00B32ACC /* Tokenary_ScreensaverView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tokenary_ScreensaverView.m; sourceTree = "<group>"; };
|
||||
2C5FF98F26C8567D00B32ACC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
2C603D0126B6E13F00956955 /* String.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = String.swift; sourceTree = "<group>"; };
|
||||
2C6706A4267A6BFE006AAEF2 /* Bundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bundle.swift; sourceTree = "<group>"; };
|
||||
2C6B964B26B9D92500D2C819 /* NSColor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NSColor.swift; sourceTree = "<group>"; };
|
||||
@ -322,6 +318,7 @@
|
||||
2C81556C2ADFC7C400F4559B /* popup.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = popup.html; sourceTree = "<group>"; };
|
||||
2C8944C42AEAFF97006A711F /* UInt.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UInt.swift; sourceTree = "<group>"; };
|
||||
2C8944CA2AEB0C10006A711F /* EthereumRPC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EthereumRPC.swift; sourceTree = "<group>"; };
|
||||
2C8944CD2AEC34EB006A711F /* Blockies.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Blockies.swift; sourceTree = "<group>"; };
|
||||
2C89D26727BADCA9006C0C8D /* DappRequestAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DappRequestAction.swift; sourceTree = "<group>"; };
|
||||
2C89D26A27BAF2A3006C0C8D /* yarn.lock */ = {isa = PBXFileReference; lastKnownFileType = text; name = yarn.lock; path = "web3-provider/yarn.lock"; sourceTree = "<group>"; };
|
||||
2C89D26B27BAF2A3006C0C8D /* package-lock.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = "package-lock.json"; path = "web3-provider/package-lock.json"; sourceTree = "<group>"; };
|
||||
@ -426,13 +423,6 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
2C5FF98626C8567D00B32ACC /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
2CCEB82A27594E2A00768473 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
@ -488,7 +478,6 @@
|
||||
2CCEB7A227592A3800768473 /* Safari Shared */,
|
||||
2C09CBA0273979C1009AD39B /* Safari macOS */,
|
||||
2CCEB82E27594E2A00768473 /* Safari iOS */,
|
||||
2C5FF98A26C8567D00B32ACC /* Screensaver */,
|
||||
2C19953D2674C4B900A8E370 /* Products */,
|
||||
FB5786212D81829B0FADBD25 /* Pods */,
|
||||
2A7484A18D772B4233D171DA /* Frameworks */,
|
||||
@ -500,7 +489,6 @@
|
||||
children = (
|
||||
2C19953C2674C4B900A8E370 /* Tokenary.app */,
|
||||
2C5FF96F26C84F7B00B32ACC /* Tokenary iOS.app */,
|
||||
2C5FF98926C8567D00B32ACC /* Screensaver.saver */,
|
||||
2C09CB9F273979C1009AD39B /* Safari macOS.appex */,
|
||||
2CCEB82D27594E2A00768473 /* Safari iOS.appex */,
|
||||
);
|
||||
@ -552,7 +540,7 @@
|
||||
children = (
|
||||
2C90E62427B2F1B200C8991E /* Requests */,
|
||||
2C264BD927B5A91B00234393 /* Responses */,
|
||||
2C264BD427B5806200234393 /* Web3Provider.swift */,
|
||||
2C264BD427B5806200234393 /* InpageProvider.swift */,
|
||||
);
|
||||
path = Models;
|
||||
sourceTree = "<group>";
|
||||
@ -598,16 +586,6 @@
|
||||
path = "Tokenary iOS";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
2C5FF98A26C8567D00B32ACC /* Screensaver */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
2C5FF98B26C8567D00B32ACC /* Tokenary_ScreensaverView.h */,
|
||||
2C5FF98D26C8567D00B32ACC /* Tokenary_ScreensaverView.m */,
|
||||
2C5FF98F26C8567D00B32ACC /* Info.plist */,
|
||||
);
|
||||
path = Screensaver;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
2C6706A7267A6C04006AAEF2 /* Extensions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@ -632,6 +610,14 @@
|
||||
path = Views;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
2C8944D02AEC34F2006A711F /* Utilities */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
2C8944CD2AEC34EB006A711F /* Blockies.swift */,
|
||||
);
|
||||
path = Utilities;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
2C8A09C2267513A700993638 /* Ethereum */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@ -764,8 +750,9 @@
|
||||
2CF255A4275A483600AE54B9 /* Services */,
|
||||
2CF2559F275A47B600AE54B9 /* Extension */,
|
||||
2CD0668826B213BB00728C20 /* Wallets */,
|
||||
2CF255AF275A490600AE54B9 /* Supporting Files */,
|
||||
2CF25596275A468B00AE54B9 /* Models */,
|
||||
2C8944D02AEC34F2006A711F /* Utilities */,
|
||||
2CF255AF275A490600AE54B9 /* Supporting Files */,
|
||||
);
|
||||
path = Shared;
|
||||
sourceTree = "<group>";
|
||||
@ -890,17 +877,6 @@
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXHeadersBuildPhase section */
|
||||
2C5FF98426C8567D00B32ACC /* Headers */ = {
|
||||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
2C5FF98C26C8567D00B32ACC /* Tokenary_ScreensaverView.h in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXHeadersBuildPhase section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
2C09CB9E273979C1009AD39B /* Safari macOS */ = {
|
||||
isa = PBXNativeTarget;
|
||||
@ -962,24 +938,6 @@
|
||||
productReference = 2C5FF96F26C84F7B00B32ACC /* Tokenary iOS.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
2C5FF98826C8567D00B32ACC /* Screensaver */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 2C5FF99026C8567D00B32ACC /* Build configuration list for PBXNativeTarget "Screensaver" */;
|
||||
buildPhases = (
|
||||
2C5FF98426C8567D00B32ACC /* Headers */,
|
||||
2C5FF98526C8567D00B32ACC /* Sources */,
|
||||
2C5FF98626C8567D00B32ACC /* Frameworks */,
|
||||
2C5FF98726C8567D00B32ACC /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = Screensaver;
|
||||
productName = "Encrypted Ink Screensaver";
|
||||
productReference = 2C5FF98926C8567D00B32ACC /* Screensaver.saver */;
|
||||
productType = "com.apple.product-type.bundle";
|
||||
};
|
||||
2CCEB82C27594E2A00768473 /* Safari iOS */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 2CCEB84927594E2A00768473 /* Build configuration list for PBXNativeTarget "Safari iOS" */;
|
||||
@ -1016,9 +974,6 @@
|
||||
2C5FF96E26C84F7B00B32ACC = {
|
||||
CreatedOnToolsVersion = 12.5.1;
|
||||
};
|
||||
2C5FF98826C8567D00B32ACC = {
|
||||
CreatedOnToolsVersion = 12.5.1;
|
||||
};
|
||||
2CCEB82C27594E2A00768473 = {
|
||||
CreatedOnToolsVersion = 13.1;
|
||||
};
|
||||
@ -1041,7 +996,6 @@
|
||||
2C5FF96E26C84F7B00B32ACC /* Tokenary iOS */,
|
||||
2C09CB9E273979C1009AD39B /* Safari macOS */,
|
||||
2CCEB82C27594E2A00768473 /* Safari iOS */,
|
||||
2C5FF98826C8567D00B32ACC /* Screensaver */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
@ -1090,13 +1044,6 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
2C5FF98726C8567D00B32ACC /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
2CCEB82B27594E2A00768473 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
@ -1242,7 +1189,7 @@
|
||||
2CDD86FA2AE3296600F33F95 /* Secrets.swift in Sources */,
|
||||
2CF255B2275A4A7200AE54B9 /* UserDefaults.swift in Sources */,
|
||||
2C264BD227B2F30C00234393 /* UnknownSafariRequest.swift in Sources */,
|
||||
2C264BD727B5806200234393 /* Web3Provider.swift in Sources */,
|
||||
2C264BD727B5806200234393 /* InpageProvider.swift in Sources */,
|
||||
2C8ED8D62AEA7DB200818D74 /* String.swift in Sources */,
|
||||
2C90E61D27B2C5C100C8991E /* InternalSafariRequest.swift in Sources */,
|
||||
2C2AA1D728AFB1AD00E35DBF /* MultipleResponseToExtension.swift in Sources */,
|
||||
@ -1269,7 +1216,7 @@
|
||||
2CC0CDBE2692027E0072922A /* PriceService.swift in Sources */,
|
||||
2C8A09C6267513FC00993638 /* Agent.swift in Sources */,
|
||||
2C8A09D42675184700993638 /* Window.swift in Sources */,
|
||||
2C264BD527B5806200234393 /* Web3Provider.swift in Sources */,
|
||||
2C264BD527B5806200234393 /* InpageProvider.swift in Sources */,
|
||||
2C4768B42826ED83005E8D4D /* CoinType.swift in Sources */,
|
||||
2C773F62274523DC007B04E7 /* ResponseToExtension.swift in Sources */,
|
||||
0DC850E726B73A5900809E82 /* AuthenticationReason.swift in Sources */,
|
||||
@ -1322,6 +1269,7 @@
|
||||
2C264BDC27B5AC5400234393 /* EthereumResponseToExtension.swift in Sources */,
|
||||
2C03D1D5269B428C00EF10EA /* Notification.swift in Sources */,
|
||||
2C1995562674D0F300A8E370 /* Ethereum.swift in Sources */,
|
||||
2C8944CE2AEC34EB006A711F /* Blockies.swift in Sources */,
|
||||
2C8A09DF267579EA00993638 /* AccountsListViewController.swift in Sources */,
|
||||
2C917429267D2A6E00049075 /* Keychain.swift in Sources */,
|
||||
);
|
||||
@ -1350,6 +1298,7 @@
|
||||
2CF2559D275A479800AE54B9 /* TokenaryWallet.swift in Sources */,
|
||||
2CC8C5B4276A96760083FB1B /* Haptic.swift in Sources */,
|
||||
2CF255AB275A48CF00AE54B9 /* Ethereum.swift in Sources */,
|
||||
2C8944CF2AEC34EB006A711F /* Blockies.swift in Sources */,
|
||||
2CC8C5A22767D3B30083FB1B /* GasPriceSliderTableViewCell.swift in Sources */,
|
||||
2C8944C62AEAFF97006A711F /* UInt.swift in Sources */,
|
||||
2CC6EF0D275E64810040CC62 /* UIViewController.swift in Sources */,
|
||||
@ -1376,7 +1325,7 @@
|
||||
2CF255AD275A48CF00AE54B9 /* EthereumNetwork.swift in Sources */,
|
||||
2CF2559C275A477F00AE54B9 /* ApprovalSubject.swift in Sources */,
|
||||
2C09FC672828331D00DE9C27 /* Image.swift in Sources */,
|
||||
2C264BD627B5806200234393 /* Web3Provider.swift in Sources */,
|
||||
2C264BD627B5806200234393 /* InpageProvider.swift in Sources */,
|
||||
2CE0594427640EB40042D844 /* ExtensionBridge.swift in Sources */,
|
||||
2CF255B1275A4A1800AE54B9 /* ResponseToExtension.swift in Sources */,
|
||||
2C09FC602828078C00DE9C27 /* AccountsHeaderView.swift in Sources */,
|
||||
@ -1400,14 +1349,6 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
2C5FF98526C8567D00B32ACC /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
2C5FF98E26C8567D00B32ACC /* Tokenary_ScreensaverView.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
2CCEB82927594E2A00768473 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
@ -1415,7 +1356,7 @@
|
||||
2CDD86FB2AE3296700F33F95 /* Secrets.swift in Sources */,
|
||||
2CE0594627640F470042D844 /* UserDefaults.swift in Sources */,
|
||||
2C264BD327B2F30C00234393 /* UnknownSafariRequest.swift in Sources */,
|
||||
2C264BD827B5806200234393 /* Web3Provider.swift in Sources */,
|
||||
2C264BD827B5806200234393 /* InpageProvider.swift in Sources */,
|
||||
2C8ED8D72AEA7DB300818D74 /* String.swift in Sources */,
|
||||
2C90E61E27B2C5C100C8991E /* InternalSafariRequest.swift in Sources */,
|
||||
2C2AA1D828AFB1AD00E35DBF /* MultipleResponseToExtension.swift in Sources */,
|
||||
@ -1770,40 +1711,6 @@
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
2C5FF99126C8567D00B32ACC /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 57;
|
||||
DEVELOPMENT_TEAM = XWNXDSM6BU;
|
||||
INFOPLIST_FILE = Screensaver/Info.plist;
|
||||
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
|
||||
MACOSX_DEPLOYMENT_TARGET = 11.4;
|
||||
MARKETING_VERSION = 2.0.14;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = mac.tokenary.io.Screensaver;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = saver;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
2C5FF99226C8567D00B32ACC /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 57;
|
||||
DEVELOPMENT_TEAM = XWNXDSM6BU;
|
||||
INFOPLIST_FILE = Screensaver/Info.plist;
|
||||
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
|
||||
MACOSX_DEPLOYMENT_TARGET = 11.4;
|
||||
MARKETING_VERSION = 2.0.14;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = mac.tokenary.io.Screensaver;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = saver;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
2CCEB84727594E2A00768473 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
@ -1912,15 +1819,6 @@
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
2C5FF99026C8567D00B32ACC /* Build configuration list for PBXNativeTarget "Screensaver" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
2C5FF99126C8567D00B32ACC /* Debug */,
|
||||
2C5FF99226C8567D00B32ACC /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
2CCEB84927594E2A00768473 /* Build configuration list for PBXNativeTarget "Safari iOS" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
|
Loading…
Reference in New Issue
Block a user