Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
rex.results.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <sysio/asset.hpp>
4#include <sysio/sysio.hpp>
5#include <sysio/name.hpp>
6
7using sysio::action_wrapper;
8using sysio::asset;
9using sysio::name;
10
17class [[sysio::contract("rex.results")]] rex_results : sysio::contract {
18 public:
19
20 using sysio::contract::contract;
21
28 void buyresult( const asset& rex_received );
29
36 void sellresult( const asset& proceeds );
37
45 void orderresult( const name& owner, const asset& proceeds );
46
53 void rentresult( const asset& rented_tokens );
54
55 using buyresult_action = action_wrapper<"buyresult"_n, &rex_results::buyresult>;
56 using sellresult_action = action_wrapper<"sellresult"_n, &rex_results::sellresult>;
57 using orderresult_action = action_wrapper<"orderresult"_n, &rex_results::orderresult>;
58 using rentresult_action = action_wrapper<"rentresult"_n, &rex_results::rentresult>;
59};
action_wrapper<"sellresult"_n, &rex_results::sellresult > sellresult_action
void sellresult(const asset &proceeds)
action_wrapper<"rentresult"_n, &rex_results::rentresult > rentresult_action
void buyresult(const asset &rex_received)
action_wrapper<"orderresult"_n, &rex_results::orderresult > orderresult_action
void orderresult(const name &owner, const asset &proceeds)
void rentresult(const asset &rented_tokens)
action_wrapper<"buyresult"_n, &rex_results::buyresult > buyresult_action
Immutable except for fc::from_variant.
Definition name.hpp:43