web3wagmi
← All standards

ERC-7662 AI Agent NFTs

DraftERCcreated 2024-03-26requires ERC-721

A specification for NFTs that represent AI Agents.

Author: Greg Marlin (@marleymarl)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC76620xaf87e086

Functions this standard introduces (1)

0xaf87e086getAgentData(uint256)view

Inherited (10)

0x095ea7b3approve(address,uint256)ERC-721
0x70a08231balanceOf(address)ERC-721
0x081812fcgetApproved(uint256)ERC-721
0xe985e9c5isApprovedForAll(address,address)ERC-721
0x6352211eownerOf(uint256)ERC-721
0xb88d4fdesafeTransferFrom(address,address,uint256,bytes)ERC-721
0x42842e0esafeTransferFrom(address,address,uint256)ERC-721
0xa22cb465setApprovalForAll(address,bool)ERC-721
0x01ffc9a7supportsInterface(bytes4)ERC-165
0x23b872ddtransferFrom(address,address,uint256)ERC-721

Events (2)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0xf9ad94c5cd385423b7d420bd953716dc348c65914cceb49759c095b7ba0064a9AgentUpdated(uint256)
0xfbc56d1e3f5bbbead122863e3693c79dd5f6501f7631053a4186f7aa9ee9518cAgentCreated(string,string,string,address,uint256)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion