Wire Sysio Wire Sysion 1.0.0
|
#include <rex.results.hpp>
Public Types | |
using | buyresult_action = action_wrapper<"buyresult"_n, &rex_results::buyresult> |
using | sellresult_action = action_wrapper<"sellresult"_n, &rex_results::sellresult> |
using | orderresult_action = action_wrapper<"orderresult"_n, &rex_results::orderresult> |
using | rentresult_action = action_wrapper<"rentresult"_n, &rex_results::rentresult> |
Public Member Functions | |
void | buyresult (const asset &rex_received) |
void | sellresult (const asset &proceeds) |
void | orderresult (const name &owner, const asset &proceeds) |
void | rentresult (const asset &rented_tokens) |
The actions buyresult
, sellresult
, rentresult
, and orderresult
of rex.results
are all no-ops. They are added as inline convenience actions to rentnet
, rentcpu
, buyrex
, unstaketorex
, and sellrex
. An inline convenience action does not have any effect, however, its data includes the result of the parent action and appears in its trace.
Definition at line 17 of file rex.results.hpp.
using rex_results::buyresult_action = action_wrapper<"buyresult"_n, &rex_results::buyresult> |
Definition at line 55 of file rex.results.hpp.
using rex_results::orderresult_action = action_wrapper<"orderresult"_n, &rex_results::orderresult> |
Definition at line 57 of file rex.results.hpp.
using rex_results::rentresult_action = action_wrapper<"rentresult"_n, &rex_results::rentresult> |
Definition at line 58 of file rex.results.hpp.
using rex_results::sellresult_action = action_wrapper<"sellresult"_n, &rex_results::sellresult> |
Definition at line 56 of file rex.results.hpp.
void rex_results::buyresult | ( | const asset & | rex_received | ) |
Buyresult action.
rex_received | - amount of tokens used in buy order |
Definition at line 3 of file rex.results.cpp.
Orderresult action.
owner | - the owner of the order |
proceeds | - amount of tokens used in order |
Definition at line 7 of file rex.results.cpp.
void rex_results::rentresult | ( | const asset & | rented_tokens | ) |
Rentresult action.
rented_tokens | - amount of rented tokens |
Definition at line 9 of file rex.results.cpp.
void rex_results::sellresult | ( | const asset & | proceeds | ) |
Sellresult action.
proceeds | - amount of tokens used in sell order |
Definition at line 5 of file rex.results.cpp.