Rewardslist rewardsinfo

This commit is contained in:
jl777
2018-07-27 02:07:40 -11:00
parent 5f3e6795db
commit fdd2281045
5 changed files with 74 additions and 0 deletions

View File

@@ -22,6 +22,8 @@
#define EVAL_REWARDS 0xe5
bool RewardsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx);
UniValue RewardsInfo(uint256 rewardid);
UniValue RewardsList();
std::string RewardsCreateFunding(uint64_t txfee,char *planstr,uint64_t funds,uint64_t APR,uint64_t minseconds,uint64_t maxseconds,uint64_t mindeposit);
std::string RewardsAddfunding(uint64_t txfee,char *planstr,uint256 fundingtxid,uint64_t amount);