]> Git Repo - VerusCoin.git/blame - src/cc/CCdice.h
Dice refund
[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);
5d3d3a87 27std::string DiceLoser(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettxid);
544593c6 28std::string DiceRefund(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettxid);
5d3d3a87 29std::string DiceWinner(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettxid);
5bd03ad7 30std::string DiceCreateFunding(uint64_t txfee,char *planstr,int64_t funds,int64_t minbet,int64_t maxbet,int64_t maxodds,int64_t forfeitblocks);
6a046438 31std::string DiceAddfunding(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t amount);
c857567a 32UniValue DiceInfo(uint256 diceid);
33UniValue DiceList();
cfea7a46 34
35#endif
This page took 0.041668 seconds and 4 git commands to generate.