@sonarwatch/portfolio-plugins 0.11.150 → 0.11.152
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/package.json +2 -2
- package/src/index.js +8 -8
- package/src/index.js.map +1 -1
- package/src/plugins/aptin/constants.js +1 -1
- package/src/plugins/aptin/constants.js.map +1 -1
- package/src/plugins/{spl-staking → armada-staking}/constants.d.ts +1 -2
- package/src/plugins/{spl-staking → armada-staking}/constants.js +2 -7
- package/src/plugins/armada-staking/constants.js.map +1 -0
- package/src/plugins/armada-staking/filters.js.map +1 -0
- package/src/plugins/{spl-staking → armada-staking}/index.js +6 -1
- package/src/plugins/armada-staking/index.js.map +1 -0
- package/src/plugins/armada-staking/poolsJob.js.map +1 -0
- package/src/plugins/{spl-staking → armada-staking}/stakingFetcher.js +3 -1
- package/src/plugins/armada-staking/stakingFetcher.js.map +1 -0
- package/src/plugins/armada-staking/structs.js.map +1 -0
- package/src/plugins/armada-staking/types.js.map +1 -0
- package/src/plugins/benqi/constants.js +3 -3
- package/src/plugins/benqi/constants.js.map +1 -1
- package/src/plugins/daos/constants.js.map +1 -0
- package/src/plugins/daos/filters.js.map +1 -0
- package/src/plugins/{realms → daos}/helpers.js +1 -1
- package/src/plugins/daos/helpers.js.map +1 -0
- package/src/plugins/daos/index.js.map +1 -0
- package/src/plugins/daos/realmsDepositsFetcher.js.map +1 -0
- package/src/plugins/daos/realmsProgramsJob.js.map +1 -0
- package/src/plugins/daos/structs/realms.js.map +1 -0
- package/src/plugins/daos/types.js.map +1 -0
- package/src/plugins/flash/constants.js +1 -1
- package/src/plugins/flash/constants.js.map +1 -1
- package/src/plugins/flexlend/constants.js +1 -0
- package/src/plugins/flexlend/constants.js.map +1 -1
- package/src/plugins/jupiter/constants.js +2 -1
- package/src/plugins/jupiter/constants.js.map +1 -1
- package/src/plugins/kamino/lendsFetcher.js +10 -7
- package/src/plugins/kamino/lendsFetcher.js.map +1 -1
- package/src/plugins/meteora/poolsJob.js +25 -3
- package/src/plugins/meteora/poolsJob.js.map +1 -1
- package/src/plugins/navi/constants.js +2 -1
- package/src/plugins/navi/constants.js.map +1 -1
- package/src/plugins/pyth/constants.js +1 -1
- package/src/plugins/pyth/constants.js.map +1 -1
- package/src/plugins/solend/obligationsFetcher.js +1 -1
- package/src/plugins/solend/obligationsFetcher.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js.map +1 -1
- package/src/plugins/realms/constants.js.map +0 -1
- package/src/plugins/realms/filters.js.map +0 -1
- package/src/plugins/realms/helpers.js.map +0 -1
- package/src/plugins/realms/index.js.map +0 -1
- package/src/plugins/realms/realmsDepositsFetcher.js.map +0 -1
- package/src/plugins/realms/realmsProgramsJob.js.map +0 -1
- package/src/plugins/realms/structs/realms.js.map +0 -1
- package/src/plugins/realms/types.js.map +0 -1
- package/src/plugins/spl-staking/constants.js.map +0 -1
- package/src/plugins/spl-staking/filters.js.map +0 -1
- package/src/plugins/spl-staking/index.js.map +0 -1
- package/src/plugins/spl-staking/poolsJob.js.map +0 -1
- package/src/plugins/spl-staking/stakingFetcher.js.map +0 -1
- package/src/plugins/spl-staking/structs.js.map +0 -1
- package/src/plugins/spl-staking/types.js.map +0 -1
- /package/src/plugins/{spl-staking → armada-staking}/filters.d.ts +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/filters.js +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/index.d.ts +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/poolsJob.d.ts +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/poolsJob.js +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/stakingFetcher.d.ts +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/structs.d.ts +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/structs.js +0 -0
- /package/src/plugins/{spl-staking → armada-staking}/types.d.ts +0 -0
- /package/src/plugins/{realms → armada-staking}/types.js +0 -0
- /package/src/plugins/{realms → daos}/constants.d.ts +0 -0
- /package/src/plugins/{realms → daos}/constants.js +0 -0
- /package/src/plugins/{realms → daos}/filters.d.ts +0 -0
- /package/src/plugins/{realms → daos}/filters.js +0 -0
- /package/src/plugins/{realms → daos}/helpers.d.ts +0 -0
- /package/src/plugins/{realms → daos}/index.d.ts +0 -0
- /package/src/plugins/{realms → daos}/index.js +0 -0
- /package/src/plugins/{realms → daos}/realmsDepositsFetcher.d.ts +0 -0
- /package/src/plugins/{realms → daos}/realmsDepositsFetcher.js +0 -0
- /package/src/plugins/{realms → daos}/realmsProgramsJob.d.ts +0 -0
- /package/src/plugins/{realms → daos}/realmsProgramsJob.js +0 -0
- /package/src/plugins/{realms → daos}/structs/realms.d.ts +0 -0
- /package/src/plugins/{realms → daos}/structs/realms.js +0 -0
- /package/src/plugins/{realms → daos}/types.d.ts +0 -0
- /package/src/plugins/{spl-staking → daos}/types.js +0 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.11.152](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.151...plugins-0.11.152) (2024-03-27)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.11.151](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.150...plugins-0.11.151) (2024-03-27)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.11.150](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.149...plugins-0.11.150) (2024-03-27)
|
6
14
|
|
7
15
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sonarwatch/portfolio-plugins",
|
3
|
-
"version": "0.11.
|
3
|
+
"version": "0.11.152",
|
4
4
|
"type": "commonjs",
|
5
5
|
"generators": "./generators.json",
|
6
6
|
"dependencies": {
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"web3-v1": "npm:web3@^1.5.0"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
|
-
"@sonarwatch/portfolio-core": "0.11.
|
44
|
+
"@sonarwatch/portfolio-core": "0.11.152"
|
45
45
|
},
|
46
46
|
"main": "./src/index.js",
|
47
47
|
"types": "./src/index.d.ts"
|
package/src/index.js
CHANGED
@@ -61,7 +61,7 @@ const uniswap_v2_1 = require("./plugins/uniswap-v2");
|
|
61
61
|
const balancer_1 = require("./plugins/balancer");
|
62
62
|
const paraswap_1 = require("./plugins/paraswap");
|
63
63
|
const hawksight_1 = require("./plugins/hawksight");
|
64
|
-
const
|
64
|
+
const daos_1 = require("./plugins/daos");
|
65
65
|
const maple_1 = require("./plugins/maple");
|
66
66
|
const flexlend_1 = require("./plugins/flexlend");
|
67
67
|
const fluxbeam_1 = require("./plugins/fluxbeam");
|
@@ -90,7 +90,7 @@ const bskt_1 = require("./plugins/bskt");
|
|
90
90
|
const genesysgo_1 = require("./plugins/genesysgo");
|
91
91
|
const aurory_1 = require("./plugins/aurory");
|
92
92
|
const x_staking_solana_1 = require("./plugins/x-staking-solana");
|
93
|
-
const
|
93
|
+
const armada_staking_1 = require("./plugins/armada-staking");
|
94
94
|
const abex_1 = require("./plugins/abex");
|
95
95
|
const kai_1 = require("./plugins/kai");
|
96
96
|
const suilend_1 = require("./plugins/suilend");
|
@@ -150,7 +150,7 @@ exports.platforms = [
|
|
150
150
|
...balancer_1.platforms,
|
151
151
|
...paraswap_1.platforms,
|
152
152
|
...hawksight_1.platforms,
|
153
|
-
...
|
153
|
+
...daos_1.platforms,
|
154
154
|
...maple_1.platforms,
|
155
155
|
...flexlend_1.platforms,
|
156
156
|
...fluxbeam_1.platforms,
|
@@ -179,7 +179,7 @@ exports.platforms = [
|
|
179
179
|
...genesysgo_1.platforms,
|
180
180
|
...aurory_1.platforms,
|
181
181
|
...x_staking_solana_1.platforms,
|
182
|
-
...
|
182
|
+
...armada_staking_1.platforms,
|
183
183
|
...abex_1.platforms,
|
184
184
|
...kai_1.platforms,
|
185
185
|
...suilend_1.platforms,
|
@@ -222,7 +222,7 @@ exports.jobs = [
|
|
222
222
|
...uniswap_1.jobs,
|
223
223
|
...balancer_1.jobs,
|
224
224
|
...paraswap_1.jobs,
|
225
|
-
...
|
225
|
+
...daos_1.jobs,
|
226
226
|
...maple_1.jobs,
|
227
227
|
...flexlend_1.jobs,
|
228
228
|
...fluxbeam_1.jobs,
|
@@ -251,7 +251,7 @@ exports.jobs = [
|
|
251
251
|
...genesysgo_1.jobs,
|
252
252
|
...aurory_1.jobs,
|
253
253
|
...x_staking_solana_1.jobs,
|
254
|
-
...
|
254
|
+
...armada_staking_1.jobs,
|
255
255
|
...abex_1.jobs,
|
256
256
|
...kai_1.jobs,
|
257
257
|
...suilend_1.jobs,
|
@@ -295,7 +295,7 @@ exports.fetchers = [
|
|
295
295
|
...balancer_1.fetchers,
|
296
296
|
...paraswap_1.fetchers,
|
297
297
|
...hawksight_1.fetchers,
|
298
|
-
...
|
298
|
+
...daos_1.fetchers,
|
299
299
|
...maple_1.fetchers,
|
300
300
|
...flexlend_1.fetchers,
|
301
301
|
...fluxbeam_1.fetchers,
|
@@ -325,7 +325,7 @@ exports.fetchers = [
|
|
325
325
|
...genesysgo_1.fetchers,
|
326
326
|
...aurory_1.fetchers,
|
327
327
|
...x_staking_solana_1.fetchers,
|
328
|
-
...
|
328
|
+
...armada_staking_1.fetchers,
|
329
329
|
...abex_1.fetchers,
|
330
330
|
...kai_1.fetchers,
|
331
331
|
...suilend_1.fetchers,
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,wFAAqF;AACrF,sEAA8C;AAC9C,6CAI0B;AAC1B,yDAIgC;AAChC,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,6CAI0B;AAC1B,+CAI2B;AAC3B,yCA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B;IACrB,GAAG,eAAY;IACf,GAAG,cAAW;IACd,GAAG,kBAAe;IAClB,GAAG,mBAAgB;IACnB,GAAG,oBAAiB;CACrB,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platform = {
|
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Aptin',
|
8
8
|
image: 'https://sonar.watch/img/platforms/aptin.png',
|
9
|
-
defiLlamaId: 'aptin-finance', // from https://defillama.com/docs/api
|
9
|
+
defiLlamaId: 'aptin-finance-v2', // from https://defillama.com/docs/api
|
10
10
|
website: 'https://app.aptin.io/',
|
11
11
|
twitter: 'https://twitter.com/aptinlabs',
|
12
12
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aptin/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aptin/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,kBAAkB,EAAE,sCAAsC;IACvE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,eAAe,GAAG,cAAc,CAAC;AACjC,QAAA,iBAAiB,GAC5B,qFAAqF,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
|
-
export declare const platformId = "
|
4
|
-
export declare const splStakingPlatform: Platform;
|
3
|
+
export declare const platformId = "armada-staking-program";
|
5
4
|
export declare const stakePid: PublicKey;
|
6
5
|
export declare const poolsKey = "pools";
|
7
6
|
export declare const flowmaticPlatformId = "flowmatic";
|
@@ -1,13 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.platformByMint = exports.madbearsPlatform = exports.madbearsPlatformId = exports.yakuPlatform = exports.yakuPlatformId = exports.kishuPlatform = exports.kishuPlatformId = exports.flowmaticPlatform = exports.flowmaticPlatformId = exports.poolsKey = exports.stakePid = exports.
|
3
|
+
exports.platformByMint = exports.madbearsPlatform = exports.madbearsPlatformId = exports.yakuPlatform = exports.yakuPlatformId = exports.kishuPlatform = exports.kishuPlatformId = exports.flowmaticPlatform = exports.flowmaticPlatformId = exports.poolsKey = exports.stakePid = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
|
-
exports.platformId = '
|
6
|
-
exports.splStakingPlatform = {
|
7
|
-
id: exports.platformId,
|
8
|
-
name: 'SPL Staking',
|
9
|
-
image: 'https://sonar.watch/img/platforms/splStaking.png',
|
10
|
-
};
|
5
|
+
exports.platformId = 'armada-staking-program';
|
11
6
|
exports.stakePid = new web3_js_1.PublicKey('STAKEGztX7S1MUHxcQHieZhELCntb9Ys9BgUbeEtMu1');
|
12
7
|
exports.poolsKey = 'pools';
|
13
8
|
exports.flowmaticPlatformId = 'flowmatic';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,wBAAwB,CAAC;AACtC,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,mBAAmB,GAAG,WAAW,CAAC;AAClC,QAAA,iBAAiB,GAAa;IACzC,EAAE,EAAE,2BAAmB;IACvB,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,eAAe,GAAG,OAAO,CAAC;AAC1B,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,uBAAe;IACnB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,kCAAkC;IAC3C,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,cAAc,GAAG,MAAM,CAAC;AACxB,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,sBAAc;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,kBAAkB,GAAG,UAAU,CAAC;AAChC,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,0BAAkB;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,gCAAgC;IACzC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,GAAG,CAAC;IACpC,CAAC,8CAA8C,EAAE,uBAAe,CAAC;IACjE,CAAC,8CAA8C,EAAE,sBAAc,CAAC;IAChE,CAAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,0BAAkB,CAAC;CACrE,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/filters.ts"],"names":[],"mappings":";;;AAEO,MAAM,YAAY,GAAG,CAAC,KAAa,EAA8B,EAAE,CAAC;IACzE;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,KAAK;SACb;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AARW,QAAA,YAAY,gBAQvB"}
|
@@ -7,7 +7,12 @@ exports.fetchers = exports.jobs = exports.platforms = void 0;
|
|
7
7
|
const constants_1 = require("./constants");
|
8
8
|
const poolsJob_1 = __importDefault(require("./poolsJob"));
|
9
9
|
const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
|
10
|
-
exports.platforms = [
|
10
|
+
exports.platforms = [
|
11
|
+
constants_1.flowmaticPlatform,
|
12
|
+
constants_1.yakuPlatform,
|
13
|
+
constants_1.madbearsPlatform,
|
14
|
+
constants_1.kishuPlatform,
|
15
|
+
];
|
11
16
|
exports.jobs = [poolsJob_1.default];
|
12
17
|
exports.fetchers = [stakingFetcher_1.default];
|
13
18
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAKqB;AACrB,0DAAkC;AAClC,sEAA8C;AAEjC,QAAA,SAAS,GAAe;IACnC,6BAAiB;IACjB,wBAAY;IACZ,4BAAgB;IAChB,yBAAa;CACd,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,CAAC,wBAAc,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,iDAAsD;AACtD,+CAA8D;AAC9D,wDAA4D;AAC5D,2CAA6D;AAC7D,uCAA4C;AAG5C,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,KAAK,GAAG,MAAM,IAAA,iCAAwB,EAC1C,MAAM,EACN,yBAAe,EACf,oBAAQ,EACR,IAAA,wBAAc,EAAC,yBAAe,CAAC,QAAQ,CAAC,CACzC,CAAC;IAEF,MAAM,SAAS,GAAe,EAAE,CAAC;IACjC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,SAAS,CAAC,IAAI,CAAC;YACb,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC,CAAC;IACL,CAAC;IAED,MAAM,KAAK,CAAC,OAAO,CAAC,oBAAQ,EAAE,SAAS,EAAE;QACvC,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -44,7 +44,9 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
44
44
|
const tokenPrice = tokenPricesById.get(mint);
|
45
45
|
if (!tokenPrice)
|
46
46
|
continue;
|
47
|
-
const platform = constants_1.platformByMint.get(mint)
|
47
|
+
const platform = constants_1.platformByMint.get(mint);
|
48
|
+
if (!platform)
|
49
|
+
continue;
|
48
50
|
const lockedUntil = new Date(stakeAccount.depositTimestamp
|
49
51
|
.plus(stakeAccount.lockupDuration)
|
50
52
|
.times(1000)
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;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QACnC,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,UAAU,EAAE,QAAQ;QACpB,IAAI,EAAE,EAAE,MAAM,EAAE;QAChB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC1D,CAAC,CACH,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,EAAE;IACnB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/structs.ts"],"names":[],"mappings":";;;AAAA,oDAImC;AACnC,kEAA6D;AAG7D,+CAA0D;AAc7C,QAAA,yBAAyB,GAAG,IAAI,iBAAU,CACrD;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,OAAO,EAAE,uBAAS,CAAC;IACpB,CAAC,OAAO,EAAE,uBAAS,CAAC;IACpB,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,gBAAgB,EAAE,YAAG,CAAC;IACvB,CAAC,kBAAkB,EAAE,YAAG,CAAC;IACzB,CAAC,eAAe,EAAE,YAAG,CAAC;IACtB,CAAC,gBAAgB,EAAE,aAAI,CAAC;IACxB,CAAC,gBAAgB,EAAE,IAAA,4BAAqB,EAAC,aAAI,EAAE,EAAE,CAAC,CAAC;CACpD,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAA2B,CACtC,CAAC;AASW,QAAA,gBAAgB,GAAG,IAAI,iBAAU,CAC5C;IACE,CAAC,aAAa,EAAE,uBAAS,CAAC;IAC1B,CAAC,0BAA0B,EAAE,aAAI,CAAC;IAClC,CAAC,YAAY,EAAE,YAAG,CAAC;IACnB,CAAC,UAAU,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;CAC3C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC;AAqBW,QAAA,eAAe,GAAG,IAAI,iBAAU,CAC3C;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,SAAS,EAAE,uBAAS,CAAC;IACtB,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,oBAAoB,EAAE,aAAI,CAAC;IAC5B,CAAC,OAAO,EAAE,uBAAS,CAAC;IACpB,CAAC,MAAM,EAAE,uBAAS,CAAC;IACnB,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,aAAa,EAAE,IAAA,4BAAqB,EAAC,wBAAgB,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC,YAAY,EAAE,YAAG,CAAC;IACnB,CAAC,WAAW,EAAE,YAAG,CAAC;IAClB,CAAC,aAAa,EAAE,YAAG,CAAC;IACpB,CAAC,aAAa,EAAE,YAAG,CAAC;IACpB,CAAC,OAAO,EAAE,SAAE,CAAC;IACb,CAAC,UAAU,EAAE,SAAE,CAAC;IAChB,CAAC,UAAU,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IAC1C,CAAC,WAAW,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,GAAG,CAAC,CAAC;CAC9C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAiB,CAC5B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/types.ts"],"names":[],"mappings":""}
|
@@ -6,9 +6,9 @@ exports.platform = {
|
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Benqi',
|
8
8
|
image: 'https://sonar.watch/img/platforms/benqi.png',
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
defiLlamaId: 'benqi-lending', // from https://defillama.com/docs/api
|
10
|
+
website: 'https://benqi.fi/',
|
11
|
+
twitter: 'https://twitter.com/BenqiFinance',
|
12
12
|
};
|
13
13
|
exports.comptroller = '0x486Af39519B4Dc9a7fCcd318217352830E8AD9b4';
|
14
14
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/benqi/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/benqi/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,eAAe,EAAE,sCAAsC;IACpE,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,WAAW,GAAG,4CAA4C,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,gBAAgB,GAAG,QAAQ,CAAC;AAE5B,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,wBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,yBAAyB;CACnC,CAAC;AAEW,QAAA,iBAAiB,GAAG,uBAAuB,CAAC;AAC5C,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,mBAAmB,GAAe;IAC7C;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,WAAW;QACpF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,QAAQ;QAClF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,QAAQ;QACjF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,aAAa;QACvF,IAAI,EAAE,8CAA8C;KACrD;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,oDAAoD,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/filters.ts"],"names":[],"mappings":";;;AAAA,6CAA2D;AAEpD,MAAM,kBAAkB,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;IACrD,EAAE,QAAQ,EAAE,mBAAU,CAAC,QAAQ,EAAE;IACjC;QACE,MAAM,EAAE;YACN,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,OAAO;SACf;KACF;CACF,CAAC;AARW,QAAA,kBAAkB,sBAQ7B;AAEK,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;IACtD,EAAE,QAAQ,EAAE,oBAAW,CAAC,QAAQ,EAAE;IAClC;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,OAAO;SACf;KACF;CACF,CAAC;AARW,QAAA,mBAAmB,uBAQ9B;AAEK,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAAC;IAC3C;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,GAAG;SACX;KACF;CACF,CAAC;AAPW,QAAA,uBAAuB,2BAOlC;AAEK,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC;AAAnD,QAAA,sBAAsB,0BAA6B"}
|
@@ -66,7 +66,7 @@ function getHeliumElementsFromNFTs(cache, nfts) {
|
|
66
66
|
return [
|
67
67
|
{
|
68
68
|
networkId: portfolio_core_1.NetworkId.solana,
|
69
|
-
platformId: constants_1.
|
69
|
+
platformId: constants_1.heliumPlatformId,
|
70
70
|
type: 'multiple',
|
71
71
|
label: 'Deposit',
|
72
72
|
value: (0, portfolio_core_1.getUsdValueSum)(assets.map((a) => a.value)),
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AACrC,6CAA4C;AAG5C,6CAA8C;AAC9C,qGAA6E;AAC7E,2CAA+C;AAElC,QAAA,aAAa,GAAG,8BAA8B,CAAC;AAE5D,SAAgB,iBAAiB,CAAC,GAA8B;IAC9D,OAAO,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,qBAAa,CAAC;AACzC,CAAC;AAFD,8CAEC;AAED,SAAgB,WAAW,CACzB,KAAa,EACb,SAAiB,EACjB,GAAW;IAEX,OAAO,mBAAS,CAAC,sBAAsB,CACrC;QAC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AAK,SAAS;QACxB,cAAc,KAAK,SAAS,EAC5B,CAAC;QACD,OAAO;YACL,SAAS;YACT,eAAe,EAAE,IAAI,sBAAS,CAAC,eAAe,CAAC;YAC/C,qBAAqB,EAAE,IAAI,sBAAS,CAAC,qBAAqB,CAAC;YAC3D,mBAAmB;YACnB,UAAU;YACV,OAAO,EAAE,IAAI,sBAAS,CAAC,OAAO,CAAC;YAC/B,KAAK,EAAE,IAAI,sBAAS,CAAC,KAAK,CAAC;YAC3B,IAAI;YACJ,UAAU;YACV,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC;SACb,CAAC;IAC9B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/index.ts"],"names":[],"mappings":";;;;;;AAGA,oFAAsD;AACtD,2CAA6D;AAC7D,4EAA8C;AAEjC,QAAA,IAAI,GAAU,CAAC,2BAAW,CAAC,CAAC;AAC5B,QAAA,QAAQ,GAAc,CAAC,+BAAe,CAAC,CAAC;AACxC,QAAA,SAAS,GAAe,CAAC,0BAAc,EAAE,0BAAc,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"realmsDepositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/realmsDepositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,6CAA4C;AAG5C,2CAAyC;AACzC,iDAAsD;AACtD,+CAG4B;AAC5B,6CAA2D;AAC3D,uCAA+C;AAC/C,qGAA6E;AAC7E,uCAAwD;AAGxD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,OAAO,CAAY,MAAM,EAAE;QACvD,MAA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AC,IAAI,CAAC;YACZ,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,IAAA,+BAAc,EAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACvD,IAAI,EAAE;gBACJ,MAAM,EAAE,YAAY;aACrB;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"realmsProgramsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/realmsProgramsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kDAA6C;AAC7C,+DAAuD;AACvD,6CAA4C;AAG5C,2CAKqB;AACrB,+CAA8D;AAC9D,iDAAsD;AACtD,6CAAmD;AACnD,uCAAmD;AAGnD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,cAAc,GAA4B,MAAM,eAAK,CAAC,GAAG,CAC7D,4BAAgB,CACjB,CAAC;IACF,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,UAAU,GAAoB,EAAE,CAAC;IACvC,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,wBAAe,EACf,4BAAgB,EAChB,IAAA,gCAAsB,GAAE,CACzB,CAAC;IACF,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAChC,UAAU,CAAC,IAAI,CAAC;QACd,GAAG,EAAE,4BAAgB,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE;QACjC,IAAI,EAAE,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;KACjD,CAAC,CACH,CAAC;IACF,KAAK,MAAM,OAAO,IAAI,+BAAmB,EAAE,CAAC;QAC1C,MAAM,gBAAgB,GAAG,MAAM,IAAA,iCAAwB,EACrD,MAAM,EACN,wBAAe,EACf,IAAI,mBAAS,CAAC,OAAO,CAAC,SAAS,CAAC,EAChC,IAAA,gCAAsB,GAAE,CACzB,CAAC;QACF,gBAAgB,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CACrC,UAAU,CAAC,IAAI,CAAC;YACd,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE;YACnC,GAAG,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE;YACjC,IAAI,EAAE,OAAO,CAAC,IAAI;SACnB,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM,UAAU,GAAc;QAC5B,WAAW,EAAE,cAAc,CAAC,IAAI;QAChC,UAAU;KACX,CAAC;IAEF,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE;QACtC,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AAEF,kBAAe,GAAG,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"realms.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/daos/structs/realms.ts"],"names":[],"mappings":";;;AAAA,oDAOmC;AACnC,kEAA6D;AAG7D,kDAAuD;AAEvD,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAM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C,CAAC,aAAa,EAAE,IAAA,4BAAqB,EAAC,8BAAsB,EAAE,CAAC,CAAC,CAAC;IACjE,CAAC,YAAY,EAAE,YAAG,CAAC;IACnB,CAAC,MAAM,EAAE,SAAE,CAAC;IACZ,CAAC,WAAW,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC,WAAW,EAAE,IAAA,4BAAqB,EAAC,YAAG,EAAE,EAAE,CAAC,CAAC;CAC9C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAiB,CAC5B,CAAC;AAQW,QAAA,gBAAgB,GAAG,IAAI,iBAAU,CAC5C;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,QAAQ,EAAE,uBAAS,CAAC;IACrB,CAAC,SAAS,EAAE,IAAA,4BAAqB,EAAC,UAAG,EAAE,EAAE,CAAC,CAAC;CAC5C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/types.ts"],"names":[],"mappings":""}
|
@@ -7,7 +7,7 @@ exports.platform = {
|
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'FlashTrade',
|
9
9
|
image: 'https://sonar.watch/img/platforms/flash.png',
|
10
|
-
|
10
|
+
defiLlamaId: 'flashtrade', // from https://defillama.com/docs/api
|
11
11
|
website: 'https://beast.flash.trade/',
|
12
12
|
twitter: 'https://twitter.com/FlashTrade_',
|
13
13
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flash/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,6CAA6C;IACpD,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flash/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,YAAY,EAAE,sCAAsC;IACjE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,iCAAiC;CAC3C,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG;IACxB,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,6CAA6C,CAAC;IAC5D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,UAAU,GAAG,SAAS,CAAC"}
|
@@ -9,6 +9,7 @@ exports.flexlendPlatform = {
|
|
9
9
|
image: 'https://sonar.watch/img/platforms/flexlend.png',
|
10
10
|
defiLlamaId: 'flexlend',
|
11
11
|
website: 'https://flexlend.fi/',
|
12
|
+
twitter: 'https://twitter.com/flexlend',
|
12
13
|
};
|
13
14
|
exports.flexProgramId = new web3_js_1.PublicKey('FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q');
|
14
15
|
exports.AUTOMATION_PUBLIC_KEY = new web3_js_1.PublicKey('8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flexlend/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,sBAAsB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flexlend/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,8BAA8B;CACxC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,8CAA8C,CAC/C,CAAC"}
|
@@ -7,8 +7,9 @@ exports.jupiterPlatform = {
|
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Jupiter',
|
9
9
|
image: 'https://sonar.watch/img/platforms/jupiter.png',
|
10
|
-
defiLlamaId: 'jupiter',
|
10
|
+
defiLlamaId: 'parent#jupiter',
|
11
11
|
website: 'https://jup.ag/',
|
12
|
+
twitter: 'https://twitter.com/JupiterExchange',
|
12
13
|
};
|
13
14
|
exports.jlpPool = new web3_js_1.PublicKey('5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq');
|
14
15
|
exports.jlpToken = new web3_js_1.PublicKey('27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC;AACW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,6CAA6C,CAC9C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,SAAS,GACpB,oFAAoF,CAAC;AAC1E,QAAA,YAAY,GAAG,WAAW,CAAC"}
|
@@ -28,13 +28,16 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
28
28
|
prefix: constants_1.platformId,
|
29
29
|
networkId: portfolio_core_1.NetworkId.solana,
|
30
30
|
});
|
31
|
-
const
|
32
|
-
?
|
33
|
-
:
|
34
|
-
const
|
35
|
-
|
36
|
-
|
37
|
-
|
31
|
+
const [lendingPdas, multiplyPdas] = markets
|
32
|
+
? [(0, pdas_1.getLendingPda)(owner, markets), (0, pdas_1.getMultiplyPdas)(owner, markets)]
|
33
|
+
: [[], []];
|
34
|
+
const leveragePdas = (0, pdas_1.getLeveragePdas)(owner);
|
35
|
+
const obligations = yield (0, solana_1.getParsedMultipleAccountsInfo)(client, klend_1.obligationStruct, [...lendingPdas, ...multiplyPdas, ...leveragePdas]);
|
36
|
+
if (!obligations.some((obli) => obli !== null))
|
37
|
+
return [];
|
38
|
+
const lendingAccounts = obligations.slice(0, lendingPdas.length);
|
39
|
+
const multiplyAccounts = obligations.slice(lendingPdas.length, lendingPdas.length + multiplyPdas.length);
|
40
|
+
const leverageAccounts = obligations.slice(lendingPdas.length + multiplyPdas.length, obligations.length);
|
38
41
|
if (!lendingAccounts && !multiplyAccounts && !leverageAccounts)
|
39
42
|
return [];
|
40
43
|
const reserves = yield cache.getItem(constants_1.reservesKey, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lendsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/lendsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,gEAAqC;AACrC,2CAKqB;AAGrB,iDAAsD;AACtD,2CAAmD;AACnD,qGAA6E;AAE7E,+CAAmE;AACnE,yCAIwB;AAExB,MAAM,eAAe,GAAG,kCAAkC,CAAC;AAE3D,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,SAAS,GAAG,0BAAS,CAAC,MAAM,CAAC;IAEnC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,OAAO,CAAW,sBAAU,EAAE;QACxD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CA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,IAAI,CAAC;gBACZ,IAAI,EAAE,qCAAoB,CAAC,UAAU;gBACrC,SAAS;gBACT,UAAU,EAAV,sBAAU;gBACV,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,UAAU;gBAChB,KAAK;gBACL,IAAI,EAAE;oBACJ,cAAc;oBACd,aAAa;oBACb,cAAc;oBACd,cAAc;oBACd,aAAa;oBACb,cAAc;oBACd,eAAe,EAAE,IAAI;oBAErB,WAAW,EAAE,IAAI;oBACjB,YAAY;oBACZ,WAAW;oBACX,KAAK;iBACN;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
1
|
+
{"version":3,"file":"lendsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/lendsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,gEAAqC;AACrC,2CAKqB;AAGrB,iDAAsD;AACtD,2CAAmD;AACnD,qGAA6E;AAE7E,+CAAmE;AACnE,yCAIwB;AAExB,MAAM,eAAe,GAAG,kCAAkC,CAAC;AAE3D,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,SAAS,GAAG,0BAAS,CAAC,MAAM,CAAC;IAEnC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,OAAO,CAAW,sBAAU,EAAE;QACxD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IAEH,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,GAAG,OAAO;QACzC,CAAC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CAAC,IAAA,yBAAQ,EAAC,OAAO,CAAC,SAAS,CAAC,EAAE;aAC/D,CAAC,CAAC;QACL,CAAC;QAED,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/D,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,GACxD,IAAA,wCAAuB,EACrB,cAAc,EACd,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,eAAe,CAChB,CAAC;YAEJ,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,qCAAoB,CAAC,UAAU;gBACrC,SAAS;gBACT,UAAU,EAAV,sBAAU;gBACV,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,UAAU;gBAChB,KAAK;gBACL,IAAI,EAAE;oBACJ,cAAc;oBACd,aAAa;oBACb,cAAc;oBACd,cAAc;oBACd,aAAa;oBACb,cAAc;oBACd,eAAe,EAAE,IAAI;oBAErB,WAAW,EAAE,IAAI;oBACjB,YAAY;oBACZ,WAAW;oBACX,KAAK;iBACN;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -24,6 +24,7 @@ const struct_1 = require("./struct");
|
|
24
24
|
const filters_1 = require("./filters");
|
25
25
|
const getTokensPricesMap_1 = __importDefault(require("../../utils/misc/getTokensPricesMap"));
|
26
26
|
const getLpTokenSourceRaw_1 = __importDefault(require("../../utils/misc/getLpTokenSourceRaw"));
|
27
|
+
const getLpUnderlyingTokenSource_1 = __importDefault(require("../../utils/misc/getLpUnderlyingTokenSource"));
|
27
28
|
const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
28
29
|
const client = (0, clients_1.getClientSolana)();
|
29
30
|
// Get all 2-tokens pool (permissionless)
|
@@ -86,7 +87,10 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
86
87
|
tokenAccountsMap.set(tokenAccount.pubkey.toString(), tokenAccount);
|
87
88
|
});
|
88
89
|
// Get all mints account
|
89
|
-
const mintsAccounts = yield (0, solana_1.getParsedMultipleAccountsInfo)(client, solana_1.mintAccountStruct,
|
90
|
+
const mintsAccounts = yield (0, solana_1.getParsedMultipleAccountsInfo)(client, solana_1.mintAccountStruct, [
|
91
|
+
...Array.from(lpMints),
|
92
|
+
...Array.from(tokensMint).map((tM) => new web3_js_1.PublicKey(tM)),
|
93
|
+
]);
|
90
94
|
const mintsAccountByAddress = new Map();
|
91
95
|
mintsAccounts.forEach((mintAccount) => {
|
92
96
|
if (!mintAccount)
|
@@ -99,8 +103,8 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
99
103
|
const bTokenMint = poolAccount.tokenBMint.toString();
|
100
104
|
const aTokenPrice = tokenPriceById.get(aTokenMint);
|
101
105
|
const bTokenPrice = tokenPriceById.get(bTokenMint);
|
102
|
-
|
103
|
-
|
106
|
+
const aMintAccount = mintsAccountByAddress.get(aTokenMint);
|
107
|
+
const bMintAccount = mintsAccountByAddress.get(bTokenMint);
|
104
108
|
const tAccountA = tokenAccountsMap.get(poolAccount.aVaultLp.toString());
|
105
109
|
const tAccountB = tokenAccountsMap.get(poolAccount.bVaultLp.toString());
|
106
110
|
if (!tAccountA || !tAccountB)
|
@@ -111,6 +115,24 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
111
115
|
const lpMintAccount = mintsAccountByAddress.get(lpMint);
|
112
116
|
if (!lpMintAccount)
|
113
117
|
continue;
|
118
|
+
if (aMintAccount && bMintAccount) {
|
119
|
+
const underlyingSource = (0, getLpUnderlyingTokenSource_1.default)(lpMint.toString(), portfolio_core_1.NetworkId.solana, {
|
120
|
+
address: aTokenMint,
|
121
|
+
decimals: aMintAccount.decimals,
|
122
|
+
reserveAmountRaw: tAccountA.amount,
|
123
|
+
tokenPrice: aTokenPrice,
|
124
|
+
}, {
|
125
|
+
address: bTokenMint,
|
126
|
+
decimals: bMintAccount.decimals,
|
127
|
+
reserveAmountRaw: tAccountB.amount,
|
128
|
+
tokenPrice: bTokenPrice,
|
129
|
+
});
|
130
|
+
if (underlyingSource) {
|
131
|
+
yield cache.setTokenPriceSource(underlyingSource);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
if (!bTokenPrice || !aTokenPrice)
|
135
|
+
continue;
|
114
136
|
const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint, constants_1.platformId, {
|
115
137
|
address: lpMint,
|
116
138
|
decimals: lpMintAccount.decimals,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAC5C,gEAAqC;AACrC,2CAAyD;AACzD,iDAAsD;AACtD,+CAO4B;AAC5B,mCAAgC;AAChC,gGAA6F;AAC7F,qCAAsD;AACtD,uCAAqE;AAGrE,6FAAoE;AACpE,+FAAuE;
|
1
|
+
{"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAC5C,gEAAqC;AACrC,2CAAyD;AACzD,iDAAsD;AACtD,+CAO4B;AAC5B,mCAAgC;AAChC,gGAA6F;AAC7F,qCAAsD;AACtD,uCAAqE;AAGrE,6FAAoE;AACpE,+FAAuE;AACvE,6GAAqF;AAErF,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,y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AAE,GAAG,yBAAyB,CAAC;QAEvD,IAAI,WAAW,IAAI,CAAC;YAAE,SAAS;QAC/B,MAAM,KAAK,GAAG,WAAW,GAAG,MAAM,CAAC;QAEnC,MAAM,KAAK,CAAC,mBAAmB,CAAC;YAC9B,EAAE,EAAE,sBAAU;YACd,MAAM,EAAE,CAAC;YACT,OAAO;YACP,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,QAAQ;YACR,KAAK;YACL,WAAW;YACX,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;YACrB,aAAa,EAAE,IAAI,CAAC,MAAM;SAC3B,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -6,8 +6,9 @@ exports.naviPlatform = {
|
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'NAVI',
|
8
8
|
image: `https://sonar.watch/img/platforms/${exports.platformId}.png`,
|
9
|
-
defiLlamaId: 'navi-protocol',
|
9
|
+
defiLlamaId: 'parent#navi-protocol',
|
10
10
|
website: 'https://www.naviprotocol.io/',
|
11
|
+
twitter: 'https://twitter.com/navi_protocol',
|
11
12
|
};
|
12
13
|
exports.reservesPrefix = exports.platformId;
|
13
14
|
exports.reservesKey = 'reserves';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,qCAAqC,kBAAU,MAAM;IAC5D,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,qCAAqC,kBAAU,MAAM;IAC5D,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,cAAc,GAAG,kBAAU,CAAC;AAC5B,QAAA,WAAW,GAAG,UAAU,CAAC;AAEzB,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAE1D,QAAA,UAAU,GAAG,EAAE,CAAC;AAEhB,QAAA,UAAU,GAAG;IACxB;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,8EAA8E;QACpF,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE,oEAAoE;QAC1E,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gFAAgF;QACtF,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE,oEAAoE;QAC1E,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gFAAgF;QACtF,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE,EAAE;QACR,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gFAAgF;QACtF,IAAI,EAAE,oEAAoE;QAC1E,WAAW,EACT,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,kFAAkF;QACxF,IAAI,EAAE,oEAAoE;QAC1E,WAAW,EACT,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;CACF,CAAC"}
|
@@ -7,7 +7,7 @@ exports.platform = {
|
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Pyth',
|
9
9
|
image: 'https://sonar.watch/img/platforms/pyth.png',
|
10
|
-
|
10
|
+
defiLlamaId: 'pyth-network', // from https://defillama.com/docs/api
|
11
11
|
website: 'https://staking.pyth.network/',
|
12
12
|
twitter: 'https://twitter.com/PythNetwork',
|
13
13
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,iCAAiC;CAC3C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,8CAA8C,CAAC"}
|
@@ -31,7 +31,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
31
31
|
if (market)
|
32
32
|
marketsByAddress.set(market.address.toString(), market);
|
33
33
|
});
|
34
|
-
marketsByAddress.forEach((marketInfo) => __awaiter(void 0, void 0, void 0, function* () {
|
34
|
+
yield marketsByAddress.forEach((marketInfo) => __awaiter(void 0, void 0, void 0, function* () {
|
35
35
|
if (!marketInfo)
|
36
36
|
return;
|
37
37
|
const seeds = [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"obligationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/solend/obligationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAyE;AACzE,6CAAyD;AAGzD,2CAA0E;AAC1E,uCAA0E;AAE1E,+CAG4B;AAC5B,iDAAsD;AACtD,uCAAyD;AACzD,gGAA6F;AAE7F,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,mBAAmB,GAAgB,EAAE,CAAC;IAE5C,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,OAAO,CAAe,sBAAU,EAAE;QAC5D,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IAExB,MAAM,gBAAgB,GAA4B,IAAI,GAAG,EAAE,CAAC;IAC5D,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;QACzB,IAAI,MAAM;YAAE,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,OAAO,CAAC,CAAO,UAAU,EAAE,EAAE;
|
1
|
+
{"version":3,"file":"obligationsFetcher.js","source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ACnB,gBAAgB,CACjB,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -18,7 +18,7 @@ const getRaydiumCLMMPositions_1 = require("../../raydium/getRaydiumCLMMPositions
|
|
18
18
|
const getWhirlpoolPositions_1 = require("../../orca/getWhirlpoolPositions");
|
19
19
|
const helpers_1 = require("../../raydium/helpers");
|
20
20
|
const helpers_2 = require("../../orca/helpers");
|
21
|
-
const helpers_3 = require("../../
|
21
|
+
const helpers_3 = require("../../daos/helpers");
|
22
22
|
const getSolanaDasEndpoint_1 = __importDefault(require("../../../utils/clients/getSolanaDasEndpoint"));
|
23
23
|
const getAssetsByOwnerDas_1 = require("../../../utils/solana/das/getAssetsByOwnerDas");
|
24
24
|
const heliusAssetToAssetCollectible_1 = require("../../../utils/solana/das/heliusAssetToAssetCollectible");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana-nfts-underlyings.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-nfts-underlyings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,4CAAoD;AAEpD,mFAAgF;AAChF,4EAAyE;AACzE,mDAA2D;AAC3D,gDAAsD;AACtD,
|
1
|
+
{"version":3,"file":"solana-nfts-underlyings.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-nfts-underlyings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,4CAAoD;AAEpD,mFAAgF;AAChF,4EAAyE;AACzE,mDAA2D;AAC3D,gDAAsD;AACtD,gDAG4B;AAC5B,uGAA+E;AAC/E,uFAAoF;AAEpF,2GAAwG;AASxG,gDAA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I,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,gBAAgB,GAAG,QAAQ,CAAC;AAE5B,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,wBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,yBAAyB;CACnC,CAAC;AAEW,QAAA,iBAAiB,GAAG,uBAAuB,CAAC;AAC5C,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,mBAAmB,GAAe;IAC7C;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,WAAW;QACpF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,QAAQ;QAClF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,QAAQ;QACjF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,aAAa;QACvF,IAAI,EAAE,8CAA8C;KACrD;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,oDAAoD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/realms/filters.ts"],"names":[],"mappings":";;;AAAA,6CAA2D;AAEpD,MAAM,kBAAkB,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;IACrD,EAAE,QAAQ,EAAE,mBAAU,CAAC,QAAQ,EAAE;IACjC;QACE,MAAM,EAAE;YACN,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,OAAO;SACf;KACF;CACF,CAAC;AARW,QAAA,kBAAkB,sBAQ7B;AAEK,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;IACtD,EAAE,QAAQ,EAAE,oBAAW,CAAC,QAAQ,EAAE;IAClC;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,OAAO;SACf;KACF;CACF,CAAC;AARW,QAAA,mBAAmB,uBAQ9B;AAEK,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAAC;IAC3C;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,GAAG;SACX;KACF;CACF,CAAC;AAPW,QAAA,uBAAuB,2BAOlC;AAEK,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC;AAAnD,QAAA,sBAAsB,0BAA6B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/realms/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AACrC,6CAA4C;AAG5C,6CAA8C;AAC9C,qGAA6E;AAC7E,2CAAyC;AAE5B,QAAA,aAAa,GAAG,8BAA8B,CAAC;AAE5D,SAAgB,iBAAiB,CAAC,GAA8B;IAC9D,OAAO,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,qBAAa,CAAC;AACzC,CAAC;AAFD,8CAEC;AAED,SAAgB,WAAW,CACzB,KAAa,EACb,SAAiB,EACjB,GAAW;IAEX,OAAO,mBAAS,CAAC,sBAAsB,CACrC;QACE,IAAI,mBAAS,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;QACnC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;QAC7B,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;KAChC,EACD,IAAI,mBAA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ACnB,UAAU;YACV,OAAO,EAAE,IAAI,sBAAS,CAAC,OAAO,CAAC;YAC/B,KAAK,EAAE,IAAI,sBAAS,CAAC,KAAK,CAAC;YAC3B,IAAI;YACJ,UAAU;YACV,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC;SACb,CAAC;IAC9B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/realms/index.ts"],"names":[],"mappings":";;;;;;AAGA,oFAAsD;AACtD,2CAA6D;AAC7D,4EAA8C;AAEjC,QAAA,IAAI,GAAU,CAAC,2BAAW,CAAC,CAAC;AAC5B,QAAA,QAAQ,GAAc,CAAC,+BAAe,CAAC,CAAC;AACxC,QAAA,SAAS,GAAe,CAAC,0BAAc,EAAE,0BAAc,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"realmsDepositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/realms/realmsDepositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,6CAA4C;AAG5C,2CAAyC;AACzC,iDAAsD;AACtD,+CAG4B;AAC5B,6CAA2D;AAC3D,uCAA+C;AAC/C,qGAA6E;AAC7E,uCAAwD;AAGxD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,OAAO,CAAY,MAAM,EAAE;QACvD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IAEH,IAAI,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;IAE1B,MAAM,cAAc,GAAG,SAAS,CAAC,WAAW,CAAC;IAC7C,MAAM,aAAa,G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AC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACvD,IAAI,EAAE;gBACJ,MAAM,EAAE,YAAY;aACrB;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"realmsProgramsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/realms/realmsProgramsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kDAA6C;AAC7C,+DAAuD;AACvD,6CAA4C;AAG5C,2CAKqB;AACrB,+CAA8D;AAC9D,iDAAsD;AACtD,6CAAmD;AACnD,uCAAmD;AAGnD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,cAAc,GAA4B,MAAM,eAAK,CAAC,GAAG,CAC7D,4BAAgB,CACjB,CAAC;IACF,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,UAAU,GAAoB,EAAE,CAAC;IACvC,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,wBAAe,EACf,4BAAgB,EAChB,IAAA,gCAAsB,GAAE,CACzB,CAAC;IACF,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAChC,UAAU,CAAC,IAAI,CAAC;QACd,GAAG,EAAE,4BAAgB,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE;QACjC,IAAI,EAAE,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;KACjD,CAAC,CACH,CAAC;IACF,KAAK,MAAM,OAAO,IAAI,+BAAmB,EAAE,CAAC;QAC1C,MAAM,gBAAgB,GAAG,MAAM,IAAA,iCAAwB,EACrD,MAAM,EACN,wBAAe,EACf,IAAI,mBAAS,CAAC,OAAO,CAAC,SAAS,CAAC,EAChC,IAAA,gCAAsB,GAAE,CACzB,CAAC;QACF,gBAAgB,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CACrC,UAAU,CAAC,IAAI,CAAC;YACd,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE;YACnC,GAAG,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE;YACjC,IAAI,EAAE,OAAO,CAAC,IAAI;SACnB,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM,UAAU,GAAc;QAC5B,WAAW,EAAE,cAAc,CAAC,IAAI;QAChC,UAAU;KACX,CAAC;IAEF,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE;QACtC,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AAEF,kBAAe,GAAG,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"realms.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/realms/structs/realms.ts"],"names":[],"mappings":";;;AAAA,oDAOmC;AACnC,kEAA6D;AAG7D,kDAAuD;AAEvD,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAM,CAAA;IACN,6CAAO,CAAA;IACP,iDAAS,CAAA;IACT,6CAAO,CAAA;IACP,mDAAU,CAAA;AACZ,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AASY,QAAA,YAAY,GAAG,IAAI,iBAAU,CACxC;IACE,CAAC,SAAS,EAAE,YA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SAAE,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC,WAAW,EAAE,IAAA,4BAAqB,EAAC,YAAG,EAAE,EAAE,CAAC,CAAC;CAC9C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAiB,CAC5B,CAAC;AAQW,QAAA,gBAAgB,GAAG,IAAI,iBAAU,CAC5C;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,QAAQ,EAAE,uBAAS,CAAC;IACrB,CAAC,SAAS,EAAE,IAAA,4BAAqB,EAAC,UAAG,EAAE,EAAE,CAAC,CAAC;CAC5C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/realms/types.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/spl-staking/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,mBAAmB,GAAG,WAAW,CAAC;AAClC,QAAA,iBAAiB,GAAa;IACzC,EAAE,EAAE,2BAAmB;IACvB,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,eAAe,GAAG,OAAO,CAAC;AAC1B,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,uBAAe;IACnB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,kCAAkC;IAC3C,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,cAAc,GAAG,MAAM,CAAC;AACxB,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,sBAAc;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,kBAAkB,GAAG,UAAU,CAAC;AAChC,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,0BAAkB;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,gCAAgC;IACzC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,GAAG,CAAC;IACpC,CAAC,8CAA8C,EAAE,uBAAe,CAAC;IACjE,CAAC,8CAA8C,EAAE,sBAAc,CAAC;IAChE,CAAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,0BAAkB,CAAC;CACrE,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/spl-staking/filters.ts"],"names":[],"mappings":";;;AAEO,MAAM,YAAY,GAAG,CAAC,KAAa,EAA8B,EAAE,CAAC;IACzE;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,KAAK;SACb;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AARW,QAAA,YAAY,gBAQvB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/spl-staking/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAgD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0,0 @@
|
|
1
|
-
{"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/spl-staking/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,2CAA6E;AAC7E,+CAA8D;AAC9D,uCAAsD;AACtD,uCAAyC;AACzC,iDAAsD;AACtD,qGAA6E;AAG7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO,CAAa,oBAAQ,EAAE;QACtD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAC;IAEtB,MAAM,UAAU,GAAwB,IAAI,GAAG,EAAE,CAAC;IAClD,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAEhE,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;IAE9C,MAAM,eAAe,GAAG,MAAM,KAAK,CAAC,mBAAmB,CACrD,KAAK,EACL,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,mCAAyB,EACzB,oBAAQ,EACR,IAAA,sBAAY,EAAC,KAAK,CAAC,CACpB,CAAC;IACF,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE1C,MAAM,gBAAgB,GAAkC,IAAI,GAAG,EAAE,CAAC;IAClE,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;QACz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ugins/spl-staking/types.ts"],"names":[],"mappings":""}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|