0

CALL opcode consumes value of the stack (which is transferred to the account). It can also additionally consume stack items to pass input to the smart contract account function.

Can both happen simultaneously? How common is it?

1 Answer 1

0

Yes. The CALL opcode has sever parameters: gas, addr, val, argOst, argLen, retOst, retLen

In particular val is the ether amount to be sent, and argOst, argLen are byte array start and length with the input parameters.

See the documentation https://ethereum.org/en/developers/docs/evm/opcodes/ for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.