Başvuru
Bu sayfa İngilizce gösteriliyor.
modules
Module scripts: typed functions one script exports and other scripts of the same owner call.
Declarations from the script contract strawberry:plugin, version 0.2.0, without source comments.
WIT declarations
enum module-error {
not-found,
reloading,
not-declared,
not-same-owner,
not-exported,
nested,
timed-out,
failed,
}
record module-function {
name: string,
arguments: string,
returns: string,
}
call: func(module: string, function: string, arguments: list<u8>) -> result<list<u8>, module-error>;