offline

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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToken2LockListTx

func AddToken2LockListTx(cmd *cobra.Command, _ []string)

func AddToken2LockListTxFlags

func AddToken2LockListTxFlags(cmd *cobra.Command)

func ConfigLockedTokenOfflineSave

func ConfigLockedTokenOfflineSave(cmd *cobra.Command, _ []string)

func ConfigLockedTokenOfflineSaveCmd

func ConfigLockedTokenOfflineSaveCmd() *cobra.Command

func ConfigLockedTokenOfflineSaveFlags

func ConfigLockedTokenOfflineSaveFlags(cmd *cobra.Command)

ConfigLockedTokenOfflineSaveFlags ...

func CreateAddToken2LockListTxCmd

func CreateAddToken2LockListTxCmd() *cobra.Command

func CreateBridgeTokenTx

func CreateBridgeTokenTx(cmd *cobra.Command, _ []string)

func CreateBridgeTokenTxCmd

func CreateBridgeTokenTxCmd() *cobra.Command

func CreateBridgeTokenTxFlags

func CreateBridgeTokenTxFlags(cmd *cobra.Command)

func CreateCfgAccountTxCmd

func CreateCfgAccountTxCmd() *cobra.Command

func CreateCmd

func CreateCmd() *cobra.Command

CreateCmd 查询deploy 私钥的nonce信息,并输出到文件中

func CreateMultisignTransferTx

func CreateMultisignTransferTx(cmd *cobra.Command, _ []string)

func CreateMultisignTransferTxCmd

func CreateMultisignTransferTxCmd() *cobra.Command

CreateMultisignTransferTxCmd 创建多签转帐交易

func CreateTxInfoAndWrite

func CreateTxInfoAndWrite(abiData []byte, deployAddr, contract, name, url string)

func CreateWithFileCmd

func CreateWithFileCmd() *cobra.Command

func DeployERC20

func DeployERC20(cmd *cobra.Command, _ []string)

func DeployERC20Cmd

func DeployERC20Cmd() *cobra.Command

func DeployERC20Flags

func DeployERC20Flags(cmd *cobra.Command)

func DeployOfflineContractsCmd

func DeployOfflineContractsCmd() *cobra.Command

func InitCfg

func InitCfg(filepath string, cfg interface{})

func NewTxWrite

func NewTxWrite(infos []*DeployInfo, deployerAddr common.Address, url, fileName string) error

func PreliminarySignMultisignTransferTxCmd

func PreliminarySignMultisignTransferTxCmd() *cobra.Command

PreliminarySignMultisignTransferTxCmd 多签转帐交易 多签多个地址签名 离线

func PrepareCreateMultisignTransferTxCmd

func PrepareCreateMultisignTransferTxCmd() *cobra.Command

PrepareCreateMultisignTransferTxCmd 预备创建一个多签转帐交易 在线

func SendTxsCmd

func SendTxsCmd() *cobra.Command

func SetupCmd

func SetupCmd() *cobra.Command

func SetupOwner

func SetupOwner(cmd *cobra.Command, _ []string)

func SetupOwnerFlags

func SetupOwnerFlags(cmd *cobra.Command)

func SignCmd

func SignCmd() *cobra.Command

Types

type DeployConfigInfo

type DeployConfigInfo struct {
	DeployerPrivateKey string   `toml:"deployerPrivateKey"`
	ValidatorsAddr     []string `toml:"validatorsAddr"`
	InitPowers         []int64  `toml:"initPowers"`
}

type DeployContractRet

type DeployContractRet struct {
	ContractAddr string
	TxHash       string
	ContractName string
}

type DeployInfo

type DeployInfo struct {
	Name           string
	PackData       []byte
	ContractorAddr common.Address
	Nonce          uint64
	To             *common.Address
	RawTx          string
	TxHash         string
	Gas            uint64
}

Jump to

Keyboard shortcuts

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