CreateContract

data class CreateContract(val wasmHash: ByteArray) : ContextRuleType

Matches contract deployments using a specific WASM hash.

Constructors

Link copied to clipboard
constructor(wasmHash: ByteArray)

Properties

Link copied to clipboard

WASM hash (32 bytes)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Converts the context rule type to its on-chain ScVal representation.