US

USDC (Mainnet) (Clone)

0xA0b8...eB48EthereumEthereum
x402stablecoinERC20

Contract Level Prompt

Foundational semantic layer for AI interpretation.

psychology
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

input
fromaddress

The address which signed the authorization and is sending USDC.

input
toaddress

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

input
valueuint256

The amount of USDC to transfer.

input
validAfteruint256

The unix timestamp after which the signature is valid.

input
validBeforeuint256

The unix timestamp before which the signature is valid

input
noncebytes32

A random 32 byte hex string used to prevent replays.

input
signatureunknown

A signature provided by the `from` account.

Output Parameters

No output parameters.