Solidity Interface & Canonical Declaration
function execTransaction(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address payable refundReceiver, bytes memory signatures) external payable returns (bool success)
Executes a transaction confirmed by the required threshold of multisig owners with cryptographic threshold signatures.
Theoretical Base Gas: 75,000 ~ 280,000 gas
Return Type: bool
Calldata ABI Memory & Parameter Offset Layout
| Calldata Offset | Type | Parameter Name | Semantic Role |
|---|---|---|---|
| 0x00 ~ 0x03 (4B) | bytes4 | Method ID (msg.sig) | Function Selector for execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes) |
| 0x04 ~ 0x23 (32B) | address | to | Destination address of Safe transaction |
| 0x24 ~ 0x43 (32B) | uint256 | value | Native ETH value to send |
| 0x44 ~ 0x63 (32B) | bytes | data | Payload bytes to execute via call/delegatecall |
| 0x64 ~ 0x83 (32B) | uint8 | operation | Operation type (0 for Call, 1 for DelegateCall) |
| 0x84 ~ 0xa3 (32B) | uint256 | safeTxGas | Gas that should be spent on the Safe transaction |
| 0xa4 ~ 0xc3 (32B) | uint256 | baseGas | Gas costs for data transmission independent of transaction execution |
| 0xc4 ~ 0xe3 (32B) | uint256 | gasPrice | Gas price used for the gas refund calculation |
| 0xe4 ~ 0x103 (32B) | address | gasToken | Token used for gas refund (address(0) for native ETH) |
| 0x104 ~ 0x123 (32B) | address | refundReceiver | Address of receiver of gas payment (or 0 for tx.origin) |
| 0x124 ~ 0x143 (32B) | bytes | signatures | Packed cryptographic signatures of the Safe owners |
Cryptographic Keccak-256 Derivation Proof
Canonical ASCII Signature String: execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)
Full 256-bit Keccak-256 Digest: 0x6a761202de7c35c7e1ec7400f298161946f2c5e94981ea3013d935de1cb971bd
Sliced First 4 Bytes (Big-Endian): 0x6a761202
EVM Runtime Function Dispatcher Assembly (Opcodes)
// 1. Load the first 32 bytes of transaction calldata
[0x0000] PUSH1 0x00
[0x0002] CALLDATALOAD
// 2. Right-shift by 224 bits (0xe0) to isolate the 4-byte selector
[0x0003] PUSH1 0xe0
[0x0005] SHR
// 3. Match against target selector 0x6a761202 and branch
[0x0006] DUP1
[0x0007] PUSH4 0x6a761202
[0x000c] EQ
[0x000d] PUSH2 0x0050
[0x0010] JUMPI // Jump to implementation if matched