]>
Commit | Line | Data |
---|---|---|
69829385 | 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_LOTTO_H | |
18 | #define CC_LOTTO_H | |
19 | ||
20 | #include "CCinclude.h" | |
21 | ||
22 | #define EVAL_LOTTO 0xe9 | |
23 | ||
8a727a26 | 24 | bool LottoValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx, uint32_t nIn); |
69829385 | 25 | |
e0f78699 | 26 | UniValue LottoInfo(uint256 lottoid); |
27 | UniValue LottoList(); | |
59da6d30 | 28 | std::string LottoTicket(uint64_t txfee,int64_t numtickets); |
69829385 | 29 | std::string LottoWinner(uint64_t txfee); |
30 | ||
31 | #endif |