CDT  v4.2.0
инструменты разработчика
Файл action.hpp
#include <cstdlib>
#include <type_traits>
#include "../../core/eosio/serialize.hpp"
#include "../../core/eosio/datastream.hpp"
#include "../../core/eosio/name.hpp"
#include "../../core/eosio/fixed_bytes.hpp"
#include "../../core/eosio/ignore.hpp"
#include "../../core/eosio/time.hpp"

См. исходные тексты.

Классы

struct  eosio::code_hash_result
 
struct  eosio::permission_level
 
struct  eosio::action
 
struct  eosio::action_wrapper< Name, Action >
 Обёртка для конкретного действия, упрощающая отправку встроенных (inline) действий к этому действию из других контрактов. Пример: Подробнее...
 
struct  eosio::variant_action_wrapper< Name, Actions >
 
struct  eosio::inline_dispatcher< void(T::*)(Args...), Name >
 

Пространства имен

namespace  eosio
 
namespace  eosio::internal_use_do_not_use
 
namespace  eosio::detail
 

Макросы

#define INLINE_ACTION_SENDER3(CONTRACT_CLASS, FUNCTION_NAME, ACTION_NAME)   ::eosio::inline_dispatcher<decltype(&CONTRACT_CLASS::FUNCTION_NAME), ACTION_NAME>::call
 
#define INLINE_ACTION_SENDER2(CONTRACT_CLASS, NAME)   INLINE_ACTION_SENDER3( CONTRACT_CLASS, NAME, ::eosio::name(#NAME) )
 
#define INLINE_ACTION_SENDER(...)   BLUEGRASS_META_OVERLOAD(INLINE_ACTION_SENDER,__VA_ARGS__)(__VA_ARGS__)
 
#define SEND_INLINE_ACTION(CONTRACT, NAME, ...)   INLINE_ACTION_SENDER(std::decay_t<decltype(CONTRACT)>, NAME)( (CONTRACT).get_self(),__VA_ARGS__)
 Макрос для упрощения вызова встроенных (inline) действий Подробнее...
 

Функции

 eosio::internal_use_do_not_use::__attribute__ ((eosio_wasm_import)) void eosio_assert(uint32_t test
 
template<typename T >
eosio::unpack_action_data ()
 
void eosio::require_recipient (name notify_account)
 Добавляет указанный аккаунт в множество аккаунтов для уведомления Подробнее...
 
template<typename... accounts>
void eosio::require_recipient (name notify_account, accounts... remaining_accounts)
 
void eosio::require_auth (name n)
 
time_point eosio::publication_time ()
 
name eosio::current_receiver ()
 
checksum256 eosio::get_code_hash (name account, code_hash_result *full_result=nullptr)
 
uint32_t eosio::read_action_data (void *msg, uint32_t len)
 
uint32_t eosio::action_data_size ()
 
void eosio::require_auth (const permission_level &level)
 
bool eosio::has_auth (name n)
 
bool eosio::is_account (name n)
 
template<typename... Args>
void eosio::dispatch_inline (name code, name act, std::vector< permission_level > perms, std::tuple< Args... > args)
 

Переменные

uint32_t eosio::internal_use_do_not_use::len
 
uint64_t eosio::internal_use_do_not_use::permission
 
size_t eosio::internal_use_do_not_use::size
 
uint32_t eosio::internal_use_do_not_use::struct_version
 
uint32_t char * eosio::internal_use_do_not_use::result_buffer
 
uint32_t char size_t eosio::internal_use_do_not_use::buffer_size
 

Подробное описание

См. определение в файле action.hpp