US

USDC (Mainnet) (Clone)

0xA0b8...eB48EthereumEthereum
x402stablecoinERC20

Contract Level Prompt

Foundational semantic layer for AI interpretation.

This is the Ethereum Mainnet smart contract for the USDC stablecoin. The USDC stablecoin implements the EIP-3009 interface which makes it compatible with the x402 payment scheme. USDC has deep liquidity on all major DEXs and can be easily swapped into most other major ERC20 tokens with minimal slippage.

receiveWithAuthorization()

nonpayable

Functional Prompt

Similar to `transferWithAuthorization`, can only be called by the recipient `to` address. Used in scenarios where front-running of transactions is a concern.

Input Parameters

fromaddress

The address which signed the authorization and is sending USDC.

toaddress

The address which will receive the USDC, must be the caller of the function.

valueuint256

The amount of USDC to transfer.

validAfteruint256

The unix timestamp after which the signature is valid.

validBeforeuint256

The unix timestamp before which the signature is valid

noncebytes32

A random 32 byte hex string used to prevent replays.

signatureunknown

A signature provided by the `from` account.

Output Parameters

No output parameters.