Tomochain and axl usdc (#26921)
* Create logo.png * Create info.json * Create logo.png * Create info.json * Create logo.png * Create info.json * Create logo.png * Create info.json * Create logo.png * Create info.json * Create info.json * Create logo.png * Create info.json * Create logo.png * Create info.json * Create logo.png * Create logo.png * Create info.json * Create logo.png * Create info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Delete logo.png * Delete info.json * Update info.json * Delete logo.png * Update info.json * Update info.json * Update info.json * Delete logo.png * Delete logo.png * Update info.json * Update info.json * Update info.json * Update info.json * Delete logo.png * Update info.json * Delete logo.png * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Create info.json * Create logo.png * Create logo.png * Create info.json * Create info.json * Create logo.png * Create info.json * Create logo.png * Create info.json * Create logo.png * change name * bump go prim --------- Co-authored-by: cryptomanz1 <85495047+cryptomanz1@users.noreply.github.com>
@@ -43,6 +43,8 @@ validators_settings:
|
||||
- "bin"
|
||||
skip_files:
|
||||
- "node_modules"
|
||||
skip_dirs:
|
||||
- ".git"
|
||||
|
||||
chain_folder:
|
||||
allowed_files:
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "Axelar Wrapped USDC",
|
||||
"type": "BASE",
|
||||
"symbol": "axlUSDC",
|
||||
"decimals": 6,
|
||||
"website": "https://axelar.network/",
|
||||
"description": "Axelar delivers secure cross-chain communication for Web3. Our infrastructure enables dApp users to interact with any asset or application, on any chain, with one click.",
|
||||
"explorer": "https://basescan.org/token/0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"status": "active",
|
||||
"id": "0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"links": [
|
||||
{
|
||||
"name": "twitter",
|
||||
"url": "https://twitter.com/axelarcore"
|
||||
},
|
||||
{
|
||||
"name": "github",
|
||||
"url": "https://github.com/axelarnetwork"
|
||||
},
|
||||
{
|
||||
"name": "telegram",
|
||||
"url": "https://t.me/axelarcommunity"
|
||||
},
|
||||
{
|
||||
"name": "coingecko",
|
||||
"url": "https://coingecko.com/coins/axelar-usdc"
|
||||
},
|
||||
{
|
||||
"name": "docs",
|
||||
"url": "https://docs.axelar.dev/"
|
||||
},
|
||||
{
|
||||
"name": "discord",
|
||||
"url": "https://discord.com/invite/aRZ3Ra6f7D"
|
||||
},
|
||||
{
|
||||
"name": "forum",
|
||||
"url": "https://community.axelar.network/"
|
||||
},
|
||||
{
|
||||
"name": "whitepaper",
|
||||
"url": "https://axelar.network/axelar_whitepaper.pdf"
|
||||
},
|
||||
{
|
||||
"name": "reddit",
|
||||
"url": "https://reddit.com/r/axelar"
|
||||
},
|
||||
{
|
||||
"name": "medium",
|
||||
"url": "https://medium.com/@axelar-foundation"
|
||||
},
|
||||
{
|
||||
"name": "coinmarketcap",
|
||||
"url": "https://coinmarketcap.com/currencies/axlusdc/"
|
||||
},
|
||||
{
|
||||
"name": "blog",
|
||||
"url": "https://axelar.network/blog"
|
||||
},
|
||||
{
|
||||
"name": "youtube",
|
||||
"url": "https://youtube.com/@Axelarcore"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"stablecoin",
|
||||
"wrapped"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 38 KiB |
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "Axelar Wrapped USDC",
|
||||
"type": "KAVAEVM",
|
||||
"symbol": "axlUSDC",
|
||||
"decimals": 6,
|
||||
"website": "https://axelar.network/",
|
||||
"description": "Axelar delivers secure cross-chain communication for Web3. Our infrastructure enables dApp users to interact with any asset or application, on any chain, with one click.",
|
||||
"explorer": "https://explorer.kava.io/token/0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"status": "active",
|
||||
"id": "0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"links": [
|
||||
{
|
||||
"name": "twitter",
|
||||
"url": "https://twitter.com/axelarcore"
|
||||
},
|
||||
{
|
||||
"name": "github",
|
||||
"url": "https://github.com/axelarnetwork"
|
||||
},
|
||||
{
|
||||
"name": "telegram",
|
||||
"url": "https://t.me/axelarcommunity"
|
||||
},
|
||||
{
|
||||
"name": "coingecko",
|
||||
"url": "https://coingecko.com/coins/axelar-usdc"
|
||||
},
|
||||
{
|
||||
"name": "docs",
|
||||
"url": "https://docs.axelar.dev/"
|
||||
},
|
||||
{
|
||||
"name": "discord",
|
||||
"url": "https://discord.com/invite/aRZ3Ra6f7D"
|
||||
},
|
||||
{
|
||||
"name": "forum",
|
||||
"url": "https://community.axelar.network/"
|
||||
},
|
||||
{
|
||||
"name": "whitepaper",
|
||||
"url": "https://axelar.network/axelar_whitepaper.pdf"
|
||||
},
|
||||
{
|
||||
"name": "reddit",
|
||||
"url": "https://reddit.com/r/axelar"
|
||||
},
|
||||
{
|
||||
"name": "medium",
|
||||
"url": "https://medium.com/@axelar-foundation"
|
||||
},
|
||||
{
|
||||
"name": "coinmarketcap",
|
||||
"url": "https://coinmarketcap.com/currencies/axlusdc/"
|
||||
},
|
||||
{
|
||||
"name": "blog",
|
||||
"url": "https://axelar.network/blog"
|
||||
},
|
||||
{
|
||||
"name": "youtube",
|
||||
"url": "https://youtube.com/@Axelarcore"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"stablecoin",
|
||||
"wrapped"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 38 KiB |
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "Axelar Wrapped USDC",
|
||||
"type": "LINEA",
|
||||
"symbol": "axlUSDC",
|
||||
"decimals": 6,
|
||||
"website": "https://axelar.network/",
|
||||
"description": "Axelar delivers secure cross-chain communication for Web3. Our infrastructure enables dApp users to interact with any asset or application, on any chain, with one click.",
|
||||
"explorer": "https://explorer.linea.build/token/0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"status": "active",
|
||||
"id": "0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"links": [
|
||||
{
|
||||
"name": "twitter",
|
||||
"url": "https://twitter.com/axelarcore"
|
||||
},
|
||||
{
|
||||
"name": "github",
|
||||
"url": "https://github.com/axelarnetwork"
|
||||
},
|
||||
{
|
||||
"name": "telegram",
|
||||
"url": "https://t.me/axelarcommunity"
|
||||
},
|
||||
{
|
||||
"name": "coingecko",
|
||||
"url": "https://coingecko.com/coins/axelar-usdc"
|
||||
},
|
||||
{
|
||||
"name": "docs",
|
||||
"url": "https://docs.axelar.dev/"
|
||||
},
|
||||
{
|
||||
"name": "discord",
|
||||
"url": "https://discord.com/invite/aRZ3Ra6f7D"
|
||||
},
|
||||
{
|
||||
"name": "forum",
|
||||
"url": "https://community.axelar.network/"
|
||||
},
|
||||
{
|
||||
"name": "whitepaper",
|
||||
"url": "https://axelar.network/axelar_whitepaper.pdf"
|
||||
},
|
||||
{
|
||||
"name": "reddit",
|
||||
"url": "https://reddit.com/r/axelar"
|
||||
},
|
||||
{
|
||||
"name": "medium",
|
||||
"url": "https://medium.com/@axelar-foundation"
|
||||
},
|
||||
{
|
||||
"name": "coinmarketcap",
|
||||
"url": "https://coinmarketcap.com/currencies/axlusdc/"
|
||||
},
|
||||
{
|
||||
"name": "blog",
|
||||
"url": "https://axelar.network/blog"
|
||||
},
|
||||
{
|
||||
"name": "youtube",
|
||||
"url": "https://youtube.com/@Axelarcore"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"stablecoin",
|
||||
"wrapped"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 38 KiB |
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Axelar Wrapped USDC",
|
||||
"symbol": "axlUSDC",
|
||||
"type": "MANTLE",
|
||||
"decimals": 18,
|
||||
"description": "Axelar Wrapped USDC (axlUSDC) is a cryptocurrency and operates on the BNB Smart Chain (BEP20) platform.",
|
||||
"website": "https://axelar.network/",
|
||||
"explorer": "https://explorer.mantle.xyz/address/0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"status": "active",
|
||||
"id": "0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"links": [
|
||||
{
|
||||
"name": "twitter",
|
||||
"url": "https://twitter.com/axelarcore"
|
||||
},
|
||||
{
|
||||
"name": "discord",
|
||||
"url": "https://discord.com/invite/aRZ3Ra6f7D"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 38 KiB |
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "Axelar Wrapped USDC",
|
||||
"type": "OPTIMISM",
|
||||
"symbol": "axlUSDC",
|
||||
"decimals": 6,
|
||||
"website": "https://axelar.network/",
|
||||
"description": "Axelar delivers secure cross-chain communication for Web3. Our infrastructure enables dApp users to interact with any asset or application, on any chain, with one click.",
|
||||
"explorer": "https://optimistic.etherscan.io/token/0xeb466342c4d449bc9f53a865d5cb90586f405215",
|
||||
"status": "active",
|
||||
"id": "0xEB466342C4d449BC9f53A865D5Cb90586f405215",
|
||||
"links": [
|
||||
{
|
||||
"name": "twitter",
|
||||
"url": "https://twitter.com/axelarcore"
|
||||
},
|
||||
{
|
||||
"name": "github",
|
||||
"url": "https://github.com/axelarnetwork"
|
||||
},
|
||||
{
|
||||
"name": "telegram",
|
||||
"url": "https://t.me/axelarcommunity"
|
||||
},
|
||||
{
|
||||
"name": "coingecko",
|
||||
"url": "https://coingecko.com/coins/axelar-usdc"
|
||||
},
|
||||
{
|
||||
"name": "docs",
|
||||
"url": "https://docs.axelar.dev/"
|
||||
},
|
||||
{
|
||||
"name": "discord",
|
||||
"url": "https://discord.com/invite/aRZ3Ra6f7D"
|
||||
},
|
||||
{
|
||||
"name": "forum",
|
||||
"url": "https://community.axelar.network/"
|
||||
},
|
||||
{
|
||||
"name": "whitepaper",
|
||||
"url": "https://axelar.network/axelar_whitepaper.pdf"
|
||||
},
|
||||
{
|
||||
"name": "reddit",
|
||||
"url": "https://reddit.com/r/axelar"
|
||||
},
|
||||
{
|
||||
"name": "medium",
|
||||
"url": "https://medium.com/@axelar-foundation"
|
||||
},
|
||||
{
|
||||
"name": "coinmarketcap",
|
||||
"url": "https://coinmarketcap.com/currencies/axlusdc/"
|
||||
},
|
||||
{
|
||||
"name": "blog",
|
||||
"url": "https://axelar.network/blog"
|
||||
},
|
||||
{
|
||||
"name": "youtube",
|
||||
"url": "https://youtube.com/@Axelarcore"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"stablecoin",
|
||||
"wrapped"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 38 KiB |
@@ -5,7 +5,7 @@
|
||||
"decimals": 6,
|
||||
"description": "-",
|
||||
"website": "",
|
||||
"explorer": "https://scan.tomochain.com/address/0x01F83cE6636179b54b0CC0C408f9a8bce40ae776",
|
||||
"explorer": "https://tomoscan.io/token/0x01F83cE6636179b54b0CC0C408f9a8bce40ae776",
|
||||
"status": "abandoned",
|
||||
"id": "0x01F83cE6636179b54b0CC0C408f9a8bce40ae776"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 9.1 KiB |
@@ -5,7 +5,7 @@
|
||||
"decimals": 18,
|
||||
"description": "-",
|
||||
"website": "",
|
||||
"explorer": "https://scan.tomochain.com/address/0x17B26400621695c2D8C2D8869f6259E82D7544c4",
|
||||
"explorer": "https://tomoscan.io/token/0x17B26400621695c2D8C2D8869f6259E82D7544c4",
|
||||
"status": "active",
|
||||
"id": "0x17B26400621695c2D8C2D8869f6259E82D7544c4"
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
"decimals": 18,
|
||||
"website": "https://lottoxsmb.com/",
|
||||
"description": "Revolutionizing the Global Lottery Industry with Harnessing Blockchain and Smart Contracts",
|
||||
"explorer": "https://scan.tomochain.com/address/0x453B71962b5ffbe830a47AbB11A5CFd35C4250BA",
|
||||
"explorer": "https://tomoscan.io/token/0x453B71962b5ffbe830a47AbB11A5CFd35C4250BA",
|
||||
"status": "active",
|
||||
"id": "0x453B71962b5ffbe830a47AbB11A5CFd35C4250BA",
|
||||
"links": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"decimals": 18,
|
||||
"website": "https://megaltr.com",
|
||||
"description": "lottery blockchain operates fully automatically based on smart contracts",
|
||||
"explorer": "https://scan.tomochain.com/address/0x5080781e91237b6D7f026D5306b7233e26Cd6C16",
|
||||
"explorer": "https://tomoscan.io/token/0x5080781e91237b6D7f026D5306b7233e26Cd6C16",
|
||||
"status": "active",
|
||||
"id": "0x5080781e91237b6D7f026D5306b7233e26Cd6C16",
|
||||
"links": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"decimals": 18,
|
||||
"website": "https://lottocfb.com",
|
||||
"description": "Your Gateway to Winning",
|
||||
"explorer": "https://scan.tomochain.com/address/0x567b1e373f7285e9a32f5eeB9305b6964B6a3532",
|
||||
"explorer": "https://tomoscan.io/token/0x567b1e373f7285e9a32f5eeB9305b6964B6a3532",
|
||||
"status": "active",
|
||||
"id": "0x567b1e373f7285e9a32f5eeB9305b6964B6a3532",
|
||||
"links": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"decimals": 6,
|
||||
"description": "-",
|
||||
"website": "",
|
||||
"explorer": "https://scan.tomochain.com/address/0x5e55D0c59287F5F8d540eF0766cA3F3810C71B84",
|
||||
"explorer": "https://tomoscan.io/token/0x5e55D0c59287F5F8d540eF0766cA3F3810C71B84",
|
||||
"status": "abandoned",
|
||||
"id": "0x5e55D0c59287F5F8d540eF0766cA3F3810C71B84"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 8.2 KiB |
@@ -5,7 +5,7 @@
|
||||
"decimals": 18,
|
||||
"website": "https://tabank.org",
|
||||
"description": "crypto ecosystem that include: e-commerce, social networks, exchanges and crypto wallet, gaming",
|
||||
"explorer": "https://scan.tomochain.com/address/0x8103bb77ed2035b5da9a3a65d9c313cb6ee41dbd",
|
||||
"explorer": "https://tomoscan.io/token/0x8103Bb77eD2035b5da9A3A65d9c313cb6eE41dbD",
|
||||
"status": "active",
|
||||
"id": "0x8103Bb77eD2035b5da9A3A65d9c313cb6eE41dbD",
|
||||
"links": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"decimals": 4,
|
||||
"description": "-",
|
||||
"website": "",
|
||||
"explorer": "https://scan.tomochain.com/address/0x936b1F7290c8CFC57e31D7e4a301D5F9fA5B0cd8",
|
||||
"explorer": "https://tomoscan.io/token/0x936b1F7290c8CFC57e31D7e4a301D5F9fA5B0cd8",
|
||||
"status": "abandoned",
|
||||
"id": "0x936b1F7290c8CFC57e31D7e4a301D5F9fA5B0cd8"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 12 KiB |
@@ -5,7 +5,7 @@
|
||||
"decimals": 6,
|
||||
"description": "-",
|
||||
"website": "",
|
||||
"explorer": "https://scan.tomochain.com/address/0xcE98172f4fC9Ad02da607843A2C211b7834431da",
|
||||
"explorer": "https://tomoscan.io/token/0xcE98172f4fC9Ad02da607843A2C211b7834431da",
|
||||
"status": "abandoned",
|
||||
"id": "0xcE98172f4fC9Ad02da607843A2C211b7834431da"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 9.2 KiB |
@@ -1,10 +1,9 @@
|
||||
{
|
||||
"name": "TomoChain",
|
||||
"website": "https://tomochain.com",
|
||||
"description": "TomoChain is a scalable blockchain powered via Proof-of-Stake Voting consensus and used commercially by companies globally.",
|
||||
"name": "Viction",
|
||||
"website": "https://viction.xyz/",
|
||||
"description": "Viction (VIC) is a people-centric layer-1 blockchain that provides zero-gas transactions and heightened security, making Web3 accessible and safe for everyone.",
|
||||
"explorer": "https://scan.tomochain.com",
|
||||
"research": "https://research.binance.com/en/projects/tomochain",
|
||||
"symbol": "TOMO",
|
||||
"symbol": "VIC",
|
||||
"type": "coin",
|
||||
"decimals": 18,
|
||||
"status": "active",
|
||||
@@ -15,15 +14,11 @@
|
||||
},
|
||||
{
|
||||
"name": "twitter",
|
||||
"url": "https://twitter.com/TomoChainANN"
|
||||
"url": "https://twitter.com/BuildOnViction"
|
||||
},
|
||||
{
|
||||
"name": "reddit",
|
||||
"url": "https://reddit.com/r/Tomochain"
|
||||
},
|
||||
{
|
||||
"name": "whitepaper",
|
||||
"url": "https://tomochain.com/docs/technical-whitepaper--1.0.pdf"
|
||||
"name": "telegram",
|
||||
"url": "https://t.me/buildonviction"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 9.8 KiB |
@@ -7,7 +7,7 @@ require (
|
||||
github.com/spf13/cobra v1.7.0
|
||||
github.com/trustwallet/assets-go-libs v0.3.7
|
||||
github.com/trustwallet/go-libs v0.7.3
|
||||
github.com/trustwallet/go-primitives v0.1.8
|
||||
github.com/trustwallet/go-primitives v0.1.12
|
||||
)
|
||||
|
||||
require (
|
||||
|
||||
@@ -242,6 +242,16 @@ github.com/trustwallet/go-libs v0.7.3 h1:X5KTj2/582Iv/3Pbm9AKPABBlwGE0tLGbQir66j
|
||||
github.com/trustwallet/go-libs v0.7.3/go.mod h1:5TQECBJo2ZUhGvB4pTKtyYeclGhzlYooVv/EufU4Axk=
|
||||
github.com/trustwallet/go-primitives v0.1.8 h1:WjZ80+nJW93PDkbb8401JBOMgU/jJ7C8y9TrMBysICM=
|
||||
github.com/trustwallet/go-primitives v0.1.8/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231205173723-b19b6694d765 h1:MA/DPJJz2X9o5qlB3cFQFixcMCsAv8Jng2wNOayiyJ0=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231205173723-b19b6694d765/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231206071933-fb4bd0c05a2a h1:rfN3xznjfhy2M98vLgyJHTo2gXU2N4UBiNaLhkjCObo=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231206071933-fb4bd0c05a2a/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231206072309-6db95197a341 h1:93l81vW2iNvuJbTXuA3YUUdlimQ/YPMYWSWm3Rjk0rs=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231206072309-6db95197a341/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231206072940-1b46bb0a7643 h1:JWue5tpVirh1ifLagruhqHVdeR7u1WcTd05Q6ailmns=
|
||||
github.com/trustwallet/go-primitives v0.1.12-0.20231206072940-1b46bb0a7643/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
|
||||
github.com/trustwallet/go-primitives v0.1.12 h1:5qgmAIdHKpE/bWfxy6ChOyD7oO9g7M/coR6FNvJ9fAc=
|
||||
github.com/trustwallet/go-primitives v0.1.12/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
|
||||
github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=
|
||||
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
|
||||
@@ -3,6 +3,7 @@ package config
|
||||
type RootFolder struct {
|
||||
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
|
||||
SkipFiles []string `mapstructure:"skip_files,omitempty"`
|
||||
SkipDirs []string `mapstructure:"skip_dirs,omitempty"`
|
||||
}
|
||||
|
||||
type ChainFolder struct {
|
||||
|
||||
@@ -2,6 +2,7 @@ package manager
|
||||
|
||||
import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/trustwallet/assets-go-libs/file"
|
||||
"github.com/trustwallet/assets-go-libs/path"
|
||||
@@ -116,6 +117,15 @@ func handleAddTokenList(args []string, tokenlistType path.TokenListType) {
|
||||
}
|
||||
}
|
||||
|
||||
func filter[T any](ss []T, test func(T) bool) (ret []T) {
|
||||
for _, s := range ss {
|
||||
if test(s) {
|
||||
ret = append(ret, s)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func InitAssetsService() *service.Service {
|
||||
setup()
|
||||
|
||||
@@ -124,6 +134,15 @@ func InitAssetsService() *service.Service {
|
||||
log.WithError(err).Fatal("Failed to load file structure.")
|
||||
}
|
||||
|
||||
paths = filter(paths, func(path string) bool {
|
||||
for _, dir := range config.Default.ValidatorsSettings.RootFolder.SkipDirs {
|
||||
if strings.Contains(path, dir) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
})
|
||||
|
||||
fileService := file.NewService(paths...)
|
||||
validatorsService := processor.NewService(fileService)
|
||||
reportService := report.NewService()
|
||||
|
||||