Namespace Libplanet.Action.State
Classes
Account
An internal implementation of IAccount.
AccountDiff
Represents a difference between two IAccount
-
Any
value, which is equivalent to non-existent value in the underlying storage, in the source is ignored. That is, even if the value in the target and the value in the source are different while the value in the source is null, this will not be part of the resulting Account Diff . -
This only shows the difference in "states" manipulated using
Set
State(Address, IValue) and RemoveState(Address) . That is, this does care about differences in FungibleAsset s.Value -
Due to the reason mentioned directly above, the size of Account
Diff derived from Diff(ITrie) may not be the same. Moreover, an AccountDiff being empty does not guarantee that the data represented by IAccountState s are the same.
AccountState
A default implementation of IAccount
CurrencyAccount
A special "account" for managing Currency starting with
Currency
CurrencyPermissionException
The exception that is thrown when a Transaction
InsufficientBalanceException
The exception that is thrown when a sender has less Balance than amount to transfer or an owner has less Balance than amount to burn.
IWorldExtensions
ReservedAddresses
SupplyOverflowException
The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.
ValidatorSetAccount
A special "account" for managing Validator
World
An internal implementation of IWorld.
WorldBaseState
A default implementation of IWorld
WorldDelta
Interfaces
IAccount
An interface to manipulate an account state with
maintaining
It is like a map which is virtually initialized such that every possible Address exists and is mapped to null. That means that:
IAccountState
An interface to fetch account states.
It is like a readonly map which is virtually initialized such that every possible Address exists and is mapped to null. That means that:
- it does not have length,
- its index getter never throws
, but returns null instead, and
IBlockChainStates
A minimal interface to get states from a BlockChain.
Note that BlockChain implements this interface.
IWorld
An interface to manipulate an world state with maintaining Delta.
It is like a map which is virtually initialized such that every possible Address exists and is mapped to null. That means that:
IWorldDelta
IWorldState
An interface to fetch world states.
It is like a readonly map which is virtually initialized such that every possible Address exists and is mapped to null. That means that: