Skip to content

Commit 3b2b010

Browse files
committed
changeset
1 parent e0b304a commit 3b2b010

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
7702 delegation designator

packages/thirdweb/src/utils/bytecode/extractMinimalProxyImplementationAddress.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export function extractMinimalProxyImplementationAddress(
5454
return `0x${implementationAddress}`;
5555
}
5656

57+
// EIP-7702 - https://eips.ethereum.org/EIPS/eip-7702#abstract
5758
if (bytecode.length === 48 && bytecode.startsWith("0xef0100")) {
5859
const implementationAddress = bytecode.slice(8, 48);
5960
return `0x${implementationAddress}`;

0 commit comments

Comments
 (0)