Skip to content

Commit 85a53c9

Browse files
Artur TkachenkoJeneaVranceanu
authored andcommitted
Make value as any object in eip681 parameters
1 parent b8d54f6 commit 85a53c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/web3swift/Utils/EIP/EIP681.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ extension Web3 {
2525
public struct EIP681Parameter {
2626
public var type: ABI.Element.ParameterType
2727
public var value: AnyObject
28+
<<<<<<< HEAD
29+
=======
30+
31+
public init(type: ABI.Element.ParameterType, value: Any) {
32+
self.type = type
33+
self.value = value
34+
}
35+
>>>>>>> c159f067... Make value as any object in eip681 parameters
2836
}
2937
public var isPayRequest: Bool
3038
public var targetAddress: TargetAddress

0 commit comments

Comments
 (0)