Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
superwunc committed Jun 18, 2024
1 parent 681f3d2 commit 09df8b2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
18 changes: 9 additions & 9 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

21 changes: 9 additions & 12 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ export async function run(): Promise<void> {
if (data.status === '1') {
data.result.forEach((item: any) => {

Check failure on line 57 in src/main.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

Prefer for...of instead of Array.forEach

Check failure on line 57 in src/main.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

Unexpected any. Specify a different type

Check failure on line 57 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Prefer for...of instead of Array.forEach

Check failure on line 57 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Unexpected any. Specify a different type
if (
item.contractCreator !==
'0x0cdb34e6a4d635142bb92fe403d38f636bbb77b8'
item.contractCreator.toLowerCase() !==
'0x0cdb34e6a4d635142bb92fe403d38f636bbb77b8'.toLowerCase()
) {
console.log(
'BSC ' + item.contractAddress,
'Contract Creator is ' + item.contractCreator
`BSC\thttps://bscscan.com/address/${item.contractAddress}\t${item.contractCreator}`
)
}
})
Expand All @@ -75,12 +74,11 @@ export async function run(): Promise<void> {
if (data.status === '1') {
data.result.forEach((item: any) => {

Check failure on line 75 in src/main.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

Prefer for...of instead of Array.forEach

Check failure on line 75 in src/main.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

Unexpected any. Specify a different type

Check failure on line 75 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Prefer for...of instead of Array.forEach

Check failure on line 75 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Unexpected any. Specify a different type
if (
item.contractCreator !==
'0x0cdb34e6a4d635142bb92fe403d38f636bbb77b8'
item.contractCreator.toLowerCase() !==
'0x0cdb34e6a4d635142bb92fe403d38f636bbb77b8'.toLowerCase()
) {
console.log(
'ETH ' + item.contractAddress,
'Contract Creator is ' + item.contractCreator
`ETH\thttps://etherscan.com/address/${item.contractAddress}\t${item.contractCreator}`
)
}
})
Expand All @@ -95,12 +93,11 @@ export async function run(): Promise<void> {
if (data.status === '1') {
data.result.forEach((item: any) => {

Check failure on line 94 in src/main.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

Prefer for...of instead of Array.forEach

Check failure on line 94 in src/main.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

Unexpected any. Specify a different type

Check failure on line 94 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Prefer for...of instead of Array.forEach

Check failure on line 94 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Unexpected any. Specify a different type
if (
item.contractCreator !==
'0x0cdb34e6a4d635142bb92fe403d38f636bbb77b8'
item.contractCreator.toLowerCase() !==
'0x0cdb34e6a4d635142bb92fe403d38f636bbb77b8'.toLowerCase()
) {
console.log(
'OPT ' + item.contractAddress,
'Contract Creator is ' + item.contractCreator
`OPT\thttps://optimistic.etherscan.io//address/${item.contractAddress}\t${item.contractCreator}`
)
}
})
Expand Down

0 comments on commit 09df8b2

Please sign in to comment.