@sonarwatch/portfolio-plugins 0.11.229 → 0.11.231

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/CHANGELOG.md +1670 -1662
  2. package/README.md +3 -3
  3. package/package.json +5 -5
  4. package/src/index.js +8 -4
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/balancer/helpers/pools.js +21 -21
  7. package/src/plugins/elixir/constants.d.ts +12 -0
  8. package/src/plugins/elixir/constants.js +79 -0
  9. package/src/plugins/elixir/constants.js.map +1 -0
  10. package/src/plugins/elixir/helpers.d.ts +2 -0
  11. package/src/plugins/elixir/helpers.js +40 -0
  12. package/src/plugins/elixir/helpers.js.map +1 -0
  13. package/src/plugins/{metadao → elixir}/index.js +3 -3
  14. package/src/plugins/elixir/index.js.map +1 -0
  15. package/src/plugins/elixir/positionsFetcher.d.ts +3 -0
  16. package/src/plugins/elixir/positionsFetcher.js +153 -0
  17. package/src/plugins/elixir/positionsFetcher.js.map +1 -0
  18. package/src/plugins/elixir/types.d.ts +43 -0
  19. package/src/plugins/elixir/types.js +3 -0
  20. package/src/plugins/elixir/types.js.map +1 -0
  21. package/src/plugins/elixir/vaultsJob.js +48 -0
  22. package/src/plugins/elixir/vaultsJob.js.map +1 -0
  23. package/src/plugins/{metadao → futarchy}/constants.d.ts +3 -3
  24. package/src/plugins/futarchy/constants.js +19 -0
  25. package/src/plugins/futarchy/constants.js.map +1 -0
  26. package/src/plugins/futarchy/daosJob.js +283 -0
  27. package/src/plugins/futarchy/daosJob.js.map +1 -0
  28. package/src/plugins/futarchy/index.d.ts +6 -0
  29. package/src/plugins/futarchy/index.js +12 -0
  30. package/src/plugins/futarchy/index.js.map +1 -0
  31. package/src/plugins/futarchy/structs.d.ts +96 -0
  32. package/src/plugins/futarchy/structs.js +94 -0
  33. package/src/plugins/futarchy/structs.js.map +1 -0
  34. package/src/plugins/sushiswap/helpers.js +24 -24
  35. package/src/plugins/texture/index.js +5 -0
  36. package/src/plugins/texture/index.js.map +1 -1
  37. package/src/plugins/uniswap-v2/helpers.js +22 -22
  38. package/src/utils/aptos/getAccountResources.d.ts +1 -1
  39. package/src/utils/aptos/getCoinStoreResources.d.ts +1 -1
  40. package/src/utils/aptos/getView.d.ts +1 -1
  41. package/src/utils/clients/getClientCosmos.d.ts +84 -57
  42. package/src/utils/clients/getClientIbc.d.ts +144 -103
  43. package/src/utils/clients/getClientSei.d.ts +97 -97
  44. package/src/utils/misc/getLpUnderlyingTokenSource.d.ts +2 -0
  45. package/src/utils/misc/getLpUnderlyingTokenSource.js +3 -1
  46. package/src/utils/misc/getLpUnderlyingTokenSource.js.map +1 -1
  47. package/src/utils/sei/constants.js +8 -8
  48. package/src/utils/sei/getAllBalances.d.ts +2 -2
  49. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  50. package/src/plugins/metadao/constants.js +0 -16
  51. package/src/plugins/metadao/constants.js.map +0 -1
  52. package/src/plugins/metadao/index.js.map +0 -1
  53. package/src/plugins/metadao/poolsJob.js +0 -98
  54. package/src/plugins/metadao/poolsJob.js.map +0 -1
  55. package/src/plugins/metadao/structs.d.ts +0 -44
  56. package/src/plugins/metadao/structs.js +0 -45
  57. package/src/plugins/metadao/structs.js.map +0 -1
  58. package/src/plugins/metadao/vaultsJob.js +0 -113
  59. package/src/plugins/metadao/vaultsJob.js.map +0 -1
  60. /package/src/plugins/{metadao → elixir}/index.d.ts +0 -0
  61. /package/src/plugins/{metadao → elixir}/vaultsJob.d.ts +0 -0
  62. /package/src/plugins/{metadao/poolsJob.d.ts → futarchy/daosJob.d.ts} +0 -0
@@ -1,44 +0,0 @@
1
- /// <reference types="node" />
2
- import { BeetStruct } from '@metaplex-foundation/beet';
3
- import { PublicKey } from '@metaplex-foundation/js';
4
- import BigNumber from 'bignumber.js';
5
- export declare enum VaultStatus {
6
- Active = 0,
7
- Finalized = 1,
8
- Reverted = 2
9
- }
10
- export type ConditionnalVault = {
11
- buffer: Buffer;
12
- status: VaultStatus;
13
- settlementAuthority: PublicKey;
14
- underlyingTokenMint: PublicKey;
15
- underlyingTokenAccount: PublicKey;
16
- conditionalOnFinalizeTokenMint: PublicKey;
17
- conditionalOnRevertTokenMint: PublicKey;
18
- pdaBump: number;
19
- decimals: number;
20
- };
21
- export declare const conditionnalVaultStruct: BeetStruct<ConditionnalVault, Partial<ConditionnalVault>>;
22
- export type TwapOracle = {
23
- lastUpdatedSlot: BigNumber;
24
- lastPrice: BigNumber;
25
- lastObservation: BigNumber;
26
- aggregator: BigNumber;
27
- maxObservationChangePerUpdate: BigNumber;
28
- initialObservation: BigNumber;
29
- };
30
- export declare const twapOracleStruct: BeetStruct<TwapOracle, Partial<TwapOracle>>;
31
- export type Amm = {
32
- buffer: Buffer;
33
- bump: number;
34
- createdAtSlot: BigNumber;
35
- lpMint: PublicKey;
36
- baseMint: PublicKey;
37
- quoteMint: PublicKey;
38
- baseMintDecimals: number;
39
- quoteMintDecimals: number;
40
- baseAmount: BigNumber;
41
- quoteAmount: BigNumber;
42
- oracle: TwapOracle;
43
- };
44
- export declare const ammStruct: BeetStruct<Amm, Partial<Amm>>;
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ammStruct = exports.twapOracleStruct = exports.conditionnalVaultStruct = exports.VaultStatus = 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
- var VaultStatus;
8
- (function (VaultStatus) {
9
- VaultStatus[VaultStatus["Active"] = 0] = "Active";
10
- VaultStatus[VaultStatus["Finalized"] = 1] = "Finalized";
11
- VaultStatus[VaultStatus["Reverted"] = 2] = "Reverted";
12
- })(VaultStatus || (exports.VaultStatus = VaultStatus = {}));
13
- exports.conditionnalVaultStruct = new beet_1.BeetStruct([
14
- ['buffer', (0, solana_1.blob)(8)],
15
- ['status', beet_1.u8],
16
- ['settlementAuthority', beet_solana_1.publicKey],
17
- ['underlyingTokenMint', beet_solana_1.publicKey],
18
- ['underlyingTokenAccount', beet_solana_1.publicKey],
19
- ['conditionalOnFinalizeTokenMint', beet_solana_1.publicKey],
20
- ['conditionalOnRevertTokenMint', beet_solana_1.publicKey],
21
- ['pdaBump', beet_1.u8],
22
- ['decimals', beet_1.u8],
23
- ], (args) => args);
24
- exports.twapOracleStruct = new beet_1.BeetStruct([
25
- ['lastUpdatedSlot', solana_1.u64],
26
- ['lastPrice', solana_1.u128],
27
- ['lastObservation', solana_1.u128],
28
- ['aggregator', solana_1.u128],
29
- ['maxObservationChangePerUpdate', solana_1.u128],
30
- ['initialObservation', solana_1.u128],
31
- ], (args) => args);
32
- exports.ammStruct = new beet_1.BeetStruct([
33
- ['buffer', (0, solana_1.blob)(8)],
34
- ['bump', beet_1.u8],
35
- ['createdAtSlot', solana_1.u64],
36
- ['lpMint', beet_solana_1.publicKey],
37
- ['baseMint', beet_solana_1.publicKey],
38
- ['quoteMint', beet_solana_1.publicKey],
39
- ['baseMintDecimals', beet_1.u8],
40
- ['quoteMintDecimals', beet_1.u8],
41
- ['baseAmount', solana_1.u64],
42
- ['quoteAmount', solana_1.u64],
43
- ['oracle', exports.twapOracleStruct],
44
- ], (args) => args);
45
- //# sourceMappingURL=structs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/metadao/structs.ts"],"names":[],"mappings":";;;AAAA,oDAA2D;AAE3D,kEAA6D;AAE7D,+CAAqD;AAErD,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,iDAAM,CAAA;IACN,uDAAS,CAAA;IACT,qDAAQ,CAAA;AACV,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAcY,QAAA,uBAAuB,GAAG,IAAI,iBAAU,CACnD;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,QAAQ,EAAE,SAAE,CAAC;IACd,CAAC,qBAAqB,EAAE,uBAAS,CAAC;IAClC,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, 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 clients_1 = require("../../utils/clients");
14
- const solana_1 = require("../../utils/solana");
15
- const filters_1 = require("../../utils/solana/filters");
16
- const constants_1 = require("./constants");
17
- const structs_1 = require("./structs");
18
- const constants_2 = require("../tokens/constants");
19
- const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
20
- const client = (0, clients_1.getClientSolana)();
21
- const vaults = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.conditionnalVaultStruct, constants_1.vaultPid, (0, filters_1.dataSizeFilter)(171));
22
- const mints = new Set();
23
- const tokenAccountsPkeys = [];
24
- const passAndFailMints = [];
25
- vaults.forEach((vault) => {
26
- mints.add(vault.underlyingTokenMint.toString());
27
- tokenAccountsPkeys.push(vault.underlyingTokenAccount);
28
- passAndFailMints.push(...[
29
- vault.conditionalOnFinalizeTokenMint,
30
- vault.conditionalOnRevertTokenMint,
31
- ]);
32
- });
33
- const [tokenPriceById, tokenAccounts, passAndFailsMintAccounts, tokenList] = yield Promise.all([
34
- cache.getTokenPricesAsMap(Array.from(mints), portfolio_core_1.NetworkId.solana),
35
- (0, solana_1.getParsedMultipleAccountsInfo)(client, solana_1.tokenAccountStruct, tokenAccountsPkeys),
36
- (0, solana_1.getParsedMultipleAccountsInfo)(client, solana_1.mintAccountStruct, passAndFailMints),
37
- cache.getItems(Array.from(mints), {
38
- prefix: constants_2.tokenListsDetailsPrefix,
39
- networkId: portfolio_core_1.NetworkId.solana,
40
- }),
41
- ]);
42
- const tokenAccountById = new Map();
43
- const passAndFailMintsAccountById = new Map();
44
- tokenAccounts.forEach((account) => {
45
- if (account)
46
- tokenAccountById.set(account.pubkey.toString(), account);
47
- });
48
- passAndFailsMintAccounts.forEach((account) => {
49
- if (account)
50
- passAndFailMintsAccountById.set(account.pubkey.toString(), account);
51
- });
52
- const tokensDetailsById = new Map();
53
- tokenList.forEach((tD) => tD ? tokensDetailsById.set(tD.address, tD) : undefined);
54
- const tokenPriceSources = [];
55
- for (const vault of vaults) {
56
- const tokenPrice = tokenPriceById.get(vault.underlyingTokenMint.toString());
57
- if (!tokenPrice)
58
- continue;
59
- const underlyingAccount = tokenAccountById.get(vault.underlyingTokenAccount.toString());
60
- if (!underlyingAccount || underlyingAccount.amount.isZero())
61
- continue;
62
- const passMint = vault.conditionalOnFinalizeTokenMint.toString();
63
- const failMint = vault.conditionalOnRevertTokenMint.toString();
64
- const underlyingValue = underlyingAccount.amount
65
- .times(tokenPrice.price)
66
- .dividedBy(Math.pow(10, vault.decimals));
67
- const [passMintAccount, failMintAccount] = [
68
- passAndFailMintsAccountById.get(passMint),
69
- passAndFailMintsAccountById.get(failMint),
70
- ];
71
- if (!passMintAccount || !failMintAccount)
72
- continue;
73
- const passPrice = underlyingValue.dividedBy(passMintAccount.supply.dividedBy(Math.pow(10, passMintAccount.decimals)));
74
- const failPrice = underlyingValue.dividedBy(failMintAccount.supply.dividedBy(Math.pow(10, failMintAccount.decimals)));
75
- const underlyingTokenDetail = tokensDetailsById.get(vault.underlyingTokenMint.toString());
76
- tokenPriceSources.push(...[
77
- {
78
- address: passMint,
79
- decimals: passMintAccount.decimals,
80
- id: vault.pubkey.toString(),
81
- networkId: portfolio_core_1.NetworkId.solana,
82
- platformId: constants_1.platformId,
83
- price: passPrice.toNumber(),
84
- timestamp: Date.now(),
85
- weight: 1,
86
- liquidityName: underlyingTokenDetail
87
- ? `p${underlyingTokenDetail.symbol}`
88
- : undefined,
89
- },
90
- {
91
- address: failMint,
92
- decimals: failMintAccount.decimals,
93
- id: vault.pubkey.toString(),
94
- networkId: portfolio_core_1.NetworkId.solana,
95
- platformId: constants_1.platformId,
96
- price: failPrice.toNumber(),
97
- timestamp: Date.now(),
98
- weight: 1,
99
- liquidityName: underlyingTokenDetail
100
- ? `f${underlyingTokenDetail.symbol}`
101
- : undefined,
102
- },
103
- ]);
104
- }
105
- yield cache.setTokenPriceSources(tokenPriceSources);
106
- });
107
- const job = {
108
- id: `${constants_1.platformId}-vaults`,
109
- executor,
110
- label: 'normal',
111
- };
112
- exports.default = job;
113
- //# sourceMappingURL=vaultsJob.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vaultsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/metadao/vaultsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAIoC;AAIpC,iDAAsD;AACtD,+CAO4B;AAC5B,wDAA4D;AAC5D,2CAAmD;AACnD,uCAAoD;AACpD,mDAA8D;AAE9D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,MAAM,GAAG,MAAM,IAAA,iCAAwB,EAC3C,MAAM,EACN,iCAAuB,EACvB,oBAAQ,EACR,IAAA,wBAAc,EAAC,GAAG,CAAC,CACpB,CAAC;IAEF,MAAM,KAAK,GAAgB,IAAI,GAAG,EAAE,CAAC;IACrC,MAAM,kBAAkB,GAAgB,EAAE,CAAC;IAC3C,MAAM,gBAAgB,GAAgB,EAAE,CAAC;IACzC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACvB,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,CAAC;QAChD,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;QACtD,gBAAgB,CAAC,IAAI,CACnB,GAA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