Skip to content

Commit e2bc4c6

Browse files
fix: updated module name from Core to Web3Core
1 parent 57fb16b commit e2bc4c6

File tree

170 files changed

+99
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+99
-99
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ let package = Package(
1818
targets: [
1919
.target(name: "secp256k1"),
2020
.target(
21-
name: "Core",
21+
name: "Web3Core",
2222
dependencies: ["BigInt", "secp256k1", "CryptoSwift"]
2323
),
2424
.target(
2525
name: "web3swift",
26-
dependencies: ["Core", "BigInt", "secp256k1"],
26+
dependencies: ["Web3Core", "BigInt", "secp256k1"],
2727
resources: [
2828
.copy("./Browser/browser.js"),
2929
.copy("./Browser/browser.min.js"),

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.

Sources/Core/EthereumABI/ABIElements.swift renamed to Sources/Web3Core/EthereumABI/ABIElements.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ extension ABI.Element {
261261

262262
extension ABI.Element.Function {
263263
public func decodeInputData(_ rawData: Data) -> [String: Any]? {
264-
return Core.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
264+
return Web3Core.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
265265
}
266266

267267
public func decodeReturnData(_ data: Data) -> [String: Any]? {
@@ -336,7 +336,7 @@ extension ABI.Element.Function {
336336

337337
extension ABI.Element.Constructor {
338338
public func decodeInputData(_ rawData: Data) -> [String: Any]? {
339-
return Core.decodeInputData(rawData, inputs: inputs)
339+
return Web3Core.decodeInputData(rawData, inputs: inputs)
340340
}
341341
}
342342

0 commit comments

Comments
 (0)