mirror of
https://github.com/fluencelabs/aqua-lib
synced 2025-04-25 07:52:14 +00:00
Add ops: noop, array, concat; change identity signature (#4)
This commit is contained in:
parent
580cb7f596
commit
9207b76aeb
@ -61,7 +61,14 @@ data Contact:
|
|||||||
addresses: []string
|
addresses: []string
|
||||||
|
|
||||||
service Op("op"):
|
service Op("op"):
|
||||||
identity()
|
-- does nothing
|
||||||
|
noop()
|
||||||
|
-- takes any number of arguments and wraps them into a single array
|
||||||
|
array(a: string, b: string, c: string) -> []string
|
||||||
|
-- takes any number of arrays and flattens them by concatenating
|
||||||
|
concat(a: []string, b: []string, c: []string) -> []string
|
||||||
|
-- takes a single argument and returns it back
|
||||||
|
identity(s: ?string) -> ?string
|
||||||
string_to_b58(s: string) -> string
|
string_to_b58(s: string) -> string
|
||||||
string_from_b58(b: string) -> string
|
string_from_b58(b: string) -> string
|
||||||
bytes_to_b58(bs: []u8) -> string
|
bytes_to_b58(bs: []u8) -> string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user