0

Following these details on the values that make part of the calldata that goes into an L2 message in Arbitrum:

enter image description here

https://developer.offchainlabs.com/docs/arbos_formats#l2-messages

How do you convert/cast an address to an uint256?

Thanks!

1 Answer 1

0

Solution:

uint256(uint160(xAddr))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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