class OpenStakeTransaction extends SidechainNoncedTransaction[PublicKey25519Proposition, ZenBox, ZenBoxData]
OpenStakeTransaction is used to open the forging stake to the world. It can be used when the flag "restrictForger" is enabled and can be fired only by the allowed forgers inside the "allowedForgers" list. This transaction has 1 input and 0 or 1 output. It contains a custom field "forgerIndex" that identify a specific forger inside the "allowedForgers" list. The input must be locked by the corresponding proposition indexed by "forgerIndex" inside the "allowedForgers" list.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OpenStakeTransaction
- SidechainNoncedTransaction
- SidechainTransaction
- BoxTransaction
- Transaction
- Transaction
- EphemerealNodeViewModifier
- NodeViewModifier
- SparkzEncoding
- BytesSerializable
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new OpenStakeTransaction(inputId: Array[Byte], outputData: Optional[ZenBoxData], proof: Signature25519, forgerIndex: Int, fee: Long, version: Byte)
Type Members
-
abstract
type
M >: OpenStakeTransaction.this.type <: BytesSerializable
- Definition Classes
- BytesSerializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
boxIdsToOpen(): Set[ByteArrayWrapper]
- Definition Classes
- BoxTransaction
-
def
bytes(): Array[Byte]
- Definition Classes
- BoxTransaction → BytesSerializable
- Annotations
- @Override()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
customDataMessageToSign(): Array[Byte]
- Definition Classes
- OpenStakeTransaction → BoxTransaction
- Annotations
- @Override()
-
def
customFieldsData(): Array[Byte]
- Definition Classes
- OpenStakeTransaction → BoxTransaction
- Annotations
- @Override()
-
def
encodedId: String
- Definition Classes
- NodeViewModifier
-
implicit
val
encoder: SparkzEncoder
- Definition Classes
- SparkzEncoding
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- NodeViewModifier → AnyRef → Any
-
def
fee(): Long
- Definition Classes
- OpenStakeTransaction → BoxTransaction
- Annotations
- @Override()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getForgerIndex(): Int
- def getInputId(): Array[Byte]
-
final
def
getNewBoxNonce(newBoxProposition: PublicKey25519Proposition, newBoxIndex: Int): Long
- Attributes
- protected[transaction]
- Definition Classes
- SidechainTransaction
- def getOutputBox(): Optional[ZenBoxData]
-
def
getOutputData(): List[ZenBoxData]
- Attributes
- protected[transaction]
- Definition Classes
- OpenStakeTransaction → SidechainNoncedTransaction
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
id(): String
- Definition Classes
- BoxTransaction → Transaction → NodeViewModifier
- Annotations
- @JsonProperty() @Override()
-
def
incompatibilityChecker(): TransactionIncompatibilityChecker
- Definition Classes
- OpenStakeTransaction → BoxTransaction
-
def
isCustom(): Boolean
- Definition Classes
- OpenStakeTransaction → BoxTransaction
- Annotations
- @Override()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
messageToSign(): Array[Byte]
- Definition Classes
- BoxTransaction → Transaction
- Annotations
- @Override()
-
val
modifierTypeId: ModifierTypeId
- Definition Classes
- Transaction → NodeViewModifier
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
newBoxes(): List[ZenBox]
- Definition Classes
- SidechainNoncedTransaction → BoxTransaction
- Annotations
- @Override()
-
final
def
newBoxesPropositions(): List[PublicKey25519Proposition]
- Attributes
- protected[transaction]
- Definition Classes
- SidechainNoncedTransaction → SidechainTransaction
- Annotations
- @Override()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
semanticValidity(): Unit
- Definition Classes
- SidechainTransaction → Transaction
- Annotations
- @Override()
-
def
serializer(): TransactionSerializer
- Definition Classes
- OpenStakeTransaction → BytesSerializable
- Annotations
- @Override()
-
def
size(): Long
- Definition Classes
- BoxTransaction → Transaction
- Annotations
- @JsonProperty() @Override()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- BoxTransaction → AnyRef → Any
- Annotations
- @Override()
-
def
transactionSemanticValidity(): Unit
- Definition Classes
- OpenStakeTransaction → SidechainTransaction
- Annotations
- @Override()
-
def
transactionTypeId(): Byte
- Definition Classes
- OpenStakeTransaction → BoxTransaction → Transaction
- Annotations
- @Override()
-
def
typeName(): String
- Definition Classes
- BoxTransaction
- Annotations
- @JsonProperty()
-
def
unlockers(): List[BoxUnlocker[PublicKey25519Proposition]]
- Definition Classes
- OpenStakeTransaction → BoxTransaction
- Annotations
- @Override()
-
def
version(): Byte
- Definition Classes
- OpenStakeTransaction → BoxTransaction → Transaction
- Annotations
- @Override()
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated