Show / Hide Table of Contents

Interface IAccountDelta

Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
public interface IAccountDelta

Properties

| Improve this Doc View Source

Fungibles

A dictionary representing the changed FungibleAssetValues for each Address and Currency pair.

Declaration
[Pure]
IImmutableDictionary<(Address, Currency), BigInteger> Fungibles { get; }
Property Value
Type Description
IImmutableDictionary<(T1 Item1, T2 Item2)<Address, Currency>, BigInteger>
See Also
UpdatedFungibleAssets
| Improve this Doc View Source

FungibleUpdatedAddresses

A set of Addresses where each Address has its FungibleAssetValue changed.

This is equivalent to the set of Addresses that appear in UpdatedFungibleAssets, and in turn those that appear in Fungibles.

Declaration
[Pure]
IImmutableSet<Address> FungibleUpdatedAddresses { get; }
Property Value
Type Description
IImmutableSet<Address>
See Also
UpdatedFungibleAssets
Fungibles
| Improve this Doc View Source

States

A dictionary representing changed states for each Address.

Declaration
[Pure]
IImmutableDictionary<Address, IValue> States { get; }
Property Value
Type Description
IImmutableDictionary<Address, Bencodex.Types.IValue>
| Improve this Doc View Source

StateUpdatedAddresses

A set of Addresses where each Address has its state changed.

This is equivalent to the set of keys in States.

Declaration
[Pure]
IImmutableSet<Address> StateUpdatedAddresses { get; }
Property Value
Type Description
IImmutableSet<Address>
See Also
States
| Improve this Doc View Source

TotalSupplies

A dictionary representing the changed total supply for each Currency.

Declaration
[Pure]
IImmutableDictionary<Currency, BigInteger> TotalSupplies { get; }
Property Value
Type Description
IImmutableDictionary<Currency, BigInteger>
See Also
UpdatedTotalSupplyCurrencies
| Improve this Doc View Source

UpdatedAddresses

A set of Addresses where each Address has either its state changed or its FungibleAssetValue changed.

This is equivalent to the union of StateUpdatedAddresses and FungibleUpdatedAddresses.

Declaration
[Pure]
IImmutableSet<Address> UpdatedAddresses { get; }
Property Value
Type Description
IImmutableSet<Address>
See Also
StateUpdatedAddresses
FungibleUpdatedAddresses
| Improve this Doc View Source

UpdatedFungibleAssets

A set of Address and Currency pairs where each pair has its asoociated FungibleAssetValue changed.

For example, if A transfers 10 FOO to B and B transfers 20 BAR to C, UpdatedFungibleAssets become likes { (A, FOO), (B, FOO), (B, BAR), (C, BAR) }.

Furthermore, this represents any pair that has been "touched", i.e., if A transfers 10 FOO to B and B transfers 10 FOO back to A, this becomes { (A, FOO), (B, BAR) } not an empty set.

This is equivalent to the keys of Fungibles.

Declaration
[Pure]
IImmutableSet<(Address, Currency)> UpdatedFungibleAssets { get; }
Property Value
Type Description
IImmutableSet<(T1 Item1, T2 Item2)<Address, Currency>>
See Also
FungibleUpdatedAddresses
Fungibles
| Improve this Doc View Source

UpdatedTotalSupplyCurrencies

The set of Currencies with their total supplies updated.

This is equivalent to the set of keys in TotalSupplies.

Declaration
[Pure]
IImmutableSet<Currency> UpdatedTotalSupplyCurrencies { get; }
Property Value
Type Description
IImmutableSet<Currency>
See Also
TotalSupplies
| Improve this Doc View Source

ValidatorSet

A representing a change in , if not null.

Declaration
ValidatorSet ValidatorSet { get; }
Property Value
Type Description
ValidatorSet

Extension Methods

AccountDeltaExtensions.ToRawDelta(IAccountDelta)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium