@sonarwatch/portfolio-plugins 0.14.33 → 0.14.35
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/alphafi/positionsFetcher.js +1 -1
- package/src/plugins/alphafi/positionsFetcher.js.map +1 -1
- package/src/plugins/cetus/vaultsJob.js +1 -0
- package/src/plugins/cetus/vaultsJob.js.map +1 -1
- package/src/plugins/ensofi/constants.d.ts +10 -0
- package/src/plugins/ensofi/constants.js +24 -0
- package/src/plugins/ensofi/constants.js.map +1 -0
- package/src/plugins/ensofi/idl.d.ts +103 -0
- package/src/plugins/ensofi/idl.js +900 -0
- package/src/plugins/ensofi/idl.js.map +1 -0
- package/src/plugins/ensofi/index.d.ts +6 -0
- package/src/plugins/ensofi/index.js +14 -0
- package/src/plugins/ensofi/index.js.map +1 -0
- package/src/plugins/ensofi/solanaLoansFetcher.d.ts +3 -0
- package/src/plugins/ensofi/solanaLoansFetcher.js +116 -0
- package/src/plugins/ensofi/solanaLoansFetcher.js.map +1 -0
- package/src/plugins/ensofi/suiLoansFetcher.d.ts +3 -0
- package/src/plugins/ensofi/suiLoansFetcher.js +111 -0
- package/src/plugins/ensofi/suiLoansFetcher.js.map +1 -0
- package/src/plugins/ensofi/suiLoansJob.d.ts +3 -0
- package/src/plugins/ensofi/suiLoansJob.js +47 -0
- package/src/plugins/ensofi/suiLoansJob.js.map +1 -0
- package/src/plugins/ensofi/types.d.ts +71 -0
- package/src/plugins/ensofi/types.js +3 -0
- package/src/plugins/ensofi/types.js.map +1 -0
- package/src/plugins/flash/helpers.d.ts +1 -1
- package/src/plugins/flash/helpers.js +2 -2
- package/src/plugins/flash/helpers.js.map +1 -1
- package/src/plugins/flash/poolJob.js +25 -5
- package/src/plugins/flash/poolJob.js.map +1 -1
- package/src/plugins/flash/structs.d.ts +4 -0
- package/src/plugins/flash/structs.js +4 -0
- package/src/plugins/flash/structs.js.map +1 -1
- package/src/plugins/flash/types.d.ts +1 -0
- package/src/plugins/haedal/vaultFetcher.js +1 -2
- package/src/plugins/haedal/vaultFetcher.js.map +1 -1
- package/src/plugins/kai/vaultsJob.js +1 -2
- package/src/plugins/kai/vaultsJob.js.map +1 -1
- package/src/plugins/kriya/vaultsFetcher.js +1 -2
- package/src/plugins/kriya/vaultsFetcher.js.map +1 -1
- package/src/plugins/mole/depositsFetcher.js +1 -1
- package/src/plugins/mole/depositsFetcher.js.map +1 -1
- package/src/plugins/thala/farmingPoolsFetcher.js +14 -50
- package/src/plugins/thala/farmingPoolsFetcher.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui.js +3 -3
- package/src/plugins/tokens/fetchers/sui.js.map +1 -1
- package/src/plugins/tokens/helpers.d.ts +3 -2
- package/src/plugins/tokens/helpers.js +5 -4
- package/src/plugins/tokens/helpers.js.map +1 -1
- package/src/plugins/turbos/clmmVaultFetcher.js +1 -2
- package/src/plugins/turbos/clmmVaultFetcher.js.map +1 -1
- package/src/plugins/typus/safuFetcher.js +2 -2
- package/src/plugins/typus/safuFetcher.js.map +1 -1
- package/src/plugins/typus/vaultsFetcher.js +1 -1
- package/src/plugins/typus/vaultsFetcher.js.map +1 -1
- package/src/plugins/whalesmarket/depositFetcher.js +0 -1
- package/src/plugins/whalesmarket/depositFetcher.js.map +1 -1
- package/src/utils/elementbuilder/AssetBuilder.d.ts +2 -1
- package/src/utils/elementbuilder/AssetBuilder.js +14 -2
- package/src/utils/elementbuilder/AssetBuilder.js.map +1 -1
- package/src/utils/elementbuilder/LiquidityBuilder.js +2 -1
- package/src/utils/elementbuilder/LiquidityBuilder.js.map +1 -1
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.14.35](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.34...plugins-0.14.35) (2024-11-19)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.14.34](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.33...plugins-0.14.34) (2024-11-19)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.14.33](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.32...plugins-0.14.33) (2024-11-15)
|
6
14
|
|
7
15
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -154,6 +154,7 @@ const spdr_1 = require("./plugins/spdr");
|
|
154
154
|
const grass_1 = require("./plugins/grass");
|
155
155
|
const cyberfrogs_1 = require("./plugins/cyberfrogs");
|
156
156
|
const metaplex_1 = require("./plugins/metaplex");
|
157
|
+
const ensofi_1 = require("./plugins/ensofi");
|
157
158
|
var constants_1 = require("./plugins/tokens/constants");
|
158
159
|
Object.defineProperty(exports, "walletTokensPlatform", { enumerable: true, get: function () { return constants_1.walletTokensPlatform; } });
|
159
160
|
Object.defineProperty(exports, "walletNftsPlatform", { enumerable: true, get: function () { return constants_1.walletNftsPlatform; } });
|
@@ -301,6 +302,7 @@ exports.platforms = [
|
|
301
302
|
...grass_1.platforms,
|
302
303
|
...cyberfrogs_1.platforms,
|
303
304
|
...metaplex_1.platforms,
|
305
|
+
...ensofi_1.platforms,
|
304
306
|
];
|
305
307
|
// JOBS //
|
306
308
|
exports.jobs = [
|
@@ -432,6 +434,7 @@ exports.jobs = [
|
|
432
434
|
...grass_1.jobs,
|
433
435
|
...cyberfrogs_1.jobs,
|
434
436
|
...metaplex_1.jobs,
|
437
|
+
...ensofi_1.jobs,
|
435
438
|
];
|
436
439
|
// FETCHERS //
|
437
440
|
exports.fetchers = [
|
@@ -564,6 +567,7 @@ exports.fetchers = [
|
|
564
567
|
...grass_1.fetchers,
|
565
568
|
...cyberfrogs_1.fetchers,
|
566
569
|
...metaplex_1.fetchers,
|
570
|
+
...ensofi_1.fetchers,
|
567
571
|
];
|
568
572
|
exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
|
569
573
|
exports.airdropFetchers = [
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,wEAAgD;AAChD,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAG0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,2DAGiC;AACjC,6CAI0B;AAC1B,2CAKyB;AACzB,2CAIyB;AACzB,qDAA6D;AAC7D,qEAIsC;AACtC,uDAI+B;AAC/B,mDAI6B;AAC7B,qDAG8B;AAC9B,uDAG+B;AAC/B,2CAIyB;AACzB,6CAK0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,+CAI2B;AAC3B,uDAG+B;AAC/B,yCAGwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,6CAI0B;AAC1B,+CAI2B;AAC3B,qDAG8B;AAC9B,iDAI4B;AAC5B,iDAI4B;AAC5B,mDAG6B;AAC7B,yCAIwB;AACxB,2CAIyB;AACzB,yCAIwB;AACxB,iDAI4B;AAC5B,+CAK2B;AAC3B,yCAIwB;AACxB,2CAIyB;AACzB,mDAI6B;AAC7B,2CAIyB;AACzB,2CAIyB;AACzB,sCAIsB;AACtB,+CAI2B;AAC3B,yCAIwB;AACxB,iDAI4B;AAC5B,yCAIwB;AACxB,mDAI6B;AAC7B,qDAI8B;AAC9B,2CAIyB;AACzB,2CAKyB;AACzB,yCAIwB;AACxB,iFAI4C;AAC5C,2CAIyB;AACzB,2CAIyB;AACzB,uDAI+B;AAC/B,6DAIkC;AAClC,2CAIyB;AACzB,yCAI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B;IAC/C,GAAG,yBAAsB;IACzB,GAAG,wBAAqB;IACxB,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;IACnB,yBAAsB;IACtB,sBAAmB;IACnB,GAAG,0BAAuB;CAC3B,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
|
@@ -125,7 +125,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
125
125
|
platformId: constants_1.platformId,
|
126
126
|
name: 'Alpha Vault',
|
127
127
|
value: (0, portfolio_core_1.getUsdValueSum)(alphaAssets.map((a) => a.value)),
|
128
|
-
label: '
|
128
|
+
label: 'Vault',
|
129
129
|
data: { assets: alphaAssets },
|
130
130
|
});
|
131
131
|
if (naviAssets.length !== 0)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/alphafi/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AAErC,2CAKqB;AAErB,qEAAkE;AAClE,iDAAmD;AAEnD,qGAA6E;AAE7E,MAAM,aAAa,GAAG,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC;AAE9B,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACnD,IAAA,iCAAe,EAAU,MAAM,EAAE,KAAK,EAAE;YACtC,MAAM,EAAE;gBACN,QAAQ,EAAE,wBAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;oBACjC,UAAU,EAAE,CAAC;iBACd,CAAC,CAAC;aACJ;SACF,CAAC;QACF,KAAK,CAAC,OAAO,CAAkB,6BAAiB,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AAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/alphafi/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AAErC,2CAKqB;AAErB,qEAAkE;AAClE,iDAAmD;AAEnD,qGAA6E;AAE7E,MAAM,aAAa,GAAG,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC;AAE9B,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACnD,IAAA,iCAAe,EAAU,MAAM,EAAE,KAAK,EAAE;YACtC,MAAM,EAAE;gBACN,QAAQ,EAAE,wBAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;oBACjC,UAAU,EAAE,CAAC;iBACd,CAAC,CAAC;aACJ;SACF,CAAC;QACF,KAAK,CAAC,OAAO,CAAkB,6BAAiB,EAAE;YAChD,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,GAAG;SACzB,CAAC;KACH,CAAC,CAAC;IAEH,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAExD,MAAM,iBAAiB,GAA+B,IAAI,GAAG,EAAE,CAAC;IAChE,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAC9B,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAC9C,CAAC;IAEF,MAAM,KAAK,GAAgB,IAAI,GAAG,EAAE,CAA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C,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACrD,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,CAAC,CAAC;IAEL,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -88,6 +88,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
88
88
|
price: underlyings.reduce((acc, u) => u.price * u.amountPerLp + acc, 0),
|
89
89
|
underlyings,
|
90
90
|
timestamp: Date.now(),
|
91
|
+
label: 'Vault',
|
91
92
|
});
|
92
93
|
}
|
93
94
|
yield cache.setTokenPriceSources(tokenPriceSources);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vaultsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/vaultsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"vaultsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/vaultsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,gEAAqC;AAGrC,iDAAmD;AACnD,2CAA2E;AAC3E,uCAAqD;AAErD,qEAAkE;AAClE,mFAAgF;AAChF,wFAAyF;AACzF,+DAA4D;AAE5D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,mBAAmB,GAAG,MAAM,IAAA,+CAAsB,EACtD,MAAM,EACN,2BAAe,CAChB,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,IAAA,iCAAe,EAClC,MAA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,KAAK,IAAI,CAA2B,CAAC;QAEvD,iBAAiB,CAAC,IAAI,CAAC;YACrB,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;YACnC,MAAM,EAAE,CAAC;YACT,OAAO,EAAE,IAAA,uCAAsB,EAAC,OAAO,CAAC;YACxC,SAAS,EAAE,0BAAS,CAAC,GAAG;YACxB,UAAU,EAAV,sBAAU;YACV,QAAQ,EAAE,YAAY,CAAC,QAAQ;YAC/B,KAAK,EAAE,WAAW,CAAC,MAAM,CACvB,CAAC,GAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,WAAW,GAAG,GAAG,EACjD,CAAC,CACF;YACD,WAAW;YACX,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;YACrB,KAAK,EAAE,OAAO;SACf,CAAC,CAAC;IACL,CAAC;IAED,MAAM,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AACtD,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
2
|
+
import { IdlItem } from '@solanafm/explorer-kit-idls';
|
3
|
+
export declare const platformId = "ensofi";
|
4
|
+
export declare const platform: Platform;
|
5
|
+
export declare const State = "0x4ca6dfe03908e35241186dee292edaf97bebe75be2d2b8133342cf365be2a0b5";
|
6
|
+
export declare const OfferType = "0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b68f2e5c::offer_registry::Offer";
|
7
|
+
export declare const LoanType = "0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b68f2e5c::loan_registry::Loan";
|
8
|
+
export declare const offersCacheKey = "offers";
|
9
|
+
export declare const loansCacheKey = "loans";
|
10
|
+
export declare const ensofiIdlItem: IdlItem;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ensofiIdlItem = exports.loansCacheKey = exports.offersCacheKey = exports.LoanType = exports.OfferType = exports.State = exports.platform = exports.platformId = void 0;
|
4
|
+
const idl_1 = require("./idl");
|
5
|
+
exports.platformId = 'ensofi';
|
6
|
+
exports.platform = {
|
7
|
+
id: exports.platformId,
|
8
|
+
name: 'EnsoFi',
|
9
|
+
image: 'https://sonar.watch/img/platforms/ensofi.webp',
|
10
|
+
website: 'https://app.ensofi.xyz',
|
11
|
+
twitter: 'https://twitter.com/Ensofi_xyz',
|
12
|
+
};
|
13
|
+
// sui sc : https://github.com/Ensofi-xyz/lending_smart_contract/tree/main/sui_smartcontract/sources
|
14
|
+
exports.State = '0x4ca6dfe03908e35241186dee292edaf97bebe75be2d2b8133342cf365be2a0b5';
|
15
|
+
exports.OfferType = '0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b68f2e5c::offer_registry::Offer';
|
16
|
+
exports.LoanType = '0x92d5efc1eec7e45b9e806fbc88ba175555dc605e63fa2db9da2b90b8b68f2e5c::loan_registry::Loan';
|
17
|
+
exports.offersCacheKey = 'offers';
|
18
|
+
exports.loansCacheKey = 'loans';
|
19
|
+
exports.ensofiIdlItem = {
|
20
|
+
programId: 'ensoQXKf4MvNuEC3M9xmcqUqgucFNd5UzAonDdUtgqn',
|
21
|
+
idl: idl_1.ensofiIdl,
|
22
|
+
idlType: 'anchor',
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=constants.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAEA,+BAAkC;AAErB,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,oGAAoG;AACvF,QAAA,KAAK,GAChB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,2FAA2F,CAAC;AACjF,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,6CAA6C;IACxD,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
export declare const ensofiIdl: {
|
2
|
+
version: string;
|
3
|
+
name: string;
|
4
|
+
instructions: ({
|
5
|
+
name: string;
|
6
|
+
accounts: {
|
7
|
+
name: string;
|
8
|
+
isMut: boolean;
|
9
|
+
isSigner: boolean;
|
10
|
+
}[];
|
11
|
+
args: ({
|
12
|
+
name: string;
|
13
|
+
type: string;
|
14
|
+
} | {
|
15
|
+
name: string;
|
16
|
+
type: {
|
17
|
+
option: string;
|
18
|
+
};
|
19
|
+
})[];
|
20
|
+
} | {
|
21
|
+
name: string;
|
22
|
+
accounts: ({
|
23
|
+
name: string;
|
24
|
+
isMut: boolean;
|
25
|
+
isSigner: boolean;
|
26
|
+
isOptional?: undefined;
|
27
|
+
} | {
|
28
|
+
name: string;
|
29
|
+
isMut: boolean;
|
30
|
+
isSigner: boolean;
|
31
|
+
isOptional: boolean;
|
32
|
+
})[];
|
33
|
+
args: {
|
34
|
+
name: string;
|
35
|
+
type: {
|
36
|
+
option: string;
|
37
|
+
};
|
38
|
+
}[];
|
39
|
+
})[];
|
40
|
+
accounts: {
|
41
|
+
name: string;
|
42
|
+
type: {
|
43
|
+
kind: string;
|
44
|
+
fields: ({
|
45
|
+
name: string;
|
46
|
+
type: string;
|
47
|
+
} | {
|
48
|
+
name: string;
|
49
|
+
type: {
|
50
|
+
option: string;
|
51
|
+
defined?: undefined;
|
52
|
+
};
|
53
|
+
} | {
|
54
|
+
name: string;
|
55
|
+
type: {
|
56
|
+
defined: string;
|
57
|
+
option?: undefined;
|
58
|
+
};
|
59
|
+
})[];
|
60
|
+
};
|
61
|
+
}[];
|
62
|
+
types: {
|
63
|
+
name: string;
|
64
|
+
type: {
|
65
|
+
kind: string;
|
66
|
+
variants: {
|
67
|
+
name: string;
|
68
|
+
}[];
|
69
|
+
};
|
70
|
+
}[];
|
71
|
+
events: ({
|
72
|
+
name: string;
|
73
|
+
fields: ({
|
74
|
+
name: string;
|
75
|
+
type: string;
|
76
|
+
index: boolean;
|
77
|
+
} | {
|
78
|
+
name: string;
|
79
|
+
type: {
|
80
|
+
defined: string;
|
81
|
+
};
|
82
|
+
index: boolean;
|
83
|
+
})[];
|
84
|
+
} | {
|
85
|
+
name: string;
|
86
|
+
fields: ({
|
87
|
+
name: string;
|
88
|
+
type: string;
|
89
|
+
index: boolean;
|
90
|
+
} | {
|
91
|
+
name: string;
|
92
|
+
type: {
|
93
|
+
option: string;
|
94
|
+
};
|
95
|
+
index: boolean;
|
96
|
+
})[];
|
97
|
+
})[];
|
98
|
+
errors: {
|
99
|
+
code: number;
|
100
|
+
name: string;
|
101
|
+
msg: string;
|
102
|
+
}[];
|
103
|
+
};
|