Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
emileadipura authored Feb 15, 2024
2 parents 5eb157d + bfe53e1 commit 4d37028
Show file tree
Hide file tree
Showing 51 changed files with 217 additions and 45 deletions.
18 changes: 18 additions & 0 deletions .github/scripts/validate_json.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import json
import glob

def validate_json(json_file):
try:
json.load(open(json_file, 'r'))
print(f"Valid JSON: {json_file}")
except ValueError as e:
print(f"Invalid JSON: {json_file}")
print(f"Error: {e}")
exit(1)

if __name__ == "__main__":
print("starting json validation")
files = glob.glob('**/*.json', recursive=True)
for file in files:
validate_json(file)
print("after json validation")
39 changes: 39 additions & 0 deletions .github/workflows/json_validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install jsonschema
- name: Validate JSON
run: python .github/scripts/validate_json.py
2 changes: 1 addition & 1 deletion tokens/ASTRO.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
"knownAddresses": []
}
]
}
}
2 changes: 1 addition & 1 deletion tokens/BAD.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
{"address": "neutron1y6s52fuhnqtank3wjfgrkcvcp3t3anw6yj72jtk5alufy6ldwrxsa9nzkj", "alias": "Badcoin Contract"}
],
"ibc": []
}
}
4 changes: 4 additions & 0 deletions tokens/BOY.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"tokenType": "cw20",
"tokenDenom": "null",
"holderContract": "neutron1uqvse8fdrd9tam47f2jhy9m6al6xxtqpc83f9pdnz5gdle4swc0spfnctv",
"network": "NTRN",
"tokenType": "tokenfactory",
"tokenDenom": "neutron1uqvse8fdrd9tam47f2jhy9m6al6xxtqpc83f9pdnz5gdle4swc0spfnctv",
"holderContract": null,
"stakingContract": null,
"exponent": 6,
"description": "meme coins",
Expand Down
2 changes: 1 addition & 1 deletion tokens/BULLS.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/CAPA.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/CIRCUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion tokens/CLUNA.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/CUB.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/DROGO.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/DSR.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
{"address": "neutron1926qqec0y8gw9x43etcxe369njza7vfjy3j0s9wzeh972hpv2mtsdplm00", "alias": "DSR Contract"}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/ECLIP.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/FUZN.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/GEM.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/GINGER.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/GUPPY.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"knownAddresses": []
}
]
}
}
32 changes: 32 additions & 0 deletions tokens/IST.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "IST",
"ticker": "IST",
"network": "BLD",
"tokenType": "native",
"tokenDenom": "uist",
"holderContract": null,
"stakingContract": null,
"exponent": 6,
"description": null,
"logoUrl": "https://assets.coingecko.com/coins/images/28273/standard/Copy_of_07-Inter-Protocol-logo-symbol-color_200x200.png",
"website": "inter.trade",
"twitter": "inter_protocol",
"telegram": null,
"telegram2": null,
"discord": "https://inter.trade/discord",
"coingeckoId": "inter-stable-token",
"status": "active",
"knownAddresses": [],
"ibc": [
{
"network": "OSMO",
"denom": "ibc/92BE0717F4678905E53F4E45B2DED18BC0CB97BF1F8B6A25AFEDF3D5A879B4D5",
"knownAddresses": []
},
{
"network": "UMEE",
"denom": "ibc/BA460328D9ABA27E643A924071FDB3836E4CE8084C6D2380F25EFAB85CF8EB11",
"knownAddresses": []
}
]
}
2 changes: 1 addition & 1 deletion tokens/KATANA.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/LOCAL.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/LunaX.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/MAX.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
34 changes: 34 additions & 0 deletions tokens/MBRN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "Membrane",
"ticker": "MBRN",
"network": "OSMO",
"tokenType": "tokenfactory",
"tokenDenom": "factory/osmo1s794h9rxggytja3a4pmwul53u98k06zy2qtrdvjnfuxruh7s8yjs6cyxgd/umbrn",
"holderContract": null,
"stakerContract": null,
"exponent": 6,
"description": "DAO token for the CDT stablecoin protocol",
"logoUrl": "tokens/membrane.png",
"website": "https://membrane-landing.vercel.app/",
"twitter": "insaneinthembrn",
"telegram": null,
"telegram2": null,
"discord": "https://discord.gg/ksT6cdHpbV",
"coingeckoId": "membrane",
"status": "active",
"knownAddresses": [
{
"address": "osmo1fty83rfxqs86jm5fmlql5e340e8pe0v9j8ez0lcc6zwt2amegwvsfp3gxj",
"alias": "Membrane Staking"
},
{
"address": "osmo1z6hhq4rugh22jeq9lx9py5dxctj2qq3jdrnhfdlr2nhmru4dzfzsejfpdp",
"alias": "MBRN/OSMO Pool 1225"
},
{
"address": "osmo1krxwf5e308jmclyhfd9u92kp369l083wequge6",
"alias": "Osmosis Module Account - Incentives"
}
],
"ibc": []
}
2 changes: 1 addition & 1 deletion tokens/MNTA.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/NEWT.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/NINJA.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/NOBI.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/NSTK.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/ORNE.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/PLNK.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/RETRO.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
{"address": "neutron16r03vq6fydkfessnevj5vcvzx8f68lswd6pjfswgr8ye73s9t6psnazalp", "alias": "Retro Contract"}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/ROAR.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@
"knownAddresses": []
}
]
}
}
21 changes: 21 additions & 0 deletions tokens/SARA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Pulsara",
"ticker": "SARA",
"network": "CORE",
"tokenType": "native",
"tokenDenom": "usara-core1r9gc0rnxnzpq33u82f44aufgdwvyxv4wyepyck98m9v2pxua6naqr8h03z",
"holderContract": null,
"stakingContract": null,
"exponent": 6,
"description": null,
"logoUrl": "https://pbs.twimg.com/profile_images/1742333493474971648/NlLr7-AH_400x400.jpg",
"website": "kujira.app",
"twitter": "pulsara_io",
"telegram": "pulsara_io",
"telegram2": null,
"discord": null,
"coingeckoId": "pulsara",
"status": "active",
"knownAddresses": [],
"ibc": []
}
2 changes: 1 addition & 1 deletion tokens/SAYVE.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/SEAS.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/SEIYAN.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
{"address": "sei1x0f0jyyr55k0xgskg73vxd0zflcx9tgqj3rv4s", "alias": "Seiyan Treasury"}
],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/TPT.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/USK.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/WINK.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
2 changes: 1 addition & 1 deletion tokens/WOSMO.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"status": "active",
"knownAddresses": [],
"ibc": []
}
}
Loading

0 comments on commit 4d37028

Please sign in to comment.