eth

package
v0.0.0-...-1cd0363 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploySimpleMultiSigContract

func DeploySimpleMultiSigContract(rpcHost string, chainID big.Int, privkHex string, hexAddress []string, mRequired uint8) (string, error)

DeploySimpleMultiSigContract 创建部署一个多签合约,返回合约地址 rpcHost: rpc host,address: 签名的参与者, mRequired: m-n 至少多少人签名生效 return: address_hex,txid

func ExecuteTX

func ExecuteTX(txp *TxParams) (string, error)

ExecuteTX .

func GetContractInfo

func GetContractInfo(rpcHost, contractAddress string) (addrs []string, mRequired int64, err error)

GetContractInfo 获取多签合约地址内的地址和签名人数

Types

type TxParams

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

TxParams 交易参数

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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