aqua-playground/aqua/examples/fldist-sample.aqua

12 lines
356 B
Plaintext

import "@fluencelabs/aqua-lib/builtin.aqua"
-- this service is used by fldist to print something into console
service Return("returnService"):
-- fldist service can accept any number of arguments of any type. Feel free to update accordingly
run: Info -> ()
func test(node: string):
on node:
res <- Peer.identify()
Return.run(res)