Skip to content

Commit c8d30c9

Browse files
authored
Update ERC-7656: Fix interface id
Merged by EIP-Bot.
1 parent a39e72a commit c8d30c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ERCS/erc-7656.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ status: Review
88
type: Standards Track
99
category: ERC
1010
created: 2024-03-15
11-
requires: 165, 721, 1155, 1167, 4337, 6551
11+
requires: 20, 165, 721, 1155, 1167, 4337, 6551
1212
---
1313

1414
## Abstract
@@ -124,7 +124,7 @@ The `mode` parameter (being `bytes12`) allows for future extensions beyond these
124124

125125
### Deployment Requirements
126126

127-
Any `ERC7656Factory` implementation MUST support the `IERC7656Factory` interface ID (`0xc6bdc908`).
127+
Any `ERC7656Factory` implementation MUST support the `IERC7656Factory` interface ID (`0x9e23230a`).
128128

129129
Each linked service MUST be deployed as an [ERC-1167](./eip-1167.md) minimal proxy, appending immutable constant data to the bytecode. The deployed bytecode structure is:
130130

@@ -170,7 +170,7 @@ Rather than creating separate standards for NFT extensions and account extension
170170

171171
### Mode Parameter Design
172172

173-
The `mode` parameter uses 12 bytes instead of a simple boolean flag because the 12-byte format reserves space for future linking modes beyond the initial two (NFT linking and account linking). For example, if a service is associated to an [ERC-1155](./eip-1155.md) token but requires that the balance of the user is more than 1000 tokens, the mode could be `0x000000000000000000003e802`, where the least significant byte, `0x02` is the primary mode and the rest is the minimum required balance.
173+
The `mode` parameter uses 12 bytes instead of a simple boolean flag because the 12-byte format reserves space for future linking modes beyond the initial two (NFT linking and account linking). For example, if a service is associated to an [ERC-1155](./eip-1155.md) token but requires that the balance of the user is more than 1000 tokens, the mode could be `0x000000000000000000003e802`, where the least significant byte, `0x02` is the primary mode and the rest is the minimum required balance. Similarly, someone can think of a service associated to [ERC-20](./eip-20.md) tokens that requires a specific balance where the required balance can be put in the `linkedId` field, and the `mode` specified accordingly.
174174

175175
### Deterministic Addressing
176176

0 commit comments

Comments
 (0)