3#include <eosio/asset.hpp>
4#include <eosio/eosio.hpp>
7#include "../consts.hpp"
31 uint64_t
by_expired()
const {
return expired_at.sec_since_epoch(); }
34typedef eosio::multi_index<
36 eosio::indexed_by<
"byusername"_n, eosio::const_mem_fun<fwithdraw, uint64_t, &fwithdraw::by_username>>,
37 eosio::indexed_by<
"bystatus"_n, eosio::const_mem_fun<fwithdraw, uint64_t, &fwithdraw::by_status>>,
38 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: document_core.hpp:27
Definition: table_fund_fwithdraws.hpp:15
eosio::name status
Definition: table_fund_fwithdraws.hpp:19
uint64_t primary_key() const
Definition: table_fund_fwithdraws.hpp:27
uint64_t fund_id
Definition: table_fund_fwithdraws.hpp:21
uint64_t by_username() const
Definition: table_fund_fwithdraws.hpp:28
uint64_t by_status() const
Definition: table_fund_fwithdraws.hpp:29
eosio::name username
Definition: table_fund_fwithdraws.hpp:18
eosio::name coopname
Definition: table_fund_fwithdraws.hpp:17
document2 document
Definition: table_fund_fwithdraws.hpp:23
eosio::name type
Definition: table_fund_fwithdraws.hpp:20
eosio::asset quantity
Definition: table_fund_fwithdraws.hpp:22
uint64_t by_expired() const
Definition: table_fund_fwithdraws.hpp:31
std::string bank_data_id
Definition: table_fund_fwithdraws.hpp:24
uint64_t id
Definition: table_fund_fwithdraws.hpp:16
eosio::time_point_sec expired_at
Definition: table_fund_fwithdraws.hpp:25
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:39