Skip to content

Commit c47c747

Browse files
committed
Fixing standards
1 parent 7544e22 commit c47c747

File tree

3 files changed

+110
-104
lines changed

3 files changed

+110
-104
lines changed

dist/go/eip/standards.pb.go

Lines changed: 87 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protosets/unpack.protoset

80 Bytes
Binary file not shown.

eip/standards.proto

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,26 @@ package unpack.v1.eip;
55
// Represents the standard interface for Ethereum smart contracts.
66
enum Standard {
77
UNKNOWN = 0; // Default value for the enum.
8-
EIP20 = 1; // ERC-20 Token Standard.
9-
EIP721 = 2; // ERC-721 Non-Fungible Token Standard.
10-
EIP223 = 3; // ERC-223 Token Standard.
11-
EIP1820 = 4; // EIP-1820 Pseudo-introspection Registry.
12-
EIP1822 = 5; // EIP-1822 Proxies.
13-
EIP777 = 6; // ERC-777 Token Standard.
14-
EIP1155 = 7; // ERC-1155 Multi Token Standard.
15-
EIP1337 = 8; // ERC-1337 Subscription Standard.
16-
EIP1400 = 9; // ERC-1400 Security Token Standard.
17-
EIP1410 = 10; // ERC-1410 Partially Fungible Token Standard.
18-
EIP165 = 11; // ERC-165 Standard Interface Detection.
19-
EIP820 = 12; // ERC-820 Registry Standard.
20-
EIP1014 = 13; // ERC-1014 Create2 (related to proxy creation).
21-
EIP1948 = 14; // ERC-1948 Non-Fungible Data Token.
22-
EIP1967 = 15; // ERC-1967 Proxy Storage Slots.
23-
EIP2309 = 16; // ERC-2309 Consecutive Transfer Extension for NFTs.
24-
EIP2535 = 17; // ERC-2535 Diamond Standard (a form of upgradeable contract).
25-
EIP2771 = 18; // ERC-2771 Meta Transactions (can be related to token interactions).
26-
EIP2917 = 19; // ERC-2917 Delegatable Yield Standard (related to tokens).
27-
EIP3156 = 20; // ERC-3156 Flash Loans (related to tokens).
28-
}
8+
ERC20 = 1; // ERC-20 Token Standard.
9+
ERC721 = 2; // ERC-721 Non-Fungible Token Standard.
10+
ERC223 = 3; // ERC-223 Token Standard.
11+
ERC1820 = 4; // EIP-1820 Pseudo-introspection Registry.
12+
ERC1822 = 5; // EIP-1822 Proxies.
13+
ERC777 = 6; // ERC-777 Token Standard.
14+
ERC1155 = 7; // ERC-1155 Multi Token Standard.
15+
ERC1337 = 8; // ERC-1337 Subscription Standard.
16+
ERC1400 = 9; // ERC-1400 Security Token Standard.
17+
ERC1410 = 10; // ERC-1410 Partially Fungible Token Standard.
18+
ERC165 = 11; // ERC-165 Standard Interface Detection.
19+
ERC820 = 12; // ERC-820 Registry Standard.
20+
ERC1014 = 13; // ERC-1014 Create2 (related to proxy creation).
21+
ERC1948 = 14; // ERC-1948 Non-Fungible Data Token.
22+
ERC1967 = 15; // ERC-1967 Proxy Storage Slots.
23+
ERC2309 = 16; // ERC-2309 Consecutive Transfer Extension for NFTs.
24+
ERC2535 = 17; // ERC-2535 Diamond Standard (a form of upgradeable contract).
25+
ERC2771 = 18; // ERC-2771 Meta Transactions (can be related to token interactions).
26+
ERC2917 = 19; // ERC-2917 Delegatable Yield Standard (related to tokens).
27+
ERC3156 = 20; // ERC-3156 Flash Loans (related to tokens).
28+
OZOWNABLE = 21; // OpenZeppelin Ownable
29+
}
30+

0 commit comments

Comments
 (0)