0x2d27cb0f653bbdada3538d6d487400567e9ba75f1798fd5946130e93705050f0
This file contains hidden or 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
| type Resp = { | |
| code: `${number}` | |
| data: { | |
| total: number | |
| pages: number | |
| currentPage: number | |
| pageSize: number | |
| symbolCommissionActivityList: { | |
| makerZero: boolean | |
| takerZero: boolean |
This file contains hidden or 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
| import { ethers } from 'ethers' | |
| const ETHRegistrarControllerABI = [ | |
| "function available(string) view returns (bool)", | |
| ] | |
| const provider = new ethers.providers.JsonRpcProvider(process.env.RPC_URL, 1) | |
| const controllers = [ | |
| '0xf0ad5cad05e10572efceb849f6ff0c68f9700455', |
This file contains hidden or 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
| 0x83Fca45a538F9CAd6BCb0fF6B82171a7A6F4E3BE |
This file contains hidden or 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
| const handleAxiosError = function(err) { | |
| if (err.response) { | |
| const customError = new Error(err.response.statusText || 'Internal server error'); | |
| customError.status = err.response.status || 500; | |
| customError.description = err.response.data ? err.response.data.msg : null; | |
| throw customError; | |
| } | |
| throw new Error(err); | |
| } |
This file contains hidden or 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
| // sizeToString prettifies sizes. | |
| func sizeToString(size uint64) (str string) { | |
| b := float64(size) | |
| switch { | |
| case size >= 1<<60: | |
| str = fmt.Sprintf("%.1fE", b/(1<<60)) | |
| case size >= 1<<50: | |
| str = fmt.Sprintf("%.1fP", b/(1<<50)) | |
| case size >= 1<<40: |
This file contains hidden or 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
| 你若是風 Tiger Hu | |
| 足够 - Enough 银河快递(Galaxy Exp | |
| 借借(Take Take Take) 于貞 | |
| Intro / After Tonight ( G.E.M. | |
| 是一場煙火 Tiger Hu | |
| 敬自己不為誰 Tiger Hu & GAI周延 | |
| 人海 GAI & KEY.L刘聪 & | |
| 不去管 Tiger Hu | |
| 枕着光的她 任素汐 | |
| 世界中心 Tiger Hu |
This file contains hidden or 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
| TypeScript 30 hrs 34 mins ███████████████▊░░░░░ 75.3% | |
| Rust 7 hrs 1 min ███▋░░░░░░░░░░░░░░░░░ 17.3% | |
| Other 50 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.1% | |
| Bash 35 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.5% | |
| TOML 33 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.4% |
This file contains hidden or 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
| package main | |
| import ( | |
| "bufio" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "log" |
NewerOlder