Show / Hide Table of Contents

Namespace Libplanet.Action.State

Classes

AccountDeltaExtensions

AccountExtensions

BlockState

A default implementation of IBlockState interface.

CurrencyPermissionException

The exception that is thrown when a TransactionSigner has no rights to mint a Currency or burn assets of a Currency.

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.

SupplyOverflowException

The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.

TotalSupplyNotTrackableException

The exception thrown when GetTotalSupply(Currency) was called on a legacy untracked currency with set to false.

Interfaces

IAccount

An interface to manipulate an account 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:

  • it does not have length,
  • its index getter never throws KeyNotFoundException, but returns null instead, and
  • filling an Address with null state cannot be distinguished from the Address having never been set to any state.

IAccountDelta

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 KeyNotFoundException, but returns null instead, and
  • filling an Address with null state cannot be distinguished from the Address having never been set to any state.

IBlockChainStates

A minimal interface to get states from a .

Note that implements this interface.

IBlockState

A minimal interface to get states from the output state of a Block.

In This Article
Back to top Copyright © 2018–2023 Planetarium