Enum Class TxType

java.lang.Object
java.lang.Enum<TxType>
com.sdk.accumulate.enums.TxType
All Implemented Interfaces:
Serializable, Comparable<TxType>, Constable

public enum TxType extends Enum<TxType>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    AcmeFaucet produces a synthetic deposit tokens transaction that deposits ACME tokens into a lite token account.
    AddCredits converts ACME tokens to credits, which produces a synthetic deposit credits transaction.
    BurnTokens burns tokens from a token account, which produces a synthetic burn tokens transaction.
    CreateDataAccount creates an ADI Data Account, which produces a synthetic chain create transaction.
    CreateIdentity creates an ADI, which produces a synthetic chain.
    CreateKeyBook creates a key book, which produces a synthetic chain create transaction.
    CreateKeyPage creates a key page, which produces a synthetic chain create transaction.
    CreateToken creates a token issuer, which produces a synthetic chain create transaction.
    CreateTokenAccount creates an ADI token account, which produces a synthetic chain create transaction.
    InternalGenesis initializes system chains.
    InternalSendTransactions reserved for internal send.
    InternalTransactionsSent notifies the executor of synthetic transactions that have been sent.
    InternalTransactionsSigned notifies the executor of synthetic transactions that have been signed.
    IssueTokens issues tokens to a token account, which produces a synthetic token deposit transaction.
    RemoveManager remove manager from existing chain.
    SegWitDataEntry is a surrogate transaction segregated witness for a WriteData transaction.
    SendTokens transfers tokens between token accounts, which produces a synthetic deposit tokens transaction.
    SignPending is used to sign a pending transaction.
    SyntheticAnchor anchors one network to another.
    SyntheticBurnTokens returns tokens to a token issuer's pool of issuable tokens.
    SyntheticCreateChain creates or updates chains.
    SyntheticDepositCredits deposits credits into a credit holder.
    SyntheticDepositTokens deposits tokens into token accounts.
    SyntheticMirror mirrors records from one network to another.
    SyntheticWriteData writes data to a data account.
    Unknown represents an unknown transaction type.
    UpdateKeyPage adds, removes, or updates keys in a key page, which *does not* produce a synthetic transaction.
    UpdateManager updates manager for the existing chain.
    WriteData writes data to an ADI Data Account, which *does not* produce a synthetic transaction.
    WriteDataTo writes data to a Lite Data Account, which produces a synthetic write data transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    static TxType
    Returns the enum constant of this class with the specified name.
    static TxType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Unknown

      public static final TxType Unknown
      Unknown represents an unknown transaction type.
    • CreateIdentity

      public static final TxType CreateIdentity
      CreateIdentity creates an ADI, which produces a synthetic chain.
    • CreateTokenAccount

      public static final TxType CreateTokenAccount
      CreateTokenAccount creates an ADI token account, which produces a synthetic chain create transaction.
    • SendTokens

      public static final TxType SendTokens
      SendTokens transfers tokens between token accounts, which produces a synthetic deposit tokens transaction.
    • CreateDataAccount

      public static final TxType CreateDataAccount
      CreateDataAccount creates an ADI Data Account, which produces a synthetic chain create transaction.
    • WriteData

      public static final TxType WriteData
      WriteData writes data to an ADI Data Account, which *does not* produce a synthetic transaction.
    • WriteDataTo

      public static final TxType WriteDataTo
      WriteDataTo writes data to a Lite Data Account, which produces a synthetic write data transaction.
    • AcmeFaucet

      public static final TxType AcmeFaucet
      AcmeFaucet produces a synthetic deposit tokens transaction that deposits ACME tokens into a lite token account.
    • CreateToken

      public static final TxType CreateToken
      CreateToken creates a token issuer, which produces a synthetic chain create transaction.
    • IssueTokens

      public static final TxType IssueTokens
      IssueTokens issues tokens to a token account, which produces a synthetic token deposit transaction.
    • BurnTokens

      public static final TxType BurnTokens
      BurnTokens burns tokens from a token account, which produces a synthetic burn tokens transaction.
    • CreateKeyPage

      public static final TxType CreateKeyPage
      CreateKeyPage creates a key page, which produces a synthetic chain create transaction.
    • CreateKeyBook

      public static final TxType CreateKeyBook
      CreateKeyBook creates a key book, which produces a synthetic chain create transaction.
    • AddCredits

      public static final TxType AddCredits
      AddCredits converts ACME tokens to credits, which produces a synthetic deposit credits transaction.
    • UpdateKeyPage

      public static final TxType UpdateKeyPage
      UpdateKeyPage adds, removes, or updates keys in a key page, which *does not* produce a synthetic transaction.
    • UpdateManager

      public static final TxType UpdateManager
      UpdateManager updates manager for the existing chain.
    • RemoveManager

      public static final TxType RemoveManager
      RemoveManager remove manager from existing chain.
    • SignPending

      public static final TxType SignPending
      SignPending is used to sign a pending transaction.
    • SyntheticCreateChain

      public static final TxType SyntheticCreateChain
      SyntheticCreateChain creates or updates chains.
    • SyntheticWriteData

      public static final TxType SyntheticWriteData
      SyntheticWriteData writes data to a data account.
    • SyntheticDepositTokens

      public static final TxType SyntheticDepositTokens
      SyntheticDepositTokens deposits tokens into token accounts.
    • SyntheticAnchor

      public static final TxType SyntheticAnchor
      SyntheticAnchor anchors one network to another.
    • SyntheticDepositCredits

      public static final TxType SyntheticDepositCredits
      SyntheticDepositCredits deposits credits into a credit holder.
    • SyntheticBurnTokens

      public static final TxType SyntheticBurnTokens
      SyntheticBurnTokens returns tokens to a token issuer's pool of issuable tokens.
    • SyntheticMirror

      public static final TxType SyntheticMirror
      SyntheticMirror mirrors records from one network to another.
    • SegWitDataEntry

      public static final TxType SegWitDataEntry
      SegWitDataEntry is a surrogate transaction segregated witness for a WriteData transaction.
    • InternalGenesis

      public static final TxType InternalGenesis
      InternalGenesis initializes system chains.
    • InternalSendTransactions

      public static final TxType InternalSendTransactions
      InternalSendTransactions reserved for internal send.
    • InternalTransactionsSigned

      public static final TxType InternalTransactionsSigned
      InternalTransactionsSigned notifies the executor of synthetic transactions that have been signed.
    • InternalTransactionsSent

      public static final TxType InternalTransactionsSent
      InternalTransactionsSent notifies the executor of synthetic transactions that have been sent.
  • Method Details

    • values

      public static TxType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TxType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()