]> Git Repo - VerusCoin.git/blame - src/cc/CCrewards.h
Ensure export finalization edge case
[VerusCoin.git] / src / cc / CCrewards.h
CommitLineData
287efad4 1/******************************************************************************
2 * Copyright © 2014-2018 The SuperNET Developers. *
3 * *
4 * See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at *
5 * the top-level directory of this distribution for the individual copyright *
6 * holder information and the developer policies on copyright and licensing. *
7 * *
8 * Unless otherwise agreed in a custom licensing agreement, no part of the *
9 * SuperNET software, including this file may be copied, modified, propagated *
10 * or distributed except according to the terms contained in the LICENSE file *
11 * *
12 * Removal or modification of this copyright notice is prohibited. *
13 * *
14 ******************************************************************************/
15
16
17#ifndef CC_REWARDS_H
18#define CC_REWARDS_H
19
20#include "CCinclude.h"
21
22#define EVAL_REWARDS 0xe5
0c3cdfb4 23#define REWARDSCC_MAXAPR (COIN * 25)
287efad4 24
4ecaf167 25bool RewardsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx, uint32_t nIn, bool fulfilled);
fdd22810 26UniValue RewardsInfo(uint256 rewardid);
27UniValue RewardsList();
287efad4 28
46bbc433 29std::string RewardsCreateFunding(uint64_t txfee,char *planstr,int64_t funds,int64_t APR,int64_t minseconds,int64_t maxseconds,int64_t mindeposit);
30std::string RewardsAddfunding(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t amount);
31std::string RewardsLock(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t amount);
c4e7f616 32std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 locktxid);
287efad4 33
34#endif
This page took 0.135959 seconds and 4 git commands to generate.