Skip to content

Commit

Permalink
Update logic fetch data - throw error on failed
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Mar 19, 2024
1 parent 5d51e4a commit 495eb8a
Show file tree
Hide file tree
Showing 33 changed files with 15,151 additions and 15,164 deletions.
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 27 additions & 41 deletions data/earning/targets/AMPE___native_staking___amplitude.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
},
{
"address": "6ic56zZmjqo746yifWzcNxxzxLe3pRo8WNitotniUQvgKnyU",
"totalStake": "295475136000000000",
"totalStake": "745867136000000000",
"ownStake": "10000000000000000",
"otherStake": "285475136000000000",
"otherStake": "735867136000000000",
"nominatorCount": 10,
"commission": 0,
"expectedReturn": 9,
Expand All @@ -29,9 +29,9 @@
},
{
"address": "6iYgyiQ9Az8d3rskyhmJ28n5PpsKMF4e1X9kuBFTNn2DUDMB",
"totalStake": "14932920172000000",
"totalStake": "12991460086000000",
"ownStake": "10000000000000000",
"otherStake": "4932920172000000",
"otherStake": "2991460086000000",
"nominatorCount": 2,
"commission": 0,
"expectedReturn": 9,
Expand All @@ -57,9 +57,9 @@
},
{
"address": "6mTATq7Ug9RPk4s8aMv5H7WVZ7RvwrJ1JitbYMXWPhanzqiv",
"totalStake": "152683774980019661",
"totalStake": "112722774980019661",
"ownStake": "10000000000000000",
"otherStake": "142683774980019661",
"otherStake": "102722774980019661",
"nominatorCount": 22,
"commission": 0,
"expectedReturn": 9,
Expand All @@ -71,9 +71,9 @@
},
{
"address": "6n8WiWqjEB8nCNRo5mxXc89FqhuMd2dgXNSrzuPxoZSnatnL",
"totalStake": "511731305300024661",
"totalStake": "712518205300024661",
"ownStake": "10000000000000000",
"otherStake": "501731305300024661",
"otherStake": "702518205300024661",
"nominatorCount": 9,
"commission": 0,
"expectedReturn": 9,
Expand All @@ -85,10 +85,10 @@
},
{
"address": "6jxCB3aV8ATVZcbtkZagMDWtE6JGu6tDKgGaaA6iiWeAbqz6",
"totalStake": "708945000000000000",
"totalStake": "1865065000000000000",
"ownStake": "10000000000000000",
"otherStake": "698945000000000000",
"nominatorCount": 5,
"otherStake": "1855065000000000000",
"nominatorCount": 6,
"commission": 0,
"expectedReturn": 9,
"blocked": false,
Expand All @@ -113,10 +113,10 @@
},
{
"address": "6mMRjwzxpWTv391Vm5npN6X7pgNHWMfbNE4jkaAoAJUftnTx",
"totalStake": "698743236300000000",
"totalStake": "799902236300000000",
"ownStake": "10000000000000000",
"otherStake": "688743236300000000",
"nominatorCount": 16,
"otherStake": "789902236300000000",
"nominatorCount": 17,
"commission": 0,
"expectedReturn": 9,
"blocked": false,
Expand All @@ -127,10 +127,10 @@
},
{
"address": "6hoJBKJT2eaaEQndyVZJmZVAQXHj2muR2j7b2W6FrCgMDn59",
"totalStake": "89846000000000000",
"totalStake": "88721004962687000",
"ownStake": "10100000000000000",
"otherStake": "79746000000000000",
"nominatorCount": 6,
"otherStake": "78621004962687000",
"nominatorCount": 7,
"commission": 0,
"expectedReturn": 9,
"blocked": false,
Expand All @@ -141,9 +141,9 @@
},
{
"address": "6j1tsRnViGZXRwqWV1h8iYNAXmMArYb6iP24dN1rr1kyAZbn",
"totalStake": "2563216180900000000",
"totalStake": "2565185634525000000",
"ownStake": "10000000000000000",
"otherStake": "2553216180900000000",
"otherStake": "2555185634525000000",
"nominatorCount": 38,
"commission": 0,
"expectedReturn": 9,
Expand All @@ -155,10 +155,10 @@
},
{
"address": "6gtrafCKPwqqvdmaSxMn4BSJaeYNgNFLP1xtrx3nsukhoTXG",
"totalStake": "72567000000000000",
"totalStake": "78467000000000000",
"ownStake": "72567000000000000",
"otherStake": "0",
"nominatorCount": 0,
"otherStake": "5900000000000000",
"nominatorCount": 1,
"commission": 0,
"expectedReturn": 9,
"blocked": false,
Expand All @@ -169,10 +169,10 @@
},
{
"address": "6ijhCuJRZot2HJwzUekTB24mx97Ausi9kBkB5e3aF1G3pgF5",
"totalStake": "607470958600000190",
"totalStake": "915258968600000190",
"ownStake": "5000000000000000",
"otherStake": "602470958600000190",
"nominatorCount": 18,
"otherStake": "910258968600000190",
"nominatorCount": 19,
"commission": 0,
"expectedReturn": 9,
"blocked": false,
Expand All @@ -197,9 +197,9 @@
},
{
"address": "6gvFApEyYj4EavJP26mwbVu7YxFBYZ9gaJFB7gv5gA6vNfze",
"totalStake": "484325675990000000",
"totalStake": "486394356638000000",
"ownStake": "10000000000000000",
"otherStake": "474325675990000000",
"otherStake": "476394356638000000",
"nominatorCount": 7,
"commission": 0,
"expectedReturn": 9,
Expand All @@ -208,19 +208,5 @@
"minBond": "0",
"chain": "amplitude",
"isCrowded": false
},
{
"address": "6ixX5DVN6vEMjjPN5sY3g3xphG8cD5yySVggDfKBPAVNUcGv",
"totalStake": "1997494710000000066",
"ownStake": "10000000000000000",
"otherStake": "1987494710000000066",
"nominatorCount": 12,
"commission": 0,
"expectedReturn": 9,
"blocked": false,
"isVerified": false,
"minBond": "0",
"chain": "amplitude",
"isCrowded": false
}
]
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[
{
"address": "6hc8g1BgsRW65CUKZgxFjf44EQc2XpeBVXytWtGqgXgfwBM9",
"totalStake": "10061000000000000",
"totalStake": "10085000000000000",
"ownStake": "10000000000000000",
"otherStake": "61000000000000",
"otherStake": "85000000000000",
"nominatorCount": 2,
"commission": 0,
"expectedReturn": 9,
Expand Down
18 changes: 17 additions & 1 deletion data/earning/targets/ASTR___native_staking___astar.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"blocked": false,
"isVerified": false,
"minBond": "0",
"icon": "https://storage.googleapis.com/astarnetwork-a4924.appspot.com/astar-dapps%2F0x95f506E72777efCB3C54878bB4160b00Cd11cd84_astarexchange.png",
"icon": "https://storage.googleapis.com/astarnetwork-a4924.appspot.com/astar-dapps%2F0x95f506E72777efCB3C54878bB4160b00Cd11cd84_asx%20logo%20square.png",
"identity": "Astar Exchange",
"chain": "astar",
"isCrowded": false
Expand Down Expand Up @@ -351,6 +351,22 @@
"chain": "astar",
"isCrowded": false
},
{
"commission": 0,
"expectedReturn": 0,
"address": "0xfbc8cc3a9078037efe8531e9236dc6d6234da118",
"totalStake": "0",
"ownStake": "0",
"otherStake": "0",
"nominatorCount": 0,
"blocked": false,
"isVerified": false,
"minBond": "0",
"icon": "https://storage.googleapis.com/astarnetwork-a4924.appspot.com/astar-dapps%2F0xfbc8cc3a9078037efe8531e9236dc6d6234da118_Logo.png",
"identity": "Bandit Network - The Growth Tookit for Web3",
"chain": "astar",
"isCrowded": false
},
{
"commission": 0,
"expectedReturn": 0,
Expand Down
88 changes: 44 additions & 44 deletions data/earning/targets/AVL___native_staking___goldberg_testnet.json
Original file line number Diff line number Diff line change
@@ -1,107 +1,107 @@
[
{
"address": "5GsPUZ4evDtgCzugn8N4EKC79r9xaXUoZpkDKxoL4u83u8p2",
"totalStake": "91427269777366541367536",
"ownStake": "77517460843200430010552",
"otherStake": "13909808934166111356984",
"nominatorCount": 599,
"totalStake": "97696865921229541240736",
"ownStake": "82308931521100651246516",
"otherStake": "15387934400128889994220",
"nominatorCount": 624,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": true,
"eraRewardPoint": "176200",
"eraRewardPoint": "176760",
"topQuartile": true
},
{
"address": "5FHVuL3oV82Phxytsru1kjPk5aXmNTKuuPMk3jLuCh8KmvGh",
"totalStake": "91427891441218173212096",
"ownStake": "79876207230695835949528",
"otherStake": "11551684210522337262568",
"nominatorCount": 297,
"totalStake": "97696207395978391983860",
"ownStake": "85706456046537111159416",
"otherStake": "11989751349441280824444",
"nominatorCount": 314,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": true,
"eraRewardPoint": "169540",
"topQuartile": false
"eraRewardPoint": "170600",
"topQuartile": true
},
{
"address": "5GecVbjDdEL4Q1TNztpewVwG8crfchFJtnbphQYrUApv5PYV",
"totalStake": "91427265354909321927672",
"ownStake": "83468943552128171778488",
"otherStake": "7958321802781150149184",
"nominatorCount": 332,
"totalStake": "97696215308945631226058",
"ownStake": "89531791367195298045288",
"otherStake": "8164423941750333180770",
"nominatorCount": 340,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": true,
"eraRewardPoint": "175500",
"eraRewardPoint": "174660",
"topQuartile": true
},
{
"address": "5FPE7yUQzQ7SkKN2R4LUp85cz8HjUAqWHvxtLxQgGnKhXWP5",
"totalStake": "91427621424803429114360",
"ownStake": "79923554959633475989448",
"otherStake": "11504066465169953124912",
"nominatorCount": 162,
"totalStake": "97696844839657727213494",
"ownStake": "85574221241553074614892",
"otherStake": "12122623598104652598602",
"nominatorCount": 166,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": false,
"eraRewardPoint": "169860",
"eraRewardPoint": "168020",
"topQuartile": false
},
{
"address": "5GKaoJf8nA9TX9JhzchyBujsTZEHhV69n5ZHr79wqyRP69Qa",
"totalStake": "91426979195218223582432",
"ownStake": "76040277879771984107912",
"otherStake": "15386701315446239474520",
"nominatorCount": 66,
"totalStake": "97696043338618718706776",
"ownStake": "81752317167444002813860",
"otherStake": "15943726171174715892916",
"nominatorCount": 64,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": false,
"eraRewardPoint": "176500",
"eraRewardPoint": "177020",
"topQuartile": true
},
{
"address": "5GsgTh96pRwnixVjJ1qPRKb5Y18qHej36jVFR1HNdvA7B9sy",
"totalStake": "91427888835033628419960",
"ownStake": "81853470798834004788848",
"otherStake": "9574418036199623631112",
"nominatorCount": 22,
"totalStake": "97695748301450559812552",
"ownStake": "87747603847175707124032",
"otherStake": "9948144454274852688520",
"nominatorCount": 28,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": false,
"eraRewardPoint": "167240",
"eraRewardPoint": "168040",
"topQuartile": false
},
{
"address": "5EpmLpPmd8tMCeMjVEMsd4YqbFjhXEixEcAGQWBSVr4J6iY8",
"totalStake": "91427370089574740721456",
"ownStake": "81066094237655346883624",
"otherStake": "10361275851919393837832",
"nominatorCount": 95,
"totalStake": "97696220303560185706826",
"ownStake": "86833944529539810073576",
"otherStake": "10862275774020375633250",
"nominatorCount": 101,
"commission": 1,
"expectedReturn": 538.559804130729,
"expectedReturn": 499.3788707659335,
"blocked": false,
"isVerified": false,
"minBond": "0",
"isCrowded": false,
"eraRewardPoint": "169920",
"topQuartile": true
"eraRewardPoint": "170420",
"topQuartile": false
}
]
Loading

0 comments on commit 495eb8a

Please sign in to comment.