toBinding

fun EventPayload.toBinding(): <Error class: unknown class>

The renderer's EventPayload as the binding the interpreter runs.

A view binding is an event action: its name selects a handler and its params are the arguments that handler reads. EventPayload.target is deliberately dropped — the contract's interaction is a name, its params and its payload, so a handler cannot come to depend on which node happened to be under the finger.