1 /******************************************************************************
2 * Copyright © 2014-2018 The SuperNET Developers. *
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. *
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 *
12 * Removal or modification of this copyright notice is prohibited. *
14 ******************************************************************************/
20 #include "CCinclude.h"
22 #define EVAL_AUCTION 0xe8
24 bool AuctionValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx);
26 std::string AuctionPost(uint64_t txfee,uint256 itemhash,uint64_t minbid,char *title,char *description);
27 std::string AuctionBid(uint64_t txfee,uint256 itemhash,uint64_t amount);
28 std::string AuctionDeliver(uint64_t txfee,uint256 itemhash,uint256 bidtxid);