# IMDPicks Intake v2 contract fact sheet Scope: Ethereum mainnet (chain ID 1), Intake v2 `0xa43e6f75ee006411f79ac1c84120606c2330de82`, IMD `0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7`. The contract is Sourcify full-match verified (verification timestamp 2026-10-10). Source: [Sourcify verified contract](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources). ## ABI These are the exact Solidity declarations from the verified ABI/source: ```solidity struct Callback { address target; bytes4 selector; } function request( bytes32 action, bytes calldata body, Callback calldata callback, address asset, uint256 amount ) external payable returns (bytes32 requestId); function priceOf(bytes32 action, address asset) external view returns (uint256 amount); function payTo() external view returns (address); event Requested( bytes32 indexed requestId, address indexed payer, bytes32 indexed action, bytes body, address callbackTarget, bytes4 callbackSelector, address asset, uint256 amount ); event Completed( bytes32 indexed requestId, uint8 status, bytes32 resultHash, string uri, bool delivered ); ``` Direct `request` errors in the verified source are: ```solidity error ActionNotSold(bytes32 action, address asset); error PriceNotMet(uint256 price, uint256 amount); error EmptyBody(); error BodyTooLong(uint256 length); error WrongValue(uint256 expected, uint256 sent); error ForwardFailed(); ``` The ERC-20 transfer can additionally bubble the token's verified OpenZeppelin errors `ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)`, `ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)`, `ERC20InvalidApprover(address approver)`, `ERC20InvalidSpender(address spender)`, `ERC20InvalidSender(address sender)`, `ERC20InvalidReceiver(address receiver)`, or Intake's `SafeERC20FailedOperation(address token)`. Source: [verified IMD ABI](https://sourcify.dev/server/v2/contract/1/0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7?fields=abi,sources). ## Values * Action bytes32: UTF-8 `job.open@job-1`, right-padded with zero bytes: `0x6a6f622e6f70656e406a6f622d31` followed by zero padding. Asset: IMD above. * `priceOf(action, IMD)`: `500000000000000000` atomic units = **0.5 IMD**. Read by `eth_call` at block **26,519,223** (`0x194a6b7`) through [Ethereum public RPC](https://ethereum-rpc.publicnode.com); call selector `0x51102885` (the verified `priceOf(bytes32,address)` ABI call). * `payTo()`: **`0x4e0fa57bde726079356537e2f34d671e9f41adbc`**. Read by `eth_call` at the same block through [Ethereum public RPC](https://ethereum-rpc.publicnode.com); verified source says `_collect` forwards payment to `payTo` in the same call. * `MAX_BODY_BYTES`: **16,384 bytes** (empty body is rejected; 5 KB and 7 KB are below the cap). Verified source: [Intake.sol](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources), and the constant read (`0x2ade18c2`) at block 26,519,223 through [Ethereum public RPC](https://ethereum-rpc.publicnode.com). * Payer/no callback: yes. An EOA can call `request` with `callback.target = address(0)` and `callback.selector = bytes4(0)`; the verified `_request` stores `Request(msg.sender, ...)`, so the recorded `Requested.payer` and `requests(requestId).payer` are the EOA that signed/sent the transaction. No callback is attempted when the target is zero. Source: [verified Intake.sol](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources). * IMD waits **3 Ethereum blocks behind the head**, in block order, before processing an on-chain payment. Source: [IMD protocol documentation](https://imd.fun/docs/llms.txt) (section “Following it”). * Allowance: for an IMD payment, the wallet must approve Intake v2 as spender for at least `amount` (0.5 IMD for this action); Intake calls `safeTransferFrom(msg.sender, payTo, amount)`. The verified IMD ABI has `approve` but no `permit`/`permitAndCall` function: **permit not found**. Sources: [Intake source](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources), [IMD verified ABI](https://sourcify.dev/server/v2/contract/1/0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7?fields=abi). ## Wallet steps 1. Sign an IMD `approve(IntakeV2, 500000000000000000)` transaction (or a larger allowance). It moves no IMD; it changes the wallet's allowance for Intake v2. The token's verified ABI exposes `approve(address,uint256)`. Source: [IMD verified ABI](https://sourcify.dev/server/v2/contract/1/0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7?fields=abi). 2. Sign one Ethereum transaction calling `request(bytes32,bytes,(address,bytes4),address,uint256)` with action `job.open@job-1`, the UTF-8 job body, `(address(0), bytes4(0))`, IMD, and `500000000000000000`. It moves exactly `amount` IMD from the customer to `payTo`; Intake retains no payment. The transaction emits `Requested`, whose payer is the wallet. Source: [verified Intake.sol](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources). No `VERIFIER_PRIVATE_KEY`, quote signature, callback transaction, or native ETH value is required for this path. The customer signs only the two transactions above (unless an existing sufficient allowance makes step 1 unnecessary). The application should wait for the transaction to be at least three blocks deep, then follow the resulting job ID via `https://api.imd.fun`; do not show paid/completed from wallet submission alone. Source: [IMD docs](https://imd.fun/docs/llms.txt). ## Reverts | Error | Cause in `request` | |---|---| | `ActionNotSold(bytes32,address)` | `priceOf(action, asset) == 0`; the action/asset pair is not sold. | | `PriceNotMet(uint256,uint256)` | `amount < priceOf(action, asset)`. | | `EmptyBody()` | `body.length == 0`. | | `BodyTooLong(uint256)` | `body.length > 16,384`. | | `WrongValue(uint256,uint256)` | For ERC-20, `msg.value != 0`; for native asset, `msg.value != amount`. | | `ForwardFailed()` | Native-coin forwarding call to `payTo` returned false. | | `ERC20InsufficientAllowance(...)` | IMD allowance from the wallet to Intake is below `amount`. | | `ERC20InsufficientBalance(...)` | Wallet IMD balance is below `amount`. | | `SafeERC20FailedOperation(address)` | The token transfer call returned an unusable failure. | The causes above are the verified `_request` and `_collect` branches, not inferred behavior: [Intake.sol](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources). A zero callback target is explicitly allowed by this path; `FailureHookWithoutTarget` belongs only to `requestWithFailure`, not `request`. ## Gas At block **26,519,223** on Ethereum, `eth_estimateGas` from the current `payTo` address (`0x4e0fa57bde726079356537e2f34d671e9f41adbc`, whose live IMD balance was read as nonzero) for `IMD.approve(IntakeV2, type(uint256).max)` returned **47,660 gas** (`0xba2c`). Source/call: [Ethereum public RPC](https://ethereum-rpc.publicnode.com); token ABI/source: [verified IMD contract](https://sourcify.dev/server/v2/contract/1/0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7?fields=abi,sources). For `request` with 5 KB and 7 KB bodies, a successful estimate requires a caller with an allowance for Intake. The public node accepted ordinary `eth_estimateGas` but did not provide a usable state override for the required IMD allowance; the live caller had zero allowance, so the call reverted `ERC20InsufficientAllowance`. Successful 5 KB estimate: **not found**. Successful 7 KB estimate: **not found**. No gas number is substituted for a failed measurement. Source/call: [Ethereum public RPC](https://ethereum-rpc.publicnode.com); failure behavior: [verified Intake.sol](https://sourcify.dev/server/v2/contract/1/0xa43e6f75ee006411f79ac1c84120606c2330de82?fields=sources).