Packages

o

io.horizen.account.state

ForgerStakeV2MsgProcessor

object ForgerStakeV2MsgProcessor extends NativeSmartContractWithFork with ForgerStakesV2Provider

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForgerStakeV2MsgProcessor
  2. ForgerStakesV2Provider
  3. NativeSmartContractWithFork
  4. NativeSmartContractMsgProcessor
  5. SparkzLogging
  6. StrictLogging
  7. MessageProcessor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ActivateCmd: String
  5. val DelegateCmd: String
  6. val GetCurrentConsensusEpochCmd: String
  7. val GetForgerCmd: String
  8. val GetPagedForgersCmd: String
  9. val GetPagedForgersStakesByDelegatorCmd: String
  10. val GetPagedForgersStakesByForgerCmd: String
  11. val MAX_REWARD_SHARE: Int
  12. val MIN_REGISTER_FORGER_STAKED_AMOUNT_IN_WEI: BigInteger
  13. val NUM_OF_EPOCHS_AFTER_FORK_ACTIVATION_FOR_UPDATE_FORGER: Int
  14. val RegisterForgerCmd: String
  15. val RewardsReceivedCmd: String
  16. val StakeStartCmd: String
  17. val StakeTotalCmd: String
  18. val UpdateForgerCmd: String
  19. val WithdrawCmd: String
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def canProcess(invocation: Invocation, view: BaseAccountStateView, consensusEpochNumber: Int): Boolean
  22. def checkForgerStakesV2IsActive(view: BaseAccountStateView): Unit
  23. def checkInputDoesntContainParams(invocation: Invocation): Unit
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  25. val contractAddress: Address
  26. val contractCode: Array[Byte]
  27. lazy val contractCodeHash: Array[Byte]
  28. def customTracing(): Boolean
  29. def doActivateCmd(invocation: Invocation, view: BaseAccountStateView, context: ExecutionContext): Array[Byte]
  30. def doDelegateCmd(invocation: Invocation, view: BaseAccountStateView, context: ExecutionContext): Array[Byte]
  31. def doGetCurrentConsensusEpochCmd(invocation: Invocation, view: BaseAccountStateView, context: ExecutionContext): Array[Byte]
  32. def doGetForgerCmd(invocation: Invocation, view: BaseAccountStateView): Array[Byte]
  33. def doGetPagedForgersCmd(invocation: Invocation, view: BaseAccountStateView): Array[Byte]
  34. def doPagedForgersStakesByDelegatorCmd(invocation: Invocation, view: BaseAccountStateView): Array[Byte]
  35. def doPagedForgersStakesByForgerCmd(invocation: Invocation, view: BaseAccountStateView): Array[Byte]
  36. def doRegisterForger(invocation: Invocation, gasView: BaseAccountStateView, context: ExecutionContext): Array[Byte]
  37. def doRewardsReceivedCmd(invocation: Invocation, view: BaseAccountStateView, metadata: MsgProcessorMetadataStorageReader, currentEpoch: Int): Array[Byte]
  38. def doSpecificInit(view: BaseAccountStateView, consensusEpochNumber: Int): Unit
    Attributes
    protected
    Definition Classes
    NativeSmartContractWithFork
  39. def doStakeStartCmd(invocation: Invocation, view: BaseAccountStateView): Array[Byte]
  40. def doStakeTotalCmd(invocation: Invocation, view: BaseAccountStateView, currentEpoch: Int): Array[Byte]
  41. def doUpdateForger(invocation: Invocation, gasView: BaseAccountStateView, context: ExecutionContext): Array[Byte]
  42. def doWithdrawCmd(invocation: Invocation, view: BaseAccountStateView, context: ExecutionContext): Array[Byte]
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  45. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def getEthereumConsensusDataLog(event: Any): EthereumConsensusDataLog
  47. def getHashedMessageToSign(blockSignPubKeyStr: String, vrfPublicKeyStr: String, rewardShare: Int, rewardAddress: String): Array[Byte]
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. def init(view: BaseAccountStateView, consensusEpochNumber: Int): Unit
  50. def initDone(view: BaseAccountStateView): Boolean
    Definition Classes
    NativeSmartContractWithFork
  51. def isForkActive(consensusEpochNumber: Int): Boolean
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  54. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  57. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  58. def process(invocation: Invocation, view: BaseAccountStateView, metadata: MsgProcessorMetadataStorageReader, context: ExecutionContext): Array[Byte]

    Apply invocation to the given view.

    Apply invocation to the given view. Possible results:

    • applied as expected: return byte[]
    • invocation valid and (partially) executed, but operation "failed": throw ExecutionFailedException
    • invocation invalid and must not exist in a block: throw any other Exception
    invocation

    invocation to execute

    view

    state view

    metadata

    metadata view. IMPORTANT: always refers to the tip, not the current view

    context

    contextual information accessible during execution. It contains also the consensus epoch number

    returns

    return data on successful execution

    Definition Classes
    ForgerStakeV2MsgProcessorMessageProcessor
    Exceptions thrown

    ExecutionFailedException revert-and-consume-all-gas, also mark the message as "failed"

    ExecutionRevertedException revert-and-keep-gas-left, also mark the message as "failed"

    RuntimeException any other exceptions are considered as "invalid message"

  59. def requireIsNotPayable(invocation: Invocation): Unit
  60. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. def verifySignatures(msgToSign: Array[Byte], blockSignPubKey: PublicKey25519Proposition, vrfPubKey: VrfPublicKey, sign25519: Signature25519, signVrf: VrfProof): Unit
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ForgerStakesV2Provider

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from MessageProcessor

Inherited from AnyRef

Inherited from Any

Ungrouped