Class TxSuccess
Summarizes an execution result of a successful Transaction<T>.
Implements
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public sealed class TxSuccess : TxExecution, ISerializable
Constructors
| Improve this Doc View SourceTxSuccess(BlockHash, TxId, IImmutableDictionary<Address, Nullable<IValue>>, IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>>, IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>>)
Creates a TxSuccess instance.
Declaration
public TxSuccess(BlockHash blockHash, TxId txId, IImmutableDictionary<Address, IValue?> updatedStates, IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> fungibleAssetsDelta, IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> updatedFungibleAssets)
Parameters
Type | Name | Description |
---|---|---|
BlockHash | blockHash | The Hash of the Block<T> that the Transaction<T> is executed within. |
TxId | txId | The executed Transaction<T>'s Id. |
IImmutableDictionary<Address, Nullable<IValue>> | updatedStates | The states delta made by the actions in the transaction within the block. |
IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> | fungibleAssetsDelta | Addresses and sets of Currency whose fungible assets have been updated by the actions in the transaction within the block. Included FungibleAssetValues are the delta values (plus or minus) that the transaction makes. |
IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> | updatedFungibleAssets | Addresses and sets of Currency whose fungible assets have been updated by the actions in the transaction within the block. Included FungibleAssetValues are the final balances right after the transaction is executed. |
Properties
| Improve this Doc View SourceFungibleAssetsDelta
Addresses and sets of Currency whose fungible assets have been updated by the actions in the transaction within the block. Included FungibleAssetValues are the delta values (plus or minus) that the transaction makes.
Declaration
public IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> FungibleAssetsDelta { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> |
UpdatedAddresses
All Addresses of the accounts that have been updated by the actions in the transaction within the block.
Declaration
public IImmutableSet<Address> UpdatedAddresses { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Address> |
UpdatedFungibleAssets
Addresses and sets of Currency whose fungible assets have been updated by the actions in the transaction within the block. Included FungibleAssetValues are the final balances right after the transaction is executed.
Declaration
public IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> UpdatedFungibleAssets { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<Address, IImmutableDictionary<Currency, FungibleAssetValue>> |
UpdatedStates
The states delta made by the actions in the transaction within the block.
Declaration
public IImmutableDictionary<Address, IValue?> UpdatedStates { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<Address, Nullable<IValue>> |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |