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 added in v1.1.1

type ContractData struct {
	ContractName    string
	ContractAbi     string
	ContractAddress string
}

type KeyTransReqData added in v1.1.1

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

func (*KeyTransReqData) GetEncryptionValue added in v1.1.1

func (f *KeyTransReqData) GetEncryptionValue() string

type KeyTransReqDataBody added in v1.1.1

type KeyTransReqDataBody struct {
	ContractName string `json:"contractName"` //合约名称
	TransData    string `json:"transData"`
}

type TransData added in v1.1.1

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"`
	//JSON string after serialization with []string , function name not included.
	FuncParam string `json:"funcParam"`
}

type TxTransReqData

type TxTransReqData struct {
	base.BaseReqModel
	Body TxTransReqDataBody `json:"body"`
}

func (*TxTransReqData) GetEncryptionValue

func (f *TxTransReqData) GetEncryptionValue() string

type TxTransReqDataBody

type TxTransReqDataBody struct {
	TxId string `json:"txHash"`
}

Jump to

Keyboard shortcuts

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