@sonarwatch/portfolio-plugins 0.14.34 → 0.14.36
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/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/save/helpers.js +1 -0
- package/src/plugins/save/helpers.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.36](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.35...plugins-0.14.36) (2024-11-20)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.14.35](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.34...plugins-0.14.35) (2024-11-19)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.14.34](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.33...plugins-0.14.34) (2024-11-19)
|
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":["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ACtB,sBAAmB;IACnB,GAAG,0BAAuB;CAC3B,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,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
|
+
};
|