Smart Contract
Introduction to Zetrix Smart Contract
Overview
"use strict";
function init(input)
{
/*init whatever you want*/
return;
}
function main(input)
{
let para = JSON.parse(input);
if (para.do_foo)
{
let x = {
'hello' : 'world'
};
}
}
function query(input)
{
return input;
}Objects in the Interfaces
Method Usage
Read and Write Privileges
Return Value
Last updated