chainline-contracts / chainline.contracts / Testbed

Testbed

object Testbed : SmartContract (source)

Functions

Main

fun Main(operation: String, vararg args: ByteArray): Any?

concat

fun ByteArray.concat(b2: ByteArray): ByteArray

padIntToBytes

fun padIntToBytes(count: Int, toPad: BigInteger?): ByteArray

range

fun ByteArray.range(from: Int?, to: Int?): ByteArray

reverse

fun ByteArray.reverse(): ByteArray

reverseArray

fun reverseArray(input: ByteArray): ByteArray