mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Add Optimism and fix Avalanche C chain (#13017)
* add optimism logo * fix folder name * Fix token types * use suggest token type * Update allowlist.json
This commit is contained in:
parent
3cb403121c
commit
92ad6bf22e
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"name": "Avalanche",
|
|
||||||
"website": "http://avax.network",
|
|
||||||
"description": "Avalanche is an open-source platform for launching highly decentralized applications, new financial primitives, and new interoperable blockchains.",
|
|
||||||
"explorer": "https://explorer.avax.network",
|
|
||||||
"research": "https://research.binance.com/en/projects/avalanche",
|
|
||||||
"symbol": "AVAX",
|
|
||||||
"type": "coin",
|
|
||||||
"decimals": 9,
|
|
||||||
"status": "active",
|
|
||||||
"tags": [
|
|
||||||
"staking-native"
|
|
||||||
],
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"name": "github",
|
|
||||||
"url": "https://github.com/ava-labs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "whitepaper",
|
|
||||||
"url": "https://www.avalabs.org/whitepapers"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 23 KiB |
3
blockchains/avalanchec/allowlist.json
Normal file
3
blockchains/avalanchec/allowlist.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[
|
||||||
|
"0x60781C2586D68229fde47564546784ab3fACA982"
|
||||||
|
]
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"name": "Pangolin",
|
||||||
|
"website": "https://pangolin.exchange/",
|
||||||
|
"description": "A community-driven decentralized exchange for Avalanche and Ethereum assets with fast settlement, low transaction fees, and a democratic distribution–powered by Avalanche",
|
||||||
|
"explorer": "https://cchain.explorer.avax.network/address/0x60781C2586D68229fde47564546784ab3fACA982",
|
||||||
|
"research": "https://research.binance.com/en/projects/avalanche",
|
||||||
|
"type": "AVALANCHE",
|
||||||
|
"symbol": "PNG",
|
||||||
|
"decimals": 18,
|
||||||
|
"status": "active",
|
||||||
|
"id": "0x60781C2586D68229fde47564546784ab3fACA982",
|
||||||
|
"links": []
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
1
blockchains/avalanchec/denylist.json
Normal file
1
blockchains/avalanchec/denylist.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[]
|
|
@ -6,7 +6,7 @@
|
||||||
"research": "https://research.binance.com/en/projects/avalanche",
|
"research": "https://research.binance.com/en/projects/avalanche",
|
||||||
"symbol": "AVAX",
|
"symbol": "AVAX",
|
||||||
"type": "coin",
|
"type": "coin",
|
||||||
"decimals": 9,
|
"decimals": 18,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tags": [
|
"tags": [
|
||||||
"staking-native"
|
"staking-native"
|
||||||
|
|
3
blockchains/optimism/allowlist.json
Normal file
3
blockchains/optimism/allowlist.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[
|
||||||
|
"0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4"
|
||||||
|
]
|
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"name": "Synthetix Network",
|
||||||
|
"website": "https://synthetix.io",
|
||||||
|
"description": "Synthetix is a derivatives liquidity protocol on Ethereum that enables the issuance and trading of synthetic assets.",
|
||||||
|
"explorer": "https://optimistic.etherscan.io/address/0x8700daec35af8ff88c16bdf0418774cb3d7599b4",
|
||||||
|
"research": "https://research.binance.com/en/projects/synthetix",
|
||||||
|
"type": "OPTIMISM",
|
||||||
|
"symbol": "SNX",
|
||||||
|
"decimals": 18,
|
||||||
|
"status": "active",
|
||||||
|
"id": "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4",
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"name": "github",
|
||||||
|
"url": "https://github.com/havven/havven"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "twitter",
|
||||||
|
"url": "https://twitter.com/synthetix_io"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "reddit",
|
||||||
|
"url": "https://reddit.com/r/synthetix_io/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "blog",
|
||||||
|
"url": "https://blog.synthetix.io/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "whitepaper",
|
||||||
|
"url": "https://synthetix.io/uploads/havven_whitepaper.pdf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "coingecko",
|
||||||
|
"url": "https://coingecko.com/en/coins/havven/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
1
blockchains/optimism/denylist.json
Normal file
1
blockchains/optimism/denylist.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[]
|
12
blockchains/optimism/info/info.json
Normal file
12
blockchains/optimism/info/info.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"name": "Optimistic Ethereum",
|
||||||
|
"website": "https://optimism.io/",
|
||||||
|
"description": "Optimism is a Layer 2 scaling solution for Ethereum.",
|
||||||
|
"explorer": "https://optimistic.etherscan.io",
|
||||||
|
"research": "https://github.com/ethereum-optimism/optimism",
|
||||||
|
"symbol": "OETH",
|
||||||
|
"type": "coin",
|
||||||
|
"decimals": 18,
|
||||||
|
"status": "active",
|
||||||
|
"links": []
|
||||||
|
}
|
BIN
blockchains/optimism/info/logo.png
Normal file
BIN
blockchains/optimism/info/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
|
@ -1,4 +1,7 @@
|
||||||
[
|
[
|
||||||
|
"0x0116e28B43A358162B96f70B4De14C98A4465f25",
|
||||||
"0x1e16aa4Df73d29C029d94CeDa3e3114EC191E25A",
|
"0x1e16aa4Df73d29C029d94CeDa3e3114EC191E25A",
|
||||||
"0x71850b7E9Ee3f13Ab46d67167341E4bDc905Eef9"
|
"0x703120F2f2011a0D03A03a531Ac0e84e81F15989",
|
||||||
|
"0x71850b7E9Ee3f13Ab46d67167341E4bDc905Eef9",
|
||||||
|
"0xC25AF3123d2420054c8fcd144c21113aa2853F39"
|
||||||
]
|
]
|
|
@ -7,7 +7,7 @@
|
||||||
"symbol": "xDAI",
|
"symbol": "xDAI",
|
||||||
"type": "coin",
|
"type": "coin",
|
||||||
"decimals": 18,
|
"decimals": 18,
|
||||||
"status": "abandoned",
|
"status": "active",
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
"name": "github",
|
"name": "github",
|
||||||
|
|
|
@ -218,6 +218,8 @@ export function chainFromAssetType(type: string): string {
|
||||||
case "WAVES": return "waves";
|
case "WAVES": return "waves";
|
||||||
case "POA": return "poa";
|
case "POA": return "poa";
|
||||||
case "POLYGON": return "polygon";
|
case "POLYGON": return "polygon";
|
||||||
|
case "OPTIMISM": return "optimism";
|
||||||
|
case "AVALANCHE": return 'avalanchec';
|
||||||
default: return "";
|
default: return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -297,7 +299,12 @@ export function explorerUrl(chain: string, contract: string): string {
|
||||||
|
|
||||||
case CoinType.name(CoinType.polygon).toLowerCase():
|
case CoinType.name(CoinType.polygon).toLowerCase():
|
||||||
case 'polygon':
|
case 'polygon':
|
||||||
return `https://polygonscan.com/token/${contract}`; }
|
return `https://polygonscan.com/token/${contract}`;
|
||||||
|
case 'optimism':
|
||||||
|
return `https://optimistic.etherscan.io/address/${contract}`;
|
||||||
|
case 'avalanchec':
|
||||||
|
return `https://cchain.explorer.avax.network/address/${contract}`
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,9 @@ export const Waves = getChainName(CoinType.waves);
|
||||||
export const Solana = getChainName(CoinType.solana);
|
export const Solana = getChainName(CoinType.solana);
|
||||||
export const SmartChain = getChainName(CoinType.smartchain);
|
export const SmartChain = getChainName(CoinType.smartchain);
|
||||||
export const Polygon = getChainName(CoinType.polygon);
|
export const Polygon = getChainName(CoinType.polygon);
|
||||||
|
export const Optimism = "optimism";
|
||||||
|
export const xDAI = "xdai";
|
||||||
|
export const Avalanche = "avalanchec";
|
||||||
|
|
||||||
export const ethForkChains = [
|
export const ethForkChains = [
|
||||||
Ethereum,
|
Ethereum,
|
||||||
|
@ -37,6 +40,9 @@ export const ethForkChains = [
|
||||||
ThunderCore,
|
ThunderCore,
|
||||||
SmartChain,
|
SmartChain,
|
||||||
Polygon,
|
Polygon,
|
||||||
|
Optimism,
|
||||||
|
xDAI,
|
||||||
|
Avalanche,
|
||||||
];
|
];
|
||||||
export const stakingChains = [
|
export const stakingChains = [
|
||||||
Tezos,
|
Tezos,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user