@sonarwatch/portfolio-plugins 0.14.21 → 0.14.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/CHANGELOG.md +1672 -1668
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  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/cyberfrogs/constants.d.ts +5 -0
  8. package/src/plugins/cyberfrogs/constants.js +14 -0
  9. package/src/plugins/cyberfrogs/constants.js.map +1 -0
  10. package/src/plugins/cyberfrogs/index.d.ts +6 -0
  11. package/src/plugins/cyberfrogs/index.js +12 -0
  12. package/src/plugins/cyberfrogs/index.js.map +1 -0
  13. package/src/plugins/cyberfrogs/structs.d.ts +13 -0
  14. package/src/plugins/cyberfrogs/structs.js +15 -0
  15. package/src/plugins/cyberfrogs/structs.js.map +1 -0
  16. package/src/plugins/cyberfrogs/thorDepositFetcher.d.ts +3 -0
  17. package/src/plugins/cyberfrogs/thorDepositFetcher.js +52 -0
  18. package/src/plugins/cyberfrogs/thorDepositFetcher.js.map +1 -0
  19. package/src/plugins/jupiter/filters.d.ts +1 -0
  20. package/src/plugins/jupiter/filters.js +11 -1
  21. package/src/plugins/jupiter/filters.js.map +1 -1
  22. package/src/plugins/jupiter/governance/voteFetcher.js +25 -25
  23. package/src/plugins/jupiter/governance/voteFetcher.js.map +1 -1
  24. package/src/plugins/jupiter/launchpad/structs.d.ts +10 -1
  25. package/src/plugins/jupiter/launchpad/structs.js +9 -1
  26. package/src/plugins/jupiter/launchpad/structs.js.map +1 -1
  27. package/src/plugins/kamino/constants.js +12 -0
  28. package/src/plugins/kamino/constants.js.map +1 -1
  29. package/src/plugins/orca/getWhirlpoolPositions.js +1 -5
  30. package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
  31. package/src/plugins/orca/helpers_fees.js +12 -3
  32. package/src/plugins/orca/helpers_fees.js.map +1 -1
  33. package/src/plugins/sushiswap/helpers.js +24 -24
  34. package/src/plugins/uniswap-v2/helpers.js +22 -22
  35. package/src/plugins/zeta/airdropFetcher.js +14 -14
  36. package/src/utils/sei/constants.js +8 -8
  37. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"helpers_fees.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/helpers_fees.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA4C;AAC5C,kDAAuB;AACvB,gEAAqC;AACrC,mDAO6B;AAC7B,+CAG4B;AAC5B,2CAA+C;AAC/C,iDAAsD;AACtD,gDAA6C;AAE7C,MAAM,GAAG,GAAG,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC;AACtB,MAAM,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,GAAG,CAAC,CAAC,CAAC;AAClC,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,cAAc,GAAG,MAAM,CAAC;AAC9B,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC;AAC/B,MAAM,WAAW,GAAG,CAAC,CAAC;AAEf,MAAM,kBAAkB,GAAG,CAChC,aAAiD,EACjD,YAAoC,EACH,EAAE;IACnC,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,kBAAkB,GAAG,EAAE,CAAC;IAE9B,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAC1D,MAAM,YAAY,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;QAC1C,IAAI,CAAC,YAAY;YAAE,SAAS;QAE5B,MAAM,aAAa,GAAG,YAAY,CAAC,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC1E,IAAI,CAAC,aAAa;YAAE,SAAS;QAE7B,kBAAkB,CAAC,IAAI,CACrB,eAAe,CACb,4BAAgB,EAChB,YA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AC,CAAC,0CAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC;QAC9D,CAAC,CAAC,IAAI,sBAAS,CAAC,CAAC,CAAC,CAAC;IACrB,MAAM,YAAY,GAAG,aAAa;QAChC,CAAC,CAAC,IAAI,sBAAS,CAAC,MAAA,qBAAqB,CAAC,CAAC,CAAC,0CAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC;QAC9D,CAAC,CAAC,IAAI,sBAAS,CAAC,CAAC,CAAC,CAAC;IAErB,MAAM,WAAW,GAAG,YAAY,CAAC,aAAa,CAAC,SAAA,EAAE,EAAI,EAAE,CAAA,CAAC;QACtD,CAAC,CAAC,IAAA,sBAAS,EAAC,CAAC,CAAC;QACd,CAAC,CAAC,YAAY,CAAC;IACjB,MAAM,WAAW,GAAG,YAAY,CAAC,aAAa,CAAC,SAAA,EAAE,EAAI,EAAE,CAAA,CAAC;QACtD,CAAC,CAAC,IAAA,sBAAS,EAAC,CAAC,CAAC;QACd,CAAC,CAAC,YAAY,CAAC;IACjB,MAAM,WAAW,GAAG,YAAY,CAAC,aAAa,CAAC,SAAA,EAAE,EAAI,EAAE,CAAA,CAAC;QACtD,CAAC,CAAC,IAAA,sBAAS,EAAC,CAAC,CAAC;QACd,CAAC,CAAC,YAAY,CAAC;IAEjB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AACnD,CAAC;AAnJD,wEAmJC"}
@@ -54,30 +54,30 @@ function sushiV3PairToUniV2(pair) {
54
54
  }
55
55
  function getV3PairsAddresses(url, length = 300) {
56
56
  return __awaiter(this, void 0, void 0, function* () {
57
- const query = (0, graphql_request_1.gql) `
58
- {
59
- pools(
60
- orderBy: totalValueLockedUSD
61
- first: ${length}
62
- orderDirection: desc
63
- where: { volumeUSD_not: "0", liquidity_not: "0" }
64
- ) {
65
- id
66
- token0Price
67
- token1Price
68
- liquidity
69
- token0 {
70
- id
71
- totalSupply
72
- decimals
73
- }
74
- token1 {
75
- id
76
- totalSupply
77
- decimals
78
- }
79
- }
80
- }
57
+ const query = (0, graphql_request_1.gql) `
58
+ {
59
+ pools(
60
+ orderBy: totalValueLockedUSD
61
+ first: ${length}
62
+ orderDirection: desc
63
+ where: { volumeUSD_not: "0", liquidity_not: "0" }
64
+ ) {
65
+ id
66
+ token0Price
67
+ token1Price
68
+ liquidity
69
+ token0 {
70
+ id
71
+ totalSupply
72
+ decimals
73
+ }
74
+ token1 {
75
+ id
76
+ totalSupply
77
+ decimals
78
+ }
79
+ }
80
+ }
81
81
  `;
82
82
  const res = yield (0, graphql_request_1.default)(url, query);
83
83
  const pools = res.pools;
@@ -40,28 +40,28 @@ function getPairKey(version) {
40
40
  exports.getPairKey = getPairKey;
41
41
  function getPairsV2FromTheGraph(url, length = 300) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
- const query = (0, graphql_request_1.gql) `
44
- {
45
- pairs(
46
- orderBy: reserveUSD
47
- first: ${length}
48
- orderDirection: desc
49
- where: { trackedReserveETH_not: "0" }
50
- ) {
51
- id
52
- reserve0
53
- reserve1
54
- totalSupply
55
- token0 {
56
- id
57
- decimals
58
- }
59
- token1 {
60
- id
61
- decimals
62
- }
63
- }
64
- }
43
+ const query = (0, graphql_request_1.gql) `
44
+ {
45
+ pairs(
46
+ orderBy: reserveUSD
47
+ first: ${length}
48
+ orderDirection: desc
49
+ where: { trackedReserveETH_not: "0" }
50
+ ) {
51
+ id
52
+ reserve0
53
+ reserve1
54
+ totalSupply
55
+ token0 {
56
+ id
57
+ decimals
58
+ }
59
+ token1 {
60
+ id
61
+ decimals
62
+ }
63
+ }
64
+ }
65
65
  `;
66
66
  const res = yield (0, graphql_request_1.default)(url, query);
67
67
  const pairs = res.pairs;
@@ -42,20 +42,20 @@ const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/token
42
42
  const clients_1 = require("../../utils/clients");
43
43
  const getMultipleAccountsInfoSafe_1 = require("../../utils/solana/getMultipleAccountsInfoSafe");
44
44
  const helpers_1 = require("./helpers");
45
- const query = (0, graphql_request_1.gql) `
46
- query GetAirdropFinalFrontend($authority: String!) {
47
- getAirdropFinalFrontend(authority: $authority) {
48
- authority
49
- community_allocation
50
- eligibility
51
- main_allocation
52
- og_allocation
53
- s1_allocation
54
- s2_allocation
55
- total_allocation
56
- __typename
57
- }
58
- }
45
+ const query = (0, graphql_request_1.gql) `
46
+ query GetAirdropFinalFrontend($authority: String!) {
47
+ getAirdropFinalFrontend(authority: $authority) {
48
+ authority
49
+ community_allocation
50
+ eligibility
51
+ main_allocation
52
+ og_allocation
53
+ s1_allocation
54
+ s2_allocation
55
+ total_allocation
56
+ __typename
57
+ }
58
+ }
59
59
  `;
60
60
  const networkId = portfolio_core_1.NetworkId.solana;
61
61
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
@@ -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;