namespace eosio::internal_use_do_not_use

Class List > eosio :: internal_use_do_not_use

Classes

Type Name
struct capi_checksum256

Variables

Type Name
uint32_t
uint64_t eosio_contract_name

Functions

Type Name
uint32_t read_action_data (void * msg, uint32_t len)
Copy current action data to the specified location.
uint32_t action_data_size ()
Get the length of current action's data field.
void require_recipient (uint64_t name)
void require_auth (uint64_t name)
bool has_auth (uint64_t name)
void require_auth2 (uint64_t name, uint64_t permission)
bool is_account (uint64_t name)
void send_inline (char * serialized_action, size_t size)
void send_context_free_inline (char * serialized_action, size_t size)
uint64_t publication_time ()
Get the publication time.
uint64_t current_receiver ()
Get the current receiver of the action.
int32_t db_store_i64 (uint64_t, uint64_t, uint64_t, uint64_t, const void *, uint32_t)
void db_update_i64 (int32_t, uint64_t, const void *, uint32_t)
void db_remove_i64 (int32_t)
int32_t db_get_i64 (int32_t, const void *, uint32_t)
int32_t db_next_i64 (int32_t, uint64_t *)
int32_t db_previous_i64 (int32_t, uint64_t *)
int32_t db_find_i64 (uint64_t, uint64_t, uint64_t, uint64_t)
int32_t db_lowerbound_i64 (uint64_t, uint64_t, uint64_t, uint64_t)
int32_t db_upperbound_i64 (uint64_t, uint64_t, uint64_t, uint64_t)
int32_t db_end_i64 (uint64_t, uint64_t, uint64_t)
int32_t db_idx64_store (uint64_t, uint64_t, uint64_t, uint64_t, const uint64_t *)
void db_idx64_update (int32_t, uint64_t, const uint64_t *)
void db_idx64_remove (int32_t)
int32_t db_idx64_next (int32_t, uint64_t *)
int32_t db_idx64_previous (int32_t, uint64_t *)
int32_t db_idx64_find_primary (uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t)
int32_t db_idx64_find_secondary (uint64_t, uint64_t, uint64_t, const uint64_t *, uint64_t *)
int32_t db_idx64_lowerbound (uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *)
int32_t db_idx64_upperbound (uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *)
int32_t db_idx64_end (uint64_t, uint64_t, uint64_t)
int32_t db_idx128_store (uint64_t, uint64_t, uint64_t, uint64_t, const uint128_t *)
void db_idx128_update (int32_t, uint64_t, const uint128_t *)
void db_idx128_remove (int32_t)
int32_t db_idx128_next (int32_t, uint64_t *)
int32_t db_idx128_previous (int32_t, uint64_t *)
int32_t db_idx128_find_primary (uint64_t, uint64_t, uint64_t, uint128_t *, uint64_t)
int32_t db_idx128_find_secondary (uint64_t, uint64_t, uint64_t, const uint128_t *, uint64_t *)
int32_t db_idx128_lowerbound (uint64_t, uint64_t, uint64_t, uint128_t *, uint64_t *)
int32_t db_idx128_upperbound (uint64_t, uint64_t, uint64_t, uint128_t *, uint64_t *)
int32_t db_idx128_end (uint64_t, uint64_t, uint64_t)
int32_t db_idx256_store (uint64_t, uint64_t, uint64_t, uint64_t, const uint128_t *, uint32_t)
void db_idx256_update (int32_t, uint64_t, const uint128_t *, uint32_t)
void db_idx256_remove (int32_t)
int32_t db_idx256_next (int32_t, uint64_t *)
int32_t db_idx256_previous (int32_t, uint64_t *)
int32_t db_idx256_find_primary (uint64_t, uint64_t, uint64_t, uint128_t *, uint32_t, uint64_t)
int32_t db_idx256_find_secondary (uint64_t, uint64_t, uint64_t, const uint128_t *, uint32_t, uint64_t *)
int32_t db_idx256_lowerbound (uint64_t, uint64_t, uint64_t, uint128_t *, uint32_t, uint64_t *)
int32_t db_idx256_upperbound (uint64_t, uint64_t, uint64_t, uint128_t *, uint32_t, uint64_t *)
int32_t db_idx256_end (uint64_t, uint64_t, uint64_t)
int32_t db_idx_double_store (uint64_t, uint64_t, uint64_t, uint64_t, const double *)
void db_idx_double_update (int32_t, uint64_t, const double *)
void db_idx_double_remove (int32_t)
int32_t db_idx_double_next (int32_t, uint64_t *)
int32_t db_idx_double_previous (int32_t, uint64_t *)
int32_t db_idx_double_find_primary (uint64_t, uint64_t, uint64_t, double *, uint64_t)
int32_t db_idx_double_find_secondary (uint64_t, uint64_t, uint64_t, const double *, uint64_t *)
int32_t db_idx_double_lowerbound (uint64_t, uint64_t, uint64_t, double *, uint64_t *)
int32_t db_idx_double_upperbound (uint64_t, uint64_t, uint64_t, double *, uint64_t *)
int32_t db_idx_double_end (uint64_t, uint64_t, uint64_t)
int32_t db_idx_long_double_store (uint64_t, uint64_t, uint64_t, uint64_t, const long double *)
void db_idx_long_double_update (int32_t, uint64_t, const long double *)
void db_idx_long_double_remove (int32_t)
int32_t db_idx_long_double_next (int32_t, uint64_t *)
int32_t db_idx_long_double_previous (int32_t, uint64_t *)
int32_t db_idx_long_double_find_primary (uint64_t, uint64_t, uint64_t, long double *, uint64_t)
int32_t db_idx_long_double_find_secondary (uint64_t, uint64_t, uint64_t, const long double *, uint64_t *)
int32_t db_idx_long_double_lowerbound (uint64_t, uint64_t, uint64_t, long double *, uint64_t *)
int32_t db_idx_long_double_upperbound (uint64_t, uint64_t, uint64_t, long double *, uint64_t *)
int32_t db_idx_long_double_end (uint64_t, uint64_t, uint64_t)
int32_t check_transaction_authorization (const char *, uint32_t, const char *, uint32_t, const char *, uint32_t)
int32_t check_permission_authorization (uint64_t, uint64_t, const char *, uint32_t, const char *, uint32_t, uint64_t)
int64_t get_permission_last_used (uint64_t, uint64_t)
int64_t get_account_creation_time (uint64_t)
bool is_privileged (uint64_t account)
void get_resource_limits (uint64_t account, int64_t * ram_bytes, int64_t * net_weight, int64_t * cpu_weight)
void set_resource_limits (uint64_t account, int64_t ram_bytes, int64_t net_weight, int64_t cpu_weight)
void set_privileged (uint64_t account, bool is_priv)
void set_blockchain_parameters_packed (char * data, uint32_t datalen)
uint32_t get_blockchain_parameters_packed (char * data, uint32_t datalen)
void set_kv_parameters_packed (const char * data, uint32_t datalen)
__attribute ((eosio_wasm_import))
void preactivate_feature (const capi_checksum256 * feature_digest)
int64_t set_proposed_producers_ex (uint64_t producer_data_format, char * producer_data, uint32_t producer_data_size)
void eosio_exit (int32_t code)
bool is_feature_activated (const capi_checksum256 * feature_digest)
uint64_t get_sender ()
void send_deferred (const uint128_t &, uint64_t, const char *, size_t, uint32_t)
int cancel_deferred (const uint128_t &)
size_t read_transaction (char *, size_t)
Access a copy of the currently executing transaction.
size_t transaction_size ()
Gets the size of the currently executing transaction.
int tapos_block_num ()
Gets the block number used for TAPOS on the currently executing transaction.
int tapos_block_prefix ()
Gets the block prefix used for TAPOS on the currently executing transaction.
uint32_t expiration ()
Gets the expiration of the currently executing transaction.
int get_action (uint32_t, uint32_t, char *, size_t)
int get_context_free_data (uint32_t, char *, size_t)
Retrieve the signed_transaction.context_free_data[index].
void eosio_assert (uint32_t test, const char * msg)
void eosio_assert_message (uint32_t test, const char * msg, uint32_t msg_len)
void eosio_assert_code (uint32_t test, uint64_t code)
void printn (uint64_t)
void prints (const char *)
void prints_l (const char *, uint32_t)
void printi (int64_t)
void printui (uint64_t)
void printi128 (const int128_t *)
void printui128 (const uint128_t *)
void printsf (float)
void printdf (double)
void printqf (const long double *)
void printhex (const void *, uint32_t)
Prints hexidecimal data of length datalen.

Variables Documentation

variable uint32_t

eosio::internal_use_do_not_use::uint32_t;

variable eosio_contract_name

uint64_t eosio::internal_use_do_not_use::eosio_contract_name;

Functions Documentation

function read_action_data

uint32_t eosio::internal_use_do_not_use::read_action_data(
    void * msg,
    uint32_t len
)

Copy current action data to the specified location.

Copy up to length bytes of current action data to the specified location

Parameters:

  • msg - a pointer where up to length bytes of the current action data will be copied
  • len - len of the current action data to be copied, 0 to report required size

Returns:

the number of bytes copied to msg, or number of bytes that can be copied if len==0 passed

Precondition:

msg is a valid pointer to a range of memory at least len bytes long

Post

msg is filled with packed action data

function action_data_size

uint32_t eosio::internal_use_do_not_use::action_data_size()

Get the length of current action's data field.

Get the length of the current action's data field. This method is useful for dynamically sized actions

Returns:

the length of the current action's data field

function require_recipient

void eosio::internal_use_do_not_use::require_recipient(
    uint64_t name
)

function require_auth

void eosio::internal_use_do_not_use::require_auth(
    uint64_t name
)

function has_auth

bool eosio::internal_use_do_not_use::has_auth(
    uint64_t name
)

function require_auth2

void eosio::internal_use_do_not_use::require_auth2(
    uint64_t name,
    uint64_t permission
)

function is_account

bool eosio::internal_use_do_not_use::is_account(
    uint64_t name
)

function send_inline

void eosio::internal_use_do_not_use::send_inline(
    char * serialized_action,
    size_t size
)

function send_context_free_inline

void eosio::internal_use_do_not_use::send_context_free_inline(
    char * serialized_action,
    size_t size
)

function publication_time

uint64_t eosio::internal_use_do_not_use::publication_time()

Get the publication time.

Returns the time in microseconds from 1970 of the publication_time

Returns:

the time in microseconds from 1970 of the publication_time

function current_receiver

uint64_t eosio::internal_use_do_not_use::current_receiver()

Get the current receiver of the action.

Get the current receiver of the action

Returns:

the account which specifies the current receiver of the action

function db_store_i64

int32_t eosio::internal_use_do_not_use::db_store_i64(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const void * ,
    uint32_t 
)

function db_update_i64

void eosio::internal_use_do_not_use::db_update_i64(
    int32_t ,
    uint64_t ,
    const void * ,
    uint32_t 
)

function db_remove_i64

void eosio::internal_use_do_not_use::db_remove_i64(
    int32_t 
)

function db_get_i64

int32_t eosio::internal_use_do_not_use::db_get_i64(
    int32_t ,
    const void * ,
    uint32_t 
)

function db_next_i64

int32_t eosio::internal_use_do_not_use::db_next_i64(
    int32_t ,
    uint64_t * 
)

function db_previous_i64

int32_t eosio::internal_use_do_not_use::db_previous_i64(
    int32_t ,
    uint64_t * 
)

function db_find_i64

int32_t eosio::internal_use_do_not_use::db_find_i64(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_lowerbound_i64

int32_t eosio::internal_use_do_not_use::db_lowerbound_i64(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_upperbound_i64

int32_t eosio::internal_use_do_not_use::db_upperbound_i64(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_end_i64

int32_t eosio::internal_use_do_not_use::db_end_i64(
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_idx64_store

int32_t eosio::internal_use_do_not_use::db_idx64_store(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const uint64_t * 
)

function db_idx64_update

void eosio::internal_use_do_not_use::db_idx64_update(
    int32_t ,
    uint64_t ,
    const uint64_t * 
)

function db_idx64_remove

void eosio::internal_use_do_not_use::db_idx64_remove(
    int32_t 
)

function db_idx64_next

int32_t eosio::internal_use_do_not_use::db_idx64_next(
    int32_t ,
    uint64_t * 
)

function db_idx64_previous

int32_t eosio::internal_use_do_not_use::db_idx64_previous(
    int32_t ,
    uint64_t * 
)

function db_idx64_find_primary

int32_t eosio::internal_use_do_not_use::db_idx64_find_primary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t * ,
    uint64_t 
)

function db_idx64_find_secondary

int32_t eosio::internal_use_do_not_use::db_idx64_find_secondary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const uint64_t * ,
    uint64_t * 
)

function db_idx64_lowerbound

int32_t eosio::internal_use_do_not_use::db_idx64_lowerbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t * ,
    uint64_t * 
)

function db_idx64_upperbound

int32_t eosio::internal_use_do_not_use::db_idx64_upperbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t * ,
    uint64_t * 
)

function db_idx64_end

int32_t eosio::internal_use_do_not_use::db_idx64_end(
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_idx128_store

int32_t eosio::internal_use_do_not_use::db_idx128_store(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const uint128_t * 
)

function db_idx128_update

void eosio::internal_use_do_not_use::db_idx128_update(
    int32_t ,
    uint64_t ,
    const uint128_t * 
)

function db_idx128_remove

void eosio::internal_use_do_not_use::db_idx128_remove(
    int32_t 
)

function db_idx128_next

int32_t eosio::internal_use_do_not_use::db_idx128_next(
    int32_t ,
    uint64_t * 
)

function db_idx128_previous

int32_t eosio::internal_use_do_not_use::db_idx128_previous(
    int32_t ,
    uint64_t * 
)

function db_idx128_find_primary

int32_t eosio::internal_use_do_not_use::db_idx128_find_primary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint128_t * ,
    uint64_t 
)

function db_idx128_find_secondary

int32_t eosio::internal_use_do_not_use::db_idx128_find_secondary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const uint128_t * ,
    uint64_t * 
)

function db_idx128_lowerbound

int32_t eosio::internal_use_do_not_use::db_idx128_lowerbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint128_t * ,
    uint64_t * 
)

function db_idx128_upperbound

int32_t eosio::internal_use_do_not_use::db_idx128_upperbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint128_t * ,
    uint64_t * 
)

function db_idx128_end

int32_t eosio::internal_use_do_not_use::db_idx128_end(
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_idx256_store

int32_t eosio::internal_use_do_not_use::db_idx256_store(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const uint128_t * ,
    uint32_t 
)

function db_idx256_update

void eosio::internal_use_do_not_use::db_idx256_update(
    int32_t ,
    uint64_t ,
    const uint128_t * ,
    uint32_t 
)

function db_idx256_remove

void eosio::internal_use_do_not_use::db_idx256_remove(
    int32_t 
)

function db_idx256_next

int32_t eosio::internal_use_do_not_use::db_idx256_next(
    int32_t ,
    uint64_t * 
)

function db_idx256_previous

int32_t eosio::internal_use_do_not_use::db_idx256_previous(
    int32_t ,
    uint64_t * 
)

function db_idx256_find_primary

int32_t eosio::internal_use_do_not_use::db_idx256_find_primary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint128_t * ,
    uint32_t ,
    uint64_t 
)

function db_idx256_find_secondary

int32_t eosio::internal_use_do_not_use::db_idx256_find_secondary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const uint128_t * ,
    uint32_t ,
    uint64_t * 
)

function db_idx256_lowerbound

int32_t eosio::internal_use_do_not_use::db_idx256_lowerbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint128_t * ,
    uint32_t ,
    uint64_t * 
)

function db_idx256_upperbound

int32_t eosio::internal_use_do_not_use::db_idx256_upperbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint128_t * ,
    uint32_t ,
    uint64_t * 
)

function db_idx256_end

int32_t eosio::internal_use_do_not_use::db_idx256_end(
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_idx_double_store

int32_t eosio::internal_use_do_not_use::db_idx_double_store(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const double * 
)

function db_idx_double_update

void eosio::internal_use_do_not_use::db_idx_double_update(
    int32_t ,
    uint64_t ,
    const double * 
)

function db_idx_double_remove

void eosio::internal_use_do_not_use::db_idx_double_remove(
    int32_t 
)

function db_idx_double_next

int32_t eosio::internal_use_do_not_use::db_idx_double_next(
    int32_t ,
    uint64_t * 
)

function db_idx_double_previous

int32_t eosio::internal_use_do_not_use::db_idx_double_previous(
    int32_t ,
    uint64_t * 
)

function db_idx_double_find_primary

int32_t eosio::internal_use_do_not_use::db_idx_double_find_primary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    double * ,
    uint64_t 
)

function db_idx_double_find_secondary

int32_t eosio::internal_use_do_not_use::db_idx_double_find_secondary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const double * ,
    uint64_t * 
)

function db_idx_double_lowerbound

int32_t eosio::internal_use_do_not_use::db_idx_double_lowerbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    double * ,
    uint64_t * 
)

function db_idx_double_upperbound

int32_t eosio::internal_use_do_not_use::db_idx_double_upperbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    double * ,
    uint64_t * 
)

function db_idx_double_end

int32_t eosio::internal_use_do_not_use::db_idx_double_end(
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function db_idx_long_double_store

int32_t eosio::internal_use_do_not_use::db_idx_long_double_store(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const long double * 
)

function db_idx_long_double_update

void eosio::internal_use_do_not_use::db_idx_long_double_update(
    int32_t ,
    uint64_t ,
    const long double * 
)

function db_idx_long_double_remove

void eosio::internal_use_do_not_use::db_idx_long_double_remove(
    int32_t 
)

function db_idx_long_double_next

int32_t eosio::internal_use_do_not_use::db_idx_long_double_next(
    int32_t ,
    uint64_t * 
)

function db_idx_long_double_previous

int32_t eosio::internal_use_do_not_use::db_idx_long_double_previous(
    int32_t ,
    uint64_t * 
)

function db_idx_long_double_find_primary

int32_t eosio::internal_use_do_not_use::db_idx_long_double_find_primary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    long double * ,
    uint64_t 
)

function db_idx_long_double_find_secondary

int32_t eosio::internal_use_do_not_use::db_idx_long_double_find_secondary(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    const long double * ,
    uint64_t * 
)

function db_idx_long_double_lowerbound

int32_t eosio::internal_use_do_not_use::db_idx_long_double_lowerbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    long double * ,
    uint64_t * 
)

function db_idx_long_double_upperbound

int32_t eosio::internal_use_do_not_use::db_idx_long_double_upperbound(
    uint64_t ,
    uint64_t ,
    uint64_t ,
    long double * ,
    uint64_t * 
)

function db_idx_long_double_end

int32_t eosio::internal_use_do_not_use::db_idx_long_double_end(
    uint64_t ,
    uint64_t ,
    uint64_t 
)

function check_transaction_authorization

int32_t eosio::internal_use_do_not_use::check_transaction_authorization(
    const char * ,
    uint32_t ,
    const char * ,
    uint32_t ,
    const char * ,
    uint32_t 
)

Checks if a transaction is authorized by a provided set of keys and permissions

Parameters:

  • trx_data - pointer to the start of the serialized transaction
  • trx_size - size (in bytes) of the serialized transaction
  • pubkeys_data - pointer to the start of the serialized vector of provided public keys
  • pubkeys_size - size (in bytes) of serialized vector of provided public keys (can be 0 if no public keys are to be provided)
  • perms_data - pointer to the start of the serialized vector of provided permissions (empty permission name acts as wildcard)
  • perms_size - size (in bytes) of the serialized vector of provided permissions

Returns:

1 if the transaction is authorized, 0 otherwise

function check_permission_authorization

int32_t eosio::internal_use_do_not_use::check_permission_authorization(
    uint64_t ,
    uint64_t ,
    const char * ,
    uint32_t ,
    const char * ,
    uint32_t ,
    uint64_t 
)

function get_permission_last_used

int64_t eosio::internal_use_do_not_use::get_permission_last_used(
    uint64_t ,
    uint64_t 
)

function get_account_creation_time

int64_t eosio::internal_use_do_not_use::get_account_creation_time(
    uint64_t 
)

function is_privileged

bool eosio::internal_use_do_not_use::is_privileged(
    uint64_t account
)

function get_resource_limits

void eosio::internal_use_do_not_use::get_resource_limits(
    uint64_t account,
    int64_t * ram_bytes,
    int64_t * net_weight,
    int64_t * cpu_weight
)

function set_resource_limits

void eosio::internal_use_do_not_use::set_resource_limits(
    uint64_t account,
    int64_t ram_bytes,
    int64_t net_weight,
    int64_t cpu_weight
)

function set_privileged

void eosio::internal_use_do_not_use::set_privileged(
    uint64_t account,
    bool is_priv
)

function set_blockchain_parameters_packed

void eosio::internal_use_do_not_use::set_blockchain_parameters_packed(
    char * data,
    uint32_t datalen
)

function get_blockchain_parameters_packed

uint32_t eosio::internal_use_do_not_use::get_blockchain_parameters_packed(
    char * data,
    uint32_t datalen
)

function set_kv_parameters_packed

void eosio::internal_use_do_not_use::set_kv_parameters_packed(
    const char * data,
    uint32_t datalen
)

function __attribute

eosio::internal_use_do_not_use::__attribute(
    (eosio_wasm_import) 
)

function preactivate_feature

void eosio::internal_use_do_not_use::preactivate_feature(
    const capi_checksum256 * feature_digest
)

function set_proposed_producers_ex

int64_t eosio::internal_use_do_not_use::set_proposed_producers_ex(
    uint64_t producer_data_format,
    char * producer_data,
    uint32_t producer_data_size
)

function eosio_exit

void eosio::internal_use_do_not_use::eosio_exit(
    int32_t code
)

This method will abort execution of wasm without failing the contract. This is used to bypass all cleanup / destructors that would normally be called.

Parameters:

  • code - the exit code Example:
eosio_exit(0);
eosio_exit(1);
eosio_exit(2);
eosio_exit(3);

function is_feature_activated

bool eosio::internal_use_do_not_use::is_feature_activated(
    const capi_checksum256 * feature_digest
)

function get_sender

uint64_t eosio::internal_use_do_not_use::get_sender()

Return name of account that sent current inline action

Returns:

name of account that sent the current inline action (empty name if not called from inline action)

function send_deferred

void eosio::internal_use_do_not_use::send_deferred(
    const uint128_t & ,
    uint64_t ,
    const char * ,
    size_t ,
    uint32_t 
)

function cancel_deferred

int eosio::internal_use_do_not_use::cancel_deferred(
    const uint128_t & 
)

Cancels a deferred transaction.

Parameters:

  • sender_id - The id of the sender

Precondition:

The deferred transaction ID exists.

Precondition:

The deferred transaction ID has not yet been published.

Post

Deferred transaction canceled.

Returns:

1 if transaction was canceled, 0 if transaction was not found

Example:

id = 0xffffffffffffffff
cancel_deferred( id );

function read_transaction

size_t eosio::internal_use_do_not_use::read_transaction(
    char * ,
    size_t 
)

Access a copy of the currently executing transaction.

Access a copy of the currently executing transaction.

Returns:

the currently executing transaction

function transaction_size

size_t eosio::internal_use_do_not_use::transaction_size()

Gets the size of the currently executing transaction.

Gets the size of the currently executing transaction.

Returns:

size of the currently executing transaction

function tapos_block_num

int eosio::internal_use_do_not_use::tapos_block_num()

Gets the block number used for TAPOS on the currently executing transaction.

Gets the block number used for TAPOS on the currently executing transaction.

Returns:

block number used for TAPOS on the currently executing transaction Example:

int tbn = tapos_block_num();

function tapos_block_prefix

int eosio::internal_use_do_not_use::tapos_block_prefix()

Gets the block prefix used for TAPOS on the currently executing transaction.

Gets the block prefix used for TAPOS on the currently executing transaction.

Returns:

block prefix used for TAPOS on the currently executing transaction Example:

int tbp = tapos_block_prefix();

function expiration

uint32_t eosio::internal_use_do_not_use::expiration()

Gets the expiration of the currently executing transaction.

Gets the expiration of the currently executing transaction.

Returns:

expiration of the currently executing transaction in seconds since Unix epoch

function get_action

int eosio::internal_use_do_not_use::get_action(
    uint32_t ,
    uint32_t ,
    char * ,
    size_t 
)

function get_context_free_data

int eosio::internal_use_do_not_use::get_context_free_data(
    uint32_t ,
    char * ,
    size_t 
)

Retrieve the signed_transaction.context_free_data[index].

Retrieve the signed_transaction.context_free_data[index].

Parameters:

  • index - the index of the context_free_data entry to retrieve
  • buff - output buff of the context_free_data entry
  • size - amount of context_free_data[index] to retrieve into buff, 0 to report required size

Returns:

size copied, or context_free_data[index].size() if 0 passed for size, or -1 if index not valid

function eosio_assert

void eosio::internal_use_do_not_use::eosio_assert(
    uint32_t test,
    const char * msg
)

function eosio_assert_message

void eosio::internal_use_do_not_use::eosio_assert_message(
    uint32_t test,
    const char * msg,
    uint32_t msg_len
)

function eosio_assert_code

void eosio::internal_use_do_not_use::eosio_assert_code(
    uint32_t test,
    uint64_t code
)

function printn

void eosio::internal_use_do_not_use::printn(
    uint64_t 
)

function prints

void eosio::internal_use_do_not_use::prints(
    const char * 
)

function prints_l

void eosio::internal_use_do_not_use::prints_l(
    const char * ,
    uint32_t 
)

function printi

void eosio::internal_use_do_not_use::printi(
    int64_t 
)

function printui

void eosio::internal_use_do_not_use::printui(
    uint64_t 
)

function printi128

void eosio::internal_use_do_not_use::printi128(
    const int128_t * 
)

function printui128

void eosio::internal_use_do_not_use::printui128(
    const uint128_t * 
)

function printsf

void eosio::internal_use_do_not_use::printsf(
    float 
)

function printdf

void eosio::internal_use_do_not_use::printdf(
    double 
)

function printqf

void eosio::internal_use_do_not_use::printqf(
    const long double * 
)

function printhex

void eosio::internal_use_do_not_use::printhex(
    const void * ,
    uint32_t 
)

Prints hexidecimal data of length datalen.

Prints a block of bytes in hexadecimal

Parameters:

  • ptr - pointer to bytes of interest
  • size - number of bytes to print

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