[問題] 請問這是用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