-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
5,453 additions
and
4,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
{ | ||
"tabWidth": 4, | ||
"useTabs": true, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 80, | ||
"arrowParens": "avoid", | ||
"endOfLine": "auto", | ||
"plugins": ["@trivago/prettier-plugin-sort-imports"], | ||
"importOrder": [ | ||
"<THIRD_PARTY_MODULES>", | ||
"@/.*", | ||
"(?=./styles.module.scss)" | ||
], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"importOrderGroupNamespaceSpecifiers": true, | ||
"importOrderCaseInsensitive": true | ||
"tabWidth": 4, | ||
"semi": false, | ||
"singleQuote": false, | ||
"printWidth": 80, | ||
"endOfLine": "auto", | ||
"plugins": ["@trivago/prettier-plugin-sort-imports"], | ||
"importOrder": [ | ||
"<THIRD_PARTY_MODULES>", | ||
"@/.*", | ||
"(?=./styles.module.scss)" | ||
], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"importOrderGroupNamespaceSpecifiers": true, | ||
"importOrderCaseInsensitive": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"orta.vscode-twoslash-queries", | ||
"esbenp.prettier-vscode" | ||
] | ||
"recommendations": [ | ||
"orta.vscode-twoslash-queries", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
{ | ||
"Collector": { | ||
"scope": "javascript,typescript", | ||
"prefix": "Collector", | ||
"body": [ | ||
"import { EventEmitter } from 'node:events'", | ||
"import { Collector } from '@/core/collector'", | ||
"", | ||
"const key = '$1' as const", | ||
"", | ||
"export class $1Collector extends Collector<typeof key, {$2}> {", | ||
"\tconstructor($3) {", | ||
"\t\tsuper(key)", | ||
"\t}", | ||
"", | ||
"\tgetCollectionStream = async (stream: EventEmitter) => {", | ||
"\t\t$4this.emit(stream, {$5})", | ||
"\t}", | ||
"}", | ||
"", | ||
"export type $1Collection = Parameters<$1Collector['emit']>[1]" | ||
], | ||
"description": "Create a new Collector." | ||
}, | ||
"Executor": { | ||
"scope": "javascript,typescript", | ||
"prefix": "Executor", | ||
"body": [ | ||
"import { Executor } from '@/core/executor'", | ||
"import { logger } from '@/lib/logger'", | ||
"", | ||
"export class $1Executor<", | ||
"\tTExecution extends {$2} = {$2}", | ||
"> extends Executor<TExecution> {", | ||
"\texecute = async ({ message }: TExecution) => {", | ||
"\t\tlogger.info(message)", | ||
"\t}", | ||
"}" | ||
], | ||
"description": "Create a new Executor." | ||
} | ||
"Collector": { | ||
"scope": "javascript,typescript", | ||
"prefix": "Collector", | ||
"body": [ | ||
"import { EventEmitter } from 'node:events'", | ||
"import { Collector } from '@/core/collector'", | ||
"", | ||
"const key = '$1' as const", | ||
"", | ||
"export class $1Collector extends Collector<typeof key, {$2}> {", | ||
"\tconstructor($3) {", | ||
"\t\tsuper(key)", | ||
"\t}", | ||
"", | ||
"\tgetCollectionStream = async (stream: EventEmitter) => {", | ||
"\t\t$4this.emit(stream, {$5})", | ||
"\t}", | ||
"}", | ||
"", | ||
"export type $1Collection = Parameters<$1Collector['emit']>[1]" | ||
], | ||
"description": "Create a new Collector." | ||
}, | ||
"Executor": { | ||
"scope": "javascript,typescript", | ||
"prefix": "Executor", | ||
"body": [ | ||
"import { Executor } from '@/core/executor'", | ||
"import { logger } from '@/lib/logger'", | ||
"", | ||
"export class $1Executor<", | ||
"\tTExecution extends {$2} = {$2}", | ||
"> extends Executor<TExecution> {", | ||
"\texecute = async ({ message }: TExecution) => {", | ||
"\t\tlogger.info(message)", | ||
"\t}", | ||
"}" | ||
], | ||
"description": "Create a new Executor." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.preferences.importModuleSpecifier": "shortest", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "always", | ||
"source.organizeImports": "always" | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} | ||
"editor.formatOnSave": true, | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.preferences.importModuleSpecifier": "shortest", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "always", | ||
"source.organizeImports": "always" | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,57 @@ | ||
{ | ||
"name": "@nftchance/mev", | ||
"author": "nftchance", | ||
"license": "BUSL-1.1", | ||
"version": "0.0.0", | ||
"description": "The controlling property of an aggressive long-tail mev bot.", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"bin": { | ||
"mev": "dist/cli/cli.js" | ||
}, | ||
"files": ["src", "dist"], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"lint": "tsc --noEmit", | ||
"premev": "pnpm build", | ||
"mev": "node dist/cli/cli.js", | ||
"prereferences": "pnpm build", | ||
"references": "node dist/lib/references.js", | ||
"preinstall": "npx only-allow pnpm" | ||
}, | ||
"devDependencies": { | ||
"@trivago/prettier-plugin-sort-imports": "^4.2.0", | ||
"@types/cli-progress": "^3.11.3", | ||
"@types/fs-extra": "^11.0.2", | ||
"@types/js-yaml": "^4.0.7", | ||
"@types/node": "^20.8.4", | ||
"abi-to-sol": "^0.8.0", | ||
"execa": "^8.0.1", | ||
"prettier": "^3.0.3", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"@flashbots/ethers-provider-bundle": "^0.6.2", | ||
"@opensea/stream-js": "^0.1.2", | ||
"axios": "^1.5.1", | ||
"bundle-require": "^4.0.2", | ||
"commander": "^11.0.0", | ||
"dedent": "^1.5.1", | ||
"dotenv": "^16.3.1", | ||
"ethers": "^5.7.2", | ||
"find-up": "^6.3.0", | ||
"fs-extra": "^11.1.1", | ||
"opensea-js": "^6.1.11", | ||
"pathe": "^1.1.1", | ||
"picocolors": "^1.0.0", | ||
"tsup": "^7.2.0" | ||
} | ||
"name": "@nftchance/mev", | ||
"author": "nftchance", | ||
"license": "BUSL-1.1", | ||
"version": "0.0.0", | ||
"description": "The controlling property of an aggressive long-tail mev bot.", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"bin": { | ||
"mev": "dist/cli/cli.js" | ||
}, | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"lint": "tsc --noEmit", | ||
"premev": "pnpm build", | ||
"mev": "node dist/cli/cli.js", | ||
"prereferences": "pnpm build", | ||
"references": "node dist/lib/references.js", | ||
"preinstall": "npx only-allow pnpm" | ||
}, | ||
"devDependencies": { | ||
"@trivago/prettier-plugin-sort-imports": "^4.2.0", | ||
"@types/cli-progress": "^3.11.3", | ||
"@types/fs-extra": "^11.0.2", | ||
"@types/js-yaml": "^4.0.7", | ||
"@types/node": "^20.8.4", | ||
"abi-to-sol": "^0.8.0", | ||
"execa": "^8.0.1", | ||
"prettier": "^3.0.3", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"@flashbots/ethers-provider-bundle": "^0.6.2", | ||
"@opensea/stream-js": "^0.1.2", | ||
"axios": "^1.5.1", | ||
"bundle-require": "^4.0.2", | ||
"commander": "^11.0.0", | ||
"dedent": "^1.5.1", | ||
"dotenv": "^16.3.1", | ||
"ethers": "^5.7.2", | ||
"find-up": "^6.3.0", | ||
"fs-extra": "^11.1.1", | ||
"opensea-js": "^6.1.11", | ||
"pathe": "^1.1.1", | ||
"picocolors": "^1.0.0", | ||
"tsup": "^7.2.0" | ||
} | ||
} |
Oops, something went wrong.