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

14 lines
234 B
Plaintext

contract CounterExample {
function onCreate() {
Global.count = 0;
}
export function click(ignored) {
Global.count++;
return Global.count;
}
export function getCount(ignored) {
return Global.count;
}
}