staticPointer

inline fun <T : ContractState> staticPointer(stateAndRef: StateAndRef<T>, isResolved: Boolean = false): <Error class: unknown class>

Creates a StaticPointer to the specified contract state.

Return

Returns a StaticPointer to the specified contract state.

Parameters

stateAndRef

The StateAndRef instance from which to construct a static pointer.

isResolved

Determines whether the state pointer should be resolved to a reference input when included in a transaction.