Extensions

object Extensions extends CommonExtensions with JsonExtensions
trait JsonExtensions
trait CommonExtensions
class Object
trait Matchable
class Any

Extensions

Extensions

extension (bs: Array[Byte])
def toAddress: Either[Exception, Address]
def toBigInt: Option[BigInt]
def toBigUint: Option[BigInt]
def toHex(withPrefix: Boolean): String
extension (i: BigInt)
def toIntByte32: Option[Array[Byte]]
def toUintByte32: Option[Array[Byte]]
extension (s: String)
def toAddress: Either[Exception, Address]
def toBytes: Either[Exception, Array[Byte]]

Inherited extensions

extension [T](i: Option[T])
def !: T
Inherited from:
CommonExtensions
extension [E <: Throwable, T](i: Either[E, T])
def !: T
Inherited from:
CommonExtensions
extension (s: String)
def parseToJson: Either[ParsingFailure, Json]
Inherited from:
JsonExtensions
extension [T](t: T)
def encode(using encoder: Encoder[T]): Json
Inherited from:
JsonExtensions
extension (t: Json)
def decode[T](using decoder: Decoder[T]): Either[DecodeException, T]
Inherited from:
JsonExtensions