@sonarwatch/portfolio-plugins 0.14.9 → 0.14.11
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 +1 -1
- package/src/index.js +4 -0
- package/src/index.js.map +1 -1
- package/src/plugins/cetus/clmmsFetcher.js +59 -55
- package/src/plugins/cetus/clmmsFetcher.js.map +1 -1
- package/src/plugins/cetus/farmsFetcher.js +66 -37
- package/src/plugins/cetus/farmsFetcher.js.map +1 -1
- package/src/plugins/cetus/helpers.d.ts +3 -1
- package/src/plugins/cetus/helpers.js +102 -1
- package/src/plugins/cetus/helpers.js.map +1 -1
- package/src/plugins/cetus/types.d.ts +28 -0
- package/src/plugins/cetus/types.js.map +1 -1
- package/src/plugins/jupiter/governance/asrAirdropFetcher.d.ts +3 -3
- package/src/plugins/jupiter/governance/asrAirdropFetcher.js +50 -71
- package/src/plugins/jupiter/governance/asrAirdropFetcher.js.map +1 -1
- package/src/plugins/jupiter/governance/constants.d.ts +12 -1
- package/src/plugins/jupiter/governance/constants.js +46 -2
- package/src/plugins/jupiter/governance/constants.js.map +1 -1
- package/src/plugins/jupiter/governance/index.d.ts +5 -0
- package/src/plugins/jupiter/governance/index.js +20 -0
- package/src/plugins/jupiter/governance/index.js.map +1 -0
- package/src/plugins/jupiter/index.js +5 -3
- package/src/plugins/jupiter/index.js.map +1 -1
- package/src/plugins/loverflow/airdropClaimFetcher.d.ts +3 -0
- package/src/plugins/loverflow/airdropClaimFetcher.js +42 -0
- package/src/plugins/loverflow/airdropClaimFetcher.js.map +1 -0
- package/src/plugins/loverflow/constants.d.ts +6 -0
- package/src/plugins/loverflow/constants.js +16 -0
- package/src/plugins/loverflow/constants.js.map +1 -0
- package/src/plugins/loverflow/helpers.d.ts +2 -0
- package/src/plugins/loverflow/helpers.js +9 -0
- package/src/plugins/loverflow/helpers.js.map +1 -0
- package/src/plugins/loverflow/index.d.ts +6 -0
- package/src/plugins/loverflow/index.js +12 -0
- package/src/plugins/loverflow/index.js.map +1 -0
- package/src/plugins/loverflow/structs.d.ts +16 -0
- package/src/plugins/loverflow/structs.js +18 -0
- package/src/plugins/loverflow/structs.js.map +1 -0
- package/src/plugins/loverflow/types.d.ts +5 -0
- package/src/plugins/loverflow/types.js +3 -0
- package/src/plugins/loverflow/types.js.map +1 -0
- package/src/utils/elementbuilder/AssetBuilder.d.ts +1 -1
- package/src/utils/elementbuilder/AssetBuilder.js +2 -2
- package/src/utils/elementbuilder/AssetBuilder.js.map +1 -1
- package/src/utils/elementbuilder/ElementBuilder.d.ts +2 -1
- package/src/utils/elementbuilder/ElementBuilder.js +5 -0
- package/src/utils/elementbuilder/ElementBuilder.js.map +1 -1
- package/src/utils/elementbuilder/LiquidityBuilder.js +1 -1
- package/src/utils/elementbuilder/LiquidityBuilder.js.map +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/helpers.ts"],"names":[],"mappings":";AAAA,sCAAsC;;;;;;AAEtC,4DAAiC;AACjC,gEAAqC;AACrC,+DAAwD;AACxD,6CAAyD;AACzD,mCAQiB;AAEjB,uFAAoF;AACpF,2FAAwF;AACxF,+DAA4D;AAE5D,SAAgB,OAAO,CAAC,GAAc;IACpC,OAAO,IAAI,oBAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,GAAG,CAAC,oBAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC9D,CAAC;AAFD,0BAEC;AAiBD,SAAgB,WAAW,CACzB,OAAe,EACf,GAAG,IAAe;IAElB,MAAM,QAAQ,GAAa,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC,CAAE,IAAI,CAAC,GAAG,EAAe;QAC1B,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,MAAM,GAAG,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC,M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MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,MAAM,kBAAkB,GAAsB;YAC5C,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW;YAClC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU;YAChC,kBAAkB,EAAE,EAAE;SACvB,CAAC;QAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1D,kBAAkB,CAAC,kBAAkB,CAAC,IAAI,CAAC;gBACzC,WAAW,EAAE,IAAI,sBAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;gBAC3D,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,WAAW;aACpD,CAAC,CAAC;QACL,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAA,CAAC;AAnEW,QAAA,uBAAuB,2BAmElC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import BigNumber from 'bignumber.js';
|
1
2
|
import { ID } from '../../utils/sui/structs/id';
|
2
3
|
export type SuiAddressType = string;
|
3
4
|
export type SuiObjectIdType = string;
|
@@ -250,3 +251,30 @@ export type DcaOrder = {
|
|
250
251
|
status: string;
|
251
252
|
user: string;
|
252
253
|
};
|
254
|
+
export type FetchPosFeeParams = {
|
255
|
+
poolAddress: string;
|
256
|
+
positionId: string;
|
257
|
+
coinTypeA: string;
|
258
|
+
coinTypeB: string;
|
259
|
+
};
|
260
|
+
export type CollectFeesQuote = {
|
261
|
+
position_id: string;
|
262
|
+
feeOwedA: BigNumber;
|
263
|
+
feeOwedB: BigNumber;
|
264
|
+
};
|
265
|
+
export type FetchPosRewardParams = {
|
266
|
+
poolAddress: string;
|
267
|
+
positionId: string;
|
268
|
+
coinTypeA: string;
|
269
|
+
coinTypeB: string;
|
270
|
+
rewarderInfo: Rewarder[];
|
271
|
+
};
|
272
|
+
export type RewarderAmountOwed = {
|
273
|
+
amount_owed: BigNumber;
|
274
|
+
coin_address: string;
|
275
|
+
};
|
276
|
+
export type PosRewarderResult = {
|
277
|
+
poolAddress: string;
|
278
|
+
positionId: string;
|
279
|
+
rewarderAmountOwed: RewarderAmountOwed[];
|
280
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/types.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/types.ts"],"names":[],"mappings":";;;AAyDA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,6CAAyB,CAAA;AAC3B,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
export declare
|
1
|
+
import { AsrConfig } from './constants';
|
2
|
+
import { AirdropFetcherExecutor } from '../../../AirdropFetcher';
|
3
|
+
export declare function getAsrAirdropExecutor(config: AsrConfig): AirdropFetcherExecutor;
|
@@ -12,8 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
exports.
|
16
|
-
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
15
|
+
exports.getAsrAirdropExecutor = void 0;
|
17
16
|
const axios_1 = __importDefault(require("axios"));
|
18
17
|
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
19
18
|
const constants_1 = require("./constants");
|
@@ -22,82 +21,62 @@ const getMultipleAccountsInfoSafe_1 = require("../../../utils/solana/getMultiple
|
|
22
21
|
const clients_1 = require("../../../utils/clients");
|
23
22
|
const constants_2 = require("../launchpad/constants");
|
24
23
|
const deriveClaimStatus_1 = require("../../../utils/solana/jupiter/deriveClaimStatus");
|
25
|
-
|
26
|
-
[
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
{ label: 'WEN', decimals: 5 },
|
34
|
-
],
|
35
|
-
[
|
36
|
-
'UPTx1d24aBWuRgwxVnFmX4gNraj3QGFzL3QqBgxtWQG',
|
37
|
-
{ label: 'UPT', decimals: 9 },
|
38
|
-
],
|
39
|
-
[
|
40
|
-
'SHARKSYJjqaNyxVfrpnBN9pjgkhwDhatnMyicWPnr1s',
|
41
|
-
{ label: 'SHARK', decimals: 6 },
|
42
|
-
],
|
43
|
-
]);
|
44
|
-
const ineligibleItems = Array.from(asr1Items).map(([address, { label }]) => ({
|
45
|
-
amount: 0,
|
46
|
-
label,
|
47
|
-
address,
|
48
|
-
isClaimed: false,
|
49
|
-
}));
|
24
|
+
function getInegibleItems(items) {
|
25
|
+
return Array.from(items).map(([address, { label }]) => ({
|
26
|
+
amount: 0,
|
27
|
+
label,
|
28
|
+
address,
|
29
|
+
isClaimed: false,
|
30
|
+
}));
|
31
|
+
}
|
50
32
|
function asrDeriveClaimStatus(claimant, claimProof) {
|
51
33
|
if (claimProof.mint === constants_2.jupMint) {
|
52
34
|
return (0, deriveClaimStatus_1.deriveClaimStatus)(claimant, claimProof.merkle_tree, constants_1.jupDisProgram);
|
53
35
|
}
|
54
36
|
return (0, deriveClaimStatus_1.deriveClaimStatus)(claimant, claimProof.merkle_tree, constants_2.lfgDisProgram);
|
55
37
|
}
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
!claimsProof
|
64
|
-
|
38
|
+
function getAsrAirdropExecutor(config) {
|
39
|
+
return (owner) => __awaiter(this, void 0, void 0, function* () {
|
40
|
+
const claimsProof = yield axios_1.default
|
41
|
+
.get(config.api(owner), { timeout: 5000 })
|
42
|
+
.catch(() => {
|
43
|
+
throw new Error('Failed to get asr claim proof');
|
44
|
+
});
|
45
|
+
if (!claimsProof ||
|
46
|
+
!claimsProof.data.claim ||
|
47
|
+
claimsProof.data.claim.length === 0)
|
48
|
+
return (0, AirdropFetcher_1.getAirdropRaw)({
|
49
|
+
statics: config.statics,
|
50
|
+
items: getInegibleItems(config.items),
|
51
|
+
});
|
52
|
+
const claimAddresses = claimsProof.data.claim.map((cp) => asrDeriveClaimStatus(owner, cp));
|
53
|
+
const client = (0, clients_1.getClientSolana)();
|
54
|
+
const claimAccounts = yield (0, getMultipleAccountsInfoSafe_1.getMultipleAccountsInfoSafe)(client, claimAddresses);
|
65
55
|
return (0, AirdropFetcher_1.getAirdropRaw)({
|
66
|
-
statics:
|
67
|
-
items:
|
56
|
+
statics: config.statics,
|
57
|
+
items: claimAccounts
|
58
|
+
.map((claimAcc, i) => {
|
59
|
+
const claimProofRes = claimsProof.data.claim[i];
|
60
|
+
if (!claimProofRes.mint)
|
61
|
+
return [];
|
62
|
+
const asrItem = config.items.get(claimProofRes.mint);
|
63
|
+
if (!asrItem)
|
64
|
+
return [];
|
65
|
+
const { label, decimals } = asrItem;
|
66
|
+
return [
|
67
|
+
{
|
68
|
+
amount: new bignumber_js_1.default(claimProofRes.amount)
|
69
|
+
.div(Math.pow(10, decimals))
|
70
|
+
.toNumber(),
|
71
|
+
isClaimed: !!claimAcc,
|
72
|
+
label,
|
73
|
+
address: claimProofRes.mint,
|
74
|
+
},
|
75
|
+
];
|
76
|
+
})
|
77
|
+
.flat(),
|
68
78
|
});
|
69
|
-
const claimAddresses = claimsProof.data.claim.map((cp) => asrDeriveClaimStatus(owner, cp));
|
70
|
-
const client = (0, clients_1.getClientSolana)();
|
71
|
-
const claimAccounts = yield (0, getMultipleAccountsInfoSafe_1.getMultipleAccountsInfoSafe)(client, claimAddresses);
|
72
|
-
return (0, AirdropFetcher_1.getAirdropRaw)({
|
73
|
-
statics: constants_1.asr1Statics,
|
74
|
-
items: claimAccounts
|
75
|
-
.map((claimAcc, i) => {
|
76
|
-
const claimProofRes = claimsProof.data.claim[i];
|
77
|
-
if (!claimProofRes.mint)
|
78
|
-
return [];
|
79
|
-
const asrItem = asr1Items.get(claimProofRes.mint);
|
80
|
-
if (!asrItem)
|
81
|
-
return [];
|
82
|
-
const { label, decimals } = asrItem;
|
83
|
-
return [
|
84
|
-
{
|
85
|
-
amount: new bignumber_js_1.default(claimProofRes.amount)
|
86
|
-
.div(Math.pow(10, decimals))
|
87
|
-
.toNumber(),
|
88
|
-
isClaimed: !!claimAcc,
|
89
|
-
label,
|
90
|
-
address: claimProofRes.mint,
|
91
|
-
},
|
92
|
-
];
|
93
|
-
})
|
94
|
-
.flat(),
|
95
79
|
});
|
96
|
-
}
|
97
|
-
exports.
|
98
|
-
id: constants_1.asr1Statics.id,
|
99
|
-
networkId: portfolio_core_1.NetworkId.solana,
|
100
|
-
executor: fetchAirdropExecutor,
|
101
|
-
};
|
102
|
-
exports.fetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(exports.airdropFetcher, constants_1.platformId, `${constants_1.platformId}-asr-1`, constants_1.asr1Statics.claimEnd);
|
80
|
+
}
|
81
|
+
exports.getAsrAirdropExecutor = getAsrAirdropExecutor;
|
103
82
|
//# sourceMappingURL=asrAirdropFetcher.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"asrAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/asrAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA
|
1
|
+
{"version":3,"file":"asrAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/asrAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;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dropFetcher';
|
|
3
3
|
export declare const platformId = "jupiter-governance";
|
4
4
|
export declare const jupDisProgram = "Dis2TfkFnXFkrtvAktEkw37sdb7qwJgY6H7YZJwk51wK";
|
5
5
|
export declare const platform: Platform;
|
6
|
-
export declare const asrApi = "https://worker.jup.ag/jup-asr-july-2024-claim-proof";
|
7
6
|
export declare const asr1Statics: AirdropStatics;
|
7
|
+
export declare const asr2Statics: AirdropStatics;
|
8
|
+
export type AsrItems = Map<string, {
|
9
|
+
label: string;
|
10
|
+
decimals: number;
|
11
|
+
}>;
|
12
|
+
export type AsrConfig = {
|
13
|
+
statics: AirdropStatics;
|
14
|
+
items: AsrItems;
|
15
|
+
api: (owner: string) => string;
|
16
|
+
};
|
17
|
+
export declare const asr1Config: AsrConfig;
|
18
|
+
export declare const asr2Config: AsrConfig;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.asr2Config = exports.asr1Config = exports.asr2Statics = exports.asr1Statics = exports.platform = exports.jupDisProgram = exports.platformId = void 0;
|
4
|
+
const constants_1 = require("../launchpad/constants");
|
4
5
|
exports.platformId = 'jupiter-governance';
|
5
6
|
const platformName = 'Jupiter Governance';
|
6
7
|
const platformImage = 'https://sonar.watch/img/platforms/jupiter.webp';
|
@@ -13,7 +14,6 @@ exports.platform = {
|
|
13
14
|
website: platformWebsite,
|
14
15
|
twitter: 'https://twitter.com/JupiterExchange',
|
15
16
|
};
|
16
|
-
exports.asrApi = 'https://worker.jup.ag/jup-asr-july-2024-claim-proof';
|
17
17
|
exports.asr1Statics = {
|
18
18
|
id: 'jup-asr-1',
|
19
19
|
claimLink: 'https://vote.jup.ag/asr',
|
@@ -24,4 +24,48 @@ exports.asr1Statics = {
|
|
24
24
|
claimEnd: 1722470400000,
|
25
25
|
name: 'ASR #1',
|
26
26
|
};
|
27
|
+
exports.asr2Statics = {
|
28
|
+
id: 'jup-asr-2',
|
29
|
+
claimLink: 'https://vote.jup.ag/asr',
|
30
|
+
image: platformImage,
|
31
|
+
emitterLink: platformWebsite,
|
32
|
+
emitterName: 'Jupiter',
|
33
|
+
claimStart: 1729512000000,
|
34
|
+
claimEnd: 1732190400000,
|
35
|
+
name: 'ASR #2',
|
36
|
+
};
|
37
|
+
exports.asr1Config = {
|
38
|
+
statics: exports.asr1Statics,
|
39
|
+
items: new Map([
|
40
|
+
[constants_1.jupMint, { label: 'JUP', decimals: 6 }],
|
41
|
+
[
|
42
|
+
'ZEUS1aR7aX8DFFJf5QjWj2ftDDdNTroMNGo8YoQm3Gq',
|
43
|
+
{ label: 'ZEUS', decimals: 6 },
|
44
|
+
],
|
45
|
+
[
|
46
|
+
'WENWENvqqNya429ubCdR81ZmD69brwQaaBYY6p3LCpk',
|
47
|
+
{ label: 'WEN', decimals: 5 },
|
48
|
+
],
|
49
|
+
[
|
50
|
+
'UPTx1d24aBWuRgwxVnFmX4gNraj3QGFzL3QqBgxtWQG',
|
51
|
+
{ label: 'UPT', decimals: 9 },
|
52
|
+
],
|
53
|
+
[
|
54
|
+
'SHARKSYJjqaNyxVfrpnBN9pjgkhwDhatnMyicWPnr1s',
|
55
|
+
{ label: 'SHARK', decimals: 6 },
|
56
|
+
],
|
57
|
+
]),
|
58
|
+
api: (owner) => `https://worker.jup.ag/jup-asr-july-2024-claim-proof/${owner}`,
|
59
|
+
};
|
60
|
+
exports.asr2Config = {
|
61
|
+
statics: exports.asr2Statics,
|
62
|
+
items: new Map([
|
63
|
+
[constants_1.jupMint, { label: 'JUP', decimals: 6 }],
|
64
|
+
[
|
65
|
+
'CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu',
|
66
|
+
{ label: 'CLOUD', decimals: 9 },
|
67
|
+
],
|
68
|
+
]),
|
69
|
+
api: (owner) => `https://worker.jup.ag/asr-claim-proof/${owner}?asrTimeline=oct-2024&mints=JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN%2CCLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu`,
|
70
|
+
};
|
27
71
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAEA,sDAAiD;AAEpC,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAC/C,MAAM,YAAY,GAAG,oBAAoB,CAAC;AAC1C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AACvE,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAElC,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,WAAW,GAAmB;IACzC,EAAE,EAAE,WAAW;IACf,SAAS,EAAE,yBAAyB;IACpC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,QAAQ;CACf,CAAC;AACW,QAAA,WAAW,GAAmB;IACzC,EAAE,EAAE,WAAW;IACf,SAAS,EAAE,yBAAyB;IACpC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,QAAQ;CACf,CAAC;AAeW,QAAA,UAAU,GAAc;IACnC,OAAO,EAAE,mBAAW;IACpB,KAAK,EAAE,IAAI,GAAG,CAAC;QACb,CAAC,mBAAO,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;QACxC;YACE,6CAA6C;YAC7C,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE;SAC/B;QACD;YACE,6CAA6C;YAC7C,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE;SAC9B;QACD;YACE,6CAA6C;YAC7C,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE;SAC9B;QACD;YACE,6CAA6C;YAC7C,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;SAChC;KACF,CAAC;IACF,GAAG,EAAE,CAAC,KAAa,EAAE,EAAE,CACrB,uDAAuD,KAAK,EAAE;CACjE,CAAC;AAEW,QAAA,UAAU,GAAc;IACnC,OAAO,EAAE,mBAAW;IACpB,KAAK,EAAE,IAAI,GAAG,CAAC;QACb,CAAC,mBAAO,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;QACxC;YACE,8CAA8C;YAC9C,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;SAChC;KACF,CAAC;IACF,GAAG,EAAE,CAAC,KAAa,EAAE,EAAE,CACrB,yCAAyC,KAAK,wHAAwH;CACzK,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { AirdropFetcher } from '../../../AirdropFetcher';
|
2
|
+
export declare const asr1AirdropFetcher: AirdropFetcher;
|
3
|
+
export declare const asr1Fetcher: import("../../..").Fetcher;
|
4
|
+
export declare const asr2AirdropFetcher: AirdropFetcher;
|
5
|
+
export declare const asr2Fetcher: import("../../..").Fetcher;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.asr2Fetcher = exports.asr2AirdropFetcher = exports.asr1Fetcher = exports.asr1AirdropFetcher = void 0;
|
4
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
5
|
+
const AirdropFetcher_1 = require("../../../AirdropFetcher");
|
6
|
+
const constants_1 = require("./constants");
|
7
|
+
const asrAirdropFetcher_1 = require("./asrAirdropFetcher");
|
8
|
+
exports.asr1AirdropFetcher = {
|
9
|
+
id: constants_1.asr1Statics.id,
|
10
|
+
networkId: portfolio_core_1.NetworkId.solana,
|
11
|
+
executor: (0, asrAirdropFetcher_1.getAsrAirdropExecutor)(constants_1.asr1Config),
|
12
|
+
};
|
13
|
+
exports.asr1Fetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(exports.asr1AirdropFetcher, constants_1.platformId, `${constants_1.platformId}-asr-1`, constants_1.asr1Statics.claimEnd);
|
14
|
+
exports.asr2AirdropFetcher = {
|
15
|
+
id: constants_1.asr2Statics.id,
|
16
|
+
networkId: portfolio_core_1.NetworkId.solana,
|
17
|
+
executor: (0, asrAirdropFetcher_1.getAsrAirdropExecutor)(constants_1.asr2Config),
|
18
|
+
};
|
19
|
+
exports.asr2Fetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(exports.asr2AirdropFetcher, constants_1.platformId, `${constants_1.platformId}-asr-2`, constants_1.asr2Statics.claimEnd);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/index.ts"],"names":[],"mappings":";;;AAAA,+DAAuD;AACvD,4DAGiC;AACjC,2CAMqB;AACrB,2DAA4D;AAE/C,QAAA,kBAAkB,GAAmB;IAChD,EAAE,EAAE,uBAAW,CAAC,EAAE;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,IAAA,yCAAqB,EAAC,sBAAU,CAAC;CAC5C,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,wCAAuB,EAChD,0BAAkB,EAClB,sBAAU,EACV,GAAG,sBAAU,QAAQ,EACrB,uBAAW,CAAC,QAAQ,CACrB,CAAC;AAEW,QAAA,kBAAkB,GAAmB;IAChD,EAAE,EAAE,uBAAW,CAAC,EAAE;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,IAAA,yCAAqB,EAAC,sBAAU,CAAC;CAC5C,CAAC;AACW,QAAA,WAAW,GAAG,IAAA,wCAAuB,EAChD,0BAAkB,EAClB,sBAAU,EACV,GAAG,sBAAU,QAAQ,EACrB,uBAAW,CAAC,QAAQ,CACrB,CAAC"}
|
@@ -15,7 +15,7 @@ const voteFetcher_1 = __importDefault(require("./governance/voteFetcher"));
|
|
15
15
|
const constants_2 = require("./governance/constants");
|
16
16
|
const pricingJob_1 = __importDefault(require("./pricingJob"));
|
17
17
|
const constants_3 = require("./exchange/constants");
|
18
|
-
const
|
18
|
+
const governance_1 = require("./governance");
|
19
19
|
const launchpad_1 = require("./launchpad");
|
20
20
|
exports.platforms = [
|
21
21
|
constants_1.platform,
|
@@ -30,11 +30,13 @@ exports.fetchers = [
|
|
30
30
|
dcaFetcher_1.default,
|
31
31
|
lockFetcher_1.default,
|
32
32
|
voteFetcher_1.default,
|
33
|
-
|
33
|
+
governance_1.asr1Fetcher,
|
34
|
+
governance_1.asr2Fetcher,
|
34
35
|
...launchpad_1.lfgFetchers,
|
35
36
|
];
|
36
37
|
exports.airdropFetchers = [
|
37
|
-
|
38
|
+
governance_1.asr1AirdropFetcher,
|
39
|
+
governance_1.asr2AirdropFetcher,
|
38
40
|
...launchpad_1.lfgAirdropFetchers,
|
39
41
|
];
|
40
42
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/index.ts"],"names":[],"mappings":";;;;;;AAGA,mFAA2D;AAC3D,yFAAiE;AACjE,2EAAmD;AACnD,uEAA+C;AAC/C,yEAAiD;AACjD,2EAAmD;AAEnD,qDAAsE;AACtE,2EAAmD;AACnD,sDAAwE;AACxE,8DAAsC;AACtC,oDAAoE;AAEpE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/index.ts"],"names":[],"mappings":";;;;;;AAGA,mFAA2D;AAC3D,yFAAiE;AACjE,2EAAmD;AACnD,uEAA+C;AAC/C,yEAAiD;AACjD,2EAAmD;AAEnD,qDAAsE;AACtE,2EAAmD;AACnD,sDAAwE;AACxE,8DAAsC;AACtC,oDAAoE;AAEpE,6CAKsB;AACtB,2CAA8D;AAEjD,QAAA,SAAS,GAAe;IACnC,oBAAiB;IACjB,oBAAkB;IAClB,oBAAgB;CACjB,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,sBAAY,EAAE,oBAAU,CAAC,CAAC;AACzC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,6BAAmB;IACnB,sBAAY;IACZ,oBAAU;IACV,qBAAW;IACX,qBAAW;IACX,wBAAW;IACX,wBAAW;IACX,GAAG,uBAAW;CACf,CAAC;AACW,QAAA,eAAe,GAAqB;IAC/C,+BAAkB;IAClB,+BAAkB;IAClB,GAAG,8BAAkB;CACtB,CAAC"}
|
@@ -0,0 +1,42 @@
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
13
|
+
const constants_1 = require("./constants");
|
14
|
+
const clients_1 = require("../../utils/clients");
|
15
|
+
const structs_1 = require("./structs");
|
16
|
+
const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
|
17
|
+
const getParsedAccountInfo_1 = require("../../utils/solana/getParsedAccountInfo");
|
18
|
+
const helpers_1 = require("./helpers");
|
19
|
+
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
20
|
+
const connection = (0, clients_1.getClientSolana)();
|
21
|
+
const claim = yield (0, getParsedAccountInfo_1.getParsedAccountInfo)(connection, structs_1.claimStruct, (0, helpers_1.getPda)(owner));
|
22
|
+
if (!claim || claim.amount.isZero())
|
23
|
+
return [];
|
24
|
+
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
25
|
+
const element = elementRegistry.addElementMultiple({
|
26
|
+
label: 'Airdrop',
|
27
|
+
});
|
28
|
+
element.addAsset({
|
29
|
+
address: claim.mintAddress.toString(),
|
30
|
+
amount: claim.amount.dividedBy(Math.pow(10, 9)),
|
31
|
+
alreadyShifted: true,
|
32
|
+
attributes: { isClaimable: true },
|
33
|
+
});
|
34
|
+
return elementRegistry.getElements(cache);
|
35
|
+
});
|
36
|
+
const fetcher = {
|
37
|
+
id: `${constants_1.platformId}-claim`,
|
38
|
+
networkId: portfolio_core_1.NetworkId.solana,
|
39
|
+
executor,
|
40
|
+
};
|
41
|
+
exports.default = fetcher;
|
42
|
+
//# sourceMappingURL=airdropClaimFetcher.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"airdropClaimFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loverflow/airdropClaimFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAAyC;AAEzC,iDAAsD;AACtD,uCAAwC;AACxC,gFAA6E;AAC7E,kFAA+E;AAC/E,uCAAmC;AAEnC,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,KAAK,GAAG,MAAM,IAAA,2CAAoB,EACtC,UAAU,EACV,qBAAW,EACX,IAAA,gBAAM,EAAC,KAAK,CAAC,CACd,CAAC;IACF,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,CAAC;IAE/C,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,SAAS;KACjB,CAAC,CAAC;IACH,OAAO,CAAC,QAAQ,CAAC;QACf,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE;QACrC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC;QACvC,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;KAClC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { PublicKey } from '@solana/web3.js';
|
2
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
3
|
+
export declare const platformId = "loverflow";
|
4
|
+
export declare const platform: Platform;
|
5
|
+
export declare const marketsCacheKey = "markets";
|
6
|
+
export declare const pid: PublicKey;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.pid = exports.marketsCacheKey = exports.platform = exports.platformId = void 0;
|
4
|
+
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
exports.platformId = 'loverflow';
|
6
|
+
exports.platform = {
|
7
|
+
id: exports.platformId,
|
8
|
+
name: 'loverflow',
|
9
|
+
image: 'https://sonar.watch/img/platforms/loverflow.webp',
|
10
|
+
website: 'https://loverflow.ibx.exchange/claim',
|
11
|
+
twitter: 'https://x.com/IBXtrade',
|
12
|
+
// defiLlamaId: 'loverflow', // from https://defillama.com/docs/api
|
13
|
+
};
|
14
|
+
exports.marketsCacheKey = `markets`;
|
15
|
+
exports.pid = new web3_js_1.PublicKey('3VQxX1xitpPBXFARqarDQJPLDEUUBPzfUV1s1GPDSCvg');
|
16
|
+
//# sourceMappingURL=constants.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loverflow/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,sCAAsC;IAC/C,OAAO,EAAE,wBAAwB;IACjC,mEAAmE;CACpE,CAAC;AACW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,GAAG,GAAG,IAAI,mBAAS,CAC9B,8CAA8C,CAC/C,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getPda = void 0;
|
4
|
+
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
function getPda(owner) {
|
6
|
+
return web3_js_1.PublicKey.findProgramAddressSync([new web3_js_1.PublicKey(owner).toBuffer().slice(0, 31)], new web3_js_1.PublicKey('CChTq6PthWU82YZkbveA3WDf7s97BWhBK4Vx9bmsT743'))[0];
|
7
|
+
}
|
8
|
+
exports.getPda = getPda;
|
9
|
+
//# sourceMappingURL=helpers.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loverflow/helpers.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,SAAgB,MAAM,CAAC,KAAa;IAClC,OAAO,mBAAS,CAAC,sBAAsB,CACrC,CAAC,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAC9C,IAAI,mBAAS,CAAC,8CAA8C,CAAC,CAC9D,CAAC,CAAC,CAAC,CAAC;AACP,CAAC;AALD,wBAKC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
|
+
const constants_1 = require("./constants");
|
8
|
+
const airdropClaimFetcher_1 = __importDefault(require("./airdropClaimFetcher"));
|
9
|
+
exports.platforms = [constants_1.platform];
|
10
|
+
exports.jobs = [];
|
11
|
+
exports.fetchers = [airdropClaimFetcher_1.default];
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loverflow/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,gFAAiD;AAEpC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,6BAAY,CAAC,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { BeetStruct } from '@metaplex-foundation/beet';
|
2
|
+
import { PublicKey } from '@solana/web3.js';
|
3
|
+
import BigNumber from 'bignumber.js';
|
4
|
+
export type Schedule = {
|
5
|
+
releaseTime: BigNumber;
|
6
|
+
amount: BigNumber;
|
7
|
+
};
|
8
|
+
export declare const scheduleStruct: BeetStruct<Schedule, Partial<Schedule>>;
|
9
|
+
export type Claim = {
|
10
|
+
destinationAddress: PublicKey;
|
11
|
+
mintAddress: PublicKey;
|
12
|
+
isInitialized: boolean;
|
13
|
+
releaseTime: BigNumber;
|
14
|
+
amount: BigNumber;
|
15
|
+
};
|
16
|
+
export declare const claimStruct: BeetStruct<Claim, Partial<Claim>>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.claimStruct = exports.scheduleStruct = void 0;
|
4
|
+
const beet_1 = require("@metaplex-foundation/beet");
|
5
|
+
const beet_solana_1 = require("@metaplex-foundation/beet-solana");
|
6
|
+
const solana_1 = require("../../utils/solana");
|
7
|
+
exports.scheduleStruct = new beet_1.BeetStruct([
|
8
|
+
['releaseTime', solana_1.u64],
|
9
|
+
['amount', solana_1.u64],
|
10
|
+
], (args) => args);
|
11
|
+
exports.claimStruct = new beet_1.BeetStruct([
|
12
|
+
['destinationAddress', beet_solana_1.publicKey],
|
13
|
+
['mintAddress', beet_solana_1.publicKey],
|
14
|
+
['isInitialized', beet_1.bool],
|
15
|
+
['releaseTime', solana_1.u64],
|
16
|
+
['amount', solana_1.u64],
|
17
|
+
], (args) => args);
|
18
|
+
//# sourceMappingURL=structs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loverflow/structs.ts"],"names":[],"mappings":";;;AAAA,oDAA6D;AAC7D,kEAA6D;AAG7D,+CAAyC;AAO5B,QAAA,cAAc,GAAG,IAAI,iBAAU,CAC1C;IACE,CAAC,aAAa,EAAE,YAAG,CAAC;IACpB,CAAC,QAAQ,EAAE,YAAG,CAAC;CAChB,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAgB,CAC3B,CAAC;AASW,QAAA,WAAW,GAAG,IAAI,iBAAU,CACvC;IACE,CAAC,oBAAoB,EAAE,uBAAS,CAAC;IACjC,CAAC,aAAa,EAAE,uBAAS,CAAC;IAC1B,CAAC,eAAe,EAAE,WAAI,CAAC;IACvB,CAAC,aAAa,EAAE,YAAG,CAAC;IACpB,CAAC,QAAQ,EAAE,YAAG,CAAC;CAChB,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAa,CACxB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loverflow/types.ts"],"names":[],"mappings":""}
|
@@ -8,5 +8,5 @@ export declare class AssetBuilder {
|
|
8
8
|
attributes: PortfolioAssetAttributes;
|
9
9
|
alreadyShifted: boolean;
|
10
10
|
constructor(params: PortfolioAssetParams);
|
11
|
-
get(networkId: NetworkIdType, tokenPrices: TokenPriceMap): PortfolioAsset | null;
|
11
|
+
get(networkId: NetworkIdType, tokenPrices: TokenPriceMap, keepIfZero?: boolean): PortfolioAsset | null;
|
12
12
|
}
|
@@ -13,9 +13,9 @@ class AssetBuilder {
|
|
13
13
|
this.attributes = params.attributes || {};
|
14
14
|
this.alreadyShifted = params.alreadyShifted || false;
|
15
15
|
}
|
16
|
-
get(networkId, tokenPrices) {
|
16
|
+
get(networkId, tokenPrices, keepIfZero) {
|
17
17
|
let amount = new bignumber_js_1.default(this.amount);
|
18
|
-
if (amount.isZero())
|
18
|
+
if (!keepIfZero && amount.isZero())
|
19
19
|
return null;
|
20
20
|
const tokenPrice = tokenPrices.get(this.address);
|
21
21
|
if (!tokenPrice)
|