You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Core/EthereumABI/ABIEncoding.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ public struct ABIEncoder {
132
132
/// Overloading to support `ABI.Element.InOut` as the type of the `types` array.
133
133
/// Identical to use of `web3.eth.abi.encodeParameters` in web3.js.
134
134
/// - Parameters:
135
-
/// - types: an array of values' ABI types. Must be declared in the same order as entries in `values` or encoding will fail;
135
+
/// - types: an array of values' Solidity types. Must be declared in the same order as entries in `values` or encoding will fail;
136
136
/// - values: an array of values to encode. Must be declared in the same order as entries in `types` or encoding will fail;
137
137
/// - Returns: ABI encoded data, e.g. function call parameters. Returns `nil` if:
138
138
/// - `types.count != values.count`;
@@ -148,7 +148,7 @@ public struct ABIEncoder {
148
148
/// Performs ABI encoding conforming to [the documentation of encoding](https://docs.soliditylang.org/en/develop/abi-spec.html#basic-design) in Solidity.
149
149
/// Identical to use of `web3.eth.abi.encodeParameters` in web3.js.
150
150
/// - Parameters:
151
-
/// - types: an array of values' ABI types. Must be declared in the same order as entries in `values` or encoding will fail;
151
+
/// - types: an array of values' Solidity types. Must be declared in the same order as entries in `values` or encoding will fail;
152
152
/// - values: an array of values to encode. Must be declared in the same order as entries in `types` or encoding will fail;
153
153
/// - Returns: ABI encoded data, e.g. function call parameters. Returns `nil` if:
0 commit comments