4

We know in solidity it is something like this bytes4(keccak256("hello(string)") but what about serpent? In Theory we should be able to call serpent contract code from solidity using these signature hashes.

1 Answer 1

0

Seems that it is the same as in solidity despite the variables being named differently.

Example is here for BTCRelay: https://github.com/James-Sangalli/btcrelay/blob/gh-pages/examples/BitcoinRelayABI.js

Your Answer

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

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