You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to get the value of a field of another contract?
It seems impossible... there is no way to get a balance of another ZRC-2 - too bad!
Need to add getting field values (and preferably also messages of a transition) of another contract. Does it require changes in the bytecode interpreter?
The text was updated successfully, but these errors were encountered:
How to get the value of a field of another contract?
It seems impossible... there is no way to get a balance of another ZRC-2 - too bad!
At the moment the only option is to send a message invoking an appropriate getter transition on the other contract, and provide a transition that can receive the message that the getter sends back.
We are working on a way to read field values directly.
Does it require changes in the bytecode interpreter?
Yes, among other things. (BTW, the interpreter is not a bytecode interpreter - it interprets Scilla code directly).
(and preferably also messages of a transition)
I don't understand what this means. When invoked, transitions may create and send messages, but messages are not part of the contract's state, so there are no message to read.
How to get the value of a field of another contract?
It seems impossible... there is no way to get a balance of another ZRC-2 - too bad!
Need to add getting field values (and preferably also messages of a transition) of another contract. Does it require changes in the bytecode interpreter?
The text was updated successfully, but these errors were encountered: