web3wagmi
← All standards

ERC-4885 Subscription NFTs and Multi Tokens

StagnantERCcreated 2022-03-08requires ERC-165, ERC-721, ERC-1155

An interface for subscription tokens that gives holders subscriptions to NFTs and multi tokens

Author: Jules Lai (@julesl23)

ERC-165 interface ids

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

ISubscriptionToken0xc1a48422

Functions this standard introduces (5)

0x70a08231balanceOf(address)view
0x0efe6a8bdeposit(address,uint256,uint256)payable
0x06fdde03name()view
0x2cdf29dasubscribeToNFT(address,uint256,string)
0x95d89b41symbol()view

Events (3)

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

0x43e1e4d0ba16a874c82b70a63aad4de0a48c2d458e5c736d680cdcd6cac5030fInitializeSubscriptionToken(string,string,address,address,address,address,string)
0x82931e8d4e382021f8fd63592de4ff92f819a0ba6145c3028bc42252b731c445SubscribeToNFT(address,uint256,string)
0x7162984403f6c73c8639375d45a9187dfd04602231bd8e587c415718b5f7e5f9Deposit(address,uint256,uint256,uint256,uint256)

Depends on (3)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion