From 83806bd7e855f9029cde2104f0ce464ea02289ba Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jul 2018 03:26:42 -1100 Subject: [PATCH] Test --- src/wallet/rpcwallet.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 7455b532b..9878451a4 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4831,6 +4831,17 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt } #include "../cc/CCassets.h" +uint64_t GetAssetBalance(CPubKey pk,uint256 tokenid); +uint64_t AddAssetInputs(CMutableTransaction &mtx,CPubKey pk,uint256 assetid,uint64_t total,int32_t maxinputs); +UniValue AssetOrders(uint256 tokenid); +std::string CreateAsset(uint64_t txfee,uint64_t assetsupply,std::string name,std::string description); +std::string AssetTransfer(uint64_t txfee,uint256 assetid,std::vector destpubkey,uint64_t total); +std::string CreateBuyOffer(uint64_t txfee,uint64_t bidamount,uint256 assetid,uint64_t pricetotal); +std::string CancelBuyOffer(uint64_t txfee,uint256 assetid,uint256 bidtxid); +std::string FillBuyOffer(uint64_t txfee,uint256 assetid,uint256 bidtxid,uint64_t fillamount); +std::string CreateSell(uint64_t txfee,uint64_t askamount,uint256 assetid,uint256 assetid2,uint64_t pricetotal); +std::string CancelSell(uint64_t txfee,uint256 assetid,uint256 asktxid); +std::string FillSell(uint64_t txfee,uint256 assetid,uint256 assetid2,uint256 asktxid,uint64_t fillamount); UniValue tokenorders(const UniValue& params, bool fHelp) {