offline

package
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: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EthOfflineCmd

func EthOfflineCmd() *cobra.Command

func SignTx

func SignTx(key *ecdsa.PrivateKey, tx *types.Transaction) (signedTx, hash string, err error)

func TransferOwnerShipHandle

func TransferOwnerShipHandle(nonce uint64, gasPrice *big.Int, newOwner, contract string, key *ecdsa.PrivateKey) (signedtx, hash string, err error)

Types

type AddPool

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

func (*AddPool) AddPool2Farm

func (a *AddPool) AddPool2Farm(cmd *cobra.Command, args []string)

func (*AddPool) AddPoolCmd

func (a *AddPool) AddPoolCmd() *cobra.Command

type DeployContract

type DeployContract struct {
	ContractAddr string
	TxHash       string
	Nonce        uint64
	RawTx        string
	ContractName string
	Interval     time.Duration
}

func (*DeployContract) DeployCmd

func (d *DeployContract) DeployCmd() *cobra.Command

type SignCakeToken

type SignCakeToken struct {
}

type SignCmd

type SignCmd struct {
	From        string
	Nonce       uint64
	GasPrice    uint64
	FactoryAddr string
	TxHash      string
	Fee2Addr    string
	Timestamp   string
	SignedTx    string
	Reward      uint64
	StartBlock  uint64
}

SignFactoryCmd 构造部署factory 合约的交易,并对其签名输出到文件中

type SignPanCakeRout

type SignPanCakeRout struct {
}

type SignWeth9Cmd

type SignWeth9Cmd struct {
}

Jump to

Keyboard shortcuts

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