Skip to content

Commit

Permalink
[internal] Black/whitelist rename (trustwallet#3424)
Browse files Browse the repository at this point in the history
* Rename white/black* to allow/deny*.

* White/black to allow/deny renames.

* Duplicate new allowlist.json/denylist.json files under the old names

* Fix allowed-files check

Co-authored-by: Catenocrypt <[email protected]>
  • Loading branch information
optout21 and Catenocrypt authored Aug 18, 2020
1 parent 1325c8c commit 4f487cd
Show file tree
Hide file tree
Showing 48 changed files with 10,393 additions and 164 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Smart contract address update procedure:
- File extension: `png`. Uppercase `PNG` is considered invalid.
- File name:`logo.png`.
- Dimension: `256px by 256px` or `512px by 512px`.
- Background: preferably transparent (should fit dark mode as well; black logos need light border/background).
- Background: preferably transparent (should fit dark mode as well; dark logos need light border/background).
- File size: maximum 100KB. Tip: optimize image size, e.g. using simple drag-and-drop online service [tinypng](https://tinypng.com/).

## dApp image naming requirements
Expand Down Expand Up @@ -113,7 +113,7 @@ To remain in validators list:

`validators` folder contains folders: `assets` same structure as above and `list.json` information about validators.

`blacklist.json` and `whitelist.json` files you may find in folders like `tron`, `ethereum` but not limited to, contain list of address approved based on many criterias (TODO add criterias) and disapproved based on factors such as scam, outdated, abandoned contracts etc ... .
`denylist.json` and `allowlist.json` files you may find in folders like `tron`, `ethereum` but not limited to, contain list of address approved based on many criterias (TODO add criterias) and disapproved based on factors such as scam, outdated, abandoned contracts etc ... .


```
Expand Down Expand Up @@ -170,8 +170,8 @@ Uploading:
3. TRON TRC10, TRC20 token [token folder](https://github.com/trustwallet/assets/tree/master/blockchains/tron/assets)
4. Add Cosmos validator image [](https://github.com/trustwallet/assets/tree/master/blockchains/cosmos/validators)
5. Add Tezos validator info [](https://github.com/trustwallet/assets/tree/master/blockchains/tezos/validators/list.json)
6. Add Ethereum contract address to blacklist [](https://github.com/trustwallet/assets/tree/master/blockchains/ethereum/blacklist.json)
7. Add TRON TRC10 ID or TRC20 owner contract address to whitelist [](https://github.com/trustwallet/assets/tree/master/blockchains/tron/whitelist.json)
6. Add Ethereum contract address to denylist [](https://github.com/trustwallet/assets/tree/master/blockchains/ethereum/denylist.json)
7. Add TRON TRC10 ID or TRC20 owner contract address to allowlist [](https://github.com/trustwallet/assets/tree/master/blockchains/tron/allowlist.json)


## How To Add Asset
Expand Down Expand Up @@ -220,7 +220,7 @@ After PR was merged, set of cron workers will update token status normally with

### What is smart contract deprication (removal)?
A process of removing smart contract information such as (token logo and info) from this repository.
Removed contract address will be added to the blacklist and, as a result, will no longer be present in token search results inside the TW app.
Removed contract address will be added to the denylist and, as a result, will no longer be present in token search results inside the TW app.
Why would you want to do this ?.
You are contract owner or just good samaritan who noticed contract to be no longer "active" and was an upgrade and abandoned by owning organization, involved in a scam, mimicking by its name or/and symbol a real contract. All facts must be supported with a link to any resource proving these statements.

Expand Down Expand Up @@ -278,5 +278,5 @@ https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/tron/ass

## Disclaimer
Trust Wallet team allows anyone to submit new assets to this repository. However, this does not mean that we are in direct partnership with all of the projects.
Trust Wallet team will blacklist projects that are deemed as scams after careful review of the said assets.
Trust Wallet team will denylist projects that are deemed as scams after careful review of the said assets.
Trust Wallet team reserves the right to change the terms of asset submissions at any time due to changing market conditions, risk of fraud, or any other factors we deem relevant.
156 changes: 156 additions & 0 deletions blockchains/binance/allowlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
[
"ABCD-5D8",
"AERGO-46B",
"ALA-DCD",
"ANKR-E97",
"ARN-71B",
"ARPA-575",
"ART-3C9",
"ATP-38C",
"AVA-645",
"AWC-986",
"AXPR-777",
"BAW-DFB",
"BCH-1FD",
"BCPT-95A",
"BEAR-14C",
"BET-844",
"BETX-A0C",
"BGBP-CF3",
"BHC-3E8M",
"BHFT-BBE",
"BIDR-0E9",
"BKBT-3A6",
"BKRW-AB7",
"BLINK-9C6",
"BOLT-4C6",
"BST2-2F2",
"BTCB-1DE",
"BTTB-D31",
"BULL-BE4",
"BUSD-BD1",
"BZNT-464",
"CAN-677",
"CAS-167",
"CBIX-3C9",
"CBM-4B2",
"CHZ-ECD",
"CNNS-E16",
"COS-2E4",
"COTI-CBB",
"COVA-218",
"CRPT-8C9",
"CSM-734",
"DARC-24B",
"DEEP-9D3",
"DEFI-FA5",
"DOS-120",
"DREP-7D2",
"DUSK-45E",
"EBST-783",
"ECO-083",
"EET-45C",
"ENTRP-C8D",
"EOS-CDD",
"EOSBEAR-721",
"EOSBULL-F0D",
"EQL-586",
"ERD-D06",
"ETH-1C9",
"ETHBEAR-B2B",
"ETHBULL-D33",
"EVT-49B",
"FRM-DE7",
"FSN-E14",
"FTM-A64",
"GIV-94E",
"GMAT-FC8",
"GTEX-71B",
"GTO-908",
"HNST-3C9",
"HYN-F21",
"IDRTB-178",
"IRIS-D88",
"JDXU-706",
"KAT-7BB",
"KAVA-10C",
"LBA-340",
"LIT-099",
"LOKI-6A9",
"LTC-F07",
"LTO-BDF",
"LYFE-6AB",
"MATIC-84A",
"MCASH-869",
"MDAB-D42",
"MEDB-87E",
"MEETONE-031",
"MITH-C76",
"MITX-CAA",
"MTV-4C6",
"MTXLT-286",
"MVL-7B0",
"MZK-2C7",
"NEW-09E",
"NEXO-A84",
"NODE-F3A",
"NOIZB-878",
"NOW-E68",
"NPXB-1E8",
"NPXSXEM-89C",
"ONE-5F9",
"ONT-33D",
"OWTX-A6B",
"PCAT-4BB",
"PHB-2DF",
"PHV-4A1",
"PIBNB-43C",
"PLG-D8D",
"PVT-554",
"PYN-C37",
"QBX-38C",
"RAVEN-F66",
"RNO-14E",
"RUNE-B1A",
"SBC-5D4",
"SHR-DB6",
"SLV-986",
"SPNDB-916",
"STYL-65B",
"SWINGBY-888",
"SWIPE.B-DC0",
"SXP-CCC",
"TAUDB-888",
"TCADB-888",
"TGBPB-888",
"THKDB-888",
"TM2-0C4",
"TOMOB-4BC",
"TOP-491",
"TROY-9B8",
"TRUE-D84",
"TRXB-2E6",
"TUSDB-888",
"TWT-8C2",
"UGAS-B0C",
"UND-EBC",
"UPX-F3E",
"USDH-5B5",
"USDSB-1AC",
"VDX-A17",
"VIDT-F53",
"VNDC-DB9",
"VOTE-FD4",
"VRAB-B56",
"WICC-01D",
"WINB-41F",
"WISH-2D5",
"WRX-ED1",
"XBASE-CD2",
"XNS-760",
"XRP-BF2",
"XRPBEAR-00B",
"XRPBULL-E7C",
"XTZ-F7A",
"ZEBI-84F"
]
8 changes: 8 additions & 0 deletions blockchains/binance/denylist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
"AWC-8B2",
"BCPT-645",
"BNB",
"BOLT-762",
"USDS.B-c27",
"WITH-E50"
]
File renamed without changes.
File renamed without changes.
85 changes: 85 additions & 0 deletions blockchains/classic/allowlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
[
"0x0000000000b3F879cb30FE243b4Dfee438691c04",
"0x085B0FDf115aA9E16AE1Bddd396CE1F993c52220",
"0x0b6f824FAB88281ea8bd883bdfC1F586743F92FA",
"0x0DC554d2BBc8f4Cda0577CeD2CD86c54689Af3Db",
"0x0f54903F62Dc03DFBE1d99064B41a65D461F61b9",
"0x1178d40896cf784Db203eB40f159D78Ab6E99a29",
"0x15c56f9edE6a53AFaFF8505D88F47B03b57B52AB",
"0x169a4d7aB1244eB57433082B94d8ded5BB97483f",
"0x171040cd10f204F3b257e45b41ce65D36150558C",
"0x17CDb23E6151Dca9A75457d3d795CC5A63648949",
"0x1BE6D61B1103D91F7f86D47e6ca0429259A15ff0",
"0x1ce1b789E291FFA8812D03fa7E67e538f91f132d",
"0x1e797Ce986C3CFF4472F7D38d5C4aba55DfEFE40",
"0x1Fe3164dA6B47C52349E98c14440879A42852D71",
"0x22B3f1d789B189fDd2040d7d5B59568a291Ef611",
"0x24ccaAaE74041985e3D75712D5cce63b0bD9C4A3",
"0x2B682bd9d5c31E67a95cbdF0292017C02E51923C",
"0x2EB1D7785469FC5d478E59Ca09F66CBb9170C519",
"0x3398EB75EE22523fEfdA99574dBc62fD19F8c58B",
"0x33E89a9db4F5a44d80A3E9d2Bdff6c168cbbd15c",
"0x3a6979EAB0ad99549158c05F2635C3B85dCAf5e2",
"0x3E6eC3A0A995d3c58d3854AaE41C77C687C07E7f",
"0x4479B4e96252B829934bA0f8fb8f5c96883DA7E5",
"0x45e42D659D9f9466cD5DF622506033145a9b89Bc",
"0x477964C7B2CDFe2653b0D89469e40D8A5eeF9E52",
"0x4970515788ab15d4De4E9f8ed1E1079f6d25dC77",
"0x4a3a14d47634E0712B1Aa33f17EC31316a0D5BAB",
"0x4dF86FD5bf250D692C503592Bde3d3E9087F6232",
"0x4fab5005176F5E4c00988623c35107cCB40dC19D",
"0x5046E6b2C9D11458bC3718e0cF5Bc8557bCCf5dc",
"0x50fA6146E86deAd56bf9E8e4655DFc2b5235D355",
"0x51396a258BAe60D1fDE2a4Be900371f3B9C52c43",
"0x55b9a11c2e8351b4Ffc7b11561148bfaC9977855",
"0x5BEb463647b1Fd55D3F876E9b042c27Aa63F4bA8",
"0x5eB99507170F41bAA521cb71C9bCEa2a8A96827C",
"0x64fd6EeB4c86A66b0CfeEAFeC11FbC57A2993E67",
"0x651074850053b7FaCf7F7200068B29A2E3525B40",
"0x690D4d5e3722e140fCa16e25E7A579588D93eB75",
"0x6A37eC2C49E2FB35F9c029128e996f46928dDecC",
"0x6FD253A6D78df35f2D932aCf4bCEF4bB650a2263",
"0x76d0184CF511788032A74a1FB91146e63F43dd53",
"0x7b355c571FEde83F152E9585143306C0d2b53193",
"0x876A68D9efbc3CadaA886e9868D93737035F717C",
"0x88d60255F917e3eb94eaE199d827DAd837fac4cB",
"0x8900f34372f27Ebb5881D4eC6b35844A3655CCFc",
"0x8E100855e6647bd24F1A32999c4A6C91497C9f62",
"0x935E058102AFa0CC3c29Af024AF3208Ba521bcB0",
"0x9946C9C519638740EAc4Ee3Aa9f20eBe1Ce36c2c",
"0x9a145BABB0315F461eD40cB8Cd17523A039e0370",
"0x9aBcecb1CB8e174b4d158021c9C710c81a989487",
"0x9bd05bCd368BDB8050E85E35b8D38753e72b44BF",
"0x9c5D60F5D1493F3FA05cdE2403b4Bd4B9CF01057",
"0xAC55641Cbb734bdf6510d1bBd62E240c2409040f",
"0xAf4D36C8c744F345E060345b6eAf4E899eC7547c",
"0xb81BbB68D2C32398e628f5183D1cfe9f24dFb678",
"0xB932b16ccc42917dF3608bfC1519e948b42fdFD9",
"0xc2A4CE7835c7b6de4F3F15303E25b3eF0bB43bDF",
"0xC2E0bC52D1995dF11949425cfdf78D0B6D2cfE0a",
"0xc658E8372DaFFf26caa7439B95a1fF723baaef6E",
"0xC68dDd84fDC77506A5b7AB43B8E13DBA0AF74Ff4",
"0xC8671e3eAAd0793de26c4a7Ba5ca10a992a80c7A",
"0xc98333457471f82871B0193D0E4F03C6D7D7dFF8",
"0xca08DaeC07f11d9375cA64478e83a12fC35B09d2",
"0xCA68fE57A0E9987F940Ebcc65fe5F96E7bC30128",
"0xD1c10d433C888E6d1841fF924d0CE45157f0d5Cd",
"0xD1eBe08dAe15E604B043789cb140be646E0bd27b",
"0xD4729a47FFDBDd190a015BB0C29fC613c5aD3cFE",
"0xD507fAa6B65cF9E970d67cd108B224162495de30",
"0xd6dF0C579f2A65049a893fDaEC9fCE098CC19F87",
"0xdEb7ade9417f98AFbB60cd6b4a49d4B002AB79c9",
"0xDF23a076b82a08cEFe696346DB702BBDD86838Bf",
"0xDF9AaC76b722B08511A4C561607A9bf3AfA62E49",
"0xdfd0A6BeD91d7609a0d84389Dcb7AAb5877e6AfA",
"0xE0B7927c4aF23765Cb51314A0E0521A9645F0E2A",
"0xe37B29Ce789CFa51b72c64c93e0d7E2D7BA46681",
"0xe9506979c9FA6f34b93846792c2d4aad7974ea55",
"0xeceaDBB8441AA28b76D8c756EE873aC574068204",
"0xf03A967b0F6EedE6f73fd747a93006E9130525d4",
"0xf8af8f48ba1743ccb0001778070e4ce189225e90",
"0xf962Ce2544f9e22da3DAE54b2A3040db7867f029",
"0xFC07d3E0e36330a151c09384C3aD45e745227688",
"0xFF197d0558aa9CD8fF788c7f0d4A1A48E1c399D6",
"0xFf8596169865c7cc1458b1c0eCCAFd4092C7F10f"
]
6 changes: 6 additions & 0 deletions blockchains/classic/denylist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
"0x6ADa6F48C815689502C43eC1a59F1b5DD3C04E1F",
"0xAfe6851C1D9ee2E759ACDEE8cFC827E22a9eC5d7",
"0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413",
"0xC66eA802717bFb9833400264Dd12c2bCeAa34a6d"
]
3 changes: 3 additions & 0 deletions blockchains/eos/allowlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"volentixgsys"
]
File renamed without changes.
Loading

0 comments on commit 4f487cd

Please sign in to comment.