jsdk

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CDC = star.MakeCodec()

Functions

func BuyAd

func BuyAd(articleHash, coins, buyer string) string

func DispatchCoins

func DispatchCoins(addrs, cns, causecodes, causestrings, gas string) string

func InitJNI

func InitJNI()

func InvestAdBackground

func InvestAdBackground(txb string) string

func MimicCmd

func MimicCmd(cdc *wire.Codec) *cobra.Command

mimic cli for JNI

func NewArticle

func NewArticle(authorAddress, originAuthor, articleHash, shareAuthor, shareOriginAuthor, shareCommunity, shareInvestor, endInvestDate, endBuyDate string) string

func QSCCommitResultCheck

func QSCCommitResultCheck(txhash, height string) string

func QueryArticle

func QueryArticle(articleHash string) string

func QueryCoins

func QueryCoins(txHash string) string

func RetrieveBuyer

func RetrieveBuyer(articleHash string) string

func RetrieveInvestors

func RetrieveInvestors(articleHash string) string

func SendByJNI

func SendByJNI(fromStr string, toStr1 string, coinstr string) string

Types

type ResultBuy

type ResultBuy struct {
	Code   string          `json:"code"`
	Reason string          `json:"reason,omitempty"`
	Result json.RawMessage `json:"result,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL