update readme.md

This commit is contained in:
CaiHQ
2021-11-17 11:28:40 +08:00
parent 740d9a5aff
commit e28d52aba0
15 changed files with 520 additions and 60 deletions

12
backend/yjs/main.yjs Normal file
View 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;
}
}

View File

@@ -0,0 +1,9 @@
{
"main": "main.yjs",
"memory": "kill,init",
"doi": "Contract_1172400934",
"insnLimit": 0,
"buildTime": 1635385270646,
"builder": "ContractEngine",
"startAtUnpack": true
}