Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unicode symbols #536

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/eos/info/eosInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const denominations = [
{
name: 'EOS',
multiplier: '10000',
symbol: 'E'
symbol: 'ε'
}
]

Expand Down
4 changes: 3 additions & 1 deletion src/ethereum/info/etcInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const builtinTokens: EdgeTokenMap = {
'2c78f1b70ccf63cdee49f9233e9faa99d43aa07e': {
currencyCode: 'DAI',
displayName: 'Dai Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0x2c78f1b70ccf63cdee49f9233e9faa99d43aa07e'
}
Expand Down
4 changes: 3 additions & 1 deletion src/ethereum/info/ethDevInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const builtinTokens: EdgeTokenMap = {
ff795577d9ac8bd7d90ee22b6c1703490b6512fd: {
currencyCode: 'DAI',
displayName: 'Dai Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0xff795577d9ac8bd7d90ee22b6c1703490b6512fd'
}
Expand Down
16 changes: 12 additions & 4 deletions src/ethereum/info/ethInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ const builtinTokens: EdgeTokenMap = {
'6b175474e89094c44da98b954eedeac495271d0f': {
currencyCode: 'DAI',
displayName: 'Dai Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F'
}
Expand Down Expand Up @@ -513,7 +515,9 @@ const builtinTokens: EdgeTokenMap = {
'9f8f72aa9304c8b593d555f12ef6589cc3a579a2': {
currencyCode: 'MKR',
displayName: 'Maker',
denominations: [{ name: 'MKR', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'MKR', multiplier: '1000000000000000000', symbol: 'Μ' }
],
networkLocation: {
contractAddress: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2'
}
Expand Down Expand Up @@ -633,15 +637,19 @@ const builtinTokens: EdgeTokenMap = {
'1985365e9f78359a9b6ad760e32412f4a445e862': {
currencyCode: 'REP',
displayName: 'Augur',
denominations: [{ name: 'REP', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'REP', multiplier: '1000000000000000000', symbol: 'Ɍ' }
],
networkLocation: {
contractAddress: '0x1985365e9f78359a9B6AD760e32412f4a445E862'
}
},
'221657776846890989a759ba2973e427dff5c9bb': {
currencyCode: 'REPV2',
displayName: 'Augur v2',
denominations: [{ name: 'REPV2', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'REPV2', multiplier: '1000000000000000000', symbol: 'Ɍ' }
],
networkLocation: {
contractAddress: '0x221657776846890989a759BA2973e427DfF5C9bB'
}
Expand Down
4 changes: 3 additions & 1 deletion src/ethereum/info/ftmInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ const builtinTokens: EdgeTokenMap = {
'8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e': {
currencyCode: 'DAI',
displayName: 'DAI Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e'
}
Expand Down
8 changes: 6 additions & 2 deletions src/ethereum/info/kovanInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ const builtinTokens: EdgeTokenMap = {
'61e4cae3da7fd189e52a4879c7b8067d7c2cc0fa': {
currencyCode: 'MKR',
displayName: 'Maker',
denominations: [{ name: 'MKR', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'MKR', multiplier: '1000000000000000000', symbol: 'Μ' }
],
networkLocation: {
contractAddress: '0x61e4cae3da7fd189e52a4879c7b8067d7c2cc0fa'
}
Expand All @@ -114,7 +116,9 @@ const builtinTokens: EdgeTokenMap = {
ff795577d9ac8bd7d90ee22b6c1703490b6512fd: {
currencyCode: 'DAI',
displayName: 'Dai Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0xff795577d9ac8bd7d90ee22b6c1703490b6512fd'
}
Expand Down
8 changes: 6 additions & 2 deletions src/ethereum/info/maticInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ const builtinTokens: EdgeTokenMap = {
'8f3cf7ad23cd3cadbd9735aff958023239c6a063': {
currencyCode: 'DAI',
displayName: 'Dai Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063'
}
Expand Down Expand Up @@ -89,7 +91,9 @@ const builtinTokens: EdgeTokenMap = {
'6f7c932e7684666c9fd1d44527765433e01ff61d': {
currencyCode: 'MKR',
displayName: 'Maker',
denominations: [{ name: 'MKR', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'MKR', multiplier: '1000000000000000000', symbol: 'Μ' }
],
networkLocation: {
contractAddress: '0x6f7C932e7684666C9fd1d44527765433e01fF61d'
}
Expand Down
12 changes: 11 additions & 1 deletion src/ethereum/info/optimismInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const builtinTokens: EdgeTokenMap = {
da10009cbd5d07dd0cecc66161fc93d7c9000da1: {
currencyCode: 'DAI',
displayName: 'Dai Stablecoin',
denominations: [{ name: 'DAI', multiplier: '1000000000000000000' }],
denominations: [
{ name: 'DAI', multiplier: '1000000000000000000', symbol: '◈' }
],
networkLocation: {
contractAddress: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1'
}
Expand All @@ -54,6 +56,14 @@ const builtinTokens: EdgeTokenMap = {
contractAddress: '0x68f180fcCe6836688e9084f035309E29Bf0A2095'
}
},
'4200000000000000000000000000000000000006': {
currencyCode: 'WETH',
displayName: 'Wrapped ETH',
denominations: [{ name: 'WETH', multiplier: '1000000000000000000' }],
networkLocation: {
contractAddress: '0x4200000000000000000000000000000000000006'
}
},
'350a791bfc2c21f9ed5d10980dad2e2638ffa7f6': {
currencyCode: 'LINK',
displayName: 'Chainlink',
Expand Down
2 changes: 1 addition & 1 deletion src/polkadot/polkadotInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const currencyInfo: EdgeCurrencyInfo = {
{
name: 'DOT',
multiplier: '10000000000',
symbol: ''
symbol: ''
}
],
metaTokens: [] // Deprecated
Expand Down
6 changes: 3 additions & 3 deletions src/solana/solanaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ export const asSolanaPrivateKeys = (
privateKey: asString
})(to)
},
hbarPrivateKey => {
solPrivateKey => {
return {
[`${pluginId}Mnemonic`]: hbarPrivateKey.mnemonic,
[`${pluginId}Key`]: hbarPrivateKey.privateKey
[`${pluginId}Mnemonic`]: solPrivateKey.mnemonic,
[`${pluginId}Key`]: solPrivateKey.privateKey
}
}
)
2 changes: 1 addition & 1 deletion src/stellar/stellarInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const currencyInfo: EdgeCurrencyInfo = {
{
name: 'XLM',
multiplier: '10000000',
symbol: '*'
symbol: '🚀'
}
],
metaTokens: [] // Deprecated
Expand Down
2 changes: 1 addition & 1 deletion src/tezos/tezosInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const currencyInfo: EdgeCurrencyInfo = {
{
name: 'XTZ',
multiplier: '1000000',
symbol: 't'
symbol: ''
}
],
metaTokens: [] // Deprecated
Expand Down
2 changes: 1 addition & 1 deletion src/xrp/xrpInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const currencyInfo: EdgeCurrencyInfo = {
{
name: 'XRP',
multiplier: '1000000',
symbol: 'X'
symbol: ''
}
],
metaTokens: [] // Deprecated
Expand Down
2 changes: 1 addition & 1 deletion src/zcash/zecInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const currencyInfo: EdgeCurrencyInfo = {
{
name: 'ZEC',
multiplier: '100000000',
symbol: 'Z'
symbol: ''
}
],

Expand Down