Package-level declarations

This package contains all the utility functions used by Ksui.

This package contains all the utility functions used by Ksui.

This package contains all the utility functions used by Ksui.

This package contains all the utility functions used by Ksui.

This package contains all the utility functions used by Ksui.

Types

Link copied to clipboard
enum Logger : Enum<Logger>
Link copied to clipboard

Properties

Link copied to clipboard
const val FUNCTION: String
Link copied to clipboard
const val LENGTH: Int = 32
Link copied to clipboard
const val MODULE: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val PACKAGE_ID: String
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> bcsDecode(data: ByteArray): T
Link copied to clipboard
inline fun <T> bcsEncode(data: T): ByteArray
Link copied to clipboard
fun convertBits(data: ByteArray, fromBits: Int, toBits: Int, pad: Boolean): ByteArray
Link copied to clipboard

Decodes the base58 string into a ByteArray

Link copied to clipboard

Encodes the bytes as a base58 string (no checksum is appended).

Link copied to clipboard
Link copied to clipboard
fun Logger.getKtorLogger(): Logger
Link copied to clipboard
fun LogLevel.getKtorLogLevel(): LogLevel
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> ProgrammableTransactionBuilder.inputs(vararg inputs: T): List<Argument>

Extension functions to create Argument.Inputs from various types.

Link copied to clipboard
actual fun <T> runBlocking(context: CoroutineContext, block: suspend CoroutineScope.() -> T)
expect fun <T> runBlocking(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> T)
actual fun <T> runBlocking(context: CoroutineContext, block: suspend CoroutineScope.() -> T)
actual fun <T> runBlocking(context: CoroutineContext, block: suspend CoroutineScope.() -> T)
actual fun <T> runBlocking(context: CoroutineContext, block: suspend CoroutineScope.() -> T)
Link copied to clipboard

Extension function to create a TransactionDigest from a String.

Link copied to clipboard
inline fun <T : TypeTag> ProgrammableTransactionBuilder.types(vararg types: T): List<TypeTag>