@sonarwatch/portfolio-plugins 0.12.139 → 0.12.140
Sign up to get free protection for your applications and to get access to all the features.
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.12.140](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.139...plugins-0.12.140) (2024-08-16)
|
6
|
+
|
7
|
+
|
8
|
+
|
5
9
|
## [0.12.139](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.138...plugins-0.12.139) (2024-08-16)
|
6
10
|
|
7
11
|
|
package/package.json
CHANGED
@@ -23,18 +23,30 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
23
23
|
const apiRes = yield axios_1.default.get(constants_1.apiUrl + owner, {
|
24
24
|
timeout: 1000,
|
25
25
|
});
|
26
|
+
if (!apiRes.data.distributions || apiRes.data.distributions.length === 0) {
|
27
|
+
return (0, AirdropFetcher_1.getAirdropRaw)({
|
28
|
+
statics: constants_1.firstDistribStatics,
|
29
|
+
items: [
|
30
|
+
{
|
31
|
+
amount: 0,
|
32
|
+
isClaimed: false,
|
33
|
+
label: 'DBR',
|
34
|
+
address: constants_1.dbrMint,
|
35
|
+
imageUri: constants_1.dbrMint ? undefined : constants_1.platform.image,
|
36
|
+
},
|
37
|
+
],
|
38
|
+
});
|
39
|
+
}
|
26
40
|
const items = [];
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
});
|
37
|
-
}
|
41
|
+
for (const distribution of apiRes.data.distributions) {
|
42
|
+
const tokens = new bignumber_js_1.default(distribution.tokens).div(dbrFactor);
|
43
|
+
items.push({
|
44
|
+
amount: tokens.toNumber(),
|
45
|
+
isClaimed: false,
|
46
|
+
label: 'DBR',
|
47
|
+
address: constants_1.dbrMint,
|
48
|
+
imageUri: constants_1.dbrMint ? undefined : constants_1.platform.image,
|
49
|
+
});
|
38
50
|
}
|
39
51
|
return (0, AirdropFetcher_1.getAirdropRaw)({
|
40
52
|
statics: constants_1.firstDistribStatics,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AACrC,kDAA6C;AAC7C,yDAI8B;AAC9B,2CAMqB;AAGrB,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,uBAAW,CAAA,CAAC,CAAC;AAEnD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,MAAM,GAA+B,MAAM,eAAK,CAAC,GAAG,CAAC,kBAAM,GAAG,KAAK,EAAE;QACzE,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IAEH,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AACrC,kDAA6C;AAC7C,yDAI8B;AAC9B,2CAMqB;AAGrB,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,uBAAW,CAAA,CAAC,CAAC;AAEnD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,MAAM,GAA+B,MAAM,eAAK,CAAC,GAAG,CAAC,kBAAM,GAAG,KAAK,EAAE;QACzE,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzE,OAAO,IAAA,8BAAa,EAAC;YACnB,OAAO,EAAE,+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 @@ const deriveClaimStatus_1 = require("../../utils/solana/jupiter/deriveClaimStatu
|
|
21
21
|
const clients_1 = require("../../utils/clients");
|
22
22
|
const constants_1 = require("../jupiter/launchpad/constants");
|
23
23
|
const constants_2 = require("./constants");
|
24
|
+
const claimStart = new bignumber_js_1.default(1721314800000);
|
25
|
+
const earnestClaimDuration = 180 * 24 * 60 * 60 * 1000;
|
26
|
+
const earnestClaimEnd = claimStart.plus(earnestClaimDuration);
|
27
|
+
const capitalClaimDuration = 14 * 24 * 60 * 60 * 1000;
|
28
|
+
const capitalClaimEnd = claimStart.plus(capitalClaimDuration);
|
24
29
|
const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
25
30
|
const claimProofBase = yield axios_1.default
|
26
31
|
.get(`${constants_1.lfgApiBaseUrl}/CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu/${owner}`, {
|
@@ -46,13 +51,37 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
46
51
|
});
|
47
52
|
const client = (0, clients_1.getClientSolana)();
|
48
53
|
const claimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner, claimProofBase.data.merkle_tree, constants_1.lfgDisProgram);
|
49
|
-
const
|
54
|
+
const claimStatusAccount = yield client.getAccountInfo(claimStatusAddress);
|
55
|
+
let capitalAmount = new bignumber_js_1.default(0);
|
56
|
+
if (claimStatusAccount) {
|
57
|
+
const txs = yield client.getSignaturesForAddress(claimStatusAddress);
|
58
|
+
const accountCreationTx = txs[0];
|
59
|
+
const claimedTs = accountCreationTx.blockTime;
|
60
|
+
if (claimedTs) {
|
61
|
+
const ratio = new bignumber_js_1.default(claimedTs * 1000)
|
62
|
+
.minus(claimStart)
|
63
|
+
.dividedBy(capitalClaimDuration)
|
64
|
+
.plus(1);
|
65
|
+
capitalAmount = new bignumber_js_1.default(claimProofBase.data.amount).times(ratio);
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
capitalAmount = new bignumber_js_1.default(claimProofBase.data.amount);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
else if (capitalClaimEnd.isLessThan(Date.now())) {
|
72
|
+
capitalAmount = new bignumber_js_1.default(claimProofBase.data.amount).times(2);
|
73
|
+
}
|
74
|
+
else {
|
75
|
+
const ratio = new bignumber_js_1.default(Date.now())
|
76
|
+
.minus(claimStart)
|
77
|
+
.dividedBy(earnestClaimDuration)
|
78
|
+
.plus(1);
|
79
|
+
capitalAmount = new bignumber_js_1.default(claimProofBase.data.amount).times(ratio);
|
80
|
+
}
|
50
81
|
const items = [
|
51
82
|
{
|
52
|
-
amount:
|
53
|
-
|
54
|
-
.toNumber(),
|
55
|
-
isClaimed: claimStatusAaccount !== null,
|
83
|
+
amount: capitalAmount.div(Math.pow(10, constants_2.cloudDecimals)).toNumber(),
|
84
|
+
isClaimed: claimStatusAccount !== null,
|
56
85
|
label: 'CLOUD',
|
57
86
|
address: constants_2.cloudMint,
|
58
87
|
},
|
@@ -71,12 +100,36 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
71
100
|
// If Earnestness elligible
|
72
101
|
if (claimProofEarn && typeof claimProofEarn.data !== 'string') {
|
73
102
|
const earnClaimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner, claimProofEarn.data.merkle_tree, constants_1.lfgDisProgram);
|
74
|
-
const
|
103
|
+
const earnClaimStatusAccount = yield client.getAccountInfo(earnClaimStatusAddress);
|
104
|
+
let earnestAmount = new bignumber_js_1.default(0);
|
105
|
+
if (earnClaimStatusAccount) {
|
106
|
+
const txs = yield client.getSignaturesForAddress(earnClaimStatusAddress);
|
107
|
+
const accountCreationTx = txs[0];
|
108
|
+
const time = accountCreationTx.blockTime;
|
109
|
+
if (time) {
|
110
|
+
const ratio = new bignumber_js_1.default(time * 1000)
|
111
|
+
.minus(claimStart)
|
112
|
+
.dividedBy(earnestClaimDuration)
|
113
|
+
.plus(1);
|
114
|
+
earnestAmount = new bignumber_js_1.default(claimProofEarn.data.amount).times(ratio);
|
115
|
+
}
|
116
|
+
else {
|
117
|
+
earnestAmount = new bignumber_js_1.default(claimProofEarn.data.amount);
|
118
|
+
}
|
119
|
+
}
|
120
|
+
else if (earnestClaimEnd.isLessThan(Date.now())) {
|
121
|
+
earnestAmount = new bignumber_js_1.default(claimProofEarn.data.amount).times(2);
|
122
|
+
}
|
123
|
+
else {
|
124
|
+
const ratio = new bignumber_js_1.default(Date.now())
|
125
|
+
.minus(claimStart)
|
126
|
+
.dividedBy(earnestClaimDuration)
|
127
|
+
.plus(1);
|
128
|
+
earnestAmount = new bignumber_js_1.default(claimProofEarn.data.amount).times(ratio);
|
129
|
+
}
|
75
130
|
items.push({
|
76
|
-
amount:
|
77
|
-
|
78
|
-
.toNumber(),
|
79
|
-
isClaimed: earnClaimStatusAaccount !== null,
|
131
|
+
amount: earnestAmount.div(Math.pow(10, constants_2.cloudDecimals)).toNumber(),
|
132
|
+
isClaimed: earnClaimStatusAccount !== null,
|
80
133
|
label: 'CLOUD',
|
81
134
|
address: constants_2.cloudMint,
|
82
135
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"s1AirdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/s1AirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,yDAK8B;AAC9B,oFAAiF;AACjF,iDAAsD;AAEtD,8DAA8E;AAC9E,2CAKqB;AAErB,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,cAAc,GAA6C,MAAM,eAAK;SACzE,GAAG,CACF,GAAG,yBAAa,iDAAiD,KAAK,EAAE,EACxE;QACE,OAAO,EAAE,IAAI;KACd,CACF;SACA,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;QACX,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC,CAAC,CAAC;IACL,IAAI,CAAC,cAAc,IAAI,OAAO,cAAc,CAAC,IAAI,KAAK,QAAQ;QAC5D,OAAO,IAAA,8BAAa,EAAC;YACnB,OAAO,EAAE,4BAAgB;YACzB,KAAK,EAAE;gBACL;oBACE,MAAM,EAAE,CAAC;oBACT,SAAS,EAAE,KAAK;oBAChB,KAAK,EAAE,OAAO;oBACd,OAAO,EAAE,qBAAS;iBACnB;aACF;SACF,CAAC,CAAC;IAEL,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,kBAAkB,GAAG,IAAA,qCAAiB,EAC1C,KAAK,EACL,cAAc,CAAC,IAAI,CAAC,WAAW,EAC/B,yBAAa,CACd,CAAC;IACF,MAAM,
|
1
|
+
{"version":3,"file":"s1AirdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/s1AirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,yDAK8B;AAC9B,oFAAiF;AACjF,iDAAsD;AAEtD,8DAA8E;AAC9E,2CAKqB;AAErB,MAAM,UAAU,GAAG,IAAI,sBAAS,CAAC,aAAa,CAAC,CAAC;AAChD,MAAM,oBAAoB,GAAG,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACvD,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACtD,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;AAE9D,MAAM,QAAQ,GAA2B,CA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