Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventsFilter ¶ added in v0.3.0
type EventsFilter struct { FromBlock string ToBlock string Address *types.Address Topics []types.Hash }
EventsFilter contains the events filter.
func (*EventsFilter) MarshalJSON ¶ added in v0.3.0
func (e *EventsFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*EventsFilter) String ¶ added in v0.4.0
func (e *EventsFilter) String() string
String returns a string version of the structure.
func (*EventsFilter) UnmarshalJSON ¶ added in v0.4.0
func (e *EventsFilter) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
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) UnmarshalJSON ¶ added in v0.2.1
UnmarshalJSON implements json.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) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON implements json.Unmarshaler.
type TransactionResult ¶
type TransactionResult struct { Output []byte StateDiff map[types.Address]*TransactionStateDiff TransactionHash types.Hash }
TransactionResult contains the result of a transaction.
func (*TransactionResult) MarshalJSON ¶
func (t *TransactionResult) MarshalJSON() ([]byte, error)
MarshalJSON implements json.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.
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) 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.
type TransactionStateDiff ¶
type TransactionStateDiff struct { Output []byte Balance *TransactionStateChange Nonce *TransactionStateChange Storage map[types.Hash]*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) 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.
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) 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.