wads update logo (#1541)

* adsbywifi update logo

* wads update logo

* wads update logo

* wads update logo

* remove checksum for test

* Enable checksum conversion

* Return rename result

* try force

* Use process.cwd() for full path

* rename checksum script

* Update map

Co-authored-by: Mykola <kolya182@gmail.com>
This commit is contained in:
AdsByWiFiWADS 2020-03-24 21:02:32 -07:00 committed by GitHub
parent 2a627b2d47
commit dfa5e1c3c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 34 additions and 5 deletions

View File

@ -49,7 +49,7 @@ steps:
git config --global user.name "TrustWalletBot"
# - script: sudo npm run checksum:erc20
# - script: sudo npm run checksum
# workingDirectory: $(Build.SourcesDirectory)
# displayName: Run checksum script

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -8,14 +8,14 @@
"test": "npm run cleanup && jest",
"cleanup": "find ./.. -iname '.DS_Store' -type f -delete",
"update:bep2": "npm run cleanup && node ./script/updateBEP2",
"checksum:erc20": "npm run cleanup && ts-node ./script/erc20_to_checksum",
"checksum": "npm run cleanup && ts-node ./script/erc20_to_checksum",
"format:all": "npm run cleanup && ts-node ./script/format_files_name",
"arrange:all": "npm run cleanup && ts-node ./script/arrange_files",
"gen:list": "npm run cleanup && ts-node ./script/gen_list",
"gen:info": "npm run cleanup && ts-node ./script/gen_info",
"resize": "npm run cleanup && ts-node ./script/resize_images",
"map:cmc": "ts-node ./pricing/coinmarketcap/script",
"magic": "npm run update:bep2 && npm run checksum:erc20 && npm run resize && npm run gen:list && npm t"
"magic": "npm run update:bep2 && npm run checksum && npm run resize && npm run gen:list && npm t"
},
"repository": {
"type": "git",

View File

@ -6901,6 +6901,11 @@
"token_id": "0xFe1D71498DA3261844eC14325bdbc93c0F7579f0",
"id": 3697
},
{
"coin": 7825267,
"type": "coin",
"id": 3698
},
{
"coin": 1533,
"type": "coin",
@ -9886,6 +9891,12 @@
"token_id": "0x83cAEECace9Ec5c322c93743B2B370ED58951F5c",
"id": 5050
},
{
"coin": 60,
"type": "token",
"token_id": "0x3C45B24359fB0E107a4eAA56Bd0F2cE66C99A0E5",
"id": 5052
},
{
"coin": 60,
"type": "token",
@ -10328,10 +10339,28 @@
"token_id": "0x51BC0DeaF7bBE82bC9006b0c3531668a4206D27F",
"id": 5334
},
{
"coin": 60,
"type": "token",
"token_id": "0x393fAC0773C765c80dc887451377d553C46F83b1",
"id": 5339
},
{
"coin": 60,
"type": "token",
"token_id": "0x24b80fBa4B2ECaF0C4Df522354408F0A59A775C8",
"id": 5347
},
{
"coin": 60,
"type": "token",
"token_id": "0x633eE3fbE5ffc05bD44Ecd8240732fF9ef9Dee1d",
"id": 5354
},
{
"coin": 60,
"type": "token",
"token_id": "0x5825fBa40871aaaCba45E4b34629abB86520B807",
"id": 5355
}
]

View File

@ -39,8 +39,8 @@ export const logo = `${logoName}.${logoExtension}`
export const info = `${infoName}.${jsonExtension}`
export const root = './'
export const chainsFolderPath = './blockchains'
export const pricingFolderPath = './pricing'
export const chainsFolderPath = path.join(process.cwd(), '/blockchains')
export const pricingFolderPath = path.join(process.cwd(), '/pricing')
export const getChainLogoPath = (chain: string): string => `${chainsFolderPath}/${chain}/info/${logo}`
export const getChainInfoPath = (chain: string): string => `${chainsFolderPath}/${chain}/info/${info}`
export const getChainAssetInfoPath = (chain: string, address: string): string => `${chainsFolderPath}/${chain}/assets/${address}/${info}`