dmjson

package
v0.0.0-...-4f625b6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DmBlockTransaction

type DmBlockTransaction struct {
	Amount        string `json:"amount"`
	AuthoritySign string `json:"authority_sign"`
	Black         string `json:"black"`
	BlockNum      string `json:"blockNum"`
	Chaincode     string `json:"chaincode"`
	Error         string `json:"error"`
	Facc          string `json:"facc"`
	MinerNormal   string `json:"minerNormal"`
	MinerSuper    string `json:"minerSuper"`
	NMinerFee     string `json:"nMinerFee"`
	Remark        string `json:"remark"`
	SMinerFee     string `json:"sMinerFee"`
	Status        string `json:"status"`
	Tacc          string `json:"tacc"`
	Time          string `json:"time"`
	TxID          string `json:"txId"`
	Type          string `json:"type"`
}

type DmCreateTransactionCmd

type DmCreateTransactionCmd struct {
	Cc     string
	From   string
	To     string
	Amo    string
	Remark string
	Txid   string
	Nonce  string
	Sign   string
	Fee    string
}

func NewDmCreateTransactionCmd

func NewDmCreateTransactionCmd(cc string, from string, to string,
	amo string, remark string, txid string, nonce string, sign string, fee string) *DmCreateTransactionCmd

type DmCryptoInfo

type DmCryptoInfo struct {
	Cipher     string `json:"cipher"`
	CipherText string `json:"ciphertext"`
}

type DmGetBalanceCmd

type DmGetBalanceCmd struct {
	Cmd  string
	Args string
	Cc   string
}

func NewDmGetBalanceCmd

func NewDmGetBalanceCmd(address string, token string) *DmGetBalanceCmd

type DmGetBlockCountCmd

type DmGetBlockCountCmd struct {
	Method string
}

func NewDmGetBlockCountCmd

func NewDmGetBlockCountCmd() *DmGetBlockCountCmd

type DmGetBlockHeightCmd

type DmGetBlockHeightCmd struct {
	Cmd string
	Cc  string
}

func NewDmGetBlockHeightCmd

func NewDmGetBlockHeightCmd() *DmGetBlockHeightCmd

type DmGetNewAddressCmd

type DmGetNewAddressCmd struct {
	Cmd string
	Psw string
}

func NewDmGetNewAddressCmd

func NewDmGetNewAddressCmd(psw string) *DmGetNewAddressCmd

type DmGetNewAddressResult

type DmGetNewAddressResult struct {
	Address string       `json:"address"`
	Crypto  DmCryptoInfo `json:"crypto"`
}

type DmGetTokenInfoCmd

type DmGetTokenInfoCmd struct {
	Cc string
}

func NewDmGetTokenInfoCmd

func NewDmGetTokenInfoCmd(cc string) *DmGetTokenInfoCmd

type DmGetTransactionDetailCmd

type DmGetTransactionDetailCmd struct {
	Method string
	Tx     string
}

func NewDmGetTransactionDetailCmd

func NewDmGetTransactionDetailCmd(tx string) *DmGetTransactionDetailCmd

type DmGetTransactionDetailResult

type DmGetTransactionDetailResult struct {
	Amount        string `json:"amount"`
	AuthoritySign string `json:"authority_sign"`
	BlockNum      string `json:"blockNum"`
	Error         string `json:"error"`
	Fee           string `json:"fee"`
	In            string `json:"in"`
	Out           string `json:"out"`
	Remark        string `json:"remark"`
	Status        string `json:"status"`
	Sum           string `json:"sum"`
	Time          string `json:"time"`
	Token         string `json:"token"`
	TxID          string `json:"txId"`
	Type          string `json:"type"`
}

type DmGetTransactionIdCmd

type DmGetTransactionIdCmd struct {
	Cnt int
}

func NewDmGetTransactionIdCmd

func NewDmGetTransactionIdCmd(cnt int) *DmGetTransactionIdCmd

type DmGetTransactionIdResutl

type DmGetTransactionIdResutl struct {
	Txid  string
	Nonce string
}

type DmGetTransactionsByBlockIdCmd

type DmGetTransactionsByBlockIdCmd struct {
	Method string
	Blk    int64
}

func NewDmGetTransactionsByBlockIdCmd

func NewDmGetTransactionsByBlockIdCmd(blockHeight int64) *DmGetTransactionsByBlockIdCmd

type DmTokenInfo

type DmTokenInfo struct {
	Name        string `json:"name"`
	Cc          string `json:"cc"`
	Creator     string `json:"creator"`
	Desc        string `json:"desc"`
	Total       string `json:"total"`
	URL         string `json:"url"`
	Decimal     string `json:"decimal"`
	Mineral     string `json:"mineral"`
	Award       string `json:"award"`
	Email       string `json:"email"`
	TokenCharge string `json:"tokenCharge"`
	Charge      string `json:"charge"`
	PublishTime string `json:"publishTime"`
	Deflation   string `json:"deflation"`
}

Jump to

Keyboard shortcuts

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