@sonarwatch/portfolio-plugins 0.12.46 → 0.12.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +1 -1
  3. package/src/index.js +4 -0
  4. package/src/index.js.map +1 -1
  5. package/src/plugins/01/constants.js +2 -1
  6. package/src/plugins/01/constants.js.map +1 -1
  7. package/src/plugins/hedgehog/ammJob.js +5 -5
  8. package/src/plugins/hedgehog/ammJob.js.map +1 -1
  9. package/src/plugins/hedgehog/constants.d.ts +0 -2
  10. package/src/plugins/hedgehog/constants.js +1 -3
  11. package/src/plugins/hedgehog/constants.js.map +1 -1
  12. package/src/plugins/jito/helper.d.ts +3 -0
  13. package/src/plugins/jito/helper.js +21 -0
  14. package/src/plugins/jito/helper.js.map +1 -0
  15. package/src/plugins/mango/redeemFetcher.js +1 -1
  16. package/src/plugins/mango/redeemFetcher.js.map +1 -1
  17. package/src/plugins/native-stake/solana/constants.d.ts +1 -1
  18. package/src/plugins/native-stake/solana/constants.js +2 -2
  19. package/src/plugins/native-stake/solana/constants.js.map +1 -1
  20. package/src/plugins/native-stake/solana/solanaFetcher.js +1 -1
  21. package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
  22. package/src/plugins/native-stake/solana/solanaValidatorsJob.js +17 -38
  23. package/src/plugins/native-stake/solana/solanaValidatorsJob.js.map +1 -1
  24. package/src/plugins/native-stake/solana/types.d.ts +7 -11
  25. package/src/plugins/nxfinance/constants.d.ts +8 -0
  26. package/src/plugins/nxfinance/constants.js +22 -0
  27. package/src/plugins/nxfinance/constants.js.map +1 -0
  28. package/src/plugins/nxfinance/idl.d.ts +166 -0
  29. package/src/plugins/nxfinance/idl.js +2169 -0
  30. package/src/plugins/nxfinance/idl.js.map +1 -0
  31. package/src/plugins/nxfinance/index.d.ts +6 -0
  32. package/src/plugins/nxfinance/index.js +12 -0
  33. package/src/plugins/nxfinance/index.js.map +1 -0
  34. package/src/plugins/nxfinance/positionsFetcher.d.ts +3 -0
  35. package/src/plugins/nxfinance/positionsFetcher.js +92 -0
  36. package/src/plugins/nxfinance/positionsFetcher.js.map +1 -0
  37. package/src/plugins/nxfinance/structs.d.ts +19 -0
  38. package/src/plugins/nxfinance/structs.js +22 -0
  39. package/src/plugins/nxfinance/structs.js.map +1 -0
  40. package/src/plugins/nxfinance/types.d.ts +21 -0
  41. package/src/plugins/nxfinance/types.js +3 -0
  42. package/src/plugins/nxfinance/types.js.map +1 -0
  43. package/src/plugins/parcl/constants.d.ts +0 -2
  44. package/src/plugins/parcl/constants.js +1 -3
  45. package/src/plugins/parcl/constants.js.map +1 -1
  46. package/src/plugins/parcl/marginFetcher.js +2 -2
  47. package/src/plugins/parcl/marginFetcher.js.map +1 -1
  48. package/src/plugins/zeta/airdropFetcher.js +8 -0
  49. package/src/plugins/zeta/airdropFetcher.js.map +1 -1
  50. package/src/plugins/zeta/constants.d.ts +5 -1
  51. package/src/plugins/zeta/constants.js +46 -2
  52. package/src/plugins/zeta/constants.js.map +1 -1
  53. package/src/plugins/zeta/depositsFetcher.js +2 -2
  54. package/src/plugins/zeta/depositsFetcher.js.map +1 -1
  55. package/src/plugins/zeta/helpers.d.ts +3 -0
  56. package/src/plugins/zeta/helpers.js +27 -1
  57. package/src/plugins/zeta/helpers.js.map +1 -1
  58. package/src/plugins/zeta/idls.d.ts +70 -0
  59. package/src/plugins/zeta/idls.js +749 -0
  60. package/src/plugins/zeta/idls.js.map +1 -0
  61. package/src/plugins/zeta/index.js +6 -1
  62. package/src/plugins/zeta/index.js.map +1 -1
  63. package/src/plugins/zeta/stakingFetcher.d.ts +3 -0
  64. package/src/plugins/zeta/stakingFetcher.js +69 -0
  65. package/src/plugins/zeta/stakingFetcher.js.map +1 -0
  66. package/src/plugins/zeta/structs.d.ts +7 -0
  67. package/src/plugins/zeta/structs.js +7 -1
  68. package/src/plugins/zeta/structs.js.map +1 -1
  69. package/src/plugins/zeta/types.d.ts +26 -0
  70. package/src/plugins/zeta/types.js +7 -0
  71. package/src/plugins/zeta/types.js.map +1 -1
  72. package/src/utils/misc/checkComputeAndStoreTokensPrices.js +2 -1
  73. package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
  74. package/src/utils/misc/getLpUnderlyingTokenSource.js +2 -1
  75. package/src/utils/misc/getLpUnderlyingTokenSource.js.map +1 -1
  76. package/src/utils/solana/das/getAssetBatchDas.js +3 -2
  77. package/src/utils/solana/das/getAssetBatchDas.js.map +1 -1
  78. package/src/utils/solana/das/heliusAssetToAssetCollectible.js +6 -4
  79. package/src/utils/solana/das/heliusAssetToAssetCollectible.js.map +1 -1
@@ -0,0 +1,70 @@
1
+ export declare const idls: {
2
+ version: string;
3
+ name: string;
4
+ instructions: {
5
+ name: string;
6
+ accounts: {
7
+ name: string;
8
+ isMut: boolean;
9
+ isSigner: boolean;
10
+ }[];
11
+ args: {
12
+ name: string;
13
+ type: string;
14
+ }[];
15
+ }[];
16
+ accounts: {
17
+ name: string;
18
+ type: {
19
+ kind: string;
20
+ fields: ({
21
+ name: string;
22
+ type: {
23
+ array: (string | number)[];
24
+ defined?: undefined;
25
+ };
26
+ } | {
27
+ name: string;
28
+ type: string;
29
+ } | {
30
+ name: string;
31
+ type: {
32
+ defined: string;
33
+ array?: undefined;
34
+ };
35
+ })[];
36
+ };
37
+ }[];
38
+ types: {
39
+ name: string;
40
+ type: {
41
+ kind: string;
42
+ variants: ({
43
+ name: string;
44
+ fields?: undefined;
45
+ } | {
46
+ name: string;
47
+ fields: {
48
+ name: string;
49
+ type: string;
50
+ }[];
51
+ })[];
52
+ };
53
+ }[];
54
+ events: {
55
+ name: string;
56
+ fields: {
57
+ name: string;
58
+ type: string;
59
+ index: boolean;
60
+ }[];
61
+ }[];
62
+ errors: {
63
+ code: number;
64
+ name: string;
65
+ msg: string;
66
+ }[];
67
+ metadata: {
68
+ address: string;
69
+ };
70
+ };