From 0079dfb695b1b158e6aaf286412fd5db86a7f98d Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 18 May 2020 22:37:03 +0300 Subject: [PATCH] interop: add some top-level doc.go --- pkg/interop/doc.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pkg/interop/doc.go diff --git a/pkg/interop/doc.go b/pkg/interop/doc.go new file mode 100644 index 000000000..56ddc3081 --- /dev/null +++ b/pkg/interop/doc.go @@ -0,0 +1,14 @@ +/* +Package interop contains smart contract API functions. +Its subpackages can be imported into smart contracts written in Go to provide +various functionality. Upon compilation, functions from these packages will +be substituted with appropriate NeoVM system calls implemented by Neo. Usually +these system calls have additional price in NeoVM, so they're explicitly written +in the documentation of respective functions. + +Note that unless written otherwise structures defined in this packages can't be +correctly created by new() or composite literals, they should be received from +some interop functions (and then used as parameters for some other interop +functions). +*/ +package interop