web3.eth.compile.lll
调用web3.eth.compile.lll()
方法来编译LLL合约源代码。
调用方法:
web3. eth.compile.lll(sourceString [, callback])
参数:
sourceString
:String ,LLL源代码callback
:Function,可选的回调函数,当指定此参数时将采用异步HTTP请求节点旳API。
返回值
String
- LLL代码的编译结果,16进制字符串
示例代码:
var source = "...";
var code = web3.eth.compile.lll(source);
console.log(code); // "0x603880600c6000396000f3006001600060e060020a600035048063c6888fa114601857005b6021600435602b565b80600