Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
rex_results Class Reference

#include <rex.results.hpp>

Inheritance diagram for rex_results:
Collaboration diagram for rex_results:

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)
 

Detailed Description

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.

Member Typedef Documentation

◆ buyresult_action

using rex_results::buyresult_action = action_wrapper<"buyresult"_n, &rex_results::buyresult>

Definition at line 55 of file rex.results.hpp.

◆ orderresult_action

using rex_results::orderresult_action = action_wrapper<"orderresult"_n, &rex_results::orderresult>

Definition at line 57 of file rex.results.hpp.

◆ rentresult_action

using rex_results::rentresult_action = action_wrapper<"rentresult"_n, &rex_results::rentresult>

Definition at line 58 of file rex.results.hpp.

◆ sellresult_action

using rex_results::sellresult_action = action_wrapper<"sellresult"_n, &rex_results::sellresult>

Definition at line 56 of file rex.results.hpp.

Member Function Documentation

◆ buyresult()

void rex_results::buyresult ( const asset & rex_received)

Buyresult action.

Parameters
rex_received- amount of tokens used in buy order

Definition at line 3 of file rex.results.cpp.

3{ }

◆ orderresult()

void rex_results::orderresult ( const name & owner,
const asset & proceeds )

Orderresult action.

Parameters
owner- the owner of the order
proceeds- amount of tokens used in order

Definition at line 7 of file rex.results.cpp.

7{ }

◆ rentresult()

void rex_results::rentresult ( const asset & rented_tokens)

Rentresult action.

Parameters
rented_tokens- amount of rented tokens

Definition at line 9 of file rex.results.cpp.

9{ }

◆ sellresult()

void rex_results::sellresult ( const asset & proceeds)

Sellresult action.

Parameters
proceeds- amount of tokens used in sell order

Definition at line 5 of file rex.results.cpp.

5{ }

The documentation for this class was generated from the following files: