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 10cbb32 commit 7b27523Copy full SHA for 7b27523
abi-parser/src/main/java/com/openelements/hiero/smartcontract/abi/model/AbiEvent.java
@@ -19,7 +19,16 @@ public AbiEntryType type() {
19
return AbiEntryType.EVENT;
20
}
21
22
- @NonNull
+ public List<AbiParameter> getIndexedInputParameters() {
23
+ return inputs.stream().filter(AbiParameter::indexed).toList();
24
+ }
25
+
26
+ public List<AbiParameter> getNonIndexedInputParameters() {
27
+ return inputs.stream().filter(parameter -> !parameter.indexed()).toList();
28
29
30
31
+ @NonNull
32
public String createEventSignature() {
33
final List<String> canonicalParameterTypes = inputs.stream().map(AbiParameter::getCanonicalType).toList();
34
return name + "(" + String.join(",", canonicalParameterTypes) + ")";
0 commit comments