class arisen::transaction

Public Attributes

Type

Name

std::vector< action >

context_free_actions

std::vector< action >

actions

extensions_type

transaction_extensions

Public Functions

Type

Name

transaction (time_point_sec exp = time_point_sec(current_time_point())+60)

void

send (const uint128_t & sender_id, name payer, bool replace_existing = false) const

Friends

Type

Name

friend DataStream &

operator<<

friend DataStream &

operator>>

Public Attributes Documentation

variable context_free_actions

std::vector<action> arisen:transaction::context_free_actions;

variable actions

std::vector<action> arisen::transaction::actions;

variable transaction_extensions

extensions_type arisen::transaction::transaction_extensions;

Public Functions Documentation

function transaction

arisen::transaction::transaction(
    time_point_sec exp = time_point_sec(current_time_point())+60
)

function send

void arisen::transaction::send(
    const uint128_t & sender_id,
    name payer,
    bool replace_existing = false
) const

Sends this transaction, packs the transaction then sends it as a deferred transaction Writes the symbol_code as a string to the provided char buffer

Parameters:

sender_id - ID of sender
payer - Account paying for RAM
replace_existing - Defaults to false, if this is 0/false then if the provided sender_id is already in use by an in-flight transaction from this contract, which will be a failing assert. If 1 then transaction will atomically cancel/replace the inflight transaction

Friends Documentation

friend operator<<

template<typename DataStream>
DataStream& operator<<(
    DataStream & ds,
    const transaction & t
)

friend operator>>

template<typename DataStream>
DataStream& operator>>(
    DataStream & ds,
    transaction & t
)

The documentation for this class was generated from the following file: libraries/arisenlib/contracts/arisen/transaction.hpp