@sonarwatch/portfolio-plugins 0.12.120 → 0.12.122
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2197 -2189
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/index.js +5 -6
- package/src/index.js.map +1 -1
- package/src/plugins/balancer/helpers/pools.js +21 -21
- package/src/plugins/foo/airdropFetcher.d.ts +2 -2
- package/src/plugins/foo/airdropFetcher.js +3 -2
- package/src/plugins/foo/airdropFetcher.js.map +1 -1
- package/src/plugins/foo/index.d.ts +2 -2
- package/src/plugins/foo/index.js +4 -8
- package/src/plugins/foo/index.js.map +1 -1
- package/src/plugins/kamino/airdropFetcher.d.ts +4 -0
- package/src/plugins/kamino/airdropFetcher.js +43 -0
- package/src/plugins/kamino/airdropFetcher.js.map +1 -0
- package/src/plugins/kamino/constants.d.ts +2 -0
- package/src/plugins/kamino/constants.js +11 -1
- package/src/plugins/kamino/constants.js.map +1 -1
- package/src/plugins/kamino/index.d.ts +2 -0
- package/src/plugins/kamino/index.js +4 -2
- package/src/plugins/kamino/index.js.map +1 -1
- package/src/plugins/kamino/types.d.ts +4 -0
- package/src/plugins/orca/constants.d.ts +2 -0
- package/src/plugins/orca/constants.js +8 -1
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orca/index.js +1 -1
- package/src/plugins/orca/index.js.map +1 -1
- package/src/plugins/orca/lpTokensJob.js +101 -80
- package/src/plugins/orca/lpTokensJob.js.map +1 -1
- package/src/plugins/sushiswap/helpers.js +24 -24
- package/src/plugins/uniswap-v2/helpers.js +22 -22
- package/src/utils/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
package/README.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
# @sonarwatch/portfolio-plugins
|
2
|
-
|
3
|
-
This library is @sonarwatch/portfolio-plugins
|
1
|
+
# @sonarwatch/portfolio-plugins
|
2
|
+
|
3
|
+
This library is @sonarwatch/portfolio-plugins
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -129,7 +129,6 @@ const famousfoxfederation_1 = require("./plugins/famousfoxfederation");
|
|
129
129
|
const nxfinance_1 = require("./plugins/nxfinance");
|
130
130
|
const echelon_1 = require("./plugins/echelon");
|
131
131
|
const solayer_1 = require("./plugins/solayer");
|
132
|
-
const foo_1 = require("./plugins/foo");
|
133
132
|
const picasso_1 = require("./plugins/picasso");
|
134
133
|
var constants_1 = require("./plugins/tokens/constants");
|
135
134
|
Object.defineProperty(exports, "walletTokensPlatform", { enumerable: true, get: function () { return constants_1.walletTokensPlatform; } });
|
@@ -471,11 +470,11 @@ exports.fetchers = [
|
|
471
470
|
];
|
472
471
|
exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
|
473
472
|
exports.airdropFetchers = [
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
473
|
+
...jupiter_1.airdropFetchers,
|
474
|
+
...kamino_1.airdropFetchers,
|
475
|
+
drift_1.airdropFetcher,
|
476
|
+
parcl_1.airdropFetcher,
|
477
|
+
sanctum_1.airdropFetcher,
|
479
478
|
];
|
480
479
|
exports.airdropFetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.airdropFetchers);
|
481
480
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,sEAA8C;AAC9C,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAG0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,2DAGiC;AACjC,6CAI0B;AAC1B,2CAKyB;AACzB,2CAIyB;AACzB,qDAA6D;AAC7D,qEAIsC;AACtC,uDAI+B;AAC/B,mDAI6B;AAC7B,qDAG8B;AAC9B,uDAG+B;AAC/B,2CAIyB;AACzB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,sEAA8C;AAC9C,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAG0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,2DAGiC;AACjC,6CAI0B;AAC1B,2CAKyB;AACzB,2CAIyB;AACzB,qDAA6D;AAC7D,qEAIsC;AACtC,uDAI+B;AAC/B,mDAI6B;AAC7B,qDAG8B;AAC9B,uDAG+B;AAC/B,2CAIyB;AACzB,6CAK0B;AAC1B,6CAG0B;AAC1B,yCAIwB;AACxB,+CAI2B;AAC3B,uDAG+B;AAC/B,yCAGwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,6CAI0B;AAC1B,+CAI2B;AAC3B,qDAG8B;AAC9B,iDAI4B;AAC5B,iDAI4B;AAC5B,mDAG6B;AAC7B,yCAIwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,+CAK2B;AAC3B,yCAIwB;AACxB,2CAIyB;AACzB,mDAI6B;AAC7B,2CAIyB;AACzB,2CAIyB;AACzB,sCAIsB;AACtB,+CAI2B;AAC3B,yCAIwB;AACxB,iDAI4B;AAC5B,yCAIwB;AACxB,mDAI6B;AAC7B,qDAI8B;AAC9B,2CAIyB;AACzB,2CAKyB;AACzB,yCAIwB;AAC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-36,27 +36,27 @@ exports.getBalancerPoolsV2 = void 0;
|
|
36
36
|
const graphql_request_1 = __importStar(require("graphql-request"));
|
37
37
|
function getBalancerPoolsV2(url) {
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
39
|
-
const query = (0, graphql_request_1.gql) `
|
40
|
-
query pools {
|
41
|
-
pools(
|
42
|
-
first: 1000
|
43
|
-
orderBy: totalLiquidity
|
44
|
-
orderDirection: desc
|
45
|
-
where: { totalLiquidity_gt: "500" }
|
46
|
-
) {
|
47
|
-
id
|
48
|
-
address
|
49
|
-
symbol
|
50
|
-
totalLiquidity
|
51
|
-
totalShares
|
52
|
-
tokens {
|
53
|
-
balance
|
54
|
-
decimals
|
55
|
-
symbol
|
56
|
-
address
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
39
|
+
const query = (0, graphql_request_1.gql) `
|
40
|
+
query pools {
|
41
|
+
pools(
|
42
|
+
first: 1000
|
43
|
+
orderBy: totalLiquidity
|
44
|
+
orderDirection: desc
|
45
|
+
where: { totalLiquidity_gt: "500" }
|
46
|
+
) {
|
47
|
+
id
|
48
|
+
address
|
49
|
+
symbol
|
50
|
+
totalLiquidity
|
51
|
+
totalShares
|
52
|
+
tokens {
|
53
|
+
balance
|
54
|
+
decimals
|
55
|
+
symbol
|
56
|
+
address
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
60
|
`;
|
61
61
|
const res = yield (0, graphql_request_1.default)(url, query);
|
62
62
|
const pools = res.pools;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { AirdropFetcher } from '../../AirdropFetcher';
|
2
|
-
declare const airdropFetcher: AirdropFetcher;
|
3
|
-
export
|
2
|
+
export declare const airdropFetcher: AirdropFetcher;
|
3
|
+
export declare const fetcher: import("../..").Fetcher;
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
9
9
|
});
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.fetcher = exports.airdropFetcher = void 0;
|
12
13
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
13
14
|
const AirdropFetcher_1 = require("../../AirdropFetcher");
|
14
15
|
const constants_1 = require("./constants");
|
@@ -21,10 +22,10 @@ const executor = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
21
22
|
],
|
22
23
|
});
|
23
24
|
});
|
24
|
-
|
25
|
+
exports.airdropFetcher = {
|
25
26
|
id: constants_1.airdropStatics.id,
|
26
27
|
networkId: portfolio_core_1.NetworkId.solana,
|
27
28
|
executor,
|
28
29
|
};
|
29
|
-
exports.
|
30
|
+
exports.fetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(exports.airdropFetcher, constants_1.platform.id, 'foo-airdrop', constants_1.airdropStatics.claimEnd);
|
30
31
|
//# sourceMappingURL=airdropFetcher.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/airdropFetcher.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAAuD;AACvD,yDAK8B;AAC9B,2CAAuD;AACvD,+CAAoD;AAEpD,MAAM,QAAQ,GAA2B,GAAS,EAAE;IAClD,OAAA,IAAA,8BAAa,EAAC;QACZ,OAAO,EAAE,0BAAc;QACvB,KAAK,EAAE;YACL,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAc,EAAE;SACzE;KACF,CAAC,CAAA;EAAA,CAAC;AAEQ,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AACW,QAAA,OAAO,GAAG,IAAA,wCAAuB,EAC5C,sBAAc,EACd,oBAAQ,CAAC,EAAE,EACX,aAAa,EACb,0BAAc,CAAC,QAAQ,CACxB,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
import { Fetcher } from '../../Fetcher';
|
3
3
|
import { Job } from '../../Job';
|
4
|
-
import airdropFetcher from './airdropFetcher';
|
4
|
+
import { airdropFetcher as s1AirdropFetcher } from './airdropFetcher';
|
5
5
|
export declare const platforms: Platform[];
|
6
6
|
export declare const jobs: Job[];
|
7
7
|
export declare const fetchers: Fetcher[];
|
8
|
-
export {
|
8
|
+
export { s1AirdropFetcher };
|
package/src/plugins/foo/index.js
CHANGED
@@ -3,17 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
6
|
+
exports.s1AirdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const constants_1 = require("./constants");
|
8
8
|
const marketsJob_1 = __importDefault(require("./marketsJob"));
|
9
9
|
const positionsFetcher_1 = __importDefault(require("./positionsFetcher"));
|
10
|
-
const airdropFetcher_1 =
|
11
|
-
exports
|
12
|
-
const AirdropFetcher_1 = require("../../AirdropFetcher");
|
10
|
+
const airdropFetcher_1 = require("./airdropFetcher");
|
11
|
+
Object.defineProperty(exports, "s1AirdropFetcher", { enumerable: true, get: function () { return airdropFetcher_1.airdropFetcher; } });
|
13
12
|
exports.platforms = [constants_1.platform];
|
14
13
|
exports.jobs = [marketsJob_1.default];
|
15
|
-
exports.fetchers = [
|
16
|
-
positionsFetcher_1.default,
|
17
|
-
(0, AirdropFetcher_1.airdropFetcherToFetcher)(airdropFetcher_1.default, constants_1.platform.id, 'foo-airdrop', constants_1.airdropStatics.claimEnd),
|
18
|
-
];
|
14
|
+
exports.fetchers = [positionsFetcher_1.default, airdropFetcher_1.fetcher];
|
19
15
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/index.ts"],"names":[],"mappings":";;;;;;AAGA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,8DAAsC;AACtC,0EAAkD;AAClD,qDAG0B;AAKjB,iGAPW,+BAAgB,OAOX;AAHZ,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,0BAAgB,EAAE,wBAAS,CAAC,CAAC"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.fetcher = exports.airdropFetcher = void 0;
|
16
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
17
|
+
const axios_1 = __importDefault(require("axios"));
|
18
|
+
const AirdropFetcher_1 = require("../../AirdropFetcher");
|
19
|
+
const constants_1 = require("./constants");
|
20
|
+
const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
21
|
+
const response = yield axios_1.default.get(`https://api.hubbleprotocol.io/v2/airdrop/users/${owner}/allocations?source=Season2`, { timeout: 4000 });
|
22
|
+
const { quantity } = response.data.find((i) => i.name === 'main_allocation') || { quantity: '0' };
|
23
|
+
return (0, AirdropFetcher_1.getAirdropRaw)({
|
24
|
+
statics: constants_1.airdropStaticsS2,
|
25
|
+
items: [
|
26
|
+
{
|
27
|
+
amount: Number(quantity),
|
28
|
+
isClaimed: null,
|
29
|
+
label: 'KMNO',
|
30
|
+
address: constants_1.kmnoMint,
|
31
|
+
},
|
32
|
+
],
|
33
|
+
});
|
34
|
+
});
|
35
|
+
const airdropFetcher = {
|
36
|
+
id: constants_1.airdropStaticsS2.id,
|
37
|
+
networkId: portfolio_core_1.NetworkId.solana,
|
38
|
+
executor,
|
39
|
+
};
|
40
|
+
exports.airdropFetcher = airdropFetcher;
|
41
|
+
const fetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(airdropFetcher, constants_1.platform.id, `${constants_1.platform.id}-airdrop-s2`, constants_1.airdropStaticsS2.claimEnd);
|
42
|
+
exports.fetcher = fetcher;
|
43
|
+
//# sourceMappingURL=airdropFetcher.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAC7C,yDAK8B;AAC9B,2CAAmE;AAGnE,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,QAAQ,GAAG,MAAM,eAAK,CAAC,GAAG,CAC9B,kDAAkD,KAAK,6BAA6B,EACpF,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB,CAAC;IAEF,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CACrC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,iBAAiB,CACpC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;IAEvB,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,4BAAgB;QACzB,KAAK,EAAE;YACL;gBACE,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;gBACxB,SAAS,EAAE,IAAI;gBACf,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,oBAAQ;aAClB;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AACF,MAAM,cAAc,GAAmB;IACrC,EAAE,EAAE,4BAAgB,CAAC,EAAE;IACvB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AASO,wCAAc;AAPvB,MAAM,OAAO,GAAG,IAAA,wCAAuB,EACrC,cAAc,EACd,oBAAQ,CAAC,EAAE,EACX,GAAG,oBAAQ,CAAC,EAAE,aAAa,EAC3B,4BAAgB,CAAC,QAAQ,CAC1B,CAAC;AAEuB,0BAAO"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
import { LendingMarketConfig } from './types';
|
4
|
+
import { AirdropStatics } from '../../AirdropFetcher';
|
4
5
|
export declare const platformId = "kamino";
|
5
6
|
export declare const platform: Platform;
|
6
7
|
export declare const kmnoMint = "KMNo3nJsBXfcpJTVhZcXLW7RmTwTt4GVFE7suUBo9sS";
|
@@ -14,3 +15,4 @@ export declare const mainMarket = "7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
|
|
14
15
|
export declare const lendingConfigs: Map<string, LendingMarketConfig>;
|
15
16
|
export declare const marketsKey = "markets";
|
16
17
|
export declare const reservesKey = "reserves";
|
18
|
+
export declare const airdropStaticsS2: AirdropStatics;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.reservesKey = exports.marketsKey = exports.lendingConfigs = exports.mainMarket = exports.farmsKey = exports.farmProgramId = exports.klendProgramId = exports.allocationApiUrl = exports.programId = exports.kmnoDecimals = exports.kmnoMint = exports.platform = exports.platformId = void 0;
|
3
|
+
exports.airdropStaticsS2 = exports.reservesKey = exports.marketsKey = exports.lendingConfigs = exports.mainMarket = exports.farmsKey = exports.farmProgramId = exports.klendProgramId = exports.allocationApiUrl = exports.programId = exports.kmnoDecimals = exports.kmnoMint = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'kamino';
|
6
6
|
exports.platform = {
|
@@ -86,4 +86,14 @@ exports.lendingConfigs = new Map([
|
|
86
86
|
]);
|
87
87
|
exports.marketsKey = `markets`;
|
88
88
|
exports.reservesKey = `reserves`;
|
89
|
+
exports.airdropStaticsS2 = {
|
90
|
+
claimStart: 1721400000000,
|
91
|
+
claimEnd: undefined,
|
92
|
+
id: 'kamino-s2',
|
93
|
+
emitterName: 'Kamino',
|
94
|
+
emitterLink: 'https://app.kamino.finance/',
|
95
|
+
claimLink: 'https://app.kamino.finance/season-2-airdrop',
|
96
|
+
image: 'https://sonar.watch/img/platforms/kamino.webp',
|
97
|
+
name: 'S2',
|
98
|
+
};
|
89
99
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAK/B,QAAA,UAAU,GAAG,QAAQ,CAAC;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8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;aACF;SACF;KACF;IACD,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IACxE,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;CAC9E,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,gBAAgB,GAAmB;IAC9C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,SAAS;IACnB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,6BAA6B;IAC1C,SAAS,EAAE,6CAA6C;IACxD,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,IAAI;CACX,CAAC"}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
import { Fetcher } from '../../Fetcher';
|
3
|
+
import { AirdropFetcher } from '../../AirdropFetcher';
|
3
4
|
import { Job } from '../../Job';
|
4
5
|
export declare const platforms: Platform[];
|
5
6
|
export declare const jobs: Job[];
|
6
7
|
export declare const fetchers: Fetcher[];
|
8
|
+
export declare const airdropFetchers: AirdropFetcher[];
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
6
|
+
exports.airdropFetchers = 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 farmsJob_1 = __importDefault(require("./farmsJob"));
|
@@ -11,7 +11,9 @@ const reservesJob_1 = __importDefault(require("./reservesJob"));
|
|
11
11
|
const marketsJob_1 = __importDefault(require("./marketsJob"));
|
12
12
|
const lendsFetcher_1 = __importDefault(require("./lendsFetcher"));
|
13
13
|
const farmsFetcher_1 = __importDefault(require("./farmsFetcher"));
|
14
|
+
const airdropFetcher_1 = require("./airdropFetcher");
|
14
15
|
exports.platforms = [constants_1.platform];
|
15
16
|
exports.jobs = [poolsJob_1.default, reservesJob_1.default, farmsJob_1.default, marketsJob_1.default];
|
16
|
-
exports.fetchers = [lendsFetcher_1.default, farmsFetcher_1.default];
|
17
|
+
exports.fetchers = [lendsFetcher_1.default, farmsFetcher_1.default, airdropFetcher_1.fetcher];
|
18
|
+
exports.airdropFetchers = [airdropFetcher_1.airdropFetcher];
|
17
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,0DAAkC;AAClC,0DAAkC;AAClC,gEAAwC;AACxC,8DAAsC;AACtC,kEAA0C;AAC1C,kEAA0C;AAC1C,qDAG0B;AAEb,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,qBAAW,EAAE,kBAAQ,EAAE,oBAAU,CAAC,CAAC;AAC5D,QAAA,QAAQ,GAAc,CAAC,sBAAY,EAAE,sBAAY,EAAE,wBAAS,CAAC,CAAC;AAC9D,QAAA,eAAe,GAAqB,CAAC,+BAAgB,CAAC,CAAC"}
|
@@ -2,6 +2,8 @@ import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
export declare const platformId = "orca";
|
4
4
|
export declare const platform: Platform;
|
5
|
+
export declare const orcaStakingPlatformId = "orca-staking";
|
6
|
+
export declare const orcaStakingPlatform: Platform;
|
5
7
|
export declare const poolsProgram: PublicKey;
|
6
8
|
export declare const aquafarmsProgram: PublicKey;
|
7
9
|
export declare const positionsIdentifier = "Orca Whirlpool Position";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.whirlpoolProgram = exports.whirlpoolPrefix = exports.positionsIdentifier = exports.aquafarmsProgram = exports.poolsProgram = exports.platform = exports.platformId = void 0;
|
3
|
+
exports.whirlpoolProgram = exports.whirlpoolPrefix = exports.positionsIdentifier = exports.aquafarmsProgram = exports.poolsProgram = exports.orcaStakingPlatform = exports.orcaStakingPlatformId = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'orca';
|
6
6
|
exports.platform = {
|
@@ -10,6 +10,13 @@ exports.platform = {
|
|
10
10
|
defiLlamaId: 'orca',
|
11
11
|
website: 'https://www.orca.so/',
|
12
12
|
};
|
13
|
+
exports.orcaStakingPlatformId = 'orca-staking';
|
14
|
+
exports.orcaStakingPlatform = {
|
15
|
+
id: exports.orcaStakingPlatformId,
|
16
|
+
name: 'Orca Staking',
|
17
|
+
image: 'https://sonar.watch/img/platforms/orca.webp',
|
18
|
+
website: 'https://v1.orca.so/staking',
|
19
|
+
};
|
13
20
|
exports.poolsProgram = new web3_js_1.PublicKey('9W959DqEETiGZocYWCQPaJ6sBmUzgfxXfqGeTEdp3aQP');
|
14
21
|
exports.aquafarmsProgram = new web3_js_1.PublicKey('82yxjeMsvaURa4MbZZ7WZZHfobirZYkH1zF8fmeGtyaQ');
|
15
22
|
exports.positionsIdentifier = 'Orca Whirlpool Position';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/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,6CAA6C;IACpD,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;CAChC,CAAC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/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,6CAA6C;IACpD,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEW,QAAA,qBAAqB,GAAG,cAAc,CAAC;AACvC,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,6BAAqB;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG,yBAAyB,CAAC;AAChD,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
|
@@ -7,7 +7,7 @@ exports.fetchers = exports.jobs = exports.platforms = void 0;
|
|
7
7
|
const lpTokensJob_1 = __importDefault(require("./lpTokensJob"));
|
8
8
|
const whirlpoolsJob_1 = __importDefault(require("./whirlpoolsJob"));
|
9
9
|
const constants_1 = require("./constants");
|
10
|
-
exports.platforms = [constants_1.platform];
|
10
|
+
exports.platforms = [constants_1.platform, constants_1.orcaStakingPlatform];
|
11
11
|
exports.jobs = [whirlpoolsJob_1.default, lpTokensJob_1.default];
|
12
12
|
exports.fetchers = [];
|
13
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/index.ts"],"names":[],"mappings":";;;;;;AACA,gEAAkC;AAGlC,oEAA2C;AAC3C,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/index.ts"],"names":[],"mappings":";;;;;;AACA,gEAAkC;AAGlC,oEAA2C;AAC3C,2CAA4D;AAE/C,QAAA,SAAS,GAAe,CAAC,oBAAQ,EAAE,+BAAmB,CAAC,CAAC;AACxD,QAAA,IAAI,GAAU,CAAC,uBAAY,EAAE,qBAAK,CAAC,CAAC;AACpC,QAAA,QAAQ,GAAc,EAAE,CAAC"}
|