Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [returndata]

the value of the data that is returned from the last function call during a single transaction

0
votes
0answers
21 views

Why does return address(player) return a weird string?

I am trying to get the player's address through front end and when I run through the solidity function that should return the player's address, it would return ...
0
votes
2answers
42 views

Why does fallback cause exception when expecting return value?

I want to understand, what happens under the hoods in this (very unsafe, but educative) example. contract Actual { function () external { } } interface Expected { function g() external ...
1
vote
1answer
27 views

Is it possible to get a function's original returndata if it is wrapped in an interface that doesn't return anything?

Will a function's returndata persist through a wrapper, even if the wrapper does not support a return value? An example would be as follows: contract OriginalContract { function originalFunction()...