Class ContractStateChangeData
A contract storage slot a call read, and possibly wrote.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class ContractStateChangeData
Properties
| Edit this page View SourceAddress
The EVM address of the contract owning the slot.
Declaration
[JsonPropertyName("address")]
public EvmAddress Address { get; set; }
Property Value
| Type | Description |
|---|---|
| EvmAddress |
Contract
The HAPI entity id of the contract owning the slot.
Declaration
[JsonPropertyName("contract_id")]
public EntityId Contract { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Slot
The storage slot.
Declaration
[JsonPropertyName("slot")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Slot { get; set; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
ValueRead
The value the call read from the slot.
Declaration
[JsonPropertyName("value_read")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> ValueRead { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
ValueWritten
The value the call wrote to the slot; empty when it only read.
Declaration
[JsonPropertyName("value_written")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> ValueWritten { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |