Skip to content

Commit

Permalink
feat: add detect proxy to contract_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Aug 6, 2024
1 parent 5f1fbe8 commit dc9770a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/services/evm/helpers/contract_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ export class ContractHelper {
EIPProxyContractSupportByteCode.OPEN_ZEPPELIN_IMPLEMENTATION.SLOT,
blockHeight
),
this.detectProxyContractByByteCode(
contractAddress,
byteCode,
EIPProxyContractSupportByteCode.EIP_1167_IMPLEMENTATION.SLOT
),
]);
}
} catch (error) {
Expand Down

0 comments on commit dc9770a

Please sign in to comment.