PtbDsl

A dedicated DSL receiver for the ptb { ... } block, providing a context-specific API. This class contains only the lambda-style command functions.

Constructors

Link copied to clipboard
constructor(builder: ProgrammableTransactionBuilder)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun arg(value: Boolean): Argument
fun arg(value: String): Argument
fun arg(value: UByte): Argument
fun arg(value: UInt): Argument
fun arg(value: ULong): Argument
fun arg(value: UShort): Argument
fun <T> arg(values: List<T>, elementType: TypeTag): Argument
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun object(objectArg: ObjectArg): Argument
Link copied to clipboard
operator fun Argument.plus(other: Argument): List<Argument>

Defines the + operator for combining two Argument objects into a List<Argument>.

Link copied to clipboard
Link copied to clipboard
inline fun <T> pure(value: T): Argument
fun pure(bytes: ByteArray): Argument
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun Argument.unaryPlus(): List<Argument>

Defines the unary plus operator for a single Argument.

Link copied to clipboard