]> Git Repo - VerusCoin.git/blame - src/cc/CCdice.h
Test
[VerusCoin.git] / src / cc / CCdice.h
CommitLineData
cfea7a46 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
2fcf7a42 17#ifndef CC_DICE_H
18#define CC_DICE_H
cfea7a46 19
20#include "CCinclude.h"
21
22#define EVAL_DICE 0xe6
23
24bool DiceValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx);
25
7d821112 26std::string DiceBet(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t bet,int32_t odds);
7e988759 27std::string DiceBetFinish(int32_t *resultp,uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettxid,int32_t winlosetimeout);
28std::string DiceStatus(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettxid);
9025093e 29std::string DiceCreateFunding(uint64_t txfee,char *planstr,int64_t funds,int64_t minbet,int64_t maxbet,int64_t maxodds,int64_t timeoutblocks);
6a046438 30std::string DiceAddfunding(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t amount);
c857567a 31UniValue DiceInfo(uint256 diceid);
32UniValue DiceList();
cfea7a46 33
34#endif
This page took 0.054574 seconds and 4 git commands to generate.