@sonarwatch/portfolio-plugins 0.12.86 → 0.12.88
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.12.88](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.87...plugins-0.12.88) (2024-07-24)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.12.87](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.86...plugins-0.12.87) (2024-07-24)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.12.86](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.85...plugins-0.12.86) (2024-07-23)
|
6
14
|
|
7
15
|
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"helpersAirdrop.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/helpersAirdrop.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,2CAKqB;AACrB,yDAI8B;AAE9B,MAAM,WAAW,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,yBAAa,CAAA,CAAC,CAAC;AAmBvD,SAAsB,gBAAgB,CAAC,KAAa;;QAClD,MAAM,GAAG,GAAmC,MAAM,eAAK,CAAC,GAAG,CACzD,sBAAU,GAAG,KAAK,EAClB;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE,2BAA2B;aACrC;YACD,OAAO,EAAE,IAAI;YACb,cAAc,CAAC,MAAM;gBACnB,OAAO,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,CAAC;YAC1C,CAAC;SACF,CACF,CAAC;QAEF,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YACnB,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;QAC5D,CAAC;QAED,MAAM,eAAe,GACnB,IAAI,CAAC,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI;YACjC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU;YACrB,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;QAE5B,OAAO;YACL,MAAM,EAAE,IAAI,sBAAS,CAAC,eAAe,IAAI,CAAC,CAAC;iBACxC,SAAS,CAAC,WAAW,CAAC;iBACtB,QAAQ,EAAE;YACb,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,WAAW;YAC5B,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,
|
1
|
+
{"version":3,"file":"helpersAirdrop.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/helpersAirdrop.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,2CAKqB;AACrB,yDAI8B;AAE9B,MAAM,WAAW,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,yBAAa,CAAA,CAAC,CAAC;AAmBvD,SAAsB,gBAAgB,CAAC,KAAa;;QAClD,MAAM,GAAG,GAAmC,MAAM,eAAK,CAAC,GAAG,CACzD,sBAAU,GAAG,KAAK,EAClB;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE,2BAA2B;aACrC;YACD,OAAO,EAAE,IAAI;YACb,cAAc,CAAC,MAAM;gBACnB,OAAO,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,CAAC;YAC1C,CAAC;SACF,CACF,CAAC;QAEF,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YACnB,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;QAC5D,CAAC;QAED,MAAM,eAAe,GACnB,IAAI,CAAC,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI;YACjC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU;YACrB,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;QAE5B,OAAO;YACL,MAAM,EAAE,IAAI,sBAAS,CAAC,eAAe,IAAI,CAAC,CAAC;iBACxC,SAAS,CAAC,WAAW,CAAC;iBACtB,QAAQ,EAAE;YACb,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,WAAW;YAC5B,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,cAAc,KAAK,CAAC;SACzC,CAAC;IACJ,CAAC;CAAA;AA/BD,4CA+BC;AAED,MAAM,oBAAoB,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC3E,MAAM,WAAW,GAAG,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAClD,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;IAE1C,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,0BAAc;QACvB,KAAK,EAAE;YACL;gBACE,MAAM;gBACN,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,qBAAS;gBAClB,SAAS;aACV;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,oBAAoB;CAC/B,CAAC"}
|
@@ -69,7 +69,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
69
69
|
});
|
70
70
|
// If Earnestness elligible
|
71
71
|
if (claimProofEarn && typeof claimProofEarn.data !== 'string') {
|
72
|
-
const earnClaimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner,
|
72
|
+
const earnClaimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner, claimProofEarn.data.merkle_tree, constants_1.lfgDisProgram);
|
73
73
|
const earnClaimStatusAaccount = yield client.getAccountInfo(earnClaimStatusAddress);
|
74
74
|
items.push({
|
75
75
|
amount: new bignumber_js_1.default(claimProofEarn.data.amount)
|