Documentation ¶
Index ¶
- func EthOfflineCmd() *cobra.Command
- func SignEIP155Tx(key *ecdsa.PrivateKey, tx *types.Transaction, chainEthId int64) (signedTx, hash string, err error)
- func SignTx(key *ecdsa.PrivateKey, tx *types.Transaction) (signedTx, hash string, err error)
- func TransferOwnerShipHandle(nonce uint64, gasPrice *big.Int, newOwner, contract string, ...) (signedtx, hash string, err error)
- type AddPool
- type DeployContract
- type SignCakeToken
- type SignCmd
- type SignPanCakeRout
- type SignWeth9Cmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthOfflineCmd ¶
func SignEIP155Tx ¶ added in v1.66.0
func SignEIP155Tx(key *ecdsa.PrivateKey, tx *types.Transaction, chainEthId int64) (signedTx, hash string, err error)
func SignTx ¶
func SignTx(key *ecdsa.PrivateKey, tx *types.Transaction) (signedTx, hash string, err error)
func TransferOwnerShipHandle ¶
Types ¶
type AddPool ¶
type AddPool struct {
// contains filtered or unexported fields
}
func (*AddPool) AddPoolCmd ¶
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 { }
Click to show internal directories.
Click to hide internal directories.