Class AccountDelta
Implements
Inherited Members
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
public class AccountDelta : IAccountDelta
Constructors
| Improve this Doc View SourceAccountDelta()
Declaration
public AccountDelta()
Properties
| Improve this Doc View SourceFungibles
A dictionary representing the changed FungibleAssetValues for each Address and Currency pair.
Declaration
public IImmutableDictionary<(Address, Currency), BigInteger> Fungibles { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<(T1 Item1, T2 Item2)<Address, Currency>, BigInteger> |
See Also
| Improve this Doc View SourceFungibleUpdatedAddresses
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
public IImmutableSet<Address> FungibleUpdatedAddresses { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Address> |
See Also
| Improve this Doc View SourceStates
A dictionary representing changed states for each Address.
Declaration
public IImmutableDictionary<Address, IValue> States { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<Address, Bencodex.Types.IValue> |
StateUpdatedAddresses
A set of Addresses where each Address has its state changed.
This is equivalent to the set of keys in States.
Declaration
public IImmutableSet<Address> StateUpdatedAddresses { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Address> |
See Also
| Improve this Doc View SourceTotalSupplies
A dictionary representing the changed total supply for each Currency.
Declaration
public IImmutableDictionary<Currency, BigInteger> TotalSupplies { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<Currency, BigInteger> |
See Also
| Improve this Doc View SourceUpdatedAddresses
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
public IImmutableSet<Address> UpdatedAddresses { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Address> |
See Also
| Improve this Doc View SourceUpdatedFungibleAssets
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
public IImmutableSet<(Address, Currency)> UpdatedFungibleAssets { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<(T1 Item1, T2 Item2)<Address, Currency>> |
See Also
| Improve this Doc View SourceUpdatedTotalSupplyCurrencies
The set of Currencies with their total supplies updated.
This is equivalent to the set of keys in TotalSupplies.
Declaration
public IImmutableSet<Currency> UpdatedTotalSupplyCurrencies { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Currency> |
See Also
| Improve this Doc View SourceValidatorSet
A
Declaration
public ValidatorSet ValidatorSet { get; }
Property Value
Type | Description |
---|---|
ValidatorSet |