Skip to content

Commit 2e774b8

Browse files
committed
using "Ethers" instead of "Ethereum"
1 parent 6cf00b5 commit 2e774b8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

packages/templates/app/ios/Template/PolywrapDemo.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ func polywrapDemo() {
88
let logArgs = LoggingArgsLog(level: .INFO, message: "Hello there")
99
try? logger.log(args: logArgs)
1010

11-
// Ethereum.encodeParams
12-
print("Invoking: Ethereum.encodeParams(...)")
11+
// Ethers.encodeParams
12+
print("Invoking: Ethers.encodeParams(...)")
1313

14-
let eth = Ethereum()
15-
let encodeArgs = EthereumArgsEncodeParams(
14+
let eth = Ethers()
15+
let encodeArgs = EthersArgsEncodeParams(
1616
types: ["address", "uint256"],
1717
values: ["0xB1B7586656116D546033e3bAFF69BFcD6592225E", "500"]
1818
)
1919
do {
2020
let encoded = try eth.encodeParams(args: encodeArgs)
21-
print("Ethereum.encodeParams:\n\(encoded)")
21+
print("Ethers.encodeParams:\n\(encoded)")
2222
} catch {
23-
let logArgs = LoggingArgsLog(level: .ERROR, message: "Error - Ethereum.encodeParams: \(error)")
23+
let logArgs = LoggingArgsLog(level: .ERROR, message: "Error - Ethers.encodeParams: \(error)")
2424
try? logger.log(args: logArgs)
2525
return
2626
}

0 commit comments

Comments
 (0)