Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @dev This function encodes a function signature and returns it.
- * @notice There are no spaces between the parameters types, and the
- * parameters names are not included when encoding.
- * @return bytes4 : The encoded function signature.
- */
- function encodingFunctionSignature()
- public
- returns(bytes4)
- {
- bytes4 encodedSignature = bytes4(keccak256("aFunction(string,uint256)"));
- return encodedSignature;
- }
Add Comment
Please, Sign In to add comment