agent-backend/contracts/RenderSample/RenderSample.yjs
2021-09-26 12:49:24 +08:00

7 lines
245 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import "module/loadResource.yjs";
@Description("这是最简单的带UI的合约需要实现module/loadResource.yjs中的三个方法")
contract RenderSample {
export function query(arg) {
return "dataFrom Contract, " + requester;
}
}