object TransferTransaction extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TransferTransaction
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class BoxParams[+T <: TokenValueHolder](evidence: Evidence, nonce: Nonce, value: T) extends Product with Serializable
- case class TransferCreationState(senderBoxes: Map[String, IndexedSeq[(String, Address, TokenBox[TokenValueHolder])]], polyBalance: Int128) extends Product with Serializable
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
- def calculateBoxNonce[T <: TokenValueHolder](tx: TransferTransaction[T, _ <: Proposition], to: IndexedSeq[(Address, T)]): (BoxParams[SimpleValue], Traversable[BoxParams[T]])
Computes a unique nonce value based on the transaction type and inputs and returns the details needed to create the output boxes for the transaction
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encodeFrom(from: IndexedSeq[(Address, Nonce)]): Json
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSenderBoxesAndCheckPolyBalance(boxReader: BoxReader[ProgramId, Address], sender: IndexedSeq[Address], fee: Int128, txType: String, assetCode: Option[AssetCode] = None): Try[TransferCreationState]
Determines the input boxes needed to create a transfer transaction
Determines the input boxes needed to create a transfer transaction
- boxReader
a read-only version of the nodes current state
- sender
the set of addresses that will contribute boxes to this transaction
- fee
the fee to be paid for the transaction
- txType
the type of transfer
- assetCode
an asset specific detail for finding the right asset boxes to be sent in a transfer
- returns
the input box information and output data needed to create the transaction case class
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()