@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,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
|
+
};
|