Skip to content

Commit a0fc7cc

Browse files
dmcrodriguesDarthMike
authored andcommitted
Expose raw initialiser on ABITupleDecodable to allow custom parsing
1 parent 826b093 commit a0fc7cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web3swift/src/Contract/Statically Typed/ABITuple.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Foundation
88
/// A Tuple is a set of sequential types encoded together
99
public protocol ABITupleDecodable {
1010
static var types: [ABIType.Type] { get }
11+
init?(data: String) throws
1112
init?(values: [ABIDecoder.DecodedValue]) throws
1213
}
1314

0 commit comments

Comments
 (0)