4namespace sysio {
namespace chain {
namespace webassembly {
6 context.require_authorization( account );
10 return context.has_authorization( account );
15 context.require_authorization( account, permission );
19 context.require_recipient( recipient );
23 return context.is_account( account );
39 struct_version = std::min(
uint32_t(0), struct_version);
41 context.get_code_hash(account, result.code_sequence, result.code_hash, result.vm_type, result.vm_version);
44 if (
s <= packed_result.
size()) {
bool is_account(account_name account) const
void require_auth(account_name account) const
void require_auth2(account_name account, permission_name permission) const
uint32_t get_code_hash(account_name account, uint32_t struct_version, vm::span< char > packed_result) const
bool has_auth(account_name account) const
void require_recipient(account_name recipient)
constexpr std::size_t size() const noexcept
constexpr T * data() const noexcept
void pack(Stream &s, const std::deque< T > &value)
size_t pack_size(const T &v)
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
unsigned __int64 uint64_t
Immutable except for fc::from_variant.
unsigned_int struct_version