Skip to content

Commit

Permalink
chore: reformat code and add editorconfig
Browse files Browse the repository at this point in the history
zakarialounes committed Jul 11, 2024
1 parent aad9468 commit 4ad9a87
Showing 47 changed files with 238 additions and 71 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -208,7 +208,9 @@ Required only for assets that's not in the Cosmos Chain Registry.
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "akash-network",
"chainInfo": {
"cosmosSdkVersion": "0.45.16",
67 changes: 47 additions & 20 deletions chains/chain.schema.json
Original file line number Diff line number Diff line change
@@ -32,7 +32,9 @@
"properties": {
"$schema": {
"type": "string",
"enum": ["../../chain.schema.json"]
"enum": [
"../../chain.schema.json"
]
},
"name": {
"type": "string"
@@ -87,15 +89,21 @@
"items": {
"type": "string",
"enum": [
"ibc-transfer", "ibc-go",
"cosmwasm", "wasmd_0.24+",
"eth-address-gen", "eth-key-sign",
"ibc-transfer",
"ibc-go",
"cosmwasm",
"wasmd_0.24+",
"eth-address-gen",
"eth-key-sign",
"secretwasm"
]
}
},
"coinGeckoId": {
"type": ["string", "null"]
"type": [
"string",
"null"
]
},
"assets": {
"$ref": "#/$defs/assets"
@@ -158,7 +166,10 @@
"type": "string"
},
"coingecko_id": {
"type": ["string", "null"]
"type": [
"string",
"null"
]
},
"denom_units": {
"type": "array"
@@ -180,16 +191,24 @@
}
},
"required": [
"base", "coingecko_id", "denom_units",
"description", "display", "logo_URIs",
"name", "symbol"
"base",
"coingecko_id",
"denom_units",
"description",
"display",
"logo_URIs",
"name",
"symbol"
],
"additionalProperties": false
}
},
"chainInfo": {
"type": "object",
"required": ["cosmosSdkVersion", "ibcGoVersion"],
"required": [
"cosmosSdkVersion",
"ibcGoVersion"
],
"properties": {
"cosmosSdkVersion": {
"$ref": "#/$defs/semver"
@@ -219,7 +238,6 @@
"description": "Primary color for dark theme.",
"type": "string"
},

"lighterOnLight": {
"description": "Lighter color than the primary one and for light theme.",
"type": "string"
@@ -228,7 +246,6 @@
"description": "Lighter color than the primary one and for dark theme.",
"type": "string"
},

"darkerOnLight": {
"description": "Darker color than the primary one and for light theme.",
"type": "string"
@@ -254,9 +271,9 @@
},
"image": {
"type": "object",
"oneOf" : [
"oneOf": [
{
"type" : "object",
"type": "object",
"properties": {
"url": {
"$ref": "#/$defs/url"
@@ -265,7 +282,7 @@
"additionalProperties": false
},
{
"type" : "object",
"type": "object",
"properties": {
"svg": {
"type": "string"
@@ -274,7 +291,7 @@
"additionalProperties": false
},
{
"type" : "object",
"type": "object",
"properties": {
"svgImg": {
"type": "string"
@@ -283,7 +300,7 @@
"additionalProperties": false
},
{
"type" : "object",
"type": "object",
"properties": {
"font": {
"type": "string"
@@ -295,7 +312,11 @@
},
"link": {
"type": "object",
"required": ["url", "title", "icon"],
"required": [
"url",
"title",
"icon"
],
"properties": {
"url": {
"$ref": "#/$defs/url"
@@ -311,7 +332,11 @@
},
"childLinks": {
"type": "object",
"required": ["title", "icon", "children"],
"required": [
"title",
"icon",
"children"
],
"properties": {
"title": {
"type": "string"
@@ -348,7 +373,9 @@
},
"isModuleEnabled": {
"type": "object",
"required": ["governance"],
"required": [
"governance"
],
"properties": {
"governance": {
"type": "boolean"
4 changes: 3 additions & 1 deletion chains/mainnets/akash/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "akash-network",
"chainInfo": {
"cosmosSdkVersion": "0.45.16",
7 changes: 6 additions & 1 deletion chains/mainnets/archway/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,12 @@
"high": 0.000002
},
"coinDecimals": 18,
"features": ["ibc-transfer", "ibc-go", "cosmwasm", "wasmd_0.24+"],
"features": [
"ibc-transfer",
"ibc-go",
"cosmwasm",
"wasmd_0.24+"
],
"coinGeckoId": "archway",
"assets": [
{
4 changes: 3 additions & 1 deletion chains/mainnets/assetmantle/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@
"high": 0
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "assetmantle",
"chainInfo": {
"cosmosSdkVersion": "0.45.16",
7 changes: 6 additions & 1 deletion chains/mainnets/bitcanna/chain.json
Original file line number Diff line number Diff line change
@@ -19,7 +19,12 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer", "ibc-go", "cosmwasm", "wasmd_0.24+"],
"features": [
"ibc-transfer",
"ibc-go",
"cosmwasm",
"wasmd_0.24+"
],
"coinGeckoId": "bitcanna",
"chainInfo": {
"cosmosSdkVersion": "0.47.11",
7 changes: 6 additions & 1 deletion chains/mainnets/bitsong/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,12 @@
"high": 0.015
},
"coinDecimals": 6,
"features": ["ibc-transfer", "ibc-go", "cosmwasm", "wasmd_0.24+"],
"features": [
"ibc-transfer",
"ibc-go",
"cosmwasm",
"wasmd_0.24+"
],
"coinGeckoId": "bitsong",
"chainInfo": {
"cosmosSdkVersion": "0.45.16",
4 changes: 3 additions & 1 deletion chains/mainnets/cheqd/chain.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,9 @@
},
"gasModifier": 1.4,
"coinDecimals": 9,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "cheqd-network",
"chainInfo": {
"cosmosSdkVersion": "0.47.10",
6 changes: 5 additions & 1 deletion chains/mainnets/comdex/chain.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,11 @@
},
"gasModifier": 1.5,
"coinDecimals": 6,
"features": ["ibc-transfer", "ibc-go", "cosmwasm"],
"features": [
"ibc-transfer",
"ibc-go",
"cosmwasm"
],
"coinGeckoId": "comdex",
"chainInfo": {
"cosmosSdkVersion": "0.47.5",
5 changes: 4 additions & 1 deletion chains/mainnets/cosmoshub/chain.json
Original file line number Diff line number Diff line change
@@ -22,7 +22,10 @@
},
"gasModifier": 1.8,
"coinDecimals": 6,
"features": ["ibc-transfer", "ibc-go"],
"features": [
"ibc-transfer",
"ibc-go"
],
"coinGeckoId": "cosmos",
"chainInfo": {
"cosmosSdkVersion": "0.47.13",
4 changes: 3 additions & 1 deletion chains/mainnets/desmos/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "desmos",
"chainInfo": {
"cosmosSdkVersion": "0.47.10",
4 changes: 3 additions & 1 deletion chains/mainnets/dhealth/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "dhealth",
"chainInfo": {
"cosmosSdkVersion": "0.47.4",
4 changes: 3 additions & 1 deletion chains/mainnets/emoney/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "e-money",
"chainInfo": {
"cosmosSdkVersion": "0.42.11",
7 changes: 6 additions & 1 deletion chains/mainnets/evmos/chain.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,12 @@
},
"gasModifier": 2,
"coinDecimals": 18,
"features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"],
"features": [
"ibc-transfer",
"ibc-go",
"eth-address-gen",
"eth-key-sign"
],
"coinGeckoId": "evmos",
"chainInfo": {
"cosmosSdkVersion": "0.47.8",
5 changes: 4 additions & 1 deletion chains/mainnets/firmachain/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,10 @@
"high": 0.01
},
"coinDecimals": 6,
"features": ["ibc-transfer", "cosmwasm"],
"features": [
"ibc-transfer",
"cosmwasm"
],
"coinGeckoId": "firmachain",
"chainInfo": {
"cosmosSdkVersion": "0.45.9",
4 changes: 3 additions & 1 deletion chains/mainnets/impacthub/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer"],
"features": [
"ibc-transfer"
],
"coinGeckoId": "ixo",
"chainInfo": {
"cosmosSdkVersion": "0.45.16",
7 changes: 6 additions & 1 deletion chains/mainnets/juno/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,12 @@
},
"gasModifier": 1.8,
"coinDecimals": 6,
"features": ["ibc-transfer", "ibc-go", "cosmwasm", "wasmd_0.24+"],
"features": [
"ibc-transfer",
"ibc-go",
"cosmwasm",
"wasmd_0.24+"
],
"coinGeckoId": "juno-network",
"chainInfo": {
"cosmosSdkVersion": "0.47.11",
5 changes: 4 additions & 1 deletion chains/mainnets/kichain/chain.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,10 @@
"high": 0.025
},
"coinDecimals": 6,
"features": ["ibc-transfer", "cosmwasm"],
"features": [
"ibc-transfer",
"cosmwasm"
],
"coinGeckoId": "ki",
"chainInfo": {
"cosmosSdkVersion": "0.45.12",
Loading

0 comments on commit 4ad9a87

Please sign in to comment.