solidity/test/libsolidity/semanticTests/builtinFunctions/keccak256_multiple_arguments.sol
2020-03-26 17:47:36 +01:00

8 lines
275 B
Solidity

contract c {
function foo(uint256 a, uint256 b, uint256 c) public returns (bytes32 d) {
d = keccak256(abi.encodePacked(a, b, c));
}
}
// ----
// foo(uint256,uint256,uint256): 0xa, 0xc, 0xd -> 0xbc740a98aae5923e8f04c9aa798c9ee82f69e319997699f2782c40828db9fd81