@sonarwatch/portfolio-plugins 0.11.155 → 0.11.157

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/CHANGELOG.md +1351 -1343
  2. package/README.md +3 -3
  3. package/package.json +3 -3
  4. package/src/index.js +4 -0
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/balancer/helpers/pools.js +21 -21
  7. package/src/plugins/marinade/index.js +1 -2
  8. package/src/plugins/marinade/index.js.map +1 -1
  9. package/src/plugins/marinade/rewardsS1Fetcher.js +24 -15
  10. package/src/plugins/marinade/rewardsS1Fetcher.js.map +1 -1
  11. package/src/plugins/meteora/index.js +2 -1
  12. package/src/plugins/meteora/index.js.map +1 -1
  13. package/src/plugins/meteora/multiTokenPools.json +139 -0
  14. package/src/plugins/meteora/multiTokenPoolsJob.d.ts +3 -0
  15. package/src/plugins/meteora/multiTokenPoolsJob.js +76 -0
  16. package/src/plugins/meteora/multiTokenPoolsJob.js.map +1 -0
  17. package/src/plugins/meteora/poolsJob.js +8 -86
  18. package/src/plugins/meteora/poolsJob.js.map +1 -1
  19. package/src/plugins/meteora/vaultsJob.js +7 -8
  20. package/src/plugins/meteora/vaultsJob.js.map +1 -1
  21. package/src/plugins/suilend/obligationsFetcher.js +1 -1
  22. package/src/plugins/suilend/obligationsFetcher.js.map +1 -1
  23. package/src/plugins/sushiswap/helpers.js +24 -24
  24. package/src/plugins/thala/constants.d.ts +3 -3
  25. package/src/plugins/thala/constants.js.map +1 -1
  26. package/src/plugins/tulip/lendingTokensJob.js +1 -9
  27. package/src/plugins/tulip/lendingTokensJob.js.map +1 -1
  28. package/src/plugins/tulip/strategyTokensJob.js +1 -9
  29. package/src/plugins/tulip/strategyTokensJob.js.map +1 -1
  30. package/src/plugins/uniswap-v2/helpers.js +22 -22
  31. package/src/plugins/uxd/constants.d.ts +9 -0
  32. package/src/plugins/uxd/constants.js +22 -0
  33. package/src/plugins/uxd/constants.js.map +1 -0
  34. package/src/plugins/uxd/filters.d.ts +6 -0
  35. package/src/plugins/uxd/filters.js +13 -0
  36. package/src/plugins/uxd/filters.js.map +1 -0
  37. package/src/plugins/uxd/index.d.ts +6 -0
  38. package/src/plugins/uxd/index.js +12 -0
  39. package/src/plugins/uxd/index.js.map +1 -0
  40. package/src/plugins/uxd/stakingFetcher.d.ts +3 -0
  41. package/src/plugins/uxd/stakingFetcher.js +60 -0
  42. package/src/plugins/uxd/stakingFetcher.js.map +1 -0
  43. package/src/plugins/uxd/structs.d.ts +16 -0
  44. package/src/plugins/uxd/structs.js +17 -0
  45. package/src/plugins/uxd/structs.js.map +1 -0
  46. package/src/utils/aptos/getView.d.ts +2 -2
  47. package/src/utils/aptos/getView.js.map +1 -1
  48. package/src/utils/sei/constants.js +8 -8
  49. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  50. package/src/plugins/meteora/pools.d.ts +0 -5
  51. package/src/plugins/meteora/pools.js +0 -143
  52. package/src/plugins/meteora/pools.js.map +0 -1
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.poolQueryMsg = exports.minterQueryMsg = exports.tokenInfoQueryMsg = exports.infoQueryMsg = void 0;
4
- exports.infoQueryMsg = JSON.parse(`{
5
- "info": {}
4
+ exports.infoQueryMsg = JSON.parse(`{
5
+ "info": {}
6
6
  }`);
7
- exports.tokenInfoQueryMsg = JSON.parse(`{
8
- "token_info": {}
7
+ exports.tokenInfoQueryMsg = JSON.parse(`{
8
+ "token_info": {}
9
9
  }`);
10
- exports.minterQueryMsg = JSON.parse(`{
11
- "minter": {}
10
+ exports.minterQueryMsg = JSON.parse(`{
11
+ "minter": {}
12
12
  }`);
13
- exports.poolQueryMsg = JSON.parse(`{
14
- "pool": {}
13
+ exports.poolQueryMsg = JSON.parse(`{
14
+ "pool": {}
15
15
  }`);
16
16
  //# sourceMappingURL=constants.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  function getQueryBalanceByOwner(owner) {
4
- return JSON.parse(`{
5
- "balance": {
6
- "address": "${owner}"
7
- }
4
+ return JSON.parse(`{
5
+ "balance": {
6
+ "address": "${owner}"
7
+ }
8
8
  }`);
9
9
  }
10
10
  exports.default = getQueryBalanceByOwner;
@@ -1,5 +0,0 @@
1
- export declare const pools: {
2
- symbol: string;
3
- address: string;
4
- reserveAccounts: string[];
5
- }[];
@@ -1,143 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pools = void 0;
4
- exports.pools = [
5
- {
6
- symbol: 'PAI-3Pool',
7
- address: '9s6dXtMgV5E6v3rHqBF2LejHcA2GWoZb7xNUkgXgsBqt',
8
- reserveAccounts: [
9
- 'J7xkQZ4eCsyHR7XDMcGbHeiFZo6vXPmQC2Va8aqo8jLx',
10
- 'bqPxs71QGXNW2SXEvjAaBgLzjhSZfQpmhcVBYoisBo6',
11
- 'EpehbDhGq8xEc3Yy5nJ2dgY2zWRHaRsbUiMTgh36N8J7',
12
- ],
13
- },
14
- {
15
- symbol: 'UST-3Pool', // Not active anymore
16
- address: '57h4LEnBooHrKbacYWGCFghmrTzYPVn8PwZkzTzRLvHa',
17
- reserveAccounts: [
18
- 'Go93HBNLMK6QnSHyZTViAoti9GCmSRhkeZMiVoJmcrud',
19
- '2uZVPMdS8VFwMEZjZNzP1f78m1zaqvT3R2JwMs1w9fU3',
20
- '5nazSj6MfaEeuAoQezMG3raWuZiyFjE7fmURUgDeP8cF',
21
- ],
22
- },
23
- {
24
- symbol: 'pSOL-SOL',
25
- address: 'GHhDU9Y7HM37v6cQyaie1A3aZdfpCDp6ScJ5zZn2c3uk',
26
- reserveAccounts: [
27
- '9odMAiRbk5aDEbFWeYrsLZAS54C7XdBUv63t4oMRcWkM',
28
- '9AnyD3bAeTsFvFPjYj12FMaDERBHX3vNKuuHJqZsKH6D',
29
- ],
30
- },
31
- {
32
- symbol: 'wUSD-4Pool',
33
- address: 'DSmqf5Je3FEUmZntxBzG7c7EYJN3WK3feBV5Zgidukjj',
34
- reserveAccounts: [
35
- '54q2ct7kTknGvADuHSXjtnKqMbmNQ4xpDVK2xgcnh1xv',
36
- '5cvqiPREvEYmhvBt3cZ7fmrCE6tbYvwkAiuvf1pHUPBq',
37
- '9gVstb8HkuYX8PqjLSc9b9zLMhFZwWX7k3ofLcWy7wyS',
38
- 'HLdcfovcXkHKm4iQWNQZhJypySmuGa1PGoTuB6L68hhZ',
39
- ],
40
- },
41
- {
42
- symbol: 'stSOL-2Pool',
43
- address: '4q19vhpG6y4ZeMPLQiUNNaJStb8XivCFQy4m4mdnVnQZ',
44
- reserveAccounts: [
45
- '9gizzFG33czvcTzn5N4V23uunV6YR55UNW8ow6qNPoX3',
46
- 'FqLtqRJvoVNYU5Xpcgp5FNPv8cXCZw7CiNddjQ4nqkRo',
47
- ],
48
- },
49
- {
50
- symbol: 'mSOL-2Pool',
51
- address: '7HqhfUqig7kekN8FbJCtQ36VgdXKriZWQ62rTve9ZmQ',
52
- reserveAccounts: [
53
- 'EWy2hPdVT4uGrYokx65nAyn2GFBv7bUYA2pFPY96pw7Y',
54
- 'GM48qFn8rnqhyNMrBHyPJgUVwXQ1JvMbcu3b9zkThW9L',
55
- ],
56
- },
57
- {
58
- symbol: 'wbBUSD-4Pool',
59
- address: 'FcjViE1oVbXFza5ry9Q7WZ9XNd95zu1LqEiSUdeJMPTP',
60
- reserveAccounts: [
61
- '2FRWh8BZfpeuh8Pmg7ezHvBezW8yiEGG6Fy8pCnHVyq1',
62
- '8m5D8rtDdP67qZyZTXwLozVCsXJMcSiXnroWoRn9GZga',
63
- '3CF2cmVJxnWKt4J4u5tzsNSYVcSvmWqbbb4iJMEmzSRr',
64
- '5Nn1Fm15FqjD5DbMFBQ93Rrwppzei5GghENMmJt5qRpR',
65
- ],
66
- },
67
- {
68
- symbol: 'UXD-3Pool',
69
- address: 'HG2UzJS8rbgsd16tZorT1mNiPJBjE7Xq4ifqsfZNK6h6',
70
- reserveAccounts: [
71
- 'BLcaKjTnX3ggFMxhUeiZz32mpgiLeKYV2QWQ72JxgjdV',
72
- 'GgstY3wF2avMfPd7pAgVWUXaHaPFDkvyjMkTTsPNqmwE',
73
- 'BZRKweQTuVGWKZAL6Qrtgi1HPkuqzKxnJWLLJrqSm8Xs',
74
- ],
75
- },
76
- {
77
- symbol: 'USTv2-3Pool', // Not active anymore
78
- address: 'DJjevoCBomzgNe76pNDd8stAcMS4x7Y99giuNpqGLa2f',
79
- reserveAccounts: [
80
- '65sR8agQm768HYCjktunDJG3bbQszi7U8VD4pAKEYiXW',
81
- 'G5Q7dTUPYw5pEXbfzZbAFSaPstP9bdFmEJ7XXcyrkxVJ',
82
- 'EZd87x1Fu1ufV7pVRuXAEcL9y6aEMWWqtpcr7AHdU8ms',
83
- ],
84
- },
85
- {
86
- symbol: 'USDH-3Pool',
87
- address: 'HcpqAC3QTAZ1h3BuRCXtRfaUwFxjMCneuoqwAni4c2qm',
88
- reserveAccounts: [
89
- '3bFWy2hz9yGxvbgoRmzjUqkoYbCTWUDu7sZPHUYV39Pf',
90
- '49gyyvxzf61PknHoTg2cFGYQCJRnUrC7Web8h8go7ceM',
91
- '92P9U8L43ZCAKfdZxJaBAwmbb3MazdoVgrCm7R3xRnhn',
92
- ],
93
- },
94
- {
95
- symbol: 'aUSDC-4Pool',
96
- address: '5ZDQYA8LN5tooABpPFCrDwx5wcaTgXMragLwFim27mar',
97
- reserveAccounts: [
98
- '66guLcMF3qXkrMyLqDfuNKcHc7B6B36id9ZDDww4hiMv',
99
- '8KX8TLQHfq9UyqNvzUrUCLiECNBdMspMmU8mghdM2SAM',
100
- '2vhaJumb3hbRLUSDDy3Qk8KGGfzqThdwo8ai4tAvztGh',
101
- 'CC3FtDKTueNP1pmgtNWvKHZwbznyigSaiGhKsQYAfufD',
102
- ],
103
- },
104
- {
105
- symbol: 'fUSD-3Pool', // Not active anymore
106
- address: 'ALkfYpjMp1Bzn1JHCJkAKm4sU1EQt8RiFfX1ufVawuLV',
107
- reserveAccounts: [
108
- '3tu1Pac9N8sP8R9zHwmFvU258CPhbRSweVjdb2K2SVjt',
109
- '9SbaPafChbA5aCm2ZB52viFVTEb6Mf9VeHxGeJetdHCf',
110
- '9AWmAX6AgzVBWYHLRbjbHH5g9XJuoHM1vvaa3HfHxDx3',
111
- ],
112
- },
113
- {
114
- symbol: 'abBUSD-4Pool',
115
- address: 'JAQai7Pd6TP2ca3qowQoRw2Qygrhh7PpoLPAf9jvvgMQ',
116
- reserveAccounts: [
117
- 'FEPtjpdDrEMfUTjCkimXH2e3h8KJTjsZYMLC6FtviTUW',
118
- 'CRj4DCzp7hDXyNgVhagNJmTmKjtsVLBtPDzjk6JeE2CL',
119
- '2hHSmtBb7WzCaNFVun7CCmNq445dyQ9e1Tf66GCQGtjV',
120
- '4ZYrDMtLE3HGWjeE9W2L3psZP7SMASnez9rzqmpfnTxa',
121
- ],
122
- },
123
- {
124
- symbol: 'avaxUSD-3Pool',
125
- address: '2jDEKWC4LYcyhxtQ6ZGZzK1Q9NYDrmZcR2EPRoHyx6Vy',
126
- reserveAccounts: [
127
- 'CJNW2xGWHzyfZ2y2up9i11p7ZUm1ARvgfQ9Smzzj9arb',
128
- 'FaqLJMJNLs1cFULzHFzhmoJd4FJukq9f1HHTHJnvbEyx',
129
- 'V1pdBYfXxCx1sidPpQ3HoQfoEiHBCnPZe3iPEBSDJBr',
130
- ],
131
- },
132
- {
133
- symbol: 'aaUSDT-4Pool',
134
- address: 'FFM9rneg7pFbedUbuJdrwzje9WfKzJzv7jqcpeUQuGCy',
135
- reserveAccounts: [
136
- '7AiubbXXefRK3Tw83Y2XGovBwZ691pcdkts2S7zNE43Q',
137
- '9UMESFcuCBj8bUw6kGDx8zut1g495Y6TcyATm3ht2kqP',
138
- 'FznWTeu44sR9WvqVtekzGQn82z7BxErkcpDDDSmvncYY',
139
- 'Ez1dYUW8FGhrJGHe4e84JTmyZYFwpjwM7GuhSaBth5Xh',
140
- ],
141
- },
142
- ];
143
- //# sourceMappingURL=pools.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pools.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/pools.ts"],"names":[],"mappings":";;;AAAa,QAAA,KAAK,GAAG;IACnB;QACE,MAAM,EAAE,WAAW;QACnB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,6CAA6C;YAC7C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,WAAW,EAAE,qBAAqB;QAC1C,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,YAAY;QACpB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,YAAY;QACpB,OAAO,EAAE,6CAA6C;QACtD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,WAAW;QACnB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,aAAa,EAAE,qBAAqB;QAC5C,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,YAAY;QACpB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,YAAY,EAAE,qBAAqB;QAC3C,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;IACD;QACE,MAAM,EAAE,eAAe;QACvB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,6CAA6C;SAC9C;KACF;IACD;QACE,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,8CAA8C;QACvD,eAAe,EAAE;YACf,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;YAC9C,8CAA8C;SAC/C;KACF;CACF,CAAC"}