[问题] 请问这是用java语言写的程式码吗?

楼主: qw5526259 (缤纷乐)   2018-08-01 13:49:58
请问这是用java语言写的程式码吗?
class hello : public eosio::contract {
public:
using contract::contract;
/// @abi action
void hi( account_name from, account_name to) {
require_auth(from);
print( “Hello, from:”, name{from}, “, to:”, name{to});
action(
//这里{to, active}必须授权给{_self, eosio.code}
permission_level{to, N(active)},
//呼叫 hello.target合约 的’callme’ action
N(hello.target), N(callme),
std::make_tuple(to)
).send();
}
};
作者: ssccg (23)   2018-08-01 14:00:00
C++
楼主: qw5526259 (缤纷乐)   2018-08-01 14:12:00
谢谢!

Links booklink

Contact Us: admin [ a t ] ucptt.com