File tree Expand file tree Collapse file tree 3 files changed +299
-251
lines changed Expand file tree Collapse file tree 3 files changed +299
-251
lines changed Original file line number Diff line number Diff line change 70
70
"pino-pretty" : " ^10.0.0" ,
71
71
"prisma" : " ^5.14.0" ,
72
72
"superjson" : " ^2.2.1" ,
73
- "thirdweb" : " ^5.39.0 " ,
73
+ "thirdweb" : " ^5.45.1 " ,
74
74
"uuid" : " ^9.0.1" ,
75
75
"zod" : " ^3.23.8"
76
76
},
Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ export const toTransactionStatus = (status: "success" | "reverted"): number =>
21
21
status === "success" ? 1 : 0 ;
22
22
23
23
export const toTransactionType = (
24
- type : "legacy" | "eip1559" | "eip2930" | "eip4844" ,
24
+ type : "legacy" | "eip1559" | "eip2930" | "eip4844" | "eip7702" ,
25
25
) : number => {
26
26
if ( type === "legacy" ) return 0 ;
27
27
if ( type === "eip1559" ) return 1 ;
28
28
if ( type === "eip2930" ) return 2 ;
29
29
if ( type === "eip4844" ) return 3 ;
30
+ if ( type === "eip7702" ) return 4 ;
30
31
throw new Error ( `Unexpected transaction type ${ type } ` ) ;
31
32
} ;
You can’t perform that action at this time.
0 commit comments