-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathlogs.js
49 lines (43 loc) · 2.65 KB
/
logs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import chalk from "chalk";
const scan = `https://arbiscan.io/`
export const claimedOkLog = (accountId, amount, hash) => console.log(`${chalk.bgGreenBright.whiteBright(` [${accountId}] Claimed ${amount} $ARB. ${scan}/tx/${hash}`)}`);
export const claimedFailLog = (accountId, address) => console.log(`${chalk.bgRedBright.whiteBright(` [${accountId}] Claim wasn't successful for ${address}`)}`);
export const transferOkLog = (accountId, amount, hash) => console.log(`${chalk.bgGreenBright.whiteBright(` [${accountId}] Transferred ${amount} $ARB. ${scan}/tx/${hash}`)}`);
export const transferFailLog = (accountId, address) => console.log(`${chalk.bgRedBright.whiteBright(` [${accountId}] Transfer wasn't successful for ${address}`)}`);
export const claimNotStartedLog = (blockNum) => console.log(`${chalk.bgYellow.whiteBright(` [${blockNum}] Claim not started yet. Waiting for the next block.`)}`);
export const claimStartedLog = (blockNum) => console.log(`${chalk.bgGreenBright.whiteBright(` [${blockNum}] Claim started!`)}`);
export const scriptStartedLog = (block, claimBlock) => console.log(`${chalk.bgGreenBright.whiteBright(` Script started. Current block - ${block}. Claim block - ${claimBlock}`)}`);
export const welcomeLog = () => console.log(`
${chalk.bgBlueBright.whiteBright(`
𝗔𝗥𝗕 𝗖𝗟𝗔𝗜𝗠𝗘𝗥`)}
${chalk.cyanBright(`
Developed by Sergey Investing:
https://t.me/sergeyipo
https://twitter.com/zharkov_crypto
https://www.youtube.com/@sergey-investing
Donate addresses:
${chalk.bgYellowBright.whiteBright("TW3rUPuyXCTAZZVUMYR4i1z5i1SWPPXgGA")} - USDT [TRC20]
${chalk.bgYellowBright.whiteBright("0x04652fdae61031153674f35c5153f42825d9a5a1")} - USDC USDT ETH [Ethereum Polygon Arbitrum Optimism]
`)}
`);
export const resultsLog = ({
accountsDone,
totalAccounts,
claimsOk,
transfersOk
}) => console.log(`
${chalk.bgBlueBright.whiteBright(`
𝗔𝗥𝗕 𝗖𝗟𝗔𝗜𝗠𝗘𝗥 𝗥𝗘𝗦𝗨𝗟𝗧𝗦`)}
${chalk.cyanBright(`
Accounts done: ${accountsDone}/${totalAccounts}
Successful claims: ${claimsOk}/${totalAccounts}
Successful transfers: ${transfersOk}/${totalAccounts}`)}
${chalk.cyanBright(`
Developed by Sergey Investing:
https://t.me/sergeyipo
https://twitter.com/zharkov_crypto
https://www.youtube.com/@sergey-investing
Donate addresses:
${chalk.bgYellowBright.whiteBright("TW3rUPuyXCTAZZVUMYR4i1z5i1SWPPXgGA")} - USDT [TRC20]
${chalk.bgYellowBright.whiteBright("0x04652fdae61031153674f35c5153f42825d9a5a1")} - USDC USDT ETH [Ethereum Polygon Arbitrum Optimism]
`)}`);