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: doc-site/docs/reference/types/_includes/contractlistener_description.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ In these examples, the event schema in the FireFly Interface format is provided
188
188
189
189
### With Interface Reference
190
190
191
-
These examples use an `interface` reference when creating the filters, the `eventPath` field is used to reference an event defined within the interface provided. See an example of creating a [FireFly Interface](../../tutorials/custom_contracts/ethereum.md/#the-firefly-interface-format) for an EVM smart contract.
191
+
These examples use an `interface` reference when creating the filters, the `eventPath` field is used to reference an event defined within the interface provided. In this case, we do not need to provide the event schema as the section above shows. See an example of creating a [FireFly Interface](../../tutorials/custom_contracts/ethereum.md/#the-firefly-interface-format) for an EVM smart contract.
|`event`| The definition of the event, either provided in-line when creating the listener, or extracted from the referenced FFI |[`FFISerializedEvent`](#ffiserializedevent)|
124
+
|`event`| The definition of the event, either provided in-line when creating the listener, or extracted from the referenced FFI when supplied |[`FFISerializedEvent`](#ffiserializedevent)|
125
125
|`location`| A blockchain specific contract identifier. For example an Ethereum contract address, or a Fabric chaincode name and channel |[`JSONAny`](simpletypes.md#jsonany)|
126
-
|`interface`| A reference to an existing FFI, containing pre-registered type information for the event |[`FFIReference`](#ffireference)|
126
+
|`interface`| A reference to an existing FFI, containing pre-registered type information for the event, used in combination with eventPath|[`FFIReference`](#ffireference)|
127
127
|`signature`| The stringified signature of the event and location, as computed by the blockchain plugin |`string`|
Copy file name to clipboardExpand all lines: internal/coremsgs/en_struct_descriptions.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -319,8 +319,8 @@ var (
319
319
// ContractListenerOptions field descriptions
320
320
ContractListenerOptionsFirstEvent=ffm("ContractListenerOptions.firstEvent", "A blockchain specific string, such as a block number, to start listening from. The special strings 'oldest' and 'newest' are supported by all blockchain connectors. Default is 'newest'")
321
321
322
-
ListenerFilterInterface=ffm("ListenerFilter.interface", "A reference to an existing FFI, containing pre-registered type information for the event")
323
-
ListenerFilterEvent=ffm("ListenerFilter.event", "The definition of the event, either provided in-line when creating the listener, or extracted from the referenced FFI")
322
+
ListenerFilterInterface=ffm("ListenerFilter.interface", "A reference to an existing FFI, containing pre-registered type information for the event, used in combination with eventPath")
323
+
ListenerFilterEvent=ffm("ListenerFilter.event", "The definition of the event, either provided in-line when creating the listener, or extracted from the referenced FFI when supplied")
324
324
ListenerFilterEventPath=ffm("ListenerFilter.eventPath", "When creating a listener from an existing FFI, this is the pathname of the event on that FFI to be detected by this listener")
325
325
ListenerFilterLocation=ffm("ListenerFilter.location", "A blockchain specific contract identifier. For example an Ethereum contract address, or a Fabric chaincode name and channel")
326
326
ListenerFilterSignature=ffm("ListenerFilter.signature", "The stringified signature of the event and location, as computed by the blockchain plugin")
0 commit comments