]> Git Repo - VerusCoin.git/blame - src/cc/CCOracles.h
Add support for new identity "i" address as CtxDestination, which can specify global...
[VerusCoin.git] / src / cc / CCOracles.h
CommitLineData
c926780f 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
1afe09ff 17#ifndef CC_ORACLES_H
18#define CC_ORACLES_H
c926780f 19
20#include "CCinclude.h"
21
8a727a26 22bool OraclesValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx, uint32_t nIn);
366625ca 23std::string OracleCreate(int64_t txfee,std::string name,std::string description,std::string format);
24std::string OracleRegister(int64_t txfee,uint256 oracletxid,int64_t datafee);
25std::string OracleSubscribe(int64_t txfee,uint256 oracletxid,CPubKey publisher,int64_t amount);
26std::string OracleData(int64_t txfee,uint256 oracletxid,std::vector <uint8_t> data);
c926780f 27
28// CCcustom
26ca942e 29UniValue OracleDataSamples(uint256 reforacletxid,uint256 batontxid,int32_t num);
366625ca 30UniValue OracleInfo(uint256 origtxid);
31UniValue OraclesList();
c926780f 32
33#endif
This page took 0.084637 seconds and 4 git commands to generate.