Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateType ¶
type StateType uint32
func GetStateTypeByName ¶
func GetStateTypes ¶
func GetStateTypes() []StateType
func (StateType) MarshalText ¶
func (*StateType) UnmarshalText ¶
type Transaction ¶
type Transaction interface { core.Indexable crypto.Signable GetTransactionType() TransactionType }
type TransactionResult ¶
type TransactionResult int16
func (TransactionResult) Desc ¶
func (t TransactionResult) Desc() string
func (TransactionResult) MarshalText ¶
func (r TransactionResult) MarshalText() ([]byte, error)
func (TransactionResult) Register ¶
func (t TransactionResult) Register(name string, desc string)
func (TransactionResult) String ¶
func (t TransactionResult) String() string
func (*TransactionResult) UnmarshalText ¶
func (r *TransactionResult) UnmarshalText(b []byte) error
type TransactionType ¶
type TransactionType uint32
func GetTransactionTypeByName ¶
func GetTransactionTypeByName(name string) TransactionType
func GetTransactionTypes ¶
func GetTransactionTypes() []TransactionType
func (TransactionType) Create ¶
func (t TransactionType) Create() Transaction
func (TransactionType) MarshalText ¶
func (t TransactionType) MarshalText() ([]byte, error)
func (TransactionType) Register ¶
func (t TransactionType) Register(name string, f func(t TransactionType) Transaction)
func (TransactionType) String ¶
func (t TransactionType) String() string
func (*TransactionType) UnmarshalText ¶
func (t *TransactionType) UnmarshalText(b []byte) error
type TransactionWithData ¶
type TransactionWithData interface { crypto.Hashable GetTransaction() Transaction GetReceipt() Receipt }
Click to show internal directories.
Click to hide internal directories.