aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen-templates/partials/return_type.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'packages/abi-gen-templates/partials/return_type.mustache')
-rw-r--r--packages/abi-gen-templates/partials/return_type.mustache6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/abi-gen-templates/partials/return_type.mustache b/packages/abi-gen-templates/partials/return_type.mustache
new file mode 100644
index 000000000..383961a40
--- /dev/null
+++ b/packages/abi-gen-templates/partials/return_type.mustache
@@ -0,0 +1,6 @@
+{{#singleReturnValue}}
+{{#returnType outputs.0.type}}{{/returnType}}
+{{/singleReturnValue}}
+{{^singleReturnValue}}
+[{{#each outputs}}{{#returnType type}}{{/returnType}}{{#unless @last}}, {{/unless}}{{/each}}]
+{{/singleReturnValue}}