Skip to content

Commit 41e1fb5

Browse files
authored
Merge pull request #6 from 1001-digital/changeset-release/master
Version Packages
2 parents 4bc3c06 + 5272f50 commit 41e1fb5

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.changeset/zeppelinos-legacy-proxy.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @1001-digital/proxies
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- [#5](https://github.com/1001-digital/proxies/pull/5) [`1fcc552`](https://github.com/1001-digital/proxies/commit/1fcc5528fc92a750abd6a04468da03a19a558466) Thanks [@jwahdatehagh](https://github.com/jwahdatehagh)! - Add `zeppelinos` pattern — legacy ZeppelinOS (pre-EIP-1967) upgradeable proxies.
8+
9+
`detectZeppelinOs` reads the implementation from `keccak256('org.zeppelinos.proxy.implementation')` (`0x7050…f8c3`) and attaches the admin from `keccak256('org.zeppelinos.proxy.admin')` when set. Wired into `detectProxy` between `eip-1822` and `eip-1167`.
10+
11+
These proxies predate EIP-1967's decremented-slot scheme and were previously undetectable: the EIP-1967 slots are empty, and `implementation()` sits behind an `ifAdmin` modifier, so the EIP-897 probe reverts for any non-admin caller. The most prominent deployment still on this layout is Circle's USDC (`FiatTokenProxy`, `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`), which now resolves to its `FiatTokenV2_2` implementation.
12+
13+
New exports: `detectZeppelinOs`, `ZEPPELINOS_IMPL_SLOT`, `ZEPPELINOS_ADMIN_SLOT`.
14+
315
## 0.1.1
416

517
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@1001-digital/proxies",
3-
"version": "0.1.1",
3+
"version": "0.2.0",
44
"description": "Ethereum proxy pattern detection primitives — ERC-2535 diamonds, EIP-1967, EIP-1167, beacon, Safe, EIP-1822, legacy ZeppelinOS, EIP-897. Detect, enrich, compose.",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)