Skip to content

Commit 15fb914

Browse files
committed
class renamed
1 parent 78a11cc commit 15fb914

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

web3swift.xcodeproj/project.pbxproj

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
0073F22620D949F7000791F1 /* BlockExporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0073F22520D949F7000791F1 /* BlockExporter.swift */; };
11-
0073F22820D94A11000791F1 /* BlockExporter+GetTransactionHistory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0073F22720D94A11000791F1 /* BlockExporter+GetTransactionHistory.swift */; };
10+
0073F22620D949F7000791F1 /* BlockExplorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0073F22520D949F7000791F1 /* BlockExplorer.swift */; };
11+
0073F22820D94A11000791F1 /* BlockExplorer+GetTransactionHistory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0073F22720D94A11000791F1 /* BlockExplorer+GetTransactionHistory.swift */; };
1212
13AE5971A972F5B55FA6FB69 /* libPods-web3swift-iOS_Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8349531F1984454E50389370 /* libPods-web3swift-iOS_Tests.a */; };
1313
1CD91B321FD769A6007BFB45 /* web3swiftTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CD91B311FD769A6007BFB45 /* web3swiftTests.swift */; };
1414
1CD91B341FD769A6007BFB45 /* web3swift_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CD91AFC1FD76910007BFB45 /* web3swift_iOS.framework */; };
@@ -115,7 +115,6 @@
115115
818D16D0204D42940084D2A4 /* Web3+EventParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = 818D16CE204D42910084D2A4 /* Web3+EventParser.swift */; };
116116
818D810E1FDC1A2000663CE3 /* RLP.swift in Sources */ = {isa = PBXBuildFile; fileRef = 818D810D1FDC1A2000663CE3 /* RLP.swift */; };
117117
818EABDA1FDC9A5C00E013FC /* Contract.swift in Sources */ = {isa = PBXBuildFile; fileRef = 818EABD91FDC9A5C00E013FC /* Contract.swift */; };
118-
81A0FA0320BFEF2B00417C64 /* key.json in Resources */ = {isa = PBXBuildFile; fileRef = 81A0FA0220BFEF2700417C64 /* key.json */; };
119118
81A1821520D5A2700016741F /* Promise+Web3+Eth+GetBalance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81A1821420D5A2700016741F /* Promise+Web3+Eth+GetBalance.swift */; };
120119
81A1821620D5A2700016741F /* Promise+Web3+Eth+GetBalance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81A1821420D5A2700016741F /* Promise+Web3+Eth+GetBalance.swift */; };
121120
81A1821A20D5A6F70016741F /* Promise+HttpProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81A1821720D5A3E70016741F /* Promise+HttpProvider.swift */; };
@@ -229,8 +228,8 @@
229228
/* End PBXContainerItemProxy section */
230229

231230
/* Begin PBXFileReference section */
232-
0073F22520D949F7000791F1 /* BlockExporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlockExporter.swift; sourceTree = "<group>"; };
233-
0073F22720D94A11000791F1 /* BlockExporter+GetTransactionHistory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BlockExporter+GetTransactionHistory.swift"; sourceTree = "<group>"; };
231+
0073F22520D949F7000791F1 /* BlockExplorer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlockExplorer.swift; sourceTree = "<group>"; };
232+
0073F22720D94A11000791F1 /* BlockExplorer+GetTransactionHistory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BlockExplorer+GetTransactionHistory.swift"; sourceTree = "<group>"; };
234233
08BD06D432296DA533D07D20 /* Pods_Web3Swift_ios.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Web3Swift_ios.framework; sourceTree = BUILT_PRODUCTS_DIR; };
235234
0F133EC83594B17BA8C71784 /* Pods_web3swift_ios_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_web3swift_ios_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
236235
10C02100CDF7C2D5C79A52B9 /* Pods_web3Swift_Demo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_web3Swift_Demo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -303,7 +302,6 @@
303302
818D16CE204D42910084D2A4 /* Web3+EventParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Web3+EventParser.swift"; sourceTree = "<group>"; };
304303
818D810D1FDC1A2000663CE3 /* RLP.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RLP.swift; sourceTree = "<group>"; };
305304
818EABD91FDC9A5C00E013FC /* Contract.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Contract.swift; sourceTree = "<group>"; };
306-
81A0FA0220BFEF2700417C64 /* key.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = key.json; sourceTree = "<group>"; };
307305
81A1821420D5A2700016741F /* Promise+Web3+Eth+GetBalance.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Promise+Web3+Eth+GetBalance.swift"; sourceTree = "<group>"; };
308306
81A1821720D5A3E70016741F /* Promise+HttpProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Promise+HttpProvider.swift"; sourceTree = "<group>"; };
309307
81A1821C20D5C6C10016741F /* web3swift_promises_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = web3swift_promises_Tests.swift; sourceTree = "<group>"; };
@@ -419,8 +417,8 @@
419417
0073F22420D949E8000791F1 /* Classes */ = {
420418
isa = PBXGroup;
421419
children = (
422-
0073F22520D949F7000791F1 /* BlockExporter.swift */,
423-
0073F22720D94A11000791F1 /* BlockExporter+GetTransactionHistory.swift */,
420+
0073F22520D949F7000791F1 /* BlockExplorer.swift */,
421+
0073F22720D94A11000791F1 /* BlockExplorer+GetTransactionHistory.swift */,
424422
);
425423
path = Classes;
426424
sourceTree = "<group>";
@@ -474,7 +472,6 @@
474472
isa = PBXGroup;
475473
children = (
476474
81A1821C20D5C6C10016741F /* web3swift_promises_Tests.swift */,
477-
81A0FA0220BFEF2700417C64 /* key.json */,
478475
1CD91B311FD769A6007BFB45 /* web3swiftTests.swift */,
479476
4EFFCB6F208554EB008165FE /* web3swift_remote_Tests.swift */,
480477
4EFFCB6D208552F2008165FE /* web3swift_local_node_Tests.swift */,
@@ -966,7 +963,6 @@
966963
isa = PBXResourcesBuildPhase;
967964
buildActionMask = 2147483647;
968965
files = (
969-
81A0FA0320BFEF2B00417C64 /* key.json in Resources */,
970966
);
971967
runOnlyForDeploymentPostprocessing = 0;
972968
};
@@ -1157,8 +1153,8 @@
11571153
8113D2CE1FD7E1590074282C /* EthereumTransaction.swift in Sources */,
11581154
81A1821F20D676BC0016741F /* Promise+Web3+Eth+GetTransactionCount.swift in Sources */,
11591155
81A1821520D5A2700016741F /* Promise+Web3+Eth+GetBalance.swift in Sources */,
1160-
0073F22820D94A11000791F1 /* BlockExporter+GetTransactionHistory.swift in Sources */,
1161-
0073F22620D949F7000791F1 /* BlockExporter.swift in Sources */,
1156+
0073F22820D94A11000791F1 /* BlockExplorer+GetTransactionHistory.swift in Sources */,
1157+
0073F22620D949F7000791F1 /* BlockExplorer.swift in Sources */,
11621158
81C0FD012044A89300D82FAF /* Web3+TransactionIntermediate.swift in Sources */,
11631159
8103BBC02076800500499769 /* Web3+EthOperations.swift in Sources */,
11641160
81A1823C20D79C270016741F /* Promise+Web3+Eth+Call.swift in Sources */,

web3swift/BlockExporter/Classes/BlockExporter+GetTransactionHistory.swift renamed to web3swift/BlockExporter/Classes/BlockExplorer+GetTransactionHistory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Foundation
1010
import PromiseKit
1111
import BigInt
1212

13-
extension BlockExporter {
13+
extension BlockExplorer {
1414
public func getTransactionHistory(address: EthereumAddress, tokenName name: String = "Ether", page: Int = 1, size: Int = 50) -> Promise<[TransactionHistorical]> {
1515
let address = address.address
1616
return getTransactionsHistory(address: address, tokenName: name, page: page, size: size)

web3swift/BlockExporter/Classes/BlockExporter.swift renamed to web3swift/BlockExporter/Classes/BlockExplorer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
import Foundation
1010

11-
public class BlockExporter {
11+
public class BlockExplorer {
1212
public var urlStringList = "https://scan.bankex.com/api/list"
1313
}

0 commit comments

Comments
 (0)