Skip to content

Commit

Permalink
Merge branch 'erd1ezxnz5lywd5zpcnl7x3u74vc60tgjxdnga3s0608gmnx6rsxmwh…
Browse files Browse the repository at this point in the history
…qudsllw-account-1713500810' of https://github.com/elpulpo0/mx-assets into erd1ezxnz5lywd5zpcnl7x3u74vc60tgjxdnga3s0608gmnx6rsxmwhqudsllw-account-1713500810
  • Loading branch information
elpulpo0 committed Apr 19, 2024
2 parents b0c590b + 1fac33c commit 179980a
Show file tree
Hide file tree
Showing 926 changed files with 44,798 additions and 50,724 deletions.
24 changes: 13 additions & 11 deletions .github/snippet.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DIR=""

validate_filenames() {
ADDED_FILES=$@
for file in $ADDED_FILES; do
for file in "$@"; do
echo "Checking filename for $file"
if [[ ${file} != *"/info.json"* && ${file} != *"/logo.png"* && ${file} != *"/logo.svg"* && ${file} != *"accounts/"* && ${file} != *".github/"* && ${file} != *"/ranks.json"* && ${file} != *"README.md"* ]]; then
echo "Filename ${file} isn't expected!"
exit 1
Expand All @@ -13,9 +13,9 @@ validate_filenames() {
}

validate_file_size() {
ADDED_FILES=$@
SIZE_LIMIT=100
for file in $ADDED_FILES; do
for file in "$@"; do
echo "Checking file size for $file"
if [[ ${file} == *"/logo.svg"* || ${file} == *"/logo.svg"* ]]; then
file_size_blocks=$(ls -sh ${file} | grep -o -E '^[0-9]+')
file_size_kb=$(expr ${file_size_blocks} / 2)
Expand All @@ -29,9 +29,8 @@ validate_file_size() {
}

validate_svg_square() {
ADDED_FILES=$@

for file in $ADDED_FILES; do
for file in "$@"; do
echo "Checking if SVG is square for $file"
if [[ ${file} == *"/logo.svg"* ]]; then
view_box=$(cat $file | grep -E " viewBox" | grep -E -o "(([0-9]*\.[0-9]+|[0-9]+) ){3,3}([0-9]*\.[0-9]+|[0-9]+)" | head -1)

Expand All @@ -56,11 +55,14 @@ validate_svg_square() {
}

validate_png_dimensions() {
ADDED_FILES=$@
EXPECTED_PNG_DIMENSIONS="200 x 200"
for file in "$@"; do
echo "Checking PNG dimensions for $file"
logo_in_tokens="*tokens/*/logo.png"
logo_in_identities="*identities/*/logo.png"
png_in_accounts="*accounts/*/*.png"

for file in $ADDED_FILES; do
if [[ ${file} == *"/logo.png"* && (${file} == *"identities/"* || ${file} == *"tokens/"*) ]]; then
if [[ ${file} == ${logo_in_tokens} || ${file} == ${logo_in_identities} || ${file} == ${png_in_accounts} ]]; then
png_dimensions=$(file $file | grep -E -o "[0-9]+ x [0-9]+" | head -1)

echo "PNG dimensions: $png_dimensions"
Expand All @@ -76,7 +78,7 @@ validate_png_dimensions() {
}

validate_token_existence() {
urls=( "https://api.elrond.com/" "https://testnet-api.elrond.com/" "https://devnet-api.elrond.com/")
urls=( "https://api.multiversx.com/" "https://testnet-api.multiversx.com/" "https://devnet-api.multiversx.com/")
for url in ${urls[@]}; do
API_TOKEN_URL="$url"
API_TOKEN_URL+="tokens/"
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,28 @@ jobs:
- uses: actions/checkout@v1
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt install imagemagick-6.q16
shell: bash
- name: Collecting file paths
run: |
echo "FILE_PATHS=$(find ./tokens -type f -name '*info.json' -printf '%p,'| sed 's/,$//' )" >> $GITHUB_ENV
shell: bash
- id: files
name: Validate files
uses: jitterbit/get-changed-files@v1
- run: |
- name: Validate file size
run: |
source .github/snippet.sh ; validate_file_size ${{ steps.files.outputs.added_modified }}
- name: Validate filenames
run: |
source .github/snippet.sh ; validate_filenames ${{ steps.files.outputs.added_modified }}
- name: Validate png dimensions
run: |
source .github/snippet.sh ; validate_png_dimensions ${{ steps.files.outputs.added_modified }}
- name: Validate svg square
run: |
source .github/snippet.sh ; validate_svg_square ${{ steps.files.outputs.added_modified }}
shell: bash
- name: Validate token existence
run: |
source .github/snippet.sh; validate_token_existence
shell: bash
- name: Validate JSON
uses: docker://orrosenblatt/validate-json-action:latest
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Quasar DV: Development Vault",
"description": " The development wallet serves as a crucial entity within our ecosystem, acting as a central hub for managing the resources required for the continuous development and enhancement of our project.",
"social": {
"website": "https://quasar-mvx.com/",
"whitepaper": "https://docs.quasar-mvx.com/",
"twitter": "https://twitter.com/quasar_mvx",
"telegram": "https://t.me/+vufLg36aeSE0Mzg8",
"github": "https://github.com/QuasarMvX"
},
"tags": [
"development",
"vault"
],
"icon": "quasar"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Quasar SN: Strategic Nexus",
"description": "Strategic partnerships, financial management, effective marketing, and strategic advisory are the cornerstones supporting our project.",
"social": {
"website": "https://quasar-mvx.com/",
"whitepaper": "https://docs.quasar-mvx.com/",
"twitter": "https://twitter.com/quasar_mvx",
"telegram": "https://t.me/+vufLg36aeSE0Mzg8",
"github": "https://github.com/QuasarMvX"
},
"tags": [
"financial",
"marketing"
],
"icon": "quasar"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Quasar CC: Control Core",
"description": "The owner address, which holds control over the $QUASAR token smart contracts.",
"social": {
"website": "https://quasar-mvx.com/",
"whitepaper": "https://docs.quasar-mvx.com/",
"twitter": "https://twitter.com/quasar_mvx",
"telegram": "https://t.me/+vufLg36aeSE0Mzg8",
"github": "https://github.com/QuasarMvX"
},
"tags": [
"owner",
"control",
"system",
"deploy"
],
"icon": "quasar"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "UNSTPB: Blockchain Protocol and Distributed Applications",
"website": "https://cs-pub-ro.github.io/blockchain-protocols-and-distributed-applications/",
"tags": [
"UNSTPB",
"Blockchain Course",
"Bucharest",
"POLITEHNICA Bucharest"
],
"icon": "unstpb"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Quasar RFFT: Reserve Funds & Future listings",
"description": "The funds in this portfolio are strategically managed to ensure adequate reserves for unforeseen events and to support our growth and innovation initiatives.",
"social": {
"website": "https://quasar-mvx.com/",
"whitepaper": "https://docs.quasar-mvx.com/",
"twitter": "https://twitter.com/quasar_mvx",
"telegram": "https://t.me/+vufLg36aeSE0Mzg8",
"github": "https://github.com/QuasarMvX"
},
"tags": [
"reserve",
"listings"
],
"icon": "quasar"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Quasar LCV: Liquid Control Vault",
"description": "This specialized address facilitates the availability of funds required for trading and contributes to the enhancement of $QUASAR token liquidity.",
"social": {
"website": "https://quasar-mvx.com/",
"whitepaper": "https://docs.quasar-mvx.com/",
"twitter": "https://twitter.com/quasar_mvx",
"telegram": "https://t.me/+vufLg36aeSE0Mzg8",
"github": "https://github.com/QuasarMvX"
},
"tags": [
"liquidity",
"vault"
],
"icon": "quasar"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Demiourgos Vesting Maker SC",
"description": "The DH™ Vesting Maker SC is the SC responsible for the making of Vested Ouroboros, Vested Auryn and Vested Elite-Auryn Tokens using inputs of either Ouroboros, Auryn or Elite-Auryn, as well as their transmission to a specified target Address on MultiversX™.",
"social": {
"website": "https://vestax.finance",
"email": "pa.arion@gmail.com",
"twitter": "https://www.twitter.com/DemiourgosH",
"telegram": "https://t.me/DemiourgosCommunity",
"discord": "https://discord.gg/GKKAmPKKNe"
},
"tags": ["vestax", "liquidstaking", "vegld"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "AshSwap: AshPerp Vault",
"description": "",
"tags": ["ashswap", "ashperp", "perpeptual"],
"icon": "ashperp"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "ARTmania Converted Edition",
"description": "Convert your 3 day festival pass to this NFT Converted Edition and get acces to the new ARTmania Blockchain World",
"website": "",
"social": {
"blog": "",
"twitter": ""
},
"tags": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "AshSwap: AshPerp Trading",
"description": "",
"tags": ["ashswap", "ashperp", "perpeptual"],
"icon": "ashperp"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "ARTmania Tech&Tour Edition",
"description": "Convert any festival pass to this NFT Tech&Tour Edition and win a special City Tour or enjoy other surprises and perks.",
"website": "",
"social": {
"blog": "",
"twitter": ""
},
"tags": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "PeerMe: EGincentivesDAO",
"description": "Behind the scenes of EG",
"social": {
"website": "https://peerme.io",
"email": "hello@peerme.io",
"twitter": "https://twitter.com/PeerMeHQ",
"coingecko": "https://www.coingecko.com/en/coins/peerme-super",
"coinmarketcap": "https://coinmarketcap.com/currencies/superciety",
"discord": "https://discord.peerme.io",
"telegram": "https://telegram.peerme.io",
"youtube": "https://www.youtube.com/@peerme",
"github": "https://github.com/PeerMeHQ",
"community": "https://egld.community/projects/PeerMe"
},
"tags": [
"peerme",
"dao",
"governance"
],
"icon": "peerme"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Hatom: swTAO Interest Rate model",
"description": "Hatom's swTAO Lending & Borrowing Protocol Interest Rate Model",
"social": {
"website": "https://hatom.com",
"discord": "https://discord.com/invite/WekwfUDXGp",
"github": "https://github.com/HatomProtocol",
"blog": "https://mirror.xyz/0xDac8B6141d28C46765255607f3572c73A064383f",
"telegram": "https://t.me/HatomProtocol",
"twitter": "https://twitter.com/HatomProtocol",
"whitepaper": "https://docs.hatom.com/getting-started/learn-more-about-hatom-token/whitepaper",
"linkedin": "https://www.linkedin.com/company/hatomlabs"
},
"tags": ["hatom", "money-market", "lending", "borrowing", "interest-rate"],
"icon": "hatom-lending"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "AshSwap: AshPerp NFT Minter",
"description": "",
"tags": ["ashswap", "ashperp", "perpeptual"],
"icon": "ashperp"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "PeerMe: Comet DAO",
"description": "Riding the green comet together",
"social": {
"website": "https://peerme.io",
"email": "hello@peerme.io",
"twitter": "https://twitter.com/PeerMeHQ",
"coingecko": "https://www.coingecko.com/en/coins/peerme-super",
"coinmarketcap": "https://coinmarketcap.com/currencies/superciety",
"discord": "https://discord.peerme.io",
"telegram": "https://telegram.peerme.io",
"youtube": "https://www.youtube.com/@peerme",
"github": "https://github.com/PeerMeHQ",
"community": "https://egld.community/projects/PeerMe"
},
"tags": [
"peerme",
"dao",
"governance"
],
"icon": "peerme"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "PeerMe: MEME Revolution DAO",
"description": "The DAO for the MEME Revolution on MultiversX\u2122",
"social": {
"website": "https://peerme.io",
"email": "hello@peerme.io",
"twitter": "https://twitter.com/PeerMeHQ",
"coingecko": "https://www.coingecko.com/en/coins/peerme-super",
"coinmarketcap": "https://coinmarketcap.com/currencies/superciety",
"discord": "https://discord.peerme.io",
"telegram": "https://telegram.peerme.io",
"youtube": "https://www.youtube.com/@peerme",
"github": "https://github.com/PeerMeHQ",
"community": "https://egld.community/projects/PeerMe"
},
"tags": [
"peerme",
"dao",
"governance",
"midas"
],
"icon": "peerme"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "AshSwap: AshPerp Pairs",
"description": "",
"tags": ["ashswap", "ashperp", "perpeptual"],
"icon": "ashperp"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "PeerMe: Uniplay",
"description": "Uniplay DAO, a Decentralized Gaming Ecosystem",
"social": {
"website": "https://peerme.io",
"email": "hello@peerme.io",
"twitter": "https://twitter.com/PeerMeHQ",
"coingecko": "https://www.coingecko.com/en/coins/peerme-super",
"coinmarketcap": "https://coinmarketcap.com/currencies/superciety",
"discord": "https://discord.peerme.io",
"telegram": "https://telegram.peerme.io",
"youtube": "https://www.youtube.com/@peerme",
"github": "https://github.com/PeerMeHQ",
"community": "https://egld.community/projects/PeerMe"
},
"tags": [
"peerme",
"dao",
"governance",
"midas"
],
"icon": "peerme"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Hatom: TAO Lendegate/Unlendegate Strategy",
"description": "Hatom's TAO Lendegate/Unlendegate Investment Strategy",
"social": {
"website": "https://hatom.com",
"discord": "https://discord.com/invite/WekwfUDXGp",
"github": "https://github.com/HatomProtocol",
"blog": "https://mirror.xyz/0xDac8B6141d28C46765255607f3572c73A064383f",
"telegram": "https://t.me/HatomProtocol",
"twitter": "https://twitter.com/HatomProtocol",
"whitepaper": "https://docs.hatom.com/getting-started/learn-more-about-hatom-token/whitepaper",
"linkedin": "https://www.linkedin.com/company/hatomlabs"
},
"tags": ["hatom", "tao", "liquid", "staking", "lending"],
"icon": "hatom"
}
Loading

0 comments on commit 179980a

Please sign in to comment.