web3wagmi
← All standards

ERC-7837 Diffusive Tokens

FinalERCcreated 2024-12-07

A fungible token that mints new tokens on transfer, charges a per-token native fee, and enforces a capped supply.

Author: Cheng Qian (@jamesavechives)

Functions this standard introduces (9)

0xdd62ed3eallowance(address,address)view
0x095ea7b3approve(address,uint256)
0x70a08231balanceOf(address)view
0x42966c68burn(uint256)
0x6f8b44b0setMaxSupply(uint256)
0x8f02bb5bsetTransferFee(uint256)
0xa9059cbbtransfer(address,uint256)payable
0x23b872ddtransferFrom(address,address,uint256)payable
0x164e68dewithdrawFees(address)

Events (5)

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

0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efTransfer(address,address,uint256)
0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5Burn(address,uint256)
0x8c4d35e54a3f2ef1134138fd8ea3daee6a3c89e10d2665996babdf70261e2c76FeeUpdated(uint256)
0x7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806cMaxSupplyUpdated(uint256)
0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925Approval(address,address,uint256)

What the specification covers

Compare with

Parsed from the canonical specification · discussion