aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-doc')
-rw-r--r--packages/sol-doc/src/solidity_doc_generator.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/sol-doc/src/solidity_doc_generator.ts b/packages/sol-doc/src/solidity_doc_generator.ts
index b2b5daff3..0df4a4af1 100644
--- a/packages/sol-doc/src/solidity_doc_generator.ts
+++ b/packages/sol-doc/src/solidity_doc_generator.ts
@@ -8,6 +8,7 @@ import {
DataItem,
DevdocOutput,
EventAbi,
+ EventParameter,
FallbackAbi,
MethodAbi,
StandardContractOutput,
@@ -215,7 +216,7 @@ function _genEventDoc(abiDefinition: EventAbi): Event {
return eventDoc;
}
-function _genEventArgsDoc(args: DataItem[], devdocIfExists: DevdocOutput | undefined): EventArg[] {
+function _genEventArgsDoc(args: EventParameter[], devdocIfExists: DevdocOutput | undefined): EventArg[] {
const eventArgsDoc: EventArg[] = [];
for (const arg of args) {
@@ -227,7 +228,7 @@ function _genEventArgsDoc(args: DataItem[], devdocIfExists: DevdocOutput | undef
};
const eventArgDoc: EventArg = {
- isIndexed: false, // TODO: wtf is this?
+ isIndexed: arg.indexed,
name,
type,
};