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 AccountForgingStakeInfoABI extends StaticStruct
  5. case class AccountForgingStakeInfoList(listOfStakes: Seq[AccountForgingStakeInfo]) extends Product with Serializable
  6. 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
  7. trait AccountStateReader extends AnyRef
  8. trait AccountStateReaderProvider extends AnyRef
  9. class AccountStateView extends StateDbAccountStateView with MsgProcessorMetadataStorageReader with StateView[AccountTransaction[Proposition, Proof[Proposition]]] with SparkzLogging
  10. case class AddNewMultisigOwnershipCmdInput(mcTransparentAddress: String, redeemScript: String, mcSignatures: Seq[String]) extends ABIEncodable[DynamicStruct] with Product with Serializable
  11. case class AddNewOwnershipCmdInput(mcTransparentAddress: String, mcSignature: String) extends ABIEncodable[StaticStruct] with Product with Serializable
  12. case class AddNewStakeCmdInput(forgerPublicKeys: ForgerPublicKeys, ownerAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
  13. case class AddWithdrawalRequestCmdInput(mcAddr: MCPublicKeyHashProposition) extends ABIEncodable[StaticStruct] with Product with Serializable
  14. trait BaseAccountStateView extends AccountStateReader
  15. trait BaseStateReaderProvider extends AnyRef
  16. class BlockContext extends AnyRef
  17. case class CertificateKeyRotationMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with CertificateKeysProvider with Product with Serializable
  18. trait CertificateKeysProvider extends AnyRef
  19. class EvmMessageProcessor extends MessageProcessor
  20. trait ExecutionContext extends AnyRef
  21. class ExecutionFailedException extends Exception

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

  22. class ExecutionRevertedException extends ExecutionFailedException

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

  23. 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.

  24. case class ForgerPublicKeys(blockSignPublicKey: PublicKey25519Proposition, vrfPublicKey: VrfPublicKey) extends BytesSerializable with ABIEncodable[StaticStruct] with VRFDecoder with Product with Serializable
    Annotations
    @JsonView()
  25. case class ForgerStakeData(forgerPublicKeys: ForgerPublicKeys, ownerPublicKey: AddressProposition, stakedAmount: BigInteger) extends BytesSerializable with ForgerStakeStorageElem with Product with Serializable
    Annotations
    @JsonView()
  26. case class ForgerStakeMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with ForgerStakesProvider with Product with Serializable
  27. trait ForgerStakeStorage extends AnyRef
  28. trait ForgerStakeStorageElem extends AnyRef
  29. case class ForgerStakeStorageElemV2(forgerPublicKeys: ForgerPublicKeys, ownerPublicKey: AddressProposition, stakedAmount: BigInteger, stakeListIndex: Int, ownerListIndex: Int) extends BytesSerializable with ForgerStakeStorageElem with Product with Serializable
    Annotations
    @JsonView()
  30. trait ForgerStakesProvider extends AnyRef
  31. trait ForgerStakesV2Provider extends AnyRef
  32. 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.

  33. class GasPool extends SparkzLogging
  34. case class GasUintOverflowException() extends InvalidMessageException with Product with Serializable

    ErrGasUintOverflow is returned when calculating gas usage.

  35. case class GetListOfWithdrawalRequestsCmdInput(epochNum: Int) extends ABIEncodable[StaticStruct] with Product with Serializable
  36. case class GetOwnershipsCmdInput(scAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
  37. case class GetPagedForgersStakesOfUserCmdInput(ownerAddress: Address, startPos: Int, size: Int) extends ABIEncodable[StaticStruct] with Product with Serializable
  38. case class GetPagedListOfStakesCmdInput(startPos: Int, size: Int) extends ABIEncodable[StaticStruct] with Product with Serializable
  39. trait HistoryBlockHashProvider extends AnyRef
  40. 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.

  41. 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.

  42. 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

  43. case class Invocation(caller: Address, callee: Option[Address], value: BigInteger, input: Array[Byte], gasPool: GasPool, readOnly: Boolean) extends Product with Serializable
  44. case class InvokeSmartContractCmdInput(contractAddress: Address, dataStr: String) extends ABIEncodable[DynamicStruct] with Product with Serializable
  45. case class KeyRotationHistory(epochNumbers: List[Int]) extends BytesSerializable with Product with Serializable
  46. case class MaxInitCodeSizeExceededException(initCodeLength: Int, maxInitCodeSize: Int) extends InvalidMessageException with Product with Serializable

    ErrMaxInitCodeSizeExceeded is returned if creation transaction provides the init code bigger than init code size limit.

  47. case class McAddrOwnershipData(scAddress: String, mcTransparentAddress: String) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  48. case class McAddrOwnershipMsgProcessor(networkParams: NetworkParams) extends NativeSmartContractWithFork with McAddrOwnershipsProvider with Product with Serializable
  49. trait McAddrOwnershipsProvider extends AnyRef
  50. class Message extends AnyRef
  51. trait MessageProcessor extends AnyRef
  52. class MessageProcessorInitializationException extends Exception
  53. abstract class NativeSmartContractMsgProcessor extends MessageProcessor with SparkzLogging
  54. abstract class NativeSmartContractWithFork extends NativeSmartContractMsgProcessor
  55. 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.

  56. 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.

  57. 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.

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

    Not enough gas remaining to continue execution.

  60. case class OwnerScAddress(scAddress: String) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  61. case class OwnerStakeInfo(owner: AddressProposition) extends StateDbArray with Product with Serializable
  62. case class PagedListOfStakesOutput(nextStartPos: Int, listOfStakes: Seq[AccountForgingStakeInfo]) extends ABIEncodable[DynamicStruct] with Product with Serializable
  63. case class ProxyMsgProcessor(params: NetworkParams) extends NativeSmartContractWithFork with Product with Serializable
  64. case class RemoveOwnershipCmdInput(mcTransparentAddressOpt: Option[String]) extends ABIEncodable[StaticStruct] with Product with Serializable
  65. case class RemoveStakeCmdInput(stakeId: Array[Byte], signature: SignatureSecp256k1) extends ABIEncodable[StaticStruct] with Product with Serializable
  66. class ScAddrOwnershipLinkedList extends NativeSmartContractLinkedList
  67. 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.

  68. case class StakeAmount(totalStake: BigInteger) extends ABIEncodable[StaticStruct] with Product with Serializable
  69. case class StakeOfCmdInput(ownerAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
  70. class StateDbAccountStateView extends BaseAccountStateView with AutoCloseable with SparkzLogging
  71. class StateDbAccountStateViewGasTracked extends StateDbAccountStateView

    Extension to help with tracking gas consumption.

  72. class StateDbArray extends AnyRef
  73. class StateTransition extends SparkzLogging with ExecutionContext
  74. case class SubmitKeyRotationCmdInput(keyRotationProof: KeyRotationProof, newKeySignature: SchnorrProof) extends ABIEncodable[StaticStruct] with Product with Serializable
  75. case class WithdrawalRequest(proposition: MCPublicKeyHashProposition, value: BigInteger) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
    Annotations
    @JsonView()
  76. trait WithdrawalRequestProvider extends AnyRef
  77. class WriteProtectionException extends ExecutionFailedException

Value Members

  1. object AccountForgingStakeInfoListDecoder extends ABIDecoder[AccountForgingStakeInfoList] with MsgProcessorInputDecoder[AccountForgingStakeInfoList]
  2. object AccountForgingStakeInfoListEncoder extends ABIListEncoder[AccountForgingStakeInfo, StaticStruct]
  3. object AccountForgingStakeInfoSerializer extends SparkzSerializer[AccountForgingStakeInfo]
  4. object AccountState extends SparkzLogging
  5. object AddNewMultisigOwnershipCmdInputDecoder extends ABIDecoder[AddNewMultisigOwnershipCmdInput] with MsgProcessorInputDecoder[AddNewMultisigOwnershipCmdInput]
  6. object AddNewOwnershipCmdInputDecoder extends ABIDecoder[AddNewOwnershipCmdInput] with MsgProcessorInputDecoder[AddNewOwnershipCmdInput]
  7. object AddNewStakeCmdInputDecoder extends ABIDecoder[AddNewStakeCmdInput] with MsgProcessorInputDecoder[AddNewStakeCmdInput]
  8. object AddWithdrawalRequestCmdInputDecoder extends ABIDecoder[AddWithdrawalRequestCmdInput] with MsgProcessorInputDecoder[AddWithdrawalRequestCmdInput]
  9. object CertificateKeyRotationMsgProcessor extends Serializable
  10. object EoaMessageProcessor extends MessageProcessor with SparkzLogging
  11. object ForgerBlockCountersSerializer extends SparkzSerializer[Map[ForgerIdentifier, Long]]
  12. object ForgerPublicKeysSerializer extends SparkzSerializer[ForgerPublicKeys]
  13. object ForgerStakeDataSerializer extends SparkzSerializer[ForgerStakeData]
  14. object ForgerStakeLinkedList extends NativeSmartContractLinkedList
  15. object ForgerStakeMsgProcessor extends Serializable
  16. object ForgerStakeStorage
  17. object ForgerStakeStorageElemV2Serializer extends SparkzSerializer[ForgerStakeStorageElemV2]
  18. object ForgerStakeStorageV1 extends ForgerStakeStorage
  19. object ForgerStakeStorageV2 extends ForgerStakeStorage
  20. object ForgerStakeStorageVersion extends Enumeration
  21. object ForgerStakeV2MsgProcessor extends NativeSmartContractWithFork with ForgerStakesV2Provider
  22. object GasUtil
  23. object GetListOfWithdrawalRequestsCmdInputDecoder extends ABIDecoder[GetListOfWithdrawalRequestsCmdInput] with MsgProcessorInputDecoder[GetListOfWithdrawalRequestsCmdInput]
  24. object GetOwnershipsCmdInputDecoder extends ABIDecoder[GetOwnershipsCmdInput] with MsgProcessorInputDecoder[GetOwnershipsCmdInput]
  25. object GetPagedForgersStakesOfUserCmdInputDecoder extends ABIDecoder[GetPagedForgersStakesOfUserCmdInput] with MsgProcessorInputDecoder[GetPagedForgersStakesOfUserCmdInput]
  26. object GetPagedListOfStakesCmdInputDecoder extends ABIDecoder[GetPagedListOfStakesCmdInput] with MsgProcessorInputDecoder[GetPagedListOfStakesCmdInput]
  27. object Invocation extends Serializable
  28. object InvokeSmartContractCmdInputDecoder extends ABIDecoder[InvokeSmartContractCmdInput] with MsgProcessorInputDecoder[InvokeSmartContractCmdInput]
  29. object KeyRotationHistorySerializer extends SparkzSerializer[KeyRotationHistory]
  30. object McAddrOwnershipData extends Serializable
  31. object McAddrOwnershipDataListEncoder extends ABIListEncoder[McAddrOwnershipData, StaticStruct]
  32. object McAddrOwnershipDataSerializer extends SparkzSerializer[McAddrOwnershipData]
  33. object McAddrOwnershipLinkedList extends NativeSmartContractLinkedList
  34. object McAddrOwnershipMsgProcessor extends SparkzLogging with Serializable
  35. object McForgerPoolRewardsSerializer extends SparkzSerializer[Map[ForgerIdentifier, BigInteger]]
  36. object MessageProcessorUtil
  37. object NativeSmartContractMsgProcessor
  38. object OpenStakeForgerListCmdInputDecoder extends ABIDecoder[OpenStakeForgerListCmdInput] with MsgProcessorInputDecoder[OpenStakeForgerListCmdInput]
  39. object OwnerScAddrListEncoder extends ABIListEncoder[OwnerScAddress, StaticStruct]
  40. object OwnerScAddressSerializer extends SparkzSerializer[OwnerScAddress]
  41. object ProtocolParams
  42. object ProxyMsgProcessor extends Serializable
  43. object RemoveOwnershipCmdInputDecoder extends ABIDecoder[RemoveOwnershipCmdInput] with MsgProcessorInputDecoder[RemoveOwnershipCmdInput]
  44. object RemoveStakeCmdInputDecoder extends ABIDecoder[RemoveStakeCmdInput] with MsgProcessorInputDecoder[RemoveStakeCmdInput]
  45. object ScAddrOwnershipLinkedList
  46. object ScAddressRefsLinkedList extends NativeSmartContractLinkedList
  47. object StakeOfCmdInputDecoder extends ABIDecoder[StakeOfCmdInput] with MsgProcessorInputDecoder[StakeOfCmdInput]
  48. object SubmitKeyRotationCmdInputDecoder extends ABIDecoder[SubmitKeyRotationCmdInput] with MsgProcessorInputDecoder[SubmitKeyRotationCmdInput]
  49. object WithdrawalMsgProcessor extends NativeSmartContractMsgProcessor with WithdrawalRequestProvider
  50. object WithdrawalRequestSerializer extends SparkzSerializer[WithdrawalRequest]
  51. object WithdrawalRequestsListEncoder extends ABIListEncoder[WithdrawalRequest, StaticStruct]

Ungrouped