mirror of
https://gitee.com/BDWare/contract-java-example.git
synced 2026-02-14 16:49:30 +00:00
update readme.md
This commit is contained in:
12
backend/yjs/main.yjs
Normal file
12
backend/yjs/main.yjs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
oracle ContractExample {
|
||||
function onCreate(){
|
||||
Global.owner = requester;
|
||||
}
|
||||
export function callHello(arg){
|
||||
return Hello.call()+requester;
|
||||
}
|
||||
export function getOwner(){
|
||||
return Global.owner;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user