Calls a function from a remote contract and execute it in the current context.
Remarks
When using localCall, the contract calls a function defined in another smart contract
and executes it within its own context. This means that if a datastore key is modified
in the called function, the modification will occur in the current smart contract's datastore.
This behavior is attributed to the execution taking place "in the current context" of the caller.
Arguments serialization is to be handled by the caller and the callee.
Returns
The return value of the executed function, serialized as a 'StaticArray'.
Throws
if the given address is not a valid address.
if the function doesn't exist in the contract to call.
Calls a function from a remote contract and execute it in the current context.
Remarks
When using localCall, the contract calls a function defined in another smart contract and executes it within its own context. This means that if a datastore key is modified in the called function, the modification will occur in the current smart contract's datastore. This behavior is attributed to the execution taking place "in the current context" of the caller.
Arguments serialization is to be handled by the caller and the callee.
Returns
The return value of the executed function, serialized as a 'StaticArray'.
Throws