handlers

package
v0.0.0-...-e58dc6b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SigData

func SigData(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

func SigMutilRawTransaction

func SigMutilRawTransaction(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

func SigNativeInvokeTx

func SigNativeInvokeTx(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

func SigNeoVMInvokeAbiTx

func SigNeoVMInvokeAbiTx(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

func SigNeoVMInvokeTx

func SigNeoVMInvokeTx(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

func SigRawTransaction

func SigRawTransaction(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

func SigTransferTransaction

func SigTransferTransaction(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)

Types

type SigDataReq

type SigDataReq struct {
	RawData string `json:"raw_data"`
}

type SigDataRsp

type SigDataRsp struct {
	SignedData string `json:"signed_data"`
}

type SigMutilRawTransactionReq

type SigMutilRawTransactionReq struct {
	RawTx   string   `json:"raw_tx"`
	M       int      `json:"m"`
	PubKeys []string `json:"pub_keys"`
}

type SigMutilRawTransactionRsp

type SigMutilRawTransactionRsp struct {
	SignedTx string `json:"signed_tx"`
}

type SigNativeInvokeTxReq

type SigNativeInvokeTxReq struct {
	GasPrice uint64        `json:"gas_price"`
	GasLimit uint64        `json:"gas_limit"`
	Address  string        `json:"address"`
	Method   string        `json:"method"`
	Params   []interface{} `json:"params"`
	Version  byte          `json:"version"`
}

type SigNativeInvokeTxRsp

type SigNativeInvokeTxRsp struct {
	SignedTx string `json:"signed_tx"`
}

type SigNeoVMInvokeTxAbiReq

type SigNeoVMInvokeTxAbiReq struct {
	GasPrice    uint64          `json:"gas_price"`
	GasLimit    uint64          `json:"gas_limit"`
	Address     string          `json:"address"`
	Method      string          `json:"method"`
	Params      []string        `json:"params"`
	ContractAbi json.RawMessage `json:"contract_abi"`
}

type SigNeoVMInvokeTxAbiRsp

type SigNeoVMInvokeTxAbiRsp struct {
	SignedTx string `json:"signed_tx"`
}

type SigNeoVMInvokeTxReq

type SigNeoVMInvokeTxReq struct {
	GasPrice uint64        `json:"gas_price"`
	GasLimit uint64        `json:"gas_limit"`
	Address  string        `json:"address"`
	Params   []interface{} `json:"params"`
}

type SigNeoVMInvokeTxRsp

type SigNeoVMInvokeTxRsp struct {
	SignedTx string `json:"signed_tx"`
}

type SigRawTransactionReq

type SigRawTransactionReq struct {
	RawTx string `json:"raw_tx"`
}

type SigRawTransactionRsp

type SigRawTransactionRsp struct {
	SignedTx string `json:"signed_tx"`
}

type SigTransferTransactionReq

type SigTransferTransactionReq struct {
	GasPrice uint64 `json:"gas_price"`
	GasLimit uint64 `json:"gas_limit"`
	Asset    string `json:"asset"`
	From     string `json:"from"`
	To       string `json:"to"`
	Amount   uint64 `json:"amount"`
}

type SinTransferTransactionRsp

type SinTransferTransactionRsp struct {
	SignedTx string `json:"signed_tx"`
}

Jump to

Keyboard shortcuts

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