java.lang.Object
io.hotmoka.whitelisting.Dummy
This class is used only in the instrumentation of from contract methods or constructors,
as an extra type added at the end of its signature:
m(formals) becomes
m(formals, Contract, Dummy), where the io.takamaka.code.lang.Contract
is the caller. The goal is to avoid signature clashes
because of the instrumentation: since this class is not white-listed, it cannot
be used by the programmer and the instrumentation cannot lead to signature clashes.
Moreover, the value passed for this extra parameter can be used to signal something to the callee.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DummyThis value is passed to a from contract method to signal that it has been called on this in the caller. -
Method Summary
-
Field Details
-
METHOD_ON_THIS
This value is passed to a from contract method to signal that it has been called on this in the caller.
-