@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.
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/src/index.js +4 -0
- package/src/index.js.map +1 -1
- package/src/plugins/01/constants.js +2 -1
- package/src/plugins/01/constants.js.map +1 -1
- package/src/plugins/hedgehog/ammJob.js +5 -5
- package/src/plugins/hedgehog/ammJob.js.map +1 -1
- package/src/plugins/hedgehog/constants.d.ts +0 -2
- package/src/plugins/hedgehog/constants.js +1 -3
- package/src/plugins/hedgehog/constants.js.map +1 -1
- package/src/plugins/jito/helper.d.ts +3 -0
- package/src/plugins/jito/helper.js +21 -0
- package/src/plugins/jito/helper.js.map +1 -0
- package/src/plugins/mango/redeemFetcher.js +1 -1
- package/src/plugins/mango/redeemFetcher.js.map +1 -1
- package/src/plugins/native-stake/solana/constants.d.ts +1 -1
- package/src/plugins/native-stake/solana/constants.js +2 -2
- package/src/plugins/native-stake/solana/constants.js.map +1 -1
- package/src/plugins/native-stake/solana/solanaFetcher.js +1 -1
- package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
- package/src/plugins/native-stake/solana/solanaValidatorsJob.js +17 -38
- package/src/plugins/native-stake/solana/solanaValidatorsJob.js.map +1 -1
- package/src/plugins/native-stake/solana/types.d.ts +7 -11
- package/src/plugins/nxfinance/constants.d.ts +8 -0
- package/src/plugins/nxfinance/constants.js +22 -0
- package/src/plugins/nxfinance/constants.js.map +1 -0
- package/src/plugins/nxfinance/idl.d.ts +166 -0
- package/src/plugins/nxfinance/idl.js +2169 -0
- package/src/plugins/nxfinance/idl.js.map +1 -0
- package/src/plugins/nxfinance/index.d.ts +6 -0
- package/src/plugins/nxfinance/index.js +12 -0
- package/src/plugins/nxfinance/index.js.map +1 -0
- package/src/plugins/nxfinance/positionsFetcher.d.ts +3 -0
- package/src/plugins/nxfinance/positionsFetcher.js +92 -0
- package/src/plugins/nxfinance/positionsFetcher.js.map +1 -0
- package/src/plugins/nxfinance/structs.d.ts +19 -0
- package/src/plugins/nxfinance/structs.js +22 -0
- package/src/plugins/nxfinance/structs.js.map +1 -0
- package/src/plugins/nxfinance/types.d.ts +21 -0
- package/src/plugins/nxfinance/types.js +3 -0
- package/src/plugins/nxfinance/types.js.map +1 -0
- package/src/plugins/parcl/constants.d.ts +0 -2
- package/src/plugins/parcl/constants.js +1 -3
- package/src/plugins/parcl/constants.js.map +1 -1
- package/src/plugins/parcl/marginFetcher.js +2 -2
- package/src/plugins/parcl/marginFetcher.js.map +1 -1
- package/src/plugins/zeta/airdropFetcher.js +8 -0
- package/src/plugins/zeta/airdropFetcher.js.map +1 -1
- package/src/plugins/zeta/constants.d.ts +5 -1
- package/src/plugins/zeta/constants.js +46 -2
- package/src/plugins/zeta/constants.js.map +1 -1
- package/src/plugins/zeta/depositsFetcher.js +2 -2
- package/src/plugins/zeta/depositsFetcher.js.map +1 -1
- package/src/plugins/zeta/helpers.d.ts +3 -0
- package/src/plugins/zeta/helpers.js +27 -1
- package/src/plugins/zeta/helpers.js.map +1 -1
- package/src/plugins/zeta/idls.d.ts +70 -0
- package/src/plugins/zeta/idls.js +749 -0
- package/src/plugins/zeta/idls.js.map +1 -0
- package/src/plugins/zeta/index.js +6 -1
- package/src/plugins/zeta/index.js.map +1 -1
- package/src/plugins/zeta/stakingFetcher.d.ts +3 -0
- package/src/plugins/zeta/stakingFetcher.js +69 -0
- package/src/plugins/zeta/stakingFetcher.js.map +1 -0
- package/src/plugins/zeta/structs.d.ts +7 -0
- package/src/plugins/zeta/structs.js +7 -1
- package/src/plugins/zeta/structs.js.map +1 -1
- package/src/plugins/zeta/types.d.ts +26 -0
- package/src/plugins/zeta/types.js +7 -0
- package/src/plugins/zeta/types.js.map +1 -1
- package/src/utils/misc/checkComputeAndStoreTokensPrices.js +2 -1
- package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
- package/src/utils/misc/getLpUnderlyingTokenSource.js +2 -1
- package/src/utils/misc/getLpUnderlyingTokenSource.js.map +1 -1
- package/src/utils/solana/das/getAssetBatchDas.js +3 -2
- package/src/utils/solana/das/getAssetBatchDas.js.map +1 -1
- package/src/utils/solana/das/heliusAssetToAssetCollectible.js +6 -4
- package/src/utils/solana/das/heliusAssetToAssetCollectible.js.map +1 -1
@@ -0,0 +1,166 @@
|
|
1
|
+
export declare const NxfinanceLeverageIDL: {
|
2
|
+
version: string;
|
3
|
+
name: string;
|
4
|
+
constants: ({
|
5
|
+
name: string;
|
6
|
+
type: string;
|
7
|
+
value: string;
|
8
|
+
} | {
|
9
|
+
name: string;
|
10
|
+
type: {
|
11
|
+
array: (string | number)[];
|
12
|
+
};
|
13
|
+
value: string;
|
14
|
+
})[];
|
15
|
+
instructions: ({
|
16
|
+
name: string;
|
17
|
+
accounts: ({
|
18
|
+
name: string;
|
19
|
+
isMut: boolean;
|
20
|
+
isSigner: boolean;
|
21
|
+
docs?: undefined;
|
22
|
+
} | {
|
23
|
+
name: string;
|
24
|
+
isMut: boolean;
|
25
|
+
isSigner: boolean;
|
26
|
+
docs: string[];
|
27
|
+
})[];
|
28
|
+
args: {
|
29
|
+
name: string;
|
30
|
+
type: string;
|
31
|
+
}[];
|
32
|
+
docs?: undefined;
|
33
|
+
} | {
|
34
|
+
name: string;
|
35
|
+
docs: string[];
|
36
|
+
accounts: ({
|
37
|
+
name: string;
|
38
|
+
isMut: boolean;
|
39
|
+
isSigner: boolean;
|
40
|
+
docs: string[];
|
41
|
+
} | {
|
42
|
+
name: string;
|
43
|
+
isMut: boolean;
|
44
|
+
isSigner: boolean;
|
45
|
+
docs?: undefined;
|
46
|
+
})[];
|
47
|
+
args: {
|
48
|
+
name: string;
|
49
|
+
type: string;
|
50
|
+
}[];
|
51
|
+
})[];
|
52
|
+
accounts: ({
|
53
|
+
name: string;
|
54
|
+
docs: string[];
|
55
|
+
type: {
|
56
|
+
kind: string;
|
57
|
+
fields: ({
|
58
|
+
name: string;
|
59
|
+
docs: string[];
|
60
|
+
type: string;
|
61
|
+
} | {
|
62
|
+
name: string;
|
63
|
+
docs: string[];
|
64
|
+
type: {
|
65
|
+
vec: {
|
66
|
+
defined: string;
|
67
|
+
};
|
68
|
+
};
|
69
|
+
})[];
|
70
|
+
};
|
71
|
+
} | {
|
72
|
+
name: string;
|
73
|
+
type: {
|
74
|
+
kind: string;
|
75
|
+
fields: ({
|
76
|
+
name: string;
|
77
|
+
type: string;
|
78
|
+
docs?: undefined;
|
79
|
+
} | {
|
80
|
+
name: string;
|
81
|
+
type: {
|
82
|
+
vec: string;
|
83
|
+
defined?: undefined;
|
84
|
+
};
|
85
|
+
docs?: undefined;
|
86
|
+
} | {
|
87
|
+
name: string;
|
88
|
+
docs: string[];
|
89
|
+
type: string;
|
90
|
+
} | {
|
91
|
+
name: string;
|
92
|
+
type: {
|
93
|
+
defined: string;
|
94
|
+
vec?: undefined;
|
95
|
+
};
|
96
|
+
docs?: undefined;
|
97
|
+
})[];
|
98
|
+
};
|
99
|
+
docs?: undefined;
|
100
|
+
})[];
|
101
|
+
types: ({
|
102
|
+
name: string;
|
103
|
+
docs: string[];
|
104
|
+
type: {
|
105
|
+
kind: string;
|
106
|
+
fields: {
|
107
|
+
name: string;
|
108
|
+
docs: string[];
|
109
|
+
type: string;
|
110
|
+
}[];
|
111
|
+
variants?: undefined;
|
112
|
+
};
|
113
|
+
} | {
|
114
|
+
name: string;
|
115
|
+
docs: string[];
|
116
|
+
type: {
|
117
|
+
kind: string;
|
118
|
+
fields: ({
|
119
|
+
name: string;
|
120
|
+
type: {
|
121
|
+
defined: string;
|
122
|
+
};
|
123
|
+
} | {
|
124
|
+
name: string;
|
125
|
+
type: string;
|
126
|
+
})[];
|
127
|
+
variants?: undefined;
|
128
|
+
};
|
129
|
+
} | {
|
130
|
+
name: string;
|
131
|
+
type: {
|
132
|
+
kind: string;
|
133
|
+
fields: {
|
134
|
+
name: string;
|
135
|
+
type: string;
|
136
|
+
}[];
|
137
|
+
variants?: undefined;
|
138
|
+
};
|
139
|
+
docs?: undefined;
|
140
|
+
} | {
|
141
|
+
name: string;
|
142
|
+
type: {
|
143
|
+
kind: string;
|
144
|
+
variants: {
|
145
|
+
name: string;
|
146
|
+
}[];
|
147
|
+
fields?: undefined;
|
148
|
+
};
|
149
|
+
docs?: undefined;
|
150
|
+
} | {
|
151
|
+
name: string;
|
152
|
+
docs: string[];
|
153
|
+
type: {
|
154
|
+
kind: string;
|
155
|
+
variants: {
|
156
|
+
name: string;
|
157
|
+
}[];
|
158
|
+
fields?: undefined;
|
159
|
+
};
|
160
|
+
})[];
|
161
|
+
errors: {
|
162
|
+
code: number;
|
163
|
+
name: string;
|
164
|
+
msg: string;
|
165
|
+
}[];
|
166
|
+
};
|