How to match a function of a contract to its corresponding code address

loiluuloiluu Member Posts: 7
Hi,

Since we can call directly a function of a contract (e.g. Contract.functionA()), I am curious about how do the current clients (like go-ethereum) match a function to its corresponding code address and execute only that function. Is there any metadata stored on the blockchain to support this matching? Is there some pattern to match a function signature to its code address?

Comments

Sign In or Register to comment.