|
| char * | write_decimal (char *begin, char *end, bool dry_run, uint64_t number, uint8_t num_decimal_places, bool negative) |
| |
| void | check (bool pred, std::string_view msg) |
| |
| void | check (bool pred, const char *msg) |
| |
| void | check (bool pred, const std::string &msg) |
| |
| void | check (bool pred, std::string &&msg) |
| |
| void | check (bool pred, const char *msg, size_t n) |
| |
| void | check (bool pred, const std::string &msg, size_t n) |
| |
| void | check (bool pred, uint64_t code) |
| |
| name | current_context_contract () |
| |
| template<typename T > |
| g1_point | alt_bn128_add (const T &op1, const T &op2) |
| |
| int32_t | alt_bn128_add (const char *op1, uint32_t op1_len, const char *op2, uint32_t op2_len, char *result, uint32_t result_len) |
| |
| template<typename T > |
| g1_point | alt_bn128_mul (const T &g1, const bigint &scalar) |
| |
| int32_t | alt_bn128_mul (const char *g1, uint32_t g1_len, const char *scalar, uint32_t scalar_len, char *result, uint32_t result_len) |
| |
| template<typename G1_T , typename G2_T > |
| int32_t | alt_bn128_pair (const std::vector< std::pair< G1_T, G2_T > > &pairs) |
| |
| int32_t | alt_bn128_pair (const char *pairs, uint32_t pairs_len) |
| |
| int32_t | mod_exp (const bigint &base, const bigint &exp, const bigint &mod, bigint &result) |
| |
| int32_t | mod_exp (const char *base, uint32_t base_len, const char *exp, uint32_t exp_len, const char *mod, uint32_t mod_len, char *result, uint32_t result_len) |
| |
| int32_t | blake2_f (uint32_t rounds, const std::vector< char > &state, const std::vector< char > &msg, const std::vector< char > &t0_offset, const std::vector< char > &t1_offset, bool final, std::vector< char > &result) |
| |
| int32_t | blake2_f (uint32_t rounds, const char *state, uint32_t state_len, const char *msg, uint32_t msg_len, const char *t0_offset, uint32_t t0_len, const char *t1_offset, uint32_t t1_len, int32_t final, char *result, uint32_t result_len) |
| |
| eosio::checksum256 | sha3 (const char *data, uint32_t length) |
| |
| void | assert_sha3 (const char *data, uint32_t length, const eosio::checksum256 &hash) |
| |
| eosio::checksum256 | keccak (const char *data, uint32_t length) |
| |
| void | assert_keccak (const char *data, uint32_t length, const eosio::checksum256 &hash) |
| |
| int32_t | k1_recover (const char *sig, uint32_t sig_len, const char *dig, uint32_t dig_len, char *pub, uint32_t pub_len) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::list< T > &l) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::list< T > &l) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::deque< T > &d) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::deque< T > &d) |
| |
| template<typename Stream , typename... Ts> |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::variant< Ts... > &var) |
| |
| template<int I, typename Stream , typename... Ts> |
| void | deserialize (datastream< Stream > &ds, std::variant< Ts... > &var, int i) |
| |
| template<typename Stream , typename... Ts> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::variant< Ts... > &var) |
| |
| template<typename Stream , typename T1 , typename T2 > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::pair< T1, T2 > &t) |
| |
| template<typename Stream , typename T1 , typename T2 > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::pair< T1, T2 > &t) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::optional< T > &opt) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::optional< T > &opt) |
| |
| template<typename Stream > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const bool &d) |
| |
| template<typename Stream > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, bool &d) |
| |
| template<typename Stream > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::string &v) |
| |
| template<typename Stream > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::string &v) |
| |
| template<typename Stream , typename T , std::size_t N> |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::array< T, N > &v) |
| |
| template<typename Stream , typename T , std::size_t N> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::array< T, N > &v) |
| |
| template<typename Stream , typename T , std::enable_if_t< _datastream_detail::is_pointer< T >()> * = nullptr> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, T) |
| | Указатель не должен сериализоваться; эта перегрузка всегда приводит к ошибке Подробнее...
|
| |
| template<typename Stream , typename T , std::size_t N, std::enable_if_t<!_datastream_detail::is_primitive< T >() &&!_datastream_detail::is_pointer< T >()> * = nullptr> |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const T(&v)[N]) |
| |
| template<typename Stream , typename T , std::size_t N, std::enable_if_t<!_datastream_detail::is_primitive< T >() &&!_datastream_detail::is_pointer< T >()> * = nullptr> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, T(&v)[N]) |
| |
| template<typename Stream , typename T , std::enable_if_t< _datastream_detail::is_primitive< T >()> * = nullptr> |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::vector< T > &v) |
| |
| template<typename Stream , typename T , std::enable_if_t< _datastream_detail::is_primitive< T >()> * = nullptr> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::vector< T > &v) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::basic_string< T > &s) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::basic_string< T > &s) |
| |
| template<typename Stream > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::basic_string< uint8_t > &s) |
| |
| template<typename Stream > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::basic_string< uint8_t > &s) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::set< T > &s) |
| |
| template<typename Stream , typename T > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::set< T > &s) |
| |
| template<typename Stream , typename K , typename V > |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::map< K, V > &m) |
| |
| template<typename Stream , typename K , typename V > |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::map< K, V > &m) |
| |
| template<typename Stream , typename... Args> |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const std::tuple< Args... > &t) |
| |
| template<typename Stream , typename... Args> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, std::tuple< Args... > &t) |
| |
| template<typename DataStream , typename T , std::enable_if_t< std::is_class< T >::value &&_datastream_detail::is_datastream< DataStream >::value > * = nullptr> |
| DataStream & | operator<< (DataStream &ds, const T &v) |
| |
| template<typename DataStream , typename T , std::enable_if_t< std::is_class< T >::value &&_datastream_detail::is_datastream< DataStream >::value > * = nullptr> |
| DataStream & | operator>> (DataStream &ds, T &v) |
| |
| template<typename Stream , typename T , std::enable_if_t< _datastream_detail::is_primitive< T >()> * = nullptr> |
| datastream< Stream > & | operator<< (datastream< Stream > &ds, const T &v) |
| |
| template<typename Stream , typename T , std::enable_if_t< _datastream_detail::is_primitive< T >()> * = nullptr> |
| datastream< Stream > & | operator>> (datastream< Stream > &ds, T &v) |
| |
| template<typename T > |
| T | unpack (const char *buffer, size_t len) |
| |
| template<typename T > |
| void | unpack (T &res, const char *buffer, size_t len) |
| |
| template<typename T > |
| T | unpack (const std::vector< char > &bytes) |
| |
| template<typename T > |
| size_t | pack_size (const T &value) |
| |
| template<typename T > |
| std::vector< char > | pack (const T &value) |
| |
| template<typename DataStream , typename T > |
| DataStream & | operator<< (DataStream &ds, const ::eosio::ignore_wrapper< T > &val) |
| | Сериализация значения T из ignored_wrapper<T> Подробнее...
|
| |
| template<typename DataStream , typename T > |
| DataStream & | operator<< (DataStream &ds, const ::eosio::ignore< T > &val) |
| | Сериализация игнорируемого типа Подробнее...
|
| |
| template<typename DataStream , typename T > |
| DataStream & | operator>> (DataStream &ds, ::eosio::ignore< T > &) |
| | Десериализация игнорируемого типа Подробнее...
|
| |
| template<typename T , typename S > |
| void | to_key (const T &obj, datastream< S > &stream) |
| |
| template<int I, typename T , typename S > |
| void | to_key_tuple (const T &obj, datastream< S > &stream) |
| |
| template<typename... Ts, typename S > |
| void | to_key (const std::tuple< Ts... > &obj, datastream< S > &stream) |
| |
| template<typename T , std::size_t N, typename S > |
| void | to_key (const std::array< T, N > &obj, datastream< S > &stream) |
| |
| template<typename T , typename S > |
| void | to_key_optional (const bool *obj, datastream< S > &stream) |
| |
| template<typename T , typename S > |
| void | to_key_optional (const T *obj, datastream< S > &stream) |
| |
| template<typename T , typename U , typename S > |
| void | to_key (const std::pair< T, U > &obj, datastream< S > &stream) |
| |
| template<typename T , typename S > |
| void | to_key_range (const T &obj, datastream< S > &stream) |
| |
| template<typename T , typename S > |
| auto | to_key (const T &obj, datastream< S > &stream) -> std::enable_if_t< is_ranged_type(std::declval< T >()), void > |
| |
| template<typename T , typename U , typename S > |
| void | to_key (const std::map< T, U > &obj, datastream< S > &stream) |
| |
| template<typename T , typename S > |
| void | to_key (const std::optional< T > &obj, datastream< S > &stream) |
| |
| template<typename S > |
| void | to_key_varuint32 (std::uint32_t obj, datastream< S > &stream) |
| |
| template<typename S > |
| void | to_key_varint32 (std::int32_t obj, datastream< S > &stream) |
| |
| template<typename... Ts, typename S > |
| void | to_key (const std::variant< Ts... > &obj, datastream< S > &stream) |
| |
| template<std::size_t N, typename S > |
| void | to_key (const char(&str)[N], datastream< S > &stream) |
| |
| template<typename S > |
| void | to_key (std::string_view obj, datastream< S > &stream) |
| |
| template<typename S > |
| void | to_key (const std::string &obj, datastream< S > &stream) |
| |
| template<typename S > |
| void | to_key (bool obj, datastream< S > &stream) |
| |
| template<typename UInt , typename T > |
| UInt | float_to_key (T value) |
| |
| template<typename T > |
| void | convert_to_key (const T &t, key_type &bin) |
| |
| template<typename T > |
| key_type | convert_to_key (const T &t) |
| |
| template<uint8_t Base, typename T = uint64_t> |
| constexpr T | pow (uint8_t exponent) |
| |
| void | printhex (const void *ptr, uint32_t size) |
| |
| void | printl (const char *ptr, size_t len) |
| |
| void | print (const char *ptr) |
| |
| template<typename T , std::enable_if_t< std::is_integral< std::decay_t< T > >::value &&std::is_signed< std::decay_t< T > >::value, int > = 0> |
| void | print (T num) |
| |
| void | print (float num) |
| |
| void | print (double num) |
| |
| void | print (long double num) |
| |
| template<typename T , std::enable_if_t<!std::is_integral< std::decay_t< T > >::value, int > = 0> |
| void | print (T &&t) |
| |
| void | print_f (const char *s) |
| |
| template<typename Arg , typename... Args> |
| void | print_f (const char *s, Arg val, Args... rest) |
| |
| template<typename Arg , typename... Args> |
| void | print (Arg &&a, Args &&... args) |
| |
| template<class... Ts> |
| | overloaded (Ts...) -> overloaded< Ts... > |
| |
| bool | operator< (const string &lhs, const string &rhs) |
| |
| bool | operator> (const string &lhs, const string &rhs) |
| |
| bool | operator<= (const string &lhs, const string &rhs) |
| |
| bool | operator>= (const string &lhs, const string &rhs) |
| |
| bool | operator== (const string &lhs, const string &rhs) |
| |
| bool | operator!= (const string &lhs, const string &rhs) |
| |
| string | operator+ (const string &lhs, const string &rhs) |
| |
| template<typename DataStream > |
| DataStream & | operator<< (DataStream &ds, const string &str) |
| |
| template<typename DataStream > |
| DataStream & | operator>> (DataStream &ds, string &str) |
| |
| template<typename DataStream > |
| DataStream & | operator<< (DataStream &ds, const eosio::symbol_code sym_code) |
| |
| template<typename DataStream > |
| DataStream & | operator>> (DataStream &ds, eosio::symbol_code &sym_code) |
| |
| template<typename DataStream > |
| DataStream & | operator<< (DataStream &ds, const eosio::symbol sym) |
| | Сериализация symbol. Подробнее...
|
| |
| template<typename DataStream > |
| DataStream & | operator>> (DataStream &ds, eosio::symbol &sym) |
| | Десериализация symbol. Подробнее...
|
| |
| microseconds | seconds (int64_t s) |
| |
| microseconds | milliseconds (int64_t s) |
| |
| microseconds | minutes (int64_t m) |
| |
| microseconds | hours (int64_t h) |
| |
| microseconds | days (int64_t d) |
| |
| template<typename T > |
| T | unpack_action_data () |
| |
| void | require_recipient (name notify_account) |
| | Добавляет указанный аккаунт в множество аккаунтов для уведомления Подробнее...
|
| |
| template<typename... accounts> |
| void | require_recipient (name notify_account, accounts... remaining_accounts) |
| |
| void | require_auth (name n) |
| |
| time_point | publication_time () |
| |
| name | current_receiver () |
| |
| checksum256 | get_code_hash (name account, code_hash_result *full_result=nullptr) |
| |
| uint32_t | read_action_data (void *msg, uint32_t len) |
| |
| uint32_t | action_data_size () |
| |
| void | require_auth (const permission_level &level) |
| |
| bool | has_auth (name n) |
| |
| bool | is_account (name n) |
| |
| template<typename... Args> |
| void | dispatch_inline (name code, name act, std::vector< permission_level > perms, std::tuple< Args... > args) |
| |
| template<typename Contract , typename FirstAction , typename SecondAction , typename... Actions> |
| bool | dispatch (uint64_t code, uint64_t act) |
| |
| template<typename T , typename... Args> |
| bool | execute_action (name self, name code, void(T::*func)(Args...)) |
| |
| void | set_blockchain_parameters (const eosio::blockchain_parameters ¶ms) |
| |
| void | get_blockchain_parameters (eosio::blockchain_parameters ¶ms) |
| |
| void | get_account_ram_usage (name account, int64_t &used_ram_bytes) |
| |
| void | get_resource_limits (name account, int64_t &ram_bytes, int64_t &net_weight, int64_t &cpu_weight) |
| |
| void | set_resource_limits (name account, int64_t ram_bytes, int64_t net_weight, int64_t cpu_weight) |
| |
| std::optional< uint64_t > | set_proposed_producers (const std::vector< producer_key > &prods) |
| |
| std::optional< uint64_t > | set_proposed_producers (const std::vector< producer_authority > &prods) |
| |
| bool | is_privileged (name account) |
| |
| void | set_privileged (name account, bool is_priv) |
| |
| void | preactivate_feature (const checksum256 &feature_digest) |
| |
| std::vector< name > | get_active_producers () |
| |
| int64_t | add_security_group_participants (const std::set< name > &participants) |
| |
| int64_t | remove_security_group_participants (const std::set< name > &participants) |
| |
| bool | in_active_security_group (const std::set< name > &participants) |
| |
| security_group | get_active_security_group () |
| |
| void | eosio_exit (int32_t code) |
| |
| time_point | current_time_point () |
| |
| block_timestamp | current_block_time () |
| |
| block_num_t | current_block_number () |
| |
| bool | is_feature_activated (const checksum256 &feature_digest) |
| |
| name | get_sender () |
| |
| void | send_deferred (const uint128_t &sender_id, name payer, const char *serialized_transaction, size_t size, bool replace=false) |
| |
| action | get_action (uint32_t type, uint32_t index) |
| |
| size_t | read_transaction (char *ptr, size_t sz) |
| |
| int | cancel_deferred (const uint128_t &sender_id) |
| |
| size_t | transaction_size () |
| |
| int | tapos_block_num () |
| |
| int | tapos_block_prefix () |
| |
| uint32_t | expiration () |
| | Возвращает срок действия текущей выполняемой транзакции. Подробнее...
|
| |
| int | get_context_free_data (uint32_t index, char *buff, size_t size) |
| |