Documentation ¶
Index ¶
- type OpCode
- type Operation
- func (op *Operation) CalcHash() *types.Hash
- func (op *Operation) CheckSignature() (bool, error)
- func (op *Operation) DeepCopy() *Operation
- func (op *Operation) Sign(sig *types.Signature)
- func (op *Operation) ToBytes() []byte
- func (op *Operation) ToJson() []byte
- func (op *Operation) ToMap() map[string]interface{}
- func (op *Operation) ToString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct { Address *types.Address Nonce uint64 OpCode OpCode Key []byte Value []byte Ext []byte Signature *types.Signature }
func GenerateTestOperation ¶
func GenerateTestOperation() *Operation
func JsonToOperation ¶
func NewOperation ¶
func (*Operation) CheckSignature ¶
Click to show internal directories.
Click to hide internal directories.