Documentation ¶
Index ¶
- func CallContractAndSign(txCreateInfo *TxCreateInfo, action *evmtypes.EVMContractAction, ...) (string, []byte, error)
- func CreateAndSignEvmTx(chainID int32, action proto.Message, execer, privateKeyStr, expire string, ...) (string, []byte, error)
- func CreateContractAndSign(txCreateInfo *TxCreateInfo, code, abi, parameter, contractName string) (string, []byte, error)
- func ParseFileInJson(file string, result interface{}) error
- func SendSignTxs2Chain33(filePath, rpcUrl string)
- func WriteContractFile(fileName string, content string)
- func WriteToFileInJson(fileName string, content interface{})
- type Chain33OfflineTx
- type TxCreateInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallContractAndSign ¶
func CallContractAndSign(txCreateInfo *TxCreateInfo, action *evmtypes.EVMContractAction, contractAddr string) (string, []byte, error)
func CreateAndSignEvmTx ¶
func CreateContractAndSign ¶
func CreateContractAndSign(txCreateInfo *TxCreateInfo, code, abi, parameter, contractName string) (string, []byte, error)
func ParseFileInJson ¶
func SendSignTxs2Chain33 ¶
func SendSignTxs2Chain33(filePath, rpcUrl string)
func WriteContractFile ¶
func WriteToFileInJson ¶
func WriteToFileInJson(fileName string, content interface{})
Types ¶
type Chain33OfflineTx ¶
Click to show internal directories.
Click to hide internal directories.