rpc

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(name string, s types.RPCServer)

Init 初始化rpc实例

Types

type Grpc

type Grpc struct {
	// contains filtered or unexported fields
}

Grpc 申明Grpc结构体

type Jrpc

type Jrpc struct {
	// contains filtered or unexported fields
}

Jrpc 申明Jrpc结构体

func (*Jrpc) MultiSigAccCreateTx

func (c *Jrpc) MultiSigAccCreateTx(param *mty.MultiSigAccCreate, result *interface{}) error

MultiSigAccCreateTx :构造创建多重签名账户的交易

func (*Jrpc) MultiSigAccOperateTx

func (c *Jrpc) MultiSigAccOperateTx(param *mty.MultiSigAccOperate, result *interface{}) error

MultiSigAccOperateTx :构造修改多重签名账户属性的交易

func (*Jrpc) MultiSigAccTransferInTx

func (c *Jrpc) MultiSigAccTransferInTx(param *mty.MultiSigExecTransferTo, result *interface{}) error

MultiSigAccTransferInTx :构造在多重签名合约中转账到多重签名账户的交易

func (*Jrpc) MultiSigAccTransferOutTx

func (c *Jrpc) MultiSigAccTransferOutTx(param *mty.MultiSigExecTransferFrom, result *interface{}) error

MultiSigAccTransferOutTx :构造在多重签名合约中从多重签名账户转账的交易

func (*Jrpc) MultiSigAddresList

func (c *Jrpc) MultiSigAddresList(in *types.ReqString, result *interface{}) error

MultiSigAddresList 获取owner地址上的多重签名账户列表{multiSigAddr,owneraddr,weight}

func (*Jrpc) MultiSigConfirmTx

func (c *Jrpc) MultiSigConfirmTx(param *mty.MultiSigConfirmTx, result *interface{}) error

MultiSigConfirmTx :构造确认多重签名账户的交易

func (*Jrpc) MultiSigOwnerOperateTx

func (c *Jrpc) MultiSigOwnerOperateTx(param *mty.MultiSigOwnerOperate, result *interface{}) error

MultiSigOwnerOperateTx :构造修改多重签名账户owner属性的交易

Source Files

Jump to

Keyboard shortcuts

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