@pancakeswap/pools 5.1.42 → 5.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,54 @@
1
+ export declare const cakeVaultV1ABI: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly name: "withdrawAll";
4
+ readonly outputs: readonly [];
5
+ readonly stateMutability: "nonpayable";
6
+ readonly type: "function";
7
+ }, {
8
+ readonly inputs: readonly [];
9
+ readonly name: "getPricePerFullShare";
10
+ readonly outputs: readonly [{
11
+ readonly internalType: "uint256";
12
+ readonly name: "";
13
+ readonly type: "uint256";
14
+ }];
15
+ readonly stateMutability: "view";
16
+ readonly type: "function";
17
+ }, {
18
+ readonly inputs: readonly [{
19
+ readonly internalType: "address";
20
+ readonly name: "";
21
+ readonly type: "address";
22
+ }];
23
+ readonly name: "userInfo";
24
+ readonly outputs: readonly [{
25
+ readonly internalType: "uint256";
26
+ readonly name: "shares";
27
+ readonly type: "uint256";
28
+ }, {
29
+ readonly internalType: "uint256";
30
+ readonly name: "lastDepositedTime";
31
+ readonly type: "uint256";
32
+ }, {
33
+ readonly internalType: "uint256";
34
+ readonly name: "cakeAtLastUserAction";
35
+ readonly type: "uint256";
36
+ }, {
37
+ readonly internalType: "uint256";
38
+ readonly name: "lastUserActionTime";
39
+ readonly type: "uint256";
40
+ }];
41
+ readonly stateMutability: "view";
42
+ readonly type: "function";
43
+ }, {
44
+ readonly inputs: readonly [];
45
+ readonly name: "performanceFee";
46
+ readonly outputs: readonly [{
47
+ readonly internalType: "uint256";
48
+ readonly name: "";
49
+ readonly type: "uint256";
50
+ }];
51
+ readonly stateMutability: "view";
52
+ readonly type: "function";
53
+ }];
54
+ //# sourceMappingURL=ICakeVaultV1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICakeVaultV1.d.ts","sourceRoot":"","sources":["../../src/abis/ICakeVaultV1.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CjB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './queries';
4
4
  export * from './utils';
5
5
  export * from './abis/ICakeFlexibleSideVaultV2';
6
6
  export * from './abis/ICakeVaultV2';
7
+ export * from './abis/ICakeVaultV1';
7
8
  export * from './abis/ISmartChef';
8
9
  export * from './abis/ISousChef';
9
10
  export * from './abis/ISousChefBNB';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AAGvB,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AAGvB,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
package/dist/index.js CHANGED
@@ -3269,6 +3269,51 @@ var fetchFlexibleSideVaultUser = async ({
3269
3269
  }
3270
3270
  };
3271
3271
 
3272
+ // src/abis/ICakeVaultV1.ts
3273
+ var cakeVaultV1ABI = [
3274
+ {
3275
+ inputs: [],
3276
+ name: "withdrawAll",
3277
+ outputs: [],
3278
+ stateMutability: "nonpayable",
3279
+ type: "function"
3280
+ },
3281
+ {
3282
+ inputs: [],
3283
+ name: "getPricePerFullShare",
3284
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
3285
+ stateMutability: "view",
3286
+ type: "function"
3287
+ },
3288
+ {
3289
+ inputs: [{ internalType: "address", name: "", type: "address" }],
3290
+ name: "userInfo",
3291
+ outputs: [
3292
+ { internalType: "uint256", name: "shares", type: "uint256" },
3293
+ {
3294
+ internalType: "uint256",
3295
+ name: "lastDepositedTime",
3296
+ type: "uint256"
3297
+ },
3298
+ { internalType: "uint256", name: "cakeAtLastUserAction", type: "uint256" },
3299
+ {
3300
+ internalType: "uint256",
3301
+ name: "lastUserActionTime",
3302
+ type: "uint256"
3303
+ }
3304
+ ],
3305
+ stateMutability: "view",
3306
+ type: "function"
3307
+ },
3308
+ {
3309
+ inputs: [],
3310
+ name: "performanceFee",
3311
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
3312
+ stateMutability: "view",
3313
+ type: "function"
3314
+ }
3315
+ ];
3316
+
3272
3317
  exports.BLOCKS_PER_DAY = BLOCKS_PER_DAY;
3273
3318
  exports.BLOCKS_PER_YEAR = BLOCKS_PER_YEAR;
3274
3319
  exports.BOOSTED_POOLS_CONFIG_BY_CHAIN = BOOSTED_POOLS_CONFIG_BY_CHAIN;
@@ -3287,6 +3332,7 @@ exports.SUPPORTED_CHAIN_IDS = SUPPORTED_CHAIN_IDS;
3287
3332
  exports.UNLOCK_FREE_DURATION = UNLOCK_FREE_DURATION;
3288
3333
  exports.VaultKey = VaultKey;
3289
3334
  exports.cakeFlexibleSideVaultV2ABI = cakeFlexibleSideVaultV2ABI;
3335
+ exports.cakeVaultV1ABI = cakeVaultV1ABI;
3290
3336
  exports.cakeVaultV2ABI = cakeVaultV2ABI;
3291
3337
  exports.checkIsBoostedPool = checkIsBoostedPool;
3292
3338
  exports.fetchFlexibleSideVaultUser = fetchFlexibleSideVaultUser;