file action.hpp

Classes

Type Name
struct eosio::permission_level
Packed representation of a permission level (Authorization)
struct eosio::action
Packed representation of an action.
struct eosio::detail::unwrap
struct eosio::detail::unwrap< ignore< T > >
struct eosio::detail::convert
struct eosio::detail::convert< const char * >
struct eosio::detail::convert< char * >
struct eosio::detail::is_same
struct eosio::detail::is_same< bool, U >
struct eosio::detail::is_same< T, bool >
struct eosio::detail::get_nth_impl
struct eosio::detail::get_nth_impl< N, N, Arg, Args... >
struct eosio::detail::get_nth
struct eosio::detail::check_types
struct eosio::detail::check_types< Action, I, T >
struct eosio::action_wrapper
struct eosio::variant_action_wrapper
struct eosio::inline_dispatcher
struct eosio::inline_dispatcher< void(T::*)(Args...), Name >

Defines

Type Name
define INLINE_ACTION_SENDER3
define INLINE_ACTION_SENDER2
define INLINE_ACTION_SENDER
define SEND_INLINE_ACTION
Send inline action.

Detailed Description

Copyright

defined in eos/LICENSE

Defines Documentation

define INLINE_ACTION_SENDER3

#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

#define INLINE_ACTION_SENDER2(CONTRACT_CLASS, NAME) INLINE_ACTION_SENDER3( CONTRACT_CLASS, NAME, ::eosio::name(#NAME) )

define INLINE_ACTION_SENDER

#define INLINE_ACTION_SENDER(...) BOOST_PP_OVERLOAD(INLINE_ACTION_SENDER,__VA_ARGS__)(__VA_ARGS__)

define SEND_INLINE_ACTION

#define SEND_INLINE_ACTION(CONTRACT, NAME, ...)\
INLINE_ACTION_SENDER(std::decay_t<decltype(CONTRACT)>, NAME)( (CONTRACT).get_self(),\
BOOST_PP_TUPLE_ENUM(BOOST_PP_VARIADIC_SIZE(__VA_ARGS__), BOOST_PP_VARIADIC_TO_TUPLE(__VA_ARGS__)) );

Send inline action.

Send inline action

Parameters:

  • CONTRACT - The account this action is intended for
  • NAME - The name of the action
  • ... - The member of the action specified as ("action_member1_name", action_member1_value)("action_member2_name", action_member2_value)

The documentation for this class was generated from the following file: libraries/eosiolib/action.hpp