mirror of
https://gitee.com/BDWare/contract-java-example.git
synced 2026-01-10 07:29: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;
|
||||
}
|
||||
}
|
||||
9
backend/yjs/manifest.json
Normal file
9
backend/yjs/manifest.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"main": "main.yjs",
|
||||
"memory": "kill,init",
|
||||
"doi": "Contract_1172400934",
|
||||
"insnLimit": 0,
|
||||
"buildTime": 1635385270646,
|
||||
"builder": "ContractEngine",
|
||||
"startAtUnpack": true
|
||||
}
|
||||
Reference in New Issue
Block a user