mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			495 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			495 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract test {
 | |
|     function a(bytes32 h, uint8 v, bytes32 r, bytes32 s) public returns (address addr) {
 | |
|         return ecrecover(h, v, r, s);
 | |
|     }
 | |
| }
 | |
| // ====
 | |
| // compileViaYul: also
 | |
| // ----
 | |
| // a(bytes32,uint8,bytes32,bytes32):
 | |
| // 0x18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c,
 | |
| // 28,
 | |
| // 0x73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f,
 | |
| // 0xeeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549
 | |
| // -> 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b
 |