node

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockReqData

type BlockReqData struct {
	base.BaseReqModel
	Body BlockReqDataBody `json:"body"`
}

func (*BlockReqData) GetEncryptionValue

func (f *BlockReqData) GetEncryptionValue() string

type BlockReqDataBody

type BlockReqDataBody struct {
	BlockNumber string `json:"blockNumber"`
	BlockHash   string `json:"blockHash"`
}

type ContractData

type ContractData struct {
	ContractName    string
	ContractAbi     string
	ContractAddress string
}

type KeyTransReqData

type KeyTransReqData struct {
	base.BaseReqModel
	Body KeyTransReqDataBody `json:"body"` //消息体
}

func (*KeyTransReqData) GetEncryptionValue

func (f *KeyTransReqData) GetEncryptionValue() string

type KeyTransReqDataBody

type KeyTransReqDataBody struct {
	ContractName    string `json:"contractName"` //合约名称
	TransData       string `json:"transData"`
	ContractAddress string `json:"contractAddress,omitempty"`
	ContractAbi     string `json:"contractAbi,omitempty"`
}

type LedgerReqData

type LedgerReqData struct {
	base.BaseReqModel
	Body LedgerReqDataBody `json:"body"`
}

func (*LedgerReqData) GetEncryptionValue

func (f *LedgerReqData) GetEncryptionValue() string

type LedgerReqDataBody

type LedgerReqDataBody struct {
}

type TransData

type TransData struct {
	Contract ContractData
	FuncName string
	Args     []interface{}
	UserName string
}

type TransReqData

type TransReqData struct {
	base.BaseReqModel
	Body TransReqDataBody `json:"body"`
}

func (*TransReqData) GetEncryptionValue

func (f *TransReqData) GetEncryptionValue() string

type TransReqDataBody

type TransReqDataBody struct {
	UserId       string `json:"userId"`
	ContractName string `json:"contractName"`
	FuncName     string `json:"funcName"`
	FuncParam    string `json:"funcParam"`
}

type TxReqData

type TxReqData struct {
	base.BaseReqModel
	Body TxReqDataBody `json:"body"`
}

func (*TxReqData) GetEncryptionValue

func (f *TxReqData) GetEncryptionValue() string

type TxReqDataBody

type TxReqDataBody struct {
	TxHash string `json:"txHash"`
}

Jump to

Keyboard shortcuts

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