Skip to content

Commit

Permalink
Ana&Mario/add missing coinlookups (#546)
Browse files Browse the repository at this point in the history
* add missing coinlookups

* fix chaintoview conversion type
  • Loading branch information
Bitcoinera authored Mar 31, 2020
1 parent 9732053 commit 509ab7d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 2 deletions.
51 changes: 50 additions & 1 deletion data/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ module.exports = [
...getNetworkCapabilities[`cosmos-hub-testnet`],
default: false,
stakingDenom: 'MUON',
coinLookup: [
{
chainDenom: 'umuon',
viewDenom: 'MUON',
chainToViewConversionFactor: 1e-6
}
],
enabled: true,
icon: 'https://app.lunie.io/img/networks/cosmos-hub-mainnet.png',
slug: 'cosmos-hub-testnet',
Expand Down Expand Up @@ -46,6 +53,13 @@ module.exports = [
...getNetworkCapabilities[`cosmos-hub-mainnet`],
default: true,
stakingDenom: 'ATOM',
coinLookup: [
{
chainDenom: 'uatom',
viewDenom: 'ATOM',
chainToViewConversionFactor: 1e-6
}
],
enabled: true,
icon: 'https://app.lunie.io/img/networks/cosmos-hub-mainnet.png',
slug: 'cosmos-hub',
Expand Down Expand Up @@ -73,6 +87,13 @@ module.exports = [
...getNetworkCapabilities[`terra-mainnet`],
default: false,
stakingDenom: 'LUNA',
coinLookup: [
{
chainDenom: 'uluna',
viewDenom: 'LUNA',
chainToViewConversionFactor: 1e-6
}
],
enabled: true,
icon: 'https://app.lunie.io/img/networks/terra-mainnet.png',
slug: 'terra'
Expand All @@ -94,6 +115,13 @@ module.exports = [
...getNetworkCapabilities[`terra-testnet`],
default: false,
stakingDenom: 'LUNA',
coinLookup: [
{
chainDenom: 'uluna',
viewDenom: 'LUNA',
chainToViewConversionFactor: 1e-6
}
],
enabled: true,
icon: 'https://app.lunie.io/img/networks/terra-testnet.png',
slug: 'terra-testnet'
Expand All @@ -115,6 +143,13 @@ module.exports = [
...getNetworkCapabilities[`emoney-mainnet`],
default: false,
stakingDenom: 'NGM',
coinLookup: [
{
chainDenom: 'ungm',
viewDenom: 'NGM',
chainToViewConversionFactor: 1e-6
}
],
enabled: true,
icon: 'https://app.lunie.io/img/networks/emoney-mainnet.png',
slug: 'emoney'
Expand All @@ -136,6 +171,13 @@ module.exports = [
...getNetworkCapabilities[`emoney-testnet`],
default: false,
stakingDenom: 'NGM',
coinLookup: [
{
chainDenom: 'ungm',
viewDenom: 'NGM',
chainToViewConversionFactor: 1e-6
}
],
enabled: true,
icon: 'https://app.lunie.io/img/networks/emoney-testnet.png',
slug: 'emoney-testnet'
Expand Down Expand Up @@ -185,7 +227,14 @@ module.exports = [
testnet: true,
...getNetworkCapabilities[`akash-testnet`],
default: false,
stakingDenom: 'STAKE',
stakingDenom: 'STAKE', // this is only in my private testnet
coinLookup: [
{
chainDenom: 'uakt',
viewDenom: 'AKT',
chainToViewConversionFactor: 1e-6
}
],
enabled: false,
icon: 'https://app.lunie.io/img/networks/akash-testnet.png',
slug: 'akash-testnet'
Expand Down
2 changes: 1 addition & 1 deletion lib/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const typeDefs = gql`
type coinLookup {
chainDenom: String!
viewDenom: String!
chainToViewConversionFactor: Int!
chainToViewConversionFactor: Float!
}
type Network {
Expand Down

0 comments on commit 509ab7d

Please sign in to comment.