4#include "../core/ram_payer.hpp"
5#include <eosio/asset.hpp>
6#include <eosio/eosio.hpp>
9#include "../consts.hpp"
33 uint64_t
by_expired()
const {
return expired_at.sec_since_epoch(); }
36typedef eosio::multi_index<
38 eosio::indexed_by<
"byusername"_n, eosio::const_mem_fun<fwithdraw, uint64_t, &fwithdraw::by_username>>,
39 eosio::indexed_by<
"bystatus"_n, eosio::const_mem_fun<fwithdraw, uint64_t, &fwithdraw::by_status>>,
40 eosio::indexed_by<
"byexpired"_n, eosio::const_mem_fun<fwithdraw, uint64_t, &fwithdraw::by_expired>>>
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Definition: table_registrator_orgs.hpp:17
Definition: document_core.hpp:27
Definition: table_fund_fwithdraws.hpp:17
eosio::name status
Definition: table_fund_fwithdraws.hpp:21
uint64_t primary_key() const
Definition: table_fund_fwithdraws.hpp:29
uint64_t fund_id
Definition: table_fund_fwithdraws.hpp:23
uint64_t by_username() const
Definition: table_fund_fwithdraws.hpp:30
uint64_t by_status() const
Definition: table_fund_fwithdraws.hpp:31
eosio::name username
Definition: table_fund_fwithdraws.hpp:20
eosio::name coopname
Definition: table_fund_fwithdraws.hpp:19
document2 document
Definition: table_fund_fwithdraws.hpp:25
eosio::name type
Definition: table_fund_fwithdraws.hpp:22
eosio::asset quantity
Definition: table_fund_fwithdraws.hpp:24
uint64_t by_expired() const
Definition: table_fund_fwithdraws.hpp:33
std::string bank_data_id
Definition: table_fund_fwithdraws.hpp:26
uint64_t id
Definition: table_fund_fwithdraws.hpp:18
eosio::time_point_sec expired_at
Definition: table_fund_fwithdraws.hpp:27
eosio::multi_index< "fwithdraws"_n, fwithdraw, eosio::indexed_by<"byusername"_n, eosio::const_mem_fun< fwithdraw, uint64_t, &fwithdraw::by_username > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< fwithdraw, uint64_t, &fwithdraw::by_status > >, eosio::indexed_by<"byexpired"_n, eosio::const_mem_fun< fwithdraw, uint64_t, &fwithdraw::by_expired > > > fundwithdraws_index
Definition: table_fund_fwithdraws.hpp:41
RAM_PAYER_CLASS(fwithdraw, cooperative)