Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::webassembly Namespace Reference

Namespaces

namespace  detail
 
namespace  eos_vm_runtime
 
namespace  eosvmoc
 

Classes

struct  get_code_hash_result
 
struct  host_function_registrator
 
class  interface
 
struct  remove_argument_proxy
 
struct  remove_argument_proxy< vm::argument_proxy< T *, A > >
 

Enumerations

enum  return_code : int32_t { failure = -1 , success = 0 }
 

Functions

 SYS_VM_PRECONDITION (context_free_check, SYS_VM_INVOKE_ONCE([&](auto &&...) { SYS_ASSERT(ctx.get_host().get_context().is_context_free(), unaccessible_api, "this API may only be called from context_free apply");}))
 
 SYS_VM_PRECONDITION (context_aware_check, SYS_VM_INVOKE_ONCE([&](auto &&...) { SYS_ASSERT(!ctx.get_host().get_context().is_context_free(), unaccessible_api, "only context free api's can be used in this context");}))
 
 SYS_VM_PRECONDITION (privileged_check, SYS_VM_INVOKE_ONCE([&](auto &&...) { SYS_ASSERT(ctx.get_host().get_context().is_privileged(), unaccessible_api, "${code} does not have permission to call this API",("code", ctx.get_host().get_context().get_receiver()));}))
 
 SYS_VM_PRECONDITION (core_precondition, SYS_VM_INVOKE_ON_ALL(([&](auto &&arg, auto &&... rest) { using namespace sysio::vm;using arg_t=std::decay_t< decltype(arg)>;static_assert(is_whitelisted_type_v< arg_t >, "whitelisted type violation");if constexpr(is_span_type_v< arg_t >||vm::is_argument_proxy_type_v< arg_t >) { sysio::vm::invoke_on< false, sysio::vm::invoke_on_all_t >([&arg](auto &&narg, auto &&... nrest) { using nested_arg_t=std::decay_t< decltype(narg)>;if constexpr(sysio::vm::is_span_type_v< nested_arg_t >||vm::is_argument_proxy_type_v< nested_arg_t >) SYS_ASSERT(!is_aliasing(detail::to_span(arg), detail::to_span(narg)), wasm_exception, "pointers not allowed to alias");}, rest...);} })))
 
 SYS_VM_PRECONDITION (is_nan_check, SYS_VM_INVOKE_ON_ALL([&](auto &&arg, auto &&... rest) { if constexpr(should_check_nan_v< std::remove_cv_t< typename remove_argument_proxy< std::decay_t< decltype(arg)> >::type > >) { SYS_ASSERT(!webassembly::is_nan(*arg), transaction_exception, "NaN is not an allowed value for a secondary key");} }))
 
 SYS_VM_PRECONDITION (legacy_static_check_wl_args, SYS_VM_INVOKE_ONCE([&](auto &&... args) { static_assert(are_whitelisted_legacy_types_v< std::decay_t< decltype(args)>... >, "legacy whitelisted type violation");}))
 
void unpack_provided_keys (flat_set< public_key_type > &keys, const char *pubkeys_data, uint32_t pubkeys_size)
 
void unpack_provided_permissions (flat_set< permission_level > &permissions, const char *perms_data, uint32_t perms_size)
 
int64_t set_proposed_producers_common (apply_context &context, vector< producer_authority > &&producers, bool validate_keys)
 
 REGISTER_HOST_FUNCTION (is_feature_active, privileged_check)
 
 REGISTER_HOST_FUNCTION (activate_feature, privileged_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (preactivate_feature, privileged_check)
 
 REGISTER_HOST_FUNCTION (set_resource_limits, privileged_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (get_resource_limits, privileged_check)
 
 REGISTER_HOST_FUNCTION (get_parameters_packed, privileged_check)
 
 REGISTER_HOST_FUNCTION (set_parameters_packed, privileged_check)
 
 REGISTER_HOST_FUNCTION (get_wasm_parameters_packed, privileged_check)
 
 REGISTER_HOST_FUNCTION (set_wasm_parameters_packed, privileged_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (set_proposed_producers, privileged_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (set_proposed_producers_ex, privileged_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (get_blockchain_parameters_packed, privileged_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (set_blockchain_parameters_packed, privileged_check)
 
 REGISTER_HOST_FUNCTION (is_privileged, privileged_check)
 
 REGISTER_HOST_FUNCTION (set_privileged, privileged_check)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_add)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_sub)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_div)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_mul)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_min)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_max)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_copysign)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_abs)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_neg)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_sqrt)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_ceil)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_floor)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_nearest)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_eq)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_ne)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_lt)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_le)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_gt)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_ge)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_add)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_sub)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_div)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_mul)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_min)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_max)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_copysign)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_abs)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_neg)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_sqrt)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_ceil)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_floor)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_nearest)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_eq)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_ne)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_lt)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_le)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_gt)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_ge)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_promote)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_demote)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i32s)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i32s)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i32u)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i32u)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i64s)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i64s)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i64u)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i64u)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_i32_to_f32)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_i64_to_f32)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui32_to_f32)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui64_to_f32)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_i32_to_f64)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_i64_to_f64)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui32_to_f64)
 
 REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui64_to_f64)
 
 REGISTER_LEGACY_HOST_FUNCTION (get_active_producers)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (assert_recover_key)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (recover_key)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (assert_sha256)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (assert_sha1)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (assert_sha512)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (assert_ripemd160)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (sha256)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (sha1)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (sha512)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (ripemd160)
 
 REGISTER_LEGACY_HOST_FUNCTION (check_transaction_authorization)
 
 REGISTER_LEGACY_HOST_FUNCTION (check_permission_authorization)
 
 REGISTER_HOST_FUNCTION (get_permission_last_used)
 
 REGISTER_HOST_FUNCTION (get_account_creation_time)
 
 REGISTER_HOST_FUNCTION (require_auth)
 
 REGISTER_HOST_FUNCTION (require_auth2)
 
 REGISTER_HOST_FUNCTION (has_auth)
 
 REGISTER_HOST_FUNCTION (require_recipient)
 
 REGISTER_HOST_FUNCTION (is_account)
 
 REGISTER_HOST_FUNCTION (get_code_hash)
 
 REGISTER_HOST_FUNCTION (current_time)
 
 REGISTER_HOST_FUNCTION (publication_time)
 
 REGISTER_LEGACY_HOST_FUNCTION (is_feature_activated)
 
 REGISTER_HOST_FUNCTION (get_sender)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (read_action_data)
 
 REGISTER_CF_HOST_FUNCTION (action_data_size)
 
 REGISTER_CF_HOST_FUNCTION (current_receiver)
 
 REGISTER_HOST_FUNCTION (set_action_return_value)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (prints)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (prints_l)
 
 REGISTER_CF_HOST_FUNCTION (printi)
 
 REGISTER_CF_HOST_FUNCTION (printui)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (printi128)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (printui128)
 
 REGISTER_CF_HOST_FUNCTION (printsf)
 
 REGISTER_CF_HOST_FUNCTION (printdf)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (printqf)
 
 REGISTER_CF_HOST_FUNCTION (printn)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (printhex)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_store_i64)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_update_i64)
 
 REGISTER_HOST_FUNCTION (db_remove_i64)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_get_i64)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_next_i64)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_previous_i64)
 
 REGISTER_HOST_FUNCTION (db_find_i64)
 
 REGISTER_HOST_FUNCTION (db_lowerbound_i64)
 
 REGISTER_HOST_FUNCTION (db_upperbound_i64)
 
 REGISTER_HOST_FUNCTION (db_end_i64)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_store)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_update)
 
 REGISTER_HOST_FUNCTION (db_idx64_remove)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_find_secondary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_find_primary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_lowerbound)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_upperbound)
 
 REGISTER_HOST_FUNCTION (db_idx64_end)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_next)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx64_previous)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_store)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_update)
 
 REGISTER_HOST_FUNCTION (db_idx128_remove)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_find_secondary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_find_primary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_lowerbound)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_upperbound)
 
 REGISTER_HOST_FUNCTION (db_idx128_end)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_next)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx128_previous)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_store)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_update)
 
 REGISTER_HOST_FUNCTION (db_idx256_remove)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_find_secondary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_find_primary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_lowerbound)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_upperbound)
 
 REGISTER_HOST_FUNCTION (db_idx256_end)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_next)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx256_previous)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_store, is_nan_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_update, is_nan_check)
 
 REGISTER_HOST_FUNCTION (db_idx_double_remove)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_find_secondary, is_nan_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_find_primary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_lowerbound, is_nan_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_upperbound, is_nan_check)
 
 REGISTER_HOST_FUNCTION (db_idx_double_end)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_next)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_previous)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_store, is_nan_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_update, is_nan_check)
 
 REGISTER_HOST_FUNCTION (db_idx_long_double_remove)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_find_secondary, is_nan_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_find_primary)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_lowerbound, is_nan_check)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_upperbound, is_nan_check)
 
 REGISTER_HOST_FUNCTION (db_idx_long_double_end)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_next)
 
 REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_previous)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (memcpy)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (memmove)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (memcmp)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (memset)
 
 REGISTER_LEGACY_HOST_FUNCTION (send_inline)
 
 REGISTER_LEGACY_HOST_FUNCTION (send_context_free_inline)
 
 REGISTER_LEGACY_HOST_FUNCTION (send_deferred)
 
 REGISTER_LEGACY_HOST_FUNCTION (cancel_deferred)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (read_transaction)
 
 REGISTER_CF_HOST_FUNCTION (transaction_size)
 
 REGISTER_CF_HOST_FUNCTION (expiration)
 
 REGISTER_CF_HOST_FUNCTION (tapos_block_num)
 
 REGISTER_CF_HOST_FUNCTION (tapos_block_prefix)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (get_action)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__ashlti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__ashrti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__lshlti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__lshrti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__divti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__udivti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__multi3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__modti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__umodti3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__addtf3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__subtf3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__multf3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__divtf3)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__negtf2)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__extendsftf2)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__extenddftf2)
 
 REGISTER_CF_HOST_FUNCTION (__trunctfdf2)
 
 REGISTER_CF_HOST_FUNCTION (__trunctfsf2)
 
 REGISTER_CF_HOST_FUNCTION (__fixtfsi)
 
 REGISTER_CF_HOST_FUNCTION (__fixtfdi)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__fixtfti)
 
 REGISTER_CF_HOST_FUNCTION (__fixunstfsi)
 
 REGISTER_CF_HOST_FUNCTION (__fixunstfdi)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__fixunstfti)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__fixsfti)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__fixdfti)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__fixunssfti)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__fixunsdfti)
 
 REGISTER_CF_HOST_FUNCTION (__floatsidf)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__floatsitf)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__floatditf)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__floatunsitf)
 
 REGISTER_LEGACY_CF_HOST_FUNCTION (__floatunditf)
 
 REGISTER_CF_HOST_FUNCTION (__floattidf)
 
 REGISTER_CF_HOST_FUNCTION (__floatuntidf)
 
 REGISTER_CF_HOST_FUNCTION (__cmptf2)
 
 REGISTER_CF_HOST_FUNCTION (__eqtf2)
 
 REGISTER_CF_HOST_FUNCTION (__netf2)
 
 REGISTER_CF_HOST_FUNCTION (__getf2)
 
 REGISTER_CF_HOST_FUNCTION (__gttf2)
 
 REGISTER_CF_HOST_FUNCTION (__letf2)
 
 REGISTER_CF_HOST_FUNCTION (__lttf2)
 
 REGISTER_CF_HOST_FUNCTION (__unordtf2)
 
 REGISTER_CF_HOST_FUNCTION (get_block_num)
 
 REGISTER_CF_HOST_FUNCTION (alt_bn128_add)
 
 REGISTER_CF_HOST_FUNCTION (alt_bn128_mul)
 
 REGISTER_CF_HOST_FUNCTION (alt_bn128_pair)
 
 REGISTER_CF_HOST_FUNCTION (mod_exp)
 
 REGISTER_CF_HOST_FUNCTION (blake2_f)
 
 REGISTER_CF_HOST_FUNCTION (sha3)
 
 REGISTER_CF_HOST_FUNCTION (k1_recover)
 

Variables

template<typename T >
constexpr bool should_check_nan_v
 

Enumeration Type Documentation

◆ return_code

Enumerator
failure 
success 

Definition at line 6 of file return_codes.hpp.

6 : int32_t {
7 failure = -1,
8 success = 0,
9 };
signed int int32_t
Definition stdint.h:123

Function Documentation

◆ REGISTER_CF_HOST_FUNCTION() [1/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __cmptf2 )

◆ REGISTER_CF_HOST_FUNCTION() [2/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __eqtf2 )

◆ REGISTER_CF_HOST_FUNCTION() [3/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __fixtfdi )

◆ REGISTER_CF_HOST_FUNCTION() [4/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __fixtfsi )

◆ REGISTER_CF_HOST_FUNCTION() [5/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __fixunstfdi )

◆ REGISTER_CF_HOST_FUNCTION() [6/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __fixunstfsi )

◆ REGISTER_CF_HOST_FUNCTION() [7/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __floatsidf )

◆ REGISTER_CF_HOST_FUNCTION() [8/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __floattidf )

◆ REGISTER_CF_HOST_FUNCTION() [9/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __floatuntidf )

◆ REGISTER_CF_HOST_FUNCTION() [10/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __getf2 )

◆ REGISTER_CF_HOST_FUNCTION() [11/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __gttf2 )

◆ REGISTER_CF_HOST_FUNCTION() [12/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __letf2 )

◆ REGISTER_CF_HOST_FUNCTION() [13/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __lttf2 )

◆ REGISTER_CF_HOST_FUNCTION() [14/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __netf2 )

◆ REGISTER_CF_HOST_FUNCTION() [15/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __trunctfdf2 )

◆ REGISTER_CF_HOST_FUNCTION() [16/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __trunctfsf2 )

◆ REGISTER_CF_HOST_FUNCTION() [17/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( __unordtf2 )

◆ REGISTER_CF_HOST_FUNCTION() [18/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( action_data_size )

◆ REGISTER_CF_HOST_FUNCTION() [19/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( alt_bn128_add )

◆ REGISTER_CF_HOST_FUNCTION() [20/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( alt_bn128_mul )

◆ REGISTER_CF_HOST_FUNCTION() [21/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( alt_bn128_pair )

◆ REGISTER_CF_HOST_FUNCTION() [22/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( blake2_f )

◆ REGISTER_CF_HOST_FUNCTION() [23/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( current_receiver )

◆ REGISTER_CF_HOST_FUNCTION() [24/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( expiration )

◆ REGISTER_CF_HOST_FUNCTION() [25/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( get_block_num )

◆ REGISTER_CF_HOST_FUNCTION() [26/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( k1_recover )

◆ REGISTER_CF_HOST_FUNCTION() [27/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( mod_exp )

◆ REGISTER_CF_HOST_FUNCTION() [28/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( printdf )

◆ REGISTER_CF_HOST_FUNCTION() [29/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( printi )

◆ REGISTER_CF_HOST_FUNCTION() [30/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( printn )

◆ REGISTER_CF_HOST_FUNCTION() [31/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( printsf )

◆ REGISTER_CF_HOST_FUNCTION() [32/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( printui )

◆ REGISTER_CF_HOST_FUNCTION() [33/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( sha3 )

◆ REGISTER_CF_HOST_FUNCTION() [34/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( tapos_block_num )

◆ REGISTER_CF_HOST_FUNCTION() [35/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( tapos_block_prefix )

◆ REGISTER_CF_HOST_FUNCTION() [36/36]

sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION ( transaction_size )

◆ REGISTER_HOST_FUNCTION() [1/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( activate_feature ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [2/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( current_time )

◆ REGISTER_HOST_FUNCTION() [3/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_end_i64 )

◆ REGISTER_HOST_FUNCTION() [4/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_find_i64 )

◆ REGISTER_HOST_FUNCTION() [5/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx128_end )

◆ REGISTER_HOST_FUNCTION() [6/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx128_remove )

◆ REGISTER_HOST_FUNCTION() [7/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx256_end )

◆ REGISTER_HOST_FUNCTION() [8/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx256_remove )

◆ REGISTER_HOST_FUNCTION() [9/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx64_end )

◆ REGISTER_HOST_FUNCTION() [10/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx64_remove )

◆ REGISTER_HOST_FUNCTION() [11/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx_double_end )

◆ REGISTER_HOST_FUNCTION() [12/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx_double_remove )

◆ REGISTER_HOST_FUNCTION() [13/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx_long_double_end )

◆ REGISTER_HOST_FUNCTION() [14/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_idx_long_double_remove )

◆ REGISTER_HOST_FUNCTION() [15/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_lowerbound_i64 )

◆ REGISTER_HOST_FUNCTION() [16/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_remove_i64 )

◆ REGISTER_HOST_FUNCTION() [17/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( db_upperbound_i64 )

◆ REGISTER_HOST_FUNCTION() [18/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( get_account_creation_time )

◆ REGISTER_HOST_FUNCTION() [19/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( get_code_hash )

◆ REGISTER_HOST_FUNCTION() [20/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( get_parameters_packed ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [21/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( get_permission_last_used )

◆ REGISTER_HOST_FUNCTION() [22/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( get_sender )

◆ REGISTER_HOST_FUNCTION() [23/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( get_wasm_parameters_packed ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [24/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( has_auth )

◆ REGISTER_HOST_FUNCTION() [25/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( is_account )

◆ REGISTER_HOST_FUNCTION() [26/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( is_feature_active ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [27/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( is_privileged ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [28/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( publication_time )

◆ REGISTER_HOST_FUNCTION() [29/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( require_auth )

◆ REGISTER_HOST_FUNCTION() [30/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( require_auth2 )

◆ REGISTER_HOST_FUNCTION() [31/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( require_recipient )

◆ REGISTER_HOST_FUNCTION() [32/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( set_action_return_value )

◆ REGISTER_HOST_FUNCTION() [33/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( set_parameters_packed ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [34/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( set_privileged ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [35/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( set_resource_limits ,
privileged_check  )

◆ REGISTER_HOST_FUNCTION() [36/36]

sysio::chain::webassembly::REGISTER_HOST_FUNCTION ( set_wasm_parameters_packed ,
privileged_check  )

◆ REGISTER_INJECTED_HOST_FUNCTION() [1/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_abs )

◆ REGISTER_INJECTED_HOST_FUNCTION() [2/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_add )

◆ REGISTER_INJECTED_HOST_FUNCTION() [3/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_ceil )

◆ REGISTER_INJECTED_HOST_FUNCTION() [4/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_copysign )

◆ REGISTER_INJECTED_HOST_FUNCTION() [5/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_div )

◆ REGISTER_INJECTED_HOST_FUNCTION() [6/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_eq )

◆ REGISTER_INJECTED_HOST_FUNCTION() [7/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_floor )

◆ REGISTER_INJECTED_HOST_FUNCTION() [8/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_ge )

◆ REGISTER_INJECTED_HOST_FUNCTION() [9/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_gt )

◆ REGISTER_INJECTED_HOST_FUNCTION() [10/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_le )

◆ REGISTER_INJECTED_HOST_FUNCTION() [11/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_lt )

◆ REGISTER_INJECTED_HOST_FUNCTION() [12/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_max )

◆ REGISTER_INJECTED_HOST_FUNCTION() [13/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_min )

◆ REGISTER_INJECTED_HOST_FUNCTION() [14/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_mul )

◆ REGISTER_INJECTED_HOST_FUNCTION() [15/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_ne )

◆ REGISTER_INJECTED_HOST_FUNCTION() [16/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_nearest )

◆ REGISTER_INJECTED_HOST_FUNCTION() [17/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_neg )

◆ REGISTER_INJECTED_HOST_FUNCTION() [18/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_promote )

◆ REGISTER_INJECTED_HOST_FUNCTION() [19/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_sqrt )

◆ REGISTER_INJECTED_HOST_FUNCTION() [20/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_sub )

◆ REGISTER_INJECTED_HOST_FUNCTION() [21/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_trunc )

◆ REGISTER_INJECTED_HOST_FUNCTION() [22/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_trunc_i32s )

◆ REGISTER_INJECTED_HOST_FUNCTION() [23/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_trunc_i32u )

◆ REGISTER_INJECTED_HOST_FUNCTION() [24/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_trunc_i64s )

◆ REGISTER_INJECTED_HOST_FUNCTION() [25/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f32_trunc_i64u )

◆ REGISTER_INJECTED_HOST_FUNCTION() [26/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_abs )

◆ REGISTER_INJECTED_HOST_FUNCTION() [27/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_add )

◆ REGISTER_INJECTED_HOST_FUNCTION() [28/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_ceil )

◆ REGISTER_INJECTED_HOST_FUNCTION() [29/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_copysign )

◆ REGISTER_INJECTED_HOST_FUNCTION() [30/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_demote )

◆ REGISTER_INJECTED_HOST_FUNCTION() [31/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_div )

◆ REGISTER_INJECTED_HOST_FUNCTION() [32/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_eq )

◆ REGISTER_INJECTED_HOST_FUNCTION() [33/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_floor )

◆ REGISTER_INJECTED_HOST_FUNCTION() [34/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_ge )

◆ REGISTER_INJECTED_HOST_FUNCTION() [35/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_gt )

◆ REGISTER_INJECTED_HOST_FUNCTION() [36/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_le )

◆ REGISTER_INJECTED_HOST_FUNCTION() [37/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_lt )

◆ REGISTER_INJECTED_HOST_FUNCTION() [38/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_max )

◆ REGISTER_INJECTED_HOST_FUNCTION() [39/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_min )

◆ REGISTER_INJECTED_HOST_FUNCTION() [40/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_mul )

◆ REGISTER_INJECTED_HOST_FUNCTION() [41/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_ne )

◆ REGISTER_INJECTED_HOST_FUNCTION() [42/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_nearest )

◆ REGISTER_INJECTED_HOST_FUNCTION() [43/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_neg )

◆ REGISTER_INJECTED_HOST_FUNCTION() [44/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_sqrt )

◆ REGISTER_INJECTED_HOST_FUNCTION() [45/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_sub )

◆ REGISTER_INJECTED_HOST_FUNCTION() [46/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_trunc )

◆ REGISTER_INJECTED_HOST_FUNCTION() [47/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_trunc_i32s )

◆ REGISTER_INJECTED_HOST_FUNCTION() [48/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_trunc_i32u )

◆ REGISTER_INJECTED_HOST_FUNCTION() [49/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_trunc_i64s )

◆ REGISTER_INJECTED_HOST_FUNCTION() [50/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_f64_trunc_i64u )

◆ REGISTER_INJECTED_HOST_FUNCTION() [51/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_i32_to_f32 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [52/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_i32_to_f64 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [53/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_i64_to_f32 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [54/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_i64_to_f64 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [55/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_ui32_to_f32 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [56/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_ui32_to_f64 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [57/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_ui64_to_f32 )

◆ REGISTER_INJECTED_HOST_FUNCTION() [58/58]

sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION ( _sysio_ui64_to_f64 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [1/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __addtf3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [2/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __ashlti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [3/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __ashrti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [4/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __divtf3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [5/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __divti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [6/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __extenddftf2 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [7/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __extendsftf2 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [8/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __fixdfti )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [9/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __fixsfti )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [10/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __fixtfti )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [11/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __fixunsdfti )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [12/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __fixunssfti )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [13/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __fixunstfti )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [14/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __floatditf )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [15/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __floatsitf )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [16/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __floatunditf )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [17/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __floatunsitf )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [18/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __lshlti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [19/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __lshrti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [20/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __modti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [21/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __multf3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [22/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __multi3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [23/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __negtf2 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [24/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __subtf3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [25/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __udivti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [26/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( __umodti3 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [27/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( assert_recover_key )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [28/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( assert_ripemd160 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [29/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( assert_sha1 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [30/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( assert_sha256 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [31/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( assert_sha512 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [32/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( get_action )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [33/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( memcmp )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [34/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( memcpy )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [35/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( memmove )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [36/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( memset )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [37/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( printhex )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [38/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( printi128 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [39/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( printqf )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [40/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( prints )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [41/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( prints_l )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [42/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( printui128 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [43/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( read_action_data )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [44/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( read_transaction )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [45/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( recover_key )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [46/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( ripemd160 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [47/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( sha1 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [48/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( sha256 )

◆ REGISTER_LEGACY_CF_HOST_FUNCTION() [49/49]

sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION ( sha512 )

◆ REGISTER_LEGACY_HOST_FUNCTION() [1/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( cancel_deferred )

◆ REGISTER_LEGACY_HOST_FUNCTION() [2/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( check_permission_authorization )

◆ REGISTER_LEGACY_HOST_FUNCTION() [3/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( check_transaction_authorization )

◆ REGISTER_LEGACY_HOST_FUNCTION() [4/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_get_i64 )

◆ REGISTER_LEGACY_HOST_FUNCTION() [5/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_find_primary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [6/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_find_secondary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [7/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_lowerbound )

◆ REGISTER_LEGACY_HOST_FUNCTION() [8/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_next )

◆ REGISTER_LEGACY_HOST_FUNCTION() [9/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_previous )

◆ REGISTER_LEGACY_HOST_FUNCTION() [10/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_store )

◆ REGISTER_LEGACY_HOST_FUNCTION() [11/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_update )

◆ REGISTER_LEGACY_HOST_FUNCTION() [12/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx128_upperbound )

◆ REGISTER_LEGACY_HOST_FUNCTION() [13/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_find_primary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [14/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_find_secondary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [15/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_lowerbound )

◆ REGISTER_LEGACY_HOST_FUNCTION() [16/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_next )

◆ REGISTER_LEGACY_HOST_FUNCTION() [17/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_previous )

◆ REGISTER_LEGACY_HOST_FUNCTION() [18/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_store )

◆ REGISTER_LEGACY_HOST_FUNCTION() [19/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_update )

◆ REGISTER_LEGACY_HOST_FUNCTION() [20/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx256_upperbound )

◆ REGISTER_LEGACY_HOST_FUNCTION() [21/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_find_primary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [22/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_find_secondary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [23/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_lowerbound )

◆ REGISTER_LEGACY_HOST_FUNCTION() [24/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_next )

◆ REGISTER_LEGACY_HOST_FUNCTION() [25/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_previous )

◆ REGISTER_LEGACY_HOST_FUNCTION() [26/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_store )

◆ REGISTER_LEGACY_HOST_FUNCTION() [27/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_update )

◆ REGISTER_LEGACY_HOST_FUNCTION() [28/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx64_upperbound )

◆ REGISTER_LEGACY_HOST_FUNCTION() [29/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_find_primary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [30/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_find_secondary ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [31/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_lowerbound ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [32/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_next )

◆ REGISTER_LEGACY_HOST_FUNCTION() [33/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_previous )

◆ REGISTER_LEGACY_HOST_FUNCTION() [34/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_store ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [35/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_update ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [36/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_double_upperbound ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [37/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_find_primary )

◆ REGISTER_LEGACY_HOST_FUNCTION() [38/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_find_secondary ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [39/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_lowerbound ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [40/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_next )

◆ REGISTER_LEGACY_HOST_FUNCTION() [41/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_previous )

◆ REGISTER_LEGACY_HOST_FUNCTION() [42/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_store ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [43/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_update ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [44/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_idx_long_double_upperbound ,
is_nan_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [45/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_next_i64 )

◆ REGISTER_LEGACY_HOST_FUNCTION() [46/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_previous_i64 )

◆ REGISTER_LEGACY_HOST_FUNCTION() [47/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_store_i64 )

◆ REGISTER_LEGACY_HOST_FUNCTION() [48/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( db_update_i64 )

◆ REGISTER_LEGACY_HOST_FUNCTION() [49/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( get_active_producers )

◆ REGISTER_LEGACY_HOST_FUNCTION() [50/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( get_blockchain_parameters_packed ,
privileged_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [51/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( get_resource_limits ,
privileged_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [52/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( is_feature_activated )

◆ REGISTER_LEGACY_HOST_FUNCTION() [53/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( preactivate_feature ,
privileged_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [54/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( send_context_free_inline )

◆ REGISTER_LEGACY_HOST_FUNCTION() [55/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( send_deferred )

◆ REGISTER_LEGACY_HOST_FUNCTION() [56/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( send_inline )

◆ REGISTER_LEGACY_HOST_FUNCTION() [57/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( set_blockchain_parameters_packed ,
privileged_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [58/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( set_proposed_producers ,
privileged_check  )

◆ REGISTER_LEGACY_HOST_FUNCTION() [59/59]

sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION ( set_proposed_producers_ex ,
privileged_check  )

◆ set_proposed_producers_common()

int64_t sysio::chain::webassembly::set_proposed_producers_common ( apply_context & context,
vector< producer_authority > && producers,
bool validate_keys )

Definition at line 39 of file privileged.cpp.

39 {
40 SYS_ASSERT(producers.size() <= config::max_producers, wasm_execution_error, "Producer schedule exceeds the maximum producer count for this chain");
41 SYS_ASSERT( producers.size() > 0
42 || !context.control.is_builtin_activated( builtin_protocol_feature_t::disallow_empty_producer_schedule ),
43 wasm_execution_error,
44 "Producer schedule cannot be empty"
45 );
46
47 const size_t num_supported_key_types = context.db.get<protocol_state_object>().num_supported_key_types;
48
49 // check that producers are unique
50 std::set<account_name> unique_producers;
51 for (const auto& p: producers) {
52 SYS_ASSERT( context.is_account(p.producer_name), wasm_execution_error, "producer schedule includes a nonexisting account" );
53 std::visit([&p, num_supported_key_types, validate_keys](const auto& a) {
54 uint32_t sum_weights = 0;
55 std::set<public_key_type> unique_keys;
56 for (const auto& kw: a.keys ) {
57 SYS_ASSERT( kw.key.which() < num_supported_key_types, unactivated_key_type,
58 "Unactivated key type used in proposed producer schedule");
59
60 if( validate_keys ) {
61 SYS_ASSERT( kw.key.valid(), wasm_execution_error, "producer schedule includes an invalid key" );
62 }
63
64 if (std::numeric_limits<uint32_t>::max() - sum_weights <= kw.weight) {
65 sum_weights = std::numeric_limits<uint32_t>::max();
66 } else {
67 sum_weights += kw.weight;
68 }
69
70 unique_keys.insert(kw.key);
71 }
72
73 SYS_ASSERT( a.keys.size() == unique_keys.size(), wasm_execution_error, "producer schedule includes a duplicated key for ${account}", ("account", p.producer_name));
74 SYS_ASSERT( a.threshold > 0, wasm_execution_error, "producer schedule includes an authority with a threshold of 0 for ${account}", ("account", p.producer_name));
75 SYS_ASSERT( sum_weights >= a.threshold, wasm_execution_error, "producer schedule includes an unsatisfiable authority for ${account}", ("account", p.producer_name));
76 }, p.authority);
77
78 unique_producers.insert(p.producer_name);
79 }
80 SYS_ASSERT( producers.size() == unique_producers.size(), wasm_execution_error, "duplicate producer name in producer schedule" );
81
82 return context.control.set_proposed_producers( std::move(producers) );
83 }
const mie::Vuint & p
Definition bn.cpp:27
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
Definition exceptions.hpp:7
Maintains global state information about consensus protocol rules.
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181
schedule config_dir_name data_dir_name p2p_port http_port file_size name name keys peers producers(dont_start)) FC_REFLECT(testnet_def
unsigned int uint32_t
Definition stdint.h:126
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SYS_VM_PRECONDITION() [1/6]

sysio::chain::webassembly::SYS_VM_PRECONDITION ( context_aware_check ,
SYS_VM_INVOKE_ONCE([&](auto &&...) { SYS_ASSERT(!ctx.get_host().get_context().is_context_free(), unaccessible_api, "only context free api's can be used in this context");})  )

◆ SYS_VM_PRECONDITION() [2/6]

sysio::chain::webassembly::SYS_VM_PRECONDITION ( context_free_check ,
SYS_VM_INVOKE_ONCE([&](auto &&...) { SYS_ASSERT(ctx.get_host().get_context().is_context_free(), unaccessible_api, "this API may only be called from context_free apply");})  )

◆ SYS_VM_PRECONDITION() [3/6]

sysio::chain::webassembly::SYS_VM_PRECONDITION ( core_precondition ,
SYS_VM_INVOKE_ON_ALL(([&](auto &&arg, auto &&... rest) { using namespace sysio::vm;using arg_t=std::decay_t< decltype(arg)>;static_assert(is_whitelisted_type_v< arg_t >, "whitelisted type violation");if constexpr(is_span_type_v< arg_t >||vm::is_argument_proxy_type_v< arg_t >) { sysio::vm::invoke_on< false, sysio::vm::invoke_on_all_t >([&arg](auto &&narg, auto &&... nrest) { using nested_arg_t=std::decay_t< decltype(narg)>;if constexpr(sysio::vm::is_span_type_v< nested_arg_t >||vm::is_argument_proxy_type_v< nested_arg_t >) SYS_ASSERT(!is_aliasing(detail::to_span(arg), detail::to_span(narg)), wasm_exception, "pointers not allowed to alias");}, rest...);} }))  )
Here is the call graph for this function:

◆ SYS_VM_PRECONDITION() [4/6]

sysio::chain::webassembly::SYS_VM_PRECONDITION ( is_nan_check ,
SYS_VM_INVOKE_ON_ALL([&](auto &&arg, auto &&... rest) { if constexpr(should_check_nan_v< std::remove_cv_t< typename remove_argument_proxy< std::decay_t< decltype(arg)> >::type > >) { SYS_ASSERT(!webassembly::is_nan(*arg), transaction_exception, "NaN is not an allowed value for a secondary key");} })  )

◆ SYS_VM_PRECONDITION() [5/6]

sysio::chain::webassembly::SYS_VM_PRECONDITION ( legacy_static_check_wl_args ,
SYS_VM_INVOKE_ONCE([&](auto &&... args) { static_assert(are_whitelisted_legacy_types_v< std::decay_t< decltype(args)>... >, "legacy whitelisted type violation");})  )

◆ SYS_VM_PRECONDITION() [6/6]

sysio::chain::webassembly::SYS_VM_PRECONDITION ( privileged_check ,
SYS_VM_INVOKE_ONCE([&](auto &&...) { SYS_ASSERT(ctx.get_host().get_context().is_privileged(), unaccessible_api, "${code} does not have permission to call this API",("code", ctx.get_host().get_context().get_receiver()));})  )

◆ unpack_provided_keys()

void sysio::chain::webassembly::unpack_provided_keys ( flat_set< public_key_type > & keys,
const char * pubkeys_data,
uint32_t pubkeys_size )

Definition at line 7 of file permission.cpp.

7 {
8 keys.clear();
9 if( pubkeys_size == 0 ) return;
10
11 keys = fc::raw::unpack<flat_set<public_key_type>>( pubkeys_data, pubkeys_size );
12 }
void unpack(Stream &s, std::deque< T > &value)
Definition raw.hpp:540
Here is the call graph for this function:
Here is the caller graph for this function:

◆ unpack_provided_permissions()

void sysio::chain::webassembly::unpack_provided_permissions ( flat_set< permission_level > & permissions,
const char * perms_data,
uint32_t perms_size )

Definition at line 14 of file permission.cpp.

14 {
15 permissions.clear();
16 if( perms_size == 0 ) return;
17
18 permissions = fc::raw::unpack<flat_set<permission_level>>( perms_data, perms_size );
19 }
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ should_check_nan_v

template<typename T >
bool sysio::chain::webassembly::should_check_nan_v
inlineconstexpr
Initial value:
=
std::is_same_v<T, float32_t> || std::is_same_v<T, float64_t> || std::is_same_v<T, float128_t>

Definition at line 146 of file preconditions.hpp.