pub fn contract_address(sender: H160, nonce: u64) -> H160
Returns the contract address for the given sender and nonce. Use U256::as_u64() to convert the nonce to u64.
U256::as_u64()
u64