Skip to content

Commit

Permalink
feat: update ethereum transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
ponyjackal committed Jan 26, 2024
1 parent 5e2ea88 commit fa0683b
Show file tree
Hide file tree
Showing 22 changed files with 142 additions and 848 deletions.
53 changes: 49 additions & 4 deletions src/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,55 @@ export const OLD_NFT_ADDRESSES = [
'0x323a3e1693e7a0959f65972f3bf2dfcb93239dfe', // Digital Art Chain
'0x552d72f86f04098a4eaeda6d7b665ac12f846ad2', // Dark Winds
];
export const ERC721_TRANSFER_EVENT_1 =
'event Transfer(address indexed,address indexed,uint256)';
export const ERC721_TRANSFER_EVENT_2 =
'event Transfer(address,address,uint256)';
export const ERC721_TRANSFER_EVENT_1 = [
{
anonymous: false,
inputs: [
{
indexed: true,
name: 'from',
type: 'address',
},
{
indexed: true,
name: 'to',
type: 'address',
},
{
indexed: false,
name: 'value',
type: 'uint256',
},
],
name: 'Transfer',
type: 'event',
},
] as const;

export const ERC721_TRANSFER_EVENT_2 = [
{
anonymous: false,
inputs: [
{
indexed: false,
name: 'from',
type: 'address',
},
{
indexed: false,
name: 'to',
type: 'address',
},
{
indexed: false,
name: 'value',
type: 'uint256',
},
],
name: 'Transfer',
type: 'event',
},
] as const;

export const PROXY_IMPLEMENTATION_METHOD_SIGNATURES = [
'implementation()',
Expand Down
11 changes: 0 additions & 11 deletions src/transformers/_common/blockGasUsage.ts

This file was deleted.

55 changes: 0 additions & 55 deletions src/transformers/_common/contractABI.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/transformers/_common/contractERC1155Detection.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/transformers/_common/contractERC20Detection.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/transformers/_common/contractERC721Detection.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/transformers/_common/contractERC777Detection.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/transformers/_common/contractGnosisSafeDetection.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/transformers/_common/contractGovernanceDetection.ts

This file was deleted.

45 changes: 0 additions & 45 deletions src/transformers/_common/contractSelfDestructed.ts

This file was deleted.

21 changes: 0 additions & 21 deletions src/transformers/_common/contractTimestamp.ts

This file was deleted.

44 changes: 0 additions & 44 deletions src/transformers/_common/transactionProxyUpgrades.ts

This file was deleted.

Loading

0 comments on commit fa0683b

Please sign in to comment.