@sonarwatch/portfolio-plugins 0.14.160 → 0.14.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/plugins/banx/offersFetcher.js +2 -1
- package/src/plugins/banx/offersFetcher.js.map +1 -1
- package/src/plugins/ensofi/constants.d.ts +2 -1
- package/src/plugins/ensofi/constants.js +3 -2
- package/src/plugins/ensofi/constants.js.map +1 -1
- package/src/plugins/ensofi/index.js +6 -1
- package/src/plugins/ensofi/index.js.map +1 -1
- package/src/plugins/ensofi/liquidityIdl.d.ts +674 -0
- package/src/plugins/ensofi/liquidityIdl.js +3177 -0
- package/src/plugins/ensofi/liquidityIdl.js.map +1 -0
- package/src/plugins/ensofi/solanaLiquidityFetcher.d.ts +3 -0
- package/src/plugins/ensofi/solanaLiquidityFetcher.js +71 -0
- package/src/plugins/ensofi/solanaLiquidityFetcher.js.map +1 -0
- package/src/plugins/ensofi/solanaLoansFetcher.js +3 -3
- package/src/plugins/ensofi/solanaLoansFetcher.js.map +1 -1
- package/src/plugins/ensofi/solanaLoansJob.js +1 -1
- package/src/plugins/ensofi/solanaLoansJob.js.map +1 -1
- package/src/plugins/ensofi/structs.d.ts +66 -0
- package/src/plugins/ensofi/structs.js +64 -1
- package/src/plugins/ensofi/structs.js.map +1 -1
- package/src/plugins/pumpswap/constants.d.ts +5 -0
- package/src/plugins/pumpswap/constants.js +7 -0
- package/src/plugins/pumpswap/constants.js.map +1 -0
- package/src/plugins/pumpswap/index.d.ts +4 -0
- package/src/plugins/pumpswap/index.js +10 -0
- package/src/plugins/pumpswap/index.js.map +1 -0
- package/src/plugins/pumpswap/marketsJob.d.ts +3 -0
- package/src/plugins/pumpswap/marketsJob.js +99 -0
- package/src/plugins/pumpswap/marketsJob.js.map +1 -0
- package/src/plugins/pumpswap/structs.d.ts +18 -0
- package/src/plugins/pumpswap/structs.js +19 -0
- package/src/plugins/pumpswap/structs.js.map +1 -0
- package/src/plugins/stabble/structs.d.ts +12 -4
- package/src/plugins/stabble/structs.js +11 -4
- package/src/plugins/stabble/structs.js.map +1 -1
- package/src/plugins/tensor/powerUserAirdropFetcher.js +9 -15
- package/src/plugins/tensor/powerUserAirdropFetcher.js.map +1 -1
- package/src/utils/misc/getLpTokenSource.d.ts +3 -1
- package/src/utils/misc/getLpTokenSource.js +3 -1
- package/src/utils/misc/getLpTokenSource.js.map +1 -1
- package/src/utils/misc/getLpTokenSourceRaw.d.ts +3 -1
- package/src/utils/misc/getLpTokenSourceRaw.js +2 -0
- package/src/utils/misc/getLpTokenSourceRaw.js.map +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.14.161](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.160...plugins-0.14.161) (2025-03-27)
|
6
|
+
|
7
|
+
|
8
|
+
|
5
9
|
## [0.14.160](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.159...plugins-0.14.160) (2025-03-26)
|
6
10
|
|
7
11
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -184,6 +184,7 @@ const baskt = __importStar(require("./plugins/baskt"));
|
|
184
184
|
const guano = __importStar(require("./plugins/guano"));
|
185
185
|
const coingecko = __importStar(require("./plugins/coingecko"));
|
186
186
|
const zeus = __importStar(require("./plugins/zeus"));
|
187
|
+
const pumpswap = __importStar(require("./plugins/pumpswap"));
|
187
188
|
var getFetchersByAddressSystem_2 = require("./utils/misc/getFetchersByAddressSystem");
|
188
189
|
Object.defineProperty(exports, "getFetchersByAddressSystem", { enumerable: true, get: function () { return getFetchersByAddressSystem_2.getFetchersByAddressSystem; } });
|
189
190
|
__exportStar(require("./Cache"), exports);
|
@@ -354,6 +355,7 @@ const modules = [
|
|
354
355
|
guano,
|
355
356
|
coingecko,
|
356
357
|
zeus,
|
358
|
+
pumpswap,
|
357
359
|
];
|
358
360
|
// JOBS //
|
359
361
|
exports.jobs = modules
|
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;AAErF,UAAU;AACV,yDAA2C;AAC3C,oEAAsD;AACtD,mEAAqD;AACrD,6DAA+C;AAC/C,6DAA+C;AAC/C,uDAAyC;AACzC,qDAAuC;AACvC,2DAA6C;AAC7C,qDAAuC;AACvC,2DAA6C;AAC7C,uDAAyC;AACzC,yDAA2C;AAC3C,uDAAyC;AACzC,yDAA2C;AAC3C,yDAA2C;AAC3C,qDAAuC;AACvC,sEAAwD;AACxD,yDAA2C;AAC3C,uDAAyC;AACzC,uDAAyC;AACzC,gEAAkD;AAClD,gFAAkE;AAClE,mEAAqD;AACrD,+DAAiD;AACjD,iEAAmD;AACnD,mEAAqD;AACrD,uDAAyC;AACzC,yDAA2C;AAC3C,yDAA2C;AAC3C,qDAAuC;AACvC,2DAA6C;AAC7C,kEAAoD;AACpD,qDAAuC;AACvC,uDAAyC;AACzC,6DAA+C;AAC/C,6DAA+C;AAC/C,yDAA2C;AAC3C,2DAA6C;AAC7C,6DAA+C;AAC/C,6DAA+C;AAC/C,+DAAiD;AACjD,qDAAuC;AACvC,uDAAyC;AACzC,qDAAuC;AACvC,6DAA+C;AAC/C,2DAA6C;AAC7C,qDAAuC;AACvC,uDAAyC;AACzC,+DAAiD;AACjD,uDAAyC;AACzC,uDAAyC;AACzC,wDAA0C;AAC1C,2DAA6C;AAC7C,qDAAuC;AACvC,6DAA+C;AAC/C,qDAAuC;AACvC,+DAAiD;AACjD,iEAAmD;AACnD,uDAAyC;AACzC,uDAAyC;AACzC,qDAAuC;AACvC,4EAA8D;AAC9D,uDAAyC;AACzC,uDAAyC;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ACzC,uDAAyC;AACzC,uDAAyC;AACzC,yDAA2C;AAC3C,6DAA+C;AAC/C,uDAAyC;AACzC,uDAAyC;AACzC,uDAAyC;AACzC,+DAAiD;AACjD,qDAAuC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wFAAqF;AAErF,UAAU;AACV,yDAA2C;AAC3C,oEAAsD;AACtD,mEAAqD;AACrD,6DAA+C;AAC/C,6DAA+C;AAC/C,uDAAyC;AACzC,qDAAuC;AACvC,2DAA6C;AAC7C,qDAAuC;AACvC,2DAA6C;AAC7C,uDAAyC;AACzC,yDAA2C;AAC3C,uDAAyC;AACzC,yDAA2C;AAC3C,yDAA2C;AAC3C,qDAAuC;AACvC,sEAAwD;AACxD,yDAA2C;AAC3C,uDAAyC;AACzC,uDAAyC;AACzC,gEAAkD;AAClD,gFAAkE;AAClE,mEAAqD;AACrD,+DAAiD;AACjD,iEAAmD;AACnD,mEAAqD;AACrD,uDAAyC;AACzC,yDAA2C;AAC3C,yDAA2C;AAC3C,qDAAuC;AACvC,2DAA6C;AAC7C,kEAAoD;AACpD,qDAAuC;AACvC,uDAAyC;AACzC,6DAA+C;AAC/C,6DAA+C;AAC/C,yDAA2C;AAC3C,2DAA6C;AAC7C,6DAA+C;AAC/C,6DAA+C;AAC/C,+DAAiD;AACjD,qDAAuC;AACvC,uDAAyC;AACzC,qDAAuC;AACvC,6DAA+C;AAC/C,2DAA6C;AAC7C,qDAAuC;AACvC,uDAAyC;AACzC,+DAAiD;AACjD,uDAAyC;AACzC,uDAAyC;AACzC,wDAA0C;AAC1C,2DAA6C;AAC7C,qDAAuC;AACvC,6DAA+C;AAC/C,qDAAuC;AACvC,+DAAiD;AACjD,iEAAmD;AACnD,uDAAyC;AACzC,uDAAyC;AACzC,qDAAuC;AACvC,4EAA8D;AAC9D,uDAAyC;AACzC,uDAAyC;AACzC,mEA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,OAAO;KACvC,GAAG,CAAC,CAAC,MAAM,EAAa,EAAE;IACzB,IAAI,UAAU,IAAI,MAAM,EAAE,CAAC;QACzB,OAAO,MAAM,CAAC,QAAqB,CAAC;IACtC,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;KACD,IAAI,EAAE,CAAC;AACG,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC;AAE/D,QAAA,eAAe,GAAqB,OAAO;KACrD,GAAG,CAAC,CAAC,MAAM,EAAoB,EAAE;IAChC,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAAC;QAChC,OAAO,MAAM,CAAC,eAAmC,CAAC;IACpD,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;KACD,IAAI,EAAE,CAAC;AACG,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
|
@@ -22,7 +22,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
22
22
|
const accounts = (yield ParsedGpa_1.ParsedGpa.build(connection, structs_1.bondOfferv3Struct, constants_1.banxPid)
|
23
23
|
.addFilter('accountDiscriminator', [54, 96, 254, 195, 217, 91, 187, 104])
|
24
24
|
.addFilter('assetReceiver', new web3_js_1.PublicKey(owner))
|
25
|
-
.run()).filter((acc) => !acc.buyOrdersQuantity.isZero()
|
25
|
+
.run()).filter((acc) => !acc.buyOrdersQuantity.isZero() &&
|
26
|
+
acc.pairState !== structs_1.PairState.Perpetualmigrated);
|
26
27
|
if (accounts.length === 0)
|
27
28
|
return [];
|
28
29
|
const [splMarkets, nftMarkets] = yield Promise.all([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"offersFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/banx/offersFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAC5E,6CAA4C;AAG5C,iDAAsD;AACtD,+CAAoD;A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C,sBAAsB;SACvC,CAAC,CAAC;QAEH,IAAI,IAAI,GAAG,GACT,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC;YACnC,CAAC,CAAC,GAAG,OAAO,CAAC,iBAAiB,GAAG;YACjC,CAAC,CAAC,EACN,aAAa,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAEhE,IAAI,SAAS,EAAE,CAAC;YACd,IAAI,GAAG,GAAG,IAAI,OAAO,SAAS,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QACrD,CAAC;aAAM,IAAI,SAAS,EAAE,CAAC;YACrB,IAAI,GAAG,GAAG,IAAI,OAAO,SAAS,CAAC,cAAc,EAAE,CAAC;QAClD,CAAC;QAED,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -7,4 +7,5 @@ export declare const OfferType = "0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa
|
|
7
7
|
export declare const LoanType = "0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b68f2e5c::loan_registry::Loan";
|
8
8
|
export declare const offersCacheKey = "offers";
|
9
9
|
export declare const loansCacheKey = "loans";
|
10
|
-
export declare const
|
10
|
+
export declare const ensofiLendingProgramId: PublicKey;
|
11
|
+
export declare const ensofiLiquidityPid: PublicKey;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.ensofiLiquidityPid = exports.ensofiLendingProgramId = exports.loansCacheKey = exports.offersCacheKey = exports.LoanType = exports.OfferType = exports.State = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'ensofi';
|
6
6
|
// sui sc : https://github.com/Ensofi-xyz/lending_smart_contract/tree/main/sui_smartcontract/sources
|
@@ -9,5 +9,6 @@ exports.OfferType = '0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b
|
|
9
9
|
exports.LoanType = '0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b68f2e5c::loan_registry::Loan';
|
10
10
|
exports.offersCacheKey = 'offers';
|
11
11
|
exports.loansCacheKey = 'loans';
|
12
|
-
exports.
|
12
|
+
exports.ensofiLendingProgramId = new web3_js_1.PublicKey('ensoQXKf4MvNuEC3M9xmcqUqgucFNd5UzAonDdUtgqn');
|
13
|
+
exports.ensofiLiquidityPid = new web3_js_1.PublicKey('ensSuXMeaUhRC7Re3ukaxLcX2E4qmd2LZxbxsK9XcWz');
|
13
14
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEnC,oGAAoG;AACvF,QAAA,KAAK,GAChB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,2FAA2F,CAAC;AACjF,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEnC,oGAAoG;AACvF,QAAA,KAAK,GAChB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,2FAA2F,CAAC;AACjF,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,sBAAsB,GAAG,IAAI,mBAAS,CACjD,6CAA6C,CAC9C,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,6CAA6C,CAC9C,CAAC"}
|
@@ -8,6 +8,11 @@ const suiLoansJob_1 = __importDefault(require("./suiLoansJob"));
|
|
8
8
|
const suiLoansFetcher_1 = __importDefault(require("./suiLoansFetcher"));
|
9
9
|
const solanaLoansFetcher_1 = __importDefault(require("./solanaLoansFetcher"));
|
10
10
|
const solanaLoansJob_1 = __importDefault(require("./solanaLoansJob"));
|
11
|
+
const solanaLiquidityFetcher_1 = __importDefault(require("./solanaLiquidityFetcher"));
|
11
12
|
exports.jobs = [suiLoansJob_1.default, solanaLoansJob_1.default];
|
12
|
-
exports.fetchers = [
|
13
|
+
exports.fetchers = [
|
14
|
+
suiLoansFetcher_1.default,
|
15
|
+
solanaLoansFetcher_1.default,
|
16
|
+
solanaLiquidityFetcher_1.default,
|
17
|
+
];
|
13
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/index.ts"],"names":[],"mappings":";;;;;;AAEA,gEAAwC;AACxC,wEAAgD;AAChD,8EAAsD;AACtD,sEAA8C;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/index.ts"],"names":[],"mappings":";;;;;;AAEA,gEAAwC;AACxC,wEAAgD;AAChD,8EAAsD;AACtD,sEAA8C;AAC9C,sFAA8D;AAEjD,QAAA,IAAI,GAAU,CAAC,qBAAW,EAAE,wBAAc,CAAC,CAAC;AAC5C,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,4BAAkB;IAClB,gCAAsB;CACvB,CAAC"}
|