File tree Expand file tree Collapse file tree
packages/templates/app/ios/Template Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments