Documentation ¶
Overview ¶
---------------------------------------------------------------------------------------------
- Copyright (c) IBAX. All rights reserved.
- See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
- Copyright (c) IBAX. All rights reserved.
- See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalTransaction ¶
func NewInternalTransaction(smartTx types.SmartTransaction, privateKey []byte) (data, hash []byte, err error)
func NewTransactionInProc ¶
func NewTransactionInProc(smartTx types.SmartTransaction, privateKey []byte) (data, hash []byte, err error)
Types ¶
type SmartTransactionParser ¶
type SmartTransactionParser struct {
*smart.SmartContract
}
func (*SmartTransactionParser) BinMarshalWithPrivate ¶
func (s *SmartTransactionParser) BinMarshalWithPrivate(smartTx *types.SmartTransaction, privateKey []byte, internal bool) ([]byte, error)
func (*SmartTransactionParser) Marshal ¶
func (s *SmartTransactionParser) Marshal() ([]byte, error)
func (*SmartTransactionParser) Validate ¶
func (s *SmartTransactionParser) Validate() error
Click to show internal directories.
Click to hide internal directories.