How to bring `op-code` to Hex?
from Howard

In Blueprint, we will need to write the Wrapper functions ourselves.

More importantly, when we code the op code in our FunC code, we need to decode the string into a Hex op-code and then convert it to the uint and hex data types.


For example:
const op::increase = "op::increase"c;
;; create an opcode from a string using the "c" prefix; this results in the 0x7e8764ef opcode in this case.



My question is, how can we generalize the process to convert a String into uint and hex data normally?

šŸ”— Answer on TON Overflow

Aug 13, 2023, 5:44 AM

Ā© 2024 Draquery.com All rights reserved.