Allows to connect wallet to a contract. Connecting a wallet MAY be done before "viewState" (depending on contract implementation, ie. whether called contract's function required "caller" info) Connecting a wallet MUST be done before "writeInteraction".
Returns state of the contract at required blockHeight. Similar to {@link readContract} from the current version.
Allows to set (EvaluationOptions)
Returns the "view" of the state, computed by the SWC - ie. object that is a derivative of a current state and some specific smart contract business logic. Similar to the "interactRead" from the current SDK version.
TODO: tags and transfer params are not currently handled.
A version of the viewState method to be used from within the contract's source code. The transaction passed as an argument is the currently processed interaction transaction. The "caller" will be se to the owner of the interaction transaction, that requires to call this method.
note: calling "interactRead" from withing contract's source code was not previously possible - this is a new feature.
Writes a new "interaction" transaction - ie. such transaction that stores input for the contract.
Generated using TypeDoc
An implementation of Contract that is backwards compatible with current style of writing SW contracts (ie. using the "handle" function).
It requires ExecutorFactory that is using HandlerApi generic type.