We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1c62f commit 3d7caf7Copy full SHA for 3d7caf7
Sources/web3swift/Contract/ContractProtocol.swift
@@ -58,9 +58,8 @@ public struct EventFilter {
58
}
59
60
61
- public init() { }
62
-
63
- public init(fromBlock: Block?, toBlock: Block?,
+ public init(fromBlock: Block? = nil,
+ toBlock: Block? = nil,
64
addresses: [EthereumAddress]? = nil,
65
parameterFilters: [[EventFilterable]?]? = nil) {
66
self.fromBlock = fromBlock
0 commit comments