@sonarwatch/portfolio-plugins 0.7.0 → 0.7.1
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 +2 -2
- package/src/index.d.ts +0 -1
- package/src/index.js +30 -15
- package/src/index.js.map +1 -1
- package/src/plugins/aave/constants.d.ts +2 -1
- package/src/plugins/aave/constants.js +6 -1
- package/src/plugins/aave/constants.js.map +1 -1
- package/src/plugins/aave/index.d.ts +2 -0
- package/src/plugins/aave/index.js +2 -1
- package/src/plugins/aave/index.js.map +1 -1
- package/src/plugins/aftermath/constants.d.ts +2 -0
- package/src/plugins/aftermath/constants.js +6 -1
- package/src/plugins/aftermath/constants.js.map +1 -1
- package/src/plugins/aftermath/index.d.ts +2 -0
- package/src/plugins/aftermath/index.js +3 -1
- package/src/plugins/aftermath/index.js.map +1 -1
- package/src/plugins/astroport/constants.d.ts +2 -0
- package/src/plugins/astroport/constants.js +6 -1
- package/src/plugins/astroport/constants.js.map +1 -1
- package/src/plugins/astroport/index.d.ts +2 -0
- package/src/plugins/astroport/index.js +3 -1
- package/src/plugins/astroport/index.js.map +1 -1
- package/src/plugins/auxexchange/constants.d.ts +2 -0
- package/src/plugins/auxexchange/constants.js +6 -1
- package/src/plugins/auxexchange/constants.js.map +1 -1
- package/src/plugins/auxexchange/index.d.ts +2 -0
- package/src/plugins/auxexchange/index.js +3 -1
- package/src/plugins/auxexchange/index.js.map +1 -1
- package/src/plugins/cetus/constants.d.ts +2 -0
- package/src/plugins/cetus/constants.js +6 -1
- package/src/plugins/cetus/constants.js.map +1 -1
- package/src/plugins/cetus/index.d.ts +2 -0
- package/src/plugins/cetus/index.js +3 -1
- package/src/plugins/cetus/index.js.map +1 -1
- package/src/plugins/drift/constants.d.ts +2 -0
- package/src/plugins/drift/constants.js +6 -1
- package/src/plugins/drift/constants.js.map +1 -1
- package/src/plugins/drift/index.d.ts +2 -0
- package/src/plugins/drift/index.js +3 -1
- package/src/plugins/drift/index.js.map +1 -1
- package/src/plugins/liquiditypools-sei/constants.d.ts +4 -1
- package/src/plugins/liquiditypools-sei/constants.js +16 -7
- package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
- package/src/plugins/liquiditypools-sei/fetcher.js +1 -1
- package/src/plugins/liquiditypools-sei/fetcher.js.map +1 -1
- package/src/plugins/liquiditypools-sei/index.d.ts +2 -0
- package/src/plugins/liquiditypools-sei/index.js +3 -1
- package/src/plugins/liquiditypools-sei/index.js.map +1 -1
- package/src/plugins/liquiditypools-sei/job.js +1 -1
- package/src/plugins/liquiditypools-sei/job.js.map +1 -1
- package/src/plugins/liquidswap/constants.d.ts +2 -0
- package/src/plugins/liquidswap/constants.js +6 -1
- package/src/plugins/liquidswap/constants.js.map +1 -1
- package/src/plugins/liquidswap/index.d.ts +2 -0
- package/src/plugins/liquidswap/index.js +3 -1
- package/src/plugins/liquidswap/index.js.map +1 -1
- package/src/plugins/maker/sdaiJob.js +2 -2
- package/src/plugins/maker/sdaiJob.js.map +1 -1
- package/src/plugins/mango/constants.d.ts +2 -0
- package/src/plugins/mango/constants.js +6 -1
- package/src/plugins/mango/constants.js.map +1 -1
- package/src/plugins/mango/index.d.ts +2 -0
- package/src/plugins/mango/index.js +3 -1
- package/src/plugins/mango/index.js.map +1 -1
- package/src/plugins/marginfi/constants.d.ts +2 -0
- package/src/plugins/marginfi/constants.js +6 -1
- package/src/plugins/marginfi/constants.js.map +1 -1
- package/src/plugins/marginfi/index.d.ts +2 -0
- package/src/plugins/marginfi/index.js +3 -1
- package/src/plugins/marginfi/index.js.map +1 -1
- package/src/plugins/marinade/constants.d.ts +3 -1
- package/src/plugins/marinade/constants.js +7 -3
- package/src/plugins/marinade/constants.js.map +1 -1
- package/src/plugins/marinade/index.d.ts +2 -0
- package/src/plugins/marinade/index.js +3 -1
- package/src/plugins/marinade/index.js.map +1 -1
- package/src/plugins/meteora/constants.d.ts +2 -0
- package/src/plugins/meteora/constants.js +6 -1
- package/src/plugins/meteora/constants.js.map +1 -1
- package/src/plugins/meteora/index.d.ts +2 -0
- package/src/plugins/meteora/index.js +3 -1
- package/src/plugins/meteora/index.js.map +1 -1
- package/src/plugins/morpho/constants.d.ts +2 -0
- package/src/plugins/morpho/constants.js +6 -1
- package/src/plugins/morpho/constants.js.map +1 -1
- package/src/plugins/morpho/index.d.ts +2 -0
- package/src/plugins/morpho/index.js +3 -1
- package/src/plugins/morpho/index.js.map +1 -1
- package/src/plugins/native-stake/aptosFetcher.js +1 -2
- package/src/plugins/native-stake/aptosFetcher.js.map +1 -1
- package/src/plugins/native-stake/constants.d.ts +2 -0
- package/src/plugins/native-stake/constants.js +6 -1
- package/src/plugins/native-stake/constants.js.map +1 -1
- package/src/plugins/native-stake/index.d.ts +2 -0
- package/src/plugins/native-stake/index.js +3 -1
- package/src/plugins/native-stake/index.js.map +1 -1
- package/src/plugins/native-stake/solanaFetcher.js +2 -3
- package/src/plugins/native-stake/solanaFetcher.js.map +1 -1
- package/src/plugins/native-stake/suiFetcher.js +1 -2
- package/src/plugins/native-stake/suiFetcher.js.map +1 -1
- package/src/plugins/orca/constants.d.ts +2 -0
- package/src/plugins/orca/constants.js +6 -1
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orca/index.d.ts +2 -0
- package/src/plugins/orca/index.js +3 -1
- package/src/plugins/orca/index.js.map +1 -1
- package/src/plugins/orders/clobs-solana/constants.d.ts +3 -0
- package/src/plugins/orders/clobs-solana/constants.js +15 -6
- package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
- package/src/plugins/orders/clobs-solana/openbookFetcher.js +2 -3
- package/src/plugins/orders/clobs-solana/openbookFetcher.js.map +1 -1
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js +4 -4
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js.map +1 -1
- package/src/plugins/orders/constants.d.ts +1 -1
- package/src/plugins/orders/constants.js +2 -2
- package/src/plugins/orders/constants.js.map +1 -1
- package/src/plugins/orders/index.d.ts +2 -0
- package/src/plugins/orders/index.js +8 -1
- package/src/plugins/orders/index.js.map +1 -1
- package/src/plugins/orders/jupiter/constants.d.ts +2 -0
- package/src/plugins/orders/jupiter/constants.js +9 -0
- package/src/plugins/orders/jupiter/constants.js.map +1 -0
- package/src/plugins/orders/jupiter/limitFetcher.js +3 -3
- package/src/plugins/orders/jupiter/limitFetcher.js.map +1 -1
- package/src/plugins/pancakeswap/constants.d.ts +2 -0
- package/src/plugins/pancakeswap/constants.js +6 -1
- package/src/plugins/pancakeswap/constants.js.map +1 -1
- package/src/plugins/pancakeswap/index.d.ts +2 -0
- package/src/plugins/pancakeswap/index.js +3 -1
- package/src/plugins/pancakeswap/index.js.map +1 -1
- package/src/plugins/raydium/constants.d.ts +2 -0
- package/src/plugins/raydium/constants.js +6 -1
- package/src/plugins/raydium/constants.js.map +1 -1
- package/src/plugins/raydium/index.d.ts +2 -0
- package/src/plugins/raydium/index.js +3 -1
- package/src/plugins/raydium/index.js.map +1 -1
- package/src/plugins/saber/constants.d.ts +2 -0
- package/src/plugins/saber/constants.js +6 -1
- package/src/plugins/saber/constants.js.map +1 -1
- package/src/plugins/saber/index.d.ts +2 -0
- package/src/plugins/saber/index.js +3 -1
- package/src/plugins/saber/index.js.map +1 -1
- package/src/plugins/solend/constants.d.ts +2 -0
- package/src/plugins/solend/constants.js +6 -1
- package/src/plugins/solend/constants.js.map +1 -1
- package/src/plugins/solend/index.d.ts +2 -0
- package/src/plugins/solend/index.js +3 -1
- package/src/plugins/solend/index.js.map +1 -1
- package/src/plugins/staking-aptos/constants.d.ts +2 -0
- package/src/plugins/staking-aptos/constants.js +7 -3
- package/src/plugins/staking-aptos/constants.js.map +1 -1
- package/src/plugins/staking-aptos/index.d.ts +2 -0
- package/src/plugins/staking-aptos/index.js +3 -1
- package/src/plugins/staking-aptos/index.js.map +1 -1
- package/src/plugins/tensor/constants.d.ts +3 -1
- package/src/plugins/tensor/constants.js +7 -3
- package/src/plugins/tensor/constants.js.map +1 -1
- package/src/plugins/tensor/index.d.ts +2 -0
- package/src/plugins/tensor/index.js +3 -1
- package/src/plugins/tensor/index.js.map +1 -1
- package/src/plugins/thala/constants.d.ts +2 -0
- package/src/plugins/thala/constants.js +6 -1
- package/src/plugins/thala/constants.js.map +1 -1
- package/src/plugins/thala/index.d.ts +2 -0
- package/src/plugins/thala/index.js +3 -1
- package/src/plugins/thala/index.js.map +1 -1
- package/src/plugins/tokens/constants.d.ts +3 -0
- package/src/plugins/tokens/constants.js +12 -3
- package/src/plugins/tokens/constants.js.map +1 -1
- package/src/plugins/tokens/fetchers/aptos-nfts.js +3 -3
- package/src/plugins/tokens/fetchers/aptos-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/aptos.js +4 -4
- package/src/plugins/tokens/fetchers/aptos.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js +1 -2
- package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js +2 -2
- package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/index.js +4 -4
- package/src/plugins/tokens/fetchers/evms/index.js.map +1 -1
- package/src/plugins/tokens/fetchers/sei.js +3 -3
- package/src/plugins/tokens/fetchers/sei.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-native.js +3 -3
- package/src/plugins/tokens/fetchers/solana-native.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js +2 -2
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts.js +3 -3
- package/src/plugins/tokens/fetchers/solana-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana.js +4 -4
- package/src/plugins/tokens/fetchers/solana.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui-nfts.js +3 -3
- package/src/plugins/tokens/fetchers/sui-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui.js +2 -3
- package/src/plugins/tokens/fetchers/sui.js.map +1 -1
- package/src/plugins/tokens/index.d.ts +2 -0
- package/src/plugins/tokens/index.js +10 -9
- package/src/plugins/tokens/index.js.map +1 -1
- package/src/plugins/turbos/constants.d.ts +2 -0
- package/src/plugins/turbos/constants.js +6 -1
- package/src/plugins/turbos/constants.js.map +1 -1
- package/src/plugins/turbos/index.d.ts +2 -0
- package/src/plugins/turbos/index.js +3 -1
- package/src/plugins/turbos/index.js.map +1 -1
- package/src/utils/misc/computeAndStoreTokenPrice.js +2 -2
- package/src/utils/misc/computeAndStoreTokenPrice.js.map +1 -1
- package/src/platforms.d.ts +0 -33
- package/src/platforms.js +0 -164
- package/src/platforms.js.map +0 -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.7.1](https://github.com/sonarwatch/portfolio/compare/plugins-0.7.0...plugins-0.7.1) (2023-08-30)
|
6
|
+
|
7
|
+
|
8
|
+
|
5
9
|
# [0.7.0](https://github.com/sonarwatch/portfolio/compare/plugins-0.6.9...plugins-0.7.0) (2023-08-30)
|
6
10
|
|
7
11
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sonarwatch/portfolio-plugins",
|
3
|
-
"version": "0.7.
|
3
|
+
"version": "0.7.1",
|
4
4
|
"type": "commonjs",
|
5
5
|
"generators": "./generators.json",
|
6
6
|
"dependencies": {
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"web3-v1": "npm:web3@^1.5.0"
|
36
36
|
},
|
37
37
|
"peerDependencies": {
|
38
|
-
"@sonarwatch/portfolio-core": "0.7.
|
38
|
+
"@sonarwatch/portfolio-core": "0.7.1"
|
39
39
|
},
|
40
40
|
"main": "./src/index.js",
|
41
41
|
"types": "./src/index.d.ts"
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
@@ -10,24 +10,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
11
11
|
o[k2] = m[k];
|
12
12
|
}));
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
-
}) : function(o, v) {
|
16
|
-
o["default"] = v;
|
17
|
-
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
-
if (mod && mod.__esModule) return mod;
|
20
|
-
var result = {};
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
-
__setModuleDefault(result, mod);
|
23
|
-
return result;
|
24
|
-
};
|
25
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
26
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
15
|
};
|
28
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
17
|
exports.fetchersByAddressSystem = exports.fetchers = exports.jobs = exports.platforms = void 0;
|
30
|
-
const platformsObj = __importStar(require("./platforms"));
|
31
18
|
const tokens_1 = require("./plugins/tokens");
|
32
19
|
const native_stake_1 = require("./plugins/native-stake");
|
33
20
|
const marinade_1 = require("./plugins/marinade");
|
@@ -59,8 +46,35 @@ const getFetchersByAddressSystem_1 = require("./utils/misc/getFetchersByAddressS
|
|
59
46
|
__exportStar(require("./Cache"), exports);
|
60
47
|
__exportStar(require("./Fetcher"), exports);
|
61
48
|
__exportStar(require("./Job"), exports);
|
62
|
-
|
63
|
-
exports.platforms =
|
49
|
+
// PLATFORMS //
|
50
|
+
exports.platforms = [
|
51
|
+
...aave_1.platforms,
|
52
|
+
...orca_1.platforms,
|
53
|
+
...cetus_1.platforms,
|
54
|
+
...drift_1.platforms,
|
55
|
+
...auxexchange_1.platforms,
|
56
|
+
...liquiditypools_sei_1.platforms,
|
57
|
+
...liquidswap_1.platforms,
|
58
|
+
...aftermath_1.platforms,
|
59
|
+
...pancakeswap_1.platforms,
|
60
|
+
...tokens_1.platforms,
|
61
|
+
...native_stake_1.platforms,
|
62
|
+
...marinade_1.platforms,
|
63
|
+
...saber_1.platforms,
|
64
|
+
...solend_1.platforms,
|
65
|
+
...marginfi_1.platforms,
|
66
|
+
...raydium_1.platforms,
|
67
|
+
...meteora_1.platforms,
|
68
|
+
...turbos_1.platforms,
|
69
|
+
...thala_1.platforms,
|
70
|
+
...tensor_1.platforms,
|
71
|
+
...orders_1.platforms,
|
72
|
+
...staking_aptos_1.platforms,
|
73
|
+
...morpho_1.platforms,
|
74
|
+
...mango_1.platforms,
|
75
|
+
...astroport_1.platforms,
|
76
|
+
];
|
77
|
+
// JOBS //
|
64
78
|
exports.jobs = [
|
65
79
|
...tokens_1.jobs,
|
66
80
|
...native_stake_1.jobs,
|
@@ -87,6 +101,7 @@ exports.jobs = [
|
|
87
101
|
...aftermath_1.jobs,
|
88
102
|
...liquidswap_1.jobs,
|
89
103
|
];
|
104
|
+
// FETCHERS //
|
90
105
|
exports.fetchers = [
|
91
106
|
...tokens_1.fetchers,
|
92
107
|
...native_stake_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":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGA,6CAI0B;AAC1B,yDAIgC;AAChC,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,6CAI0B;AAC1B,+CAI2B;AAC3B,yCAIwB;AACxB,+CAG2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAI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GAAG,yBAAqB;IACxB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,iBAAc;CAClB,CAAC;AAEF,cAAc;AACD,QAAA,QAAQ,GAAc;IACjC,GAAG,iBAAc;IACjB,GAAG,uBAAmB;IACtB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,gBAAa;IAChB,GAAG,kBAAe;IAClB,GAAG,eAAY;IACf,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,iBAAc;IACjB,GAAG,wBAAoB;IACvB,GAAG,eAAY;IACf,GAAG,iBAAc;IACjB,GAAG,iBAAc;IACjB,GAAG,6BAAyB;IAC5B,GAAG,oBAAiB;CACrB,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { NetworkIdType } from '@sonarwatch/portfolio-core';
|
1
|
+
import { NetworkIdType, Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
import { LendingConfig } from './types';
|
3
|
+
export declare const aavePlatform: Platform;
|
3
4
|
export declare const lendingConfigs: Map<NetworkIdType, LendingConfig[]>;
|
4
5
|
export declare const platformId = "aave";
|
@@ -1,7 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.platformId = exports.lendingConfigs = void 0;
|
3
|
+
exports.platformId = exports.lendingConfigs = exports.aavePlatform = void 0;
|
4
4
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
5
|
+
exports.aavePlatform = {
|
6
|
+
id: 'aave',
|
7
|
+
name: 'AAVE',
|
8
|
+
image: 'https://alpha.sonar.watch/img/platforms/aave.png',
|
9
|
+
};
|
5
10
|
exports.lendingConfigs = new Map([
|
6
11
|
[
|
7
12
|
portfolio_core_1.NetworkId.avalanche,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aave/constants.ts"],"names":[],"mappings":";;;AAAA,+
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aave/constants.ts"],"names":[],"mappings":";;;AAAA,+DAKoC;AAGvB,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AAEW,QAAA,cAAc,GAAwC,IAAI,GAAG,CAAC;IACzE;QACE,0BAAS,CAAC,SAAS;QACnB;YACE;gBACE,OAAO,EAAE,yBAAQ,CAAC,SAAS,CAAC,OAAO;gBACnC,SAAS,EAAE,0BAAS,CAAC,SAAS;gBAC9B,WAAW,EAAE,SAAS;gBACtB,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;YACD;gBACE,OAAO,EAAE,yBAAQ,CAAC,SAAS,CAAC,OAAO;gBACnC,SAAS,EAAE,0BAAS,CAAC,SAAS;gBAC9B,WAAW,EAAE,SAAS;gBACtB,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;SACF;KACF;IACD;QACE,0BAAS,CAAC,OAAO;QACjB;YACE;gBACE,OAAO,EAAE,yBAAQ,CAAC,OAAO,CAAC,OAAO;gBACjC,SAAS,EAAE,0BAAS,CAAC,OAAO;gBAC5B,WAAW,EAAE,SAAS;gBACtB,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;YACD;gBACE,OAAO,EAAE,yBAAQ,CAAC,OAAO,CAAC,OAAO;gBACjC,SAAS,EAAE,0BAAS,CAAC,OAAO;gBAC5B,WAAW,EAAE,SAAS;gBACtB,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;SACF;KACF;IACD;QACE,0BAAS,CAAC,QAAQ;QAClB;YACE;gBACE,OAAO,EAAE,yBAAQ,CAAC,QAAQ,CAAC,OAAO;gBAClC,SAAS,EAAE,0BAAS,CAAC,QAAQ;gBAC7B,WAAW,EAAE,cAAc;gBAC3B,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;YACD;gBACE,OAAO,EAAE,yBAAQ,CAAC,QAAQ,CAAC,OAAO;gBAClC,SAAS,EAAE,0BAAS,CAAC,QAAQ;gBAC7B,WAAW,EAAE,aAAa;gBAC1B,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;YACD;gBACE,OAAO,EAAE,yBAAQ,CAAC,QAAQ,CAAC,OAAO;gBAClC,SAAS,EAAE,0BAAS,CAAC,QAAQ;gBAC7B,WAAW,EAAE,aAAa;gBAC1B,0BAA0B,EACxB,4CAA4C;gBAC9C,8BAA8B,EAC5B,4CAA4C;gBAC9C,yBAAyB,EAAE,4CAA4C;aACxE;SACF;KACF;CACF,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,MAAM,CAAC"}
|
@@ -3,11 +3,12 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
8
8
|
const lendingPoolsJob_1 = __importDefault(require("./lendingPoolsJob"));
|
9
9
|
const getLendingFetcherExecutor_1 = __importDefault(require("./getLendingFetcherExecutor"));
|
10
10
|
const constants_1 = require("./constants");
|
11
|
+
exports.platforms = [constants_1.aavePlatform];
|
11
12
|
exports.jobs = [lendingPoolsJob_1.default];
|
12
13
|
exports.fetchers = [
|
13
14
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aave/index.ts"],"names":[],"mappings":";;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aave/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,wEAAgD;AAChD,4FAAoE;AACpE,2CAAuD;AAE1C,QAAA,SAAS,GAAe,CAAC,wBAAY,CAAC,CAAC;AACvC,QAAA,IAAI,GAAU,CAAC,yBAAe,CAAC,CAAC;AAChC,QAAA,QAAQ,GAAc;IACjC;QACE,EAAE,EAAE,GAAG,sBAAU,IAAI,0BAAS,CAAC,QAAQ,UAAU;QACjD,SAAS,EAAE,0BAAS,CAAC,QAAQ;QAC7B,QAAQ,EAAE,IAAA,mCAAyB,EAAC,0BAAS,CAAC,QAAQ,CAAC;KACxD;IACD;QACE,EAAE,EAAE,GAAG,sBAAU,IAAI,0BAAS,CAAC,OAAO,UAAU;QAChD,SAAS,EAAE,0BAAS,CAAC,OAAO;QAC5B,QAAQ,EAAE,IAAA,mCAAyB,EAAC,0BAAS,CAAC,OAAO,CAAC;KACvD;IACD;QACE,EAAE,EAAE,GAAG,sBAAU,IAAI,0BAAS,CAAC,SAAS,UAAU;QAClD,SAAS,EAAE,0BAAS,CAAC,SAAS;QAC9B,QAAQ,EAAE,IAAA,mCAAyB,EAAC,0BAAS,CAAC,SAAS,CAAC;KACzD;CACF,CAAC"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.lpCoinsTable = exports.platformId = void 0;
|
3
|
+
exports.lpCoinsTable = exports.aftermathPlatform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'aftermath';
|
5
|
+
exports.aftermathPlatform = {
|
6
|
+
id: 'aftermath',
|
7
|
+
name: 'Aftermath',
|
8
|
+
image: 'https://alpha.sonar.watch/img/platforms/aftermath.png',
|
9
|
+
};
|
5
10
|
exports.lpCoinsTable = '0x7f3bb65251feccacc7f48461239be1008233b85594114f7bf304e5e5b340bf59';
|
6
11
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aftermath/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aftermath/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,WAAW,CAAC;AAEzB,QAAA,iBAAiB,GAAa;IACzC,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,uDAAuD;CAC/D,CAAC;AAEW,QAAA,YAAY,GACvB,oEAAoE,CAAC"}
|
@@ -3,8 +3,10 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const poolsJob_1 = __importDefault(require("./poolsJob"));
|
8
|
+
const constants_1 = require("./constants");
|
9
|
+
exports.platforms = [constants_1.aftermathPlatform];
|
8
10
|
exports.jobs = [poolsJob_1.default];
|
9
11
|
exports.fetchers = [];
|
10
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aftermath/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aftermath/index.ts"],"names":[],"mappings":";;;;;;AAGA,0DAAkC;AAClC,2CAAgD;AAEnC,QAAA,SAAS,GAAe,CAAC,6BAAiB,CAAC,CAAC;AAC5C,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
|
@@ -1,7 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.lpTokensCode = exports.newLpTokensCode = exports.platformId = void 0;
|
3
|
+
exports.lpTokensCode = exports.newLpTokensCode = exports.astroportPlatform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'astroport';
|
5
|
+
exports.astroportPlatform = {
|
6
|
+
id: exports.platformId,
|
7
|
+
name: 'Astroport',
|
8
|
+
image: 'https://alpha.sonar.watch/img/platforms/astroport.png',
|
9
|
+
};
|
5
10
|
exports.newLpTokensCode = 149;
|
6
11
|
exports.lpTokensCode = 3;
|
7
12
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/astroport/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/astroport/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,iBAAiB,GAAa;IACzC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,uDAAuD;CAC/D,CAAC;AAEW,QAAA,eAAe,GAAG,GAAG,CAAC;AACtB,QAAA,YAAY,GAAG,CAAC,CAAC"}
|
@@ -3,9 +3,11 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const lpSeiJob_1 = __importDefault(require("./lpSeiJob"));
|
8
8
|
const lpSeiFetcher_1 = __importDefault(require("./lpSeiFetcher"));
|
9
|
+
const constants_1 = require("./constants");
|
10
|
+
exports.platforms = [constants_1.astroportPlatform];
|
9
11
|
exports.jobs = [lpSeiJob_1.default];
|
10
12
|
exports.fetchers = [lpSeiFetcher_1.default];
|
11
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/astroport/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/astroport/index.ts"],"names":[],"mappings":";;;;;;AAGA,0DAAkC;AAClC,kEAA0C;AAC1C,2CAAgD;AAEnC,QAAA,SAAS,GAAe,CAAC,6BAAiB,CAAC,CAAC;AAC5C,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,CAAC,sBAAY,CAAC,CAAC"}
|
@@ -1,4 +1,6 @@
|
|
1
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
1
2
|
export declare const platformId = "auxexchange";
|
3
|
+
export declare const auxExchangePlatform: Platform;
|
2
4
|
export declare const programAddress = "0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541";
|
3
5
|
export declare const lpTypePrefix: string;
|
4
6
|
export declare const lpCoinInfoTypePrefix: string;
|
@@ -1,8 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.programAddress = exports.platformId = void 0;
|
3
|
+
exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.programAddress = exports.auxExchangePlatform = exports.platformId = void 0;
|
4
4
|
const aptos_1 = require("../../utils/aptos");
|
5
5
|
exports.platformId = 'auxexchange';
|
6
|
+
exports.auxExchangePlatform = {
|
7
|
+
id: exports.platformId,
|
8
|
+
name: 'Aux Exchange',
|
9
|
+
image: 'https://alpha.sonar.watch/img/platforms/auxexchange.png',
|
10
|
+
};
|
6
11
|
exports.programAddress = '0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541';
|
7
12
|
exports.lpTypePrefix = `${exports.programAddress}::amm::LP<`;
|
8
13
|
exports.lpCoinInfoTypePrefix = `${aptos_1.coinInfo}<${exports.lpTypePrefix}`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/auxexchange/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/auxexchange/constants.ts"],"names":[],"mappings":";;;AACA,6CAA6C;AAEhC,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,yDAAyD;CACjE,CAAC;AAEW,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAC1D,QAAA,YAAY,GAAG,GAAG,sBAAc,YAAY,CAAC;AAC7C,QAAA,oBAAoB,GAAG,GAAG,gBAAQ,IAAI,oBAAY,EAAE,CAAC"}
|
@@ -3,8 +3,10 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const aptosLpJob_1 = __importDefault(require("./aptosLpJob"));
|
8
|
+
const constants_1 = require("./constants");
|
9
|
+
exports.platforms = [constants_1.auxExchangePlatform];
|
8
10
|
exports.jobs = [aptosLpJob_1.default];
|
9
11
|
exports.fetchers = [];
|
10
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/auxexchange/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/auxexchange/index.ts"],"names":[],"mappings":";;;;;;AAGA,8DAAsC;AACtC,2CAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,+BAAmB,CAAC,CAAC;AAC9C,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
|
@@ -1,4 +1,6 @@
|
|
1
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
1
2
|
export declare const platformId = "cetus";
|
3
|
+
export declare const cetusPlatform: Platform;
|
2
4
|
export declare const clmmPoolsPrefix: string;
|
3
5
|
export declare const clmmPoolPackageId = "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb";
|
4
6
|
export declare const clmmType: string;
|
@@ -1,7 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.clmmPoolsHandle = exports.clmmType = exports.clmmPoolPackageId = exports.clmmPoolsPrefix = exports.platformId = void 0;
|
3
|
+
exports.clmmPoolsHandle = exports.clmmType = exports.clmmPoolPackageId = exports.clmmPoolsPrefix = exports.cetusPlatform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'cetus';
|
5
|
+
exports.cetusPlatform = {
|
6
|
+
id: exports.platformId,
|
7
|
+
name: 'Cetus',
|
8
|
+
image: 'https://alpha.sonar.watch/img/platforms/cetus.png',
|
9
|
+
};
|
5
10
|
exports.clmmPoolsPrefix = `${exports.platformId}-clmmPools`;
|
6
11
|
exports.clmmPoolPackageId = '0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb';
|
7
12
|
exports.clmmType = `${exports.clmmPoolPackageId}::position::Position`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAE5C,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAE1D,QAAA,QAAQ,GAAG,GAAG,yBAAiB,sBAAsB,CAAC;AAEtD,QAAA,eAAe,GAC1B,oEAAoE,CAAC"}
|
@@ -3,9 +3,11 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const poolsJob_1 = __importDefault(require("./poolsJob"));
|
8
8
|
const clmmsFetcher_1 = __importDefault(require("./clmmsFetcher"));
|
9
|
+
const constants_1 = require("./constants");
|
10
|
+
exports.platforms = [constants_1.cetusPlatform];
|
9
11
|
exports.jobs = [poolsJob_1.default];
|
10
12
|
exports.fetchers = [clmmsFetcher_1.default];
|
11
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/index.ts"],"names":[],"mappings":";;;;;;AAGA,0DAAkC;AAClC,kEAAiD;AACjD,2CAA4C;AAE/B,QAAA,SAAS,GAAe,CAAC,yBAAa,CAAC,CAAC;AACxC,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,CAAC,sBAAmB,CAAC,CAAC"}
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
2
3
|
export declare const platformId = "drift";
|
4
|
+
export declare const driftPlatform: Platform;
|
3
5
|
export declare const prefixSpotMarkets: string;
|
4
6
|
export declare const DriftProgram: PublicKey;
|
@@ -1,8 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DriftProgram = exports.prefixSpotMarkets = exports.platformId = void 0;
|
3
|
+
exports.DriftProgram = exports.prefixSpotMarkets = exports.driftPlatform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'drift';
|
6
|
+
exports.driftPlatform = {
|
7
|
+
id: exports.platformId,
|
8
|
+
name: 'Drift',
|
9
|
+
image: 'https://alpha.sonar.watch/img/platforms/drift.png',
|
10
|
+
};
|
6
11
|
exports.prefixSpotMarkets = `${exports.platformId}-spotMarkets`;
|
7
12
|
exports.DriftProgram = new web3_js_1.PublicKey('dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH');
|
8
13
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,iBAAiB,GAAG,GAAG,kBAAU,cAAc,CAAC;AAEhD,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC"}
|
@@ -3,9 +3,11 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
|
+
const constants_1 = require("./constants");
|
7
8
|
const spotMarketsJob_1 = __importDefault(require("./spotMarketsJob"));
|
8
9
|
const spotPositionsFetcher_1 = __importDefault(require("./spotPositionsFetcher"));
|
10
|
+
exports.platforms = [constants_1.driftPlatform];
|
9
11
|
exports.jobs = [spotMarketsJob_1.default];
|
10
12
|
exports.fetchers = [spotPositionsFetcher_1.default];
|
11
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAA4C;AAC5C,sEAA8C;AAC9C,kFAA0D;AAE7C,QAAA,SAAS,GAAe,CAAC,yBAAa,CAAC,CAAC;AACxC,QAAA,IAAI,GAAU,CAAC,wBAAc,CAAC,CAAC;AAC/B,QAAA,QAAQ,GAAc,CAAC,8BAAoB,CAAC,CAAC"}
|
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
2
|
+
export declare const pluginId = "liquidityPools-sei";
|
3
|
+
export declare const fuzioPlatform: Platform;
|
4
|
+
export declare const seaswapPlatform: Platform;
|
2
5
|
export declare const lpsContractsPrefix = "lpcontracts";
|
3
6
|
export declare const lpsCodeByPlatform: Map<string, number[]>;
|
4
7
|
export declare const lpsNamesByPlatform: Map<string, string[]>;
|
@@ -1,15 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.lpsNamesByPlatform = exports.lpsCodeByPlatform = exports.lpsContractsPrefix = exports.
|
4
|
-
|
5
|
-
exports.
|
3
|
+
exports.lpsNamesByPlatform = exports.lpsCodeByPlatform = exports.lpsContractsPrefix = exports.seaswapPlatform = exports.fuzioPlatform = exports.pluginId = void 0;
|
4
|
+
exports.pluginId = 'liquidityPools-sei';
|
5
|
+
exports.fuzioPlatform = {
|
6
|
+
id: 'fuzio',
|
7
|
+
name: 'Fuzio',
|
8
|
+
image: 'https://alpha.sonar.watch/img/platforms/fuzio.png',
|
9
|
+
};
|
10
|
+
exports.seaswapPlatform = {
|
11
|
+
id: 'seaswap',
|
12
|
+
name: 'Seaswap',
|
13
|
+
image: 'https://alpha.sonar.watch/img/platforms/seaswap.png',
|
14
|
+
};
|
6
15
|
exports.lpsContractsPrefix = 'lpcontracts';
|
7
16
|
exports.lpsCodeByPlatform = new Map([
|
8
|
-
[
|
9
|
-
[
|
17
|
+
[exports.seaswapPlatform.id, [15]],
|
18
|
+
[exports.fuzioPlatform.id, [57]],
|
10
19
|
]);
|
11
20
|
exports.lpsNamesByPlatform = new Map([
|
12
|
-
[
|
13
|
-
[
|
21
|
+
[exports.seaswapPlatform.id, ['SeaSwap_Liquidity_Token']],
|
22
|
+
[exports.fuzioPlatform.id, []],
|
14
23
|
]);
|
15
24
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAG,oBAAoB,CAAC;AAChC,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qDAAqD;CAC7D,CAAC;AAEW,QAAA,kBAAkB,GAAG,aAAa,CAAC;AAEnC,QAAA,iBAAiB,GAA0B,IAAI,GAAG,CAAC;IAC9D,CAAC,uBAAe,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC,qBAAa,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;CACzB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAA0B,IAAI,GAAG,CAAC;IAC/D,CAAC,uBAAe,CAAC,EAAE,EAAE,CAAC,yBAAyB,CAAC,CAAC;IACjD,CAAC,qBAAa,CAAC,EAAE,EAAE,EAAE,CAAC;CACvB,CAAC,CAAC"}
|
@@ -79,7 +79,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
79
79
|
return elements;
|
80
80
|
});
|
81
81
|
const fetcher = {
|
82
|
-
id: `${constants_1.
|
82
|
+
id: `${constants_1.pluginId}`,
|
83
83
|
networkId: portfolio_core_1.NetworkId.sei,
|
84
84
|
executor,
|
85
85
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/fetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,uCAAiD;AACjD,gEAAqC;AAGrC,
|
1
|
+
{"version":3,"file":"fetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/fetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,uCAAiD;AACjD,gEAAqC;AAGrC,2CAA8E;AAC9E,6DAA+D;AAE/D,uGAA+E;AAC/E,oGAA4E;AAG5E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,cAAc,GAAG,MAAM,IAAA,wBAAiB,EAAC,IAAA,0BAAc,EAAC,0BAAS,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9E,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,6BAAiB,CAAC,IAAI,EAAE,CAAC,CAAC;IAEzD,MAAM,mBAAmB,GAA0B,IAAI,GAAG,EAAE,CAAC;IAC7D,MAAM,kBAAkB,GAAG,MAAM,KAAK,CAAC,QAAQ,CAC7C,WAAW,EACX;QACE,MAAM,EAAE,8BAAkB;QAC1B,SAAS,EAAE,0BAAS,CAAC,GAAG;KACzB,CACF,CAAC;IACF,IAAI,CAAC,kBAAkB;QAAE,OAAO,EAAE,CAAC;IACnC,kBAAkB,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;QACtC,IAAI,QAAQ,EAAE;YACZ,mBAAmB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;SAC1D;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAuB,EAAE,CAAC;IAExC,KAAK,MAAM,QAAQ,IAAI,WAAW,EAAE;QAClC,MAAM,S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,SAAS,CAAC,CAAC;SAC7B;QACD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAEvC,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,SAAS,EAAE,0BAAS,CAAC,GAAG;YACxB,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,eAAe;YACtB,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,WAAW;aACZ;SACF,CAAC,CAAC;KACJ;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,oBAAQ,EAAE;IACjB,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -3,9 +3,11 @@ 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 = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const job_1 = __importDefault(require("./job"));
|
8
8
|
const fetcher_1 = __importDefault(require("./fetcher"));
|
9
|
+
const constants_1 = require("./constants");
|
10
|
+
exports.platforms = [constants_1.fuzioPlatform, constants_1.seaswapPlatform];
|
9
11
|
exports.jobs = [job_1.default];
|
10
12
|
exports.fetchers = [fetcher_1.default];
|
11
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/index.ts"],"names":[],"mappings":";;;;;;AAGA,gDAAwB;AACxB,wDAAgC;AAChC,2CAA6D;AAEhD,QAAA,SAAS,GAAe,CAAC,yBAAa,EAAE,2BAAe,CAAC,CAAC;AACzD,QAAA,IAAI,GAAU,CAAC,aAAG,CAAC,CAAC;AACpB,QAAA,QAAQ,GAAc,CAAC,iBAAO,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"job.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/job.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,uCAAiD;AACjD,+DAAuD;AACvD,gEAAqC;AAGrC,6DAA+D;AAC/D,2CAKqB;AACrB,yCAOyB;AACzB,qGAEiD;AAEjD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,cAAc,GAAG,MAAM,IAAA,wBAAiB,EAAC,IAAA,0BAAc,EAAC,0BAAS,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9E,MAAM,mBAAmB,GAA0B,IAAI,GAAG,EAAE,CAAC;IAC7D,KAAK,MAAM,QAAQ,IAAI,6BAAiB,CAAC,IAAI,EAAE,EAAE;QAC/C,MAAM,KAAK,GAAG,6BAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC9C,IAAI,CAAC,KAAK;YAAE,SAAS;QAErB,MAAM,SAAS,GAAa,EAAE,CAAC;QAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACrC,MAAM,cAAc,GAAG,MAAM,cAAc,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACnE,SAAS,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC;SACnC;QACD,mBAAmB,CA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;YACD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;gBAAE,SAAS;YAEvC,IACE,IAAI,sBAAS,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,MAAM,EAAE;gBACnD,IAAI,sBAAS,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,MAAM,EAAE;gBAEnD,SAAS;YAEX,MAAM,QAAQ,GAAa;gBACzB,EAAE,EAAE,UAAU;gBACd,UAAU,EAAE,WAAW,CAAC,QAAQ;gBAChC,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;gBAC1B,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;gBAC1B,aAAa,EAAE,IAAI,sBAAS,CAAC,YAAY,CAAC,cAAc,CAAC;gBACzD,aAAa,EAAE,IAAI,sBAAS,CAAC,YAAY,CAAC,cAAc,CAAC;gBACzD,MAAM,EAAE,IAAI,sBAAS,CAAC,YAAY,CAAC,eAAe,CAAC;aACpD,CAAC;YACF,MAAM,IAAA,gCAAsB,EAAC,KAAK,EAAE,QAAQ,EAAE,0BAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;SACxE;KACF;AACH,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,oBAAQ;IACZ,QAAQ;CACT,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -1,4 +1,6 @@
|
|
1
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
1
2
|
export declare const platformId = "liquidswap";
|
3
|
+
export declare const liquidswapPlatform: Platform;
|
2
4
|
export declare const programAddress = "0x5a97986a9d031c4567e15b797be516910cfcb4156312482efc6a19c0a30c948";
|
3
5
|
export declare const resourceAddress = "0x190d44266241744264b964a37b8f09863167a12d3e70cda39376cfb4e3561e12";
|
4
6
|
export declare const lpTypePrefix: string;
|