TransactionBuilder

交易的建造者模式 Design: See https://refactoringguru.cn/design-patterns/builder

Inheritors

Functions

Link copied to clipboard
abstract fun build(): Transaction
Link copied to clipboard
abstract fun refreshTimestamp(): T
Link copied to clipboard
abstract fun setAmount(amount: Long): T
Link copied to clipboard
abstract fun setBlock(latest: CurrentTDBlock): T
Link copied to clipboard
abstract fun setCode(data: String): T
Link copied to clipboard
abstract fun setJoule(joule: Long): T
Link copied to clipboard
abstract fun setLinker(linker: Address): T
Link copied to clipboard
abstract fun setOwner(owner: Address): T
Link copied to clipboard
abstract fun setPayload(payload: String): T