Packages

package state

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait AccountEventNotifier extends AnyRef
  2. trait AccountEventNotifierProvider extends AnyRef
  3. case class AccountForgingStakeInfo(stakeId: Array[Byte], forgerStakeData: ForgerStakeData) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  4. class AccountState extends AbstractState[AccountTransaction[Proposition, Proof[Proposition]], AccountBlockHeader, AccountBlock, AccountState] with State[AccountTransaction[Proposition, Proof[Proposition]], AccountBlock, AccountStateView, AccountState] with TransactionValidation[AccountTransaction[Proposition, Proof[Proposition]]] with NodeAccountState with ClosableResourceHandler with SparkzLogging
  5. trait AccountStateReader extends AnyRef
  6. trait AccountStateReaderProvider extends AnyRef
  7. class AccountStateView extends StateDbAccountStateView with StateView[AccountTransaction[Proposition, Proof[Proposition]]] with AutoCloseable with SparkzLogging
  8. case class AddNewOwnershipCmdInput(mcTransparentAddress: String, mcSignature: String) extends ABIEncodable[StaticStruct] with Product with Serializable
  9. case class AddNewStakeCmdInput(forgerPublicKeys: ForgerPublicKeys, ownerAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
  10. case class AddWithdrawalRequestCmdInput(mcAddr: MCPublicKeyHashProposition) extends ABIEncodable[StaticStruct] with Product with Serializable
  11. trait BaseAccountStateView extends AccountStateReader
  12. trait BaseStateReaderProvider extends AnyRef
  13. class BlockContext extends AnyRef
  14. case class CertificateKeyRotationMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with CertificateKeysProvider with Product with Serializable
  15. trait CertificateKeysProvider extends AnyRef
  16. class EvmMessageProcessor extends MessageProcessor
  17. class ExecutionFailedException extends Exception

    Message processing failed, also revert-and-consume-all-gas.

  18. class ExecutionRevertedException extends ExecutionFailedException

    Message processing failed, also revert-and-keep-gas-left.

  19. case class FeeCapTooLowException(address: Address, maxFeePerGas: BigInteger, baseFee: BigInteger) extends InvalidMessageException with Product with Serializable

    ErrFeeCapTooLow is returned if the transaction fee cap is less than the base fee of the block.

  20. case class ForgerPublicKeys(blockSignPublicKey: PublicKey25519Proposition, vrfPublicKey: VrfPublicKey) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  21. case class ForgerStakeData(forgerPublicKeys: ForgerPublicKeys, ownerPublicKey: AddressProposition, stakedAmount: BigInteger) extends BytesSerializable with Product with Serializable
    Annotations
    @JsonView()
  22. case class ForgerStakeMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with ForgerStakesProvider with Product with Serializable
  23. trait ForgerStakesProvider extends AnyRef
  24. case class GasLimitReached() extends InvalidMessageException with Product with Serializable

    ErrGasLimitReached is returned by the gas pool if the amount of gas required by a transaction is higher than what's left in the block.

  25. class GasPool extends SparkzLogging
  26. case class GasUintOverflowException() extends InvalidMessageException with Product with Serializable

    ErrGasUintOverflow is returned when calculating gas usage.

  27. case class GetListOfWithdrawalRequestsCmdInput(epochNum: Int) extends ABIEncodable[StaticStruct] with Product with Serializable
  28. case class GetOwnershipsCmdInput(scAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
  29. trait HistoryBlockHashProvider extends AnyRef
  30. case class InsufficientFundsException(address: Address, have: BigInteger, want: BigInteger) extends InvalidMessageException with Product with Serializable

    ErrInsufficientFunds is returned if the total cost of executing a transaction is higher than the balance of the user's account.

  31. case class IntrinsicGasException(have: BigInteger, want: BigInteger) extends InvalidMessageException with Product with Serializable

    ErrIntrinsicGas is returned if the transaction is specified to use less gas than required to start the invocation.

  32. class InvalidMessageException extends TransactionSemanticValidityException

    Error message kept very close to geth implementation.

    Error message kept very close to geth implementation.

    List of evm-call-message pre-checking errors. All state transition messages will be pre-checked before execution. If any invalidation is detected, the corresponding error should be returned which is defined here.

    • If the pre-checking happens in the miner, then the transaction won't be packed.
    • If the pre-checking happens in the block processing procedure, then a "BAD BLOCK" error should be emitted
    See also

    https://github.com/ethereum/go-ethereum/blob/v1.10.26/core/error.go

  33. case class KeyRotationHistory(epochNumbers: List[Int]) extends BytesSerializable with Product with Serializable
  34. case class McAddrOwnershipData(scAddress: String, mcTransparentAddress: String) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  35. case class McAddrOwnershipMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with McAddrOwnershipsProvider with Product with Serializable
  36. trait McAddrOwnershipsProvider extends AnyRef
  37. class Message extends AnyRef
  38. trait MessageProcessor extends AnyRef
  39. class MessageProcessorInitializationException extends Exception
  40. abstract class NativeSmartContractMsgProcessor extends MessageProcessor with SparkzLogging
  41. case class NonceMaxException(address: Address, stateNonce: BigInteger) extends InvalidMessageException with Product with Serializable

    ErrNonceMax is returned if the nonce of a transaction sender account has maximum allowed value and would become invalid if incremented.

  42. case class NonceTooHighException(address: Address, txNonce: BigInteger, stateNonce: BigInteger) extends InvalidMessageException with Product with Serializable

    ErrNonceTooHigh is returned if the nonce of a transaction is higher than the next one expected based on the local chain.

  43. case class NonceTooLowException(address: Address, txNonce: BigInteger, stateNonce: BigInteger) extends InvalidMessageException with Product with Serializable

    ErrNonceTooLow is returned if the nonce of a transaction is lower than the one present in the local chain.

  44. case class OpenStakeForgerListCmdInput(forgerIndex: Int, signature: Signature25519) extends ABIEncodable[StaticStruct] with Product with Serializable
  45. class OutOfGasException extends ExecutionFailedException

    Not enough gas remaining to continue execution.

  46. case class OwnerScAddress(scAddress: String) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  47. case class RemoveOwnershipCmdInput(mcTransparentAddressOpt: Option[String]) extends ABIEncodable[StaticStruct] with Product with Serializable
  48. case class RemoveStakeCmdInput(stakeId: Array[Byte], signature: SignatureSecp256k1) extends ABIEncodable[StaticStruct] with Product with Serializable
  49. class ScAddrOwnershipLinkedList extends NativeSmartContractLinkedList
  50. case class SenderNotEoaException(address: Address, codeHash: Array[Byte]) extends InvalidMessageException with Product with Serializable

    ErrSenderNoEOA is returned if the sender of a transaction is a contract.

  51. class StateDbAccountStateView extends BaseAccountStateView with AutoCloseable with SparkzLogging
  52. class StateDbAccountStateViewGasTracked extends StateDbAccountStateView

    Extension to help with tracking gas consumption.

  53. class StateTransition extends SparkzLogging
  54. case class SubmitKeyRotationCmdInput(keyRotationProof: KeyRotationProof, newKeySignature: SchnorrProof) extends ABIEncodable[StaticStruct] with Product with Serializable
  55. case class WithdrawalRequest(proposition: MCPublicKeyHashProposition, value: BigInteger) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  56. trait WithdrawalRequestProvider extends AnyRef

Value Members

  1. object AccountForgingStakeInfoListEncoder extends ABIListEncoder[AccountForgingStakeInfo, StaticStruct]
  2. object AccountForgingStakeInfoSerializer extends SparkzSerializer[AccountForgingStakeInfo]
  3. object AccountState extends SparkzLogging
  4. object AddNewOwnershipCmdInputDecoder extends ABIDecoder[AddNewOwnershipCmdInput] with MsgProcessorInputDecoder[AddNewOwnershipCmdInput]
  5. object AddNewStakeCmdInputDecoder extends ABIDecoder[AddNewStakeCmdInput] with MsgProcessorInputDecoder[AddNewStakeCmdInput]
  6. object AddWithdrawalRequestCmdInputDecoder extends ABIDecoder[AddWithdrawalRequestCmdInput] with MsgProcessorInputDecoder[AddWithdrawalRequestCmdInput]
  7. object CertificateKeyRotationMsgProcessor extends Serializable
  8. object EoaMessageProcessor extends MessageProcessor with SparkzLogging
  9. object ForgerPublicKeysSerializer extends SparkzSerializer[ForgerPublicKeys]
  10. object ForgerStakeDataSerializer extends SparkzSerializer[ForgerStakeData]
  11. object ForgerStakeLinkedList extends NativeSmartContractLinkedList
  12. object ForgerStakeMsgProcessor extends Serializable
  13. object GasUtil
  14. object GetListOfWithdrawalRequestsCmdInputDecoder extends ABIDecoder[GetListOfWithdrawalRequestsCmdInput] with MsgProcessorInputDecoder[GetListOfWithdrawalRequestsCmdInput]
  15. object GetOwnershipsCmdInputDecoder extends ABIDecoder[GetOwnershipsCmdInput] with MsgProcessorInputDecoder[GetOwnershipsCmdInput]
  16. object KeyRotationHistorySerializer extends SparkzSerializer[KeyRotationHistory]
  17. object McAddrOwnershipData extends Serializable
  18. object McAddrOwnershipDataListEncoder extends ABIListEncoder[McAddrOwnershipData, StaticStruct]
  19. object McAddrOwnershipDataSerializer extends SparkzSerializer[McAddrOwnershipData]
  20. object McAddrOwnershipLinkedList extends NativeSmartContractLinkedList
  21. object McAddrOwnershipMsgProcessor extends SparkzLogging with Serializable
  22. object MessageProcessorUtil
  23. object NativeSmartContractMsgProcessor
  24. object OpenStakeForgerListCmdInputDecoder extends ABIDecoder[OpenStakeForgerListCmdInput] with MsgProcessorInputDecoder[OpenStakeForgerListCmdInput]
  25. object OwnerScAddrListEncoder extends ABIListEncoder[OwnerScAddress, StaticStruct]
  26. object OwnerScAddressSerializer extends SparkzSerializer[OwnerScAddress]
  27. object RemoveOwnershipCmdInputDecoder extends ABIDecoder[RemoveOwnershipCmdInput] with MsgProcessorInputDecoder[RemoveOwnershipCmdInput]
  28. object RemoveStakeCmdInputDecoder extends ABIDecoder[RemoveStakeCmdInput] with MsgProcessorInputDecoder[RemoveStakeCmdInput]
  29. object ScAddrOwnershipLinkedList
  30. object ScAddressRefsLinkedList extends NativeSmartContractLinkedList
  31. object SubmitKeyRotationCmdInputDecoder extends ABIDecoder[SubmitKeyRotationCmdInput] with MsgProcessorInputDecoder[SubmitKeyRotationCmdInput]
  32. object WithdrawalMsgProcessor extends NativeSmartContractMsgProcessor with WithdrawalRequestProvider
  33. object WithdrawalRequestSerializer extends SparkzSerializer[WithdrawalRequest]
  34. object WithdrawalRequestsListEncoder extends ABIListEncoder[WithdrawalRequest, StaticStruct]

Ungrouped