package state
- Alphabetic
- Public
- All
Type Members
- trait AccountEventNotifier extends AnyRef
- trait AccountEventNotifierProvider extends AnyRef
-
case class
AccountForgingStakeInfo(stakeId: Array[Byte], forgerStakeData: ForgerStakeData) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
- Annotations
- @JsonView()
- 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
- trait AccountStateReader extends AnyRef
- trait AccountStateReaderProvider extends AnyRef
- class AccountStateView extends StateDbAccountStateView with StateView[AccountTransaction[Proposition, Proof[Proposition]]] with AutoCloseable with SparkzLogging
- case class AddNewOwnershipCmdInput(mcTransparentAddress: String, mcSignature: String) extends ABIEncodable[StaticStruct] with Product with Serializable
- case class AddNewStakeCmdInput(forgerPublicKeys: ForgerPublicKeys, ownerAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
- case class AddWithdrawalRequestCmdInput(mcAddr: MCPublicKeyHashProposition) extends ABIEncodable[StaticStruct] with Product with Serializable
- trait BaseAccountStateView extends AccountStateReader
- trait BaseStateReaderProvider extends AnyRef
- class BlockContext extends AnyRef
- case class CertificateKeyRotationMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with CertificateKeysProvider with Product with Serializable
- trait CertificateKeysProvider extends AnyRef
- class EvmMessageProcessor extends MessageProcessor
-
class
ExecutionFailedException extends Exception
Message processing failed, also revert-and-consume-all-gas.
-
class
ExecutionRevertedException extends ExecutionFailedException
Message processing failed, also revert-and-keep-gas-left.
-
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.
-
case class
ForgerPublicKeys(blockSignPublicKey: PublicKey25519Proposition, vrfPublicKey: VrfPublicKey) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
- Annotations
- @JsonView()
-
case class
ForgerStakeData(forgerPublicKeys: ForgerPublicKeys, ownerPublicKey: AddressProposition, stakedAmount: BigInteger) extends BytesSerializable with Product with Serializable
- Annotations
- @JsonView()
- case class ForgerStakeMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with ForgerStakesProvider with Product with Serializable
- trait ForgerStakesProvider extends AnyRef
-
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.
- class GasPool extends SparkzLogging
-
case class
GasUintOverflowException() extends InvalidMessageException with Product with Serializable
ErrGasUintOverflow is returned when calculating gas usage.
- case class GetListOfWithdrawalRequestsCmdInput(epochNum: Int) extends ABIEncodable[StaticStruct] with Product with Serializable
- case class GetOwnershipsCmdInput(scAddress: Address) extends ABIEncodable[StaticStruct] with Product with Serializable
- trait HistoryBlockHashProvider extends AnyRef
-
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.
-
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.
-
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
- case class KeyRotationHistory(epochNumbers: List[Int]) extends BytesSerializable with Product with Serializable
-
case class
McAddrOwnershipData(scAddress: String, mcTransparentAddress: String) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
- Annotations
- @JsonView()
- case class McAddrOwnershipMsgProcessor(params: NetworkParams) extends NativeSmartContractMsgProcessor with McAddrOwnershipsProvider with Product with Serializable
- trait McAddrOwnershipsProvider extends AnyRef
- class Message extends AnyRef
- trait MessageProcessor extends AnyRef
- class MessageProcessorInitializationException extends Exception
- abstract class NativeSmartContractMsgProcessor extends MessageProcessor with SparkzLogging
-
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.
-
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.
-
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.
- case class OpenStakeForgerListCmdInput(forgerIndex: Int, signature: Signature25519) extends ABIEncodable[StaticStruct] with Product with Serializable
-
class
OutOfGasException extends ExecutionFailedException
Not enough gas remaining to continue execution.
-
case class
OwnerScAddress(scAddress: String) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
- Annotations
- @JsonView()
- case class RemoveOwnershipCmdInput(mcTransparentAddressOpt: Option[String]) extends ABIEncodable[StaticStruct] with Product with Serializable
- case class RemoveStakeCmdInput(stakeId: Array[Byte], signature: SignatureSecp256k1) extends ABIEncodable[StaticStruct] with Product with Serializable
- class ScAddrOwnershipLinkedList extends NativeSmartContractLinkedList
-
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.
- class StateDbAccountStateView extends BaseAccountStateView with AutoCloseable with SparkzLogging
-
class
StateDbAccountStateViewGasTracked extends StateDbAccountStateView
Extension to help with tracking gas consumption.
- class StateTransition extends SparkzLogging
- case class SubmitKeyRotationCmdInput(keyRotationProof: KeyRotationProof, newKeySignature: SchnorrProof) extends ABIEncodable[StaticStruct] with Product with Serializable
-
case class
WithdrawalRequest(proposition: MCPublicKeyHashProposition, value: BigInteger) extends BytesSerializable with ABIEncodable[StaticStruct] with Product with Serializable
- Annotations
- @JsonView()
- trait WithdrawalRequestProvider extends AnyRef
Value Members
- object AccountForgingStakeInfoListEncoder extends ABIListEncoder[AccountForgingStakeInfo, StaticStruct]
- object AccountForgingStakeInfoSerializer extends SparkzSerializer[AccountForgingStakeInfo]
- object AccountState extends SparkzLogging
- object AddNewOwnershipCmdInputDecoder extends ABIDecoder[AddNewOwnershipCmdInput] with MsgProcessorInputDecoder[AddNewOwnershipCmdInput]
- object AddNewStakeCmdInputDecoder extends ABIDecoder[AddNewStakeCmdInput] with MsgProcessorInputDecoder[AddNewStakeCmdInput]
- object AddWithdrawalRequestCmdInputDecoder extends ABIDecoder[AddWithdrawalRequestCmdInput] with MsgProcessorInputDecoder[AddWithdrawalRequestCmdInput]
- object CertificateKeyRotationMsgProcessor extends Serializable
- object EoaMessageProcessor extends MessageProcessor with SparkzLogging
- object ForgerPublicKeysSerializer extends SparkzSerializer[ForgerPublicKeys]
- object ForgerStakeDataSerializer extends SparkzSerializer[ForgerStakeData]
- object ForgerStakeLinkedList extends NativeSmartContractLinkedList
- object ForgerStakeMsgProcessor extends Serializable
- object GasUtil
- object GetListOfWithdrawalRequestsCmdInputDecoder extends ABIDecoder[GetListOfWithdrawalRequestsCmdInput] with MsgProcessorInputDecoder[GetListOfWithdrawalRequestsCmdInput]
- object GetOwnershipsCmdInputDecoder extends ABIDecoder[GetOwnershipsCmdInput] with MsgProcessorInputDecoder[GetOwnershipsCmdInput]
- object KeyRotationHistorySerializer extends SparkzSerializer[KeyRotationHistory]
- object McAddrOwnershipData extends Serializable
- object McAddrOwnershipDataListEncoder extends ABIListEncoder[McAddrOwnershipData, StaticStruct]
- object McAddrOwnershipDataSerializer extends SparkzSerializer[McAddrOwnershipData]
- object McAddrOwnershipLinkedList extends NativeSmartContractLinkedList
- object McAddrOwnershipMsgProcessor extends SparkzLogging with Serializable
- object MessageProcessorUtil
- object NativeSmartContractMsgProcessor
- object OpenStakeForgerListCmdInputDecoder extends ABIDecoder[OpenStakeForgerListCmdInput] with MsgProcessorInputDecoder[OpenStakeForgerListCmdInput]
- object OwnerScAddrListEncoder extends ABIListEncoder[OwnerScAddress, StaticStruct]
- object OwnerScAddressSerializer extends SparkzSerializer[OwnerScAddress]
- object RemoveOwnershipCmdInputDecoder extends ABIDecoder[RemoveOwnershipCmdInput] with MsgProcessorInputDecoder[RemoveOwnershipCmdInput]
- object RemoveStakeCmdInputDecoder extends ABIDecoder[RemoveStakeCmdInput] with MsgProcessorInputDecoder[RemoveStakeCmdInput]
- object ScAddrOwnershipLinkedList
- object ScAddressRefsLinkedList extends NativeSmartContractLinkedList
- object SubmitKeyRotationCmdInputDecoder extends ABIDecoder[SubmitKeyRotationCmdInput] with MsgProcessorInputDecoder[SubmitKeyRotationCmdInput]
- object WithdrawalMsgProcessor extends NativeSmartContractMsgProcessor with WithdrawalRequestProvider
- object WithdrawalRequestSerializer extends SparkzSerializer[WithdrawalRequest]
- object WithdrawalRequestsListEncoder extends ABIListEncoder[WithdrawalRequest, StaticStruct]