Documentation
¶
Index ¶
- type Issuance
- type SyncState
- type TransactionResult
- type TransactionStateChange
- func (t *TransactionStateChange) MarshalJSON() ([]byte, error)
- func (t *TransactionStateChange) MarshalYAML() ([]byte, error)
- func (t *TransactionStateChange) String() string
- func (t *TransactionStateChange) UnmarshalJSON(input []byte) error
- func (t *TransactionStateChange) UnmarshalYAML(input []byte) error
- type TransactionStateDiff
- type TransactionStorageChange
- func (t *TransactionStorageChange) MarshalJSON() ([]byte, error)
- func (t *TransactionStorageChange) MarshalYAML() ([]byte, error)
- func (t *TransactionStorageChange) String() string
- func (t *TransactionStorageChange) UnmarshalJSON(input []byte) error
- func (t *TransactionStorageChange) UnmarshalYAML(input []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issuance ¶ added in v0.2.1
Issuance contains issuance for a block.
func (*Issuance) MarshalJSON ¶ added in v0.2.1
MarshalJSON implements json.Marshaler.
func (*Issuance) MarshalYAML ¶ added in v0.2.1
MarshalYAML implements yaml.Marshaler.
func (*Issuance) UnmarshalJSON ¶ added in v0.2.1
UnmarshalJSON implements json.Unmarshaler.
func (*Issuance) UnmarshalYAML ¶ added in v0.2.1
UnmarshalYAML implements yaml.Unmarshaler.
type SyncState ¶ added in v0.2.0
SyncState contains the sync state.
func (*SyncState) MarshalJSON ¶ added in v0.2.0
MarshalJSON implements json.Marshaler.
func (*SyncState) MarshalYAML ¶ added in v0.2.0
MarshalYAML implements yaml.Marshaler.
func (*SyncState) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON implements json.Unmarshaler.
func (*SyncState) UnmarshalYAML ¶ added in v0.2.0
UnmarshalYAML implements yaml.Unmarshaler.
type TransactionResult ¶
type TransactionResult struct {
Output []byte
StateDiff map[string]*TransactionStateDiff
TransactionHash []byte
}
TransactionResult contains the result of a transaction.
func (*TransactionResult) MarshalJSON ¶
func (t *TransactionResult) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*TransactionResult) MarshalYAML ¶
func (t *TransactionResult) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*TransactionResult) String ¶
func (t *TransactionResult) String() string
String returns a string version of the structure.
func (*TransactionResult) UnmarshalJSON ¶
func (t *TransactionResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*TransactionResult) UnmarshalYAML ¶
func (t *TransactionResult) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type TransactionStateChange ¶
TransactionStateChange is a change to state, from one value to another.
func (*TransactionStateChange) MarshalJSON ¶
func (t *TransactionStateChange) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*TransactionStateChange) MarshalYAML ¶
func (t *TransactionStateChange) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*TransactionStateChange) String ¶
func (t *TransactionStateChange) String() string
String returns a string version of the structure.
func (*TransactionStateChange) UnmarshalJSON ¶
func (t *TransactionStateChange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*TransactionStateChange) UnmarshalYAML ¶
func (t *TransactionStateChange) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type TransactionStateDiff ¶
type TransactionStateDiff struct {
Output []byte
Balance *TransactionStateChange
Nonce *TransactionStateChange
Storage map[string]*TransactionStorageChange
}
TransactionStateDiff contains the changes made to a balance as a result of a transaction.
func (*TransactionStateDiff) MarshalJSON ¶
func (t *TransactionStateDiff) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*TransactionStateDiff) MarshalYAML ¶
func (t *TransactionStateDiff) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*TransactionStateDiff) String ¶
func (t *TransactionStateDiff) String() string
String returns a string version of the structure.
func (*TransactionStateDiff) UnmarshalJSON ¶
func (t *TransactionStateDiff) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*TransactionStateDiff) UnmarshalYAML ¶
func (t *TransactionStateDiff) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type TransactionStorageChange ¶
TransactionStorageChange is a change to state, from one value to another.
func (*TransactionStorageChange) MarshalJSON ¶
func (t *TransactionStorageChange) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*TransactionStorageChange) MarshalYAML ¶
func (t *TransactionStorageChange) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*TransactionStorageChange) String ¶
func (t *TransactionStorageChange) String() string
String returns a string version of the structure.
func (*TransactionStorageChange) UnmarshalJSON ¶
func (t *TransactionStorageChange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*TransactionStorageChange) UnmarshalYAML ¶
func (t *TransactionStorageChange) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.